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
pulsar-plugins/pulsar-filter/src/main/kotlin/ai/platon/pulsar/filter/common/AbstractRegexUrlFilter.kt
platonai
124,882,400
false
null
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
1
null
32
110
f93bccf5075009dc7766442d3a23b5268c721f54
5,269
pulsar
Apache License 2.0
RecyclerPlus/src/main/java/argon/digital/toolkit/ToolKitRecyclerOnBottomReached.kt
augustus-mutinda
496,873,811
false
{"Java": 9912, "Kotlin": 4478}
package argon.digital.toolkit interface ToolKitRecyclerOnBottomReached { fun onBottomReached(position: Int) }
1
null
1
1
2ebb4f073bff41f5abbe5cb9da84d2f5b7ef0e30
114
recycler-plus
Apache License 2.0
tooling/custom-lint-rules/src/test/java/com/mparticle/lints/ReferrerReceiverTest.kt
mchuangatmp
509,540,238
true
{"INI": 3, "JSON": 3, "Markdown": 4, "Gradle": 11, "Shell": 6, "Batchfile": 1, "Text": 1, "JavaScript": 1, "Ignore List": 1, "Git Config": 1, "Kotlin": 62, "Java": 289, "XML": 8, "YAML": 9, "Java Properties": 1, "Groovy": 3, "Proguard": 3}
package com.mparticle.lints import com.android.SdkConstants.FN_ANDROID_MANIFEST_XML import com.android.tools.lint.checks.infrastructure.LintDetectorTest import com.mparticle.lints.detectors.ReferrerReceiverDetector import org.intellij.lang.annotations.Language import org.junit.Test class ReferrerReceiverTest : LintDe...
10
null
0
0
bdf2476b5c3f280bc40f2ac0b650890fff71ebdb
5,013
mparticle-android-sdk
Apache License 2.0
otros/circuito/src/logic/Componente.kt
JeanCarlosSC
277,609,288
false
{"Java": 112862, "Kotlin": 22454, "Python": 2699}
package logic interface Componente{ fun obtenerSalida(): Boolean }
1
null
1
1
3973b6978b93bf3a203f8ddf9f6ddc87f17978a2
71
codigos-varios
The Unlicense
app/src/main/java/vn/loitp/up/a/func/activityAndService/ActivityServiceCommunicateActivity.kt
tplloi
126,578,283
false
null
package vn.loitp.up.a.func.activityAndService import android.app.Activity import android.content.Intent import android.net.Uri import android.os.Bundle import android.provider.Settings import androidx.activity.result.contract.ActivityResultContracts import com.loitp.annotation.IsFullScreen import com.loitp.annotation....
1
null
1
9
1bf1d6c0099ae80c5f223065a2bf606a7542c2b9
3,872
base
Apache License 2.0
challenge/flutter/all_samples/widgets_mouseregion_onexit_1/android/app/src/main/kotlin/com/example/widgets_mouseregion_onexit_1/MainActivity.kt
davidzou
5,868,257
false
null
package com.example.widgets_mouseregion_onexit_1 import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
1
null
1
4
1060f6501c432510e164578d4af60a49cd5ed681
145
WonderingWall
Apache License 2.0
guides/micronaut-rabbitmq/analytics/kotlin/src/test/kotlin/example/micronaut/AnalyticsServiceTest.kt
micronaut-projects
326,986,278
false
{"Java": 2207487, "Groovy": 1129386, "Kotlin": 977645, "JavaScript": 110091, "HTML": 93452, "CSS": 30567, "Shell": 5473, "AppleScript": 1063, "Python": 47}
/* * Copyright 2017-2024 original authors * * 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 agr...
209
Java
31
36
9f04eb978f4882e883adffb6c95d6a6928d79b29
1,807
micronaut-guides
Creative Commons Attribution 4.0 International
app/src/main/java/com/larrynguyen/notewall/notedetail/NoteDetailViewModel.kt
llarrynguyen
213,621,425
false
null
package com.ancientlore.stickies.notedetail import android.app.Application import android.databinding.ObservableBoolean import android.databinding.ObservableField import android.databinding.ObservableInt import com.ancientlore.stickies.NotesViewModel import com.ancientlore.stickies.data.model.Note import com.ancientlo...
1
Kotlin
1
1
a106ab5e083ffd54ba727af7d61ac4b4e91394e6
2,538
Stickies
MIT License
completion/tests/testData/weighers/basic/UnavailableDslReceiver.kt
JetBrains
278,369,660
false
null
// RUNTIME package baz @DslMarker annotation class Marker @Marker class A { val booFromA = "" fun booFromA2() {} fun section(block: B.() -> Unit) {} } @Marker class B { fun booFromB() {} } fun x() { A().apply { section { boo<caret> } } } fun booUnrelated() { ...
284
null
5162
82
cc81d7505bc3e9ad503d706998ae8026c067e838
386
intellij-kotlin
Apache License 2.0
Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/test/hometestcards/ui/HomeTestCardsFragmentModule.kt
corona-warn-app
268,027,139
false
null
package de.rki.coronawarnapp.test.hometestcards.ui import dagger.Binds import dagger.Module import dagger.multibindings.IntoMap import de.rki.coronawarnapp.util.viewmodel.CWAViewModel import de.rki.coronawarnapp.util.viewmodel.CWAViewModelFactory import de.rki.coronawarnapp.util.viewmodel.CWAViewModelKey @Module abst...
6
Kotlin
514
2,495
d3833a212bd4c84e38a1fad23b282836d70ab8d5
592
cwa-app-android
Apache License 2.0
doc-examples/example-kotlin-ksp/src/main/kotlin/example/Application.kt
micronaut-projects
417,139,497
false
{"Java": 1329795, "Groovy": 735076, "Kotlin": 22455}
package example import io.micronaut.runtime.Micronaut.* import io.micronaut.serde.annotation.SerdeImport fun main(args: Array<String>) { build() .args(*args) .packages("com.example") .start() } @SerdeImport( value = Product::class, mixin = ProductMixin::class) // <1> class Serdes ...
50
Java
18
26
e239903659ba09a1c3d9453a446ae6147dd5fffe
322
micronaut-serialization
Apache License 2.0
Section 2/namedArguments.kt
PacktPublishing
187,770,226
false
null
package kotlinbasics.kotlin fun searchForNamed(array: IntArray, startIndex: Int = 0, endIndex: Int = array.size, searchNumber: Number = 1): IntArray { //search implementation return array } class NamedArguments { fun call() { val targetArra...
1
Kotlin
2
3
79ca85b1ac6d71408dfa8ed2061785aa42dc111f
479
Mastering-Kotlin-for-Android-Development
MIT License
src/main/kotlin/com/leanforge/soccero/team/TeamService.kt
michalkoziczak
178,731,776
false
null
package com.leanforge.soccero.team import com.leanforge.soccero.league.domain.LeaguePlayer import com.leanforge.soccero.team.domain.LeagueTeam import com.leanforge.soccero.team.domain.TeamBuilder import com.leanforge.soccero.team.domain.TeamExclusion import com.leanforge.soccero.team.repo.TeamExclusionRepository impor...
1
null
1
1
e1826352b0d582dbc5961acde7135b6bc5506ade
1,159
soccero-panda-manta
Do What The F*ck You Want To Public License
plugins/github/test/org/jetbrains/plugins/github/GithubUrlUtilTest.kt
hieuprogrammer
284,920,751
false
null
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.plugins.github import com.intellij.openapi.util.Pair import junit.framework.TestCase import org.jetbrains.plugins.github.api.GHRepositoryPath import org.jet...
1
null
1
2
dc846ecb926c9d9589c1ed8a40fdb20e47874db9
9,168
intellij-community
Apache License 2.0
sample/src/main/java/org/spacebison/calel/sample/MonthFragment.kt
SpaceBison
176,611,048
false
null
package org.spacebison.calel.sample import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import kotlinx.android.synthetic.main.fragment_calendar.* import org.spacebison.calel.time.YearMonth import org.spacebison.calel.t...
0
Kotlin
0
0
f33eb30887516849503c1df778a82a2f86083b7b
1,345
cal-el
Apache License 2.0
combusis/src/main/java/cn/rong/combusis/manager/RCChatRoomMessageManager.kt
rongcloud
379,792,178
false
null
/* * Copyright © 2021 RongCloud. All rights reserved. */ package cn.rong.combusis.manager import cn.rong.combusis.message.* import io.reactivex.rxjava3.android.schedulers.AndroidSchedulers import io.reactivex.rxjava3.core.Observable import io.reactivex.rxjava3.subjects.PublishSubject import io.rong.imlib.IRongCoreC...
0
Java
6
6
46ba4e512f2a5b24c9000a6b37ccc12a52857468
3,462
rongcloud-scene-android-demo
Apache License 2.0
build-logic/src/main/kotlin/ckbuild/tests/GenerateProviderTestsTask.kt
whyoleg
492,907,371
false
{"Kotlin": 1074574, "JavaScript": 318}
/* * Copyright (c) 2024 <NAME>. Use of this source code is governed by the Apache 2.0 license. */ package ckbuild.tests import org.gradle.api.* import org.gradle.api.file.* import org.gradle.api.provider.* import org.gradle.api.tasks.* abstract class GenerateProviderTestsTask : DefaultTask() { @get:Input a...
19
Kotlin
20
302
69b77a88b4b81109704475ed02be48d263d1a1c8
3,567
cryptography-kotlin
Apache License 2.0
src/main/kotlin/apps/games/Exceptions.kt
JetBrains
61,370,887
false
null
package apps.games import proto.GameMessageProto import proto.GenericMessageProto /** * Created by user on 6/24/16. */ /** * Someone tried to interfere with game state * (Impossible state reached) */ class GameStateException(msg: String) : Exception(msg) {} class GameInputException(msg: String) : Exception(msg...
2
null
4
9
319cab30277110edaa698b237b3c77e5380377bf
824
p2p-games
Apache License 2.0
app-compose/src/main/java/com/dexcare/sample/presentation/MainViewModel.kt
DexCare
305,396,501
false
{"Kotlin": 331496}
package com.dexcare.sample.presentation import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.dexcare.sample.auth.AuthProvider import com.dexcare.sample.auth.LoginResult import com.dexcare.sample.auth.Session import com.dexcare.sample.auth.SessionManager import dagger.hilt.android.lif...
0
Kotlin
0
1
5c6e5e239b37c64b29de80086b3111ca5da83667
2,145
DexCareSDK.Android.SampleApp
MIT License
behind/src/main/kotlin/com/yourssu/behind/config/SwaggerConfig.kt
mornings9047
328,353,294
false
null
package com.yourssu.behind.config import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport import sp...
1
Kotlin
0
0
fd17c0e8d39fda5ed07b5444024786559aaa7102
2,563
behind-backend
MIT License
javatests/artifacts/hilt-android/simpleKotlin/deep-android-lib/src/test/java/dagger/hilt/android/simpleKotlin/deep/InternalAccessLocalTest.kt
google
7,968,417
false
null
/* * Copyright (C) 2021 The Dagger Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
201
null
1947
16,475
1b1ea095db71d0364cc2ee9cd53b9192ff5e4ddb
980
dagger
Apache License 2.0
kotlin/src/main/kotlin/org/zhiwei/kotlin/concepts/SyntaxInheritance.kt
iOrchid
156,658,695
false
{"Kotlin": 1005931, "Java": 2777}
package org.zhiwei.kotlin.concepts import kotlin.properties.Delegates /** * Kotlin语法基础之 继承 */ open class SyntaxInheritance { //region 0. Kotlin中所有类都默认继承自Any(可null类型则对应Any?),都有equals,hashcode,toString函数; //1. 默认类是final的,若需要可被继承,则显示标记为open,继承类,使用:冒号 open class SuperClass { constructor(name: Stri...
0
Kotlin
111
627
2c24cb98da0b1731279fd9c1473c1aa229198fa7
3,684
android-jetpack-demo
Apache License 2.0
app/src/main/java/lk/spacewa/boilerplate/utils/rx/AppSchedulerProvider.kt
android-imdad
277,607,755
false
null
package lk.spacewa.boilerplate.utils.rx import io.reactivex.rxjava3.schedulers.Schedulers import io.reactivex.rxjava3.android.schedulers.AndroidSchedulers import io.reactivex.rxjava3.core.Scheduler /** * Created by Imdad on 05/11/20. */ class AppSchedulerProvider : SchedulerProvider { override fun computation()...
0
null
2
4
b28a1d6b8bea7aace7b1a8668f2d8bfbde7d3ac9
543
Android-MVVM-Dagger-Hilt-Boilerplate
Apache License 2.0
client/app/src/main/java/com/healthc/app/utils/BindingAdapter.kt
Solution-Challenge-HealthC
601,915,784
false
{"Kotlin": 175023}
package com.healthc.app.utils import android.graphics.drawable.Drawable import android.widget.ImageView import androidx.databinding.BindingAdapter import com.bumptech.glide.Glide import com.bumptech.glide.load.engine.DiskCacheStrategy import com.bumptech.glide.request.RequestOptions import com.healthc.app.R import com...
5
Kotlin
1
2
6e392aa1ed937bef5fd79abc6fe7653b2bad7bf9
2,358
HealthC_Android
MIT License
app/src/main/java/io/tokend/template/extensions/Intent.kt
tokend
153,459,333
false
null
package io.tokend.template.extensions import android.content.Intent import org.tokend.sdk.utils.BigDecimalUtil import java.math.BigDecimal /** * Allows to specify default value for string extra * @return extra value or [default] if there is no such extra */ fun Intent.getStringExtra(key: String, default: String): ...
1
null
9
24
297a2dd4b1017f49c37e7a23e4cea0e7682c99d4
1,254
android-client
Apache License 2.0
app/src/main/java/pl/polsl/workflow/manager/client/ui/base/BaseFragment.kt
SzymonGajdzica
306,075,061
false
null
package pl.polsl.workflow.manager.client.ui.base import android.os.Bundle import android.view.View import android.view.WindowManager import androidx.fragment.app.Fragment import pl.polsl.workflow.manager.client.R import pl.polsl.workflow.manager.client.ui.view.SimpleDialog import pl.polsl.workflow.manager.client.util....
0
Kotlin
0
0
93c99cc67c7af0bc55ca8fb03f077cdd363cb7e8
1,363
workflow-manager-client
MIT License
app/src/main/java/com/crossbowffs/quotelock/data/api/QuoteViewData.kt
Yubyf
60,074,817
false
{"Kotlin": 995709}
package com.crossbowffs.quotelock.data.api data class QuoteViewData(val text: String = "", val source: String = "")
8
Kotlin
3
79
7e82ba2c535ed6f68a81c762805038f2b8bf0e4f
116
QuoteLockX
MIT License
AsteriodRadar/app/src/androidTest/java/github/informramiz/asteriodradar/AsteroidsDatabaseTests.kt
informramiz
256,688,156
false
null
package github.informramiz.asteriodradar import androidx.room.Room import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.platform.app.InstrumentationRegistry import github.informramiz.asteriodradar.model.database.AsteroidsDatabase import github.informramiz.asteriodradar.model.database.dao.AsteroidD...
0
Kotlin
0
0
6fe2d816faa5304c831ab83a4c31957034e1b39e
1,777
NASA-NearEarthObjects-Radar
MIT License
genericrecycleradapter/src/main/java/com/gelostech/genericrecycleradapter/RecyclerViewAdapter.kt
tirgei
148,040,441
false
null
package com.gelostech.genericrecycleradapter import android.support.v7.widget.RecyclerView import android.view.View import android.view.ViewGroup /** * RecyclerViewAdapter takes 2 arguments: * @param layout -> The item layout to be inflated * @param callbacks -> The AdapterCallback interface which is used to se...
0
null
3
4
bdab1ac9f9ea43eef1ebf850ceac30c5ca9d9051
2,019
Generic-RecyclerView-Adapter
The Unlicense
geary-papermc-spawning/src/main/kotlin/com/mineinabyss/geary/papermc/spawning/spawn_types/GearyReadEntityTypeEvent.kt
MineInAbyss
592,086,123
false
{"Kotlin": 258814}
package com.mineinabyss.geary.papermc.spawning.spawn_types import com.mineinabyss.idofront.typealiases.BukkitEntity import org.bukkit.event.Event import org.bukkit.event.HandlerList class GearyReadEntityTypeEvent( val entity: BukkitEntity, ) : Event() { var type: String? = null companion object { ...
1
Kotlin
0
5
e2fffea48d58db4ea9aa1a58ef46171b29a8a7eb
501
geary-papermc
MIT License
src/lib/kotlin/slatekit-entities/src/main/kotlin/slatekit/entities/services/EntityServices.kt
ColleenKeegan
174,519,919
false
null
package slatekit.entities.services import slatekit.entities.core.Entity import slatekit.entities.core.IEntityService /** * Base entity service with generics to support all CRUD operations. * Delegates calls to the entity repository, and also manages the timestamps * on the entities for create/update operations * ...
1
null
1
1
bd1d55f2191f729149e901be102c22d7c719793d
859
slatekit
Apache License 2.0
src/main/kotlin/com/creepersan/bingimage/lib/file/exception/FilePathException.kt
CreeperSan
289,059,421
false
null
package com.creepersan.bingimage.lib.file.exception import java.lang.Exception class FilePathException(msg: String): Exception(msg)
0
Kotlin
0
0
ca7162477b5a041305e2830124380ae7c9dd97ad
133
bing-image-java
MIT License
src/main/kotlin/de/menkalian/pisces/database/data/DatabaseSongEntry.kt
Menkalian
471,663,267
false
null
package de.menkalian.pisces.database.data import de.menkalian.pisces.database.jpa.SongEntryDto /** * Informationen zu einem Song, die aus der Datenbank gelesen wurden. * Dies ist keine vollständige Repräsentation einer [TrackInfo][de.menkalian.pisces.audio.data.TrackInfo]. * * @property title Titel/Name des gespe...
0
Kotlin
0
1
f37a1d8ecf612818ac9eed7976c717767e5259d0
713
pisces
Apache License 2.0
app/src/main/kotlin/net/yuzumone/ssaptsal/MainActivity.kt
yuzumone
63,294,111
false
null
/* * Copyright (C) 2016 yuzumone * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
1
null
1
1
bec2d6d91c4c4916cc37e58df90d5674a86cbf72
1,225
Ssaptsal
Apache License 2.0
app/src/main/java/com/stellarcontainersfsm/features/stockAddCurrentStock/api/ShopAddStockRepository.kt
DebashisINT
756,252,499
false
{"Kotlin": 14218175, "Java": 1004755}
package com.stellarcontainersfsm.features.stockAddCurrentStock.api import com.stellarcontainersfsm.base.BaseResponse import com.stellarcontainersfsm.features.location.model.ShopRevisitStatusRequest import com.stellarcontainersfsm.features.location.shopRevisitStatus.ShopRevisitStatusApi import com.stellarcontainersfsm....
0
Kotlin
0
0
afb97c29d93fc5bd8668cd16d2525947ad51b8a5
1,033
StellarContainersFSM
Apache License 2.0
features/tournaments/presentation/list-component/src/main/java/com/mctech/pokergrinder/tournament/presentation/list_component/TournamentListCallback.kt
MayconCardoso
539,349,342
false
null
package com.mctech.pokergrinder.tournament.presentation.list_component import com.mctech.pokergrinder.tournament.domain.entities.Tournament /** * Used to communicate with client. */ fun interface TournamentListCallback { /** * Called whenever a [tournament] is clicked. */ fun onTournamentClicked(tourname...
7
Kotlin
0
7
d4a6f48fa73c0259d87934873a8ccb63b53694f3
338
poker-grinder
Apache License 2.0
app/src/main/java/com/mundocode/dragonball/views/Music.kt
juanppdev
798,198,622
false
{"Kotlin": 63616}
package com.mundocode.dragonball.views import android.Manifest import android.annotation.SuppressLint import android.content.Context import android.media.MediaPlayer import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Row import androidx...
0
Kotlin
0
3
4cf5cfa1d929dc2bc141d99e036ac1f654e81858
7,178
Dragon-Ball
Apache License 2.0
app/src/main/java/org/grandtestauto/indoflash/activity/WordListDisplay.kt
TimLavers
95,000,169
false
null
package org.grandtestauto.indoflash.activity import android.app.Activity import android.os.Bundle import android.view.Menu import android.view.MenuItem import kotlinx.android.synthetic.main.activity_word_list.* import org.grandtestauto.indoflash.IndoFlash import org.grandtestauto.indoflash.R import org.grandtestauto.i...
1
Kotlin
1
1
88c9131e6f7ab3ce41af62d990ae5539f131aa1b
7,795
IndoFlashKotlin
MIT License
app/src/main/java/mil/nga/msi/datasource/noticetomariners/ChartCorrection.kt
ngageoint
588,211,646
false
{"Kotlin": 1872283}
package mil.nga.msi.datasource.noticetomariners import java.time.Instant data class Correction( val action: String?, val text: String? ) data class ChartCorrection( val chartId: Int, val chartNumber: String, val internationalNumber: String? = null, val starred: Boolean? = null, val limitedDistri...
0
Kotlin
0
0
4133f780985162b25905c3b706a2be04ea1da4e0
1,297
marlin-android
MIT License
src/main/kotlin/matt/nn/deephys/load/test/dtype/dtype.kt
mjgroth
518,764,053
false
null
package matt.nn.deephys.load.test.dtype import kotlinx.serialization.Serializable import matt.collect.set.contents.Contents import matt.collect.set.contents.contentsOf import matt.lang.List2D import matt.lang.lastIndex import matt.math.mat.argmaxn.argmaxn2 import matt.math.reduce.mean import matt.math.reduce.sumOf imp...
0
Kotlin
0
1
d80d3f1357f67570c5a8eb7b3d1b1e39e2dd5f96
8,161
deephys
MIT License
src/commonTest/kotlin/com/sunnychung/lib/multiplatform/kdatetime/Demo.kt
sunny-chung
692,666,572
false
{"Kotlin": 71900}
package com.sunnychung.lib.multiplatform.kdatetime import kotlin.test.Test class Demo { @Test fun demo() { /* Now, Time Zone Offset, Formatting, Calendar, Parsing */ val now = KInstant.now() println(now.toMilliseconds()) // 1694618242720 val localZoneOffset = KZoneOffset.loc...
0
Kotlin
0
0
b2143e38f1e5df570ebc5457248c3518a063f457
3,029
kdatetime-multiplatform
MIT License
library/renetik-base/src/main/java/renetik/android/framework/store/property/nullable/CSJsonTypeNullableStoreEventProperty.kt
rene-dohan
69,289,476
false
null
package renetik.android.framework.store.property.nullable import renetik.android.framework.json.data.CSJsonObject import renetik.android.framework.store.CSStoreInterface import kotlin.reflect.KClass class CSJsonTypeNullableStoreEventProperty<T : CSJsonObject>( store: CSStoreInterface, key: String, val type: KClas...
0
Kotlin
2
1
e4957bb5d7be17acfc411af2387bf2054e9ac11e
654
renetik-library-android
Apache License 2.0
library/src/test/java/io/github/anderscheow/validator/rules/common/LengthRuleTest.kt
anderscheow
111,089,399
false
null
package io.github.anderscheow.validator.rules.common import androidx.annotation.StringRes import org.junit.After import org.junit.Assert.* import org.junit.Before import org.junit.Test import java.util.* class LengthRuleTest { private lateinit var lengthRule: LengthRule @Before @Throws(Exception::class)...
1
null
13
129
917c3e857eccbffd803409d142ad344fd31028d7
4,106
Validator
MIT License
rmrstories/src/main/java/com/redmadrobot/stories/stories/StoriesController.kt
redmadrobot-tomsk
472,596,472
false
null
package com.redmadrobot.stories.stories import cache.StoriesConfig import com.redmadrobot.stories.models.Story import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.flow.Flow /** * Controller for working with stories storage * * Must be initialized [cache.StoriesCacheFactory.init] before using it * ...
0
Kotlin
0
6
771c38f73441260bb72c23cc000ba39687e1b57d
806
android-stories
MIT License
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/ContextMenuProvider.kt
JetBrains
351,708,598
false
null
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
6
null
16
55
4027dce3c6ea1ababebac683cbfdbbe3cafbefba
6,278
androidx
Apache License 2.0
src/main/kotlin/com/chillibits/coronaaid/events/SseDataPreparedEvent.kt
StudentsAgainstCovid19
264,461,326
false
null
package com.chillibits.coronaaid.events import com.chillibits.coronaaid.model.dto.InfectedRealtimeDto import org.springframework.context.ApplicationEvent class SseDataPreparedEvent(source: Any, val changedInfected: Set<InfectedRealtimeDto>): ApplicationEvent(source)
5
Kotlin
0
4
a38fa08cdcde65f9b5da816b9e0812581c8e90ab
268
corona-aid-api
RSA Message-Digest License
purchases/src/main/kotlin/com/revenuecat/purchases/listenerConversions.kt
RevenueCat
127,346,826
false
null
package com.revenuecat.purchases import android.app.Activity import com.revenuecat.purchases.interfaces.GetStoreProductsCallback import com.revenuecat.purchases.interfaces.LogInCallback import com.revenuecat.purchases.interfaces.ProductChangeCallback import com.revenuecat.purchases.interfaces.PurchaseCallback import c...
19
Kotlin
27
137
09508d2668f8e6855203bec8969e26afcdcefe0e
10,530
purchases-android
MIT License
library/src/main/java/com/angcyo/library/utils/FileUtils.kt
hongri-xiao
316,100,224
true
{"Kotlin": 3083452}
package com.angcyo.library.utils import android.content.Context import com.angcyo.library.L import com.angcyo.library.app import com.angcyo.library.getAppString import java.io.File import java.text.DateFormat import java.text.SimpleDateFormat import java.util.* /** * Android Q 扩展的程序目录操作 * * 卸载后会丢失, 不需要申请权限 * * /...
0
null
0
0
830ec13fac01997ab2491473308bbc854c840002
3,483
UICore
MIT License
experimental/persistence/src/main/kotlin/Moshi.kt
holgerbrandl
299,282,108
false
null
package org.kalasim.examples.hospital import EmergencyRoom import Patient import SetupAvoidanceNurse import com.esotericsoftware.kryo.Kryo import com.esotericsoftware.kryo.io.Output import com.squareup.moshi.Moshi import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory import krangl.DataFrameRow import krang...
7
null
10
71
550f7dde2db737ad6d4186a3f439894d1e0455f2
1,298
kalasim
MIT License
app/src/main/java/com/olq/piggifyme/injector/Injector.kt
hnjm
188,769,262
true
{"Kotlin": 33096}
package com.olq.piggifyme.injector import android.content.Context import com.olq.piggifyme.data.database.LocalDataSource import com.olq.piggifyme.data.database.PiggifyDbHelper import com.olq.piggifyme.data.Model /** * Created by olq on 11.11.17. */ //TODO: to be swapped for Dagger2 object Injector { fun provid...
0
Kotlin
0
1
5aec0caf13003f0ee8464f372adba39c3b84c125
467
piggify-me
Apache License 2.0
line-awesome/src/commonMain/kotlin/compose/icons/lineawesomeicons/MapMarkedAltSolid.kt
DevSrSouza
311,134,756
false
{"Kotlin": 36719092}
package compose.icons.lineawesomeicons import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter ...
17
Kotlin
25
571
a660e5f3033e3222e3553f5a6e888b7054aed8cd
3,997
compose-icons
MIT License
replicant/src/main/java/com/lockwood/replicant/factory/Factory.kt
yushman
382,277,000
false
{"Kotlin": 82365, "Groovy": 2193}
package com.lockwood.replicant.factory interface Factory<E, T> { fun create(argument: E): T }
0
Kotlin
1
0
27a6e7587274cd9e6a9ee0021dac33ce71cf00d3
97
nier
Apache License 2.0
data_wallet/src/main/java/io/igrant/data_wallet/models/connection/ConnectionV2Response.kt
decentralised-dataexchange
344,557,240
false
null
package io.igrant.data_wallet.models.connection import com.google.gson.annotations.SerializedName data class ConnectionV2Response( @SerializedName("@type") var type: String? = null, @SerializedName("@id") var id: String? = null, @SerializedName("from") var from: String? = null, @SerializedName("to") v...
1
Kotlin
0
1
dd1ba6a52abd1af2ca22babb330bbbd77867b6c3
473
ama-android-sdk
Apache License 2.0
src/main/java/frc/robot/Constants.kt
blair-robot-project
713,041,967
false
{"Kotlin": 22454}
package frc.robot /* * The Constants file provides a convenient place for teams to hold robot-wide * numerical or boolean constants. This file should not be used for any other purpose. * All String, Boolean, and numeric (Int, Long, Float, Double) constants should use * `const` definitions. Other constant types sho...
0
Kotlin
0
3
a0e8b55230453859d0190286670ce721df48490e
720
rookiebunnybot2023
MIT License
Plant App/app/src/main/java/com/example/myproject/BiljkaDatabase.kt
bbandic1
830,579,083
false
{"Kotlin": 174133}
package com.example.myproject import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import androidx.room.TypeConverters @Database(entities = [Biljka::class, BiljkaBitmap::class], version = 1) @TypeConverters(MedicinskaKoristConvert::class, ProfilOkusa...
0
Kotlin
0
0
49d050b368975f57c0d5fedd05f1eae121c88ed5
1,010
Android-Studio-Applications
MIT License
src/main/kotlin/com/jalgoarena/web/SignupController.kt
jalgoarena
77,315,876
false
null
package com.jalgoarena.web import com.jalgoarena.data.EmailIsAlreadyUsedException import com.jalgoarena.data.UserRepository import com.jalgoarena.data.UsernameIsAlreadyUsedException import com.jalgoarena.domain.User import org.intellij.lang.annotations.Language import org.springframework.beans.factory.annotation.Autow...
1
Kotlin
22
3
e500523918a9a8f0c39ad93ff7e112adc433dd32
2,346
JAlgoArena-Auth
Apache License 2.0
app/src/androidTest/java/com/duckduckgo/app/settings/SettingsViewModelTest.kt
andrey-p
164,923,819
false
null
/* * Copyright (c) 2017 DuckDuckGo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
1
null
1
1
e4328e68fda04b2e7d874fd0c974311014afe9fe
7,785
Android
Apache License 2.0
gui/src/test/kotlin/com/briarcraft/gui/VirtualInventoryTest.kt
toddharrison
581,553,858
false
null
//package com.briarcraft.gui // //import org.bukkit.Material //import org.bukkit.inventory.ItemStack //import org.junit.jupiter.api.Nested //import org.junit.jupiter.api.Test //import org.mockito.kotlin.* //import java.util.NoSuchElementException //import kotlin.test.* // //class VirtualInventoryTest { // @Test // ...
1
Kotlin
1
4
d75ea526a8920507601845ddcefe033883be962e
14,741
BriarCode
MIT License
kotest-assertions/kotest-assertions-core/src/jvmTest/kotlin/io/kotest/assertions/nondeterministic/EventuallyTest.kt
kotest
47,071,082
false
{"Kotlin": 4584592, "CSS": 352, "Java": 145}
@file:Suppress("BlockingMethodInNonBlockingContext") package io.kotest.assertions.nondeterministic import io.kotest.assertions.assertSoftly import io.kotest.assertions.fail import io.kotest.assertions.shouldFail import io.kotest.assertions.throwables.shouldThrow import io.kotest.assertions.throwables.shouldThrowAny i...
80
Kotlin
624
4,320
d4fc582d0cf0c60fbc0fcbd39096ceff3e4b6631
11,321
kotest
Apache License 2.0
share.coroutine/src/test/kotlin/mb/pie/share/coroutine/CoroutineShareTests.kt
andyglick
155,148,737
true
{"Kotlin": 184650, "Java": 48643, "Shell": 691}
package mb.pie.share.coroutine import com.nhaarman.mockito_kotlin.mockingDetails import com.nhaarman.mockito_kotlin.spy import kotlinx.coroutines.experimental.* import mb.pie.api.TaskDef import mb.pie.api.test.toLowerCase import mb.pie.runtime.test.RuntimeTestGenerator import org.junit.jupiter.api.Assertions.assertEqu...
0
Kotlin
0
0
784fd231cadd18d47dd5a11f12391828871515b4
1,942
pie
Apache License 2.0
compiler/testData/codegen/bytecodeListing/coroutines/oomInReturnUnit.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...
// WITH_RUNTIME import kotlin.coroutines.* import kotlin.coroutines.intrinsics.* suspend fun some() {} suspend fun test() { try { some() } finally { some() } }
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
190
kotlin
Apache License 2.0
sdk/src/main/java/com/stytch/sdk/common/network/StytchDataResponse.kt
stytchauth
314,556,359
false
null
package com.stytch.sdk.common.network internal open class StytchDataResponse<T>(internal val data: T)
0
Kotlin
0
8
54bf8e28763fbe71d9ec61f5e54e156787b98e00
103
stytch-android
MIT License
keel-sql/src/test/kotlin/com/netflix/spinnaker/keel/sql/SqlUnhealthyRepositoryTests.kt
mai-essam
384,931,532
true
{"Kotlin": 3174055, "Java": 20143, "Slim": 359, "Shell": 338}
package com.netflix.spinnaker.keel.sql import com.netflix.spinnaker.keel.api.Resource import com.netflix.spinnaker.keel.persistence.DummyResourceSpecIdentifier import com.netflix.spinnaker.keel.persistence.UnhealthyRepositoryTests import com.netflix.spinnaker.keel.serialization.configuredObjectMapper import com.netfli...
0
null
0
0
38eda916159b91fc009affc615fdced4f6292322
1,319
keel
Apache License 2.0
app/src/main/java/com/github/kieuthang/login_chat/views/widget/SFUIBoldEditText.kt
KieuThang
155,848,776
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "XML": 31, "Kotlin": 51, "Java": 4}
package com.github.kieuthang.login_chat.views.widget import android.content.Context import android.graphics.Typeface import android.support.design.widget.TextInputEditText import android.util.AttributeSet class SFUIBoldEditText : TextInputEditText { constructor(context: Context) : super(context) { setFon...
1
null
1
1
6285c0a85430f1c2133c531f5ae7b0b106fc2ec6
732
Socket.Chat_Android
MIT License
educational-core/branches/231/src/com/jetbrains/edu/learning/actions/checkPanelActionsUtil.kt
JetBrains
43,696,115
false
{"Kotlin": 4489403, "HTML": 3417303, "CSS": 12216, "Java": 10892, "Python": 10464, "JavaScript": 302, "Shell": 71}
package com.jetbrains.edu.learning.actions import com.jetbrains.edu.learning.courseFormat.tasks.Task fun getLeaveFeedbackActionId(task: Task): String { return LeaveFeedbackAction.ACTION_ID }
5
Kotlin
49
127
468bf55e4663de4662cc9eabe2275c20631159ef
194
educational-plugin
Apache License 2.0
game/pathfinder/src/main/kotlin/org/rsmod/game/pathfinder/reach/WallDecorationBoundary.kt
rsmod
293,875,986
false
null
package org.rsmod.game.pathfinder.reach import org.rsmod.game.pathfinder.collision.CollisionFlagMap import org.rsmod.game.pathfinder.flag.CollisionFlag internal fun reachWallDeco( flags: CollisionFlagMap, x: Int, z: Int, level: Int, destX: Int, destZ: Int, srcSize: Int, shape: Int, ...
0
Kotlin
50
60
bbf35cfdc12b8af62f801c7accf9d1e4db8e4d35
6,844
rsmod
ISC License
db-common/src/main/kotlin/TutorSettings.kt
crowdproj
543,982,440
false
{"Kotlin": 577949, "JavaScript": 59424, "HTML": 20912, "Dockerfile": 361}
package com.gitlab.sszuev.flashcards.common import com.typesafe.config.Config import com.typesafe.config.ConfigFactory import org.slf4j.LoggerFactory object TutorSettings { private val logger = LoggerFactory.getLogger(TutorSettings::class.java) private val conf: Config = ConfigFactory.load() val numberO...
6
Kotlin
0
2
e0c4b899280787d4ec38f4e9572c32c4c0b508f0
765
opentutor
Apache License 2.0
android/src/main/kotlin/io/project5e/lib/media/view/BaseComponentView.kt
ShenYu0812
345,866,114
false
{"Objective-C": 134674, "Kotlin": 93060, "TypeScript": 48250, "Java": 3285, "JavaScript": 1681, "Ruby": 1254, "C": 207, "Swift": 67}
package io.project5e.lib.media.view import androidx.constraintlayout.widget.ConstraintLayout import com.facebook.react.uimanager.ThemedReactContext @Suppress("ViewConstructor") open class BaseComponentView constructor(themedReactContext: ThemedReactContext) : ConstraintLayout(themedReactContext) { private val me...
0
Objective-C
0
0
3576cf6ccee413e97b757e2461446886dead6d23
615
react-native-awesome-medialib
MIT License
android/engine/src/main/java/org/smartregister/fhircore/engine/ui/components/Dot.kt
opensrp
339,242,809
false
null
/* * Copyright 2021 Ona Systems, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
150
Kotlin
8
17
5d69569435cb30735eff95f98f29aed1f7b16b4f
1,611
fhircore
Apache License 2.0
android/engine/src/main/java/org/smartregister/fhircore/engine/ui/components/Dot.kt
opensrp
339,242,809
false
null
/* * Copyright 2021 Ona Systems, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
150
Kotlin
8
17
5d69569435cb30735eff95f98f29aed1f7b16b4f
1,611
fhircore
Apache License 2.0
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/Flask.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.rounded.bold import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter im...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,638
icons
MIT License
multiplatform-boost-network/src/commonMain/kotlin/io/boost/network/util/KSerializer.kt
LiveUI
158,391,874
false
null
package io.boost.network.util import io.boost.network.model.* import io.ktor.client.features.json.JsonSerializer import io.ktor.client.features.json.serializer.KotlinxSerializer object KSerializer { val serializer: JsonSerializer = KotlinxSerializer().apply { setMapper(AuthRequest::class, AuthRequest.seri...
0
Kotlin
0
0
fefcec8417b6205c1356d82debafe1fd22e66aac
1,633
BoostSDK
MIT License
edo/src/main/java/com/droidteahouse/edo/vo/Info.kt
cloudbank
141,088,181
false
{"Gradle": 3, "Markdown": 1, "CMake": 1, "Proguard": 1, "XML": 14, "Java": 3, "Kotlin": 34, "C++": 1, "Ignore List": 1}
package com.droidteahouse.edo.vo import com.google.gson.annotations.SerializedName data class Info( @SerializedName("totalrecordsperquery") val totalrecordsperquery: Int = 0, @SerializedName("totalrecords") val totalrecords: Int = 0, @SerializedName("pages") val pages: Int = 0, @Serial...
1
null
1
1
2dd55b9721342989d063151fc10f06c8dc766cfa
411
edo
Apache License 2.0
features/signup/src/main/java/com/kape/signup/ui/tv/TvConsentScreen.kt
pia-foss
808,533,574
false
{"Kotlin": 1249493}
package com.kape.signup.ui.tv import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer impo...
3
Kotlin
0
4
151ea781036e280fcbfecfcb5716c7881fc802c1
5,106
mobile-android
MIT License
app/src/main/java/com/implizstudio/android/app/androidwarungkuowner/data/repository/loading/LoadingRepositoryImpl.kt
fajaragungpramana
330,585,911
false
null
package com.implizstudio.android.app.androidwarungkuowner.data.repository.loading import com.implizstudio.android.app.androidwarungkuowner.data.model.Version import com.implizstudio.android.app.androidwarungkuowner.data.model.response.WarungKuResponse import com.implizstudio.android.app.androidwarungkuowner.data.remot...
0
Kotlin
0
1
b2073dbef72b61c365ba1c8a0b6cdbeeb25054d1
1,047
android-warungku-owner-old
Apache License 2.0
api/src/main/kotlin/com/google/prefab/api/LibraryReference.kt
google
219,046,212
false
{"Kotlin": 190139, "Shell": 140}
/* * Copyright 2019 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 ...
35
Kotlin
34
194
176f5b1d6fc90297271b44c5452a6ebd9a98c39f
5,563
prefab
Apache License 2.0
code/annotations/AnnoController.kt
kurbaniec
200,803,286
false
{"Kotlin": 136113, "HTML": 6650}
package pass.salt.code.annotations /** * Marks a class as a Controller configurator for requests. */ @Retention(AnnotationRetention.RUNTIME) @Target(AnnotationTarget.CLASS) @Scan annotation class Controller() /** * Mapping for GET-Request endpoint. * Only viable in classes marked with [Controller]. */ @Retention...
0
Kotlin
0
2
1feaa88188c9079b8a0797257c8275f7406bafff
955
salt
MIT License
transport/tcp/src/main/kotlin/io/web3j/libp2p/transport/tcp/provider/netty/AccumulatorInboundHandler.kt
jrhea
189,035,741
true
{"Kotlin": 281058}
/* * Copyright 2019 BLK Technologies Limited (web3labs.com). * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
0
Kotlin
0
0
d72c01568658597a9cde516702a113ba39930f9b
7,350
libp2p
Apache License 2.0
android/app/src/main/java/com/algorand/android/ui/wctransactionrequest/WalletConnectTransactionRequestFragment.kt
perawallet
364,359,642
false
{"Swift": 8753304, "Kotlin": 7709389, "Objective-C": 88978, "Shell": 7715, "Ruby": 4727, "C": 596}
/* * Copyright 2022 Pera Wallet, LDA * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,...
22
Swift
62
181
92fc77f73fa4105de82d5e87b03c1e67600a57c0
16,215
pera-wallet
Apache License 2.0
app/src/main/java/wardani/dika/moviedbmandiri/ui/adapter/viewHolder/NoMoreDataViewHolder.kt
dikawardani24
292,583,501
false
null
package wardani.dika.moviedbmandiri.ui.adapter.viewHolder import androidx.recyclerview.widget.RecyclerView import wardani.dika.moviedbmandiri.databinding.ItemNoMoreDataBinding class NoMoreDataViewHolder(binding: ItemNoMoreDataBinding): RecyclerView.ViewHolder(binding.root)
0
Kotlin
0
0
b1992a8398228ac33420d5b13229836c118b0ec2
275
movieDbMandiri
MIT License
Cinema101/app/src/main/java/com/muhammetuslu/cinema101/dialog/ForgotPasswordFragment.kt
muhammetuslu78
272,187,146
false
null
package com.muhammetuslu.cinema101.dialog import android.content.Context import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Button import android.widget.EditText import android.widget.Toast import androidx.fragment.app.DialogFragmen...
0
Kotlin
0
0
b9d2e5c9627cf1a19e088bcb8016e68f11dcf2dc
1,624
Cinema-101
The Unlicense
kPermission/src/iosMain/kotlin/io/github/kpermissions/handler/permissions/requestStoragePermission.kt
the-best-is-best
825,391,801
false
{"Kotlin": 45262, "HTML": 715, "Swift": 522}
package io.github.kpermissions.handler.permissions fun requestStoragePermission(onPermissionResult: (Boolean) -> Unit) { onPermissionResult(true) }
0
Kotlin
0
0
83ff778f3acdaa9e51d8bca880972a1e9503ca8a
154
kPermissions
Apache License 2.0
app/src/main/java/com/daou/scrollbottomnavigation/BottomSheetBehaviorExt.kt
DaouMobile
465,958,535
false
null
package com.daou.scrollbottomnavigation import android.view.View import com.google.android.material.bottomsheet.BottomSheetBehavior import com.google.android.material.bottomsheet.BottomSheetBehavior.STATE_COLLAPSED import com.google.android.material.bottomsheet.BottomSheetBehavior.STATE_EXPANDED fun <T : View> Bottom...
0
Kotlin
0
3
500d21858b642833082ea07622ae43357214cd3f
452
ScrollBottomNavigationView
MIT License
app/src/main/java/com/romnan/chillax/data/model/SleepTimerSerializable.kt
deddyrumapea
489,980,579
false
{"Kotlin": 141585}
package com.romnan.chillax.data.model import kotlinx.serialization.Serializable @Serializable data class SleepTimerSerializable( val timerRunning: Boolean, val timeLeftInMillis: Long, ) { companion object { val defaultValue = SleepTimerSerializable( timerRunning = false, ti...
0
Kotlin
0
0
0eba27068157337c94dc62ccc5689b5dfe17fd41
358
Chillax
Apache License 2.0
app/src/main/java/com/gilangpratama/piknikrek/MyApplication.kt
GilangPratama070
497,599,245
false
{"Kotlin": 48866}
package com.gilangpratama.piknikrek import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class MyApplication: Application()
0
Kotlin
1
1
02bc6acfddf92190ded0c14191c6586f481dd653
161
PiknikRek
MIT License
openrndr-application/src/jsMain/kotlin/org/openrndr/resourceUrl.kt
openrndr
122,222,767
false
{"Kotlin": 2380500, "GLSL": 3079, "HTML": 1172, "CSS": 87}
package org.openrndr import kotlin.reflect.KClass actual fun resourceUrl(name: String, `class`: KClass<*>): String { error("not supported") } actual fun resourceText(name: String, `class`: KClass<*>): String { error("not supported") }
21
Kotlin
73
880
2ef3c463ecb66701771dc0cf8fb3364e960a5e3c
247
openrndr
BSD 2-Clause FreeBSD License
app/src/main/java/ua/glebm/smartwaste/data/network/dto/error/LoginErrorResponse.kt
glebushkaa
718,610,042
false
{"Kotlin": 241649}
package ua.glebm.smartwaste.data.network.dto.error import com.google.gson.annotations.SerializedName /** * Created by gle.bushkaa email(<EMAIL>) on 10/30/2023 */ data class LoginErrorResponse( @SerializedName("code") val code: String, @SerializedName("message") val message: String, )
0
Kotlin
0
1
be94eb8f216d5bfae8259611145511661f78ea4e
297
smart-waste-android
MIT License
accounts/src/main/java/eu/kevin/accounts/bankselection/providers/DefaultCountryIsoProvider.kt
getkevin
375,151,388
false
{"Kotlin": 238202}
package eu.kevin.accounts.bankselection.providers import android.content.Context import android.content.pm.PackageManager import android.telephony.TelephonyManager import eu.kevin.common.extensions.getCurrentLocale internal class DefaultCountryIsoProvider( private val context: Context, private val telephonyMa...
0
Kotlin
2
7
b18fb946b900a0db5632bd81db620d2153603d14
799
kevin-android
MIT License
packages/jetbrains-plugin/src/main/kotlin/com/mongodb/jbplugin/editor/MdbJavaEditorToolbar.kt
mongodb-js
797,134,624
false
{"Kotlin": 599087, "Java": 3149, "Shell": 1926, "HTML": 254}
/** * MdbJavaEditorToolbar: This file contains the toolbar class itself responsible for rendering and interacting with * the toolbar and also a data class to encapsulate the current state of Toolbar itself */ package com.mongodb.jbplugin.editor import com.intellij.database.dataSource.LocalDataSource import com.int...
1
Kotlin
0
3
64487bf92849ba568364232ef4937a01a31058f6
10,554
intellij
Apache License 2.0
shared/src/commonMain/kotlin/com/frybits/arbor/Action.kt
pablobaxter
189,710,395
false
null
package com.frybits.arbor /** * Frybits * Created by <NAME> (Github: pablobaxter) */ //The types of actions to submit to Arbor internal sealed class Action internal data class Add(internal val branch: Branch) : Action() internal data class Remove(internal val branch: Branch) : Action() internal object Clear : Act...
0
Kotlin
0
1
101d138d0f13ee10d94c6736a97b15bcc2c8a17b
529
Arbor
MIT License
app/src/main/java/io/sinzak/android/ui/main/chat/ChatroomSaleDialog.kt
SINZAK
567,559,091
false
{"Kotlin": 482864}
package io.sinzak.android.ui.main.chat import android.content.Context import io.sinzak.android.R import io.sinzak.android.databinding.DialogArtistBlockBinding import io.sinzak.android.databinding.DialogChatroomBinding import io.sinzak.android.databinding.DialogProductOnsaleBinding import io.sinzak.android.ui.base.Base...
0
Kotlin
0
3
3467e8ee8afeb6b91b51f3a454f7010bc717c436
775
sinzak-android
MIT License
domain/src/main/java/com/msg/sms/domain/repository/FileUploadRepository.kt
GSM-MSG
625,706,722
false
null
package com.msg.sms.domain.repository import com.msg.sms.domain.model.fileupload.response.FileUploadResponseModel import kotlinx.coroutines.flow.Flow import okhttp3.MultipartBody interface FileUploadRepository { suspend fun imageUpload(file: MultipartBody.Part): Flow<FileUploadResponseModel> }
2
Kotlin
1
8
6c36cf4feddea5953a2781e632d48cb20890d555
300
SMS-Android
MIT License
buildSrc/src/main/kotlin/com/patrykkosieradzki/cacheflow/Configuration.kt
k0siara
499,534,861
false
null
package com.patrykkosieradzki.composer.buildsrc object Configuration { private const val majorVersion = 1 private const val minorVersion = 0 private const val patchVersion = 0 const val versionName = "$majorVersion.$minorVersion.$patchVersion" const val versionCode = majorVersion * 1000 + minorVer...
0
null
0
2
0bc7dfc4b8507759077aab908d5ab1dd2595fd10
500
CacheFlow
Apache License 2.0
app/src/test/java/com/srg/pruebamarvel/utils/RandomExtensions.kt
sebrodgar
353,656,877
false
null
package com.srg.pruebamarvel.utils import kotlin.random.Random private val CHAR_POOL = ('a'..'z') + ('A'..'Z') + ('0'..'9') fun Random.nextString(length: Int = 16): String = (1..length) .map { Random.nextInt(0, CHAR_POOL.size) } .map(CHAR_POOL::get) .joinToString("")
0
Kotlin
0
0
dfb2f16f8d12809bc97f17cbe4a267df46bf3ffa
298
code-test-rick-morty
Apache License 2.0
ocgena-domain/src/main/kotlin/ru/misterpotz/ocgena/ocnet/primitives/arcs/NormalArc.kt
MisterPotz
605,293,662
false
{"Kotlin": 842551, "TypeScript": 495751, "JavaScript": 36713, "CSS": 14489, "Python": 8652, "HTML": 3173, "Ruby": 285, "EJS": 274, "Java": 140}
package ru.misterpotz.ocgena.ocnet.primitives.arcs import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable import kotlinx.serialization.Transient import ru.misterpotz.ocgena.ocnet.primitives.PetriAtom import ru.misterpotz.ocgena.ocnet.primitives.atoms.Arc import ru.misterpotz.ocgena.ocnet.pri...
2
Kotlin
0
1
b63031c8420d9def085339f32beebc21c4b4897f
823
ocgena
MIT License
syncup/src/main/java/ben/upsilon/syncup/SyncUp.kt
ben-upsilon
49,330,185
false
null
package ben.upsilon.syncup object SyncUp { val ServiceName="sync_up" val ServiceType="_sync_up._tcp" }
1
null
1
1
c861a571fb1487800981758813b8b26e3736e4e6
124
up
Creative Commons Zero v1.0 Universal
app/src/main/java/rs/smobile/universe/data/local/model/Planet.kt
stevan-milovanovic
792,437,417
false
{"Kotlin": 40283}
package rs.smobile.universe.data.local.model import androidx.room.Entity import androidx.room.PrimaryKey @Entity(tableName = "planet") data class Planet( @PrimaryKey val name: String, val diameter: String, val climate: String, val gravity: String, val terrain: String, val population: Stri...
0
Kotlin
0
0
c96ce876bf53b9b51ebd0573f7664e47d7d34c80
346
Universe
Apache License 2.0
GoTrue/src/androidMain/kotlin/io/github/jan/supabase/gotrue/compose/ComposeUtils.kt
supabase-community
495,084,592
false
null
package io.github.jan.supabase.gotrue.compose
2
Kotlin
8
80
1a4d3803201ad4e10a65862b3ef40be66d03e47f
47
supabase-kt
MIT License
compose/internal-lint-checks/src/main/java/androidx/compose/lint/ListIteratorDetector.kt
jeziellago
327,183,898
true
{"Java": 47520269, "Kotlin": 30301763, "Python": 306611, "Shell": 120357, "C++": 37213, "ANTLR": 19860, "HTML": 10802, "TypeScript": 6933, "CMake": 3330, "JavaScript": 1343}
/* * Copyright 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Java
0
1
fa4711838092061ca02409b998a59f12ef0b7143
9,842
androidx
Apache License 2.0
wechat/src/main/kotlin/me/jiangcai/common/wechat/WechatAccountAuthorization.kt
mingshz
166,675,112
false
{"Gradle": 20, "INI": 11, "Shell": 2, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 10, "XML": 8, "Kotlin": 311, "JavaScript": 1, "HTML": 4, "Java Properties": 10, "Java": 71, "JSON": 2}
package me.jiangcai.common.wechat /** * 微信账户授权书 * @author CJ */ data class WechatAccountAuthorization( val accountAppId: String?, val accountAppSecret: String?, val miniAppId: String?, val miniAppSecret: String? )
1
null
1
1
8c9566723e6fe39c4fadc1262212a9e4aa3fd660
233
library
MIT License