file_path
stringlengths
6
261
repository
stringclasses
2 values
language
stringclasses
1 value
content
stringlengths
121
454k
common/compose-ui/src/desktopMain/kotlin/com/sedsoftware/nxmods/ui/AuthPreviews.kt
unknown_repo
kotlin
package com.sedsoftware.nxmods.ui import androidx.compose.desktop.ui.tooling.preview.Preview import androidx.compose.runtime.Composable import com.sedsoftware.nxmods.ui.stubs.AuthStates import com.sedsoftware.nxmods.ui.theme.NxModsTheme @Preview @Composable fun PreviewNewUser() { NxModsTheme { NxModsAuthS...
app/src/main/java/com/example/returnpals/composetools/dashboard/Settings.kt
unknown_repo
kotlin
package com.example.returnpals.composetools.dashboard import DashboardMenuScaffold import androidx.compose.foundation.background import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.lay...
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/BowlingBallSolid.kt
unknown_repo
kotlin
package compose.icons.lineawesomeicons 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 ...
app/src/main/java/com/magnitudestudios/GameFace/pojo/UserInfo/Profile.kt
unknown_repo
kotlin
/* * Copyright (c) 2021 -Srihari Vishnu - All Rights Reserved * * 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 the rights to use, copy, modif...
widget/src/main/java/io/github/sdwfqin/widget/pictureupload/PictureUploadView.kt
unknown_repo
kotlin
package io.github.sdwfqin.widget.pictureupload import android.content.Context import android.graphics.Rect import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import android.widget.FrameLayout import androidx.annotation.LayoutRes import androidx.recyclerview.widget.GridLayoutMa...
core/viewModels/src/main/java/com/devfalah/viewmodels/notifications/NotificationsViewModel.kt
unknown_repo
kotlin
package com.devfalah.viewmodels.notifications import android.util.Log import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.devfalah.usecases.notification.GetNotificationsUseCase import com.devfalah.usecases.notification.MarkNotificationAsViewedUseCase import com.devfalah.viewmodels.u...
data/src/main/kotlin/info/dvkr/switchmovie/data/viewmodel/BaseViewModel.kt
unknown_repo
kotlin
package info.dvkr.switchmovie.data.viewmodel import androidx.annotation.AnyThread import androidx.annotation.CallSuper import androidx.lifecycle.ViewModel import com.elvishew.xlog.XLog import info.dvkr.switchmovie.domain.utils.getLog import kotlinx.coroutines.* import kotlinx.coroutines.channels.SendChannel abstract...
showkase-processor-testing/src/test/resources/ShowkaseProcessorTest/top_level_composable_and_class_with_@ScreenshotTest_generates_screenshot_test_for_composable/output/comairbnbandroidshowkaseprocessortestinggroup2name2.kt
unknown_repo
kotlin
// This is an auto-generated file. Please do not edit/modify this file. package com.airbnb.android.showkase_processor_testing import androidx.compose.runtime.Composable import com.airbnb.android.showkase.models.ShowkaseBrowserComponent public val comairbnbandroidshowkaseprocessortestinggroup2name2: ShowkaseBrowserCom...
app/src/main/java/com/gl/habitalarm/data/HabitAlarmDatabase.kt
unknown_repo
kotlin
package com.gl.habitalarm.data import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import androidx.room.TypeConverters @Database(entities = [Habit::class, Repetition::class], version = 1, exportSchema = false) @TypeConverters(DBTypeConverters::class...
android/src/main/kotlin/io/harness/flutter_cfsdk/FfFlutterClientSdkPlugin.kt
unknown_repo
kotlin
package io.harness.flutter_cfsdk import android.app.Application import android.os.Handler import android.os.Looper import androidx.annotation.NonNull import com.google.gson.JsonObject import io.flutter.embedding.engine.plugins.FlutterPlugin import io.flutter.plugin.common.MethodCall import io.flutter.plugin.common.Me...
app/src/main/java/com/thanksmister/iot/mqtt/alarmpanel/ui/adapters/ForecastCardAdapter.kt
unknown_repo
kotlin
/* * Copyright (c) 2018 ThanksMister 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 agree...
app/src/main/java/com/tored/bridgelauncher/services/BridgeButtonQSTileService.kt
unknown_repo
kotlin
package com.tored.bridgelauncher.services import android.content.ComponentName import android.os.Build import android.service.quicksettings.Tile import android.service.quicksettings.TileService import androidx.datastore.preferences.core.edit import com.tored.bridgelauncher.settings.SettingsState import com.tored.bridg...
app/src/main/java/net/mm2d/android/vmb/App.kt
unknown_repo
kotlin
/* * Copyright (c) 2017 大前良介 (<NAME>) * * This software is released under the MIT License. * http://opensource.org/licenses/MIT */ package net.mm2d.android.vmb import android.app.Application import android.os.StrictMode import android.os.StrictMode.ThreadPolicy import android.os.StrictMode.VmPolicy import net.mm...
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/CircleX.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 ...
app/src/main/java/io/horizontalsystems/bankwallet/modules/settings/faq/FaqFragment.kt
unknown_repo
kotlin
package io.horizontalsystems.bankwallet.modules.settings.faq import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.os.bundleOf import androidx.core.view.isVisible import androidx.fragment.app.viewModels import androidx.lifecycle.Observer...
wearapp/src/main/java/com/thewizrd/simpleweather/setup/SetupActivity.kt
unknown_repo
kotlin
package com.thewizrd.simpleweather.setup import android.app.Activity import android.content.DialogInterface import android.content.Intent import android.os.Bundle import android.view.View import android.widget.Toast import androidx.activity.viewModels import androidx.core.view.isVisible import androidx.lifecycle.lifec...
app/src/main/java/com/example/ch8n/search/MovieSearchActivity.kt
unknown_repo
kotlin
package com.example.ch8n.search import android.content.Intent import android.os.Bundle import android.text.Editable import android.text.TextWatcher import android.view.View import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import androidx.lifecycle.observe import com.example.ch8n.R import com...
events-app/src/commonMain/kotlin/io/ashdavies/playground/activity/ActivityScreen.kt
unknown_repo
kotlin
package io.ashdavies.activity import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.ColumnScope import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layou...
app/src/main/java/com/ibashkimi/screenrecorder/recordings/RecordingSelectionUtils.kt
unknown_repo
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 agreed t...
core/src/main/java/de/schwerin/stoppCoronaDE/skeleton/core/screens/base/viewmodel/ScopedViewModel.kt
unknown_repo
kotlin
package de.schwerin.stoppCoronaDE.skeleton.core.screens.base.viewmodel import androidx.lifecycle.ViewModel import de.schwerin.stoppCoronaDE.skeleton.core.model.helpers.AppDispatchers import io.reactivex.disposables.CompositeDisposable import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Job import kotlin...
FetLifeKotlin/app/src/main/java/com/bitlove/fetlife/logic/binding/BindingAdapterMethodHolder.kt
unknown_repo
kotlin
package com.bitlove.fetlife.logic.binding import android.app.Activity import android.arch.persistence.room.util.StringUtil import android.databinding.BindingAdapter import android.content.Context import android.databinding.DataBindingUtil import android.databinding.ViewDataBinding import android.graphics.Rect import a...
app/src/main/java/com/minimalisttodolist/pleasebethelastrecyclerview/ui/theme/Theme.kt
unknown_repo
kotlin
package com.minimalisttodolist.pleasebethelastrecyclerview.ui.theme import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Typography import androidx.compose.material3.darkColorScheme import androidx.compose.material3.lightColorScheme im...
app/src/main/java/com/flowfoundation/wallet/page/backup/multibackup/presenter/MultiBackupPresenter.kt
unknown_repo
kotlin
package com.flowfoundation.wallet.page.backup.multibackup.presenter import android.annotation.SuppressLint import androidx.transition.Fade import androidx.transition.Transition import com.google.android.material.transition.MaterialSharedAxis import com.flowfoundation.wallet.R import com.flowfoundation.wallet.base.pres...
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/HaykalSolid.kt
unknown_repo
kotlin
package compose.icons.lineawesomeicons 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 ...
app/src/main/java/com/maestrovs/slovo/data/dao/Game.kt
unknown_repo
kotlin
package com.maestrovs.slovo.data.dao import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.Index import androidx.room.PrimaryKey @Entity( indices = [Index(value = ["slovo"], unique = true)] ) data class Game( @PrimaryKey(autoGenerate = true) var id: Int = 0, @ColumnInfo(nam...
app/src/main/kotlin/de/markusfisch/android/binaryeye/app/system_bars.kt
unknown_repo
kotlin
package de.markusfisch.android.binaryeye.app import de.markusfisch.android.binaryeye.view.SystemBarMetrics import de.markusfisch.android.binaryeye.R import android.os.Build import android.support.v4.content.ContextCompat import android.support.v7.app.AppCompatActivity import android.view.View import android.view.Wind...
app/src/main/java/com/testmvvmapp/features/bybit/presentation/viewModel/BybitVM.kt
unknown_repo
kotlin
package com.testmvvmapp.features.bybit.presentation.viewModel import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.testmvvmapp.features.bybit.data.models.MainInfo import com.testmvvmapp.features.bybit.data.repositories.IBybitRepository import com.testmvvmapp.features.bybit.data.remot...
app/src/main/java/fr/jorisfavier/youshallnotpass/repository/ExternalItemRepository.kt
unknown_repo
kotlin
package fr.jorisfavier.youshallnotpass.repository import android.net.Uri import fr.jorisfavier.youshallnotpass.model.ExternalItem interface ExternalItemRepository { /** * Persist a given list of ExternalItem by encrypting it with the given password * @param items the list of ExternalItem to persist ...
app/src/main/java/com/sandeep/womenincloudrvce/ui/activities/BaseActivity.kt
unknown_repo
kotlin
package earth.devgalileo.assimilator.activities import android.app.Dialog import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.os.Handler import android.os.Message import android.view.View import android.widget.Toast import androidx.core.content.ContextCompat import com.google.androi...
app/src/main/java/com/sandeep/womenincloudrvce/ui/activities/BaseActivity.kt
unknown_repo
kotlin
package earth.devgalileo.assimilator.activities import android.app.Dialog import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.os.Handler import android.os.Message import android.view.View import android.widget.Toast import androidx.core.content.ContextCompat import com.google.androi...
app-simple-wallet/app/src/main/java/com/goldenraven/devkitwallet/ui/WalletScreen.kt
unknown_repo
kotlin
/* * Copyright 2020-2022 thunderbiscuit and contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the ./LICENSE file. */ package com.goldenraven.devkitwallet.ui import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compos...
animated-base/src/main/java/com/facebook/fresco/animation/drawable/animator/AnimatedDrawableValueAnimatorHelper.kt
unknown_repo
kotlin
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.fresco.animation.drawable.animator import android.animation.ValueAnimator import android.animation.ValueAni...
inappmessaging/app/src/main/java/com/google/firebase/example/inappmessaging/kotlin/MainActivity.kt
unknown_repo
kotlin
package com.google.firebase.example.inappmessaging.kotlin import androidx.appcompat.app.AppCompatActivity import com.google.firebase.example.inappmessaging.MyClickListener import com.google.firebase.inappmessaging.inAppMessaging import com.google.firebase.Firebase class MainActivity : AppCompatActivity() { priva...
app/src/main/java/org/jamescowan/bluetooth/echo/view/MainActivity.kt
unknown_repo
kotlin
package org.jamescowan.bluetooth.echo.view import android.Manifest import android.app.ActivityManager import android.bluetooth.BluetoothDevice import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.graphics.Color import android.graphics.Typeface import andr...
app/src/main/java/com/example/tippy/MainActivity.kt
unknown_repo
kotlin
package com.example.tippy import android.animation.ArgbEvaluator import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.text.Editable import android.text.TextWatcher import android.view.View import android.widget.* import androidx.core.content.ContextCompat import com.example.tippy.dat...
app/src/main/java/com/okta/idx/android/sdk/steps/ButtonStep.kt
unknown_repo
kotlin
/* * Copyright 2021-Present Okta, 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...
app/src/main/java/com/gearlabs/accessibilitycallannounce/MainActivity.kt
unknown_repo
kotlin
package com.gearlabs.accessibilitycallannounce import android.content.ContentValues import android.media.RingtoneManager import android.os.Build import android.os.Bundle import android.provider.ContactsContract import android.provider.MediaStore import android.view.View import android.widget.ArrayAdapter import andro...
app/src/main/java/com/example/medx/EnterHeightandWeight.kt
unknown_repo
kotlin
package com.example.medx import android.content.Intent import android.graphics.Bitmap import android.graphics.drawable.BitmapDrawable import android.os.Bundle import android.widget.* import androidx.appcompat.app.AppCompatActivity class EnterHeightandWeight : AppCompatActivity() { var heightstart=0 var heig...
app/src/main/java/com/github/programmerr47/flickrawesomeclient/services/PhotoDataSource.kt
unknown_repo
kotlin
package com.github.programmerr47.flickrawesomeclient.services import androidx.paging.PageKeyedDataSource import com.github.programmerr47.flickrawesomeclient.models.Photo import com.github.programmerr47.flickrawesomeclient.net.FlickrApi class PhotoDataSource( private val text: String, private val flick...
app/src/main/java/com/manu/foodacious/repository/GeocodeRepository.kt
unknown_repo
kotlin
package com.manu.foodacious.repository import android.util.Log import com.manu.foodacious.model.geocode.GeocodeLocation import com.manu.foodacious.network.IFoodaciousService class GeocodeRepository(private val foodaciousService : IFoodaciousService) : IGeocodeRepository { private val TAG = GeocodeRepository::clas...
app/src/main/java/it/awlex/happyhandbreaks/utils/ThemeUtils.kt
unknown_repo
kotlin
package it.awlex.happyhandbreaks.utils import android.app.Activity import android.content.Context import it.awlex.happyhandbreaks.Constants import it.awlex.happyhandbreaks.R /** * Created by Awlex on 27.07.2017. <br> <br> * Utils to manage the applications theme */ private var currentTheme: Int = -1 /** * @...
app/src/main/java/xyz/ridsoft/hal/developer/JsonBuilderActivity.kt
unknown_repo
kotlin
package xyz.ridsoft.hal.developer import android.content.Intent import android.content.SharedPreferences import android.os.Bundle import android.widget.ArrayAdapter import android.widget.EditText import androidx.appcompat.app.AlertDialog import androidx.appcompat.app.AppCompatActivity import com.google.android.materia...
app/src/main/java/com/pakelcomedy/stockcomedy/StockMarketFragment.kt
unknown_repo
kotlin
package com.pakelcomedy.stockcomedy import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.AdapterView import android.widget.ArrayAdapter import android.widget.Button import android.widget.ListView import android.widget.TextView import a...
library_scan/src/main/java/com/knight/kotlin/library_scan/decode/ScanCodeConfig.kt
unknown_repo
kotlin
package com.knight.kotlin.library_scan.decode import android.app.Activity import android.content.Intent import android.graphics.Bitmap import android.net.Uri import androidx.fragment.app.Fragment import com.knight.kotlin.library_scan.R import com.knight.kotlin.library_scan.entity.ScanCodeEntity import com.knight.kotli...
appyx-components/experimental/modal/common/src/commonMain/kotlin/com/bumble/appyx/components/modal/ui/ModalVisualisation.kt
unknown_repo
kotlin
package com.bumble.appyx.components.modal.ui import androidx.compose.ui.geometry.Offset import androidx.compose.ui.unit.Density import androidx.compose.ui.unit.DpOffset import androidx.compose.ui.unit.dp import com.bumble.appyx.components.modal.ModalModel import com.bumble.appyx.components.modal.operation.Dismiss impo...
app/src/main/java/com/example/notes/dao/NoteDao.kt
unknown_repo
kotlin
package com.example.notes.dao import androidx.room.* import com.example.notes.entities.Notes @Dao interface NoteDao { @Query("select * from notes order by id desc") suspend fun allNotes(): List<Notes> @Insert(onConflict = OnConflictStrategy.REPLACE) suspend fun insert(note: Notes) @Delete s...
mvi/lib-mvi-core/src/test/java/ru/surfstudio/android/core/mvi/UiTest.kt
unknown_repo
kotlin
/* Copyright (c) 2020, SurfStudio 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 in writ...
app/src/main/java/org/jamescowan/bluetooth/echo/client/GattClient.kt
unknown_repo
kotlin
package org.jamescowan.bluetooth.echo.client import android.bluetooth.* import android.content.Context import android.widget.Toast import org.jamescowan.bluetooth.echo.Constants import org.jamescowan.bluetooth.echo.packet.Packet import timber.log.Timber import java.util.* class GattClient(serviceUUID: UUID, character...
feature/search/src/main/kotlin/ru/resodostudios/flick/feature/search/SearchScreen.kt
unknown_repo
kotlin
package ru.resodostudios.flick.feature.search import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import androidx.compose.foundation.lazy.grid.GridCells import androidx.compose.foundation.lazy.grid.LazyGridScope import and...
app/src/main/java/com/manuelsoft/supermovies/network/RetrofitLoads.kt
unknown_repo
kotlin
package com.manuelsoft.supermovies.network import android.content.Context import com.manuelsoft.supermovies.R import com.manuelsoft.supermovies.data.GenresResponse import com.manuelsoft.supermovies.data.DiscoverMoviesResult import io.reactivex.Single import timber.log.Timber class RetrofitLoads(context: Context) { ...
indicatorlibrary/src/main/java/io/github/binishmanandhar23/indicatorlibrary/model/IndicatorModifications.kt
unknown_repo
kotlin
package io.github.binishmanandhar23.indicatorlibrary.model import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import io.github.binishmanandhar23.indicatorlibrary.R data class IndicatorModifications(var drawableId: Int = R.drawable.ic_circle, var tint: Color = Color.Black,var maxScale: Float...
sdk/ui-tests/src/androidTest/kotlin/com/vk/id/common/mockprovider/pm/MockPmNoProvidersNoBrowsers.kt
unknown_repo
kotlin
@file:OptIn(InternalVKIDApi::class) package com.vk.id.common.mockprovider.pm import android.content.Intent import android.content.pm.PackageInfo import android.content.pm.ResolveInfo import com.vk.id.common.InternalVKIDApi import com.vk.id.internal.context.InternalVKIDPackageManager internal class MockPmNoProvidersN...
app/src/main/java/com/epiphany/callshow/common/utils/PermissionsUtil.kt
unknown_repo
kotlin
package com.epiphany.callshow.common.utils import android.Manifest import android.app.AppOpsManager import android.content.Context import android.content.Intent import android.content.SharedPreferences import android.content.pm.PackageManager import android.database.Cursor import android.net.Uri import android.os.Buil...
app/src/main/java/me/bakumon/moneykeeper/database/AppDatabase.kt
unknown_repo
kotlin
/* * Copyright 2018 Bakumon. https://github.com/Bakumon * * 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 appli...
app/src/main/java/org/sil/storyproducer/controller/pager/PagerAdapter.kt
unknown_repo
kotlin
package org.sil.storyproducer.controller.pager import android.os.Bundle import android.support.v4.app.Fragment import android.support.v4.app.FragmentManager import android.support.v4.app.FragmentStatePagerAdapter import org.sil.storyproducer.controller.backtranslation.BackTranslationFrag import org.sil.storyproducer.c...
shared/src/iosMain/kotlin/io/github/andremion/musicplayer/MainViewController.kt
unknown_repo
kotlin
/* * Copyright 2024. <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...
clients/android/NewsBlur/src/com/newsblur/activity/InitActivity.kt
unknown_repo
kotlin
package com.newsblur.activity import android.content.Intent import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen import androidx.lifecycle.lifecycleScope import com.newsblur.database.BlurDatabaseHelper import com.newsblur....
app/src/main/kotlin/com/intelligentbackpack/app/view/CreateUser.kt
unknown_repo
kotlin
package com.intelligentbackpack.app.view import androidx.activity.compose.BackHandler import androidx.compose.material3.AlertDialog import androidx.compose.material3.Button import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.mutableStateOf import androidx.c...
crowdin/src/main/java/com/crowdin/platform/auth/AuthActivity.kt
unknown_repo
kotlin
package com.crowdin.platform.auth import android.app.Activity import android.content.Intent import android.net.Uri import android.os.Bundle import android.util.Log import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import com.crowdin.platform.Crowdin import com.crowdin.platform.R import com.cr...
app/src/main/java/com/katana/koin/ui/send_mail/MailActivity.kt
unknown_repo
kotlin
package com.katana.koin.ui.send_mail import android.content.Intent import android.os.Bundle import android.text.TextUtils import android.view.LayoutInflater import android.view.View import android.widget.* import androidx.appcompat.app.AlertDialog import com.base.BaseActivity import com.katana.koin.BR import com.katan...
app/src/main/kotlin/com/absinthe/libchecker/features/chart/BaseChartDataSource.kt
unknown_repo
kotlin
package com.absinthe.libchecker.features.chart import android.view.View import com.absinthe.libchecker.constant.GlobalValues import com.absinthe.libchecker.database.entity.LCItem abstract class BaseChartDataSource<T : View>(val items: List<LCItem>) : IChartDataSource<T> { protected abstract val classifiedMap: Map<I...
app/src/main/java/com/abdallah_abdelazim/moviediscover/ui/movieslist/MoviesAdapter.kt
unknown_repo
kotlin
package com.abdallah_abdelazim.moviediscover.ui.movieslist import android.annotation.SuppressLint import android.view.LayoutInflater import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.recyclerview.widget.RecyclerView import com.abdallah_abdelazim.moviediscover.R import com.abdall...
compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsWrapper.kt
unknown_repo
kotlin
/* * Copyright 2020 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 by applica...
core/presentation/src/main/kotlin/org/cazait/presentation/ui/announcement/CafeAnnouncementViewModel.kt
unknown_repo
kotlin
package org.cazait.presentation.ui.announcement import androidx.lifecycle.ViewModel import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject @HiltViewModel class CafeAnnouncementViewModel @Inject constructor( ): ViewModel() { }
app/src/main/java/com/glaucus/kaggleme/adapter/CompetitionAdapter.kt
unknown_repo
kotlin
package com.glaucus.kaggleme.adapter import android.content.Context import android.support.v7.widget.RecyclerView import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.bumptech.glide.Glide import com.glaucus.kaggleme.R import com.glaucus.kaggleme.e...
app/app/src/main/java/com/example/lasercraft/images/presentation/engraver/EngraverImagePreviewViewModel.kt
unknown_repo
kotlin
package com.example.lasercraft.images.presentation.engraver import android.graphics.BitmapFactory import android.util.Log import androidx.compose.runtime.mutableStateOf import androidx.compose.ui.graphics.asImageBitmap import androidx.lifecycle.ViewModel import com.example.lasercraft.mqtt.MqttClient import dagger.hilt...
sdk/src/main/kotlin/com/tpay/sdk/server/dto/parts/PayerResponseDTO.kt
unknown_repo
kotlin
@file:Suppress("unused") package com.tpay.sdk.server.dto.parts import androidx.annotation.Keep import org.json.JSONObject @Keep internal class PayerResponseDTO(json: String) : JSONObject(json) { var payerId: String? = optString("payerId") var email: String? = optString("email") var name: String? = optSt...
components/selfupdater/api/src/main/kotlin/com/flipperdevices/selfupdater/api/SelfUpdaterApi.kt
unknown_repo
kotlin
package com.flipperdevices.selfupdater.api import android.app.Activity interface SelfUpdaterApi { fun startCheckUpdateAsync(activity: Activity) fun getInstallSourceName(): String }
permissions/src/main/java/com/google/accompanist/permissions/PermissionState.kt
unknown_repo
kotlin
/* * Copyright 2021 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 required by applic...
app/src/main/java/com/fanrong/frwallet/ui/import/ImportWalletWordsActivity.kt
unknown_repo
kotlin
package com.fanrong.frwallet.ui.import import android.app.Activity import android.content.Intent import android.os.Bundle import android.text.Editable import android.text.TextWatcher import android.util.Log import android.view.View import com.basiclib.base.BaseActivity import com.fanrong.frwallet.R import com.fanrong....
phoenix-legacy/src/main/kotlin/fr/acinq/phoenix/legacy/settings/AccessControlFragment.kt
unknown_repo
kotlin
/* * Copyright 2019 ACINQ SAS * * 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...
app/src/main/java/com/egsys/pokedex/ui/home/PokemonListAdapter.kt
unknown_repo
kotlin
package com.egsys.pokedex.ui.home import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.egsys.pokedex.R import com.egsys.pokedex.model.api.PokemonResult import kotlinx.android.synthetic.main.card_pokemon.view.* /** * List...
fashion-tryon-compose/src/main/kotlin/com/aiuta/fashionsdk/tryon/compose/ui/internal/screens/selector/components/body/ShimmerBlock.kt
unknown_repo
kotlin
package com.aiuta.fashionsdk.tryon.compose.ui.internal.screens.selector.components.body import androidx.compose.animation.core.LinearEasing import androidx.compose.animation.core.RepeatMode import androidx.compose.animation.core.animateFloat import androidx.compose.animation.core.infiniteRepeatable import androidx.com...
paymentsheet/src/androidTest/java/com/stripe/android/paymentsheet/FlowControllerTest.kt
unknown_repo
kotlin
package com.stripe.android.paymentsheet import androidx.compose.ui.test.junit4.createAndroidComposeRule import androidx.lifecycle.Lifecycle import androidx.test.ext.junit.runners.AndroidJUnit4 import com.google.common.truth.Truth.assertThat import com.stripe.android.PaymentConfiguration import com.stripe.android.netwo...
privacysandbox/sdkruntime/sdkruntime-client/src/main/java/androidx/privacysandbox/sdkruntime/client/loader/VersionHandshake.kt
unknown_repo
kotlin
/* * Copyright 2022 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 by applica...
app/src/main/java/com/example/swiftbargain/data/local/room/entity/FavoriteProductEntity.kt
unknown_repo
kotlin
package com.example.swiftbargain.data.local.room.entity import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey @Entity("FavoriteProductEntity") data class FavoriteProductEntity( @PrimaryKey val id: String, @ColumnInfo val name: String, @ColumnInfo val rate: String, ...
Meditation-App/app/src/main/java/com/devhustlers/eduone/ui/theme/Color.kt
unknown_repo
kotlin
package com.devhustlers.eduone.ui.theme import androidx.compose.ui.graphics.Color val Purple200 = Color(0xFFBB86FC) val Purple500 = Color(0xFF6200EE) val Purple700 = Color(0xFF3700B3) val Teal200 = Color(0xFF03DAC5) val Green = Color(0xFFB3DEC7) val Yellow = Color(0xFFFBF1A3) val Black = Color(0xFF2C2C2C) val Grey = ...
app/src/main/java/com/depromeet/zerowaste/feature/pledge/PledgeViewModel.kt
unknown_repo
kotlin
package com.depromeet.zerowaste.feature.pledge import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.depromeet.zerowaste.api.UserApi import com.depromeet.zerowaste.comm.BaseViewModel import com.depromeet.zerowaste.comm.data.Share import com.depromeet.zerowaste.data.user.ReqUpdateUserD...
boxicons/src/commonMain/kotlin/com/woowla/compose/icon/collections/boxicons/boxicons/regular/BxLeftArrowCircle.kt
unknown_repo
kotlin
package com.woowla.compose.icon.collections.boxicons.boxicons.regular 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.StrokeCa...
app/src/main/java/com/minaketann3/feed/MainActivity.kt
unknown_repo
kotlin
package com.minaketann3.feed import android.graphics.Color import android.graphics.drawable.Drawable import android.net.Uri import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.Toast import androidx.browser.customtabs.CustomTabsIntent import androidx.r...
detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/RuleProviderTest.kt
unknown_repo
kotlin
package io.gitlab.arturbosch.detekt.rules import io.gitlab.arturbosch.detekt.api.BaseRule import io.gitlab.arturbosch.detekt.api.Config import io.gitlab.arturbosch.detekt.api.MultiRule import io.gitlab.arturbosch.detekt.api.Rule import io.gitlab.arturbosch.detekt.api.RuleSetProvider import io.gitlab.arturbosch.detekt....
app/src/main/java/com/azbyn/ocr/BaseFragment.kt
unknown_repo
kotlin
package com.azbyn.ocr import android.content.Context import android.os.Bundle import android.widget.Toast import androidx.annotation.CallSuper import androidx.fragment.app.Fragment import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import com.azbyn.ocr.Misc.logd import org.json.JSONObject ...
KaiyanModule/src/main/java/com/lisuperhong/openeye/utils/ImageLoad.kt
unknown_repo
kotlin
package com.lisuperhong.openeye.utils import android.widget.ImageView import com.bumptech.glide.Glide import com.bumptech.glide.Priority import com.bumptech.glide.load.DecodeFormat import com.bumptech.glide.load.engine.DiskCacheStrategy import com.bumptech.glide.load.resource.bitmap.CenterCrop import com.bumptech.glid...
app/src/main/java/org/oppia/android/app/options/OptionsAppLanguageViewModel.kt
unknown_repo
kotlin
package org.oppia.android.app.options import org.oppia.android.app.model.OppiaLanguage /** App language settings view model for the recycler view in [OptionsFragment]. */ class OptionsAppLanguageViewModel( private val routeToAppLanguageListListener: RouteToAppLanguageListListener, private var loadAppLanguageListL...
data-local/src/main/java/com/spiraclesoftware/androidsample/data_local/entity/TransactionEntity.kt
unknown_repo
kotlin
package com.spiraclesoftware.androidsample.data_local.entity import androidx.room.Embedded import androidx.room.Entity import androidx.room.PrimaryKey @Entity(tableName = "transactions") data class TransactionEntity( @PrimaryKey val id: String, val name: String, val processingDate: String, @Embedd...
app/src/main/java/com/mtg/counters/extensions/Context.kt
unknown_repo
kotlin
package com.mtg.counters.extensions import android.content.Context import android.net.ConnectivityManager import android.net.NetworkCapabilities import android.os.Build fun Context?.isNetworkEnable(): Boolean { this?.apply { val connectivityManager = getSystemService(Context.CONNECTIVITY_SERVICE) as Conne...
app/src/main/java/des/c5inco/pokedexer/ui/pokedex/PokemonPager.kt
unknown_repo
kotlin
package des.c5inco.pokedexer.ui.pokedex import android.graphics.RenderEffect import android.graphics.RuntimeShader import android.os.Build import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.BoxScope import androidx.compose.found...
iconKit/src/main/java/com/lollipop/iconkit/dialog/NewIconDialog.kt
unknown_repo
kotlin
package com.lollipop.iconkit.dialog import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.recyclerview.widget.GridLayoutManager import androidx.recyclerview.widget.RecyclerView import com.lollipop.iconcore.ui.IconHelper import com.lolli...
app/src/main/java/dev/shorthouse/coinwatch/data/source/local/database/model/Coin.kt
unknown_repo
kotlin
package dev.shorthouse.coinwatch.data.source.local.model import androidx.room.Entity import androidx.room.PrimaryKey import dev.shorthouse.coinwatch.model.Percentage import dev.shorthouse.coinwatch.model.Price @Entity data class Coin( @PrimaryKey val id: String, val name: String, val symbol: String, ...
korge/src/commonMain/kotlin/com/soywiz/korge/Korge.kt
unknown_repo
kotlin
package com.soywiz.korge import com.soywiz.kds.iterators.* import com.soywiz.klock.* import com.soywiz.klogger.* import com.soywiz.korag.log.* import com.soywiz.korev.* import com.soywiz.korge.input.* import com.soywiz.korge.internal.* import com.soywiz.korge.logger.* import com.soywiz.korge.render.* import com.soywiz...
desktop/app/src/main/kotlin/com/abdownloadmanager/desktop/pages/addDownload/shared/CategorySelect.kt
unknown_repo
kotlin
package com.abdownloadmanager.desktop.pages.addDownload.shared import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.RoundedCornerShape import androidx.com...
app/src/main/java/com/tktkokym/currencyviewer/view/fragment/CurrencyViewerFragment.kt
unknown_repo
kotlin
package com.tktkokym.currencyviewer.view.fragment import android.os.Bundle import android.text.Editable import android.text.TextWatcher import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.AdapterView import android.widget...
app/src/main/java/xyz/junerver/composehooks/example/UseListExample.kt
unknown_repo
kotlin
package xyz.junerver.composehooks.example import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compose.material3.Surface import androidx.compose.material3.Text impo...
mvvm/src/main/java/dev/sunnyday/core/mvvm/MVVMDialogFragment.kt
unknown_repo
kotlin
package dev.sunnyday.core.mvvm import android.content.Context import androidx.lifecycle.ViewModelProvider import androidx.databinding.ViewDataBinding import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.lifecycle.ViewModel import com.google....
test_runner/src/main/kotlin/ftl/run/platform/android/UploadApks.kt
unknown_repo
kotlin
package ftl.run.platform.android import ftl.args.AndroidArgs import ftl.run.model.AndroidTestContext import ftl.run.model.InstrumentationTestContext import ftl.run.model.RoboTestContext import ftl.util.asFileReference import ftl.util.uploadIfNeeded import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.async ...
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/Nbb.kt
unknown_repo
kotlin
package compose.icons.simpleicons 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 impor...
audio_classification/codelab2/android/starter/app/src/main/java/com/example/mysoundclassification/MainActivity.kt
unknown_repo
kotlin
package com.example.mysoundclassification import android.Manifest import android.os.Bundle import android.util.Log import android.widget.TextView import androidx.appcompat.app.AppCompatActivity import org.tensorflow.lite.task.audio.classifier.AudioClassifier import java.util.* import kotlin.concurrent.scheduleAtFixedR...
app/src/main/java/com/scwang/wave/app/fragment/WaveConsoleFragment.kt
unknown_repo
kotlin
package com.scwang.wave.app.fragment import android.content.res.Resources import android.os.Bundle import android.support.v4.app.Fragment import android.support.v4.content.ContextCompat import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.larswerkman.lobsterpicker.OnCol...
app/src/debug/java/ru/ltst/u2020mvp/data/MockRequestHandler.kt
unknown_repo
kotlin
package ru.ltst.u2020mvp.data import android.content.res.AssetManager import android.graphics.Bitmap import android.graphics.BitmapFactory import android.os.SystemClock import android.util.LruCache import com.squareup.picasso.* import retrofit2.mock.NetworkBehavior import java.io.IOException import java.util.concurre...
app/src/main/java/com/wisal/android/paging/viewmodels/EpisodesViewModel.kt
unknown_repo
kotlin
package com.wisal.android.paging.viewmodels import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import androidx.paging.PagingData import androidx.paging.cachedIn import androidx.paging.insertSeparators import androidx.paging.map import com.wisal.android.paging.data.repository.Repository import...