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/dev/dnihze/revorate/ui/main/navigation/NetworkSettingsScreen.kt
dniHze
240,587,602
false
null
package dev.dnihze.revorate.ui.main.navigation import ru.terrakok.cicerone.Screen class NetworkSettingsScreen: Screen() { override fun equals(other: Any?): Boolean { return other is NetworkSettingsScreen } override fun hashCode(): Int { return javaClass.hashCode() } }
0
Kotlin
0
0
b88339e80817aacd841cdbc3a3bdf9950cc56f4b
303
xchanger
Apache License 2.0
agp-compat/agp8/src/main/kotlin/sh/christian/aaraar/gradle/agp/Agp8AndroidVariant.kt
christiandeange
588,680,111
false
{"Kotlin": 191565, "Shell": 1171}
package sh.christian.aaraar.gradle.agp import com.android.build.api.artifact.SingleArtifact import com.android.build.api.variant.LibraryVariant import org.gradle.api.Task import org.gradle.api.artifacts.Configuration import org.gradle.api.file.RegularFileProperty import org.gradle.api.tasks.TaskProvider @Suppress("Un...
0
Kotlin
1
28
0774f408fbcfdedd9f26749e6701dcb47f0988bb
994
aaraar
Apache License 2.0
0625.Minimum Factorization.kt
sarvex
842,260,390
false
{"Kotlin": 1775678, "PowerShell": 418}
internal class Solution { fun smallestFactorization(num: Int): Int { var num = num if (num < 2) { return num } var ans: Long = 0 var mul: Long = 1 for (i in 9 downTo 2) { if (num % i == 0) { while (num % i == 0) { num /= i ans = mul * i + ans m...
0
Kotlin
0
0
71f5d03abd6ae1cd397ec4f1d5ba04f792dd1b48
422
kotlin-leetcode
MIT License
src/test/kotlin/no/skatteetaten/aurora/clerk/service/DeploymentConfigServiceTest.kt
Skatteetaten
173,108,440
false
null
package no.skatteetaten.aurora.clerk.service import assertk.assertThat import assertk.assertions.hasMessage import assertk.assertions.isEqualTo import assertk.assertions.isFailure import assertk.assertions.isInstanceOf import assertk.assertions.isSuccess import com.fkorotkov.kubernetes.extensions.newScale import com.f...
0
Kotlin
2
1
47501423881da9c39dcef000f23748ff30153e69
6,203
clerk
Apache License 2.0
app/src/main/java/com/cogitator/googletransitionapi/model/data/PreferencesHelper.kt
ArchitectAK
138,559,108
false
{"Kotlin": 63922}
package com.cogitator.googletransitionapi.model.data import android.content.Context import android.content.SharedPreferences import com.cogitator.googletransitionapi.helpers.constants.Constants import javax.inject.Singleton import com.cogitator.googletransitionapi.di.qualifier.ApplicationContext import javax.inject.In...
0
Kotlin
0
2
72ad37539a004cae0c60e3d1be2483ee41fc5e14
2,730
GoogleTransitionAPI
Apache License 2.0
Controls/src/commonMain/kotlin/io/nacular/doodle/controls/theme/ProgressIndicatorBehavior.kt
nacular
108,631,782
false
{"Kotlin": 3150677}
package io.nacular.doodle.controls.theme import io.nacular.doodle.controls.ProgressIndicator import io.nacular.doodle.core.Behavior import io.nacular.doodle.core.View /** * Created by Nicholas Eddy on 2/12/18. */ public abstract class ProgressIndicatorBehavior<in T: ProgressIndicator>: Behavior<T> { override fu...
3
Kotlin
26
613
f7414d4c30cdd7632992071234223653e52b978c
778
doodle
MIT License
src/main/kotlin/no/nav/syfo/application/ApplicationEngine.kt
navikt
147,519,013
false
null
package no.nav.syfo.application import com.auth0.jwk.JwkProvider import com.fasterxml.jackson.annotation.JsonInclude import com.fasterxml.jackson.databind.DeserializationFeature import com.fasterxml.jackson.databind.SerializationFeature import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule import com.fasterxml.j...
1
Kotlin
0
0
cec71a0008abb71e4eb55f961bb28dd9338c0f9d
5,831
syfosmregister
MIT License
app/src/main/java/tech/antee/compose_multimodule_template/di/AppModule.kt
AnteeOne
552,520,319
false
null
package tech.antee.compose_multimodule_template.di import dagger.Module import tech.antee.compose_multimodule_template.data.di.DataModule @Module( includes = [DataModule::class] ) interface AppModule
6
Kotlin
0
2
c0330c5b503847df06efdfc865055559e14e931a
206
architecture-templates-multimodule
MIT License
lib_kotlin/src/main/java/lib/kalu/adapter/BaseLoadMultAdapter.kt
wujxiaoz1
115,077,780
true
{"Java": 321529, "Kotlin": 99491}
package lib.kalu.adapter import android.support.annotation.LayoutRes import android.util.SparseArray import android.view.LayoutInflater import android.view.ViewGroup import lib.kalu.adapter.holder.RecyclerHolder import lib.kalu.adapter.model.MultModel /** * description: 分类型, 加载更多 * created by kalu on 2017/5/26 15:0...
0
Java
0
0
2784d681c22eeae010ce36e7c6086b0bc477f15f
1,326
RecyclerAdapter
Apache License 2.0
plugins/github/src/org/jetbrains/plugins/github/pullrequest/ui/details/GHPRDetailsBranchesComponentFactory.kt
allotria
40,114,891
true
null
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package org.jetbrains.plugins.github.pullrequest.ui.details import com.intellij.collaboration.ui.CollaborationToolsUIUtil import com.intellij.collaboration.ui.codereview.comment.RoundedPanel import ...
0
null
0
0
9b9e3972a437d1a08fc73370fb09b9f45527dd2a
7,578
intellij-community
Apache License 2.0
app/src/main/java/com/aiven/logisticsdemo/ui/adapter/MineLogisticsAdapter.kt
AivenLi
514,750,083
false
null
package com.aiven.logisticsdemo.ui.adapter import android.content.Context import android.view.View import androidx.core.content.ContextCompat import com.aiven.logisticsdemo.R import com.aiven.logisticsdemo.base.adapter.LogisticsAdapter import com.aiven.logisticsdemo.base.adapter.viewholder.ViewBindingHolder import com...
0
Kotlin
0
0
09298ff90f179c116806e794cc4e66744767b4c6
2,523
logistics-demo
Apache License 2.0
src/test/kotlin/com/bnjns/integrations/opsgenie/auth/AuthenticationTests.kt
bnjns
597,080,064
false
null
package com.bnjns.integrations.opsgenie.auth import io.kotest.core.spec.style.FunSpec import io.kotest.matchers.shouldBe class AuthenticationTests : FunSpec() { init { test("basic authentication should set the correct header") { val username = "username" val password = "<PASSWORD>"...
0
Kotlin
0
0
9ad673ec3c4a89c9f0d3701f77ab1b25af9ae483
833
opsgenie-kotlin-sdk
Apache License 2.0
formula-android/src/main/java/com/instacart/formula/android/internal/FeatureObservableAction.kt
instacart
171,923,573
false
null
package com.instacart.formula.android.internal import com.instacart.formula.Action import com.instacart.formula.Cancelable import com.instacart.formula.android.Feature import com.instacart.formula.android.FragmentEnvironment import com.instacart.formula.android.FragmentId import io.reactivex.rxjava3.core.Observable c...
8
null
14
151
26d544ea41b7a5ab2fa1a3b9ac6b668e69fe4dff
884
formula
BSD 3-Clause Clear License
app/src/main/java/com/androidstarter/ui/di/NetworkModule.kt
syedtehrimabbas
526,100,544
false
null
package com.androidstarter.ui.di import android.content.Context import androidx.room.Room import androidx.room.RoomDatabase import androidx.sqlite.db.SupportSQLiteDatabase import com.androidstarter.data.RetroNetwork import com.androidstarter.data.cart.ProcopDatabase import com.androidstarter.data.cart.dao.CartProductD...
0
Kotlin
0
0
705c0d72a2df3ded12f55b7b9baeec85fe645555
2,667
dida-procop-android
MIT License
desktop/adapters/src/main/kotlin/com/soyle/stories/scene/locationsInScene/removeLocationFromScene/RemoveLocationFromSceneOutput.kt
Soyle-Productions
239,407,827
false
null
package com.soyle.stories.scene.locationsInScene.removeLocationFromScene import com.soyle.stories.domain.location.events.HostedSceneRemoved import com.soyle.stories.location.hostedScene.HostedSceneRemovedReceiver import com.soyle.stories.usecase.scene.location.removeLocationFromScene.RemoveLocationFromScene class Rem...
45
Kotlin
0
9
1a110536865250dcd8d29270d003315062f2b032
865
soyle-stories
Apache License 2.0
boat-codec/src/main/kotlin/xyz/srclab/common/codec/HmacCodec.kt
srclab-projects
247,777,997
false
null
package xyz.srclab.common.codec import xyz.srclab.common.base.ThreadSafePolicy import xyz.srclab.common.base.remLength import xyz.srclab.common.codec.CodecAlgorithm.Companion.toCodecAlgorithm import xyz.srclab.common.codec.PreparedCodec.Companion.toSync import xyz.srclab.common.io.getBytes import xyz.srclab.common.io....
0
Kotlin
1
4
a630d2897d5299af34ec17cfe335f3df3221851e
11,204
boat
Apache License 2.0
app/src/androidTest/java/nl/testchamber/mailordercoffeeshop/screen/HeaderScreen.kt
sheikinaelena
297,908,834
false
null
package nl.testchamber.mailordercoffeeshop.screen import com.agoda.kakao.edit.KEditText import com.agoda.kakao.text.KButton import com.kaspersky.kaspresso.screens.KScreen import nl.testchamber.mailordercoffeeshop.R import nl.testchamber.mailordercoffeeshop.order.HeaderFragment object HeaderScreen: KScreen<HeaderScree...
0
Kotlin
0
0
b71507d2321da60fd2d7e42c6e5aa9a72405dece
566
mail_order_coffe
MIT License
android/src/main/kotlin/com/sayx/hm_cloud/model/TimeUpdateEvent.kt
Rambo0422
584,657,563
false
{"Kotlin": 511975, "Objective-C": 417868, "C++": 23762, "CMake": 19412, "Dart": 8471, "HTML": 4798, "C": 3793, "Swift": 1581, "Java": 1522, "Ruby": 1406}
package com.sayx.hm_cloud.model data class TimeUpdateEvent(val time: Long)
0
Kotlin
0
0
4e7948674b303da093579c19fe6450355565020d
76
hm_cloud_flutter
MIT License
src/main/kotlin/org/crystal/intellij/stubs/indexes/CrystalConstantParentFqNameIndex.kt
asedunov
353,165,557
false
null
package org.crystal.intellij.stubs.indexes import org.crystal.intellij.psi.CrConstantSource class CrystalConstantParentFqNameIndex : CrystalStringStubIndexExtensionBase<CrConstantSource>() { companion object Helper: HelperBase<CrConstantSource>( CrystalConstantParentFqNameIndex::class.java, CrCons...
15
Kotlin
3
30
60829dd90f21b8aefcd76fd8b1d034bba6ab9803
398
intellij-crystal-lang
Apache License 2.0
src/test/kotlin/de/flapdoodle/kfx/controls/textfields/TypedTextFieldSampler.kt
flapdoodle-oss
451,526,335
false
{"Kotlin": 546929, "Java": 153590, "CSS": 34455, "Shell": 189}
package de.flapdoodle.kfx.controls.textfields import javafx.application.Application import javafx.geometry.Orientation import javafx.scene.Scene import javafx.scene.control.Tooltip import javafx.scene.layout.Background import javafx.scene.layout.Border import javafx.scene.layout.FlowPane import javafx.scene.paint.Colo...
0
Kotlin
1
0
5499dc7783b088002c3cc8fce58368f47fd45000
1,916
de.flapdoodle.kfx
Apache License 2.0
mobile-ui/src/main/java/com/playone/mobile/ui/ext/Activity.kt
lekaha
121,380,867
false
null
package com.playone.mobile.ui.ext import android.annotation.SuppressLint import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.net.Uri import android.os.Bundle import android.support.v4.app.FragmentTransaction import android.support.v7.app.AppCompatActivit...
5
Kotlin
0
1
15ca77cbe9189554723b9b5cd4302946fd4675a8
2,675
playone-android
MIT License
app/src/main/java/com/thanksmister/iot/mqtt/alarmpanel/ui/adapters/SensorAdapter.kt
sam-dumont
344,823,429
true
{"Kotlin": 577585, "Java": 99228, "HTML": 9257}
/* * Copyright (c) 2018 ThanksMister LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
0
null
0
0
840eba31823fe0b850dd1ea14cf1f89c6b41eeb3
4,053
android-mqtt-alarm-panel
Apache License 2.0
common/src/main/kotlin/de/sean/splugin/bukkit/tasks/AutoShutdown.kt
spnda
356,426,258
false
{"Kotlin": 42971}
package de.sean.splugin.bukkit.tasks import de.sean.splugin.util.Messages import org.bukkit.Bukkit import org.bukkit.plugin.java.JavaPlugin import java.io.IOException import java.util.* object AutoShutdown { /* Message delays in seconds */ private val messageDelays = listOf<Long>(30 * 60, 10 * 60, 5 * 60, 60,...
5
Kotlin
0
2
9843341b0151db22b38284c1b39f97ee0d702105
2,525
SPlugin
MIT License
apps/etterlatte-brev-api/src/main/kotlin/no/nav/etterlatte/brev/BrevService.kt
navikt
417,041,535
false
null
package no.nav.etterlatte.brev import no.nav.etterlatte.brev.adresse.AdresseService import no.nav.etterlatte.brev.db.BrevRepository import no.nav.etterlatte.brev.model.AnnetBrevRequest import no.nav.etterlatte.brev.model.Attestant import no.nav.etterlatte.brev.pdf.PdfGeneratorKlient import no.nav.etterlatte.libs.commo...
6
Kotlin
0
3
8d41d2e006b5df41eacef84a670bc162ed72233c
3,238
pensjon-etterlatte-saksbehandling
MIT License
examples/app/shared/src/commonMain/kotlin/com/appstractive/screens/auth/emailpassword/EmailPasswordSignInViewModel.kt
Appstractive
656,572,792
false
{"Kotlin": 274549, "Ruby": 5029}
package com.appstractive.screens.auth.emailpassword import androidx.compose.runtime.mutableStateOf import androidx.compose.ui.text.input.TextFieldValue import com.appstractive.ViewModel import com.appstractive.dependencies import com.supertokens.sdk.SuperTokensClient import com.supertokens.sdk.handlers.signInWith impo...
0
Kotlin
0
1
ef8b95cf8246872e14dbd3a644a7b257d6f14847
1,548
supertokens-kt
Apache License 2.0
app/src/main/java/net/tandem/main/MainActivity.kt
aliarasteh
451,158,496
false
null
package net.tandem.main import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.navigation.fragment.NavHostFragment import androidx.navigation.ui.setupWithNavController import com.google.android.material.bottomnavigation.BottomNavigationView import dagger.hilt.android.AndroidEntryPoin...
0
Kotlin
0
0
bfcad46606924979faa2fd2dd0be7eb75776f51d
2,379
tandem-hiring-challenge-android
MIT License
Motocitizen/src/motocitizen/ui/rows/accident/CommonRow.kt
elagin
41,307,837
true
{"Gradle": 3, "Proguard": 1, "XML": 57, "Text": 3, "Ignore List": 2, "INI": 2, "Kotlin": 123, "Java Properties": 2, "Java": 110}
package motocitizen.ui.rows.accident import android.content.Context import motocitizen.content.accident.Accident import motocitizen.utils.makeMargins abstract class CommonRow(context: Context, accident: Accident) : Row(context, accident) { override val margins = makeMargins(2) { left = 4 right = 1...
1
Java
0
1
0b7bfd41c7701d19872deebd83fce0d60908383e
330
motocitizen
MIT License
app/src/main/java/com/rafael/ioasys_book/di/dataLocalModule.kt
rafaelkenedy
511,764,123
false
null
package com.rafael.ioasys_book.di import com.rafael.ioasys_book.data.datasource.local.BooksLocalDataSource import com.rafael.ioasys_book.data.datasource.local.LoginLocalDatasource import com.rafael.ioasys_book.data_local.datasource.BooksLocalDatasourceImpl import com.rafael.ioasys_book.data_local.datasource.LoginLocal...
0
Kotlin
0
0
e21e9102dec8e7d09c35d6e1e00dc6b76ba9759c
716
ioasys_book
MIT License
src/test/kotlin/uk/gov/justice/digital/hmpps/educationemployment/api/resource/SARResourceControllerTest.kt
ministryofjustice
507,009,286
false
null
package uk.gov.justice.digital.hmpps.educationemploymentapi.resource import com.fasterxml.jackson.core.type.TypeReference import com.fasterxml.jackson.databind.ObjectMapper import org.assertj.core.api.Assertions import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.exte...
0
null
0
3
06065c6b33571972e240914972c8c51b8a6bd682
4,055
hmpps-education-employment-api
MIT License
core/haptics/haptics/src/main/java/androidx/core/haptics/impl/HapticManagerImpl.kt
androidx
256,589,781
false
null
/* * Copyright 2023 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...
29
null
937
5,321
98b929d303f34d569e9fd8a529f022d398d1024b
4,191
androidx
Apache License 2.0
app/src/test/java/com/hewking/develop/collection/CollectionsTest.kt
hewking
245,367,082
false
null
package com.hewking.develop.collection import org.junit.Test import java.util.* /** * @Description: (用一句话描述该文件做什么) * @Author: jianhao * @Date: 2021/1/27 17:48 * @License: Copyright Since 2020 Hive Box Technology. All rights reserved. * @Notice: This content is limited to the internal circulation of Hive Box,  ...
1
Kotlin
0
0
6334423589c81de56d3dea51f780bd4de1b7b7b6
592
AndroidSamples
MIT License
sample/src/main/java/smartrecycleradapter/viewholder/PosterViewHolder.kt
SelvaGaneshM
208,207,870
false
{"Java Properties": 2, "Markdown": 2, "Shell": 1, "Batchfile": 1, "Proguard": 2, "Java": 66, "Kotlin": 33}
package smartrecycleradapter.viewholder /* * Created by <NAME> on 2019-06-25. * Copyright © 2019. All rights reserved. */ import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import com.bumptech.glide.Glide import com.bump...
1
null
1
1
dd15bc13aee705f9be06a3151ef24f6b4c74c551
2,736
smart-recycler-adapter
Apache License 2.0
jpm-tests/src/test/kotlin/dk/thrane/jolie/InitTest.kt
DanThrane
76,953,158
false
{"Jolie": 191448, "Java": 73331, "Kotlin": 37858, "HTML": 14080, "Shell": 7780, "Batchfile": 102}
package dk.thrane.jolie import org.junit.Assert.* import org.hamcrest.CoreMatchers.* import org.junit.Test import java.io.File import java.nio.file.Files import com.github.salomonbrys.kotson.* import com.google.gson.Gson import com.google.gson.JsonObject import java.io.FileReader class InitTest { val gson = Gson(...
1
Jolie
1
1
36a4fed81b8769926a40e2dd6f0fd282b6e2bf03
2,282
jolie-packages
MIT License
pkotlin-gradle/vertx-dependent-deploy/src/main/kotlin/com/stulsoft/pkotlin/dependent/deploy/bad/AppBad.kt
ysden123
299,260,130
false
null
/* * Copyright (c) 2020. <NAME> */ package com.stulsoft.pkotlin.dependent.deploy.bad import io.vertx.core.Vertx import org.slf4j.LoggerFactory /** * @author <NAME> */ object AppBad { private val logger = LoggerFactory.getLogger("") @JvmStatic fun main(args: Array<String>) { val vertx = Vertx...
0
Kotlin
0
0
22485eead5a59c460294b3d937e08cf3810be7f1
824
pkotlin
MIT License
samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/StandaloneSampleIcons.kt
JetBrains
440,164,967
false
{"Kotlin": 1387584, "Java": 22778}
package org.jetbrains.jewel.samples.standalone object StandaloneSampleIcons
62
Kotlin
28
623
0ac4e0244cdf62255243e15d323df46eb255e0b7
77
jewel
Apache License 2.0
kotest-property/src/commonMain/kotlin/io/kotest/property/propertyTest2.kt
nagellack5C
235,292,077
true
{"Kotlin": 1862796, "HTML": 423, "Java": 153, "Shell": 125}
@file:Suppress("NOTHING_TO_INLINE") package io.kotest.property import io.kotest.matchers.booleans.shouldBeTrue import io.kotest.property.internal.test2 suspend fun <A, B> checkAll( genA: Gen<A>, genB: Gen<B>, args: PropTestArgs = PropTestArgs(), property: suspend PropertyContext.(A, B) -> Unit ): Propert...
0
null
0
0
6c3b7967ec7c9d7604d237a8cf37fb023ab46f09
1,198
kotlintest
Apache License 2.0
baseLib/src/main/java/com/dyn/base/ui/base/pager/BasePagerViewModel.kt
dynsxyc
420,926,305
false
{"Kotlin": 726227, "Java": 425888, "JavaScript": 17765, "HTML": 9209, "CSS": 2719, "AIDL": 961}
package com.dyn.base.ui.base.pager import androidx.lifecycle.MutableLiveData import com.blankj.utilcode.util.ColorUtils import com.blankj.utilcode.util.ConvertUtils.dp2px import com.dyn.base.mvvm.model.BaseModel import com.dyn.base.mvvm.viewmodel.BaseNetViewModel import com.dyn.base.ui.magicindicator.BaseMagicIndicato...
0
Kotlin
0
0
bb52837764016e4f0c04f1a0410e3efdfdc57e29
1,527
AndroidCommonProject
Apache License 2.0
JKodiWrapper/src/test/java/com.cf.jkodiwrapper.test.application/FavouritesTest.kt
cfe86
172,903,714
false
{"Kotlin": 548780}
package com.cf.jkodiwrapper.test.application import com.cf.jkodiwrapper.general.attributes.KodiID import com.cf.jkodiwrapper.general.error.KodiError import com.cf.jkodiwrapper.general.respond.KodiStringRespond import com.cf.jkodiwrapper.methods.favourites.KodiFavourites import com.cf.jkodiwrapper.methods.favourites.re...
0
Kotlin
0
0
58a62f9cd275dd70eb0e054b1a959a6a8aec02b5
3,590
JKodiWrapper
MIT License
javatests/dagger/functional/kotlin/DependsOnGeneratedCodeClasses.kt
google
7,968,417
true
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
Java
1947
16,475
1b1ea095db71d0364cc2ee9cd53b9192ff5e4ddb
1,047
dagger
Apache License 2.0
app/src/main/java/com/tiny/demo/firstlinecode/kotlin/primer/project11/BackQuoteDemo.kt
tinyvampirepudge
143,146,373
false
null
package com.tiny.demo.firstlinecode.kotlin.primer.project11 /** * @Description: kotlin中的反引号 * * @Author wangjianzhou@qding.me * @Version $version$ * @Date 2018/8/17 2:20 PM */ fun `1234`() { } //// 不支持 //fun ` `() { // println("") //} // //// 不支持 //fun ` `() { // //} fun main(args: Array<String>) { `...
0
Java
11
24
6285d84750739905e9a8996af2a6dba835c9aae3
331
Android_Base_Demo
Apache License 2.0
app/src/main/java/com/example/mymusic/domain/use_cases/InsertFavorite.kt
pluzarev-nemanja
592,025,859
false
{"Kotlin": 325163}
package com.example.mymusic.domain.use_cases import com.example.mymusic.domain.model.Favorite import com.example.mymusic.domain.repository.MusicRepository import javax.inject.Inject class InsertFavorite @Inject constructor( private val repository: MusicRepository, ) { suspend operator fun invoke(favorite: Fa...
0
Kotlin
0
2
45b73a0d788eb456da01337fbfd5b75875ec9883
381
Harmonic
MIT License
solar/src/main/java/com/chiksmedina/solar/boldduotone/electronicdevices/Bluetooth.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.boldduotone.electronicdevices import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics....
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
3,997
SolarIconSetAndroid
MIT License
src/test/kotlin/integration/DndR4C8.kt
dkesler
530,453,755
false
{"Kotlin": 150787}
package integration import SolverConfiguration class DndR4C8 : BaseIntegrationTest() { override val file = "/dnd4-8" override val config = SolverConfiguration(false) }
0
Kotlin
0
1
9dcb40e34238ba2110ff218fac87f18b7bef6b11
177
dungeons-and-diagrams
MIT License
src/main/java/me/han/muffin/client/event/events/render/item/RenderItemHeldHandEvent.kt
SmallFishDD
425,272,585
false
{"Kotlin": 1725682, "Java": 943392, "GLSL": 15937}
package me.han.muffin.client.event.events.render.item import me.han.muffin.client.event.EventCancellable import net.minecraft.entity.Entity import java.util.function.Function class RenderItemHeldHandEvent(entity: Entity, function: Function<RenderItemHeldHandEvent, *>, noClue: Boolean): EventCancellable()
1
Kotlin
2
2
13235eada9edd9ccca039dea4d3a59cc7a930830
307
muffin-0.10.4-src-leaked
MIT License
subprojects/gradle/runner/client/src/test/kotlin/com/avito/runner/scheduler/metrics/TestMetricsAggregatorTest.kt
StanlyT
344,157,673
true
{"Kotlin": 2773538, "HTML": 121161, "Shell": 17522, "Python": 14168, "Makefile": 7187, "Dockerfile": 7134}
package com.avito.runner.scheduler.metrics import com.avito.runner.scheduler.metrics.model.DeviceKey import com.avito.runner.scheduler.metrics.model.DeviceTimestamps import com.avito.runner.scheduler.metrics.model.TestTimestamps import com.avito.runner.scheduler.metrics.model.createStubInstance import com.avito.runner...
0
Kotlin
0
0
96463f7714c0550e331d2a37fb32ad98fac9d62d
6,437
avito-android
MIT License
subprojects/gradle/runner/client/src/test/kotlin/com/avito/runner/scheduler/metrics/TestMetricsAggregatorTest.kt
StanlyT
344,157,673
true
{"Kotlin": 2773538, "HTML": 121161, "Shell": 17522, "Python": 14168, "Makefile": 7187, "Dockerfile": 7134}
package com.avito.runner.scheduler.metrics import com.avito.runner.scheduler.metrics.model.DeviceKey import com.avito.runner.scheduler.metrics.model.DeviceTimestamps import com.avito.runner.scheduler.metrics.model.TestTimestamps import com.avito.runner.scheduler.metrics.model.createStubInstance import com.avito.runner...
0
Kotlin
0
0
96463f7714c0550e331d2a37fb32ad98fac9d62d
6,437
avito-android
MIT License
app/src/main/java/com/wisnu/kurniawan/composetodolist/model/ToDoRepeat.kt
wisnukurniawan
409,054,048
false
null
package com.wisnu.kurniawan.composetodolist.model enum class ToDoRepeat { NEVER, DAILY, WEEKDAYS, WEEKLY, MONTHLY, YEARLY }
0
Kotlin
4
73
784a7b86014f4d0b3ee0d2055aaa64f731bcbfd6
149
Compose-ToDo
Apache License 2.0
xlog/src/main/java/com/salton123/log/printer/FilePrinter.kt
LiveSalton
183,717,987
false
{"C++": 21131, "Kotlin": 12962, "CMake": 1126, "C": 263}
package com.salton123.log.printer import android.util.Log import com.salton123.log.XLogConfig import com.salton123.writer.MmapWriter import java.io.File import java.text.SimpleDateFormat import java.util.* /** * Time:2022/1/11 15:59 * Author: * Description: */ class FilePrinter(val config: XLogConfig) : Printer {...
1
C++
1
3
01ff5a9f8636621fa13bc3303109547b4f4e35f6
4,613
xlog
Apache License 2.0
gto-support-material-components/src/main/kotlin/org/ccci/gto/android/common/material/shape/AngledCutCornerTreatment.kt
CruGlobal
30,609,844
false
{"Kotlin": 816293, "Java": 252340, "Prolog": 179}
package org.ccci.gto.android.common.material.shape import com.google.android.material.shape.CornerTreatment import com.google.android.material.shape.ShapePath import kotlin.math.sin class AngledCutCornerTreatment(private val startEdgeSize: Float, private val endEdgeSize: Float) : CornerTreatment() { override fun ...
12
Kotlin
2
9
7506718d83c532edbdf84921338a26d86422bec6
916
android-gto-support
MIT License
kotlin-gradle-jpa-static/src/main/kotlin/pl/exsio/querydsl/entityql/examples/jpa/entity/generated/QCompositeFk.kt
eXsio
233,100,956
false
{"Groovy": 371558, "Java": 368368, "Kotlin": 341394, "TSQL": 52112}
package pl.exsio.querydsl.entityql.examples.jpa.entity.generated import com.querydsl.sql.PrimaryKey import pl.exsio.querydsl.entityql.QColumnMetadataFactory import pl.exsio.querydsl.entityql.QPathConfig import pl.exsio.querydsl.entityql.QPathFactory import pl.exsio.querydsl.entityql.QStaticModel import com.quer...
18
Groovy
2
5
fea1a3cac04947b78d5be7abc0517c0286bc2b75
3,686
querydsl-entityql-examples
MIT License
lib-ok-network-monitor/src/main/java/com/linkaipeng/oknetworkmonitor/utils/Utils.kt
linkaipeng
135,175,219
false
null
package com.linkaipeng.oknetworkmonitor.utils import android.app.PendingIntent import android.content.ClipData import android.content.ClipboardManager import android.content.Context import android.content.Intent import android.text.TextUtils import android.util.Log import android.widget.Toast import androidx.preferenc...
0
null
29
218
cf5656f1cc54679caff112b5a1e645ea9d1375bf
5,667
OkNetworkMonitor
MIT License
app/src/main/java/de/irmo/a9unbot/BasicTest.kt
irmo-de
723,597,541
false
{"Gradle Kotlin DSL": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "YAML": 1, "Proguard": 1, "Kotlin": 3, "Java": 5, "XML": 17}
package de.irmo.a9unbot class BasicTest { }
0
Java
0
2
27cd0ab279873ec850361eb050a1d4e33a394351
44
9UnBot
RSA Message-Digest License
app/src/main/java/com/linheimx/zimudog/utils/rxbus/RxBus_Behavior.kt
linheimx
70,407,347
false
null
package com.linheimx.zimudog.utils.rxbus import io.reactivex.Flowable import io.reactivex.processors.BehaviorProcessor import io.reactivex.processors.FlowableProcessor /** * Created by x1c on 2017/5/6. */ object RxBus_Behavior { private val _Bus: FlowableProcessor<Any> init { _Bus = BehaviorProce...
1
null
2
20
e3aee61d1d5d03c46caeb0f6655a93ea4192bfa3
798
ZimuDog
Apache License 2.0
processor/src/main/kotlin/net/octyl/aptcreator/processor/ProcessingExtensions.kt
octylFractal
154,010,824
false
null
package net.octyl.aptcreator.processor import com.google.auto.common.MoreElements import javax.lang.model.element.AnnotationMirror import javax.lang.model.element.Element inline fun <reified A : Annotation> Element.isAnnotationPresent(): Boolean { return MoreElements.isAnnotationPresent(this, A::class.java) } fu...
1
null
1
1
b2709a3f29f6bed298aea2a71c0b69a586c9141d
577
apt-creator
MIT License
mobile/src/main/java/com/sebastiansokolowski/healthguard/di/ServiceBindingModule.kt
sebastiansokolowski
125,769,078
false
null
package com.sebastiansokolowski.healthguard.di import com.sebastiansokolowski.healthguard.service.MeasurementService import com.sebastiansokolowski.healthguard.service.WearableService import dagger.Module import dagger.android.ContributesAndroidInjector /** * Created by <NAME> on 10.07.18. */ @Suppress("unused") @M...
1
null
1
1
5c164405abb457b91f04b15ff04ef1702cee6a54
548
mHealth-Guard
Apache License 2.0
src/Queen.kt
Nachtfeuer
75,151,029
false
null
/** * @author <NAME> * @file Queen.kt * * Copyright (c) 2016 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the Software without restriction, including without limitation * the rights ...
1
null
1
1
5713a2e363b58df43a6d27cb1266bf42315ae398
2,788
concept-queen
MIT License
koin-projects/koin-core/src/main/kotlin/org/koin/core/scope/Scope.kt
JanStoltman
148,633,650
false
null
/* * Copyright 2017-2018 the original author or 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 ap...
1
null
1
1
1d95f051d02f62aa7cfb6faed899c4eec146c48e
1,586
koin
Apache License 2.0
04_Intellij_Kotlin_basics/src/exer_3.kt
caioviel
335,976,055
false
{"Java": 28292, "Kotlin": 25281}
fun main() { println("3. Peça para o usuário digitar as 3 notas do semestre e calcule sua média (soma das notas dividido pela " + "quantidade de notas). A nota digitada não pode ser menor que zero ou maior que 10. Se a média for maior " + "ou igual a 6.0 o aluno passou, do contrário está rep...
1
null
1
1
a8c465f17fc0b7061424bf7f46f83910e29e95ee
1,015
kotlin-android-course
MIT License
app/src/main/java/com/fatlytics/app/domain/entity/SampleEntity.kt
necatisozer
177,310,241
false
null
package com.fatlytics.app.domain.entity data class SampleEntity( val id: Int = 0 ) : Entity
0
Kotlin
0
1
6f5cadb83570d09f5aea89d9fc1139b7ccb7bc0c
96
Fatlytics
Apache License 2.0
essential/utils/src/main/java/ir/ac/iust/dml/kg/raw/utils/ConfigReader.kt
IUST-DMLab
143,078,400
false
{"Java": 1305698, "JavaScript": 309084, "Kotlin": 291339, "HTML": 262524, "Python": 140248, "CSS": 134871, "Shell": 11166}
/* * Farsi Knowledge Graph Project * Iran University of Science and Technology (Year 2017) * Developed by Majid Asgari. */ @file:Suppress("unused") package ir.ac.iust.dml.kg.raw.utils import com.google.gson.Gson import com.google.gson.reflect.TypeToken import nu.studer.java.util.OrderedProperties import org.slf4...
1
null
1
1
2e020ae3d619a35ffa00079b9aeb31ca77ce2346
4,474
farsbase
Apache License 2.0
compiler/tests-spec/testData/diagnostics/linked/when-expression/p-7/neg/5.2.kt
damenez
189,964,139
true
{"Kotlin": 37481242, "Java": 7489008, "JavaScript": 157778, "HTML": 74773, "Lex": 23159, "TypeScript": 21255, "IDL": 10895, "ANTLR": 9803, "CSS": 8084, "Shell": 7727, "Groovy": 6940, "Batchfile": 5362, "Swift": 2253, "Ruby": 668, "Objective-C": 293, "Scala": 80}
/* * KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE) * * SPEC VERSION: 0.1-draft * PLACE: when-expression -> paragraph 7 -> sentence 5 * NUMBER: 2 * DESCRIPTION: 'When' with bound value and not allowed break and continue expression (without labels) in 'when condition'. */ // TESTCASE NUMBER: 1 fun case_1(value_1: Int):...
0
Kotlin
1
2
dca23f871cc22acee9258c3d58b40d71e3693858
786
kotlin
Apache License 2.0
vector/src/main/java/vmodev/clearkeep/viewmodelobjects/RoomUserJoin.kt
telred-llc
194,596,139
false
null
package vmodev.clearkeep.viewmodelobjects import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.ForeignKey import androidx.room.Index @Entity(primaryKeys = ["room_id", "user_id"], foreignKeys = [ ForeignKey(entity = Room::class, parentColumns = ["id"]...
5
null
1
3
2d20e94e9711b51aee89fa569efd61449cc7e9c3
872
clearkeep-android
Apache License 2.0
app/src/main/java/com/btm/swiftkt/utils/ImageAdapter.kt
wangbolocojoy
280,407,940
false
{"Gradle": 4, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Kotlin": 70, "XML": 55, "Java": 4, "INI": 1, "JSON": 54}
package com.btm.swiftkt.utils import android.view.ViewGroup import android.widget.ImageView import com.btm.swiftkt.R import com.btm.swiftkt.bean.PostImage import com.bumptech.glide.Glide import com.bumptech.glide.load.engine.DiskCacheStrategy import com.youth.banner.adapter.BannerAdapter /** * @Auther: hero * @date...
1
null
1
1
4177a2a07955ec032e94fa33ba6d5ca47c825935
1,723
SwiftKt
MIT License
app/src/main/java/com/mi93/deepequalslib/MainActivity.kt
Michaelibrahim93
325,938,201
false
null
package com.mi93.deepequalslib import android.annotation.SuppressLint import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import com.mi93.deepequalslib.models.* import kotlinx.android.synthetic.main.activity_main.* import java.util.* import kotlin.random.Random class MainActivity : AppCompatAct...
1
null
1
4
194bf9fb42b95dae4aacc319c3c54c2e39bcb784
3,409
deep-equals
Apache License 2.0
src/main/java/org/tokend/sdk/factory/GsonFactory.kt
TamaraGambarova
291,018,574
true
{"Gradle": 2, "Markdown": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "INI": 1, "Kotlin": 416, "Java": 224, "Ruby": 1, "YAML": 2}
package org.tokend.sdk.factory import com.google.gson.* import org.tokend.sdk.api.sales.model.SocialLinks import org.tokend.sdk.utils.ApiDateUtil import org.tokend.sdk.utils.BigDecimalUtil import retrofit2.converter.gson.GsonConverterFactory import java.math.BigDecimal import java.util.* /** * Constructs and provide...
0
Kotlin
0
1
941186aee243d0639d72e7ee189d509afc6292b9
2,280
kotlin-sdk
Apache License 2.0
libs/commons/src/test/kotlin/uk/gov/justice/digital/hmpps/flags/FeatureFlagsTest.kt
ministryofjustice
500,855,647
false
null
package uk.gov.justice.digital.hmpps.flags import com.flipt.api.FliptApiClient import com.flipt.api.client.flags.FlagsClient import com.flipt.api.client.flags.endpoints.Get import com.flipt.api.client.flags.exceptions.GetException import com.flipt.api.client.flags.types.Flag import org.junit.jupiter.api.Assertions.ass...
2
Kotlin
0
2
13b6803617c9fb746072bc5a77fdc43691a4b864
2,280
hmpps-probation-integration-services
MIT License
great-wall-server/src/main/kotlin/cc/shacocloud/greatwall/utils/validator/Regexp.kt
Lorwell
830,322,172
false
{"TypeScript": 447508, "Kotlin": 425986, "JavaScript": 3275, "CSS": 2340, "Shell": 1157, "Less": 726, "HTML": 344}
package cc.shacocloud.greatwall.utils.validator import jakarta.validation.Constraint import jakarta.validation.ConstraintValidator import jakarta.validation.ConstraintValidatorContext import jakarta.validation.Payload import java.util.regex.Pattern import kotlin.reflect.KClass /** * * @author 思追(shaco) */ @Target(...
0
TypeScript
0
11
0bb9f6b4d567a85289bd176a9bc4b2ae528b09f4
1,023
great-wall
Apache License 2.0
src/main/kotlin/com/adikmt/taskBoard/controllers/BoardController.kt
kamathis4
646,834,767
false
null
package com.adikmt.taskBoard.controllers import com.adikmt.taskBoard.dtos.common.wrappers.ResponseStatus import com.adikmt.taskBoard.dtos.common.wrappers.ResponseWrapper import com.adikmt.taskBoard.dtos.common.wrappers.unwrap import com.adikmt.taskBoard.dtos.requests.BoardRequest import com.adikmt.taskBoard.dtos.respo...
0
Kotlin
0
7
629230595a88a7c65e589b922f19f3dc74c86d95
3,325
TaskBoard
The Unlicense
src/main/kotlin/com/adikmt/taskBoard/controllers/BoardController.kt
kamathis4
646,834,767
false
null
package com.adikmt.taskBoard.controllers import com.adikmt.taskBoard.dtos.common.wrappers.ResponseStatus import com.adikmt.taskBoard.dtos.common.wrappers.ResponseWrapper import com.adikmt.taskBoard.dtos.common.wrappers.unwrap import com.adikmt.taskBoard.dtos.requests.BoardRequest import com.adikmt.taskBoard.dtos.respo...
0
Kotlin
0
7
629230595a88a7c65e589b922f19f3dc74c86d95
3,325
TaskBoard
The Unlicense
src/main/kotlin/no/nav/tiltakspenger/ufore/pesys/PesysClient.kt
navikt
573,031,705
false
null
package no.nav.tiltakspenger.ufore.pesys import io.ktor.client.HttpClient import io.ktor.client.call.body import io.ktor.client.plugins.ClientRequestException import io.ktor.client.request.accept import io.ktor.client.request.bearerAuth import io.ktor.client.request.get import io.ktor.client.request.header import io.k...
1
Kotlin
0
2
c321c086d09ab29c7d3c1d8ec31b358e4a5e1958
1,698
tiltakspenger-ufore
MIT License
src/main/kotlin/com/example/demo/KotlinFlow.kt
hantsy
568,317,268
false
{"Kotlin": 6091}
package com.example.demo import kotlinx.coroutines.delay import kotlinx.coroutines.flow.filter import kotlinx.coroutines.flow.flow import kotlinx.coroutines.flow.map import kotlinx.coroutines.flow.onEach suspend fun main(args: Array<String>) { flow { (1..10).forEach { delay(100L) p...
3
Kotlin
0
2
8c1c379572120574ecc9841781744248075e741c
543
kotlin-coroutines-examples
Apache License 2.0
src/main/kotlin/g2001_2100/s2012_sum_of_beauty_in_the_array/Solution.kt
javadev
190,711,550
false
{"Kotlin": 4870729, "TypeScript": 50437, "Python": 3646, "Shell": 994}
package g2001_2100.s2012_sum_of_beauty_in_the_array // #Medium #Array #2023_06_23_Time_511_ms_(100.00%)_Space_56.5_MB_(50.00%) class Solution { fun sumOfBeauties(nums: IntArray): Int { val maxArr = IntArray(nums.size) maxArr[0] = nums[0] for (i in 1 until nums.size - 1) { maxAr...
0
Kotlin
20
43
e8b08d4a512f037e40e358b078c0a091e691d88f
881
LeetCode-in-Kotlin
MIT License
src/main/kotlin/com/kotlinplayground/classes/DataClasses.kt
AlexoAnimaIgnis
537,733,920
false
{"Kotlin": 15325}
package com.kotlinplayground.classes data class Course ( val id: Int, val name: String, val author: String ){ } fun main() { val course = Course(1, "Reactive Programming", "Alexo") println(course) val item = Item("Iphone") println("Item name is ${item.name}") item.name = "Iphone 13" ...
0
Kotlin
0
1
16ffb23789f9b739a20a6fad03dcaa314da780cf
380
kotlin-intro
Apache License 2.0
src/main/kotlin/no/nav/cv/eures/scheduled/MessageProcessor.kt
navikt
245,109,239
false
{"Kotlin": 214850, "Shell": 356, "Dockerfile": 110}
package no.nav.cv.eures.scheduled import no.nav.cv.eures.cv.CvRepository import no.nav.cv.eures.cv.CvXmlRepository import no.nav.cv.eures.cv.RawCV import no.nav.cv.eures.cv.RawCV.Companion.RecordType.DELETE import no.nav.cv.eures.konverterer.CvConverterService import no.nav.cv.eures.konverterer.CvNotConvertedException...
0
Kotlin
0
2
84987ece45d0d7bb3a1b34984c042156b4035e5f
4,043
pam-eures-cv-eksport
MIT License
3229.Minimum Operations to Make Array Equal to Target.kt
sarvex
842,260,390
false
{"Kotlin": 1775678, "PowerShell": 418}
internal class Solution { fun minimumOperations(nums: IntArray, target: IntArray): Long { var f: Long = abs(target[0] - nums[0]) for (i in 1 until nums.size) { val x = (target[i] - nums[i]).toLong() val y = (target[i - 1] - nums[i - 1]).toLong() if (x * y > 0) { val d: Long = abs(x) ...
0
Kotlin
0
0
17a80985d970c8316fb694e4952692e598d700af
445
kotlin-leetcode
MIT License
data/src/main/java/com/hana/data/di/ApiModule.kt
yenaingoo992
875,796,488
false
{"Kotlin": 93374}
package com.hana.data.di import com.hana.data.datasource.network.api.UserApi import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.components.SingletonComponent import retrofit2.Retrofit import javax.inject.Singleton @Module @InstallIn(SingletonComponent::class) object ApiModule ...
0
Kotlin
0
0
268ba3381dd0c57d335836c39ab971235efb9526
444
HanaCodeTest
MIT License
data/src/main/kotlin/com/arturogutierrez/openticator/storage/realm/helpers/RealmObservable.kt
suclike
102,408,283
true
{"Kotlin": 202256, "Java": 4366}
package com.arturogutierrez.openticator.storage.realm.helpers import io.realm.Realm import io.realm.RealmObject import io.realm.RealmResults import rx.Observable import rx.functions.Func1 object RealmObservable { fun <T : RealmObject> `object`(function: Func1<Realm, T>): Observable<T> { return Observable.creat...
0
Kotlin
0
0
f082000e7c2c44818baa0beeb24f8f352427c624
746
Openticator
Apache License 2.0
data/src/main/kotlin/com/arturogutierrez/openticator/storage/realm/helpers/RealmObservable.kt
suclike
102,408,283
true
{"Kotlin": 202256, "Java": 4366}
package com.arturogutierrez.openticator.storage.realm.helpers import io.realm.Realm import io.realm.RealmObject import io.realm.RealmResults import rx.Observable import rx.functions.Func1 object RealmObservable { fun <T : RealmObject> `object`(function: Func1<Realm, T>): Observable<T> { return Observable.creat...
0
Kotlin
0
0
f082000e7c2c44818baa0beeb24f8f352427c624
746
Openticator
Apache License 2.0
mvvm-coroutines-clean-architecture/app/src/main/java/br/com/mobiplus/gitclient/presentation/ui/gitRepo/list/GitRepoListActivity.kt
mariofelesdossantosjunior
249,457,538
true
{"Kotlin": 145177}
package br.com.mobiplus.gitclient.presentation.ui.gitRepo.list import android.os.Bundle import androidx.appcompat.app.AppCompatActivity import androidx.lifecycle.Observer import androidx.recyclerview.widget.LinearLayoutManager import br.com.mobiplus.gitclient.R import br.com.mobiplus.gitclient.presentation.extensions....
2
Kotlin
1
1
f1d96c8f45814b883fab3987b8e365310e2de2dc
4,007
android-architecture-examples
MIT License
aws-crt-kotlin/native/src/aws/sdk/kotlin/crt/auth/credentials/StaticCredentialsProviderNative.kt
awslabs
267,704,046
false
null
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package aws.sdk.kotlin.crt.auth.credentials /** * A credentials provider for a fixed set of credentials */ public actual class StaticCredentialsProvider internal actual constructor(builder: StaticCred...
5
null
3
6
d0e62ccdb99eb016bf7c7cb52a8f9a6fc12929d3
670
aws-crt-kotlin
Apache License 2.0
app/src/main/java/com/karumi/ui/components.kt
Karumi
377,408,960
false
null
package com.karumi.ui import androidx.compose.runtime.Composable import androidx.hilt.navigation.compose.hiltViewModel import androidx.navigation.NavGraphBuilder import androidx.navigation.NavHostController import androidx.navigation.NavType import androidx.navigation.compose.NavHost import androidx.navigation.compose...
1
Kotlin
8
18
ae25ac2619076c3dea972903afe9a181fa7ce0dc
2,162
KataSuperHeroesCompose
Apache License 2.0
dynamic-colors-async/src/main/kotlin/mobile/substance/colors/async/DynamicColorsCallback.kt
jlnstrk
87,705,230
false
null
/* * Copyright 2020 Substance Mobile * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
0
Kotlin
0
2
7ac4c2ac46fe719f574e829c465e68daf2716c5e
830
dynamic-colors
Apache License 2.0
fr_yhe_pro/src/main/java/com/friendly_machines/fr_yhe_pro/command/WatchSSetEventReminderCommand.kt
daym
744,679,396
false
{"Kotlin": 453101}
package com.friendly_machines.fr_yhe_pro.command import com.friendly_machines.fr_yhe_api.watchprotocol.WatchResponse import com.friendly_machines.fr_yhe_pro.WatchOperation import java.nio.ByteBuffer import java.nio.ByteOrder /* val index: Byte, val switch: Byte, val type: Byte, val hour: Byte,...
0
Kotlin
1
1
d2bc5a833d755bef3bb8886c54fd09b539fb14c9
1,310
frbpdoctor
BSD 2-Clause FreeBSD License
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/BrandMixpanel.kt
walter-juan
868,046,028
false
{"Kotlin": 20416825}
package com.woowla.compose.icon.collections.tabler.tabler.outline 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.vector.ImageVector import androidx.compose.ui.graphics.vector...
0
Kotlin
0
1
b037895588c2f62d069c724abe624b67c0889bf9
2,645
compose-icon-collections
MIT License
app/src/main/java/com/example/SimpleToDo/TaskItemAdapter.kt
Vaccarios
449,114,584
false
null
package com.example.SimpleToDo import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.recyclerview.widget.RecyclerView class TaskItemAdapter(val listOfItems: List<String>, val longClickListener: OnLongClickListene...
1
Kotlin
0
0
3088966926fdb16785a9115cf9bb4875eb2a8f03
1,918
SimpleToDo
Apache License 2.0
app/src/main/java/com/example/app/ui/common/appstate/AppStateManager.kt
mgolebiowski95
521,872,048
false
{"Kotlin": 80132}
package com.example.app.ui.common.appstate import androidx.lifecycle.DefaultLifecycleObserver import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.lifecycleScope import kotlinx.coroutines.flow.MutableSharedFlow import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.SharedFlow impo...
0
Kotlin
0
0
2ded910641ac69925d7dd2214ea8c3515acc2c81
1,749
billing
Apache License 2.0
adapter/src/main/kotlin/org/javacs/ktda/adapter/LineNumberConverter.kt
fwcd
144,839,079
false
{"Kotlin": 80289}
package org.javacs.ktda.adapter /** * Converts between external and internal line numbering. * For example: * * An "external" (debug adapter) line number could be zero-indexed and * an "internal" (core) line number would be one-indexed. * * In this case, externalLineOffset would be -1. */ class LineNumberConve...
32
Kotlin
19
96
7f05669b642d21afa46ac7b75307fa5d523a7263
574
kotlin-debug-adapter
MIT License
notifications/src/test/kotlin/com/amazon/opendistroforelasticsearch/notifications/resthandler/NotificationConfigCrudIT.kt
opendistro-for-elasticsearch
294,836,105
false
null
/* * Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * or in the ...
5
Kotlin
4
5
87c4b48b5550d1df77f73c3c3c2ead9a5851a9f7
1,889
notifications
Apache License 2.0
src/main/kotlin/kr/heartpattern/spikot/event/hot/HotEventManager.kt
Spikot
129,165,327
false
null
/* * Copyright 2020 Spikot project 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 ...
0
Kotlin
3
11
a44e2c9ad3203f3ea1bbf65ae9ef53f6f6283d77
2,081
SpikotLegacy
Apache License 2.0
sample/src/commonMain/kotlin/pro/respawn/flowmvi/sample/ui/widgets/CodeView.kt
respawn-app
477,143,989
false
{"Kotlin": 422243}
package pro.respawn.flowmvi.sample.ui.widgets import androidx.compose.foundation.horizontalScroll import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.rememberScrollState import and...
5
Kotlin
8
228
1fe10a726fb7a3e28c5d1e39dca83e67665219cb
3,477
FlowMVI
Apache License 2.0
feature/preference/src/main/java/io/github/droidkaigi/confsched2020/preference/ui/PreferencesFragment.kt
shinya-takano
233,878,072
true
{"Kotlin": 419429, "Swift": 33648, "Shell": 9467, "Java": 7891, "Ruby": 4733, "HTML": 206, "Makefile": 87}
package io.github.droidkaigi.confsched2020.preference.ui import android.os.Bundle import android.view.View import androidx.appcompat.app.AppCompatActivity import androidx.appcompat.app.AppCompatDelegate import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_NO import androidx.appcompat.app.AppCompatDelegate.MODE_N...
0
Kotlin
0
0
83b6f9234e42577125e15f28660029be598c7835
3,481
conference-app-2020
Apache License 2.0
TravelAlly/app/src/main/java/com/github/skrox/travelally/TravelAllyApplication.kt
SkroX
262,239,372
false
null
package com.github.skrox.travelally import android.app.Application import com.github.skrox.travelally.di.AppComponent import com.github.skrox.travelally.di.DaggerAppComponent open class TravelAllyApplication : Application() { // Instance of the AppComponent that will be used by all the Activities in the project...
5
Kotlin
4
4
a8558c3ab63185043240e524d0dc880434cafb3c
598
TravelAlly-Android
MIT License
data/src/main/java/com/example/tmdb/data/di/modules/ServiceModule.kt
huuphuoc1396
742,234,156
false
{"Kotlin": 96005, "C++": 327, "CMake": 111}
package com.example.tmdb.data.di.modules import com.example.tmdb.data.BuildConfig import com.example.tmdb.data.di.annotations.AuthClient import com.example.tmdb.data.di.annotations.NoAuthClient import com.example.tmdb.data.services.AuthService import com.example.tmdb.data.services.NoAuthService import com.example.tmdb...
9
Kotlin
0
1
798c563a7873d5c82af0e587f30e6e1b88cee2bd
2,594
android-tmdb
MIT License
data/src/main/kotlin/Test.kt
hossain-khan
275,430,458
false
{"Kotlin": 35068}
import com.squareup.sqldelight.db.SqlDriver import com.squareup.sqldelight.sqlite.driver.JdbcSqliteDriver import dev.hossain.hangouts.Database import hangouts.data.Conversation import hangouts.data.ConversationQueries /** * Testing database classes. * * See https://cashapp.github.io/sqldelight/jvm_sqlite/ * Also s...
11
Kotlin
1
4
ebe1ed91c7657134b890d4828af84a3ba600342d
833
kotlin-google-hangouts-parser
MIT License
video-component/src/main/java/debug/VideoApp.kt
R-Gang-H
538,443,254
false
null
package debug import com.kotlin.android.core.BuildConfig import com.kotlin.android.core.CoreApp import com.kotlin.android.player.PlayerConfig import com.kotlin.android.widget.refresh.Refresh /** * create by lushan on 2020/9/1 * description: */ class VideoApp:CoreApp() { override fun onCreate() { super....
0
Kotlin
0
1
e63b1f9a28c476c1ce4db8d2570d43a99c0cdb28
444
Mtime
Apache License 2.0
ui/src/main/kotlin/io/rippledown/caseview/AttributesHeaderCell.kt
TimLavers
513,037,911
false
{"Kotlin": 967518, "Gherkin": 33298, "Java": 138}
package io.rippledown.caseview import androidx.compose.foundation.layout.RowScope import androidx.compose.material.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.text.font.FontWeight @Composable fun RowScope.AttributesHeaderCell(widthWeight: Float) { ...
0
Kotlin
0
0
64f11bf3640055a5f900921e255c59d2ed89b613
450
OpenRDR
MIT License
solar/src/main/java/com/chiksmedina/solar/lineduotone/school/CaseRound.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.lineduotone.school 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.StrokeCap.Compani...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
4,571
SolarIconSetAndroid
MIT License
android/src/main/kotlin/me/leoletto/caller/CallerPhoneStateListener.kt
ijas-cookee
464,395,259
true
{"Kotlin": 12804, "Dart": 12501, "Java": 145}
package me.leoletto.caller import android.content.Context import android.os.Build import android.telephony.PhoneStateListener import android.telephony.TelephonyManager import android.util.Log import androidx.annotation.RequiresApi import io.flutter.embedding.engine.FlutterEngine import io.flutter.embedding.engine.dart...
0
null
0
0
bc17870e81c7519c19a313d913be92e115e06fe3
5,527
Caller
MIT License
src/main/kotlin/com/weevo/bokeh/Bokeh.kt
Evoloxi
777,782,571
false
{"Kotlin": 4386}
package com.weevo.bokeh import org.quiltmc.loader.api.ModContainer import org.quiltmc.qsl.base.api.entrypoint.ModInitializer import org.slf4j.Logger import org.slf4j.LoggerFactory internal class Bokeh: ModInitializer { override fun onInitialize(mod: ModContainer) { Logger = LoggerFactory.getLogger(mod.me...
0
Kotlin
0
0
cacd85709c62115e7ce8ed42744418a6c199213c
593
bokeh
Creative Commons Zero v1.0 Universal
app/src/main/java/com/techflow/materialcolor/activity/CustomColorActivity.kt
dilipsuthar97
199,159,898
false
null
package com.techflow.materialcolor.activity import android.graphics.Color import android.os.Bundle import android.view.MenuItem import android.widget.SeekBar import androidx.databinding.DataBindingUtil import com.google.android.material.appbar.MaterialToolbar import com.techflow.materialcolor.MaterialColor import com....
0
Kotlin
0
2
6bf777391ba70869507b1f57a2486c7c00170abf
6,756
MaterialColor
Apache License 2.0