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/social/entourage/android/events/create/CreateEventSuccessFragment.kt
ReseauEntourage
30,242,877
false
{"Kotlin": 2178367}
package social.entourage.android.events.create import android.app.Activity import android.content.Context import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.navigation.fra...
2
Kotlin
2
9
91bb2847f15197c17581707d393def23f8e6bc27
2,310
entourage-android
MIT License
app/src/main/java/simply/homework/inventory/domain/usecase/UpdateItemUseCase.kt
kv-yan
870,075,041
false
{"Kotlin": 59772}
package simply.homework.inventory.domain.usecase import simply.homework.inventory.data.entity.Item import simply.homework.inventory.domain.repo.ItemsRepository interface UpdateItemUseCase { suspend fun invoke(item: Item) } class UpdateItemUseCaseImpl(private val itemsRepository: ItemsRepository) : UpdateItemUseC...
0
Kotlin
0
0
c84f7f78ae12dd75bc45cdf33a70bf2fefcd86bc
420
Simply_Inventory_App
Apache License 2.0
skraper/src/main/kotlin/aikisib/url/FsEncoder.kt
alexvas
441,785,898
false
{"HTML": 495150, "Kotlin": 138632, "CSS": 5439, "JavaScript": 3850, "Shell": 3449, "PHP": 606}
package aikisib.url import java.nio.ByteBuffer import java.nio.CharBuffer /** * Кодирует части пути URI (то, что между "/") в виде, пригодном для сохранения * в файловой системе (NTFS, extX). То, есть, юникодные символы _не_ кодируются. * Знаки минус ("-"), подчерка ("_") и точки (".") тоже _не_ кодируются. */ ob...
0
HTML
0
0
1353c46ddae52607f921adde8c7a30776371bf5a
2,547
skraper
Apache License 2.0
app/src/main/java/com/lianyi/paimonsnotebook/ui/screen/app_widget/components/text/AppWidgetBackgroundConfiguration.kt
QooLianyi
435,314,581
false
{"Kotlin": 2026028}
package com.lianyi.paimonsnotebook.ui.screen.app_widget.components.text import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.ExperimentalLayoutApi import androidx.compose.foundation.layout.FlowRow import androidx.compose.founda...
1
Kotlin
2
36
59fd15325dfccfd0d5e888b8e77d37bcb5ca7d56
1,506
PaimonsNotebook
MIT License
lib/src/test/kotlin/app/cash/quiver/OutcomeTest.kt
cashapp
610,098,851
false
{"Kotlin": 95569, "Shell": 1366, "CSS": 209}
package app.cash.quiver import arrow.core.Either import arrow.core.None import arrow.core.Option import arrow.core.Some import arrow.core.Validated import arrow.core.invalid import arrow.core.left import arrow.core.right import arrow.core.some import arrow.core.valid import app.cash.quiver.arb.outcome import app.cash....
7
Kotlin
7
96
337b1c78510046b8c7f5e6e1820cf8844f122d2e
13,566
quiver
Apache License 2.0
src/test/kotlin/groTest.kt
pharmcadd
294,609,245
false
null
import org.junit.jupiter.api.Test import pharmcadd.gromacs.combineProteinLigand class GroTest { @Test fun combineProteinLigandTest() { val prot = GroTest::class.java.getResourceAsStream("/prot.gro").bufferedReader().readText() val lig = GroTest::class.java.getResourceAsStream("/lig.gro").buffe...
0
Kotlin
0
0
5eede4f610f2f50a9443b535c2462db16aff7ca3
430
gromacs-wrapper
MIT License
app/app/src/main/java/xyz/mirage/app/business/interactors/profile/SearchProfiles.kt
sentrionic
378,704,735
false
null
package xyz.mirage.app.business.interactors.profile import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.catch import kotlinx.coroutines.flow.flow import xyz.mirage.app.business.datasources.cache.profile.ProfileDao import xyz.mirage.app.business.datasources.network.core.handleUseCaseException import xyz....
0
Kotlin
0
1
38f8a669cdb6f8a804fae9320bf645dd33ee0a7b
1,126
Mirage
MIT License
pandora/src/main/java/com/lodz/android/pandora/rx/subscribe/single/RxSingleObserver.kt
LZ9
137,967,291
false
null
package com.lodz.android.pandora.rx.subscribe.maybe import com.lodz.android.pandora.rx.exception.ExceptionFactory import com.lodz.android.pandora.rx.status.ResponseStatus import io.reactivex.rxjava3.disposables.Disposable /** * 网络接口使用的订阅者,主要对接口进行判断处理 * Created by zhouL on 2019/1/22. */ abstract class RxMaybeObserv...
0
null
3
11
926b9f968a984c42ade94371714ef4caf3ffbccf
2,720
AgileDevKt
Apache License 2.0
lib/src/commonMain/kotlin/com/wepin/cm/loginlib/types/network/LoginOauthIdTokenResponse.kt
WepinWallet
834,097,352
false
{"Kotlin": 168770, "Ruby": 5284, "Swift": 580, "Shell": 579, "JSON": 463}
package com.wepin.cm.loginlib.types.network import kotlinx.serialization.Serializable @Serializable data class LoginOauthIdTokenResponse( val result: Boolean, val token: String? = null, val error: String? = null, )
0
Kotlin
0
0
d9bc9e6049d18bb2bd0136e48d4cf97c91171884
229
wepin-compose-sdk-login-v1
Apache License 2.0
core/usecases/src/main/java/com/aetherinsight/goldentomatoes/core/usecases/FavoriteMovieUseCase.kt
OdisBy
828,176,452
false
{"Kotlin": 188881, "Ruby": 3766}
package com.aetherinsight.goldentomatoes.core.usecases import com.aetherinsight.goldentomatoes.core.data.model.MovieGlobal import com.aetherinsight.goldentomatoes.data.data.repositories.FavoriteRepository import javax.inject.Inject class FavoriteMovieUseCase @Inject constructor( private val favoriteRepository: Fa...
1
Kotlin
0
1
2be09e4f2439fab82f982a3a5ffb700ef653a955
606
Golden-Movies
MIT License
backend/data/src/main/kotlin/io/tolgee/repository/AutomationRepository.kt
tolgee
303,766,501
false
null
package io.tolgee.repository import io.tolgee.model.automations.Automation import org.springframework.context.annotation.Lazy import org.springframework.data.jpa.repository.JpaRepository import org.springframework.data.jpa.repository.Query import org.springframework.stereotype.Repository @Repository @Lazy interface A...
170
null
188
1,837
6e01eec3a19c151a6e0aca49e187e2d0deef3082
692
tolgee-platform
Apache License 2.0
library/echo-core/src/commonTest/kotlin/io/github/alexandrepiveteau/echo/core/buffer/MutableByteGapBufferGetSetTest.kt
markdown-party
341,117,604
false
{"Kotlin": 603967, "Dockerfile": 723, "JavaScript": 715, "Shell": 646, "HTML": 237, "CSS": 133}
package io.github.alexandrepiveteau.echo.core.buffer import kotlin.test.Test import kotlin.test.assertContentEquals import kotlin.test.assertEquals import kotlin.test.assertFails class MutableByteGapBufferGetSetTest { @Test fun empty_outOfBounds() { with(mutableByteGapBufferOf()) { assertFails { get(-1...
0
Kotlin
3
54
760a0066fa683d1ca0a99d44370e10db5932dc20
1,093
mono
MIT License
app/src/main/java/com/example/todoapp/TaskActivity.kt
Akshat212
463,598,435
false
null
package com.example.todoapp import android.app.DatePickerDialog import android.app.Dialog import android.app.TimePickerDialog import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.* import androidx.recyclerview.widget.ItemT...
0
Kotlin
0
0
fd145399b764c6ace9e85c6b138a982aeaa2efaa
4,516
ToDoApp
MIT License
kotlin/kotlin-driver/src/test/kotlin/com/google/mapsplatform/transportation/sample/kotlindriver/provider/service/LocalProviderServiceTest.kt
googlemaps
411,368,871
false
{"Kotlin": 202586, "Java": 196801}
/* Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
3
Kotlin
12
24
42355907923895e64f962f824fb2e5ab21d5bc3b
8,150
android-on-demand-rides-deliveries-samples
Apache License 2.0
alarmscheduler/src/main/java/com/carterchen247/alarmscheduler/storage/AlarmStateRepository.kt
CarterChen247
245,651,581
false
null
package com.carterchen247.alarmscheduler.storage import android.content.Context import com.carterchen247.alarmscheduler.model.AlarmInfo internal class AlarmStateRepository private constructor(context: Context) { private val alarmStateDao = AlarmSchedulerDatabase.getInstance(context).getAlarmStateDao() suspe...
1
Kotlin
0
6
669bfcbffddcf3596aad6d8e2b1c00197ac9f87b
1,225
AlarmScheduler
The Unlicense
app/src/main/java/com/engineerfred/kotlin/ktor/data/remote/repository/StudentsRepoImpl.kt
EngFred
763,078,300
false
{"Kotlin": 375304}
package com.engineerfred.kotlin.ktor.data.remote.repository import android.app.Activity import android.content.Context import android.util.Log import com.engineerfred.kotlin.ktor.domain.model.Student import com.engineerfred.kotlin.ktor.domain.repository.StudentsRepository import com.engineerfred.kotlin.ktor.ui.model.S...
0
Kotlin
0
0
bf9031db3581709d5de44181361e1246850b6092
12,311
quiz-quest
MIT License
app/src/main/java/com/zasa/yttodo/database/TaskDao.kt
zansangeeth
565,181,520
false
null
package com.zasa.yttodo.database import androidx.lifecycle.LiveData import androidx.room.Dao import androidx.room.Delete import androidx.room.Insert import androidx.room.Query import androidx.room.Update /** * Created by <NAME> * on 11/12/2022. */ @Dao interface TaskDao { @Insert suspend fun insert(taskE...
0
Kotlin
0
0
e61cbe58dbf4f255279261bd9a662e1740a3f15e
917
YTTodo
Apache License 2.0
app/common/src/commonMain/kotlin/com/denchic45/studiversity/ui/theme/CommonAppTheme.kt
denchic45
435,895,363
false
{"Kotlin": 2081129, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867}
package com.denchic45.studiversity.ui.theme import androidx.compose.material3.MaterialTheme import androidx.compose.material3.darkColorScheme import androidx.compose.material3.lightColorScheme import androidx.compose.runtime.Composable import androidx.compose.runtime.CompositionLocalProvider private val LightColors =...
0
Kotlin
0
7
77a957bed0b154f7bc72120488dea223fe48b4d0
5,796
Studiversity
Apache License 2.0
src/main/java/com/pikolive/module/webview/client/WebChromeClientDelegate.kt
InternetED
299,563,216
false
null
package com.pikolive.module.webview.client import android.graphics.Bitmap import android.net.Uri import android.os.Build import android.os.Message import android.view.View import android.webkit.* import android.webkit.WebStorage.QuotaUpdater import androidx.annotation.RequiresApi /** * Creator: ED * Date: 2020/11/1...
0
Kotlin
0
0
a9f7f9d644aecc3903818ddd3bf616cdf97d5d8a
10,773
Thrid_Part_Plugin
Apache License 2.0
src/test/kotlin/coverosR3z/MainTests.kt
cybernetics
327,159,653
true
{"Kotlin": 343884, "CSS": 7602, "HTML": 6285, "JavaScript": 84}
package coverosR3z import org.junit.Test import kotlin.concurrent.thread /** * Due to the entirely-stateful and threaded nature of these tests, * these tests are here as experiments to see how the system behaves, * during which time the experimenter observes the logs of what is * happening, rather than as typical...
0
null
0
0
ac237097c4132580b0a399403c0ca964ec1ddc7e
891
r3z
MIT License
shared/src/commonMain/kotlin/com/juagri/shared/ui/login/OTPScreen.kt
juagrideveloper
699,804,299
false
{"Kotlin": 1302992, "Swift": 6001, "Shell": 615}
package com.juagri.shared.ui.login import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.pa...
0
Kotlin
0
0
dfb433421930bbf970fae303f5e496698f9d9e09
5,673
juagriapp
Apache License 2.0
app/src/main/java/com/example/bitfit2aramirez/MainActivity.kt
Morrison512
557,420,890
false
{"Kotlin": 12784}
package com.example.bitfit2aramirez import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.widget.Button import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import androidx.lifecycle.lifecycleScope imp...
1
Kotlin
0
0
fd8ff936ac522715e73bf17c62ed722ce556228b
3,013
BitFit2ARamirez
Apache License 2.0
analysis/low-level-api-fir/testData/getOrBuildFir/expressions/thisExpression_arrayAccessConvention_this.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// LOOK_UP_FOR_ELEMENT_OF_TYPE: KtThisExpression fun foo(action: MyMap<String, Int>.() -> Unit) { foo { <expr>this</expr>["a"] += 1 } } interface MyMap<K, V> { operator fun get(k: K): V operator fun set(k: K, v: V) }
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
242
kotlin
Apache License 2.0
web/src/jsMain/kotlin/ca/derekellis/reroute/home/HomePresenter.kt
dellisd
440,373,187
false
{"Kotlin": 89807, "JavaScript": 4456, "Dockerfile": 669, "HTML": 234}
package ca.derekellis.reroute.home import androidx.compose.runtime.Composable import ca.derekellis.reroute.ui.Presenter import kotlinx.coroutines.flow.Flow import me.tatarka.inject.annotations.Assisted import me.tatarka.inject.annotations.Inject @Inject class HomePresenter(@Assisted private val args: Home) : Presente...
0
Kotlin
0
10
fb0e41e59374c1a34eb370b1202fb96c41589a95
509
reroute
Apache License 2.0
ktor-crud-jooq/frontend/src/main/kotlin/com/onlyteo/sandbox/service/GreetingService.kt
onlyteo
798,100,309
false
{"Kotlin": 285306, "TypeScript": 55008, "HTML": 46287, "CSS": 12071, "Shell": 627, "Dockerfile": 305}
package com.onlyteo.sandbox.service import com.onlyteo.sandbox.config.buildLogger import com.onlyteo.sandbox.context.ApplicationContext import com.onlyteo.sandbox.model.Greeting import com.onlyteo.sandbox.model.Person import io.ktor.client.HttpClient import io.ktor.client.call.body import io.ktor.client.request.get im...
0
Kotlin
0
0
cf0921f6358423f39a461d4ad832df3695df1510
1,353
ktor-sandbox
Apache License 2.0
src/main/kotlin/de/jupf/staticonf/example/example.kt
jupf
56,315,655
false
null
package de.jupf.staticonf.example import de.jupf.staticonf.annotation.Default import de.jupf.staticonf.StatiConf import java.util.* /** * This is an example for using StatiConf. * * @created 07.04.2016 * @author jpf */ fun main(args: Array<String>) { println(Config.globalID) println(Config.localID) p...
0
Kotlin
0
1
22a5148086aa6654cafdb11d601fe08db29a834c
953
staticonf
MIT License
app/src/main/java/com/wegdut/wegdut/data/comment/ComplexComment.kt
laishere
301,439,203
false
null
package com.wegdut.wegdut.data.comment data class ComplexComment( val comment: Comment, val reply: MutableList<Comment>, var replyCount: Int, var validCount: Int )
0
Kotlin
2
6
b62720ce8fbe79817b9c05e6bb1eeff09f53e804
180
wegdut-android
MIT License
test-shared/src/main/java/jp/co/soramitsu/testshared/CreateTestSocket.kt
soramitsu
278,060,397
false
null
package jp.co.soramitsu.testshared import com.google.gson.Gson import com.neovisionaries.ws.client.WebSocketFactory import jp.co.soramitsu.shared_utils.wsrpc.SocketService import jp.co.soramitsu.shared_utils.wsrpc.recovery.Reconnector import jp.co.soramitsu.shared_utils.wsrpc.request.RequestExecutor fun createTestSoc...
16
null
30
89
812c6ed5465d19a0616865cbba3e946d046720a1
416
fearless-Android
Apache License 2.0
app/src/main/java/com/justclean/task/persistence/AppDatabase.kt
mohamedebrahim96
317,517,068
false
null
/** * Created by @mohamedebrahim96 on 03,December,2020. * <EMAIL>, * Dubai, UAE. */ package com.justclean.task.persistence import androidx.room.Database import androidx.room.RoomDatabase import com.justclean.task.model.Post import com.justclean.task.model.PostComment @Database(entities = [Post::class, PostComment...
1
Kotlin
0
4
1a9ab828deb5ff39fe8f773b6293fca8109e1f23
557
Justclean
MIT License
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/Qgis.kt
DevSrSouza
311,134,756
false
null
package compose.icons.simpleicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Butt import androidx.compose.ui.graphics.StrokeJoin.Miter import androidx.compose.ui.graphics...
17
null
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
2,752
compose-icons
MIT License
sentinel/src/main/kotlin/com/infinum/sentinel/ui/crash/CrashesFragment.kt
infinum
257,115,400
false
null
package com.infinum.sentinel.ui.crash import android.content.Intent import android.os.Bundle import android.view.View import androidx.annotation.RestrictTo import androidx.core.view.isGone import androidx.core.view.isVisible import androidx.recyclerview.widget.DividerItemDecoration import androidx.recyclerview.widget....
0
Kotlin
1
29
83fead60cbcff74fff45545e802d2ce07e7ad5bd
4,219
android-sentinel
Apache License 2.0
src/main/kotlin/no/nav/tilleggsstonader/soknad/util/TekstUtil.kt
navikt
681,542,878
false
{"Kotlin": 198106, "HTML": 34620, "Shell": 913, "Dockerfile": 171}
package no.nav.tilleggsstonader.soknad.util object TekstUtil { /** * Setter sammen strings som ikke er null eller empty med en gitt separator */ fun joinNotNullOrEmpty(vararg args: String?, separator: String = " "): String? { val filterNotNull = args.filterNotNull().filterNot(String::isEmpty...
1
Kotlin
0
0
b9edd8604d5df899be7562811332c5bfd3fca591
470
tilleggsstonader-soknad-api
MIT License
glimpse/core/src/commonMain/kotlin/lenses/PerspectiveLens.kt
glimpse-graphics
319,730,354
false
null
/* * Copyright 2020-2023 Glimpse Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
5
Kotlin
0
6
e00a9f22db9e10493e7711d5dd8524eb7b06be77
1,913
glimpse
Apache License 2.0
kcrud-base/src/main/kotlin/kcrud/base/settings/config/sections/DeploymentSettings.kt
perracodex
682,128,013
false
{"Kotlin": 552738, "JavaScript": 17898, "CSS": 7959, "Dockerfile": 3297, "HTML": 579}
/* * Copyright (c) 2024-Present Perracodex. All rights reserved. * This work is licensed under the terms of the MIT license. * For a copy, see <https://opensource.org/licenses/MIT> */ package kcrud.base.settings.config.sections import kcrud.base.settings.config.parser.IConfigSection import kotlinx.serialization.S...
0
Kotlin
0
2
7faa3d74588e41a48ac48bb56e80bb02c48f0ba3
740
Kcrud
MIT License
app/src/main/java/de/oculavis/trialdaytask/MainActivity.kt
harisazam
875,758,835
false
{"Kotlin": 69386}
package de.oculavis.trialdaytask import android.content.Context import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize i...
0
Kotlin
0
0
333df2c0b23da59d87a3564b7ea984c1ee56be91
2,982
TrialDayTask-Oculavis
MIT License
lab/app/src/main/java/dev/goobar/advancedandroidlab/network/PlanetsResponseDTO.kt
goobar-dev
655,460,041
false
null
package dev.goobar.advancedandroidlab.network import kotlinx.serialization.Serializable @Serializable class PlanetsResponseDTO(val results: List<PlanetDTO>)
0
Kotlin
0
0
e88c2601dbc255e14bf40ae9b7ae82bac68fbdef
158
android-403-advanced-android-kotlin
Apache License 2.0
app/src/main/java/com/istu/schedule/ui/page/projfair/list/filter/FilterViewModel.kt
imysko
498,018,609
false
{"Kotlin": 702754}
package com.istu.schedule.ui.page.projfair.list.filter import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.istu.schedule.data.model.ProjfairFiltersState import com.istu.schedule.data.model.User import com.istu.schedule.domain.model.projfair.Skill import com.istu.schedule.domain.mode...
1
Kotlin
0
2
0d7542e7d2864c8fe2edb4b266f48b89fcf01335
1,857
Schedule-ISTU
MIT License
kotlin-webgl/src/main/kotlin/com/example/CanvasGL.kt
mgrouch
488,594,994
false
{"Kotlin": 710720, "JavaScript": 84210, "HTML": 977}
package com.example import io.kvision.snabbdom.VNode import io.kvision.core.AttributeSetBuilder import io.kvision.core.Container import io.kvision.core.Widget import io.kvision.html.TagMarker import org.khronos.webgl.WebGLRenderingContext import org.w3c.dom.HTMLCanvasElement /** * Canvas component. * * @constructo...
0
Kotlin
0
0
270b88ef0fa5303ef3a4a273ef7267fac92b56da
2,046
kotlin-sandbox
Apache License 2.0
sample/src/main/java/co/netguru/android/chatandroll/feature/base/Presenter.kt
netguru
98,288,528
false
null
package co.netguru.android.chatandroll.feature.base interface Presenter<T : MvpView> { fun attachView(mvpView: T) fun detachView() fun getView(): T? }
4
Kotlin
112
300
e5790fec71db013aac00dac2faf15d87fc46b80a
168
videochatguru-android
Apache License 2.0
lib/src/main/kotlin/fr/o80/twitck/lib/api/extension/PointsExtension.kt
olivierperez
283,750,838
false
null
package fr.o80.twitck.lib.api.extension interface PointsExtension { val channel: String fun getPoints(login: String): Int fun addPoints(login: String, points: Int) fun consumePoints(login: String, points: Int): Boolean }
0
Kotlin
1
5
bb2828260ae6837f87ebb71bce11e383be514f53
237
TwitckBot
Apache License 2.0
lib/src/main/kotlin/fr/o80/twitck/lib/api/extension/PointsExtension.kt
olivierperez
283,750,838
false
null
package fr.o80.twitck.lib.api.extension interface PointsExtension { val channel: String fun getPoints(login: String): Int fun addPoints(login: String, points: Int) fun consumePoints(login: String, points: Int): Boolean }
0
Kotlin
1
5
bb2828260ae6837f87ebb71bce11e383be514f53
237
TwitckBot
Apache License 2.0
browser-kotlin/src/jsMain/kotlin/js/intl/ResolvedCollatorOptions.kt
karakum-team
393,199,102
false
null
// Automatically generated - do not modify! package js.intl import kotlinx.js.JsPlainObject @JsPlainObject external interface ResolvedCollatorOptions { var locale: String var usage: String var sensitivity: String var ignorePunctuation: Boolean var collation: String var caseFirst: String v...
0
null
7
35
0f192fb5e7be6207ea195f88dc6a0e766ad7f93b
342
types-kotlin
Apache License 2.0
app/src/main/java/com/codespacepro/moviecompose/viewmodel/MainViewModelFactory.kt
KhubaibKhan4
702,709,683
false
{"Kotlin": 177492}
package com.codespacepro.moviecompose.viewmodel import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import com.codespacepro.moviecompose.repository.Repository import javax.inject.Inject class MainViewModelFactory @Inject constructor(private val repository: Repository) : ViewModelProvid...
0
Kotlin
0
5
5e2e4ec5a7c8232c4870f22dfa3e8ebec2b6148f
467
MovieCompose
MIT License
src/test/kotlin/io/noobymatze/aoc/y2022/Day7.kt
noobymatze
572,677,383
false
{"Kotlin": 80652}
package io.noobmatze.aoc.y2022 import kotlin.test.Test class Day7 { @Test fun test() { val wd = mutableListOf<String>() val map = mutableMapOf<String, Int>() val result = Aoc.getInput(7).lines() var pos = 0 fun isAtEnd(): Boolean = pos >= result.size fun peek()...
0
Kotlin
0
0
e61701eb657326c24a6b13c552b9e8147a002d8e
3,310
aoc
MIT License
sample/src/main/java/com/paydock/sample/feature/style/ui/components/FontSection.kt
PayDock
746,753,687
false
{"Kotlin": 743416, "Dockerfile": 1641, "Ruby": 1412, "Shell": 1240}
/* * Created by Paydock on 1/26/24, 6:24 PM * Copyright (c) 2024 Paydock Ltd. * * Last modified 1/26/24, 5:58 PM * * 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.o...
0
Kotlin
0
1
d672c4e32c181f5edc87c2c01c40d98fc9314fb1
6,130
android-mobile-sdk
Apache License 2.0
app/src/main/kotlin/com/alexis/chineseastrology/dagger/AppComponent.kt
rahulyhg
157,556,366
false
null
package com.alexis.chineseastrology.dagger import android.app.Application import com.alexis.chineseastrology.dagger.general.viewinjector.ViewInjectorModule import com.alexis.chineseastrology.dagger.modules.AppModule import com.alexis.chineseastrology.dagger.modules.CalculatorModule import com.alexis.chineseastrology.d...
0
Kotlin
0
0
82dad4fa627010c86f53ff56c4b45f6f00852336
1,575
ChineseAstrologyCalcApp
MIT License
app/src/main/java/com/example/podcastplayer/EpisodeActivity.kt
Coolred
382,077,693
false
null
package com.example.podcastplayer import android.content.Context import android.content.Intent import android.os.Bundle import android.view.View import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import com.bumptech.glide.Glide import com.example.podcastplayer.databinding.ActivityEpisodeBindin...
0
Kotlin
0
0
3591883610b9ba22c1784fb3870e28f51e0fb61b
3,020
SimplePodcastPlayer
MIT License
pluginhost/src/main/java/com/xy/android/plugin/host/BaseProxyActivity.kt
monkey1992
540,430,888
false
{"Kotlin": 100166, "HTML": 566, "Java": 110}
package com.xy.android.plugin.host import android.app.Activity import android.content.res.AssetManager import android.content.res.Resources import android.os.Bundle open class BaseProxyActivity : Activity() { var plugin: Plugin? = null var activityName: String? = null private var pluginAssetManager: Asse...
0
Kotlin
0
0
d77f20bbef1173f42a7f6ca890e6cf0fe39125b1
2,005
XyAndroid
Apache License 2.0
server/domain/src/main/java/ru/citycheck/core/domain/repository/CategoryRepository.kt
2023-ict-itmo-city-project
708,007,798
false
{"Kotlin": 64427}
package ru.citycheck.core.domain.repository import ru.citycheck.core.domain.model.issue.Category interface CategoryRepository { fun createCategory(category: Category): Category fun updateCategory(category: Category): Category fun deleteCategory(categoryId: Long) fun getCategory(categoryId: Long): Cat...
0
Kotlin
0
0
255cf04dbbb537ea93e612c05dd1018fade132e2
369
city-project-backend-core
Apache License 2.0
image-component/src/main/java/com/kotlin/android/image/component/widget/PhotoGalleryView.kt
R-Gang-H
538,443,254
false
null
package com.kotlin.android.image.component.widget import android.content.Context import android.util.AttributeSet import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.PagerSnapHelper import androidx.recyclerview.widget.RecyclerView import com.kotlin.android.app.data.entity.image....
0
Kotlin
0
1
e63b1f9a28c476c1ce4db8d2570d43a99c0cdb28
3,743
Mtime
Apache License 2.0
trustagent/tests/unit/src/com/google/android/libraries/car/trustagent/blemessagestream/SppManagerTest.kt
google
415,118,653
false
null
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
0
Kotlin
2
14
ebecaa5335484db0ec56a378c67ad909779f6f13
3,582
android-auto-companion-android
Apache License 2.0
core/database/src/main/kotlin/com/niyaj/database/model/AbsentEntity.kt
skniyajali
644,752,474
false
{"Kotlin": 4650611, "Shell": 4104, "Batchfile": 1317, "Java": 232}
/* * Copyright 2024 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
39
Kotlin
0
1
0aded0408c552b84796ac9298ccf023f5a7082ea
1,760
PoposRoom
Apache License 2.0
HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/utils/CanceledByUserException.kt
maximilianovallejos
237,121,039
true
{"Kotlin": 578164, "Java": 37879, "HTML": 14126, "CSS": 2184}
package ch.rmy.android.http_shortcuts.utils class CanceledByUserException : Exception()
0
null
0
0
00dcf56ec9bf9889f6e18875ea5d58f582b888ae
88
HTTP-Shortcuts
MIT License
core/src/commonMain/kotlin/com/xebia/functional/xef/llm/LLMModel.kt
xebia-functional
629,411,216
false
null
package com.xebia.functional.xef.llm import com.xebia.functional.tokenizer.ModelType import kotlin.jvm.JvmStatic sealed interface LLM { val name: String val modelType: ModelType interface Chat : LLM interface Completion : LLM interface ChatWithFunctions : Chat interface Embedding : LLM interface Im...
7
Kotlin
4
74
c0af078c0293d3f4e8d233571bdd026142cad0a4
2,118
xef
Apache License 2.0
app/src/main/java/com/ligthhouse/covid19/data/db/CaseCountDao.kt
tay-ola
378,161,203
false
null
package com.ligthhouse.covid19.data.db import androidx.lifecycle.LiveData import androidx.room.* import com.ligthhouse.covid19.data.entity.StateCount import com.ligthhouse.covid19.data.entity.TotalCount @Dao interface CaseCountDao { /*Total count*/ @Query("DELETE FROM TotalCount") fun nukeTotalCount() ...
0
Kotlin
0
0
ef3fc38a06ddc4c249415d4ad80dfcf401006035
857
COVID-Kotlin
Apache License 2.0
src/test/kotlin/com/dtimashov/scantoplan/ApplicationTest.kt
dantimashov
606,869,643
false
null
package com.dtimashov.scantoplan class ApplicationTest { }
0
Kotlin
0
0
2fddcf2e2178872df5f73f7787ed308a5edf7800
61
scan-routes-to-plan-trips
MIT License
runner/src/main/kotlin/com/daylifecraft/minigames/ServerUuidProvider.kt
daylifecraft
786,506,082
false
{"Kotlin": 565827, "Java": 16608, "Dockerfile": 751}
package com.daylifecraft.minigames import java.util.UUID object ServerUuidProvider { /** * Server uuid * A random uuid which is generated lazily. * It's thread safe */ val uuid: UUID by lazy { UUID.randomUUID() } }
1
Kotlin
1
6
122cf57dae33768f0370007ce88745a6d67c4788
240
minigames
Apache License 2.0
quick-percent/src/main/java/com/theapache64/quickpercent/PercentOf.kt
theapache64
195,563,701
false
null
package com.theapache64.quickpercent /** * To find percent of a number */ fun Number.percentOf(of: Float): Float { return (of / 100) * this.toFloat() } fun Number.percentOf(of: Int): Float { return percentOf(of.toFloat()) } fun Number.percentOf(of: Long): Float { return percentOf(of.toFloat()) } fun...
0
Kotlin
0
1
8c08442c264d456232168dac06557cb36cb3df52
398
quick-percent
Apache License 2.0
client/src/main/kotlin/nl/knaw/huc/annorepo/client/extensions.kt
knaw-huc
473,687,323
false
{"Kotlin": 347807, "Java": 26931, "Makefile": 6713, "Shell": 6521, "Dockerfile": 577, "HTML": 247}
package nl.knaw.huc.annorepo.client import arrow.core.Either import io.grpc.Metadata fun Sequence<Either<RequestError, String>>.untangled(): Either<RequestError, List<String>> { val list: MutableList<String> = mutableListOf() var error: RequestError? = null forEach { e -> when (e) { is...
18
Kotlin
1
8
0eaf7bf4da925385ff52d7e5822a8ce6b83c36b5
673
annorepo
Apache License 2.0
lib_common_utils/src/main/java/app/melon/util/network/TokenManager.kt
biubiubiiu
344,728,768
false
null
package app.melon.util.network import okhttp3.Interceptor import javax.inject.Inject import javax.inject.Singleton @Singleton class TokenManager @Inject constructor() { private var token: String? = null fun updateToken(token: String) { this.token = token } fun clearToken() { this.to...
1
Kotlin
1
2
6bb52f962084674ed50ffb3f8399c1b413a5a234
801
Melon
Apache License 2.0
CakapTestApp/app/src/main/java/com/achmadabrar/cakaptestapp/data/network/NetworkState.kt
achmadabrar
316,360,868
false
{"Markdown": 4, "Text": 1, "Ignore List": 18, "Gradle": 25, "Java Properties": 16, "Shell": 8, "Batchfile": 8, "Proguard": 9, "Kotlin": 179, "XML": 166, "Java": 8, "HTML": 1, "CSS": 1, "JavaScript": 1, "Ruby": 2, "OpenStep Property List": 2, "Swift": 2, "JSON": 2, "Objective-C": 5}
package com.achmadabrar.cakaptestapp.data.network class NetworkState { }
1
null
1
1
707d75bba3461130b977f476de594a566b96f929
73
test_scanner_java
Creative Commons Attribution 4.0 International
repolizer/core/src/main/java/repolizer/repository/network/NetworkFuture.kt
Mordag
131,247,227
false
null
package repolizer.repository.network import repolizer.Repolizer import repolizer.adapter.CacheAdapter import repolizer.adapter.ConverterAdapter import repolizer.adapter.DataAdapter import repolizer.adapter.NetworkAdapter import repolizer.adapter.util.AdapterUtil import repolizer.repository.future.Future import repoliz...
0
Kotlin
0
0
c0d05f63d3527c863036d5c609a2451f0683ee3b
3,242
repolizer
Apache License 2.0
src/main/kotlin/com/developerphil/adbidea/adb/AdbUtil.kt
longforus
146,382,514
true
{"Markdown": 4, "Gradle": 1, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "INI": 1, "Kotlin": 97, "XML": 6, "Java": 4}
package com.developerphil.adbidea.adb import com.android.ddmlib.* import com.android.tools.idea.gradle.project.sync.GradleSyncState import com.developerphil.adbidea.adb.command.receiver.GenericReceiver import com.developerphil.adbidea.ui.NotificationHelper.info import com.intellij.openapi.project.Project import org.jo...
2
Kotlin
3
31
8e3c405ca80b9d341b419d65693d4c4d4e0c546e
3,330
adb-idea-plus
Apache License 2.0
report/report-generators/src/main/kotlin/com/testerum/report_generators/reports/utils/events_stack/ExecutionEventsStack.kt
testerum
241,460,788
false
{"Text": 47, "Gradle Kotlin DSL": 62, "Shell": 17, "Batchfile": 16, "Maven POM": 71, "Java Properties": 2, "Ignore List": 8, "Git Attributes": 1, "EditorConfig": 5, "Markdown": 8, "Kotlin": 1089, "Java": 27, "JSON": 161, "INI": 3, "XML": 30, "JavaScript": 36, "Gherkin": 1, "HTML": 232, "JSON with Comments": 11, "Browse...
package com.testerum.report_generators.reports.utils.events_stack import com.testerum.runner.events.model.* import com.testerum.runner.report_model.ReportStep import java.util.* import java.util.concurrent.atomic.AtomicInteger import kotlin.collections.ArrayList class ExecutionEventsStack { private val stack = A...
33
Kotlin
3
22
0a53c71b5f659e41282114127f595aad5ab1e4fb
5,521
testerum
Apache License 2.0
app/src/main/java/me/darshpratap/coaster/database/viewModel/CategoryViewModel.kt
lazy-god
164,196,326
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 3, "XML": 35, "Kotlin": 32}
package me.darshpratap.coaster.database.viewModel import android.app.Application import androidx.lifecycle.AndroidViewModel import me.darshpratap.coaster.database.repository.CategoryRepository import me.darshpratap.coaster.models.db.Category class CategoryViewModel(application: Application): AndroidViewModel(applicat...
1
null
1
1
c4c62d34ba87820079699fc6493b92d3285276ef
518
Coaster
MIT License
compiler/testData/diagnostics/tests/objects/localObjects.fir.kt
android
263,405,600
false
null
// !DIAGNOSTICS: -UNUSED_VARIABLE fun foo() { object a {} val b = object { object c {} } b.c class A { object d {} } val f = { object e {} } }
0
null
37
316
74126637a097f5e6b099a7b7a4263468ecfda144
199
kotlin
Apache License 2.0
common/src/free/java/de/nicidienase/chaosflix/common/AnalyticsWrapperImpl.kt
NiciDieNase
85,370,651
false
null
package de.nicidienase.chaosflix.common import android.app.Application import android.util.Log object AnalyticsWrapperImpl : AnalyticsWrapper { override fun init(application: Application) {} override fun startAnalytics() {} override fun stopAnalytics() {} override fun trackException(exception: Excep...
42
Kotlin
7
87
83b429928fe6a4de2796e750402fcece17bb1dab
622
chaosflix
MIT License
goblin-webmvc/src/main/java/org/goblinframework/webmvc/mapping/parameter/MultipartFileParameterMapping.kt
xiaohaiz
206,246,434
false
null
package org.goblinframework.webmvc.mapping.parameter class MultipartFileParameterMapping(namedParameter: NamedParameter, val name: String) : ParameterMapping(namedParameter)
0
null
6
9
b1db234912ceb23bdd81ac66a3bf61933b717d0b
212
goblinframework
Apache License 2.0
analysis/low-level-api-fir/src/org/jetbrains/kotlin/analysis/low/level/api/fir/api/targets/targetUtils.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2023 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.api.targets import org.jetbrains.kotlin.analysis.low....
155
Kotlin
5608
45,423
2db8f31966862388df4eba2702b2f92487e1d401
694
kotlin
Apache License 2.0
app/src/main/kotlin/org/andstatus/todoagenda/prefs/SnapshotMode.kt
andstatus
162,867,215
true
{"Gradle": 4, "INI": 2, "Shell": 2, "Text": 10, "Ignore List": 1, "Batchfile": 1, "YAML": 1, "Markdown": 2, "XML": 112, "Kotlin": 146, "Java Properties": 1, "JSON": 13}
package org.andstatus.todoagenda.prefs import androidx.annotation.StringRes import org.andstatus.todoagenda.R /** * @author <EMAIL> */ enum class SnapshotMode(val value: String, @field:StringRes val valueResId: Int) { LIVE_DATA("live_data", R.string.snapshot_mode_live_data), SNAPSHOT_TIME("snapshot_time", R...
45
Kotlin
18
114
8f76393817f77ec190d7661fb49951fc0abdf169
876
todoagenda
Apache License 2.0
MultiModuleApp2/module3/src/main/java/com/github/yamamotoj/module3/package55/Foo05516.kt
yamamotoj
163,851,411
false
{"Text": 1, "Ignore List": 30, "Markdown": 1, "Gradle": 34, "Java Properties": 11, "Shell": 6, "Batchfile": 6, "Proguard": 22, "Kotlin": 36021, "XML": 93, "INI": 1, "Java": 32, "Python": 2}
package com.github.yamamotoj.module3.package55 class Foo05516 { fun method0() { Foo05515().method5() } fun method1() { method0() } fun method2() { method1() } fun method3() { method2() } fun method4() { method3() } fun method5() {...
0
Kotlin
0
9
2a771697dfebca9201f6df5ef8441578b5102641
347
android_multi_module_experiment
Apache License 2.0
database/database-symbol-processor/src/main/kotlin/ru/tinkoff/kora/database/symbol/processor/cassandra/StatementSetterGenerator.kt
kora-projects
743,624,836
false
null
package ru.tinkoff.kora.database.symbol.processor.cassandra import com.squareup.kotlinpoet.ClassName import com.squareup.kotlinpoet.CodeBlock import com.squareup.kotlinpoet.FunSpec import com.squareup.kotlinpoet.ksp.toTypeName import ru.tinkoff.kora.database.symbol.processor.QueryWithParameters import ru.tinkoff.kora....
8
null
9
63
bb7d906d3af0ae6f8c68f87327f010b66110f34f
6,319
kora
Apache License 2.0
app/src/main/java/com/shentu/paper/app/Constant.kt
walkthehorizon
133,635,969
false
null
package com.shentu.paper.app import com.shentu.paper.model.entity.AppUpdate object Constant { var LAST_LOGIN_ACCOUNT = "last_login_account" var LAST_SHOW_DONATE = "last_show_donate" var BANNER_COUNT = 5 const val LAST_SIGN_TIME = "last_sign_time" const val CONTENT_MODE = "CONTENT_MODE" /** ...
1
null
1
3
47828dbae0e04331c46bee6773efbec331f3f167
852
MicroWallPager
Apache License 2.0
library/src/test/java/com/alibaba/dcm/agent/DcmAgentTests.kt
alibaba
32,944,108
false
{"Java": 89881, "Kotlin": 30391, "Shell": 8372}
package com.alibaba.dcm.agent import com.alibaba.dcm.DnsCacheManipulator import io.kotest.core.spec.style.AnnotationSpec import io.kotest.engine.spec.tempfile import io.kotest.matchers.collections.shouldBeEmpty import io.kotest.matchers.collections.shouldContainExactly import io.kotest.matchers.nulls.shouldBeNull impo...
7
Java
183
898
e16f9b76fae6bebfe49ac18681b1aaa1cc44ec09
5,285
java-dns-cache-manipulator
Apache License 2.0
intellij-plugin/src/main/kotlin/com/apollographql/ijplugin/refactoring/migration/compattooperationbased/item/UpdateCodegenInBuildKts.kt
apollographql
69,469,299
false
null
package com.apollographql.ijplugin.refactoring.migration.compattooperationbased.item import com.apollographql.ijplugin.refactoring.migration.item.DeletesElements import com.apollographql.ijplugin.refactoring.migration.item.MigrationItem import com.apollographql.ijplugin.refactoring.migration.item.MigrationItemUsageInf...
145
null
653
3,750
174cb227efe76672cf2beac1affc7054f6bb2892
2,493
apollo-kotlin
MIT License
library/src/main/java/com/pedro/library/util/streamclient/RtspStreamClient.kt
pedroSG94
79,667,969
false
{"Java": 1002863, "Kotlin": 666402, "GLSL": 40912}
package com.pedro.library.util.streamclient import com.pedro.rtsp.rtsp.Protocol import com.pedro.rtsp.rtsp.RtspClient /** * Created by pedro on 12/10/23. */ class RtspStreamClient( private val rtspClient: RtspClient, streamClientListener: StreamClientListener? ): StreamBaseClient(streamClientListener) { /**...
233
Java
733
2,196
03f4405dbf9d2b64be9ae2af61da213f718fc790
2,294
RootEncoder
Apache License 2.0
compiler/testData/psi/annotation/targeted/onFile/withoutPackageWithSimpleAnnotation.kt
JakeWharton
99,388,807
true
null
@file:foo @foo @bar @file: baz fun foo() {}
179
Kotlin
5640
83
4383335168338df9bbbe2a63cb213a68d0858104
44
kotlin
Apache License 2.0
simple-stack-example-scoping/src/main/kotlin/com/zhuinden/simplestackexamplescoping/ScopeConfiguration.kt
shakil807g
170,083,351
true
{"Java": 746947, "Kotlin": 190671, "IDL": 410}
package com.zhuinden.simplestackexamplescoping import com.zhuinden.simplestack.ScopedServices class ScopeConfiguration : ScopedServices { override fun bindServices(serviceBinder: ScopedServices.ServiceBinder) { when (serviceBinder.scopeTag) { WordScope.SCOPE_TAG -> { serviceBin...
0
Java
0
0
6b050eaaced5243bc086cd217b58935f061afafb
384
simple-stack
Apache License 2.0
navikit-demo/domain/src/main/java/com/yandex/navikitdemo/domain/helpers/SettingsBinderManager.kt
yandex
124,944,765
false
null
package com.yandex.navikitdemo.domain.helpers import kotlinx.coroutines.CoroutineScope interface SettingsBinderManager { fun applySettingsChanges(scope: CoroutineScope) }
26
null
60
121
f23cb8f62ba2241f35474c02a29e2874f618e18b
177
mapkit-android-demo
Apache License 2.0
net/src/main/java/com/drake/net/request/RequestExtension.kt
liangjingkanji
370,593,764
false
null
/* * MIT License * * Copyright (c) 2023 劉強東 https://github.com/liangjingkanji * * 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 ri...
9
null
3
38
ef866475ea0249d7be2672ad5e8864c841bbbd4b
5,235
Net-okhttp3
MIT License
app/src/main/java/net/numa08/gochisou/presentation/internal/di/modules/repositorymodules.kt
numa08
50,542,826
false
null
package net.numa08.gochisou.presentation.internal.di.modules import android.content.SharedPreferences import dagger.Module import dagger.Provides import net.numa08.gochisou.data.repositories.* import javax.inject.Singleton @Module @Singleton class LoginProfileRepositoryModule(val sharedPreferences: SharedPreferences)...
1
null
1
9
efa95482507026e6c4c2e9d114de75c385f0266a
1,206
Gochisou
MIT License
app/src/main/kotlin/me/sweetll/tucao/business/video/CachedVideoActivity.kt
blackbbc
78,953,199
false
null
package me.sweetll.tucao.business.video import android.content.Context import android.content.Intent import androidx.databinding.DataBindingUtil import android.os.Bundle import android.text.format.DateFormat import android.view.View import android.view.WindowManager import com.shuyu.gsyvideoplayer.GSYPreViewManager im...
14
null
208
994
e0c29ae6c37fcca916a3aba3cbae61e74292ff99
6,098
Tucao
MIT License
location-provider/receiver/app/src/main/java/br/com/edsilfer/location_receiver/presentation/view/MapActivity.kt
edsilfer
97,345,601
false
{"Text": 6, "Markdown": 5, "Python": 2, "JSON": 3, "XML": 27, "Ignore List": 8, "Java": 26, "Gradle": 9, "Java Properties": 5, "Shell": 2, "Batchfile": 2, "Proguard": 3, "Kotlin": 12, "HTML": 2, "CSS": 6, "JavaScript": 2}
package br.com.edsilfer.location_receiver.presentation.view import android.Manifest.permission.ACCESS_COARSE_LOCATION import android.Manifest.permission.ACCESS_FINE_LOCATION import android.content.pm.PackageManager.PERMISSION_GRANTED import android.location.Location import android.os.Bundle import android.os.IBinder i...
1
null
1
1
4fa15e09970a6e628d5391cea0e9846b03f19e1c
3,841
android-tools
Apache License 2.0
app/src/main/java/com/utsman/rvpagingloader/PexelViewModel.kt
utsmannn
201,657,906
false
{"Gradle": 6, "Markdown": 1, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "Proguard": 4, "Kotlin": 29, "XML": 37, "Java": 4}
/* * Created by <NAME> on 8/10/19 11:32 PM * Copyright (c) 2019 . All rights reserved. * Last modified 8/10/19 11:21 PM */ package com.utsman.rvpagingloader import android.arch.lifecycle.LiveData import android.arch.lifecycle.Transformations import android.arch.lifecycle.ViewModel import android.arch.paging.LiveP...
0
Kotlin
0
4
d4563dffb4b93c9425dc87625d1b7900d1759fa0
1,256
RecyclerView-Paging-Loader
Apache License 2.0
app/src/main/java/com/guastafeste/covid_19/Notification_receiver.kt
antonio94770
294,242,453
false
{"Java": 122061, "Kotlin": 26334}
package com.guastafeste.covid_19 import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.os.Build import android.util.Log import androidx.annotation.RequiresApi /** * Classe che viene richiamata dall'intent dell'alarm. */ class Notification_receiver : Br...
1
null
1
1
28be0710775201edec33be11097f85b8cf7d1422
991
COVID-19-Android-APP
Creative Commons Attribution 4.0 International
commonutil/src/main/java/com/wrbug/developerhelper/commonutil/JsonHelper.kt
WrBug
159,928,379
false
{"Kotlin": 261119, "Java": 8681}
package com.wrbug.developerhelper.commonutil import com.google.gson.Gson import com.google.gson.JsonElement import com.google.gson.JsonObject import com.google.gson.reflect.TypeToken import java.lang.reflect.Type /** * JsonHelper * * @author wrbug * @since 2017/9/29 */ fun Any.toJson(): String? { return tr...
18
Kotlin
249
1,321
0435b0467631babfef0418692913ba74674a7c89
1,843
DeveloperHelper
MIT License
ktor-features/ktor-auth/jvm/src/io/ktor/auth/FormAuth.kt
LloydFinch
166,520,021
false
null
/* * Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.auth import io.ktor.application.* import io.ktor.http.* import io.ktor.request.* import io.ktor.response.* /** * Represents a form-based authentication provider * @param na...
0
null
0
2
9b9fc6c3b853c929a806c65cf6bf7c104b4c07fc
3,409
ktor
Apache License 2.0
mediapicker/src/main/java/com/greentoad/turtlebody/mediapicker/ui/common/MediaListFragment.kt
Turtlebody
177,713,614
false
null
package com.greentoad.turtlebody.mediapicker.ui.common import android.net.Uri import android.os.Bundle import android.util.TypedValue import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.coordinatorlayout.widget.CoordinatorLayout import com.greentoad.turtlebody.medi...
3
null
15
60
7ae0520caacc6e7f29cab9a1aebd2e20be832b13
2,830
android-media-picker
MIT License
app/src/main/java/com/example/clone_daum/ui/main/mediasearch/flower/FlowerViewModel.kt
aucd29
159,471,417
false
null
package com.example.clone_daum.ui.main.mediasearch.flower import android.app.Application import androidx.databinding.ObservableField import androidx.lifecycle.AndroidViewModel import brigitte.ICommandEventAware import brigitte.arch.SingleLiveEvent import brigitte.viewmodel.CommandEventViewModel import javax.inject.Inj...
0
Kotlin
0
2
759e4a0bbb96578a47cccf591015eb3b715cb3dc
621
clone-daum
Apache License 2.0
analysis/analysis-api/testData/components/expressionTypeProvider/expectedExpressionType/statementInIfBlockExpression.kt
JetBrains
3,432,266
false
null
fun foo() { val result = if (true) { 1 } else { a<caret>v } }
181
null
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
89
kotlin
Apache License 2.0
app/src/main/java/com/instamobile/firebaseStarterKit/utils/TabLayoutMediator.kt
instamobile
219,917,966
false
null
package com.google.android.material.tabs import androidx.recyclerview.widget.RecyclerView import androidx.viewpager2.widget.ViewPager2 import androidx.viewpager2.widget.ViewPager2.* import java.lang.ref.WeakReference /** * A mediator to link a TabLayout with a ViewPager2. The mediator will synchronize the ViewPager2...
1
null
24
55
7d4da154cb0981a19d6add5fe13afffa7f3cdbae
10,065
kotlin-firebase
MIT License
product-group-repo-stubs/src/commonMain/kotlin/PrgrpRepoStub.kt
crowdproj
508,540,199
false
{"Kotlin": 270309}
package com.crowdproj.marketplace.product.group.repo.stubs import com.crowdproj.marketplace.product.group.common.repo.* import com.crowdproj.marketplace.product.group.stubs.PrgrpStub class PrgrpRepoStub() : IPrgrpRepository { override suspend fun createPrGroup(rq: DbPrgrpRequest): DbPrgrpResponse { return...
0
Kotlin
3
1
dd2ee2aa0c4c3e0e3cabcdf3db42fcd8304b093f
1,276
crowdproj-product-groups
Apache License 2.0
ocpp-1-6-core/src/main/kotlin/com/izivia/ocpp/core16/model/statusnotification/StatusNotificationReq.kt
IZIVIA
501,708,979
false
null
package com.izivia.ocpp.core16.model.statusnotification import com.izivia.ocpp.core16.model.statusnotification.enumeration.ChargePointErrorCode import com.izivia.ocpp.core16.model.statusnotification.enumeration.ChargePointStatus import kotlinx.datetime.Instant data class StatusNotificationReq( val connectorId: In...
1
Kotlin
1
13
e02c9424019e9de5958e44e6d098eb3f0fe29cca
540
ocpp-toolkit
MIT License
app/src/main/kotlin/com/keygenqt/demo_contacts/modules/_common/ui/compose/BoxTextFieldError.kt
keygenqt
395,565,985
false
null
/* * Copyright 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
0
null
3
8
8dc06d7a0c6cd3716c07fd2b2168ff42673c12ab
2,076
android-DemoCompose
Apache License 2.0
core/src/main/kotlin/de/darkatra/bfme2/InputStreamExtensions.kt
DarkAtra
325,887,805
false
null
package de.darkatra.bfme2 import java.io.InputStream import java.nio.charset.Charset import java.nio.charset.StandardCharsets import kotlin.experimental.or fun InputStream.readByte(): Byte = this.readNBytes(1).first() fun InputStream.readShort(): Short = this.readNBytes(2).toLittleEndianShort() fun InputStream.readUS...
3
null
0
3
4d2ed59b8fb3c8a1519f077526ac53abf9c2827f
3,434
bfme2-modding-utils
MIT License
projects/manage-supervision-and-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/service/SentenceService.kt
ministryofjustice
500,855,647
false
{"Kotlin": 3736859, "HTML": 58177, "D2": 30523, "Ruby": 25392, "Shell": 12351, "SCSS": 6240, "HCL": 2712, "Dockerfile": 2414, "JavaScript": 1344, "Python": 268}
package uk.gov.justice.digital.hmpps.service import org.springframework.stereotype.Service import uk.gov.justice.digital.hmpps.api.model.Name import uk.gov.justice.digital.hmpps.api.model.overview.Order import uk.gov.justice.digital.hmpps.api.model.overview.Rar import uk.gov.justice.digital.hmpps.api.model.sentence.* ...
5
Kotlin
0
2
c40289386a614498b9569a1bdfc09f7e6409c2bd
5,556
hmpps-probation-integration-services
MIT License
app/src/main/java/ir/roohi/farshid/reminderpro/listener/OnClickItemLocationListener.kt
FarshidRoohi
156,371,913
false
null
package ir.roohi.farshid.reminderpro.listener import ir.roohi.farshid.reminderpro.model.LocationEntity /** * Created by <NAME>. * ReminderPro | Copyrights 1/5/19. */ interface OnClickItemLocationListener { fun onClickItemLocation(position: Int, element: LocationEntity) }
9
Kotlin
8
32
ca8057f117442ae1ff292179723d0f779efbde7a
281
ReminderPro
Apache License 2.0
app/src/test/java/ca/hojat/gamehub/feature_info/domain/GetGameInfoUseCaseImplTest.kt
hojat72elect
574,228,468
false
null
package ca.hojat.gamehub.feature_info.domain import app.cash.turbine.test import ca.hojat.gamehub.core.domain.entities.DomainException import ca.hojat.gamehub.feature_info.GAME_INFO import ca.hojat.gamehub.feature_info.INVOLVED_COMPANY import ca.hojat.gamehub.core.common_testing.domain.DOMAIN_ERROR_UNKNOWN import ca.h...
0
null
8
14
0d89fb6e48ea00eb2063b9c415c924730be0a29a
4,640
GameHub
MIT License
app/src/main/java/com/android/ricknmorty/dagger/RepositoriesModule.kt
TejasDeshmukh19
872,638,641
false
{"Kotlin": 113426}
package com.android.ricknmorty.dagger import com.ricknmorty.characters.data.repos_impl.CharactersRepository import com.ricknmorty.data.domain.repos.ICharactersRepository import com.ricknmorty.data.domain.repos.IEpisodesRepository import com.ricknmorty.episodes.data.repos_impl.EpisodesRepository import dagger.Module im...
0
Kotlin
0
0
69c0f9c4571eaba0d21bfc832b28569dbf2226c2
789
RicknMorty-Android
Apache License 2.0
app/src/main/java/com/dyor/scoop/Job.kt
dyor
612,497,379
false
null
package com.dyor.scoop import android.os.Parcelable import androidx.compose.ui.tooling.preview.PreviewParameterProvider import com.google.firebase.Timestamp import kotlinx.android.parcel.Parcelize @Parcelize class Job( var jobId: String? = null, var jobName: String? = null, var buyerId: String? = null, var se...
14
Kotlin
0
0
f1610b8ba063714817c9f72edaa50ac3c8de87d6
1,472
scoop
MIT License