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
app/src/main/java/com/breezeyellowbird/features/login/api/productlistapi/ProductListRepo.kt
DebashisINT
859,710,978
false
{"Kotlin": 15925690, "Java": 1028108}
package com.breezefieldsalesmalaxmi.features.login.api.productlistapi import com.breezefieldsalesmalaxmi.app.Pref import com.breezefieldsalesmalaxmi.app.domain.ProductListEntity import com.breezefieldsalesmalaxmi.app.utils.AppUtils import com.breezefieldsalesmalaxmi.base.BaseResponse import com.breezefieldsalesmalaxmi...
0
Kotlin
0
0
e244b9fd9ad06267854f6e26b248674e8eba8b31
2,974
YellowBird
Apache License 2.0
src/main/kotlin/com/example/bootkotlin/service/impl/QuestionServiceImpl.kt
licxi
126,296,770
false
{"JavaScript": 1232633, "Kotlin": 87830, "HTML": 66857, "CSS": 6644}
package com.example.bootkotlin.service.impl import com.example.bootkotlin.entity.master.AnswerOnly import com.example.bootkotlin.entity.master.Question import com.example.bootkotlin.repository.master.QuestionRepo import com.example.bootkotlin.service.QuestionService import org.springframework.beans.factory.annotation....
0
JavaScript
0
0
1413ad600dd09eb1c4bc503e58ee53cf5f453ac1
2,034
spring-boot-kotlin
Apache License 2.0
base-feature/src/main/java/eu/krzdabrowski/currencyadder/basefeature/presentation/CurrencyAdderModule.kt
krzdabrowski
591,082,023
false
{"Kotlin": 176180}
package eu.krzdabrowski.currencyadder.basefeature.presentation import dagger.Binds import dagger.Module import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import dagger.multibindings.IntoSet import eu.krzdabrowski.currencyadder.core.navigation.NavigationFactory import javax.inject.Singleton ...
0
Kotlin
1
1
e7ec91605b19c8092c603beb3c14d46d800bd2d9
553
android-currency-adder
MIT License
src/pw/gerard/gsmelter/tree/leaf/MessageLeaf.kt
GerardSmit
102,296,996
false
{"Kotlin": 20969}
package pw.gerard.gsmelter.tree.leaf import com.runemate.game.api.script.framework.tree.LeafTask class MessageLeaf(val message: String): LeafTask() { override fun execute() { println(message) } }
0
Kotlin
1
1
fafa7b7e796790e98e4ce1abdec1f38dd818a7af
213
gSmelter
MIT License
app/src/main/java/com/dkgoody/dtimer/ui/main/MainActivity.kt
dkgoody
327,734,068
false
null
package com.dkgoody.dtimer.ui.main import android.os.Build import android.os.Bundle import android.util.Log import android.view.Menu import android.view.MenuItem import android.widget.Toast import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity import com.dkgoody.dtimer.DTimerViewModel imp...
0
Kotlin
0
0
7e926f83003bd66813ea4b679d46049899e80588
2,808
dtimer
MIT License
data/src/main/java/com/cheesecake/data/repository/mappers/TeamStatisticsMapper.kt
CheeseCake-Team
645,082,831
false
{"Kotlin": 443813}
import com.cheesecake.data.remote.models.TeamStatisticsDTO import com.cheesecake.domain.entity.ScoreStats import com.cheesecake.domain.entity.TeamStatisticsEntity @JvmName("teamStatisticsDTOToTeamStatisticsEntity") fun TeamStatisticsDTO.toEntity(): TeamStatisticsEntity = TeamStatisticsEntity( form = this.f...
0
Kotlin
2
4
cb032f91ae1fb7f35fc5242de6f6eb076ce51330
1,800
kickoff
Apache License 2.0
app/src/main/java/com/to/kotlinmessenger/util/ImageLoader.kt
CodeHunterDev
466,328,192
true
{"Kotlin": 86216}
package com.to.kotlinmessenger.util import android.graphics.drawable.Drawable import android.net.Uri import android.widget.ImageView import com.bumptech.glide.Glide import com.bumptech.glide.load.DataSource import com.bumptech.glide.load.engine.DiskCacheStrategy import com.bumptech.glide.load.engine.GlideException imp...
0
null
0
0
8b144501fc42eba6d1faed5ca648e9e592118003
3,428
kotlin-messenger
MIT License
app/src/test/java/ru/claus42/anothertodolistapp/domain/usecases/GetTodoItemListUseCaseTest.kt
klauz42
679,216,403
false
{"Kotlin": 257915}
package ru.claus42.anothertodolistapp.domain.usecases import kotlinx.coroutines.flow.first import kotlinx.coroutines.flow.flowOf import kotlinx.coroutines.test.runTest import org.junit.Assert.assertTrue import org.junit.Test import org.mockito.kotlin.doReturn import org.mockito.kotlin.mock import ru.claus42.anothertod...
0
Kotlin
0
0
5b1a0521dcff700285ba47d23c42266c99b27ca0
1,024
Another-Todo-List-App
MIT License
lib/src/main/java/com/kirkbushman/zammad/utils/Extensions.kt
KirkBushman
200,888,940
false
null
package com.kirkbushman.zammad.utils import com.kirkbushman.zammad.models.base.Creatable import com.kirkbushman.zammad.models.base.Updatable import com.kirkbushman.zammad.utils.Utils.convertStringToDate import java.util.* fun Creatable.createdAtDate(): Date? { return convertStringToDate(createdAt) } fun Updatabl...
2
Kotlin
5
34
92e27d4e920083da95dfaadae3963a2f211c392b
391
zammad-android
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/digitalprisonreportinglib/controller/model/Count.kt
ministryofjustice
697,333,274
false
{"Kotlin": 295133}
package uk.gov.justice.digital.hmpps.digitalprisonreportinglib.controller.model import io.swagger.v3.oas.annotations.media.Schema data class Count( @Schema(example = "501", description = "The total number of records") val count: Long, )
7
Kotlin
0
3
4f3f710ea7c03b4f82937402e54e03bed5b8bb1d
243
hmpps-digital-prison-reporting-lib
MIT License
app/src/main/java/com/example/swiftbargain/ui/cart/view_model/CartViewModel.kt
ahmedfikry24
814,676,783
false
{"Kotlin": 481653}
package com.example.swiftbargain.ui.cart.view_model import androidx.lifecycle.SavedStateHandle import androidx.lifecycle.viewModelScope import androidx.navigation.toRoute import com.example.swiftbargain.data.local.room.entity.CartProductEntity import com.example.swiftbargain.data.models.CouponCodeDto import com.exampl...
0
Kotlin
0
0
bcf6af56ecf14d638b44a78908a0f0c7b41c69df
4,655
SwiftBargain
MIT License
app/src/main/java/com/example/cecd/Models/IndividualECDItem.kt
TillCM
617,893,612
false
null
package com.example.cecd.Models data class IndividualECDItem( val _links: Links, val assigned_user: List<AssignedUser>, val avatar_urls: AvatarUrls, val description: String, val id: Int, val link: String, val meta: List<Any>, val name: String, val slug: String, val url: String )
0
Kotlin
0
0
13d8a9181236323c79adec237be01703bbb58523
320
cecd
MIT License
anko/library/static/commons/src/main/java/dialogs/AndroidSelectors.kt
Kotlin
24,186,761
false
null
/* * Copyright 2016 JetBrains s.r.o. * * 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...
243
null
1295
15,967
37893764c0f20208c842a466f0fd0159c1e247e2
1,600
anko
Apache License 2.0
app/src/main/java/com/haoge/sample/easyandroid/activities/mvp/login/LoginFragment.kt
easyandroidgroup
132,259,597
false
{"Kotlin": 217162}
package com.haoge.sample.easyandroid.activities.mvp.login import android.os.Bundle import butterknife.OnClick import com.haoge.sample.easyandroid.R import com.haoge.sample.easyandroid.activities.mvp.base.BaseMVPFragment /** * @author haoge on 2018/9/4 */ class LoginFragment: BaseMVPFragment(), LoginView { val ...
8
Kotlin
197
1,170
a041668c2b1ba8638aa0bb716074e70660bcaf3d
914
EasyAndroid
Apache License 2.0
core/src/main/kotlin/de/maibornwolff/domainchoreograph/core/api/ResolveDomainDefinition.kt
MaibornWolff
139,985,029
false
{"Kotlin": 168533, "TypeScript": 132987, "JavaScript": 5400, "HTML": 1174, "Dockerfile": 390}
package de.maibornwolff.domainchoreograph.core.api inline fun <reified T : Any> resolveDomainDefinition(vararg params: Any): T { return de.maibornwolff.domainchoreograph.core.processing.resolveDomainDefinition(T::class, params.asList()) } inline fun <reified T : Any> resolveDomainDefinitionWithOptions(options: Do...
16
Kotlin
0
1
863441f0df267dcbf9874c92771e104a8f60fe37
504
domainchoreograph
Apache License 2.0
client-core/src/main/kotlin/org/sinou/pydia/client/ui/login/nav/NavigationState.kt
bsinou
434,248,316
false
null
package org.sinou.pydia.client.ui.login.nav import java.util.UUID /** * State that can be used to trigger navigation. */ sealed class NavigationState { object Idle : NavigationState() /** * @param id is used so that multiple instances of the same route will trigger multiple navigation calls. */ ...
0
null
0
1
51a128c49a24eedef1baf2d4f295f14aa799b5d3
772
pydia
Apache License 2.0
kontrollsamtale/application/src/main/kotlin/no/nav/su/se/bakover/kontrollsamtale/application/annuller/AnnullerKontrollsamtaleVedOpphørServiceImpl.kt
navikt
227,366,088
false
{"Kotlin": 9935179, "Shell": 4388, "TSQL": 1233, "Dockerfile": 1209}
package no.nav.su.se.bakover.kontrollsamtale.application.annuller import no.nav.su.se.bakover.common.persistence.SessionContext import no.nav.su.se.bakover.domain.revurdering.opphør.AnnullerKontrollsamtaleVedOpphørService import no.nav.su.se.bakover.kontrollsamtale.application.KontrollsamtaleServiceImpl import no.nav....
0
Kotlin
1
1
f187a366e1b4ec73bf18f4ebc6a68109494f1c1b
2,536
su-se-bakover
MIT License
app/src/main/java/com/lcyer/swit/di/ViewModelModule.kt
lcyer
449,058,308
false
null
package com.lcyer.swit.di import com.lcyer.swit.ui.bookmark.BookMarkViewModel import com.lcyer.swit.ui.user.UserViewModel import org.koin.androidx.viewmodel.dsl.viewModel import org.koin.dsl.module val viewModelModule = module { viewModel { UserViewModel( get(), get(), ...
0
Kotlin
0
0
f1c1844110b5459962b1b3dcbbf9534a20a619f1
441
sample-swit
Apache License 2.0
common-ui/src/main/java/com/skydoves/common_ui/viewholders/ReviewListViewHolder.kt
skydoves
225,837,633
false
null
/* * Designed and developed by 2019 skydoves (Jaewoong Eum) * * 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 appl...
4
Kotlin
52
353
f9ef645bc86a9c13ab01624a7e6d21269c128b31
1,356
GoldMovies
Apache License 2.0
string_processor/src/test/kotlin/org/arnoid/string/processor/blocks/LtTest.kt
arnoid
217,005,361
false
null
package org.arnoid.string.processor.blocks import com.nhaarman.mockitokotlin2.doThrow import com.nhaarman.mockitokotlin2.mock import junit.framework.TestCase.assertEquals import org.arnoid.string.processor.StringProcessor import org.arnoid.string.processor.StringProvider import org.junit.Before import org.junit.Test i...
0
Kotlin
0
6
c3db64a4e90a687a286c59b0736ca280df5e6592
1,044
string.processor
MIT License
nj2k/testData/newJ2k/issues/kt-19296.kt
walltz556
211,568,334
true
null
open class A { interface I { fun f() } } class B : A() class Test { var z: A.I? = null }
0
null
0
1
89d49479abab76ea1d4ffe5e45826f3b076c6f68
109
kotlin
Apache License 2.0
server/src/main/kotlin/com/kamelia/hedera/rest/file/Routes.kt
Black-Kamelia
492,280,011
false
null
package com.kamelia.hedera.rest.file import com.kamelia.hedera.core.Errors import com.kamelia.hedera.core.FileNotFoundException import com.kamelia.hedera.core.response.Response import com.kamelia.hedera.core.response.respond import com.kamelia.hedera.core.response.respondNoSuccess import com.kamelia.hedera.core.respon...
29
null
2
26
4d03d547047b0c348eb68c76f84bbd39f776914e
6,414
Hedera
Apache License 2.0
sykepenger-model/src/test/kotlin/no/nav/helse/utbetalingstidslinje/ArbeidsgiverUtbetalingerTest.kt
navikt
193,907,367
false
null
package no.nav.helse.utbetalingstidslinje import no.nav.helse.* import no.nav.helse.hendelser.* import no.nav.helse.inspectors.UtbetalingstidslinjeInspektør import no.nav.helse.inspectors.inspektør import no.nav.helse.person.* import no.nav.helse.person.Sykepengegrunnlag.Begrensning.ER_IKKE_6G_BEGRENSET import no.nav....
0
null
2
4
a3ba622f138449986fc9fd44e467104a61b95577
16,720
helse-spleis
MIT License
src/main/kotlin/id/walt/model/DidKey.kt
walt-id
392,607,264
false
null
package id.walt.model class DidKey( context: List<String>, id: String, verificationMethod: List<VerificationMethod>? = null, authentication: List<String>? = null, assertionMethod: List<String>? = null, capabilityDelegation: List<String>? = null, capabilityInvocation: List<String>? = null, keyAgreement:...
6
Kotlin
7
34
fb96ecb2e02409791fa7aae4126b0094bdcd7c1e
1,178
waltid-ssikit
Apache License 2.0
app/src/main/java/com/horizon/lightkvdemo/ui/MainActivity.kt
msdgwzhy6
138,707,623
true
{"Java": 89286, "Kotlin": 2731}
package com.horizon.lightkvdemo.ui import android.os.Bundle import android.text.TextUtils import android.util.Log import com.horizon.lightkvdemo.R import com.horizon.lightkvdemo.base.BaseActivity import com.horizon.lightkvdemo.config.AppData import kotlinx.android.synthetic.main.activity_main.* class MainActivity : B...
0
Java
0
1
bd5ba059917d091e99985c0a190d085ec96d249e
1,494
LightKV
Apache License 2.0
app/src/main/java/com/bereguliak/arscheduler/ui/activity/main/MainNavigator.kt
YuriyBereguliak
177,011,797
false
null
package com.bereguliak.arscheduler.ui.activity.main import android.support.annotation.UiThread import com.bereguliak.arscheduler.model.CalendarLocation @UiThread interface MainNavigator { fun showLoadingScreen() fun showConnectionScreen() fun showCalendarDetailsScreen(calendar: CalendarLocation) fun s...
0
Kotlin
0
2
562dca9b6595baab35f395c5dac386c4720cfce8
435
ArScheduler
MIT License
src/commonMain/kotlin/klox/interpreter/Environment.kt
andrewrlee
423,130,411
false
{"Kotlin": 49848}
package klox.interpreter import klox.interpreter.Interpreter.RuntimeError class Environment(val enclosing: Environment? = null) { private val values = mutableMapOf<String, Any?>() fun define(name: String, value: Any?) = values.put(name, value) operator fun get(name: Token): Any? { if (values.con...
0
Kotlin
0
0
2a6d2fdbf31c7d7215a8acd79345ff7079e3b6d4
1,345
klox
MIT License
app/src/main/java/com/vultisig/wallet/ui/screens/keysign/KeysignPeerDiscovery.kt
vultisig
789,965,982
false
{"Kotlin": 1481084, "Ruby": 1713}
package com.vultisig.wallet.ui.screens.keysign import androidx.compose.foundation.background import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.co...
44
Kotlin
2
6
9a24026e09bafb8667f90c8ec7e3e806697e8a08
5,339
vultisig-android
Apache License 2.0
lib/src/test/java/com/what3words/androidwrapper/datasource/text/api/What3WordsV3ServiceTest.kt
what3words
201,899,599
false
{"Gradle": 6, "YAML": 2, "Markdown": 107, "Java Properties": 1, "Shell": 1, "Text": 2, "Ignore List": 2, "Batchfile": 1, "INI": 2, "Proguard": 2, "Kotlin": 99, "JSON": 9, "XML": 1}
package com.what3words.androidwrapper.datasource.text.api import com.squareup.moshi.Moshi import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory import com.what3words.androidwrapper.common.extensions.W3WDomainToApiStringExtensions.toQueryMap import com.what3words.androidwrapper.datasource.text.api.di.Mapper...
1
null
2
1
95ab9c58149bff97acb4ae2aa7900489e245b133
33,204
w3w-android-wrapper
MIT License
lib/src/test/java/com/what3words/androidwrapper/datasource/text/api/What3WordsV3ServiceTest.kt
what3words
201,899,599
false
{"Gradle": 6, "YAML": 2, "Markdown": 107, "Java Properties": 1, "Shell": 1, "Text": 2, "Ignore List": 2, "Batchfile": 1, "INI": 2, "Proguard": 2, "Kotlin": 99, "JSON": 9, "XML": 1}
package com.what3words.androidwrapper.datasource.text.api import com.squareup.moshi.Moshi import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory import com.what3words.androidwrapper.common.extensions.W3WDomainToApiStringExtensions.toQueryMap import com.what3words.androidwrapper.datasource.text.api.di.Mapper...
1
null
2
1
95ab9c58149bff97acb4ae2aa7900489e245b133
33,204
w3w-android-wrapper
MIT License
note/src/main/java/com/example/note_presentation/component/NoteCard.kt
meghdadya
765,069,419
false
{"Kotlin": 90789}
package com.example.note_presentation.component import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.combinedClickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import an...
0
Kotlin
0
0
b4cc200c7c67b9b2452fa8bf883e8176a48d795d
3,252
inscribeApp
Apache License 2.0
app/src/main/java/com/example/meditationui/Feature.kt
esipiderman
527,011,578
false
{"Kotlin": 18749}
package com.example.meditationui import androidx.annotation.DrawableRes import androidx.compose.ui.graphics.Color data class Feature( val title :String, @DrawableRes val iconId:Int, val lightColor:Color, val mediumColor:Color, val darkColor:Color, )
0
Kotlin
0
0
05a0c3059014ba0fb0a6b39d2ec3b336af553037
274
meditation_ui
MIT License
Tutorial1-1Basics/src/main/java/com/smarttoolfactory/tutorial1_1basics/chapter4_state/Tutorial4_2_4Stability.kt
SmartToolFactory
326,400,374
false
null
package com.smarttoolfactory.tutorial1_1basics.chapter4_state import androidx.compose.foundation.background import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import an...
5
null
312
3,006
efea98b63e63a85b80f7dc1bd4ca6d769e35905d
6,664
Jetpack-Compose-Tutorials
Apache License 2.0
app/src/main/java/com/starry/greenstash/widget/configuration/WidgetConfigActivity.kt
Pool-Of-Tears
500,278,038
false
null
/** * MIT License * * Copyright (c) [2022 - Present] <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, co...
9
null
39
477
7b2b3f460378d8ca7b896d724257db13b4789fc5
15,547
GreenStash
MIT License
plumber-android/src/main/java/leakcanary/ViewLocationHolderLeakFix.kt
square
34,824,499
false
null
package leakcanary import android.annotation.SuppressLint import android.app.Activity import android.app.Application import android.os.Build.VERSION import android.os.Bundle import android.view.View import android.view.ViewGroup import android.widget.FrameLayout import leakcanary.AndroidLeakFixes.Companion.checkMainTh...
88
null
3838
27,036
5e69400174e40ce2efac2e493f414783723a8067
2,226
leakcanary
Apache License 2.0
compiler/testData/codegen/box/jvmOverloads/defaultsNotAtEnd.kt
JakeWharton
99,388,807
false
null
// TARGET_BACKEND: JVM // WITH_STDLIB class C { @kotlin.jvm.JvmOverloads public fun foo(o: String = "O", i1: Int, k: String = "K", i2: Int): String { return o + k } } fun box(): String { val c = C() val m = c.javaClass.getMethod("foo", Int::class.java, Int::class.java) return m.invoke(c, ...
181
null
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
338
kotlin
Apache License 2.0
app/src/test/kotlin/compiler/lowlevel/storage/GlobalVariableStorageTest.kt
brzeczyk-compiler
545,707,939
false
{"Kotlin": 1167879, "C": 4004, "Shell": 3242, "Vim Script": 2238}
package compiler.lowlevel.storage import compiler.ast.Expression import compiler.ast.Program import compiler.ast.Type import compiler.ast.Variable import java.io.PrintWriter import java.io.StringWriter import kotlin.test.Test import kotlin.test.assertEquals class GlobalVariableStorageTest { private fun List<Pair...
7
Kotlin
0
2
5917f4f9d0c13c2c87d02246da8ef8394499d33c
1,703
brzeczyk
MIT License
app/src/main/java/io/homeassistant/companion/android/settings/shortcuts/ManageShortcutsViewModel.kt
home-assistant
179,008,173
false
null
package io.homeassistant.companion.android.settings.shortcuts import android.app.Application import android.content.Intent import android.content.pm.ShortcutInfo import android.content.pm.ShortcutManager import android.graphics.Bitmap import android.graphics.PorterDuff import android.graphics.drawable.Drawable import ...
9
null
498
1,666
b7c6be457e627c006bc26c8676170491d382e9f7
8,693
android
Apache License 2.0
src/main/kotlin/test2/weatherForecast/demo.kt
samorojy
340,891,499
false
null
package test2.weatherForecast import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json import java.io.File fun main() { val apiKey = System.getenv("OPENWEATHER_API") val cities = Json.decodeFromString<List<String>>( File( "src/main/resources/test2.weatherForec...
1
Kotlin
0
0
86f12486bb17a5873d8140d457d470801746a1d6
495
spbu_kotlin_course
Apache License 2.0
feature/users/domain/src/commonMain/kotlin/org/timemates/app/users/usecases/GetUsersUseCase.kt
timemates
575,537,317
false
{"Kotlin": 329102}
package io.timemates.app.users.usecases import io.timemates.app.users.repositories.UsersRepository import io.timemates.sdk.common.exceptions.NotFoundException import io.timemates.sdk.users.profile.types.User import io.timemates.sdk.users.profile.types.value.UserId import kotlinx.coroutines.flow.Flow import kotlinx.cor...
21
Kotlin
0
28
bec7508d38e87149005c57a98f10a0eb4dbd4891
1,882
app
MIT License
flank-scripts/src/main/kotlin/flank/scripts/cli/firebase/UpdateApiCommand.kt
Flank
84,221,974
false
null
package flank.scripts.cli.firebase import com.github.ajalt.clikt.core.CliktCommand import flank.scripts.ops.firebase.updateApiJson object UpdateApiCommand : CliktCommand( name = "update_api", help = "Update api schema" ) { override fun run() { updateApiJson() } }
56
Kotlin
119
643
ee8b46391715807aab555a6e93953177a8429c0f
290
flank
Apache License 2.0
editorkit/src/main/kotlin/com/blacksquircle/ui/editorkit/plugin/shortcuts/Shortcut.kt
massivemadness
608,535,719
false
null
/* * Copyright 2021 Squircle IDE contributors. * * 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 la...
45
null
5
5
ff4ca02822671ec25f7da374283b253716ec4509
780
EditorKit
Apache License 2.0
core/src/main/java/be/appwise/core/data/base/TripleTriggerDefaultValue.kt
wisemen-digital
349,150,482
false
{"Kotlin": 255860}
package be.appwise.core.data.base import androidx.lifecycle.LiveData import androidx.lifecycle.MediatorLiveData /** * {@link MediatorLiveData} subclass which may observe 3 other {@code LiveData} objects and react on * {@code OnChanged} events from them. And even manages default values to set when no value has been ...
26
Kotlin
5
5
ee5cf97bab926e4262c9ae2227b6a83bcc48305d
2,322
AndroidCore
MIT License
app/src/main/java/com/vincent/recipe_mvvm_jetpack/presentation/theme/Theme.kt
VincentGaoHJ
398,203,841
false
null
package com.vincent.recipe_mvvm_jetpack.presentation.theme import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material.MaterialTheme import androidx.compose.material.ScaffoldState import androidx.comp...
0
Kotlin
0
0
a5ccee3774b5077bf715bf798ee52c8e7271d633
2,693
Recipe-MVVM-Jetpack
MIT License
app/src/main/java/ch/admin/foitt/pilotwallet/feature/qrscan/presentation/QrScanPermissionScreen.kt
e-id-admin
775,912,525
false
{"Kotlin": 1521284}
package ch.admin.foitt.pilotwallet.feature.qrscan.presentation import androidx.activity.compose.rememberLauncherForActivityResult import androidx.activity.result.contract.ActivityResultContracts import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.Si...
1
Kotlin
1
4
6572b418ec5abc5d94b18510ffa87a1e433a5c82
2,949
eidch-pilot-android-wallet
MIT License
app/src/main/java/com/android/dars/base/TestDialog.kt
denebchorny
218,098,334
false
null
package com.android.dars.base class TestDialog : BaseDialog(){ }
1
null
1
1
df293178a691056937b9243b12893bf4ee47d0c1
68
baseandroid
MIT License
feature-main/src/main/java/com/hoc/flowmvi/ui/main/MainVM.kt
Kotlin-Android-Open-Source
343,622,644
false
null
package com.hoc.flowmvi.ui.main import androidx.lifecycle.viewModelScope import arrow.core.flatMap import com.hoc.flowmvi.domain.usecase.GetUsersUseCase import com.hoc.flowmvi.domain.usecase.RefreshGetUsersUseCase import com.hoc.flowmvi.domain.usecase.RemoveUserUseCase import com.hoc.flowmvi.mvi_base.AbstractMviViewMo...
4
Kotlin
54
95
09d9ef5d45972c2b1f22459ffe07358013fca742
5,037
Jetpack-Compose-MVI-Coroutines-Flow
MIT License
app/src/main/java/com/example/composedemo/ui/activity/viewmode_string_demo/UiText.kt
keyur-n
565,866,258
false
null
package com.example.composedemo.ui.activity.viewmode_string_demo import android.content.Context import androidx.annotation.StringRes import androidx.compose.runtime.Composable import androidx.compose.ui.res.stringResource sealed interface UiText { data class DynamicString(val value: String) : UiText class Str...
0
Kotlin
0
0
d3e749e8ffb1daf9e2378736ae5411208b4e9458
804
compose-demo
Apache License 2.0
linea/src/commonMain/kotlin/compose/icons/lineaicons/music/NoteMultiple.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.lineaicons.music import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap import androidx.compose.ui.gr...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
2,913
compose-icons
MIT License
snapshot/src/androidMain/kotlin/com/quickbird/snapshot/Diffing+bitmap.kt
QuickBirdEng
517,579,154
false
null
package com.quickbird.snapshot import android.graphics.Bitmap import android.graphics.Color // TODO: Wrap Color fun Diffing.Companion.bitmap(colorDiffing: Diffing<Int>) = Diffing<Bitmap> { first, second -> if (first.asByteArray().contentEquals(second.asByteArray())) null else first.copy(first.config, true).ap...
2
Kotlin
2
50
a0e6db75d373b7622333f0c141db9ef7c507d290
818
kotlin-snapshot-testing
MIT License
src/main/kotlin/org/kamiblue/client/util/threads/BackgroundScope.kt
NotMonika
509,752,527
false
{"Kotlin": 1389924, "Java": 110277, "Shell": 15180, "GLSL": 3626}
package org.kamiblue.client.util.threads import kotlinx.coroutines.* import org.kamiblue.client.KamiMod @Suppress("EXPERIMENTAL_API_USAGE") internal object BackgroundScope : CoroutineScope by CoroutineScope(newFixedThreadPoolContext(2, "KAMI Blue Background")) { private val jobs = LinkedHashMap<BackgroundJob, Jo...
0
Kotlin
0
0
88dc5a7e96ba358898b03681bfdf760e93f94812
1,325
__AntiZhangZongZe__
Do What The F*ck You Want To Public License
app/src/main/java/com/jcl/exam/emapta/data/api/ApiInterface.kt
jaylumba
204,916,908
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 47, "XML": 30, "Java": 2, "C++": 1, "CMake": 1}
package com.jcl.exam.emapta.data.api import com.jcl.exam.emapta.data.api.response.ConvertResponse import io.reactivex.Single import retrofit2.http.GET import retrofit2.http.Path /** * Created by jaylumba on 05/16/2018. */ interface ApiInterface { @GET("currency/commercial/exchange/{fromAmount}-{fromCurrency}/{...
1
null
1
1
3b3ae7ae32b22b650e9c4c2302f987bc27876393
540
currency-converter-exam
Apache License 2.0
photofilterssdk/src/main/java/com/zomato/photofilters/imageprocessors/subfilters/SaturationSubFilter.kt
PaulHost
207,349,609
false
{"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "YAML": 1, "Markdown": 1, "INI": 1, "Proguard": 2, "XML": 10, "Kotlin": 13, "Java": 7, "Makefile": 2, "C++": 1}
package com.zomato.photofilters.imageprocessors.subfilters import android.graphics.Bitmap import com.zomato.photofilters.imageprocessors.ImageProcessor import com.zomato.photofilters.imageprocessors.SubFilter class SaturationSubFilter(val level: Float, override var tag: Any) : SubFilter { // The Level value is ...
1
null
1
1
3a17296a90df11bbc36cbaddf84a1794301673a2
497
AndroidPhotoFilters
Apache License 2.0
SIKCronJob/src/main/java/com/sik/cronjob/receivers/CronJobCallback.kt
SilverIceKey
854,500,004
false
{"Kotlin": 10006, "AIDL": 604}
package com.sik.cronjob.receivers import com.sik.cronjob.ICronJobCallback import com.sik.cronjob.managers.CronJobScanner /** * 主进程的 AIDL 回调实现,接收到服务端通知时执行相应的任务。 */ class CronJobCallback : ICronJobCallback.Stub() { override fun onJobTriggered(jobId: Int) { // 获取已注册的方法并执行 val method = CronJobScanne...
0
Kotlin
0
0
c88c5b55db35b0572bccd9e00b0f7c87c3e23b93
614
SIKCronJob
MIT License
invirt-core/src/test/kotlin/invirt/http4k/JsonTest.kt
resoluteworks
762,239,437
false
{"Kotlin": 263953, "Makefile": 673, "CSS": 8}
package invirt.http4k import io.kotest.core.spec.style.StringSpec import io.kotest.matchers.shouldBe import org.http4k.core.Method import org.http4k.core.Request import org.http4k.core.Response import org.http4k.core.Status import org.http4k.core.with import org.http4k.routing.bind import org.http4k.routing.routes cl...
0
Kotlin
0
2
d553601cb49e583353734c4b87301e528e06be90
892
invirt
Apache License 2.0
app/src/main/java/com/example/pocitiselfie/FaceContourGraphic.kt
guilhermeestevao
654,260,804
false
null
package com.example.pocitiselfie import android.graphics.* import android.graphics.drawable.shapes.RoundRectShape import android.util.Log import androidx.annotation.ColorInt import com.google.mlkit.vision.face.Face import com.google.mlkit.vision.face.FaceContour class FaceContourGraphic( private val overlay: Gra...
0
Kotlin
0
0
58a091eebecf48b219b89423e6c3040c6de3207f
5,002
mlkit-poc-face-detect
Apache License 2.0
pact-jvm-matchers/src/main/kotlin/au/com/dius/pact/matchers/FormPostBodyMatcher.kt
vixplows
172,439,140
false
{"Gradle": 24, "YAML": 4, "Markdown": 25, "INI": 5, "Shell": 1, "Text": 10, "Ignore List": 1, "Batchfile": 1, "Groovy": 226, "Clojure": 5, "Kotlin": 105, "Scala": 72, "Java": 166, "JSON": 630, "XML": 2, "Dockerfile": 1}
package au.com.dius.pact.matchers import au.com.dius.pact.model.HttpPart import au.com.dius.pact.model.isEmpty import au.com.dius.pact.model.isMissing import au.com.dius.pact.model.isNotPresent import au.com.dius.pact.model.isPresent import au.com.dius.pact.model.matchingrules.MatchingRules import au.com.dius.pact.mod...
1
null
1
1
d8c38aec70e56541f9f699c05bcab1ba49a95dae
3,513
pact-jvm
Apache License 2.0
1.0/app/src/main/java/ru/oepak22/simplemusicplayer/screen/playlists/PlayListsActivity.kt
termy1989
560,741,642
false
{"Kotlin": 441269}
package ru.oepak22.simplemusicplayer.screen.playlists import android.annotation.SuppressLint import android.os.Bundle import android.view.View import android.widget.EditText import android.widget.Toast import androidx.appcompat.app.AlertDialog import androidx.appcompat.app.AppCompatActivity import androidx.recyclervie...
0
Kotlin
0
1
f9d261b067a1fbbd4fc1fa3c9493aa21f421c032
6,982
SimpleMusicPlayer
Apache License 2.0
src/Day02.kt
daividssilverio
572,944,347
false
{"Kotlin": 10575}
import java.lang.Exception fun main() { /* scoring win = 6 lose = 0 draw = 3 initial strategy (wrong) A, X = Rock (1) B, Y = Paper (2) C, Z = Scissors (3) actual strategy X = lose Y = draw Z = win */ val entries = readInput("Day02_test") val wronglyCa...
0
Kotlin
0
0
141236c67fe03692785e0f3ab90248064a1693da
1,624
advent-of-code-kotlin-2022
Apache License 2.0
sdui/src/commonMain/kotlin/dev/helw/playground/sdui/serializer/TypographyTokenSerializer.kt
ahmedre
680,260,539
false
{"Kotlin": 114371, "Swift": 29613, "HTML": 237}
/** * Copyright (c) 2023 <NAME> and <NAME> * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package dev.helw.playground.sdui.serializer import dev.helw.playground.sdui.design.core.TypographyToken import kotlinx.serialization.KSerializ...
0
Kotlin
0
3
d9e02bcf1251834fe34518f7109b21a5ae7960f5
1,129
sdui
MIT License
feature/listaproduto/src/androidTest/java/com/z1/comparaprecos/feature/listaproduto/presentation/screen/ResumoComparacaoListaScreenTest.kt
zero1code
748,829,698
false
{"Kotlin": 441569}
package com.z1.comparaprecos.feature.listaproduto.presentation.screen import androidx.activity.ComponentActivity import androidx.compose.ui.test.assertIsDisplayed import androidx.compose.ui.test.junit4.createAndroidComposeRule import androidx.compose.ui.test.onNodeWithText import androidx.compose.ui.test.onRoot import...
0
Kotlin
0
0
2ada1d386ea6e42b37a6c86b145d3c35883d3856
5,644
Compara-precos
Apache License 2.0
packages/Manager/src/main/kotlin/nz/govt/eop/freshwater_management_units/services/FreshwaterManagementUnitService.kt
Greater-Wellington-Regional-Council
528,176,417
false
null
package nz.govt.eop.freshwater_management_units.services import mu.KotlinLogging import nz.govt.eop.freshwater_management_units.models.FreshwaterManagementUnit import nz.govt.eop.freshwater_management_units.repositories.FreshwaterManagementUnitRepository import org.springframework.beans.factory.annotation.Autowired im...
14
null
3
5
292ce1c7eb3039957f0774e018832625c7a336d5
1,162
Environmental-Outcomes-Platform
MIT License
Todo/app/src/main/java/com/vad/todovad/presenter/TaskContract.kt
liemvo
198,412,014
false
null
package com.vad.todovad.presenter interface TaskContract { interface Presenter { fun updateTitle(title: String) fun updateDescription(description: String) fun saveTask() } interface View { fun showTaskSaved() fun showTaskError() } }
0
Kotlin
0
0
eb1be4df0a7ce76d78c11139537293d2dcf37df2
294
android_samples
MIT License
src/all/jellyfin/src/eu/kanade/tachiyomi/animeextension/all/jellyfin/Jellyfin.kt
tom2411
406,731,462
true
{"Kotlin": 2528349, "Java": 9693}
package eu.kanade.tachiyomi.animeextension.all.jellyfin import android.app.Application import android.content.Context import android.content.SharedPreferences import android.text.InputType import android.widget.Toast import androidx.preference.EditTextPreference import androidx.preference.ListPreference import android...
0
Kotlin
0
0
a327ce14950e5e76359185e643a58301df48be34
26,154
aniyomi-extensions
Apache License 2.0
ExoPlayerAdapter/src/exo-analytics-upto-2_16/java/com/mux/stats/sdk/muxstats/SessionDataBindings.kt
muxinc
141,313,277
false
null
package com.mux.stats.sdk.muxstats import com.google.android.exoplayer2.ExoPlayer import com.google.android.exoplayer2.SimpleExoPlayer import com.google.android.exoplayer2.analytics.AnalyticsListener import com.google.android.exoplayer2.source.hls.HlsManifest import com.mux.stats.sdk.core.model.SessionTag import com.m...
5
Java
18
21
dd4f951dee3b63ea19899370e6cc7c835a5dd080
4,184
mux-stats-sdk-exoplayer
Apache License 2.0
src/test/kotlin/eZmaxApi/models/CustomEzsignformfielderrortestResponseTest.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.models import io.kotlintest.sh...
0
Kotlin
0
0
961c97a9f13f3df7986ea7ba55052874183047ab
1,255
eZmax-SDK-kotlin
MIT License
Softver/api/src/main/kotlin/com/aimelodije/modeli/zahtjevi/MelodijaAzuriranjeZahtjev.kt
ttomasicc
605,710,239
false
null
package com.aimelodije.modeli.zahtjevi import jakarta.validation.constraints.NotBlank import jakarta.validation.constraints.Size data class MelodijaAzuriranjeZahtjev( val umjetnikId: Long = 0, val albumId: Long = 0, val melodijaId: Long = 0, @field:NotBlank(message = "Naziv ne može biti prazan") ...
0
Kotlin
0
0
865dcdcdc3e171eb8935916f6a2612509cecf586
428
ai-melodije
MIT License
app/src/main/java/eu/zimbelstern/tournant/utils/Converter.kt
Zimbelstern
433,953,023
false
null
package eu.zimbelstern.tournant.utils import androidx.databinding.InverseMethod import eu.zimbelstern.tournant.toStringForCooks import java.text.NumberFormat @Suppress("unused") object Converter { @InverseMethod("hourToTime") @JvmStatic fun timeToHour(@Suppress("UNUSED_PARAMETER") oldValue: Int?, value: Int?): St...
1
null
4
33
7bc1bc9b9bcfa0adcc4f962a8b21d2afaf604be2
1,884
Tournant
Apache License 2.0
verik-compiler/src/main/kotlin/io/verik/compiler/evaluate/ClusterUnrollTransformerStage.kt
frwang96
269,980,078
false
null
/* * SPDX-License-Identifier: Apache-2.0 */ package io.verik.compiler.evaluate import io.verik.compiler.ast.common.Declaration import io.verik.compiler.ast.element.declaration.common.EDeclaration import io.verik.compiler.ast.element.declaration.common.EFile import io.verik.compiler.ast.element.declaration.common.EP...
0
Kotlin
1
33
ee22969235460fd144294bcbcbab0338c638eb92
12,404
verik
Apache License 2.0
app/src/main/java/io/github/lee0701/lboard/dictionary/FlatteningWritableTrieDictionary.kt
Lee0701
177,382,784
false
null
package io.github.lee0701.lboard.dictionary import java.io.DataOutputStream import java.io.File import java.io.FileOutputStream class FlatteningWritableTrieDictionary( val file: File ): EditableTrieDictionary(), WritableDictionary { private fun serialize(node: Node): List<Node> { return node.chil...
5
Kotlin
1
1
2befd2f2b1941dd6e02336a468e4f824c6617974
1,538
LBoard
Apache License 2.0
lib/src/main/java/com/kotlin/inaction/reference/getting_started/03_coding_conventions/FunctionNames.kt
jhwsx
167,022,805
false
null
package com.kotlin.inaction.reference.getting_started.`03_coding_conventions` /** * @author wangzhichao * @date 2019/09/17 */ val USER_FIELD_NAME = "UserName" const val MAX_COUNT = 8 abstract class Foo { abstract fun foo() } class FooImpl : Foo() { override fun foo() { println("foo()") } } fun...
1
Kotlin
1
1
1e28292ee86cf8ce42b90c78b1c17cb143801a73
417
KotlinInAction
MIT License
plugin/src/main/kotlin/net/bladehunt/rpp/util/ArchiveUtil.kt
bladehuntmc
863,527,238
false
{"Kotlin": 19843, "Java": 9618}
package net.bladehunt.rpp.util import kotlinx.serialization.json.JsonObject import kotlinx.serialization.json.decodeFromStream import kotlinx.serialization.json.encodeToStream import net.bladehunt.rpp.Json import net.bladehunt.rpp.RppExtension import net.bladehunt.rpp.codegen.CodegenConfig import net.bladehunt.rpp.cod...
0
Kotlin
0
1
d7111ea407ab4de0e6eaa99f9359c731891a4de7
4,483
rpp
MIT License
modules/dsl/sources/GraphQLMarker.kt
fluidsonic
226,815,725
false
null
package io.fluidsonic.graphql @DslMarker @Retention(AnnotationRetention.BINARY) @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.TYPEALIAS) public annotation class GraphQLMarker
1
Kotlin
2
4
3cd09bdd9f54cb6cddec2d6e020b55a022e66f05
234
fluid-graphql
Apache License 2.0
core/src/commonMain/kotlin/pro/respawn/flowmvi/MVIExtDeprecated.kt
respawn-app
477,143,989
false
null
@file:Suppress("DEPRECATION") package pro.respawn.flowmvi import kotlinx.coroutines.CancellationException import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.CoroutineStart import kotlinx.coroutines.Job import kotlinx.coroutines.launch import kotlinx.coroutines.supervisorScope import pro.respawn.flowmv...
0
null
2
75
e6ae55520957b8516a166946a05ef6bc461145bd
10,265
FlowMVI
Apache License 2.0
app/src/main/java/com/moemaair/lictionary/feature_dictionary/presentation/WordInfoItem.kt
moemaair
588,958,264
false
null
package com.moemaair.lictionary.feature_dictionary.presentation import android.annotation.SuppressLint import android.media.AudioManager import android.media.MediaPlayer import android.media.browse.MediaBrowser.MediaItem import androidx.compose.foundation.layout.* import androidx.compose.material.Icon import androidx....
0
Kotlin
3
6
098d2a8e0d2dd41248be2134d69e366262a6ebbe
3,680
Lictionary
MIT License
app/src/main/java/nerd/tuxmobil/fahrplan/congress/alarms/AlarmServices.kt
grote
114,628,676
true
{"Gradle": 6, "Markdown": 6, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 2, "YAML": 1, "Kotlin": 75, "XML": 125, "Java": 73, "INI": 1, "Proguard": 2, "Gradle Kotlin DSL": 1, "SVG": 9}
@file:JvmName("AlarmServices") package nerd.tuxmobil.fahrplan.congress.alarms import android.app.AlarmManager import android.app.PendingIntent import android.content.Context import android.content.Intent import nerd.tuxmobil.fahrplan.congress.extensions.getAlarmManager import nerd.tuxmobil.fahrplan.congress.models.Sc...
0
Java
1
3
761d339bf804698760db17ba00990e164f90cff2
1,963
EventFahrplan
Apache License 2.0
src/main/kotlin/command/method/SendCommand.kt
LittleMengBot
378,202,426
false
null
package command.method import ConfigLoader.configCache import LANG import com.github.kotlintelegrambot.Bot import com.github.kotlintelegrambot.entities.ChatId import com.github.kotlintelegrambot.entities.Update import dsl.isChatMember import dsl.replyToText fun sendCommand(bot: Bot, update: Update) { if (update.m...
0
Kotlin
0
3
d458555a45c16edfbc5250344dba8f0858a0dc8c
831
MengProject
Apache License 2.0
reporter/src/main/kotlin/LicenseTextProvider.kt
oss-review-toolkit
107,540,288
false
{"Kotlin": 5110480, "JavaScript": 333852, "Shell": 127273, "HTML": 98970, "Python": 51191, "Haskell": 30438, "FreeMarker": 27693, "CSS": 27239, "Dockerfile": 19565, "Swift": 12129, "Ruby": 10007, "Roff": 7688, "Vim Snippet": 6802, "Scala": 6656, "Starlark": 3270, "Go": 1909, "C++": 882, "Java": 559, "Rust": 280, "Emacs...
/* * Copyright (C) 2017 The ORT Project Authors (see <https://github.com/oss-review-toolkit/ort/blob/main/NOTICE>) * * 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.a...
304
Kotlin
309
1,590
ed4bccf37bab0620cc47dbfb6bfea8542164725a
1,741
ort
Apache License 2.0
src/main/kotlin/no/nav/eessi/pensjon/klienter/norg2/Norg2Klient.kt
navikt
178,813,650
false
null
package no.nav.eessi.pensjon.klienter.norg2 import no.nav.eessi.pensjon.metrics.MetricsHelper import no.nav.eessi.pensjon.utils.mapJsonToAny import no.nav.eessi.pensjon.utils.toJson import org.slf4j.LoggerFactory import org.springframework.beans.factory.annotation.Autowired import org.springframework.http.HttpEntity i...
2
null
3
6
ecffc4ad04aa9da50a0a7de401e5b9eb5ea34f95
2,624
eessi-pensjon-journalforing
MIT License
mobile/src/main/java/com/siliconlabs/bledemo/features/configure/advertiser/enums/AdvertisingMode.kt
SiliconLabs
85,345,875
false
null
package com.siliconlabs.bledemo.Advertiser.Enums enum class AdvertisingMode { CONNECTABLE_SCANNABLE, CONNECTABLE_NON_SCANNABLE, NON_CONNECTABLE_SCANNABLE, NON_CONNECTABLE_NON_SCANNABLE; fun isConnectable(): Boolean { return this == CONNECTABLE_SCANNABLE || this == CONNECTABLE_NON_SCANNABLE...
20
Kotlin
70
96
501d1a7554593db61325f5ac3aa0865eb616d00b
450
EFRConnect-android
Apache License 2.0
app/src/main/kotlin/net/primal/android/core/compose/feed/note/NoteContent.kt
PrimalHQ
639,579,258
false
{"Kotlin": 2548226}
package net.primal.android.core.compose.feed.note import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.layout.Column import androidx.compose.material3.Surface import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.compose.ui.Modifi...
67
Kotlin
12
98
438072af7f67762c71c5dceffa0c83dedd8e2e85
13,968
primal-android-app
MIT License
app/src/main/java/com/dreamsoftware/tvnexa/domain/usecase/impl/HasMultiplesProfilesUseCase.kt
sergio11
328,373,511
false
{"Kotlin": 586066}
package com.dreamsoftware.tvnexa.domain.usecase.impl import com.dreamsoftware.tvnexa.domain.repository.IUserRepository import com.dreamsoftware.tvnexa.domain.usecase.core.BaseUseCase class HasMultiplesProfilesUseCase( private val userRepository: IUserRepository ): BaseUseCase<Boolean>() { override suspend fun...
0
Kotlin
0
1
30fb84765276b1afcadc27b0ce8ffc15155decc4
392
tvnexa_androidtv
Apache License 2.0
featureweather/src/main/java/weather/feature/weather/WeatherPresenter.kt
weupz
154,643,741
false
null
package weather.feature.weather import io.reactivex.BackpressureStrategy import io.reactivex.Flowable import io.reactivex.Observable import io.reactivex.Single import io.reactivex.functions.BiFunction import io.reactivex.functions.Function import io.reactivex.subjects.PublishSubject import org.threeten.bp.Duration imp...
3
Kotlin
1
0
560272ef568c6f83d3b377a67b8c7ef4ee203673
3,613
weather
MIT License
payment-ws/src/main/kotlin/com/mobilabsolutions/payment/model/PaymentInfoModel.kt
mobilabsolutions
159,817,607
false
null
/* * Copyright © MobiLab Solutions GmbH */ package com.mobilabsolutions.payment.model import io.swagger.annotations.ApiModel import io.swagger.annotations.ApiModelProperty import javax.validation.Valid /** * @author <a href="mailto:<EMAIL>"><NAME></a> */ @ApiModel(value = "Payment info model") data class Payment...
1
Kotlin
1
3
7592abdabb7c05a71366634e5b09f4f08a3f0eff
522
stash-sdk-backend
Apache License 2.0
plugins/kotlin/j2k/new/tests/testData/newJ2k/enum/enumValuesWithExternalKotlinLibrary.kt
ingokegel
72,937,917
true
null
import library.kotlin.test.LibraryEnumKt internal class EnumTest { //TODO: Remove after Enum.entries is marked as non-experimental in Kotlin 1.9 @ExperimentalStdlibApi fun libraryTest() { val x = LibraryEnumKt.entries[1] val y = LibraryEnumKt.entries.toTypedArray() } }
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
303
intellij-community
Apache License 2.0
core/ktx/src/androidTest/java/androidx/core/graphics/BitmapTest.kt
adamfit
148,326,589
false
null
/* * Copyright (C) 2017 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 ap...
0
null
657
2
9e6a7849696fce73bb81005a81b78410bfebc6d6
2,178
platform_frameworks_support
Apache License 2.0
sample/src/main/kotlin/pl/szczodrzynski/fslogin/RealmInfo.kt
szkolny-eu
254,408,975
false
null
package pl.szczodrzynski.fslogin import pl.szczodrzynski.fslogin.realm.RealmData data class RealmInfo( val id: Int, val name: String, val description: String, val icon: String, val screenshot: String, val formFields: List<String>, val realmData: RealmData )
1
Kotlin
0
6
6f40b58cd97a276ef1646e2b93be29009b7dbd1e
288
FSLogin
MIT License
sdk/src/main/java/com/exponea/sdk/view/NotificationsPermissionActivity.kt
exponea
134,699,893
false
null
package com.exponea.sdk.view import android.Manifest import android.app.Activity import android.content.Intent import android.content.pm.PackageManager import android.os.Build import android.os.Bundle import androidx.core.app.ActivityCompat import androidx.core.content.ContextCompat import com.exponea.sdk.receiver.Not...
1
null
16
17
f58e80c19dc32581105c398fc08d12d41fd28ae2
2,414
exponea-android-sdk
MIT License
source-code/starter-project/app/src/main/java/com/droidcon/easyinvoice/ui/home/nav/TaxNav.kt
droidcon-academy
731,477,787
false
{"Kotlin": 413294}
/* * Copyright (c) 2022. Droidcon * * 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...
0
Kotlin
1
0
df32960315a4a501893a478daf4f61ae4149cfb3
1,746
android-room-database-course-materials
Apache License 2.0
tools/shell/src/main/kotlin/net/corda/tools/shell/InteractiveShell.kt
corda
70,137,417
false
null
package net.corda.tools.shell import com.fasterxml.jackson.core.JsonFactory import com.fasterxml.jackson.databind.JsonMappingException import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.databind.SerializationFeature import com.fasterxml.jackson.databind.module.SimpleModule import com.faste...
61
null
2
3,777
efaf1549a9a4575c104f6849be494eb1f0186df0
35,560
corda
Apache License 2.0
modules/toast/src/androidMain/kotlin/splitties/toast/UnreliableToastApi.kt
LouisCAD
65,558,914
false
{"Gradle Kotlin DSL": 70, "Shell": 3, "Text": 4, "Markdown": 56, "Java Properties": 2, "Ignore List": 67, "Batchfile": 2, "Git Attributes": 1, "EditorConfig": 1, "YAML": 6, "XML": 72, "Kotlin": 299, "INI": 1, "Proguard": 5, "Java": 1, "CSS": 1, "AsciiDoc": 1}
/* * Copyright 2020 <NAME>. Use of this source code is governed by the Apache 2.0 license. */ package splitties.toast @RequiresOptIn( message = "Toasts are never shown if notifications are disabled for your app, " + "and you cannot know in any way if a toast has actually been displayed or not. " + ...
53
Kotlin
160
2,476
1ed56ba2779f31dbf909509c955fce7b9768e208
523
Splitties
Apache License 2.0
app/src/main/java/com/thkox/homeai/presentation/navigation/WelcomeNavHost.kt
thkox
782,208,937
false
{"Kotlin": 226354}
package com.thkox.homeai.presentation.navigation import android.app.Activity import android.content.Intent import androidx.compose.runtime.Composable import androidx.navigation.NavHostController import androidx.navigation.compose.NavHost import androidx.navigation.compose.composable import com.thkox.homeai.data.source...
0
Kotlin
0
2
8a6f4239ed53e65f797f438d3326b383c40cc7c2
2,261
home-ai-client
MIT License
app/src/main/java/org/simple/clinic/scheduleappointment/ScheduleAppointmentEffectHandler.kt
simpledotorg
132,515,649
false
null
package org.simple.clinic.scheduleappointment import com.spotify.mobius.rx2.RxMobius import dagger.assisted.Assisted import dagger.assisted.AssistedFactory import dagger.assisted.AssistedInject import dagger.Lazy import io.reactivex.ObservableTransformer import org.simple.clinic.facility.Facility import org.simple.cli...
3
null
73
236
ff699800fbe1bea2ed0492df484777e583c53714
7,413
simple-android
MIT License
shared/src/commonMain/kotlin/io/github/alaksion/unsplashwrapper/platform/httpclient/UnsplashHttpClient.kt
Alaksion
738,783,181
false
{"Kotlin": 61243, "Ruby": 2207}
package io.github.alaksion.unsplashwrapper.platform.httpclient import io.github.alaksion.unsplashwrapper.platform.token.TokenManager import io.github.alaksion.unsplashwrapper.platform.token.TokenManagerImplementation import io.github.alaksion.unsplashwrapper.platform.token.TokenType import io.github.alaksion.unsplashw...
0
Kotlin
0
0
e8e3b48fb80d62f9e7ce74e252925f2279e3c2e7
3,368
UnsplashWrapper
MIT License
GanAndroidApp/GanClient/src/main/java/com/xattacker/gan/service/SystemService.kt
xattacker
311,286,040
false
{"Swift": 94193, "Kotlin": 59707, "Java": 49457, "C": 12009, "Ruby": 1175, "Objective-C": 451, "Shell": 379, "Batchfile": 134}
package com.xattacker.gan.service import com.xattacker.binary.TypeConverter import com.xattacker.gan.GanAgent import com.xattacker.gan.data.FunctionType import java.util.* class SystemService internal constructor(agent: GanAgent) : ServiceFoundation(agent) { fun getIP(): String? { var ip: String? = n...
0
Swift
0
0
b53e4e579eaaad8aaafa896e405bedd16a62d71d
1,179
GanSocket
MIT License
presentation/src/main/java/com/dsm/dms/presentation/di/module/ApiModule.kt
DSM-DMS
203,186,000
false
null
package com.dsm.dms.presentation.di.module import com.dsm.dms.data.remote.* import dagger.Module import dagger.Provides import retrofit2.Retrofit import javax.inject.Singleton @Module class ApiModule { companion object { private val baseUrl = "https://dev-api.dsm-dms.com/" private val mealUrl = ...
0
Kotlin
2
14
ae7de227cee270d22a72a4f59090bff07c43f019
1,455
DMS-Android-V4
MIT License
intellij-plugin-verifier/verifier-intellij/src/main/java/com/jetbrains/pluginverifier/reporting/DirectoryBasedPluginVerificationReportage.kt
JetBrains
3,686,654
false
null
/* * Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. */ package com.jetbrains.pluginverifier.reporting import com.jetbrains.plugin.structure.base.utils.closeLogged import com.jetbrains.plugin.structure....
3
null
44
154
7500c21a7f4c0880b49b312e4a737709429035fc
5,985
intellij-plugin-verifier
Apache License 2.0
idea/idea-frontend-fir/idea-fir-low-level-api/tests/org/jetbrains/kotlin/idea/fir/low/level/api/compiler/based/AbstractCompilerBasedTest.kt
krzema12
312,049,057
false
null
/* * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.analysis.low.level.api.fir.compiler.based import com.intellij.mock.MockProject i...
34
null
2
24
af0c7cfbacc9fa1cc9bec5c8e68847b3946dc33a
14,647
kotlin-python
Apache License 2.0
core/common/src/main/kotlin/com/donghanx/common/extensions/Iterable+Extensions.kt
DonghanX
697,115,187
false
{"Kotlin": 186249}
package com.donghanx.common.extensions @Suppress("NOTHING_TO_INLINE") inline fun <T> Iterable<T>.filterAll(vararg predicates: (T) -> Boolean): List<T> { return filter { element -> predicates.all { it(element) } } }
0
Kotlin
0
0
2aaa7eaab5e383a3f2bb06493b60e640898bbb8e
220
nowinmtg
MIT License
VCL/src/test/java/io/velocitycareerlabs/infrastructure/resources/valid/VCLJwtServiceMock.kt
velocitycareerlabs
525,006,413
false
{"Kotlin": 614928}
/** * Created by <NAME> on 05/09/2023. * * Copyright 2022 Velocity Career Labs inc. * SPDX-License-Identifier: Apache-2.0 */ package io.velocitycareerlabs.infrastructure.resources.valid import io.velocitycareerlabs.api.entities.VCLPublicJwk import io.velocitycareerlabs.api.entities.VCLJwt import io.velocitycaree...
0
Kotlin
0
1
daaf7fdd029d6a1cb152fd8506b43b1789fd1b88
830
WalletAndroid
Apache License 2.0