file_path
stringlengths
6
261
repository
stringclasses
2 values
language
stringclasses
1 value
content
stringlengths
121
454k
ui/src/main/kotlin/com/aptopayments/sdk/features/maintenance/MaintenanceFragment.kt
unknown_repo
kotlin
package com.aptopayments.sdk.features.maintenance import android.os.Bundle import com.aptopayments.mobile.data.config.UIConfig import com.aptopayments.mobile.network.NetworkHandler import com.aptopayments.sdk.R import com.aptopayments.sdk.core.platform.BaseFragment import com.aptopayments.sdk.core.platform.theme.theme...
app/src/main/java/com/pr0gramm/app/ui/FancyExifThumbnailGenerator.kt
unknown_repo
kotlin
package com.pr0gramm.app.ui import android.app.Application import android.graphics.* import android.net.Uri import com.pr0gramm.app.R import com.pr0gramm.app.util.time import com.squareup.picasso.Downloader import it.sephiroth.android.library.exif2.ExifInterface import okhttp3.Request import org.slf4j.LoggerFactory i...
paymentsheet/src/main/java/com/stripe/android/paymentsheet/PaymentOptionsAdapter.kt
unknown_repo
kotlin
package com.stripe.android.paymentsheet import android.annotation.SuppressLint import android.content.res.Resources import android.view.LayoutInflater import android.view.View import android.view.View.IMPORTANT_FOR_ACCESSIBILITY_YES import android.view.ViewGroup import androidx.annotation.VisibleForTesting import andr...
libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/internal/navigation/maneuver/ManeuverIconHelper.kt
unknown_repo
kotlin
package com.mapbox.services.android.navigation.v5.internal.navigation.maneuver import androidx.core.util.Pair import com.mapbox.services.android.navigation.v5.navigation.NavigationConstants.STEP_MANEUVER_MODIFIER_LEFT import com.mapbox.services.android.navigation.v5.navigation.NavigationConstants.STEP_MANEUVER_MODIFIE...
liveview-android/src/test/java/com/dockyard/liveviewtest/liveview/components/IconButtonShotTest.kt
unknown_repo
kotlin
package com.dockyard.liveviewtest.liveview.components import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.layout.Row import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.AccountCircle import...
ui/src/test/kotlin/io/rippledown/caseview/ValueCellTest.kt
unknown_repo
kotlin
package io.rippledown.caseview import androidx.compose.foundation.layout.RowScope import androidx.compose.ui.test.ExperimentalTestApi import androidx.compose.ui.test.hasText import androidx.compose.ui.test.junit4.createComposeRule import io.kotest.matchers.shouldBe import io.mockk.every import io.mockk.mockk import io...
app/src/main/java/io/deus/wallet/modules/settings/faq/FaqModule.kt
unknown_repo
kotlin
package io.deus.wallet.modules.settings.faq import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import io.deus.wallet.core.App import io.deus.wallet.core.managers.FaqManager object FaqModule { class Factory : ViewModelProvider.Factory { @Suppress("UNCHECKED_CAST") over...
app/src/main/java/com/example/doomnews/MainActivity.kt
unknown_repo
kotlin
package com.example.doomnews import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Surface import androidx.compose.material3....
app/src/main/java/com/febers/uestc_bbs/home/HomeSecondContainer.kt
unknown_repo
kotlin
package com.febers.uestc_bbs.home import android.os.Bundle import com.febers.uestc_bbs.R import com.febers.uestc_bbs.base.BaseFragment import com.febers.uestc_bbs.module.more.BlockFragment class HomeSecondContainer : BaseFragment() { override fun setContentView(): Int { return R.layout.container_home_seco...
android/app/src/main/java/com/algorand/android/discover/common/ui/BaseDiscoverFragment.kt
unknown_repo
kotlin
/* * Copyright 2022 Pera Wallet, LDA * 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 agreed to in writing,...
android/app/src/main/java/com/algorand/android/discover/common/ui/BaseDiscoverFragment.kt
unknown_repo
kotlin
/* * Copyright 2022 Pera Wallet, LDA * 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 agreed to in writing,...
ospf-kotlin-core/src/main/fuookami/ospf/kotlin/core/backend/intermediate_model/QuadraticTetradModel.kt
unknown_repo
kotlin
package fuookami.ospf.kotlin.core.backend.intermediate_model import java.io.* import kotlinx.coroutines.* import fuookami.ospf.kotlin.utils.math.* import fuookami.ospf.kotlin.utils.concept.* import fuookami.ospf.kotlin.utils.operator.* import fuookami.ospf.kotlin.utils.functional.* import fuookami.ospf.kotlin.core.fro...
app/src/main/java/com/jiangyy/wanandroid/ui/article/TreeActivity.kt
unknown_repo
kotlin
package com.jiangyy.wanandroid.ui.article import android.content.Context import android.content.Intent import android.view.View import androidx.activity.viewModels import androidx.recyclerview.widget.GridLayoutManager import androidx.recyclerview.widget.GridLayoutManager.SpanSizeLookup import com.jiangyy.common.view.B...
frontend/app/src/main/java/com/harissabil/anidex/ui/screen/library/LibraryViewModel.kt
unknown_repo
kotlin
package com.harissabil.anidex.ui.screen.library import androidx.compose.runtime.State import androidx.compose.runtime.mutableStateOf import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.harissabil.anidex.data.local.UserPreference import com.harissabil.anidex.data.repository.ProjekBas...
app/src/main/kotlin/des/c5inco/pokedexer/ui/moves/MovesListScreen.kt
unknown_repo
kotlin
package des.c5inco.pokedexer.ui.moves import androidx.compose.foundation.ExperimentalFoundationApi 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.f...
desktopApp/src/jvmMain/kotlin/com/prof18/feedflow/desktop/home/components/FeedWithContentView.desktop.kt
unknown_repo
kotlin
package com.prof18.feedflow.desktop.home.components import androidx.compose.animation.AnimatedVisibility import androidx.compose.desktop.ui.tooling.preview.Preview import androidx.compose.foundation.VerticalScrollbar import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import ...
app/src/main/java/com/sjl/bookmark/ui/activity/BookSearchActivity.kt
unknown_repo
kotlin
package com.sjl.bookmark.ui.activity import android.os.Build import android.text.Editable import android.text.TextWatcher import android.view.* import android.widget.* import androidx.core.content.ContextCompat import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView imp...
app/src/main/java/at/guger/moneybook/ui/home/overview/dues/OverviewDuesViewHolder.kt
unknown_repo
kotlin
/* * Copyright 2021 <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 ag...
javatests/com/google/android/libraries/pcc/chronicle/api/remote/RemoteRequestTest.kt
unknown_repo
kotlin
/* * Copyright 2022 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 agreed to ...
core/database/src/main/java/com/ahmetocak/database/db/UserDatabase.kt
unknown_repo
kotlin
package com.ahmetocak.database.db import androidx.room.Database import androidx.room.RoomDatabase import com.ahmetocak.database.dao.ChatGroupDao import com.ahmetocak.database.dao.MessageDao import com.ahmetocak.database.dao.RemoteKeyDao import com.ahmetocak.database.dao.UserDao import com.ahmetocak.database.entity.Cha...
ground/src/test/java/com/google/android/ground/ui/MarkerIconFactoryTest.kt
unknown_repo
kotlin
/* * Copyright 2021 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 agreed to ...
app/src/main/java/com/example/noterapp/ui/fragments/CreateNoteFragment.kt
unknown_repo
kotlin
package com.example.noterapp.ui.fragments import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.app.AppCompatActivity import androidx.databinding.DataBinderMapper import androidx.databinding.Dat...
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/CalendarDollar.kt
unknown_repo
kotlin
package com.woowla.compose.icon.collections.tabler.tabler.outline 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.vector.ImageVector import androidx.compose.ui.graphics.vector...
app/src/main/java/com/soojeongshin/imagegallery/overview/OverviewFragment.kt
unknown_repo
kotlin
package com.soojeongshin.imagegallery.overview import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.lifecycle.Observer import androidx.lifecycle.ViewModelProvider import androidx.navigation.fragment.fin...
app/src/main/java/com/thicapps/artbook/viewmodel/ArtViewModel.kt
unknown_repo
kotlin
package com.thicapps.artbook.viewmodel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.thicapps.artbook.model.ImageResponse import com.thicapps.artbook.repo.ArtRepositoryI import com.thicapps.artbook.ro...
skd_chips/src/main/java/com/artlite/skd/chips/impl/models/ChipSectionModel.kt
unknown_repo
kotlin
package com.artlite.skd.chips.impl.models import androidx.annotation.DrawableRes import androidx.annotation.StringRes import com.artlite.skd.chips.facade.models.Displayable import com.artlite.skd.chips.facade.models.Expandable import com.artlite.skd.chips.facade.models.Identifiable import com.artlite.skd.chips.facade....
battery/src/main/java/com/domker/doctor/battery/BatteryWatcher.kt
unknown_repo
kotlin
package com.domker.app.doctor.battery import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.os.BatteryManager import android.os.Build import androidx.fragment.app.Fragment import androidx.lifecycle.ViewModelProvider /**...
battery/src/main/java/com/domker/doctor/battery/BatteryWatcher.kt
unknown_repo
kotlin
package com.domker.app.doctor.battery import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.content.IntentFilter import android.os.BatteryManager import android.os.Build import androidx.fragment.app.Fragment import androidx.lifecycle.ViewModelProvider /**...
app/src/main/java/team/msg/hi_v2/HiApplication.kt
unknown_repo
kotlin
package team.msg.hi_v2 import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class HiApplication: Application()
app/src/main/java/team/msg/hi_v2/HiApplication.kt
unknown_repo
kotlin
package team.msg.hi_v2 import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class HiApplication: Application()
ui/auth/src/main/kotlin/com/gnoemes/shimori/auth/AuthViewModel.kt
unknown_repo
kotlin
package com.gnoemes.shimori.auth import androidx.lifecycle.ViewModel import com.gnoemes.shikimori.ShikimoriAuthManager import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject @HiltViewModel internal class AuthViewModel @Inject constructor( shikimoriAuthManager: ShikimoriAuthManager, ) : View...
app/src/main/java/de/uriegel/superfit/ui/views/Settings.kt
unknown_repo
kotlin
package de.uriegel.superfit.ui.views import android.app.Activity import android.content.Intent import android.net.Uri import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.contract.ActivityResultContracts import androidx.compose.foundation.layout.padding import androidx.com...
app/src/main/java/com/example/west2_3/ChatAdapter.kt
unknown_repo
kotlin
package com.example.west2_3 import android.content.Context import android.content.Intent import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView class ChatAdapter(val chatitems: List<Data_ChatItem>): BaseAdapter<Data_ChatItem>(chatitems) { override fun convert(holder: BaseVie...
subprojects/android-test/ui-testing-core-app/src/androidTest/kotlin/com/avito/android/ui/test/VisibilityScreen.kt
unknown_repo
kotlin
package com.avito.android.ui.test import androidx.test.espresso.matcher.ViewMatchers import com.avito.android.test.page_object.SimpleScreen import com.avito.android.test.page_object.ViewElement import com.avito.android.ui.R class VisibilityScreen : SimpleScreen() { override val rootId: Int = R.id.visibility ...
09_MyAnimation/StartingPoint/MyAnimation/app/src/main/java/com/example/myanimation/sample/07AnimateContentSizeView.kt
unknown_repo
kotlin
package com.example.myanimation.sample import androidx.compose.animation.animateContentSize import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.width import androidx.compose.material3.Butt...
app/src/main/java/org/listenbrainz/android/ui/screens/profile/listens/TrackProgressBar.kt
unknown_repo
kotlin
package com.spotify.sdk.demo import android.os.Handler import android.widget.SeekBar class TrackProgressBar(private val seekBar: SeekBar, private val seekStopListener: (Long) -> Unit) { private val handler: Handler private val seekBarChangeListener = object : SeekBar.OnSeekBarChangeListener { overrid...
common/common-ui/src/main/java/com/duckduckgo/common/ui/store/ThemingSharedPreferences.kt
unknown_repo
kotlin
/* * Copyright (c) 2021 DuckDuckGo * * 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 agreed ...
app/src/main/java/com/hadi/archives/presentation/screens/details/BookDetailsScreen.kt
unknown_repo
kotlin
package com.hadi.archives.presentation.screens.details import android.widget.Toast import androidx.compose.foundation.* import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.Divider import androidx.compose.material.Icon import androidx....
purchases/src/test/java/com/revenuecat/purchases/LogLevelTest.kt
unknown_repo
kotlin
package com.revenuecat.purchases import androidx.test.ext.junit.runners.AndroidJUnit4 import org.assertj.core.api.Assertions.assertThat import org.junit.Test import org.junit.runner.RunWith @RunWith(AndroidJUnit4::class) class LogLevelTest { @Test fun testLogLevelComparable() { assertThat(com.revenue...
app/src/main/java/com/github/malitsplus/shizurunotes/ui/clanbattledetails/ClanBattleBossSkillAdapter.kt
unknown_repo
kotlin
package com.github.malitsplus.shizurunotes.ui.clanbattledetails import android.content.Context import android.view.LayoutInflater import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import com...
app/src/main/java/com/zyr/apiclient/network/ApiErrorType.kt
unknown_repo
kotlin
/******************************************************************************* * Copyright 2017 <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/licen...
app/src/main/java/com/simbiri/equityjamii/adapters/TaskAdapter.kt
unknown_repo
kotlin
package com.example.app.adapters import android.content.Context import android.os.Handler import android.util.DisplayMetrics import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.view.WindowManager import android.widget.ImageView import android.widget.ProgressBar impo...
app/src/main/java/com/yechy/dailypic/ui/home/MainViewModel.kt
unknown_repo
kotlin
package com.yechy.dailypic.ui.home import androidx.lifecycle.* import com.yechy.dailypic.ext.copyMap import com.yechy.dailypic.repository.DataRepos import com.yechy.dailypic.repository.SourceInfo import com.yechy.dailypic.ui.DataState import com.yechy.dailypic.vm.BaseViewModel import dagger.hilt.android.lifecycle.Hilt...
Flexsame/app/src/main/java/com/flexso/flexsame/ui/office/OfficeViewModel.kt
unknown_repo
kotlin
package com.flexso.flexsame.ui.office import android.util.Log import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.flexso.flexsame.models.Address import com.flexso.flexsame.models.Office import com.flexso.flexsame.models.User import com.flexso.flex...
app/src/debug/java/com/appchamp/wordchunks/DebugApp.kt
unknown_repo
kotlin
/* * Copyright 2017 Julia Kozhukhovskaya * * 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...
demo/src/main/java/com/mta/tehreer/demo/TextViewWidgetActivity.kt
unknown_repo
kotlin
/* * Copyright (C) 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 agreed to ...
core/src/main/java/com/fibelatti/core/android/recyclerview/PagingRecyclerView.kt
unknown_repo
kotlin
package com.fibelatti.core.android.recyclerview import android.content.Context import android.util.AttributeSet import androidx.recyclerview.widget.GridLayoutManager import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import kotlin.properties.Delegates class Paging...
app/src/main/java/com/fozechmoblive/fluidwallpaper/livefluid/ui/component/themes/adapter/WallpaperDiffUtil.kt
unknown_repo
kotlin
package com.fozechmoblive.fluidwallpaper.livefluid.ui.component.themes.adapter import androidx.recyclerview.widget.DiffUtil import com.fozechmoblive.fluidwallpaper.livefluid.models.PresetModel class WallpaperDiffUtil( private val newList: List<PresetModel>, private val oldList: List<PresetModel> ) : DiffU...
request-filterer/request-filterer-api/src/main/java/com/duckduckgo/request/filterer/api/RequestFilterer.kt
unknown_repo
kotlin
package com.duckduckgo.request.filterer.api import android.webkit.WebResourceRequest /** Public interface for the Request Filterer feature */ interface RequestFilterer { /** * This method takes a [request] and a [documentUrl] to calculate if the request should be filtered out or not. * @return `true` ...
service/src/test/kotlin/fr/nihilus/music/service/TestBrowserTree.kt
unknown_repo
kotlin
/* * Copyright 2020 <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 agreed to in wr...
app/src/main/java/com/example/yanghuiwen/habittodoist/view/main_page/PagerAdapter.kt
unknown_repo
kotlin
package com.example.yanghuiwen.habittodoist.view.main_page import android.util.Log import android.view.View import android.view.ViewGroup import android.widget.RelativeLayout import androidx.viewpager.widget.PagerAdapter class PagerAdapter(private val pageList : MutableList<RelativeLayout>) : PagerAdapter() { pri...
app/src/main/java/com/dania/productfinder/repository/PlpRepository.kt
unknown_repo
kotlin
package com.dania.productfinder.repository import androidx.lifecycle.LiveData import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.runBlocking import java.util.concurrent.TimeUnit import javax.inject.Inject import javax.inject.Singleton import com.dania.productfinder.AppExecutors import com.dania.productfin...
data/src/main/java/com/bottlerocketstudios/brarchitecture/data/model/BranchDto.kt
unknown_repo
kotlin
package com.bottlerocketstudios.brarchitecture.data.model import android.os.Parcelable import com.squareup.moshi.Json import com.squareup.moshi.JsonClass import kotlinx.parcelize.Parcelize @JsonClass(generateAdapter = true) @Parcelize data class BranchDto( @Json(name = "name") val name: String?, @Json(name = ...
android/engine/src/main/java/org/smartregister/fhircore/engine/data/remote/fhir/resource/FhirResourceService.kt
unknown_repo
kotlin
/* * Copyright 2021 Ona Systems, Inc * * 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 agr...
data/src/main/java/com/andriawan/data/di/LocalModule.kt
unknown_repo
kotlin
package com.andriawan.data.di import android.content.Context import androidx.room.Room import com.andriawan.common.Constants import com.andriawan.data.local.TemplateDatabase import com.andriawan.data.local.dao.GamesDAO import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android....
app/src/main/java/com/homebooking/ui/home/houses/Rating.kt
unknown_repo
kotlin
package com.homebooking.ui.home.houses import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.requiredSize import androidx.compose.material.Icon import androidx.compose.material.icons.Icons import androidx.compose.material.icons.rounded.Star import androidx.compose.runtime.Composable i...
video-editor/src/main/java/com/video/trimmer/view/TimeLineView.kt
unknown_repo
kotlin
package com.video.trimmer.view import android.content.Context import android.graphics.Bitmap import android.graphics.Canvas import android.media.MediaMetadataRetriever import android.net.Uri import android.util.AttributeSet import android.view.View import com.video.trimmer.R import com.video.trimmer.utils.BackgroundEx...
examples/android/src/main/java/io/github/g0dkar/qrcode/QRCodeListActivity.kt
unknown_repo
kotlin
package io.github.g0dkar.qrcode import android.content.Intent import android.os.Bundle import android.view.View import android.widget.Toast import androidx.activity.result.ActivityResultLauncher import androidx.activity.result.contract.ActivityResultContracts.StartActivityForResult import androidx.appcompat.app.AppCom...
app/src/main/java/com/plcoding/composepaging3caching/data/database/BeerDao.kt
unknown_repo
kotlin
package com.dscoding.paging3caching.data.local import androidx.paging.PagingSource import androidx.room.Dao import androidx.room.Query import androidx.room.Upsert @Dao interface BeerDao { @Upsert suspend fun upsertAll(beers: List<BeerEntity>) @Query("SELECT * FROM BeerEntity") fun pagingSource(): Pag...
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/Tally1.kt
unknown_repo
kotlin
package me.localx.icons.rounded.bold 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.graphics.StrokeJoin.Companion.Miter im...
app/src/main/java/com/msomodi/imageverse/view/common/PackageCard.kt
unknown_repo
kotlin
package com.msomodi.imageverse.view.common import android.content.res.Configuration import androidx.compose.foundation.border import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.IntrinsicSize import androidx.compose.foundation...
app/src/main/java/com/github/drunlin/webappbox/model/WebappModel.kt
unknown_repo
kotlin
package com.github.drunlin.webappbox.model import android.content.Context import android.graphics.Bitmap import com.github.drunlin.webappbox.R import com.github.drunlin.webappbox.common.Callback import com.github.drunlin.webappbox.common.getBitmap import com.github.drunlin.webappbox.data.Policy import com.github.drunl...
app/src/main/java/com/d10ng/app/demo/pages/LocationStatusManagerScreen.kt
unknown_repo
kotlin
package com.d10ng.app.demo.pages import android.Manifest import androidx.compose.foundation.background import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.navigationBarsPadding import androidx.compose.foundation.rememberScroll...
app/src/main/java/com/mob/lee/fastair/model/ImageCategory.kt
unknown_repo
kotlin
package com.mob.lee.fastair.model import android.provider.MediaStore import com.mob.lee.fastair.R class ImageCategory(override val title : Int= R.string.category_picture) :Category(){ override fun uri() = MediaStore.Images.Media.EXTERNAL_CONTENT_URI }
testedrawingapp/app/src/main/java/com/example/testedrawingapp/MainActivity.kt
unknown_repo
kotlin
package com.example.testedrawingapp import android.app.Dialog import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.ImageButton import android.widget.LinearLayout import androidx.core.content.ContextCompat import androidx.core.view.get class MainActivi...
presentation/src/main/java/com/ezzy/presentation/home/components/FeaturedItem.kt
unknown_repo
kotlin
package com.ezzy.presentation.home.components import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.basicMarquee import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx....
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/filled/ArrowBigLeftLines.kt
unknown_repo
kotlin
package com.woowla.compose.icon.collections.tabler.tabler.filled 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 imp...
app/src/main/java/com/brightsolutions_knottracker/FavouriteList.kt
unknown_repo
kotlin
@file:Suppress("unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused", "unused" ) package com.brightsolutions_knottracker import androidx.appcompat.app.AppCompatActiv...
app/src/main/java/com/muratozturk/mova/ui/home/now_playing_movies/NowPlayingMoviesViewModel.kt
unknown_repo
kotlin
package com.hoangtien2k3.themoviedb.ui.home.now_playing_movies import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import androidx.paging.PagingData import androidx.paging.cachedIn import com.hoangtien2k3.themoviedb.domain.model.MovieUI import com.hoangtien2k3.themoviedb.domain.use_case.home.G...
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/covidcertificate/validation/core/DccValidator.kt
unknown_repo
kotlin
package de.rki.coronawarnapp.covidcertificate.validation.core import androidx.annotation.VisibleForTesting import de.rki.coronawarnapp.covidcertificate.common.certificate.DccData import de.rki.coronawarnapp.covidcertificate.common.certificate.DccJsonSchemaValidator import de.rki.coronawarnapp.covidcertificate.common.c...
app/src/androidTest/java/com/appttude/h_mal/atlas_weather/data/network/interceptors/MockingNetworkInterceptor.kt
unknown_repo
kotlin
package com.appttude.h_mal.atlas_weather.data.network.interceptors import androidx.test.espresso.idling.CountingIdlingResource import okhttp3.Interceptor import okhttp3.MediaType.Companion.toMediaType import okhttp3.Protocol import okhttp3.Response import okhttp3.ResponseBody.Companion.toResponseBody class MockingNet...
module_home/src/main/kotlin/com/crow/module_home/ui/viewmodel/HomeViewModel.kt
unknown_repo
kotlin
package com.crow.module_home.ui.viewmodel import androidx.lifecycle.viewModelScope import androidx.paging.Pager import androidx.paging.PagingConfig import androidx.paging.PagingData import androidx.paging.cachedIn import com.crow.base.app.app import com.crow.base.ui.viewmodel.mvi.BaseMviViewModel import com.crow.modul...
mylibrary1/src/main/java/me/hacket/mylibrary1/MyLib1InitTask.kt
unknown_repo
kotlin
package me.hacket.mylibrary1 import android.app.Application import android.content.res.Configuration import android.os.SystemClock import me.hacket.appinit.annotation.AppInitTask import me.hacket.appinit.api.AppInit import me.hacket.appinit.api.IAppInitTask import me.hacket.appinit.api.utils.Consts @AppInitTask( ...
codebase/android/core/alarmkitimpl/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/core/alarmkitimpl/AlarmReceiver.kt
unknown_repo
kotlin
package com.makeappssimple.abhimanyu.financemanager.android.core.alarmkitimpl import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import com.makeappssimple.abhimanyu.financemanager.android.core.logger.MyLogger import com.makeappssimple.abhimanyu.financemanager.android....
app/src/androidTest/kotlin/com/moonpi/swiftnotes/test/BaseRunner.kt
unknown_repo
kotlin
package com.moonpi.swiftnotes.test import android.content.ContentValues import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.support.test.InstrumentationRegistry import android.support.test.InstrumentationRegistry.getInstrumentation import android.support...
app/src/_test/java/com/lhwdev/selfTestMacro/MainPreview.kt
unknown_repo
kotlin
package com.lhwdev.selfTestMacro import androidx.compose.runtime.Composable import androidx.compose.runtime.CompositionLocalProvider import androidx.compose.runtime.remember import androidx.compose.ui.tooling.preview.Preview import com.lhwdev.selfTestMacro.api.* import com.lhwdev.selfTestMacro.model.MainRepository imp...
app/src/main/java/com/example/racetracker/ui/TimerManager.kt
unknown_repo
kotlin
package com.example.racetracker.ui import kotlinx.coroutines.* import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.asStateFlow class TimerManager(private val scope: CoroutineScope) { private var timerJob: Job? = null private var startTime: Long = 0 private var duration: Long = 0...
app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadProvider.kt
unknown_repo
kotlin
package eu.kanade.tachiyomi.data.download import android.content.Context import androidx.core.net.toUri import androidx.core.text.isDigitsOnly import com.elvishew.xlog.XLog import com.hippo.unifile.UniFile import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.data.database.models.Chapter import eu.kanade.tachiyomi.d...
HKBusETA/app/src/main/java/com/loohp/hkbuseta/FavActivity.kt
unknown_repo
kotlin
package com.loohp.hkbuseta import android.content.Intent 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.compos...
app/src/main/java/com/farmerbb/notepad/models/Entities.kt
unknown_repo
kotlin
/* Copyright 2021 <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 agreed to in writi...
app/src/main/java/com/example/pettyplanet/di/MainModule.kt
unknown_repo
kotlin
package com.example.pettyplanet.di import android.app.Application import android.content.Context import androidx.room.Room import com.example.pettyplanet.database.SavedPostsDatabase import com.example.pettyplanet.repository.PostRepositoryImpl import com.example.pettyplanet.repository.PostsRepository import dagger.Modu...
app/src/main/java/org/teslasoft/assistant/ui/PromptViewActivity.kt
unknown_repo
kotlin
/************************************************************************** * Copyright (c) 2023-2024 Dmytro Ostapenko. All rights reserved. * * 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 ...
feature/scrobble/src/main/java/com/mataku/scrobscrob/scrobble/ui/molecule/TrackAlbum.kt
unknown_repo
kotlin
package com.mataku.scrobscrob.scrobble.ui.molecule 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.fillMaxWidth import androidx...
mobile-ui/src/main/java/org/buffer/android/boilerplate/ui/browse/BrowseAdapter.kt
unknown_repo
kotlin
package org.buffer.android.boilerplate.ui.browse import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import com.bumptech.glide.Glide import com.bumptech.glide.request.Reque...
app/src/main/java/com/mundocrativo/javier/solosonido/model/QueueObj.kt
unknown_repo
kotlin
package com.mundocrativo.javier.solosonido.model import androidx.room.Entity import androidx.room.PrimaryKey @Entity data class QueueObj( @PrimaryKey(autoGenerate = true) val id:Long, val queueName:String )
collaboration-suite-phone-ui/src/main/java/com/kaleyra/collaboration_suite_phone_ui/drawables/AnimatedRedBorderDrawable.kt
unknown_repo
kotlin
/* * Copyright 2021-2022 Bandyer @ https://www.bandyer.com * * 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 req...
app/src/main/java/com/cmgapps/android/curriculumvitae/ui/info/InfoSheet.kt
unknown_repo
kotlin
/* * Copyright (c) 2021. <NAME> <<EMAIL>> * * 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...
app/src/main/java/at/opnote/ui/base/BaseFragment.kt
unknown_repo
kotlin
package at.opnote.ui.base import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.view.doOnAttach import androidx.fragment.app.Fragment import androidx.viewbinding.ViewBinding import at.opnote.analytics.OpAnalytics import at.opnote.util.ex...
features/todo/src/main/java/com/hrudhaykanth116/todo/ui/components/TodoListItemUI.kt
unknown_repo
kotlin
package com.hrudhaykanth116.todo.ui.components import androidx.compose.animation.core.Spring import androidx.compose.animation.core.animateDpAsState import androidx.compose.animation.core.spring import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.found...
app/src/main/java/com/kuneosu/mintoners/data/model/Match.kt
unknown_repo
kotlin
package com.kuneosu.mintoners.data.model import androidx.room.Entity import androidx.room.PrimaryKey import androidx.room.TypeConverters import java.util.Date @Entity(tableName = "matches") @TypeConverters(Converters::class) data class Match( @PrimaryKey(autoGenerate = true) var matchNumber: Int = 0, val mat...
sub_seminar002_example/app/src/main/java/com/sopt_nyh/sub_seminar002_example/adapter/MyFragmentSPAdapter.kt
unknown_repo
kotlin
package com.sopt_nyh.sub_seminar002_example.adapter import android.support.v4.app.Fragment import android.support.v4.app.FragmentManager import android.support.v4.app.FragmentStatePagerAdapter import com.sopt_nyh.sub_seminar002_example.MainFragment import com.sopt_nyh.sub_seminar002_example.MapFragment import com.sopt...
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/Socks.kt
unknown_repo
kotlin
package me.localx.icons.rounded.filled 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.graphics.StrokeJoin.Companion.Miter ...
src/main/java/com/example/navigation/dsl/NavigationDSLFragmentTwo.kt
unknown_repo
kotlin
package com.example.navigation.dsl import android.os.Bundle import android.view.View import androidx.fragment.app.Fragment import androidx.navigation.fragment.findNavController import com.example.navigation.R import com.example.navigation.applyWindowInsets import com.example.navigation.databinding.FragmentNavigationDS...
storage/room/src/main/kotlin/dev/atick/storage/room/data/models/FallIncident.kt
unknown_repo
kotlin
package dev.atick.storage.room.data.models import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import java.util.* @Entity(tableName = "falls") data class FallIncident( @ColumnInfo(name = "victim_name") val victimName: String, @ColumnInfo(name = "high_risk") val highRisk...
library-base/src/main/java/com/example/miaow/base/dialog/StandardDialog.kt
unknown_repo
kotlin
package com.example.fragment.library.common.dialog import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.example.fragment.library.base.dialog.BaseDialog import com.example.fragment.library.common.databinding.DialogStandardBinding class StandardDi...
examples/android-weather-app/src/main/kotlin/fr/ekito/myweatherapp/view/weather/WeatherActivity.kt
unknown_repo
kotlin
package fr.ekito.myweatherapp.view.weather import android.arch.lifecycle.Observer import android.os.Bundle import android.support.design.widget.Snackbar import android.support.v7.app.AppCompatActivity import android.util.Log import android.view.View import fr.ekito.myweatherapp.R import fr.ekito.myweatherapp.view.Fail...
app/src/main/java/org/p2p/wallet/sell/interactor/HistoryItemMapper.kt
unknown_repo
kotlin
package org.p2p.wallet.sell.interactor import android.content.res.Resources import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.withContext import org.p2p.core.utils.Constants import org.p2p.core.utils.formatFiat import org.p2p.core.utils.formatToken import org.p2p.ethereumkit.external.model.ERC2...
app/src/main/java/com/viniciusjanner/desafio/sicredi/util/validation/ValidaEmail.kt
unknown_repo
kotlin
package com.viniciusjanner.desafio.sicredi.util.validation import android.widget.EditText import com.google.android.material.textfield.TextInputLayout class ValidaEmail(private val textInputEmail: TextInputLayout) : Validator { private val fieldEmail: EditText = this.textInputEmail.editText!! private val ...
app/src/main/java/com/pr0gramm/app/io/Cache.kt
unknown_repo
kotlin
package com.pr0gramm.app.io import android.app.Application import android.net.Uri import androidx.core.net.toFile import com.pr0gramm.app.Duration.Companion.seconds import com.pr0gramm.app.Logger import com.pr0gramm.app.Stats import com.pr0gramm.app.util.doInBackground import com.pr0gramm.app.util.isLocalFile import c...
rhine/src/main/java/com/qingmei2/rhine/base/view/BaseInjectFragment.kt
unknown_repo
kotlin
package com.qingmei2.rhine.base.view import android.support.v4.app.Fragment import org.kodein.di.KodeinAware import org.kodein.di.android.support.closestKodein import org.kodein.di.generic.kcontext abstract class BaseInjectFragment : Fragment(), KodeinAware, IView { protected val parentKodein by closestK...