path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
baselineProfile/src/main/java/com/xeniac/fifaultimateteamcoin_dsfut_sell_fut/baselineprofile/StartupBenchmarks.kt | WilliamGates99 | 543,831,202 | false | {"Kotlin": 898249} | package com.xeniac.fifaultimateteamcoin_dsfut_sell_fut.baselineprofile
import androidx.benchmark.macro.CompilationMode
import androidx.benchmark.macro.StartupMode
import androidx.benchmark.macro.StartupTimingMetric
import androidx.benchmark.macro.junit4.MacrobenchmarkRule
import androidx.test.ext.junit.runners.Android... | 0 | Kotlin | 0 | 1 | a0b03bf204e6e681bbe587fdc928bff81e7e67e6 | 4,158 | FUTSale | Apache License 2.0 |
src/client-android/feature_chat_content/src/main/java/org/melon/feature_chat_content/domain/model/File.kt | kovdan01 | 306,299,292 | false | {"C++": 229634, "Kotlin": 59873, "CMake": 42751, "Python": 22311, "Shell": 20667, "Dockerfile": 10650} | package org.melon.feature_chat_content.domain.model
import android.net.Uri
data class File(
val fileName: String,
val uri: Uri
) | 29 | C++ | 0 | 2 | 356d8bf9f4ffa5b7e14fb144fd335fc29e0c3cf6 | 138 | melon | Apache License 2.0 |
src/main/kotlin/com/mrkirby153/tickmonitor/proxy/ClientProxy.kt | mrkirby153 | 109,912,241 | false | null | package com.mrkirby153.tickmonitor.proxy
class ClientProxy : CommonProxy() {
} | 0 | Kotlin | 0 | 0 | ef4e7dda89dc7770ca3acbfcb075fe5208506358 | 79 | tick-monitor | MIT License |
app/src/main/java/com/gdevs/mubi/presentation/ui/theme/Color.kt | Gu11s | 585,399,889 | false | null | package com.gdevs.mubi.presentation.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 whiteBackground = Color(0xFFF7f7f7)
val Primary = Color(0xFF6243FF)
val Secondary = Color(0... | 0 | Kotlin | 0 | 0 | e14ab44db4f0525b4b1e3f13af43cc4e5d640e66 | 666 | Mubi---Applaudo-s-Code-Challenge-Android | Academic Free License v1.1 |
domain/src/commonMain/kotlin/space/compoze/hiero/domain/section/interactor/SectionUpdate.kt | Firely-Pasha | 644,746,942 | false | null | package space.compoze.hiero.domain.section.interactor
import space.compoze.hiero.domain.collection.CollectionRepository
import space.compoze.hiero.domain.section.model.mutate.SectionMutation
import space.compoze.hiero.domain.section.repository.SectionRepository
class SectionUpdate(
private val sectionRepository: ... | 0 | Kotlin | 0 | 1 | de86473ed3fa46647b1cb4db91987a1aa2848c78 | 464 | hiero-japanese | MIT License |
ion-schema/src/test/kotlin/com/amazon/ionschema/writer/internal/constraints/FieldsWriterTest.kt | amazon-ion | 148,685,964 | false | {"Kotlin": 804755, "Inno Setup": 15625, "Java": 795, "Shell": 631} | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package com.amazon.ionschema.writer.internal.constraints
import com.amazon.ionschema.IonSchemaVersion
import com.amazon.ionschema.model.Constraint
import com.amazon.ionschema.model.ExperimentalIonSchemaModel
i... | 40 | Kotlin | 14 | 27 | 7a9ee6d06e9cfdaa530310f5d9be9f5a52680d3b | 1,528 | ion-schema-kotlin | Apache License 2.0 |
app/src/main/java/com/sebastijanzindl/galore/presentation/viewmodels/MainViewModel.kt | m1thrandir225 | 743,270,603 | false | {"Kotlin": 355549} | package com.sebastijanzindl.galore.presentation.viewmodels
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import com.sebastijanzindl.galore.domain.usecase.SignOutUseCase
import dagger.hilt.android.life... | 0 | Kotlin | 0 | 0 | 2a3188176c53122ff11592b00c801dd28b1343c8 | 662 | galore-android | MIT License |
common/src/main/java/com/sec/common/adapter/RecyclerVH.kt | liuhuiAndroid | 311,604,995 | false | null | package com.sec.common.adapter
import android.view.View
import androidx.recyclerview.widget.RecyclerView
open class RecyclerVH(itemView: View, val support: RecyclerSupport) :
RecyclerView.ViewHolder(itemView) {
open fun bind(itemCell: ItemCell, payloads: MutableList<Any> = mutableListOf()) {
//empty
... | 0 | Kotlin | 0 | 1 | 2ccbf66a540cc4db738f9d3e0fdcc6f5db014526 | 327 | fizz | MIT License |
app/src/main/java/com/metoer/clocktracker/day/DayStringEnum.kt | etokoc | 510,835,828 | false | null | package com.metoer.clocktracker.day
enum class DayStringEnum {
Pzt, Sal, Çar, Per, Cum, Cmt, Paz
} | 0 | Kotlin | 0 | 1 | 07e918b66d3d3d9f3aae077ceec047a99a8142f2 | 103 | ClockTracker | MIT License |
plaitPlugin/plait-plugin/src/main/java/com/ckenergy/trace/PlaitMachinePlugin.kt | ckenergy | 497,486,366 | false | {"Kotlin": 70997, "Java": 30774, "Shell": 393} | package com.ckenergy.trace
import com.android.build.api.artifact.ScopedArtifact
import com.android.build.api.variant.AndroidComponentsExtension
import com.android.build.api.variant.ScopedArtifacts
import com.android.build.gradle.AppExtension
import com.ckenergy.trace.extension.PlaitExtension
import com.ckenergy.trace.... | 0 | Kotlin | 0 | 4 | 03c294e127dfa311d8c5aa01c5a2b69f1157ff6b | 3,835 | PlaitMachine | Apache License 2.0 |
app/src/main/java/com/example/pixabaygalleryapp/di/modules/GeneralRepositoryModule.kt | AliAzaz | 360,302,381 | false | null | package com.example.pixabaygalleryapp.di.modules
import com.example.pixabaygalleryapp.base.repository.GeneralDataSource
import com.example.pixabaygalleryapp.base.repository.GeneralRepository
import com.example.pixabaygalleryapp.di.auth.AuthApi
import dagger.Module
import dagger.Provides
import javax.inject.Singleton
... | 0 | Kotlin | 0 | 8 | 8450c79fe9429fc69e546010acbbfde1a0ac61d8 | 512 | PixabayGalleryApp | MIT License |
src/main/kotlin/com/udemy/groceryshoppingapi/retail/repository/SupermarketRepository.kt | fahrican | 776,571,067 | false | {"Kotlin": 57120, "Java": 176} | package com.udemy.groceryshoppingapi.retail.repository
import com.udemy.groceryshoppingapi.retail.entity.Supermarket
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
@Repository
interface SupermarketRepository: JpaRepository<Supermarket, Long> {
} | 0 | Kotlin | 0 | 0 | 7a55358527394f3ad01146e110c77c84ce14057c | 310 | grocery-shopping-api | MIT License |
CallofProjectAndroid/app/src/main/java/callofproject/dev/androidapp/application/CallOfProjectAndroidApp.kt | CallOfProject | 751,531,328 | false | {"Kotlin": 429418, "Java": 5965} | package callofproject.dev.androidapp.application
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class CallOfProjectAndroidApp : Application() | 0 | Kotlin | 1 | 1 | 9cc12cd78cc212d474cd32b7ea3a89a5b8d5905b | 185 | Call-Of-Project-Android | MIT License |
app/src/main/java/com/crazyhitty/chdev/ks/news/util/internet/InternetHelper.kt | crazyhitty | 121,720,447 | false | null | package com.crazyhitty.chdev.ks.news.util.internet
/**
* Provides internet related utility methods.
*
* @author <NAME> (<EMAIL>)
*/
interface InternetHelper {
/**
* Check if internet is available or not.
*
* @return
* True, if internet is available, otherwise false.
*/
fun isAvail... | 0 | Kotlin | 0 | 12 | 9c3561d8ce9c5c418d71ba99ad60fb475866f3a8 | 337 | news | MIT License |
finch-java-core/src/main/kotlin/com/tryfinch/api/services/async/AtsServiceAsyncImpl.kt | Finch-API | 581,317,330 | false | null | package com.tryfinch.api.services.async
import com.tryfinch.api.core.ClientOptions
import com.tryfinch.api.core.http.HttpResponse.Handler
import com.tryfinch.api.errors.FinchError
import com.tryfinch.api.services.async.ats.ApplicationServiceAsync
import com.tryfinch.api.services.async.ats.ApplicationServiceAsyncImpl
i... | 1 | Kotlin | 0 | 4 | 2c53f443c479e0b01499126413569edc5dc0b1ef | 1,882 | finch-api-java | Apache License 2.0 |
src/test/kotlin/org/rust/lang/core/resolve/RsStdlibResolveTestEdition2018.kt | kumbayo | 66,188,183 | true | {"Kotlin": 4768923, "Rust": 105250, "Python": 53350, "Lex": 20296, "HTML": 13654, "Shell": 760, "Java": 586, "RenderScript": 318} | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.lang.core.resolve
import org.rust.MockEdition
import org.rust.ProjectDescriptor
import org.rust.WithStdlibRustProjectDescriptor
import org.rust.cargo.project.workspace.CargoWorkspace
@MockEditi... | 0 | Kotlin | 0 | 1 | ac5c7bef9ed268d4ab35eb4697874ecbcb95a2ff | 895 | intellij-rust | MIT License |
presentation/src/commonMain/kotlin/ireader/presentation/ui/component/utils/FastMappers.kt | IReaderorg | 425,288,628 | false | null | package ireader.presentation.ui.component.utils
expect inline fun <T, R> List<T>.fastMap(transform: (T) -> R): List<R>
expect inline fun <T> List<T>.fastForEach(action: (T) -> Unit)
expect inline fun <T, R : Comparable<R>> List<T>.fastMaxBy(selector: (T) -> R): T?
expect inline fun <T> List<T>.fastFirstOrNull(pre... | 10 | Kotlin | 16 | 146 | 9ec2ee1da7f20a4a9dfa64f9291d449483d7d621 | 497 | IReader | Apache License 2.0 |
app/src/test/java/com/idleoffice/coinwatch/ui/main/MainActivityTest.kt | dan-0 | 172,395,118 | false | null | package com.idleoffice.coinwatch.ui.main
import android.view.View
import com.crashlytics.android.Crashlytics
import com.crashlytics.android.core.CrashlyticsCore
import com.idleoffice.coinwatch.BR
import com.idleoffice.coinwatch.R
import com.idleoffice.coinwatch.data.model.bci.BitcoinAverageCurrent
import com.idleoffic... | 0 | Kotlin | 0 | 0 | cecb7aec6b8524ee761f5e9429000ff45565c77e | 5,572 | CoinWatch | MIT License |
philology/src/test/java/com/jcminarro/philology/PhilologyResourcesTest.kt | mbircu | 202,501,486 | true | {"Kotlin": 43325, "Groovy": 5355, "Java": 341} | package com.jcminarro.philology
import android.content.res.Configuration
import android.content.res.Resources
import com.nhaarman.mockito_kotlin.doReturn
import org.amshove.kluent.When
import org.amshove.kluent.`should equal`
import org.amshove.kluent.calling
import org.amshove.kluent.mock
import org.junit.Before
impo... | 0 | Kotlin | 0 | 0 | d4ae7a5592384ba90cda942aa6f62e1e70e61360 | 2,537 | Philology | Apache License 2.0 |
code/codegen/src/test/kotlin/com/android/gradle/replicator/codegen/kotlin/KotlinClassGeneratorTest.kt | android | 281,446,649 | false | null | /*
* Copyright (C) 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 app... | 3 | Kotlin | 27 | 87 | dcdbd2d77b0a3e511c5da0ef960668bfec9f25a3 | 8,349 | project-replicator | Apache License 2.0 |
app/src/main/java/com/aesuriagasalazar/competenciadigitalespracticum3_2/ui/screens/syllabus/SyllabusScreen.kt | AngelEduSuri | 514,696,509 | false | null | package com.aesuriagasalazar.competenciadigitalespracticum3_2.ui.screens.syllabus
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.material.*
import androidx.comp... | 0 | Kotlin | 0 | 0 | a97e0821b59d1bdc7d5274fc62bf61f23473c082 | 4,344 | Competencias-Digitales-Practicum-3.2 | Apache License 2.0 |
src/rider/main/kotlin/com/github/rafaelldi/diagnosticsclientplugin/actions/traces/StopExportTraceSessionAction.kt | rafaelldi | 487,741,199 | false | null | package com.github.rafaelldi.diagnosticsclientplugin.actions.traces
import com.github.rafaelldi.diagnosticsclientplugin.actions.common.StopExportSessionAction
import com.github.rafaelldi.diagnosticsclientplugin.services.traces.ExportTraceSessionController
import com.intellij.openapi.project.Project
class StopExportTr... | 1 | Kotlin | 0 | 4 | f2d9987f9ab953ef9e836c6092fd354e887d4d76 | 651 | diagnostics-client-plugin | MIT License |
app/src/main/java/com/example/newsapp/model/NewsMediaModel.kt | ali0094 | 219,040,996 | false | {"Kotlin": 21233} | package com.example.newsapp.model
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parcelize
import java.io.Serializable
import java.util.ArrayList
class NewsMediaModel{
inner class Root : Serializable {
@SerializedName("id")
var id: Long? = null
@Serialize... | 0 | Kotlin | 0 | 0 | 8a2d544812fbf417259712675a8f23cc7f7f4332 | 1,323 | popular-articles-android | MIT License |
src/main/kotlin/jamule/request/GetPreferencesRequest.kt | vexdev | 704,976,422 | false | {"Kotlin": 143693} | package jamule.request
import jamule.ec.ECDetailLevel
import jamule.ec.ECOpCode
import jamule.ec.ECTagName
import jamule.ec.EcPrefs
import jamule.ec.packet.Packet
import jamule.ec.tag.UByteTag
import jamule.ec.tag.UIntTag
internal data class GetPreferencesRequest(val prefs: EcPrefs) : Request {
override fun pack... | 3 | Kotlin | 0 | 1 | d19293db9fe49b9720f407130b04a878222b329c | 571 | jamule | MIT License |
app/src/main/java/com/wgy/recyclemanager/activity/HomeActivity.kt | Gaoyuan-Wang | 451,931,324 | false | {"Kotlin": 10509} | package com.wgy.recyclemanager.activity
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.wgy.recyclemanager.R
class HomeActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layou... | 0 | Kotlin | 0 | 0 | 6b97e2f67541d00687995a15207f8c309ec88496 | 342 | RecycleManager | Apache License 2.0 |
project/module-legacy-api/src/main/kotlin/ink/ptms/zaphkiel/ZaphkielAPI.kt | TabooLib | 228,311,359 | false | {"Kotlin": 174358} | package ink.ptms.zaphkiel
import com.google.gson.JsonObject
import ink.ptms.zaphkiel.api.*
import ink.ptms.zaphkiel.item.meta.Meta
import org.bukkit.entity.Player
import org.bukkit.inventory.Inventory
import org.bukkit.inventory.ItemStack
import taboolib.common.platform.function.getDataFolder
import taboolib.library.c... | 3 | Kotlin | 22 | 29 | 07e0aa437b7abdf5e4d9d3dc9a716260481616b9 | 4,029 | zaphkiel | Creative Commons Zero v1.0 Universal |
features/bookings/form/src/main/java/com/rodcollab/cliq/features/bookings/form/ui/BookingFormViewModel.kt | rodrigoliveirac | 610,274,713 | false | null | package com.rodcollab.cliq.features.bookings.form.ui
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.rodcollab.cliq.DateFormat.formatDate
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlin... | 0 | Kotlin | 0 | 0 | 65af38a3d7efaac0966f674fabaaf71482a9556d | 1,245 | Cliq | MIT License |
hideout-core/src/main/kotlin/dev/usbharu/hideout/core/domain/service/filter/FilterDomainService.kt | usbharu | 627,026,893 | false | {"Kotlin": 1314674, "Mustache": 111758, "HTML": 22697, "Dockerfile": 121} | /*
* Copyright (C) 2024 usbharu
*
* 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... | 18 | Kotlin | 0 | 13 | 32483abfe0e8e0458b5339887489c31bb62ad111 | 3,404 | Hideout | Apache License 2.0 |
android/src/main/java/com/iovation/IovationModule.kt | felipecornejo1 | 818,407,740 | false | {"Kotlin": 4668, "Ruby": 3253, "Objective-C": 2533, "JavaScript": 2122, "Objective-C++": 1405, "TypeScript": 1109, "C": 103, "Swift": 63} | package com.reactnativeiovation
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.bridge.ReactContextBaseJavaModule
import com.facebook.react.bridge.ReactMethod
import com.facebook.react.bridge.Promise
import com.iovation.mobile.android.FraudForceConfiguration
import com.iovation.mobil... | 0 | Kotlin | 0 | 0 | 933c854323a6d901b3caa2a25d1cfd6ae8930d09 | 1,128 | react-native-iovation-2 | MIT License |
Kotlin/Trees/BTree/BTree.kt | halls7588 | 62,333,583 | false | null | /*******************************************************
* BTree.java
* Created by <NAME> on 11/08/18.
* Copyright (c) 2018 <NAME>. All rights reserved.
* B-Tree implementation in Kotlin
*******************************************************/
/**
* Btree class
* @param <Key> Generic type
* @param <Value> Gen... | 0 | C# | 6 | 16 | 7ce9533c2003f07ff7b54cb324f9fb0d7ed8fb9f | 5,656 | Data_Structures_in_15_Languages | MIT License |
src/main/kotlin/no/nav/arbeidsgiver/sykefravarsstatistikk/api/infrastruktur/database/SykefraværRepository.kt | navikt | 201,881,144 | false | {"Kotlin": 814147, "Shell": 1600, "Dockerfile": 213} | package no.nav.arbeidsgiver.sykefravarsstatistikk.api.infrastruktur.database
import no.nav.arbeidsgiver.sykefravarsstatistikk.api.applikasjon.aggregertOgKvartalsvisSykefraværsstatistikk.domene.Sykefraværsdata
import no.nav.arbeidsgiver.sykefravarsstatistikk.api.applikasjon.fellesdomene.*
import no.nav.arbeidsgiver.syk... | 1 | Kotlin | 2 | 0 | 191af660dab3357092d0ceed927d5ffcc41a0a39 | 5,349 | sykefravarsstatistikk-api | MIT License |
ledger/core/db/src/main/kotlin/org/knowledger/ledger/database/ManagedSchema.kt | andrediogo92 | 122,662,386 | false | {"Kotlin": 795385, "Rust": 9666, "Python": 228} | package org.knowledger.ledger.database
interface ManagedSchema {
fun createProperty(
key: String, value: StorageType
): SchemaProperty
fun dropProperty(key: String)
fun declaredPropertyNames(): List<String>
fun addCluster(clusterName: String): ManagedSchema
} | 0 | Kotlin | 1 | 3 | 0e5121243b9faf101b6d2ccf5bce60a657a31b4e | 290 | KnowLedger | MIT License |
src/main/kotlin/gui/UiState.kt | JOwney96 | 876,459,526 | false | {"Kotlin": 33250, "Java": 30866} | package gui
import repository.EWinner
import repository.Statistics
data class UiState(
val board: List<List<Char>>,
val winner: EWinner = EWinner.NONE,
val stats: Statistics
)
| 0 | Kotlin | 0 | 0 | 82c502a6c350a30321eacee92e11682c7849b8c5 | 190 | TicTacToeCompose | Apache License 2.0 |
android/src/main/java/com/reminder/model/ReminderModel.kt | kienndhn | 700,395,140 | false | {"Java": 7154, "Kotlin": 5999, "Ruby": 3953, "JavaScript": 3028, "Objective-C": 2515, "TypeScript": 1619, "Objective-C++": 1145, "C": 103, "Swift": 60} | package com.reminder.model
import android.icu.util.Calendar
class ReminderModel(
ownerId: Int,
metadata: String,
hour: Int,
minute: Int,
second: Int,
date: Int,
month: Int,
year: Int,
isRepeated: Boolean,
title: String,
message: String,
notificationId: Int,
id: Int
) {
}
| 1 | null | 1 | 1 | 834ee408811a794ae354056456e074cbeb71b122 | 302 | react-native-reminder | MIT License |
app/src/main/java/com/cyh128/hikari_novel/data/source/local/database/search_history/SearchHistoryDao.kt | 15dd | 645,796,447 | false | {"Kotlin": 332962} | package com.cyh128.hikari_novel.data.source.local.database.search_history
import androidx.room.Dao
import androidx.room.Query
import androidx.room.Upsert
@Dao
interface SearchHistoryDao {
@Query("SELECT keyword FROM search_history")
suspend fun getAll(): List<String>?
@Upsert
suspend fun upsert(searc... | 1 | Kotlin | 12 | 400 | 402efc07ced528fc939d5d645e1f8a8f07636f40 | 428 | wenku8reader | MIT License |
app/src/main/java/com/example/myapplication/kotlindemo/util/KotlinTest.kt | zhou199864 | 261,087,427 | false | null | package com.example.myapplication.kotlindemo.util
import kotlinx.coroutines.*
fun main() {
// runBlocking {
// launch {
// println("launch1")
// delay(1000)
// println("launch1 finished")
// }
// launch {
// println("launch2")
// delay(100... | 0 | Kotlin | 0 | 0 | 7d7e838631c55ff6bff410440c5b807fa0fde024 | 759 | KotlinDemo | Apache License 2.0 |
app/src/main/java/com/github/emresarincioglu/groups/repository/paging/MemberPagingSource.kt | emresarincioglu | 604,255,192 | false | null | package com.github.emresarincioglu.groups.repository.paging
import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.github.emresarincioglu.groups.repository.FirebaseRepository
import com.github.emresarincioglu.groups.repository.model.MemberListItemUiState
import kotlinx.coroutines.flow.Flow
i... | 0 | Kotlin | 0 | 0 | f0bf1fc464d4d1433462cab04597202ff8c7fba8 | 1,998 | groups-app | MIT License |
rxadapter/src/main/kotlin/xyz/marcb/rxadapter/AdapterPart.kt | chetbox | 133,830,706 | true | {"Kotlin": 28405, "Java": 729} | package xyz.marcb.rxadapter
import android.support.v7.widget.RecyclerView
import rx.Observable
interface AdapterPart {
val snapshots: Observable<AdapterPartSnapshot>
val visible: Observable<Boolean>?
}
interface AdapterPartSnapshot {
val itemIds: List<String>
val itemCount: Int get() = itemIds.size... | 0 | Kotlin | 0 | 0 | bbd87077e3147e8e49e45d43ee881ebb72f70e42 | 1,607 | RxAdapter | MIT License |
core/src/main/java/com/github/korniloval/flameviewer/server/ServerOptionsProvider.kt | QiangCai | 254,810,326 | true | {"Kotlin": 177764, "JavaScript": 100160, "Java": 52019, "CSS": 21077, "HTML": 18358, "Shell": 235} | package com.github.korniloval.flameviewer.server
interface ServerOptionsProvider {
fun opt(): ServerOptions
}
class ServerOptionsProviderImpl(var options: ServerOptions) : ServerOptionsProvider {
override fun opt() = options
}
| 0 | null | 0 | 0 | 84a89a09aa787e9b9dce14c6a708542905e4895a | 237 | FlameViewer | MIT License |
src/main/kotlin/derivean/game/ability/abilities/AbstractAttackAbility.kt | marek-hanzal | 259,577,282 | false | null | package derivean.game.ability.abilities
import derivean.game.ability.AbstractAbility
import derivean.game.attribute.Attributes
abstract class AbstractAttackAbility(ability: String, attributes: Attributes) : AbstractAbility(ability, attributes)
| 112 | Kotlin | 0 | 1 | 7a485228438c5fb9a61b1862e8164f5e87361e4a | 246 | DeRivean | Apache License 2.0 |
kotlin-electron/src/jsMain/generated/electron/main/ConfigureHostResolverOptions.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Generated by Karakum - do not modify it manually!
package electron.main
typealias ConfigureHostResolverOptions = electron.core.ConfigureHostResolverOptions
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 161 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/coffeeandcookies/cursokotlin/dao/TasksDao.kt | benoffi7 | 282,959,287 | false | null | package com.coffeeandcookies.cursokotlin.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import com.coffeeandcookies.cursokotlin.data.TaskEntity
@Dao
interface TasksDao
{
@Query("Select * from tasks_entity")
fun getAllTasks(): MutableList<TaskEntity>
@Insert
fun ad... | 0 | Kotlin | 0 | 1 | 49fc260bbf692378bf5e02728015d916e3162488 | 460 | curso-kotlin | MIT License |
library/compose-utils/src/main/kotlin/ru/pixnews/library/compose/utils/LocaleUtils.kt | illarionov | 305,333,284 | false | null | /*
* 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 agreed to in wr... | 0 | Kotlin | 0 | 2 | d806ee06019389c78546d946f1c20d096afc7c6e | 1,153 | Pixnews | Apache License 2.0 |
src/main/kotlin/no/nav/tms/utbetalingsoversikt/api/ytelse/SokosUtbetalingConsumer.kt | navikt | 418,463,132 | false | {"Kotlin": 117036, "Dockerfile": 158} | package no.nav.tms.utbetalingsoversikt.api.ytelse
import io.ktor.client.*
import io.ktor.client.call.*
import io.ktor.client.request.*
import io.ktor.http.*
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import no.nav.tms.token.support.idporten.sidecar.user.IdportenUser
import no.nav.tms.t... | 1 | Kotlin | 0 | 0 | 7114b5baafc290768168989225944123da91a3af | 2,366 | tms-utbetalingsoversikt-api | MIT License |
app/src/main/java/com/shencoder/srs_rtc_android_client/helper/call/bean/ResInviteeInfoBean.kt | shenbengit | 444,852,543 | false | {"Kotlin": 275977} | package com.shencoder.srs_rtc_android_client.helper.call.bean
import android.os.Parcelable
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import kotlinx.parcelize.Parcelize
/**
*
* @author ShenBen
* @date 2022/1/27 10:13
* @email <EMAIL>
*/
@Parcelize
@JsonClass(generateAdapter = true)
... | 0 | Kotlin | 9 | 41 | c14bb9df72e542d3f4f187b47bab15bf68bb2886 | 540 | SrsRtcAndroidClient | MIT License |
src/test/kotlin/io/thelandscape/KrawlHistoryDaoTest.kt | brianmadden | 71,804,596 | false | null | package io.thelandscape
/**
* Created by <EMAIL> on 12/24/16.
*
* Copyright (c) <2016> <H, llc>
* 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 limi... | 6 | Kotlin | 17 | 128 | d58e901e427a52874c164111db6c4013e71ffec3 | 3,136 | krawler | MIT License |
browser-kotlin/src/jsMain/kotlin/web/vtt/Event.types.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6212172} | // Automatically generated - do not modify!
@file:Suppress(
"NOTHING_TO_INLINE",
)
package web.vtt
import web.events.Event
import web.events.EventType
inline fun Event.Companion.cueChange(): EventType<Event> =
EventType("cuechange")
inline fun Event.Companion.enter(): EventType<Event> =
EventType("ente... | 0 | Kotlin | 7 | 35 | e681a7be1ea3bcd97be311cedfb614c3a1b5bbc6 | 401 | types-kotlin | Apache License 2.0 |
solve/src/commonMain/kotlin/it/unibo/tuprolog/solve/stdlib/primitive/Retract.kt | zakski | 292,287,783 | true | {"Kotlin": 2055564, "ANTLR": 20096, "JavaScript": 13636, "Java": 13453} | package it.unibo.tuprolog.solve.stdlib.primitive
import it.unibo.tuprolog.core.*
import it.unibo.tuprolog.core.Var
import it.unibo.tuprolog.solve.ExecutionContext
import it.unibo.tuprolog.solve.primitive.Solve
import it.unibo.tuprolog.solve.primitive.UnaryPredicate
import it.unibo.tuprolog.unify.Unificator.Companion.m... | 0 | null | 0 | 0 | bbd63f9ba2091651f22eca7b0d3c7f1edee1e8ea | 1,040 | thunderjaw | Apache License 2.0 |
admin/src/jsMain/kotlin/ant/DatePicker.kt | DXueShengKa | 846,092,089 | false | {"Kotlin": 112737, "Swift": 621, "HTML": 362, "CSS": 221, "PLpgSQL": 202} | @file:JsModule("antd")
package ant
import react.FC
import react.Props
import kotlin.js.Date
external interface DatePickerProps : Props {
var onChange: (Date, String) -> Unit
}
external val DatePicker: FC<DatePickerProps>
| 0 | Kotlin | 0 | 0 | f642a53a91cecd323e3f4d0721a6138d64af8f3d | 231 | AllInKt | Apache License 2.0 |
android/app/src/main/kotlin/com/example/uome2/MainActivity.kt | VeryOpenSource | 471,476,533 | false | {"Dart": 13268, "HTML": 3922, "Swift": 404, "Kotlin": 122, "Objective-C": 38} | package com.example.uome2
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 6 | Dart | 0 | 0 | 4aced5ae3e45acacf2d49456f74623a0472a1d3b | 122 | uome2_client | Apache License 2.0 |
library/src/commonMain/kotlin/dev/afalabarce/kmm/jetpackcompose/LabelledSwitch.kt | afalabarce | 813,304,744 | false | {"Kotlin": 117698, "Ruby": 2250} | package dev.afalabarce.kmm.jetpackcompose
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.selection.toggleable
import androidx.compose.material3.*
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.u... | 0 | Kotlin | 0 | 0 | 8839e9134b03c924259dd06fa94fbc8671d76889 | 2,209 | kmm-jetpackcompose | Apache License 2.0 |
app/src/main/java/com/android/sample/bonial/response/ContentType.kt | alirezaeiii | 499,189,686 | false | {"Kotlin": 34609} | package com.android.sample.bonial.response
enum class ContentType {
brochure,
brochurePremium,
cashbackOffersV2,
rateUs,
superBannerCarousel,
storyCarousel,
blogCarousel,
referral
} | 0 | Kotlin | 0 | 0 | f14446621a719ea5baeb89de0fbd419599d506fd | 214 | Brochures-Cache | The Unlicense |
starrysky/src/main/java/com/lzx/starrysky/playback/manager/IPlaybackManager.kt | xiongsongyu2016 | 214,321,300 | false | null | package com.lzx.starrysky.playback.manager
import android.support.v4.media.MediaMetadataCompat
import android.support.v4.media.session.MediaSessionCompat
import android.support.v4.media.session.PlaybackStateCompat
import com.lzx.starrysky.notification.INotification
import com.lzx.starrysky.provider.MediaQueueProvider... | 0 | null | 0 | 1 | e83d70726ce5a8008669d4244ca705f858da9200 | 1,620 | StarrySky | MIT License |
src/com/kotlin/collection/ArrayList_Example.kt | hussainahmad | 116,094,733 | false | null | package com.kotlin.collection
/**
* Created by <NAME>
* at 1:09 PM on 1/3/2018
* <EMAIL> .
*/
fun main(args: Array<String>) {
// Array list are mutable while array are immutable we cannot change their size
val arrayList : ArrayList<String> = arrayListOf("My", "Name ", "Is") //arrayList are immutable , you... | 0 | Kotlin | 0 | 0 | d5c2e90a43e9143971c36bfcf9bc6902fbdaf182 | 1,448 | Introduction-To-Kotlin | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/js/intl/ResolvedPluralRulesOptions.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6914539} | // Automatically generated - do not modify!
package js.intl
import js.array.ReadonlyArray
import js.objects.JsPlainObject
@JsPlainObject
sealed external interface ResolvedPluralRulesOptions {
var locale: String
var pluralCategories: ReadonlyArray<LDMLPluralRule>
var type: PluralRuleType
var minimumIn... | 0 | Kotlin | 7 | 31 | c3de7c4098277a67bd40a9f0687579a6b9956cb2 | 487 | types-kotlin | Apache License 2.0 |
core/database/src/main/kotlin/com/example/hnotes/core/database/dao/SearchQueryDao.kt | hmzgtl16 | 851,784,002 | false | {"Kotlin": 596179} | package com.example.hnotes.core.database.dao
import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Query
import androidx.room.Upsert
import com.example.hnotes.core.database.model.SearchQueryEntity
import kotlinx.coroutines.flow.Flow
@Dao
interface SearchQueryDao {
@Query(value = "SELECT * FRO... | 0 | Kotlin | 0 | 1 | 17adddc10a17af2db22adc5093f78b29b1ef3636 | 695 | HNotes | MIT License |
server/src/test/kotlin/io/titandata/storage/zfs/ZfsStorageProviderTest.kt | CloudSurgeon | 212,463,880 | true | {"Kotlin": 586314, "Shell": 46347, "Java": 9931, "Dockerfile": 904} | /*
* Copyright The Titan Project Contributors.
*/
package io.titandata.storage.zfs
import io.kotlintest.TestCase
import io.kotlintest.TestCaseOrder
import io.kotlintest.TestResult
import io.kotlintest.shouldBe
import io.kotlintest.shouldThrow
import io.kotlintest.specs.StringSpec
import io.mockk.MockKAnnotations
im... | 0 | Kotlin | 0 | 1 | 819f7e9ea1bb0c675e0d04d61cf05302c488d74f | 5,302 | titan-server | Apache License 2.0 |
Animations/app/src/main/java/com/eblimonv/animations/ui/code/AnimationListener.kt | balam909 | 314,422,884 | false | null | package com.eblimonv.animations.ui.code
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.animation.AlphaAnimation
import android.view.animation.Animation
import android.view.animation.ScaleAnimat... | 0 | Kotlin | 0 | 0 | 9eb429e4ff4a86e2b1c4b7b3bc9cf152c9996fe9 | 2,483 | android | Creative Commons Zero v1.0 Universal |
src/main/kotlin/eZmaxApi/apis/ObjectEzsigntemplatepackagemembershipApi.kt | eZmaxinc | 271,950,932 | false | {"Kotlin": 6909939} | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package eZmaxApi.apis
import java.io.IOExceptio... | 0 | Kotlin | 0 | 0 | 961c97a9f13f3df7986ea7ba55052874183047ab | 14,926 | eZmax-SDK-kotlin | MIT License |
app/src/main/java/com/romandevyatov/bestfinance/data/entities/relations/TransferHistoryWithWallets.kt | RomanDevyatov | 587,557,441 | false | {"Kotlin": 569123} | package com.romandevyatov.bestfinance.data.entities.relations
import androidx.room.Embedded
import androidx.room.Relation
import com.romandevyatov.bestfinance.data.entities.TransferHistory
import com.romandevyatov.bestfinance.data.entities.Wallet
data class TransferHistoryWithWallets(
@Embedded
var transferH... | 0 | Kotlin | 0 | 1 | bacad4ca4c12fdef63d1e1e746439751cb891776 | 634 | BestFinance | Apache License 2.0 |
media_manager/src/main/kotlin/mediaManager/notification/mail/MailService.kt | amdigbari | 775,209,105 | false | {"Kotlin": 56822, "TypeScript": 32491, "SCSS": 2839, "JavaScript": 768} | package mediaManager.notification.mail
import org.springframework.boot.autoconfigure.mail.MailProperties
import org.springframework.mail.MailException
import org.springframework.mail.javamail.JavaMailSender
import org.springframework.mail.javamail.MimeMessageHelper
import org.springframework.stereotype.Service
@Servi... | 0 | Kotlin | 0 | 0 | 519f0cff74f39813bde32c6fe3016b382a6c7d9c | 859 | dates | MIT License |
app/src/main/java/com/example/gameshelf/MYAppCrud.kt | Zafion | 671,450,339 | false | {"Kotlin": 86106} | package com.example.gameshelf
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
//Anotación HiltAndroidApp
@HiltAndroidApp
class MYAppCrud: Application() //Hereda de Application | 0 | Kotlin | 0 | 1 | 8635b7c5c5257362a1814e6486ef131560c3e716 | 203 | GameShelf | Apache License 2.0 |
app/src/main/java/scimone/diafit/core/domain/use_cases/InsertCGMValueUseCase.kt | scimone | 821,835,868 | false | {"Kotlin": 48107} | package scimone.diafit.core.domain.use_cases
import scimone.diafit.core.domain.model.CGMEntity
import scimone.diafit.core.domain.repository.CGMRepository
class InsertCGMValueUseCase (
private val repository: CGMRepository
) {
suspend operator fun invoke(cgmValue: CGMEntity) {
repository.insertCGMValue... | 0 | Kotlin | 0 | 0 | aa00b35f79a1b3127cb45be88a77133e4c805a5c | 338 | diafit-android | MIT License |
app/src/main/java/com/example/gamingex/framework/impl/AndroidPixmap.kt | gazinaft | 264,455,500 | false | null | package com.example.gamingex.framework.impl
import android.graphics.Bitmap
import com.example.gamingex.framework.Graphics.Companion.PixmapFormat
import com.example.gamingex.framework.Pixmap
//a wrapper class responsible for asset representation
class AndroidPixmap(val bitmap: Bitmap, private val format: PixmapFormat)... | 0 | Kotlin | 1 | 4 | f47dc6f078f1afd5f5bbc4c481e4c14a95ebd1bf | 547 | Kursach | MIT License |
ast-transformations-core/src/main/kotlin/org/jetbrains/research/ml/ast/transformations/PyUtils.kt | JetBrains-Research | 301,993,261 | false | null | package org.jetbrains.research.ml.ast.transformations
import com.intellij.psi.PsiElement
import com.intellij.psi.impl.source.tree.LeafPsiElement
import com.jetbrains.python.PyTokenTypes.*
import com.jetbrains.python.psi.*
object PyUtils {
fun createPyIfElsePart(ifElsePart: PyIfPart): PyIfPart {
require(if... | 3 | Kotlin | 1 | 9 | 717706765a2da29087a0de768fc851698886dd65 | 3,482 | ast-transformations | MIT License |
bugsnag-android-performance/src/main/kotlin/com/bugsnag/android/performance/Logger.kt | bugsnag | 539,491,063 | false | {"Kotlin": 365034, "Gherkin": 45166, "Ruby": 5551, "Shell": 1095, "Makefile": 617, "Java": 489} | package com.bugsnag.android.performance
import com.bugsnag.android.performance.internal.DebugLogger
/**
* Logs internal messages from within the bugsnag notifier.
*/
interface Logger {
/**
* Logs a message at the error level.
*/
fun e(msg: String)
/**
* Logs a message at the error level... | 0 | Kotlin | 1 | 3 | dabd050e8665dcdba410b4ebe128421f335b51f8 | 1,616 | bugsnag-android-performance | MIT License |
qrgame-andorid-app/base/src/main/java/thisaislan/qrgame/base/extesion/ResourcesExtensions.kt | thisaislan | 374,269,058 | false | {"Kotlin": 36495, "JavaScript": 17409, "CSS": 9291, "HTML": 6374} | package thisaislan.qrgame.base.extesion
import android.content.Context
import android.content.res.Resources
import android.util.TypedValue
import androidx.annotation.AttrRes
import androidx.annotation.IntegerRes
import androidx.core.content.res.ResourcesCompat
fun Resources.getIntegerAsLong(@IntegerRes id: Int) =
... | 0 | Kotlin | 1 | 17 | e4ccabfe286dbcd183ab36fed7572d19d65d5a67 | 750 | qrgame | MIT License |
uast/uast-common/src/org/jetbrains/uast/analysis/UNeDfaValueEvaluator.kt | Git-Stateless | 369,944,945 | true | null | // Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.uast.analysis
import com.intellij.psi.PsiReference
import com.intellij.psi.search.GlobalSearchScope
import com.intellij.psi.search.searches.ReferencesSearch... | 0 | null | 0 | 0 | 40cbd984d76bd2dc693dca38d373e704e4aa7bc3 | 14,622 | intellij-community | Apache License 2.0 |
utils/math/src/main/kotlin/io/bluetape4k/math/commons/Approximate.kt | debop | 625,161,599 | false | {"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82} | package io.bluetape4k.math.commons
import io.bluetape4k.math.MathConsts.EPSILON
import io.bluetape4k.math.MathConsts.FLOAT_EPSILON
import java.math.BigDecimal
import kotlin.math.abs
import kotlin.math.absoluteValue
fun Double.approximateEqual(that: Double, epsilon: Double = EPSILON): Boolean =
abs(this - that) < ... | 0 | Kotlin | 0 | 1 | ce3da5b6bddadd29271303840d334b71db7766d2 | 1,690 | bluetape4k | MIT License |
src/main/kotlin/com/exactpro/th2/converter/controllers/ConverterController.kt | th2-net | 494,019,473 | false | null | /*
* Copyright 2020-2022 Exactpro (Exactpro Systems Limited)
*
* 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... | 0 | Kotlin | 1 | 2 | 9901fd7302dfe023973c5d7d42e8492a62516ce2 | 6,160 | th2-cr-converter | Apache License 2.0 |
backend/src/main/kotlin/dev/dres/run/filter/MaximumTotalPerTeamFilter.kt | dres-dev | 248,713,193 | false | null | package dev.dres.run.filter
import dev.dres.data.model.submissions.Submission
class MaximumTotalPerTeamFilter(private val max: Int = Int.MAX_VALUE) : SubmissionFilter {
constructor(parameters: Map<String, String>) : this(parameters.getOrDefault("limit", "${Int.MAX_VALUE}").toIntOrNull() ?: Int.MAX_VALUE)
ove... | 35 | Kotlin | 1 | 8 | 7dcb10ff97c5a8a1453e54004c91ab63d5c20a14 | 550 | DRES | MIT License |
app/src/main/java/com/example/recordlocation/MainActivity.kt | govilkargaurav | 290,391,247 | false | null | package com.example.recordlocation
import android.Manifest
import android.Manifest.permission.ACCESS_FINE_LOCATION
import android.app.PendingIntent
import android.content.*
import android.content.pm.PackageManager
import android.location.LocationManager
import android.os.Bundle
import android.os.IBinder
import android... | 0 | Kotlin | 0 | 0 | cb9bb375c470f7bbdfb2b85a291776d6df4d71e1 | 6,762 | recordLocation | Apache License 2.0 |
app/src/main/java/fr/xgouchet/packageexplorer/details/app/AppDetailsFragment.kt | DOSAM4 | 171,172,952 | true | {"Kotlin": 126057, "Java": 220} | package fr.xgouchet.packageexplorer.details.app
import android.content.Intent
import android.content.pm.ResolveInfo
import android.os.Bundle
import android.support.design.widget.Snackbar
import android.support.v4.content.FileProvider
import android.support.v4.view.ViewCompat
import android.view.Menu
import android.vie... | 0 | Kotlin | 0 | 0 | b5e68eaccc178c10f0bd2ee8d8aad8b0fdaa0ee7 | 3,786 | Stanley | MIT License |
src/main/kotlin/ai/klink/yugaklink/App.kt | klinkai | 203,439,566 | false | null | package ai.klink.yugaklink
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.autoconfigure.domain.EntityScan
import org.springframework.context.annotation.Configuration
import org.springframework.data.cassandra.reposito... | 2 | Kotlin | 0 | 1 | f28768253a849eff7a0f39f6603dca44cb87c3ff | 1,137 | yugaklink | Apache License 2.0 |
core/remote/src/main/kotlin/com/theophiluskibet/remote/di/RemoteModule.kt | kibettheophilus | 811,054,900 | false | {"Kotlin": 66991} | /**
* MIT License
*
* Copyright (c) 2024 <NAME>
*
* 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, modify, ... | 3 | Kotlin | 0 | 2 | ae20b26772d6c543fdf03c6bdfab33fe880970d8 | 2,893 | koin-playground | MIT License |
core/ui/src/main/java/com/minux/monitoring/core/ui/FlightSheetGrid.kt | MINUX-organization | 756,381,294 | false | {"Kotlin": 234602} | package com.minux.monitoring.core.ui
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.grid.GridCells
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.TextStyle
... | 0 | Kotlin | 0 | 0 | ea0ed05ff1b07f2d970f772b2af1c9179872ccf1 | 1,264 | MNX.Mobile.Monitoring | MIT License |
app/demo-transaction/src/androidTest/java/com/gmail/jiangyang5157/demo_transaction/HiltTestRunner.kt | jiangyang5157 | 553,993,370 | false | null | package com.gmail.jiangyang5157.demo_transaction
import android.app.Application
import android.content.Context
import android.os.Bundle
import androidx.test.runner.AndroidJUnitRunner
import dagger.hilt.android.testing.HiltTestApplication
class HiltTestRunner : AndroidJUnitRunner() {
interface TestRunnerDelegate ... | 0 | Kotlin | 0 | 0 | e514a86bbe149504508cc2ee23bf21c0984d3f48 | 1,008 | kotlin-multiplatform-mobile | MIT License |
app/src/androidTest/java/org/wikipedia/test/SettingUpTheDefaultFeedTests.kt | alinamksmva | 634,996,512 | false | null | package org.wikipedia.test
import androidx.test.ext.junit.rules.ActivityScenarioRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import org.wikipedia.main.MainActivity
import org.wikipedia.screens.CustomizeTheFeedPage
import org.wikip... | 0 | Kotlin | 0 | 0 | fad94a747e120254ac78bb638a6618dd7ed66320 | 1,450 | Wikipedia_Android_TestAutomation | Apache License 2.0 |
Kotlin/Code/Kotlin-Github/app/src/main/java/com/bennyhuo/github/view/common/BaseDetailActivity.kt | hiloWang | 203,300,702 | false | {"Java": 6943796, "C": 1648441, "C++": 1559595, "HTML": 600176, "Kotlin": 599497, "JavaScript": 456120, "Groovy": 288531, "CSS": 100975, "Dart": 95015, "Python": 93418, "Makefile": 29544, "TSQL": 22344, "CMake": 19243, "Objective-C": 2259, "Shell": 1356, "AspectJ": 477, "Batchfile": 203} | package com.bennyhuo.github.view.common
import android.app.Activity
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.view.GestureDetector
import android.view.MenuItem
import android.view.MotionEvent
import com.bennyhuo.github.R
import com.bennyhuo.github.view.config.Themer
import... | 0 | Java | 15 | 4 | 64a637a86f734e4e80975f4aa93ab47e8d7e8b64 | 3,192 | notes | Apache License 2.0 |
app/src/main/java/com/dreamsoftware/tvnexa/domain/model/SimpleChannelBO.kt | sergio11 | 328,373,511 | false | {"Kotlin": 586066} | package com.dreamsoftware.tvnexa.domain.model
data class SimpleChannelBO(
val channelId: String,
val name: String? = null,
val city: String? = null,
val isNsfw: Boolean? = null,
val website: String? = null,
val logo: String? = null,
val streamUrl: String? = null,
val isBlocked: Boolean ... | 0 | Kotlin | 0 | 1 | a1f6b19097e905e1730f67058f58fdf8e37633e0 | 330 | tvnexa_androidtv | Apache License 2.0 |
src/test/resources/test-compile-data/jvm/kotlin-web-site/arrays/23031df00534726bea3f25bea3d46032.1.kt | JetBrains | 219,478,945 | false | {"Kotlin": 489501, "Dockerfile": 2244, "Shell": 290} | fun main() {
//sampleStart
// Creates an array with values [1, 2, 3]
val simpleArray = arrayOf(1, 2, 3)
println(simpleArray.joinToString())
// 1, 2, 3
//sampleEnd
} | 28 | Kotlin | 73 | 248 | ac53213b767d07f49fa48c5d99fedeb499b9b934 | 180 | kotlin-compiler-server | Apache License 2.0 |
core/src/main/java/com/maxmakarov/core/ui/list/DelegateAdapter.kt | maxmakarovdev | 666,362,590 | false | null | package com.maxmakarov.core.ui.list
import android.view.ViewGroup
import androidx.paging.PagingDataAdapter
import androidx.recyclerview.widget.RecyclerView
class DelegateAdapter(
private val delegates: List<AdapterDelegate<AdapterItem, ViewHolder<*, *>>>
) : PagingDataAdapter<AdapterItem, RecyclerView.ViewHolder>... | 0 | Kotlin | 0 | 1 | 5a888548a8e53ac80b641d53d729240463f72041 | 1,632 | android-unsplash-gallery-sample | Apache License 2.0 |
app/src/main/java/com/diego/mvvmsample/data/source/local/MoviesLocalDataSource.kt | JmanuelPar | 608,774,740 | false | null | package com.diego.mvvmsample.data.source.local
import androidx.paging.PagingData
import com.diego.mvvmsample.data.model.MovieDetail
import com.diego.mvvmsample.data.source.MoviesDataSource
import com.diego.mvvmsample.db.MovieDatabase
import com.diego.mvvmsample.db.MovieDetailDao
import com.diego.mvvmsample.network.Api... | 0 | Kotlin | 0 | 0 | 03a21111f34e8aa68dc083bb7213470893d16a3d | 958 | MVVMMovies | MIT License |
AndroidMVP/feature/src/main/java/com/example/feature/domain/UserRepositoryImpl.kt | leonardodlana | 143,772,368 | false | null | package com.example.feature.domain
import com.example.common.ResultWrapper
import com.example.feature.domain.model.UserDetails
import io.reactivex.Completable
import io.reactivex.Observable
import io.reactivex.ObservableSource
class UserRepositoryImpl(
private val localDataSource: UserLocalDataSource,
private... | 0 | Kotlin | 0 | 0 | dd920d5d7f77ebb146e88bb1fc2e7fe94b8519f2 | 1,240 | android-mvp-example | Apache License 2.0 |
ultron-common/src/commonMain/kotlin/com/atiurin/ultron/listeners/LogLifecycleListener.kt | open-tool | 312,407,423 | false | {"Kotlin": 861507, "Java": 13304, "HTML": 3222, "Swift": 594, "Batchfile": 236, "Shell": 236, "CSS": 102} | package com.atiurin.ultron.listeners
import com.atiurin.ultron.core.common.Operation
import com.atiurin.ultron.core.common.OperationResult
import com.atiurin.ultron.log.UltronLog
class LogLifecycleListener : UltronLifecycleListener() {
override fun before(operation: Operation) {
UltronLog.info("Start exec... | 8 | Kotlin | 10 | 99 | 7d19d4e0a653acc87b823b7b0c806b226faafb12 | 814 | ultron | Apache License 2.0 |
app/src/main/java/com/example/cprogrammingclub/global/AppModule.kt | ShubhadeepKarmakar | 647,951,516 | false | null | package com.example.cprogrammingclub.global
import android.content.Context
import com.example.usertodatabase.utils.Constants
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.qualifiers.ApplicationContext
import dagger.hilt.components.SingletonComponent
import io.appwr... | 0 | Kotlin | 0 | 0 | a8cd912e93968afdbc6b6c4680c7f28db5a8dd47 | 874 | cprogrammingclub | Apache License 2.0 |
processor/src/test/kotlin/br/com/zup/beagle/android/compiler/beaglesdk/StoreHandlerTest.kt | ZupIT | 391,144,851 | false | null | /*
* Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* 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... | 0 | Kotlin | 2 | 9 | 812a330777edd79a123495e9f678dc8f25a019f7 | 7,580 | beagle-android | Apache License 2.0 |
androidApp/src/main/java/com/ghostly/android/login/LoginViewModel.kt | roadrage312 | 822,698,287 | false | {"Kotlin": 159064, "Ruby": 2354, "Swift": 342} | package com.ghostly.android.login
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.ghostly.android.utils.isValidEmail
import com.ghostly.android.utils.isValidGhostDomain
import com.ghostly.datastore.DataStoreConstants
import com.ghostly.datastore.DataStoreRepository
import com.gh... | 1 | Kotlin | 1 | 4 | 8ed396f4525d1c6b146e503d1f301c55f74cf9b4 | 5,238 | ghostly | MIT License |
balloon/src/main/java/com/skydoves/balloon/ImageViewExtension.kt | SubhrajyotiSen | 204,344,101 | true | {"Kotlin": 64814} | /*
* Copyright (C) 2019 skydoves
*
* 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 ... | 1 | Kotlin | 0 | 0 | 893a9cac49ac486159d8a21585280c6168986eff | 1,174 | Balloon | Apache License 2.0 |
appcues/src/main/java/com/appcues/trait/StepDecoratingPadding.kt | appcues | 413,524,565 | false | null | package com.appcues.trait
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.runtime.derivedStateOf
import androidx.compose.runtime.mutableStateOf
import androidx.compose.ui.unit.Density
class StepDecoratingPadding(private val density: Density) {
private val topPaddingPx = mutableSta... | 5 | Kotlin | 2 | 8 | 1d09fb83554fa7f12190e267064d8948ee7f35bb | 1,325 | appcues-android-sdk | MIT License |
packages/react-native/ReactAndroid/src/test/java/com/facebook/react/modules/model/ReactModuleInfoTest.kt | react-native-tvos | 177,633,560 | false | {"C++": 4398815, "Java": 2649623, "JavaScript": 2551815, "Objective-C++": 1803949, "Kotlin": 1628327, "Objective-C": 1421207, "Ruby": 453872, "CMake": 109113, "TypeScript": 85912, "Shell": 58251, "C": 57980, "Assembly": 14920, "HTML": 1473, "Swift": 739} | /*
* 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.react.modules.model
import com.facebook.react.module.model.ReactModuleInfo
import com.facebook.react.turbom... | 7 | C++ | 147 | 942 | 692bc66a98c8928c950bece9a22d04c13f0c579d | 1,512 | react-native-tvos | MIT License |
app/src/main/java/org/booleanull/pushalerts/KoinApp.kt | booleanull | 271,825,376 | false | null | package org.booleanull.pushalerts
import androidx.room.Room
import org.booleanull.core.facade.SettingsFacade
import org.booleanull.core.facade.ThemeFacade
import org.booleanull.core.permission.PermissionCompositeController
import org.booleanull.core.repository.AlarmRepository
import org.booleanull.core.repository.Appl... | 0 | Kotlin | 0 | 0 | d12b716993a67c8dfa61ac88c54dab9736a1a423 | 2,001 | PushAlerts | Apache License 2.0 |
app/src/test/kotlin/compiler/intermediate/UniqueIdentifierFactoryTest.kt | brzeczyk-compiler | 545,707,939 | false | {"Kotlin": 1167879, "C": 4004, "Shell": 3242, "Vim Script": 2238} | package compiler.intermediate
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith
class UniqueIdentifierFactoryTest {
private val pref = UniqueIdentifierFactory.FUNCTION_PREFIX
private val sep = UniqueIdentifierFactory.LEVEL_SEPARATOR
@Test
fun `test basic`() {
... | 7 | Kotlin | 0 | 2 | 5917f4f9d0c13c2c87d02246da8ef8394499d33c | 2,825 | brzeczyk | MIT License |
app/src/main/java/ch/silvannellen/githubbrowser/view/repository/di/RepositoryComponent.kt | snellen | 253,709,850 | false | null | package ch.silvannellen.githubbrowser.view.repository.di
import ch.silvannellen.githubbrowser.di.GithubBrowserApplicationComponent
import ch.silvannellen.githubbrowser.di.annotation.PerFragment
import ch.silvannellen.githubbrowser.view.repository.RepositoryFragment
import ch.silvannellen.githubbrowser.viewmodel.repo.R... | 0 | Kotlin | 0 | 1 | e8f72e6aa50c35191960d1c5db18c88903404420 | 702 | umvvm-demo | Apache License 2.0 |
app/src/main/java/com/github/rooneyandshadows/lightbulb/easyrecyclerviewdemo/demo/views/SelectableRecyclerView.kt | RooneyAndShadows | 424,519,760 | false | null | package com.github.rooneyandshadows.lightbulb.easyrecyclerviewdemo.demo.views
import android.content.Context
import android.util.AttributeSet
import com.github.rooneyandshadows.lightbulb.easyrecyclerview.EasyRecyclerView
import com.github.rooneyandshadows.lightbulb.easyrecyclerviewdemo.demo.views.adapters.SelectableAd... | 0 | Kotlin | 2 | 5 | 72e65f7d03fbd9bcef929e5ce59be930b786db1f | 818 | lightbulb-easyrecyclerview | Apache License 2.0 |
app/src/main/java/com/github/rooneyandshadows/lightbulb/easyrecyclerviewdemo/demo/views/SelectableRecyclerView.kt | RooneyAndShadows | 424,519,760 | false | null | package com.github.rooneyandshadows.lightbulb.easyrecyclerviewdemo.demo.views
import android.content.Context
import android.util.AttributeSet
import com.github.rooneyandshadows.lightbulb.easyrecyclerview.EasyRecyclerView
import com.github.rooneyandshadows.lightbulb.easyrecyclerviewdemo.demo.views.adapters.SelectableAd... | 0 | Kotlin | 2 | 5 | 72e65f7d03fbd9bcef929e5ce59be930b786db1f | 818 | lightbulb-easyrecyclerview | Apache License 2.0 |
src/min-cost-to-connect-all-points/index.kt | masx200 | 787,837,300 | false | {"Kotlin": 74470, "Batchfile": 92} | package com.github.masx200.leetcode_test_kotlin.min_cost_to_connect_all_points
class Solution {
fun minCostConnectPoints(points: Array<IntArray>): Int {
val p0 = points[0]
val ds = points.mapIndexed { i, p -> Pair(i, ManhattanDistance(p, p0)) }.toMap(mutableMapOf())
ds.remove(0)
var... | 0 | Kotlin | 0 | 1 | ceb82e062e6dbf50104e8421d3f7a820c06e1acf | 1,010 | leetcode-test-kotlin | Mulan Permissive Software License, Version 2 |
services/csm.cloud.project.project/src/main/kotlin/com/bosch/pt/iot/smartsite/project/task/shared/dto/SaveTaskDto.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2023
*
* ************************************************************************
*/
package com.bosch.pt.iot.smartsite.project.task.shared.dto
import com.bosch.pt.iot.smartsite.pr... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 843 | bosch-pt-refinemysite-backend | Apache License 2.0 |
android-gradle-plugin-aspectj/src/main/kotlin/com/archinamon/api/BuildTimeListener.kt | thunderheadone | 152,609,582 | true | {"Kotlin": 68338} | /*
* Copyright 2018 the original author or authors.
* Copyright 2018 Thunderhead
*
* 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/licens... | 0 | Kotlin | 0 | 5 | 929ea8b656dcf2b5b235f0f7a246f9deee09c9b5 | 1,887 | one-android-gradle-aspectj | Apache License 2.0 |
core/src/com/mygdx/game/GameJam9Game.kt | LostMekka | 559,158,632 | false | {"Kotlin": 72206, "Java": 606} | package com.mygdx.game
import com.badlogic.gdx.Screen
import com.badlogic.gdx.assets.AssetManager
import com.mygdx.game.assets.AssetDescriptors
import com.mygdx.game.screens.GameScreen
import com.mygdx.game.screens.SplashScreen
import com.mygdx.game.ui.initUi
import ktx.app.KtxGame
val assetManager by lazy { AssetMa... | 0 | Kotlin | 0 | 3 | 00d8a22620d9991e8eca7fc6bbcd681b6d37092e | 726 | 3m5.gamejam-9 | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.