instruction
stringlengths
113
251
input
stringlengths
98
353
output
stringlengths
135
454k
text
stringlengths
443
454k
Implement the native Android class `ViewPagerFragmentAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: common-view/src/main/java/ru/boronin/common/view/viewpager2/ViewPagerFragmentAdapter.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package ru.boronin.cardtasker.common.presentation import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentActivity import androidx.viewpager2.adapter.FragmentStateAdapter class ViewPagerFragmentAdapter( activity: FragmentActivity ) : FragmentStateAdapter(activity) { private val i...
<|turn>user Implement the native Android class `ViewPagerFragmentAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: common-view/src/main/java/ru/boronin/common/view/viewpager2/ViewPagerFragmentAdapter.kt Language: Kotlin Framework:...
Implement the native Android class `PropertyListAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/hzm/sharedpreference/PropertyListAdapter.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.hzm.sharedpreference import android.app.AlertDialog import android.content.Intent import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Button import android.widget.TextView import android.widget.Toast import androidx.recyclerview.widget.D...
<|turn>user Implement the native Android class `PropertyListAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/hzm/sharedpreference/PropertyListAdapter.kt Language: Kotlin Framework: AndroidX / Jetpack Compose...
Implement the native Android class `FakeTasksRemoteDataSource` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: todoapp/app/src/mock/java/com/example/android/architecture/blueprints/todoapp/data/FakeTasksRemoteDataSource.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright 2016, The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
<|turn>user Implement the native Android class `FakeTasksRemoteDataSource` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: todoapp/app/src/mock/java/com/example/android/architecture/blueprints/todoapp/data/FakeTasksRemoteDataSource.kt La...
Implement the native Android class `ListHolder` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: TenextllSDKDemo/app/src/main/java/com/tenext/demo/adapter/ListHolder.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.tenext.demo.adapter import android.content.Context import android.view.ViewGroup import com.tenext.demo.holder.BaseHolder abstract class ListHolder<T : Any> : BaseHolder<T> { constructor(context: Context, root: ViewGroup, resLayout: Int) : super(context, root, resLayout) } ```
<|turn>user Implement the native Android class `ListHolder` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: TenextllSDKDemo/app/src/main/java/com/tenext/demo/adapter/ListHolder.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / ...
Implement the native Android class `SiteSpecificUserAgentScreenVM` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/sakethh/linkora/ui/screens/settings/specific/advanced/site_specific_user_agent/SiteSpecificUserAgentScreenVM.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.sakethh.linkora.ui.screens.settings.specific.advanced.site_specific_user_agent import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.sakethh.linkora.data.local.SiteSpecificUserAgent import com.sakethh.linkora.data.local.links.LinksRepo import com.sakethh.linkora....
<|turn>user Implement the native Android class `SiteSpecificUserAgentScreenVM` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/sakethh/linkora/ui/screens/settings/specific/advanced/site_specific_user_agent/SiteSpeci...
Implement the native Android class `ArCoreAugmentedImagesView` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: android/src/main/kotlin/com/difrancescogianmarco/arcore_flutter_plugin/ArCoreAugmentedImagesView.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.difrancescogianmarco.arcore_flutter_plugin import android.app.Activity import android.content.Context import android.graphics.Bitmap import android.graphics.BitmapFactory import android.util.Log import android.util.Pair import com.difrancescogianmarco.arcore_flutter_plugin.flutter_models.FlutterA...
<|turn>user Implement the native Android class `ArCoreAugmentedImagesView` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: android/src/main/kotlin/com/difrancescogianmarco/arcore_flutter_plugin/ArCoreAugmentedImagesView.kt Language: Kotl...
Implement the native Android class `CameraMovementServiceImpl` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/at/jku/enternot/service/CameraMovementServiceImpl.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package at.jku.enternot.service import android.app.Application import android.arch.lifecycle.MutableLiveData import android.content.Context import android.hardware.Sensor import android.hardware.SensorEvent import android.hardware.SensorEventListener import android.hardware.SensorManager import android.util....
<|turn>user Implement the native Android class `CameraMovementServiceImpl` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/at/jku/enternot/service/CameraMovementServiceImpl.kt Language: Kotlin Framework: AndroidX / Jetp...
Implement the native Android class `TestSet` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/amitranofinzi/vimata/data/model/TestSet.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.amitranofinzi.vimata.data.model import androidx.annotation.NonNull import androidx.room.Entity import androidx.room.ForeignKey import androidx.room.PrimaryKey /** * Represents a set of tests created by a trainer for an athlete. * This is a Room entity annotated for database table creation. *...
<|turn>user Implement the native Android class `TestSet` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/amitranofinzi/vimata/data/model/TestSet.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Cor...
Provide the native Android implementation for `Navigator.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: sample-compose-fragments/src/main/java/uk/gov/hmrc/sample_compose_fragments/navigator/Navigator.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright 2023 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
<|turn>user Provide the native Android implementation for `Navigator.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: sample-compose-fragments/src/main/java/uk/gov/hmrc/sample_compose_fragments/navigator/Navigator.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kot...
Implement the native Android class `ChatDetailListAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/nandra/myschool/adapter/ChatDetailListAdapter.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.nandra.myschool.adapter import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import com.ale.infra.manager.IMMessage import com.nandra.myschool.adapter.viewholder.ChatDetailReceiv...
<|turn>user Implement the native Android class `ChatDetailListAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/nandra/myschool/adapter/ChatDetailListAdapter.kt Language: Kotlin Framework: AndroidX / Jetpack ...
Implement the native Android class `ClockView` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/william/easykt/widget/ClockView.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright WeiLianYang * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
<|turn>user Implement the native Android class `ClockView` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/william/easykt/widget/ClockView.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutine...
Provide the native Android implementation for `BindingAdapters.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: app/src/main/java/com/baruckis/kriptofolio/binding/BindingAdapters.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright (C) 2018 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
<|turn>user Provide the native Android implementation for `BindingAdapters.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: app/src/main/java/com/baruckis/kriptofolio/binding/BindingAdapters.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines<turn|> <...
Implement the native Android class `WebChromeClient` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: android/src/main/java/com/komoju/android/sdk/ui/screens/webview/WebChromeClient.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.komoju.android.sdk.ui.screens.webview import android.webkit.ConsoleMessage import com.kevinnzou.web.AccompanistWebChromeClient internal class WebChromeClient : AccompanistWebChromeClient() { override fun onConsoleMessage(consoleMessage: ConsoleMessage): Boolean = true } ```
<|turn>user Implement the native Android class `WebChromeClient` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: android/src/main/java/com/komoju/android/sdk/ui/screens/webview/WebChromeClient.kt Language: Kotlin Framework: AndroidX / Je...
Implement the native Android class `AddLanguageActivityTest` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/androidTest/java/com/cheise_proj/translator_ui_challenge/AddLanguageActivityTest.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.cheise_proj.translator_ui_challenge import android.view.View import android.view.ViewGroup import androidx.test.espresso.Espresso.onView import androidx.test.espresso.action.ViewActions.click import androidx.test.espresso.assertion.ViewAssertions.matches import androidx.test.espresso.matcher.Vie...
<|turn>user Implement the native Android class `AddLanguageActivityTest` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/androidTest/java/com/cheise_proj/translator_ui_challenge/AddLanguageActivityTest.kt Language: Kotlin Framewo...
Implement the native Android class `contestInfoAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/parsanatech/crazycoder/Adapters/contestInfoAdapter.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.parsanatech.crazycoder.Adapters import android.content.Context import android.content.Intent import android.provider.CalendarContract import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.wi...
<|turn>user Implement the native Android class `contestInfoAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/parsanatech/crazycoder/Adapters/contestInfoAdapter.kt Language: Kotlin Framework: AndroidX / Jetpac...
Implement the Android ViewModel `EditViewModel` in Kotlin following modern Clean Architecture principles. Utilize StateFlow, viewModelScope, and Unidirectional Data Flow (UDF) to expose immutable UI state.
Repository path: app/src/main/java/gmikhail/notes/viewmodel/EditViewModel.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package gmikhail.notes.viewmodel import androidx.lifecycle.* private const val MAX_UNDO = 1024 internal const val NEW_NOTE_ID = -1 class EditViewModel( private var _noteId: Int ) : ViewModel() { val noteId: Int get() = _noteId private val history = mutableListOf<HistoryRecord>() pri...
<|turn>user Implement the Android ViewModel `EditViewModel` in Kotlin following modern Clean Architecture principles. Utilize StateFlow, viewModelScope, and Unidirectional Data Flow (UDF) to expose immutable UI state. Context: Repository path: app/src/main/java/gmikhail/notes/viewmodel/EditViewModel.kt Language: Kotli...
Implement the native Android class `DiscussVoteVM` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/finderbar/jovian/viewmodels/discuss/DiscussVoteVM.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.finderbar.jovian.viewmodels.discuss import android.arch.lifecycle.MutableLiveData import android.arch.lifecycle.ViewModel import android.support.v4.content.ContextCompat import android.view.View import com.apollographql.apollo.ApolloMutationCall import com.finderbar.jovian.R import com.finderbar....
<|turn>user Implement the native Android class `DiscussVoteVM` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/finderbar/jovian/viewmodels/discuss/DiscussVoteVM.kt Language: Kotlin Framework: AndroidX / Jetpack Comp...
Implement the Android ViewModel `PostProductViewModel` in Kotlin following modern Clean Architecture principles. Utilize StateFlow, viewModelScope, and Unidirectional Data Flow (UDF) to expose immutable UI state.
Repository path: app/src/main/java/com/android/airmart/viewmodel/PostProductViewModel.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.android.airmart.viewmodel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.android.airmart.data.api.model.ProductResponse import com.android.airmart.data.entity.Product import com.a...
<|turn>user Implement the Android ViewModel `PostProductViewModel` in Kotlin following modern Clean Architecture principles. Utilize StateFlow, viewModelScope, and Unidirectional Data Flow (UDF) to expose immutable UI state. Context: Repository path: app/src/main/java/com/android/airmart/viewmodel/PostProductViewModel...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `HomeScreen`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: app/src/main/java/com/example/pokescanner/screens/HomeScreen.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.example.pokescanner.screens import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment i...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `HomeScreen`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: app/src/main/java/com/example/pokescanner/screens/HomeScreen.kt Language: Kotlin Framework: A...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `OrderSummaryScreen`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: app/src/main/java/com/example/sumador/ui/SummaryScreen.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright (C) 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `OrderSummaryScreen`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: app/src/main/java/com/example/sumador/ui/SummaryScreen.kt Language: Kotlin Framework:...
Implement the native Android class `ConfigureFragment` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: examples/purchase-tester/src/main/java/com/revenuecat/purchasetester/ConfigureFragment.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.revenuecat.purchasetester import android.os.Bundle import android.text.Editable import android.text.TextWatcher import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ArrayAdapter import androidx.fragment.app.Fragment import androidx.lifecy...
<|turn>user Implement the native Android class `ConfigureFragment` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: examples/purchase-tester/src/main/java/com/revenuecat/purchasetester/ConfigureFragment.kt Language: Kotlin Framework: Andr...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `WeatherAppTheme`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: app/src/main/java/kr/sjh/myschedule/ui/theme/Theme.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.example.pogoda.presentation.ui.theme import androidx.compose.material.MaterialTheme import androidx.compose.runtime.Composable @Composable fun WeatherAppTheme(content: @Composable () -> Unit) { MaterialTheme( typography = Typography, shapes = Shapes, content = content...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `WeatherAppTheme`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: app/src/main/java/kr/sjh/myschedule/ui/theme/Theme.kt Language: Kotlin Framework: Androi...
Implement the native Android class `BottomSheetImagePicker` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: library/src/main/java/com/kroegerama/imgpicker/BottomSheetImagePicker.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.kroegerama.imgpicker import android.annotation.SuppressLint import android.app.Activity.RESULT_OK import android.app.Dialog import android.content.Intent import android.content.pm.PackageManager import android.database.Cursor import android.net.Uri import android.os.Bundle import android.os.Envir...
<|turn>user Implement the native Android class `BottomSheetImagePicker` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: library/src/main/java/com/kroegerama/imgpicker/BottomSheetImagePicker.kt Language: Kotlin Framework: AndroidX / Jetpa...
Implement the native Android class `LavaLoucas` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/br/com/william/fernandes/srp/LavaLoucas.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package br.com.william.fernandes.srp import android.util.Log class LavaLoucas { var loucaLavada = false fun lavarLouca() { loucaLavada = true } } ```
<|turn>user Implement the native Android class `LavaLoucas` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/br/com/william/fernandes/srp/LavaLoucas.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coro...
Implement the native Android class `CameraXDeviceStateCallback` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: camera/integration-tests/timingtestapp/src/main/java/androidx/camera/integration/antelope/cameracontrollers/CameraXDeviceStateCallback.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
<|turn>user Implement the native Android class `CameraXDeviceStateCallback` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: camera/integration-tests/timingtestapp/src/main/java/androidx/camera/integration/antelope/cameracontrollers/Camer...
Implement the native Android class `GetStringResource` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/example/launchcontrol/generals/utils/GetStringResource.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.example.launchcontrol.generals.utils import android.content.Context open class GetStringResource(private val context: Context) { fun getStringRes(resource: Int): String { return context.getString(resource) } } ```
<|turn>user Implement the native Android class `GetStringResource` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/example/launchcontrol/generals/utils/GetStringResource.kt Language: Kotlin Framework: AndroidX / Jet...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `GuildUIScope`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: mineinabyss-features/src/main/kotlin/com/mineinabyss/features/guilds/menus/GuildJoinRequestScreen.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.mineinabyss.features.guilds.menus import androidx.compose.runtime.Composable import com.mineinabyss.features.abyss import com.mineinabyss.features.guilds.database.GuildJoinType import com.mineinabyss.features.guilds.database.GuildMessageQueue import com.mineinabyss.features.guilds.extensions.* im...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `GuildUIScope`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: mineinabyss-features/src/main/kotlin/com/mineinabyss/features/guilds/menus/GuildJoinRequest...
Implement the native Android class `RestaurantStateOf` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: src/main/kotlin/com/github/plplmax/simulator/restaurant/RestaurantStateOf.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.github.plplmax.simulator.restaurant import androidx.compose.runtime.MutableState import androidx.compose.runtime.mutableStateOf import kotlin.time.Duration import kotlin.time.DurationUnit import kotlin.time.toDuration data class RestaurantStateOf( override var customersInterval: MutableState...
<|turn>user Implement the native Android class `RestaurantStateOf` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: src/main/kotlin/com/github/plplmax/simulator/restaurant/RestaurantStateOf.kt Language: Kotlin Framework: AndroidX / Jetpac...
Implement the native Android class `PreviewRunConfigurationProducer` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: idea-plugin/src/main/kotlin/org/jetbrains/compose/desktop/idea/preview/PreviewRunConfigurationProducer.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright 2020-2021 JetBrains s.r.o. and respective authors and developers. * Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file. */ package org.jetbrains.compose.desktop.idea.preview import com.intellij.execution.actions.ConfigurationContext impo...
<|turn>user Implement the native Android class `PreviewRunConfigurationProducer` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: idea-plugin/src/main/kotlin/org/jetbrains/compose/desktop/idea/preview/PreviewRunConfigurationProducer.kt La...
Implement the native Android class `AppModule` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/slobodanantonijevic/simpleopenweatherkt/di/AppModule.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright (C) 2019 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
<|turn>user Implement the native Android class `AppModule` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/slobodanantonijevic/simpleopenweatherkt/di/AppModule.kt Language: Kotlin Framework: AndroidX / Jetpack Compo...
Implement the native Android class `FakeAppDatabase` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: shared/src/test/java/com/google/samples/apps/iosched/test/util/FakeAppDatabase.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
<|turn>user Implement the native Android class `FakeAppDatabase` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: shared/src/test/java/com/google/samples/apps/iosched/test/util/FakeAppDatabase.kt Language: Kotlin Framework: AndroidX / Jet...
Provide the native Android implementation for `Emptywallettick.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/twotone/Emptywallettick.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package moe.tlaster.icons.vuesax.vuesaxicons.twotone import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap impor...
<|turn>user Provide the native Android implementation for `Emptywallettick.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/twotone/Emptywallettick.kt Language: Kotlin Framework: AndroidX / Jetpack Compose ...
Implement the native Android class `TodoListLayoutRunner` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: samples/tutorial/tutorial-3-complete/src/main/java/workflow/tutorial/TodoListLayoutRunner.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package workflow.tutorial import androidx.recyclerview.widget.LinearLayoutManager import com.squareup.workflow1.ui.LayoutRunner import com.squareup.workflow1.ui.LayoutRunner.Companion.bind import com.squareup.workflow1.ui.ViewEnvironment import com.squareup.workflow1.ui.ViewFactory import com.squareup.workfl...
<|turn>user Implement the native Android class `TodoListLayoutRunner` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: samples/tutorial/tutorial-3-complete/src/main/java/workflow/tutorial/TodoListLayoutRunner.kt Language: Kotlin Framework...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `PlaceBlocks`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: presentation/src/main/java/com/jyproject/presentation/ui/feature/home/composable/PlaceBlocks.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.jyproject.presentation.ui.feature.home.composable import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `PlaceBlocks`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: presentation/src/main/java/com/jyproject/presentation/ui/feature/home/composable/PlaceBlocks...
Implement the native Android class `Media3ExoPlayerHttpRequestTrackingAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: collector-media3-exoplayer/src/main/java/com/bitmovin/analytics/media3/exoplayer/features/Media3ExoPlayerHttpRequestTrackingAdapter.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.bitmovin.analytics.media3.exoplayer.features import android.net.Uri import android.util.Log import androidx.media3.common.C import androidx.media3.common.Timeline import androidx.media3.common.util.UnstableApi import androidx.media3.common.util.Util.inferContentType import androidx.media3.datasou...
<|turn>user Implement the native Android class `Media3ExoPlayerHttpRequestTrackingAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: collector-media3-exoplayer/src/main/java/com/bitmovin/analytics/media3/exoplayer/features/Media3Ex...
Implement the native Android class `GridPage` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: uilib/src/main/java/dev/entao/kan/grid/GridPage.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package dev.entao.kan.grid import android.content.Context import android.view.View import android.widget.AdapterView import android.widget.LinearLayout import android.widget.RelativeLayout import android.widget.TextView import androidx.swiperefreshlayout.widget.SwipeRefreshLayout import dev.entao.kan.appbase...
<|turn>user Implement the native Android class `GridPage` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: uilib/src/main/java/dev/entao/kan/grid/GridPage.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines<turn|...
Implement the native Android class `ProgrammeRepositoryImpl` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: data/src/main/java/com/m3u/data/repository/programme/ProgrammeRepositoryImpl.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.m3u.data.repository.programme import androidx.paging.Pager import androidx.paging.PagingConfig import androidx.paging.PagingData import com.m3u.core.architecture.dispatcher.Dispatcher import com.m3u.core.architecture.dispatcher.M3uDispatchers.IO import com.m3u.core.architecture.logger.Logger impo...
<|turn>user Implement the native Android class `ProgrammeRepositoryImpl` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: data/src/main/java/com/m3u/data/repository/programme/ProgrammeRepositoryImpl.kt Language: Kotlin Framework: AndroidX...
Implement the Android ViewModel `WorkoutDetailScreenViewModel` in Kotlin following modern Clean Architecture principles. Utilize StateFlow, viewModelScope, and Unidirectional Data Flow (UDF) to expose immutable UI state.
Repository path: composeApp/src/commonMain/kotlin/features/workoutPlanDetail/WorkoutDetailScreenViewModel.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package features.workoutPlanDetail import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import domain.model.gym.ExerciseProgress import domain.model.gym.WorkoutPlan import domain.repository.IGymRepository import domain.usecase.GetExerciseListByWorkoutPlanUseCase import domain.usecase....
<|turn>user Implement the Android ViewModel `WorkoutDetailScreenViewModel` in Kotlin following modern Clean Architecture principles. Utilize StateFlow, viewModelScope, and Unidirectional Data Flow (UDF) to expose immutable UI state. Context: Repository path: composeApp/src/commonMain/kotlin/features/workoutPlanDetail/...
Implement the native Android class `AddReminderFragment` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: areminder/src/main/java/ir/awlrhm/areminder/view/reminder/AddReminderFragment.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package ir.awlrhm.areminder.view.reminder import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.content.ContextCompat import androidx.core.view.isVisible import androidx.lifecycle.Lifecycle import com.google.android.material.ch...
<|turn>user Implement the native Android class `AddReminderFragment` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: areminder/src/main/java/ir/awlrhm/areminder/view/reminder/AddReminderFragment.kt Language: Kotlin Framework: AndroidX / ...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `PreviewToken`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: FluentUI.Demo/src/main/java/com/microsoft/fluentuidemo/V2DesignTokensActivity.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.microsoft.fluentuidemo import android.os.Bundle import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layo...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `PreviewToken`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: FluentUI.Demo/src/main/java/com/microsoft/fluentuidemo/V2DesignTokensActivity.kt Language: ...
Provide the native Android implementation for `AlertDialog.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: modules/alertdialog/src/androidMain/kotlin/splitties/alertdialog/AlertDialog.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright 2019 <NAME>. Use of this source code is governed by the Apache 2.0 license. */ package splitties.alertdialog.appcompat import android.app.Activity import android.content.Context import android.content.DialogInterface import android.graphics.drawable.Drawable import android.widget.Button imp...
<|turn>user Provide the native Android implementation for `AlertDialog.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: modules/alertdialog/src/androidMain/kotlin/splitties/alertdialog/AlertDialog.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines<tu...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `Projection`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: compose/ui-layout-common/src/commonMain/kotlin/com/bselzer/ktx/compose/ui/layout/lazyrow/LazyRowProjector.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.bselzer.ktx.compose.ui.layout.lazyrow import androidx.compose.foundation.lazy.LazyItemScope import androidx.compose.foundation.lazy.LazyListState import androidx.compose.foundation.lazy.LazyRow import androidx.compose.foundation.lazy.itemsIndexed import androidx.compose.runtime.Composable import ...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `Projection`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: compose/ui-layout-common/src/commonMain/kotlin/com/bselzer/ktx/compose/ui/layout/lazyrow/Lazy...
Implement the native Android class `ChatListAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: sphinx/screens/dashboard/dashboard/src/main/java/chat/sphinx/dashboard/ui/adapter/ChatListAdapter.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package chat.sphinx.dashboard.ui.adapter import android.graphics.Color import android.view.LayoutInflater import android.view.ViewGroup import android.widget.ImageView import androidx.lifecycle.* import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.LinearLayoutManager import andro...
<|turn>user Implement the native Android class `ChatListAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: sphinx/screens/dashboard/dashboard/src/main/java/chat/sphinx/dashboard/ui/adapter/ChatListAdapter.kt Language: Kotlin Framew...
Implement the native Android class `LogRepository` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/ca/rovbot/flowtracker/repository/LogRepository.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package ca.rovbot.flowtracker.repository import android.arch.persistence.room.Room import android.content.Context import ca.rovbot.flowtracker.model.PeriodLogTable import ca.rovbot.flowtracker.repository.database.LogDatabase class LogRepository(private val applicationContext: Context) { private var dat...
<|turn>user Implement the native Android class `LogRepository` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/ca/rovbot/flowtracker/repository/LogRepository.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / K...
Implement the native Android class `MainActivity` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/bengisusahin/gallery/MainActivity.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.bengisusahin.gallery import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge import androidx.activity.viewModels import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundati...
<|turn>user Implement the native Android class `MainActivity` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/bengisusahin/gallery/MainActivity.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coro...
Provide the native Android implementation for `Quotedownsquare.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/twotone/Quotedownsquare.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package moe.tlaster.icons.vuesax.vuesaxicons.twotone import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap impor...
<|turn>user Provide the native Android implementation for `Quotedownsquare.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/twotone/Quotedownsquare.kt Language: Kotlin Framework: AndroidX / Jetpack Compose ...
Implement the native Android class `FullScheduleFragment` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: android-basics-kotlin-bus-schedule-app/app/src/main/java/com/example/busschedule/FullScheduleFragment.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.example.busschedule import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.lifecycle.coroutineScope import androidx.navigation.findNavC...
<|turn>user Implement the native Android class `FullScheduleFragment` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: android-basics-kotlin-bus-schedule-app/app/src/main/java/com/example/busschedule/FullScheduleFragment.kt Language: Kotl...
Implement the native Android class `VerticalStepperItemView` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: library/src/main/java/moe/feng/common/stepperview/VerticalStepperItemView.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package moe.feng.common.stepperview import android.animation.LayoutTransition import android.animation.ObjectAnimator import android.animation.ValueAnimator import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import android.view.ViewGrou...
<|turn>user Implement the native Android class `VerticalStepperItemView` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: library/src/main/java/moe/feng/common/stepperview/VerticalStepperItemView.kt Language: Kotlin Framework: AndroidX / ...
Implement the native Android class `CallKitUIBridgeService` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: NLiteAVDemo-Android-Java/call-ui/src/main/java/com/netease/yunxin/nertc/ui/service/CallKitUIBridgeService.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright (c) 2022 NetEase, Inc. All rights reserved. * Use of this source code is governed by a MIT license that can be * found in the LICENSE file. */ package com.netease.yunxin.nertc.ui.service import android.content.Context import android.text.TextUtils import com.netease.nimlib.sdk.ResponseCode...
<|turn>user Implement the native Android class `CallKitUIBridgeService` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: NLiteAVDemo-Android-Java/call-ui/src/main/java/com/netease/yunxin/nertc/ui/service/CallKitUIBridgeService.kt Language...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `AllMoviesContent`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: app/src/main/java/com/example/moviedatabase/allMovies/presentation/AllMoviesScreen.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.example.moviedatabase.allMovies.presentation import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.pa...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `AllMoviesContent`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: app/src/main/java/com/example/moviedatabase/allMovies/presentation/AllMoviesScreen.kt L...
Implement the native Android class `DemoActivity` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/auth0/android/lock/app/DemoActivity.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * DemoActivity.java * * Copyright (c) 2022 Authok (http://authok.cn) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation th...
<|turn>user Implement the native Android class `DemoActivity` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/auth0/android/lock/app/DemoActivity.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Co...
Implement the native Android class `ReplyAppStateRestorationTest` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: Compose/BasicswithCompose/Reply/src/androidTest/java/com/github/reply/ReplyAppStateRestorationTest.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.github.reply import androidx.activity.ComponentActivity import androidx.compose.material3.windowsizeclass.WindowWidthSizeClass import androidx.compose.ui.test.assertAny import androidx.compose.ui.test.assertIsDisplayed import androidx.compose.ui.test.hasAnyDescendant import androidx.compose.ui.te...
<|turn>user Implement the native Android class `ReplyAppStateRestorationTest` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: Compose/BasicswithCompose/Reply/src/androidTest/java/com/github/reply/ReplyAppStateRestorationTest.kt Language:...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `ColorCreatorScreen`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: Chapter01/Activity01.01/app/src/main/java/com/example/jetpackcompose/myapplication/MainActivity.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.example.jetpackcompose.myapplication import android.os.Bundle import android.widget.Toast import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.comp...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `ColorCreatorScreen`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: Chapter01/Activity01.01/app/src/main/java/com/example/jetpackcompose/myapplication/Ma...
Provide the native Android implementation for `Main.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: multiplatform/src/iosSimulatorArm64Main/kotlin/com/vsevolodganin/clicktrack/Main.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.vsevolodganin.clicktrack import androidx.compose.runtime.remember import androidx.compose.ui.window.ComposeUIViewController import com.arkivanov.decompose.DefaultComponentContext import com.arkivanov.essenty.lifecycle.LifecycleRegistry import com.vsevolodganin.clicktrack.di.component.ApplicationC...
<|turn>user Provide the native Android implementation for `Main.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: multiplatform/src/iosSimulatorArm64Main/kotlin/com/vsevolodganin/clicktrack/Main.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines<turn|...
Implement the Android ViewModel `FixViewModel` in Kotlin following modern Clean Architecture principles. Utilize StateFlow, viewModelScope, and Unidirectional Data Flow (UDF) to expose immutable UI state.
Repository path: app/src/main/java/com/eatssu/android/ui/review/delete/DeleteViewModel.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.eatssu.android.ui.review.etc import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.eatssu.android.base.BaseResponse import com.eatssu.android.data.dto.request.ModifyReviewRequest import ...
<|turn>user Implement the Android ViewModel `FixViewModel` in Kotlin following modern Clean Architecture principles. Utilize StateFlow, viewModelScope, and Unidirectional Data Flow (UDF) to expose immutable UI state. Context: Repository path: app/src/main/java/com/eatssu/android/ui/review/delete/DeleteViewModel.kt Lan...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `SessionsScreen`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: app/src/main/kotlin/dev/sanmer/pi/ui/screens/sessions/SessionsScreen.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package dev.sanmer.pi.ui.screens.sessions import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.padding import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compose.foundation.lazy.rememberLazyListState import andro...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `SessionsScreen`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: app/src/main/kotlin/dev/sanmer/pi/ui/screens/sessions/SessionsScreen.kt Language: Kotlin ...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `simpleSmallAppBar`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: app/src/main/java/pl/vemu/zsme/ui/components/SimpleSmallAppBar.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package pl.vemu.zsme.ui.components import androidx.annotation.StringRes import androidx.compose.material.icons.Icons import androidx.compose.material.icons.rounded.ArrowBack import androidx.compose.material3.Icon import androidx.compose.material3.IconButton import androidx.compose.material3.SmallTopAppBar im...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `simpleSmallAppBar`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: app/src/main/java/pl/vemu/zsme/ui/components/SimpleSmallAppBar.kt Language: Kotlin Fra...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `ExpandableSection`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: compose-kit/src/main/java/com/nikoarap/compose_kit/composables/Expandables.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.nikoarap.compose_kit.composables import androidx.compose.animation.core.animateFloatAsState import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.IntrinsicSize import androidx.compose.foundation.layout.Row import an...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `ExpandableSection`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: compose-kit/src/main/java/com/nikoarap/compose_kit/composables/Expandables.kt Language...
Implement the native Android class `HomeActivity` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/example/linkedup/HomeActivity.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.example.linkedup import android.os.Bundle import android.util.Log import androidx.activity.enableEdgeToEdge import androidx.appcompat.app.AppCompatActivity import androidx.core.view.ViewCompat import androidx.core.view.WindowInsetsCompat import androidx.lifecycle.Observer import androidx.lifecycl...
<|turn>user Implement the native Android class `HomeActivity` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/example/linkedup/HomeActivity.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutin...
Implement the native Android class `OrderSettleActivity` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/bossed/waej/ui/OrderSettleActivity.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.bossed.waej.ui import android.os.Bundle import android.text.TextUtils import android.view.LayoutInflater import android.view.View import android.widget.TextView import androidx.recyclerview.widget.LinearLayoutManager import com.blankj.utilcode.util.GsonUtils import com.blankj.utilcode.util.LogUti...
<|turn>user Implement the native Android class `OrderSettleActivity` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/bossed/waej/ui/OrderSettleActivity.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kot...
Implement the native Android class `SettingsMainActivity` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/dev/patrickgold/florisboard/settings/SettingsMainActivity.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package dev.patrickgold.florisboard.settings import android.content.Intent import android.content.SharedPreferences import android.net.Uri import android.os.Bundle import android.view.Menu import android.view.MenuItem import android.view.View import android.widget.ScrollView import androidx.appcompat.app.App...
<|turn>user Implement the native Android class `SettingsMainActivity` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/dev/patrickgold/florisboard/settings/SettingsMainActivity.kt Language: Kotlin Framework: AndroidX / J...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `PoolResourcesValues`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: app/src/main/java/com/babylon/wallet/android/presentation/ui/composables/assets/PoolUnitsTab.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.babylon.wallet.android.presentation.ui.composables.assets import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `PoolResourcesValues`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: app/src/main/java/com/babylon/wallet/android/presentation/ui/composables/assets/Pool...
Implement the native Android class `Repos` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/de/dertyp7214/rboardthememanager/preferences/Repos.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package de.dertyp7214.rboardthememanager.preferences import android.app.Activity.RESULT_OK import android.content.Intent import android.view.Menu import android.view.MenuInflater import android.view.MenuItem import android.view.View import androidx.activity.result.ActivityResultLauncher import androidx.activ...
<|turn>user Implement the native Android class `Repos` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/de/dertyp7214/rboardthememanager/preferences/Repos.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotli...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `TextFieldReceiveContentDemo`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: compose/foundation/foundation/integration-tests/foundation-demos/src/main/java/androidx/compose/foundation/demos/text2/ReceiveContentDemos.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `TextFieldReceiveContentDemo`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: compose/foundation/foundation/integration-tests/foundation-demos/src/main/ja...
Implement the native Android class `TaskItemAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/guoyi/listeninglove/ui/download/ui/TaskItemAdapter.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.cat.music.ui.download.ui import android.content.Context import androidx.recyclerview.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Button import android.widget.ProgressBar import android.widget.TextView import ...
<|turn>user Implement the native Android class `TaskItemAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/guoyi/listeninglove/ui/download/ui/TaskItemAdapter.kt Language: Kotlin Framework: AndroidX / Jetpack C...
Implement the native Android class `AbstractFragmentWithHelp` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/github/braillesystems/learnbraille/ui/screens/AbstractFragmentWithHelp.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.github.braillesystems.learnbraille.ui.screens import android.view.Menu import android.view.MenuInflater import android.view.MenuItem import com.github.braillesystems.learnbraille.R import com.github.braillesystems.learnbraille.ui.screens.help.HelpFragmentDirections import com.github.braillesystem...
<|turn>user Implement the native Android class `AbstractFragmentWithHelp` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/github/braillesystems/learnbraille/ui/screens/AbstractFragmentWithHelp.kt Language: Kotlin Fr...
Implement the native Android class `StatusHelper` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/cc/sovellus/vrcaa/api/helper/StatusHelper.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package cc.sovellus.vrcaa.api.helper import androidx.compose.ui.graphics.Color class StatusHelper { enum class Status { JoinMe, Active, AskMe, Busy, Offline; companion object { fun toColor(status: Status): Color { return when (...
<|turn>user Implement the native Android class `StatusHelper` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/cc/sovellus/vrcaa/api/helper/StatusHelper.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin ...
Provide the native Android implementation for `Path.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: core/src/androidMain/kotlin/com/lhwdev/ktui/graphics/Path.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.lhwdev.ktui.graphics import android.graphics.Path as APath actual typealias FrameworkPath = APath internal actual fun Path.toFrameworkPathInternal(): FrameworkPath { TODO() } ```
<|turn>user Provide the native Android implementation for `Path.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: core/src/androidMain/kotlin/com/lhwdev/ktui/graphics/Path.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines<turn|> <|turn>model ```kotli...
Provide the native Android implementation for `ThumbnailLoader.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: html-textview/src/main/java/com/saka/android/htmltextview/utility/ThumbnailLoader.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.saka.android.htmltextview.utility import android.graphics.Bitmap import android.graphics.BitmapFactory import android.media.MediaMetadataRetriever import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch import kotlinx.coroutines.withContext ...
<|turn>user Provide the native Android implementation for `ThumbnailLoader.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: html-textview/src/main/java/com/saka/android/htmltextview/utility/ThumbnailLoader.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coro...
Implement the native Android class `DatabaseDeposit` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/stocksexchange/android/database/model/DatabaseDeposit.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.stocksexchange.android.database.model import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import com.stocksexchange.api.model.rest.Deposit import com.stocksexchange.android.database.model.DatabaseDeposit.Companion.TABLE_NAME /** * A Room database model fo...
<|turn>user Implement the native Android class `DatabaseDeposit` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/stocksexchange/android/database/model/DatabaseDeposit.kt Language: Kotlin Framework: AndroidX / Jetpac...
Implement the native Android class `AgencyBaseProperties` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app-android/src/main/java/org/mtransit/android/data/AgencyBaseProperties.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package org.mtransit.android.data import androidx.room.ColumnInfo import androidx.room.Embedded import androidx.room.Ignore import com.google.android.gms.maps.model.LatLngBounds import org.mtransit.android.commons.data.Area import org.mtransit.android.data.IAgencyProperties.Companion.DEFAULT_LONG_VERSION_COD...
<|turn>user Implement the native Android class `AgencyBaseProperties` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app-android/src/main/java/org/mtransit/android/data/AgencyBaseProperties.kt Language: Kotlin Framework: AndroidX / Jetp...
Design a reactive Android Room DAO interface `SeedsDao` in Kotlin. Provide reactive Coroutine Flow queries, upsert capabilities, and transaction safety.
Repository path: app/src/main/java/com/example/chat_bot/Room/Dao/SeedsDao.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.example.chat_bot.Room.Dao import androidx.room.* import com.example.chat_bot.Room.Relations.UserAndMessage import com.example.chat_bot.data.R_Message import com.example.chat_bot.data.User import com.example.chat_bot.data.tryy.QuestItem @Dao interface SeedsDao{ @Transaction //Avoids Multithr...
<|turn>user Design a reactive Android Room DAO interface `SeedsDao` in Kotlin. Provide reactive Coroutine Flow queries, upsert capabilities, and transaction safety. Context: Repository path: app/src/main/java/com/example/chat_bot/Room/Dao/SeedsDao.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coro...
Implement the native Android class `DigitClassifierPresenter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/herry/test/app/tflite/digitclassifier/DigitClassifierPresenter.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.herry.test.app.tflite.digitclassifier import android.graphics.Bitmap import android.graphics.BitmapFactory import com.herry.libs.util.tuple.Tuple1 import io.reactivex.Observable import kotlinx.coroutines.Dispatchers import java.util.concurrent.atomic.AtomicReference class DigitClassifierPresente...
<|turn>user Implement the native Android class `DigitClassifierPresenter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/herry/test/app/tflite/digitclassifier/DigitClassifierPresenter.kt Language: Kotlin Framework:...
Implement the Android ViewModel `TestViewModel` in Kotlin following modern Clean Architecture principles. Utilize StateFlow, viewModelScope, and Unidirectional Data Flow (UDF) to expose immutable UI state.
Repository path: library/src/test/java/com/github/skgmn/viewmodelevent/MultipleScreenHandleEvent.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.github.skgmn.viewmodelevent import android.os.Bundle import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.lifecycle.ViewModel import androidx.test.ext.junit.rules.a...
<|turn>user Implement the Android ViewModel `TestViewModel` in Kotlin following modern Clean Architecture principles. Utilize StateFlow, viewModelScope, and Unidirectional Data Flow (UDF) to expose immutable UI state. Context: Repository path: library/src/test/java/com/github/skgmn/viewmodelevent/MultipleScreenHandleE...
Implement the native Android class `PropertyData` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: medolylibrary/src/main/java/com/wa2c/android/medoly/library/PropertyData.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.wa2c.android.medoly.library import android.net.Uri /** * Property data. */ open class PropertyData : ExtraData { /** * Constructor. */ constructor() : super() /** * Constructor. * @param capacity The capacity. */ constructor(capacity: Int) : super(cap...
<|turn>user Implement the native Android class `PropertyData` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: medolylibrary/src/main/java/com/wa2c/android/medoly/library/PropertyData.kt Language: Kotlin Framework: AndroidX / Jetpack Comp...
Implement the native Android class `TabBarActivity` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/will/habit/ui/tab_bar/activity/TabBarActivity.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.will.habit.ui.tab_bar.activity import android.os.Bundle import androidx.core.content.ContextCompat import androidx.fragment.app.Fragment import com.will.habit.BR import com.will.habit.R import com.will.habit.databinding.ActivityTabBarBinding import com.will.habit.ui.tab_bar.fragment.TabBar1Fragme...
<|turn>user Implement the native Android class `TabBarActivity` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/will/habit/ui/tab_bar/activity/TabBarActivity.kt Language: Kotlin Framework: AndroidX / Jetpack Compose...
Configure modern type-safe Navigation Compose routes and destination mappings in Kotlin for `Navigation` using Kotlinx Serialization.
Repository path: ComponentImpl/src/main/java/com/xiaojinzi/component/impl/RouterDegrade.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.xiaojinzi.component.impl import android.content.Intent import com.xiaojinzi.component.anno.support.CheckClassNameAnno /** * 降级的一个接口, 使用 [com.xiaojinzi.component.anno.RouterDegradeAnno] 注解标记一个类为降级处理 */ @CheckClassNameAnno interface RouterDegrade { /** * 是否匹配这个路由 * * @param re...
<|turn>user Configure modern type-safe Navigation Compose routes and destination mappings in Kotlin for `Navigation` using Kotlinx Serialization. Context: Repository path: ComponentImpl/src/main/java/com/xiaojinzi/component/impl/RouterDegrade.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutine...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `ChessGame`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: KotlinGames/app/src/main/java/com/mduranx64/kotlingames/ChessGame.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.mduranx64.kotlingames import android.content.res.Configuration import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `ChessGame`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: KotlinGames/app/src/main/java/com/mduranx64/kotlingames/ChessGame.kt Language: Kotlin Framewor...
Implement the native Android class `ImageDto` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/grumpyshoe/lumos/core/data/src/network/dto/ImageDto.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.grumpyshoe.lumos.core.data.src.network.dto import android.os.Parcel import android.os.Parcelable import java.util.Date /** * Network object * * Created by <NAME> on 10.06.19. * Copyright © 2019 <NAME>. All rights reserved. */ data class ImageDto( val uuid: String? = null, val filena...
<|turn>user Implement the native Android class `ImageDto` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/grumpyshoe/lumos/core/data/src/network/dto/ImageDto.kt Language: Kotlin Framework: AndroidX / Jetpack Compose...
Implement the native Android class `AirplaneModeBroadcastReceiver` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: AndroidBroadcastReceiverExample/app/src/main/java/com/waynestalk/broadcastreceiverexample/AirplaneModeBroadcastReceiver.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.waynestalk.broadcastreceiverexample import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.widget.Toast class AirplaneModeBroadcastReceiver : BroadcastReceiver() { companion object { private const val TAG = "AirplaneModeBr...
<|turn>user Implement the native Android class `AirplaneModeBroadcastReceiver` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: AndroidBroadcastReceiverExample/app/src/main/java/com/waynestalk/broadcastreceiverexample/AirplaneModeBroadcas...
Provide the native Android implementation for `OnBoardingScreen.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: app/src/main/java/com/thezayin/kainaclean/presentation/onboarding/OnBoardingScreen.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.thezayin.kainaclean.presentation.onboarding import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.c...
<|turn>user Provide the native Android implementation for `OnBoardingScreen.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: app/src/main/java/com/thezayin/kainaclean/presentation/onboarding/OnBoardingScreen.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Co...
Implement the native Android class `DesktopContainer` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: desktop/src/main/kotlin/app/softwork/composetodo/DesktopContainer.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package app.softwork.composetodo import app.softwork.composetodo.repository.* import app.softwork.composetodo.viewmodels.* import com.squareup.sqldelight.db.* import com.squareup.sqldelight.sqlite.driver.* import io.ktor.client.* import io.ktor.client.engine.cio.* import io.ktor.client.features.* import io.k...
<|turn>user Implement the native Android class `DesktopContainer` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: desktop/src/main/kotlin/app/softwork/composetodo/DesktopContainer.kt Language: Kotlin Framework: AndroidX / Jetpack Compose...
Implement the native Android class `LocaleCodeWithTitle` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/org/jnanaprabodhini/happyteacherapp/util/LocaleManager.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package org.jnanaprabodhini.happyteacherapp.util import android.content.Context import android.content.res.Configuration import android.os.Build import org.jnanaprabodhini.happyteacherapp.R import java.util.* /** * A singleton object for managing language in the app. * * 🙏 * Thanks to this blog post...
<|turn>user Implement the native Android class `LocaleCodeWithTitle` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/org/jnanaprabodhini/happyteacherapp/util/LocaleManager.kt Language: Kotlin Framework: AndroidX / Jetpa...
Provide the native Android implementation for `HomeMoreDropdownMenu.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: app-feature/home/src/iosMain/kotlin/dev/sergiobelda/todometer/app/feature/home/ui/HomeMoreDropdownMenu.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright 2023 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
<|turn>user Provide the native Android implementation for `HomeMoreDropdownMenu.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: app-feature/home/src/iosMain/kotlin/dev/sergiobelda/todometer/app/feature/home/ui/HomeMoreDropdownMenu.kt Language: Kotlin Framework: AndroidX / Jet...
Provide the native Android implementation for `MoreAppsPrefUtil.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: moreapps/src/main/java/io/github/raghavsatyadev/moreapps/utils/MoreAppsPrefUtil.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin @file:Suppress("MemberVisibilityCanBePrivate") package io.github.raghavsatyadev.moreapps.utils import android.content.Context import android.text.TextUtils import com.google.gson.Gson import com.google.gson.JsonSyntaxException import com.google.gson.reflect.TypeToken import io.github.raghavsatyadev.moreapps...
<|turn>user Provide the native Android implementation for `MoreAppsPrefUtil.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: moreapps/src/main/java/io/github/raghavsatyadev/moreapps/utils/MoreAppsPrefUtil.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Corou...
Provide the native Android implementation for `ImageHelper.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: app/src/main/java/chat/rocket/android/helper/ImageHelper.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package chat.rocket.android.helper import android.Manifest import android.app.Activity import android.content.Context import android.graphics.Color import android.graphics.Typeface import android.media.MediaScannerConnection import android.os.Environment import android.text.TextUtils import android.util.Type...
<|turn>user Provide the native Android implementation for `ImageHelper.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: app/src/main/java/chat/rocket/android/helper/ImageHelper.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines<turn|> <|turn>model ``...
Provide the native Android implementation for `UserStorage.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: app/src/main/java/com/frafio/myfinance/data/storage/UserStorage.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.frafio.myfinance.data.storage import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.frafio.myfinance.data.model.User import com.google.firebase.auth.FirebaseUser import java.util.Calendar object MyFinanceStorage { private var privateUser: User? = null va...
<|turn>user Provide the native Android implementation for `UserStorage.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: app/src/main/java/com/frafio/myfinance/data/storage/UserStorage.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines<turn|> <|turn>m...
Implement the native Android class `ScalablePageFrame` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: palumu-lib/src/main/java/tw/invictus/palumu/ScalablePageFrame.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package tw.invictus.palumu import android.content.Context import android.support.constraint.ConstraintLayout import android.support.constraint.ConstraintSet import android.support.v4.app.Fragment import android.support.v4.app.FragmentManager import android.support.v4.view.MotionEventCompat import android.sup...
<|turn>user Implement the native Android class `ScalablePageFrame` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: palumu-lib/src/main/java/tw/invictus/palumu/ScalablePageFrame.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / ...
Implement the Android ViewModel `RemoteEditViewModel` in Kotlin following modern Clean Architecture principles. Utilize StateFlow, viewModelScope, and Unidirectional Data Flow (UDF) to expose immutable UI state.
Repository path: HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/remote_edit/RemoteEditViewModel.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package ch.rmy.android.http_shortcuts.activities.remote_edit import android.app.Application import androidx.core.net.toUri import androidx.lifecycle.viewModelScope import ch.rmy.android.framework.extensions.context import ch.rmy.android.framework.extensions.logException import ch.rmy.android.framework.utils....
<|turn>user Implement the Android ViewModel `RemoteEditViewModel` in Kotlin following modern Clean Architecture principles. Utilize StateFlow, viewModelScope, and Unidirectional Data Flow (UDF) to expose immutable UI state. Context: Repository path: HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activ...
Implement the native Android class `BuilderProcessor` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: codegen/src/main/kotlin/com/android/designcompose/codegen/BuilderProcessor.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
<|turn>user Implement the native Android class `BuilderProcessor` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: codegen/src/main/kotlin/com/android/designcompose/codegen/BuilderProcessor.kt Language: Kotlin Framework: AndroidX / Jetpac...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `UrlPreviewCard`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: app/src/main/java/com/vitorpamplona/amethyst/ui/components/UrlPreviewCard.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.vitorpamplona.amethyst.ui.components import androidx.compose.foundation.border import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `UrlPreviewCard`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: app/src/main/java/com/vitorpamplona/amethyst/ui/components/UrlPreviewCard.kt Language: Ko...
Implement the native Android class `TracingInitializer` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/kotlin/io/element/android/x/initializer/TracingInitializer.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin /* * Copyright (c) 2022 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
<|turn>user Implement the native Android class `TracingInitializer` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/kotlin/io/element/android/x/initializer/TracingInitializer.kt Language: Kotlin Framework: AndroidX / Jetpack...
Implement the native Android class `SlidingImageAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/hulkrent/app/ui/profile/about/why_Host/SlidingImageAdapter.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.hulkrent.app.ui.profile.about.why_Host import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.viewpager.widget.PagerAdapter import com.hulkrent.app.Cons...
<|turn>user Implement the native Android class `SlidingImageAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/hulkrent/app/ui/profile/about/why_Host/SlidingImageAdapter.kt Language: Kotlin Framework: AndroidX...
Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `CatalogScreen`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration.
Repository path: app/src/main/java/com/bruno13palhano/shopdanimanagement/ui/screens/catalog/CatalogScreen.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.bruno13palhano.shopdanimanagement.ui.screens.catalog import android.content.res.Configuration.UI_MODE_NIGHT_YES import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.PaddingValues import androidx.compose.fo...
<|turn>user Develop a high-performance native Android UI component in Kotlin using Jetpack Compose for `CatalogScreen`. Ensure state hoisting, recomposition efficiency, and clean Material 3 integration. Context: Repository path: app/src/main/java/com/bruno13palhano/shopdanimanagement/ui/screens/catalog/CatalogScreen.k...
Implement the native Android class `TimeTrackingRefreshTokenTest` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: simplified-tests/src/test/java/org/nypl/simplified/tests/http/refresh_token/time_tracking/TimeTrackingRefreshTokenTest.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package org.nypl.simplified.tests.http.refresh_token.time_tracking import android.content.Context import com.fasterxml.jackson.databind.ObjectMapper import okhttp3.mockwebserver.MockResponse import okhttp3.mockwebserver.MockWebServer import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Asserti...
<|turn>user Implement the native Android class `TimeTrackingRefreshTokenTest` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: simplified-tests/src/test/java/org/nypl/simplified/tests/http/refresh_token/time_tracking/TimeTrackingRefreshTo...
Provide the native Android implementation for `ShieldX16.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: octicons/src/commonMain/kotlin/com/woowla/compose/icon/collections/octicons/octicons/ShieldX16.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.woowla.compose.icon.collections.octicons.octicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.gra...
<|turn>user Provide the native Android implementation for `ShieldX16.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: octicons/src/commonMain/kotlin/com/woowla/compose/icon/collections/octicons/octicons/ShieldX16.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotl...
Implement the native Android class `TestFragmentDialog` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/com/ml512/mvp/demo/ui/fragment/TestFragmentDialog.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.ml512.mvp.demo.ui.fragment import android.os.Bundle import android.view.View import android.widget.Toast import com.ml512.base.BaseDialogFragment import com.ml512.mvp.demo.R import kotlinx.android.synthetic.main.dialog_fragment_test.* /** * 功能描述:测试弹窗 * Created by MaLong on 2019-08-21 18:09. *...
<|turn>user Implement the native Android class `TestFragmentDialog` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/com/ml512/mvp/demo/ui/fragment/TestFragmentDialog.kt Language: Kotlin Framework: AndroidX / Jetpack Com...
Implement the native Android class `DeletedNoteDatabase` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: app/src/main/java/uz/javokhirjambulov/notes/database/DeletedNoteDatabase.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package uz.javokhirjambulov.notes.database import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase @Database(entities = [Note::class], version = 1) abstract class DeletedNoteDatabase: RoomDatabase(){ companion object { private var...
<|turn>user Implement the native Android class `DeletedNoteDatabase` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: app/src/main/java/uz/javokhirjambulov/notes/database/DeletedNoteDatabase.kt Language: Kotlin Framework: AndroidX / Jetpa...
Provide the native Android implementation for `ViewExt.kt` in Kotlin with idiomatic patterns and proper error handling.
Repository path: app/src/main/java/com/nilhcem/blenamebadge/core/android/ext/ViewExt.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package org.fossasia.badgemagic.core.android.ext import android.content.Context import android.view.View import android.view.inputmethod.InputMethodManager fun View.showKeyboard() { postDelayed({ val imm = context.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager imm.s...
<|turn>user Provide the native Android implementation for `ViewExt.kt` in Kotlin with idiomatic patterns and proper error handling. Context: Repository path: app/src/main/java/com/nilhcem/blenamebadge/core/android/ext/ViewExt.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines<turn|> <|turn>m...
Implement the native Android class `UserAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines.
Repository path: core/src/main/java/com/kylix/core/ui/UserAdapter.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines
```kotlin package com.ferdian.core.ui import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.ferdian.core.databinding.ItemUserListBinding import com.ferdian.core.domain.model.User class UserAdapter(private val user: ArrayLi...
<|turn>user Implement the native Android class `UserAdapter` in Kotlin following idiomatic Kotlin 2.0+ conventions, structured concurrency, and AndroidX guidelines. Context: Repository path: core/src/main/java/com/kylix/core/ui/UserAdapter.kt Language: Kotlin Framework: AndroidX / Jetpack Compose / Kotlin Coroutines<t...