path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/aljaldak/culmix/feature/join/common/BlueButton.kt | alzaltak | 579,247,462 | false | {"Kotlin": 126895} | package com.aljaldak.culmix.feature.join.common
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.runtime.Composable
import androidx.compose.ui.Al... | 0 | Kotlin | 0 | 3 | 396e9867e99f354b5cb4cff36c1cbb292dc076d5 | 1,100 | appjam_android | Apache License 2.0 |
app/src/main/java/org/rfcx/incidents/view/guardian/GuardianDeploymentActivity.kt | rfcx | 104,899,135 | false | {"Kotlin": 1176262, "Java": 1049} | package org.rfcx.incidents.view.guardian
import android.annotation.SuppressLint
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.net.wifi.ScanResult
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import android.view.Vie... | 29 | Kotlin | 0 | 0 | 804d56b8c7475e51299db5fde9207ae783820bf9 | 12,359 | guardian-app-android | Apache License 2.0 |
libraries/tools/kotlin-gradle-plugin/src/test/kotlin/org/jetbrains/kotlin/gradle/targets/js/internal/NodeJsStackTraceParserKtTest.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.gradle.targets.js.internal
import org.junit.Test
import kotlin.test.assertEquals
class NodeJsStackTraceParserKtTest {
@Te... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 4,854 | kotlin | Apache License 2.0 |
client/android/div/src/main/java/com/yandex/div/core/expression/variables/LocalVariableController.kt | divkit | 523,491,444 | false | null | package com.yandex.div.core.expression.variables
import com.yandex.div.core.view2.errors.ErrorCollector
import com.yandex.div.data.Variable
internal class LocalVariableController(
private val delegate: VariableController,
private val localVariables: VariableSource
) : VariableController {
override fun su... | 5 | null | 122 | 2,205 | 9d28bdb64c24c32b1d6cb4d9d0c61a84dbe38e0d | 1,400 | divkit | Apache License 2.0 |
compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/ComposedModifier.kt | JetBrains | 351,708,598 | false | null | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 10 | null | 16 | 59 | e18ad812b77fc8babb00aacfcea930607b0794b5 | 11,905 | androidx | Apache License 2.0 |
app/src/main/kotlin/com/wiley/fordummies/androidsdk/tictactoe/model/ContactLiveData.kt | acchampion | 157,287,910 | false | null | package com.wiley.fordummies.androidsdk.tictactoe.model
import android.content.Context
import androidx.lifecycle.MutableLiveData
class ContactLiveData(private val mContext: Context) :
MutableLiveData<List<Contact?>?>() {
private val classTag = javaClass.simpleName
}
| 0 | Kotlin | 2 | 2 | 596641228844e8a2daef9607ba8f001f157ee19d | 271 | TicTacToeKotlin | Apache License 2.0 |
packages/audioplayers_android/android/src/main/kotlin/xyz/luan/audioplayers/player/Player.kt | bluefireteam | 107,827,192 | false | null | package xyz.luan.audioplayers.player
import xyz.luan.audioplayers.AudioContextAndroid
import xyz.luan.audioplayers.source.Source
interface Player {
fun getDuration(): Int?
fun getCurrentPosition(): Int?
fun isLiveStream(): Boolean
fun start()
fun pause()
fun stop()
fun seekTo(position: In... | 183 | null | 839 | 1,967 | f284cc99038881abaf40b9f1961321b695dbc3e2 | 588 | audioplayers | MIT License |
02_control_flow/04.Range.kt | alidehkhodaei | 617,526,016 | false | null | package `02_control_flow`
fun main() {
// Ranges
for (i in 0..3) {
print(i)
}
for (i in 0 until 3) {
print(i)
}
for (i in 2..8 step 2) {
print(i)
}
for (i in 3 downTo 0) {
print(i)
}
for (c in 'a'..'d') {
print(c)
}
if (2 in... | 0 | Kotlin | 4 | 55 | a9c9fe2922d5a8c6ad839de2064e56582a851bfc | 379 | kotlin-cheatsheet | MIT License |
app/src/main/java/com/xuexiang/templateproject/fragment/other/SettingsFragment.kt | xuexiangjys | 443,728,025 | false | null | /*
* Copyright (C) 2021 xuexiangjys(xuexiangjys@163.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 a... | 1 | null | 18 | 52 | 551bef56697c628628d42a857db37658c7670f8d | 3,235 | TemplateAppProject-kotlin | Apache License 2.0 |
hacktoberfest_issues/app/src/main/java/io/henrikhorbovyi/hacktoberfestissues/ui/components/IssueView.kt | aadityamp01 | 275,898,636 | false | null | package io.henrikhorbovyi.hacktoberfestissues.ui.components
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx... | 1 | null | 57 | 76 | d047d5b4c3321df85c6523c0725028986c898b14 | 2,044 | Androapps | MIT License |
app/src/main/java/com/yangbw/libtest/module/common/MainActivity.kt | yangbangwei | 287,162,841 | false | null | package com.yangbw.libtest.ui.activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.databinding.ViewDataBinding
import androidx.fragment.app.FragmentTransaction
import com.blankj.utilcode.util.ToastUtils
import com.library.common.base.Ba... | 0 | null | 3 | 9 | d3791cfa3586c7430b5fb8d9870fcb71fab9d8f1 | 5,276 | MvvmLib | Apache License 2.0 |
composeApp/src/commonMain/kotlin/components/CharacterTraceTree/AbundanceTraceTree.kt | Coding-band | 612,426,050 | false | {"Kotlin": 866087, "Swift": 675} | package components.CharacterTraceTree
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.aspectRatio
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.l... | 0 | Kotlin | 2 | 19 | f378eaa1ab23d4a761543d61fe547c0ad9de26f6 | 7,615 | Honkai-Stargazer | Apache License 2.0 |
data/report/src/main/java/com/hankki/data/report/repositoryimpl/ReportRepositoryImpl.kt | Team-Hankki | 816,081,730 | false | {"Kotlin": 597927} | package com.hankki.data.report.repositoryimpl
import android.content.Context
import android.net.Uri
import com.hankki.core.common.utill.ContentUriRequestBody
import com.hankki.data.report.datasource.ReportDataSource
import com.hankki.data.report.dto.request.ReportOtherSchoolStoreRequestDto
import com.hankki.data.repor... | 9 | Kotlin | 0 | 43 | 959b647e3b42fe1ae96d85c87ea7cc7ebfb74266 | 3,924 | hankki-android | Apache License 2.0 |
generator/src/main/java/api/openevent/annotations/WriteOnly.kt | iamareebjamal | 123,676,070 | false | null | package api.openevent.annotations
@Target(AnnotationTarget.FIELD)
@MustBeDocumented
annotation class WriteOnly | 0 | Kotlin | 0 | 0 | c38fe0877ba53aec9581e9995f0a71c7a2f2025f | 111 | openevent-java | Apache License 2.0 |
src/main/kotlin/no/nav/familie/ks/sak/kjerne/behandling/steg/vedtak/feilutbetaltvaluta/FeilutbetaltValutaService.kt | navikt | 533,308,075 | false | {"Kotlin": 3922933, "Gherkin": 197637, "Shell": 1839, "Dockerfile": 467} | package no.nav.familie.ks.sak.kjerne.behandling.steg.vedtak.feilutbetaltvaluta
import no.nav.familie.ks.sak.api.dto.FeilutbetaltValutaDto
import no.nav.familie.ks.sak.common.exception.Feil
import no.nav.familie.ks.sak.common.util.tilDagMånedÅr
import no.nav.familie.ks.sak.kjerne.logg.LoggService
import no.nav.familie.... | 8 | Kotlin | 1 | 2 | a77d04a2e987aa1722b85a2165d48cc72ca46d34 | 2,996 | familie-ks-sak | MIT License |
demo/problem-demo/main/main.kt | HoshinoTented | 152,888,590 | false | null | import org.hoshino9.luogu.LuoGu
import org.hoshino9.luogu.LuoGuClient
import org.hoshino9.luogu.page.maxPageCount
import org.hoshino9.luogu.problem.BaseProblem
import org.hoshino9.luogu.problem.problemList
suspend fun main() {
val lg = LuoGuClient()
val max = lg.problemList().maxPageCount
val seq = sequence {
(1.... | 12 | Kotlin | 0 | 34 | 28523e9057462aca5ac2eb0af375fb220069dbe8 | 420 | LuoGuAPI | MIT License |
app/src/main/java/com/umairadil/androidjetpack/di/FragmentScope.kt | umair13adil | 139,688,287 | false | null | package com.umairadil.androidjetpack.di
import javax.inject.Scope
@Scope
@kotlin.annotation.Retention
annotation class ActivityScope | 0 | Kotlin | 4 | 11 | 2cf74f50df7329c33cda543a84540c97860c4452 | 134 | AndroidJetpackTemplate | The Unlicense |
app/src/main/java/com/ellison/demo/recognition/service/provider/RecognitionProvider.kt | ellisonchan | 642,878,126 | false | null | package com.ellison.demo.recognition.service.provider
object RecognitionProvider {
fun provideRecognition(): IRecognitionEngine = CerenceRecognitionEngine()
} | 0 | Kotlin | 0 | 5 | 20aa9c75715f36f038c98227863e72ba2ce06be4 | 163 | AndroidUDemo | MIT License |
SampleProject/app/src/main/java/projects/ealmikeew/pagingrecyclersampleproject/MainActivity.kt | EgorAlmikeev | 244,010,001 | false | null | package projects.ealmikeew.pagingrecyclersampleproject
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.RecyclerView
import android.view.View
import android.widget.SearchView
import android.widget.TextView
class MainActivity : AppCompatActivity() {
// pagi... | 0 | Kotlin | 0 | 0 | b53d328adce899e54117889d5c9a4da0df75c0f7 | 2,620 | PagingRecyclerView | MIT License |
apollo-gradle-plugin/src/main/kotlin/com/apollographql/apollo/gradle/api/ApolloSourceSetExtension.kt | iwalker7 | 245,958,640 | true | {"INI": 15, "YAML": 1, "Gradle Kotlin DSL": 19, "TOML": 1, "Shell": 4, "JSON": 76, "Markdown": 23, "Batchfile": 2, "Text": 1, "Ignore List": 9, "XML": 47, "Proguard": 1, "GraphQL": 91, "Kotlin": 243, "Java": 356, "Gradle": 9, "CODEOWNERS": 1, "JavaScript": 1, "Redirect Rules": 2, "MDX": 1, "SVG": 1, "ANTLR": 1, "Groovy... | package com.apollographql.apollo.gradle.api
import org.gradle.api.Project
import org.gradle.api.model.ObjectFactory
import javax.inject.Inject
/**
* @Deprecated
*
* This class is only there for backward compatibility reasons with the old groovy plugin
*/
@Deprecated("please use services instead")
open class Apoll... | 0 | null | 0 | 1 | e73e283c6bd9600db8c26ed00b3f5a0f929d9563 | 740 | apollo-android | MIT License |
app/shared/state-machine/ui/public/src/commonMain/kotlin/build/wallet/statemachine/recovery/cloud/FullAccountCloudBackupRestorationUiStateMachineImpl.kt | proto-at-block | 761,306,853 | false | null | package build.wallet.statemachine.recovery.cloud
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import bui... | 3 | null | 6 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 24,529 | bitkey | MIT License |
composeApp/src/commonMain/kotlin/ru/slartus/boostbuddy/utils/VersionsComparer.kt | slartus | 767,913,639 | false | {"Kotlin": 239809, "Swift": 1264} | package ru.slartus.boostbuddy.utils
internal object VersionsComparer {
fun String.greaterThan(version2: String): Boolean = compareVersions(this, version2) == 1
/**
* Если первая версия больше второй, то мы возвращаем 1.
* Если вторая версия больше первой, то мы возвращаем -1
* 0 - равны
... | 0 | Kotlin | 0 | 5 | a90d10683c4ce6b410c59f1413da36287bed0efd | 990 | BoostBuddy | Apache License 2.0 |
app/src/main/java/com/mantequilla/jetpackcomposetemplate/ui/theme/Theme.kt | bagussubagja | 837,977,036 | false | {"Kotlin": 60374} | package com.mantequilla.jetpackcomposetemplate.ui.theme
import android.app.Activity
import android.os.Build
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.darkColorScheme
import androidx.compose.material3.dynamicDarkColorScheme
i... | 0 | Kotlin | 0 | 0 | ffdc4a31c39324e585ff938ea81fcb2431b03092 | 1,505 | jetpack-compose-template | MIT License |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/datadonation/analytics/server/DataDonationAnalyticsServer.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.datadonation.analytics.server
import dagger.Lazy
import de.rki.coronawarnapp.datadonation.analytics.AnalyticsException
import de.rki.coronawarnapp.server.protocols.internal.ppdd.PpaDataRequestAndroid
import timber.log.Timber
import javax.inject.Inject
import javax.inject.Singleton
@Single... | 6 | Kotlin | 514 | 2,495 | d3833a212bd4c84e38a1fad23b282836d70ab8d5 | 1,378 | cwa-app-android | Apache License 2.0 |
Kotlin/ToDo_List/app/src/main/java/com/example/todo_list/MainActivity.kt | InvisiblePro | 543,933,754 | false | null | package com.example.todo_list
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import androidx.appcompat.app.AppCompatDelegate
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
cl... | 0 | null | 129 | 31 | 6feb387e06540ccd398e3921d13edbb4a5681ef1 | 1,574 | Hacktoberfest-2022 | MIT License |
buildSrc/src/main/kotlin/copyright.kt | android | 263,405,600 | false | null | /*
* Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package tasks
import groovy.util.Node
import groovy.util.XmlParser
import org.gradle.api.DefaultTask
import org.gradle.api.Project
import org.gradle.api.ta... | 0 | null | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 1,813 | kotlin | Apache License 2.0 |
src/main/kotlin/me/syari/ss/core/time/TimeScheduler.kt | willritch87 | 268,227,777 | true | {"Kotlin": 148932} | package me.syari.ss.core.time
import me.syari.ss.core.Main.Companion.corePlugin
import me.syari.ss.core.auto.Event
import me.syari.ss.core.auto.OnEnable
import me.syari.ss.core.scheduler.CustomScheduler.runLater
import me.syari.ss.core.time.event.NextDayEvent
import me.syari.ss.core.time.event.NextHourEvent
import me.... | 0 | Kotlin | 0 | 0 | 0c15a57bb791844d91c60aa9e6f7c4e160e9f43b | 3,105 | SS-Core | Apache License 2.0 |
anto/src/main/java/com/example/anto/ValueEventListener.kt | tanawatnunnak | 213,522,627 | false | null | package com.example.anto
interface ValueEventListener {
fun onDataChange(responseAnto: ResponseAnto)
fun onCancelled(dataBaseError: String)
} | 0 | Kotlin | 0 | 0 | bb4658b6d62a90fc72ce697245fd764a1a74bd38 | 150 | Android-AntoLibrary | MIT License |
sample/src/main/java/com/github/qingmei2/sample/ui/main/home/HomeIntent.kt | qingmei2 | 167,174,767 | false | null | package com.github.qingmei2.sample.ui.main.home
import com.github.qingmei2.mvi.base.intent.IIntent
sealed class HomeIntent : IIntent {
object InitialIntent : HomeIntent()
object RefreshIntent : HomeIntent()
object ScrollToTopIntent : HomeIntent()
data class ScrollStateChangedIntent(val state: Int)... | 4 | Kotlin | 25 | 170 | 6fce8ebc0b123bec8684f90f9b11fa606d469c42 | 337 | MVI-Architecture | Apache License 2.0 |
app/src/main/java/com/guoyi/listeninglove/api/music/MusicApi.kt | GuoyiZhang | 242,757,044 | false | null | package com.cyl.musiclake.api.music
import com.cyl.musicapi.bean.SongComment
import com.cyl.musiclake.api.music.baidu.BaiduApiServiceImpl
import com.cyl.musiclake.bean.Music
import com.cyl.musiclake.common.Constants
import com.cyl.musiclake.api.net.ApiManager
import com.cyl.musiclake.api.net.RequestCallBack
import co... | 4 | null | 503 | 5 | 6d9442bad15910fe6d813bdf556fe1562d950947 | 7,252 | 077-Android-ListeningLove | Apache License 2.0 |
android-plugins/src/main/kotlin/io/github/lyxnx/gradle/android/catalogs/firebase/FirebasePlugin.kt | Lyxnx | 608,846,624 | false | {"Kotlin": 30504} | package io.github.lyxnx.gradle.android.catalogs.firebase
import io.github.lyxnx.gradle.android.catalogs.base.CatalogsBasePlugin
import io.github.lyxnx.gradle.android.catalogs.base.firebaseCatalog
import io.github.lyxnx.gradle.android.catalogs.internal.GMS_PLUGIN
import io.github.lyxnx.gradle.android.catalogs.internal.... | 1 | Kotlin | 0 | 3 | 867faf734618a481736df7860aa626264f3deddf | 1,306 | android-gradle-catalogs | Apache License 2.0 |
androidApp/src/main/java/earth/levi/sage/android/viewmodel/DevicePhotosViewModel.kt | levibostian | 510,489,739 | false | null | package earth.levi.sage.android.viewmodel
import android.Manifest
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.provider.Settings
import androidx.activity.result.ActivityResultLauncher
import androidx.activity.result.contract.ActivityResultContracts
import androidx... | 5 | Kotlin | 1 | 0 | 515a3418935e33fa62b994aab4cb8b3085e366c0 | 3,756 | Sage | MIT License |
compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/res/vector/DesktopXmlVectorParser.desktop.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 9 | null | 950 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 10,794 | androidx | Apache License 2.0 |
app/src/main/java/com/android/mvvm/entity/NumberResponse.kt | chenkaik | 292,511,076 | false | null | package com.android.mvvm.entity
import com.android.mvvm.https.response.BaseResponse
/**
* date: 2020/9/25
* desc:
*/
data class NumberResponse(
val MSG_BODY: MSGBODY
) : BaseResponse(){
data class MSGBODY(
val Result: String
)
}
| 0 | Kotlin | 0 | 0 | 63fe66d8a92ec6699a0ea09711236847e6ec5db6 | 257 | AndroidMVVM | Apache License 2.0 |
app/src/main/java/org/stepik/android/presentation/profile_detail/ProfileDetailView.kt | StepicOrg | 42,045,161 | false | {"Kotlin": 4281147, "Java": 1001895, "CSS": 5482, "Shell": 618} | package org.stepik.android.presentation.profile_detail
import org.stepik.android.domain.profile.model.ProfileData
interface ProfileDetailView {
fun setState(profileData: ProfileData?)
} | 13 | Kotlin | 54 | 189 | dd12cb96811a6fc2a7addcd969381570e335aca7 | 191 | stepik-android | Apache License 2.0 |
WeatherAppKotlin/app/src/main/java/com/guido/weatherappkotlin/Utilities/ApiUtilities.kt | santiagoguido | 506,688,823 | false | null | package com.guido.weatherappkotlin.Utilities
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
object ApiUtilities {
private var retrofit:Retrofit?=null
var BASE_URL="https://api.openweathermap.org/data/2.5/";
fun getApiInterface():ApiInterface?{
if(retrofit==null)
... | 0 | null | 1 | 1 | 0168d1754ddfe870c4b18911fefbc9a333fb7d10 | 521 | WeatherAppKotlin-Complete | Apache License 2.0 |
android-test-framework/testSrc/com/android/tools/idea/testing/ProjectServiceRule.kt | JetBrains | 60,701,247 | false | {"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19} | /*
* Copyright (C) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 5 | Kotlin | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 1,616 | android | Apache License 2.0 |
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/pointers/KtFirEnumEntryInitializerSymbolPointer.kt | JetBrains | 3,432,266 | false | {"Kotlin": 78346118, "Java": 6692370, "Swift": 4062767, "C": 2609482, "C++": 1962762, "Objective-C++": 169966, "JavaScript": 138328, "Python": 59488, "Shell": 35024, "TypeScript": 22800, "Lex": 18369, "Groovy": 17400, "Objective-C": 15578, "Batchfile": 11746, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9857, "EJS": 5241... | /*
* Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.analysis.api.fir.symbols.pointers
import org.jetbrains.kotlin.analysis.api.KtAna... | 182 | Kotlin | 5617 | 47,637 | d257153a50bdaa761d54bbc9fd1c5d78a3769f0f | 1,515 | kotlin | Apache License 2.0 |
app/src/main/java/com/example/shrinecompose/ui/theme/Type.kt | c5inco | 388,989,613 | false | null | @file:Suppress("MagicNumber")
package io.petros.movies.corecompose.ui
import androidx.compose.material.Typography
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.sp
object LightTypography {
... | 4 | null | 3 | 5 | 2275e7332f7d2eacb24dcc10dc6c21e98f4cdb97 | 4,324 | Shrine-Compose-Stream | Apache License 2.0 |
kgraphql/src/test/kotlin/com/apurebase/kgraphql/specification/language/SelectionSetsSpecificationTest.kt | stuebingerb | 872,399,797 | false | null | package com.apurebase.kgraphql.specification.language
import com.apurebase.kgraphql.Actor
import com.apurebase.kgraphql.Specification
import com.apurebase.kgraphql.defaultSchema
import com.apurebase.kgraphql.deserialize
import com.apurebase.kgraphql.extract
import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.... | 17 | null | 1 | 3 | f15b4e5327aff0bf3e011211405aa4b6dc8f36f1 | 1,484 | KGraphQL | MIT License |
src/main/java/dev/chieppa/wrapper/util/TemporalAccessor.kt | nrc4867 | 368,734,815 | false | null | package dev.chieppa.wrapper.util
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.KSerializer
import kotlinx.serialization.builtins.MapSerializer
import kotlinx.serialization.builtins.serializer
import kotlinx.serialization.descriptors.PrimitiveKind
import kotlinx.serialization.de... | 0 | Kotlin | 0 | 0 | 0c57cf295e806feb5ec5a96b55f1108329a203d0 | 3,443 | AO3-Parser | MIT License |
app/src/androidTest/java/yodeput/android/sample/app/MainActivityTest.kt | yodeput | 460,309,812 | false | {"Kotlin": 197975} | package yodeput.android.sample.app
import androidx.test.ext.junit.rules.ActivityScenarioRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import yodeput.mobile.banking.MainActivity
@RunWith(AndroidJUnit4::class)
class MainActivityTes... | 0 | Kotlin | 0 | 16 | e7f9766817c9a83a779251ce35dc9ea395b513e3 | 549 | jetpack-compose-modular-mobile-banking | The Unlicense |
sdk/android/src/main/java/com/reactnativehypertracksdk/common/SdkMethod.kt | hypertrack | 189,071,581 | false | null | package com.reactnativehypertracksdk.common
/**
* The list of available methods in the SDK API.
* It is used to match method calls in some wrappers (like Flutter)
* Enum naming convention is ignored to make datatype sync across platforms easier.
* Using Swift naming convention.
*/
internal enum class SdkMethod {
... | 2 | null | 8 | 7 | b2923837857bee29c3c933f00be3daedd6da8078 | 596 | sdk-react-native | MIT License |
src/test/kotlin/no/nav/personbruker/dittnav/eventaggregator/oppgave/testOppgaveQueries.kt | navikt | 189,239,389 | false | null | package no.nav.personbruker.dittnav.eventaggregator.oppgave
import no.nav.personbruker.dittnav.eventaggregator.common.database.util.list
import no.nav.personbruker.dittnav.eventaggregator.common.database.util.singleResult
import java.sql.Connection
fun Connection.getAllOppgave(): List<Oppgave> =
prepareStatement(... | 0 | Kotlin | 0 | 1 | a55db5d4c4f754454890cdd54d472227fa91a05d | 1,942 | dittnav-event-aggregator | MIT License |
inpertio-client-kotlin/src/test/kotlin/tech/harmonysoft/oss/inpertio/client/factory/impl/KotlinConfigProviderFactoryTest.kt | inpertio | 792,802,600 | false | null | package tech.harmonysoft.oss.inpertio.client.factory.impl
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import tech.harmonysoft.oss.inpertio.client.context.Context
import tech.harmonysoft.oss.inpertio.client.context.ContextProvider
import te... | 1 | Kotlin | 0 | 0 | bff79f31c8e87c68e8f3dfcf1c80217c757ebc78 | 3,514 | configurario-client-jvm | MIT License |
src/main/kotlin/net/papierkorb2292/command_crafter/editor/debugger/server/breakpoints/UnparsedServerBreakpoint.kt | Papierkorb2292 | 584,879,864 | false | {"Kotlin": 714339, "Java": 422878, "TypeScript": 32500, "JavaScript": 2311, "SCSS": 1936} | package net.papierkorb2292.command_crafter.editor.debugger.server.breakpoints
import net.papierkorb2292.command_crafter.editor.debugger.helper.copy
import org.eclipse.lsp4j.debug.SourceBreakpoint
data class UnparsedServerBreakpoint(
val id: Int,
val sourceReference: Int?,
val sourceBreakpoint: SourceBreak... | 1 | Kotlin | 0 | 7 | ae01c01e8c69a1930d87557c0eefa7b76dd39c52 | 518 | CommandCrafter | MIT License |
rxloaderextensions/src/main/java/io/carlol/android/rxloaderextensions/module/ViewRxLoaderModule.kt | carlol | 214,839,472 | false | null | package io.carlol.rxloaderextensions.module
import android.view.View
import io.carlol.rxloaderextensions.module.interfaces.IRxLoaderModule
/**
* Created on 2019-10-02.
*/
open class ViewRxLoaderModule(protected val view: View) :
IRxLoaderModule {
override fun startLoader() {
view.visibility = View.... | 0 | Kotlin | 0 | 0 | b5701537971a1989c1408fc6929d2e394096933d | 411 | RxLoaderExtensions | MIT License |
app/src/main/java/com/skyyo/template/application/repositories/auth/AuthRepository.kt | Skyyo | 325,519,535 | false | null | package com.skyyo.template.application.repositories.auth
import com.skyyo.template.application.CODE_200
import com.skyyo.template.application.models.remote.SignInRequest
import com.skyyo.template.application.models.remote.SignUpRequest
import com.skyyo.template.application.models.remote.SocialSignInRequest
import com.... | 0 | Kotlin | 6 | 21 | e56cd417b29334be2ed1487042b4d89d923bf027 | 2,643 | android-template | MIT License |
MeetingRefApp/src/main/java/com/visionable/meetingrefapp/recyclerview/adapters/VideoRecyclerViewAdapter.kt | visionable-public | 369,285,170 | false | null | package com.visionable.meetingrefapp.recyclerview.adapters
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.FragmentActivity
import androidx.recyclerview.widget.RecyclerView
import com.visionable.meetingrefapp.data.VideoStreamItem
import com.visiona... | 0 | Kotlin | 0 | 1 | 956ba604afd51d71e8625b18672c7f33040dce07 | 4,645 | AndroidMeetingSDK | MIT License |
app/src/main/java/com/br/agile_github/agilegithubapi/model/User.kt | methob | 122,432,870 | false | null | package com.br.agile_github.agilegithubapi.model
import android.os.Parcel
import android.os.Parcelable
import com.google.gson.annotations.SerializedName
data class User(
var id: Int? = null,
var login: String? = null,
var email: String? = null,
@SerializedName("avatar_url")
... | 0 | Kotlin | 1 | 0 | b394f6676c042f815154baf22573441ee98224f5 | 1,147 | github_api_android_mvvm | MIT License |
src/main/kotlin/icu/windea/pls/lang/util/ParadoxInlineScriptManager.kt | DragonKnightOfBreeze | 328,104,626 | false | null | package icu.windea.pls.lang
import com.intellij.openapi.application.*
import com.intellij.openapi.progress.*
import com.intellij.openapi.project.*
import com.intellij.openapi.util.*
import com.intellij.openapi.vfs.*
import com.intellij.psi.*
import com.intellij.psi.util.*
import icu.windea.pls.config.*
import icu.wind... | 9 | null | 5 | 41 | 99e8660a23f19642c7164c6d6fcafd25b5af40ee | 11,076 | Paradox-Language-Support | MIT License |
app/src/main/java/com/touhidroid/spycammetrics/LoggerService.kt | touhiDroid | 121,783,332 | false | null | package com.touhidroid.spycammetrics
import android.annotation.SuppressLint
import android.app.ActivityManager
import android.app.Service
import android.content.Context
import android.content.Intent
import android.net.TrafficStats
import android.os.Environment
import android.os.Handler
import android.os.IBinder
import... | 0 | Kotlin | 0 | 0 | c0305dbfc85777b80187c0c815cfda3f25e4baab | 6,162 | SpyCamMetrics | Apache License 2.0 |
src/test/kotlin/no/nav/helse/spion/web/integration/AuthorizationTests.kt | navikt | 219,727,169 | false | null | package no.nav.helse.spion.web.integration
import com.fasterxml.jackson.databind.ObjectMapper
import io.ktor.http.ContentType
import io.ktor.http.HttpHeaders
import io.ktor.http.HttpMethod
import io.ktor.http.HttpStatusCode
import io.ktor.server.testing.setBody
import io.ktor.util.KtorExperimentalAPI
import no.nav.hel... | 7 | null | 1 | 1 | a9a17796ca9e40aff1532101f30d3399877271fc | 1,973 | helse-spion | MIT License |
packages/graalvm/src/main/kotlin/elide/runtime/intrinsics/sqlite/SQLiteTransaction.kt | elide-dev | 506,113,888 | false | {"Kotlin": 4156801, "Rust": 130170, "Java": 51233, "Python": 7851, "JavaScript": 6037, "Ruby": 2474, "C": 1926, "RenderScript": 578, "Shell": 160, "Pkl": 102, "TypeScript": 78, "Swift": 23} | /*
* Copyright (c) 2024 Elide Technologies, Inc.
*
* Licensed under the MIT license (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* https://opensource.org/license/mit/
*
* Unless required by applicable law or agreed to in writing,... | 39 | Kotlin | 16 | 97 | 652036fb4e8394e8ad1aced2f4bbfaa9e00a5181 | 6,286 | elide | MIT License |
app/src/main/java/com/kgurgul/cpuinfo/data/provider/GpuDataProvider.kt | kamgurgul | 105,620,694 | false | null | package com.kgurgul.cpuinfo.data.provider
import android.app.ActivityManager
import javax.inject.Inject
class GpuDataProvider @Inject constructor(
private val activityManager: ActivityManager
) {
fun getGlEsVersion(): String {
return activityManager.deviceConfigurationInfo.glEsVersion
}
} | 27 | Kotlin | 74 | 369 | 341e5485cbae9e8f0fcd66837183ab64f1fdc86c | 316 | cpu-info | Apache License 2.0 |
app/src/main/java/com/playground/navigationwithtabs/ui/AddTabFragment.kt | pjkarels | 328,534,271 | false | null | package com.playground.navigationwithtabs.ui
import android.app.Activity
import androidx.lifecycle.ViewModelProvider
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.inputmethod.EditorInfo
import android.view.inputmethod.InputMethodM... | 0 | Kotlin | 0 | 1 | 9a8d768153e16f60811d7856c1c1ad2f17f1b8f5 | 2,448 | SimpleLists | MIT License |
src/main/java/io/github/alexiscomete/lapinousecond/view/ui/longuis/inv/InvInfosUI.kt | Alexiscomete | 377,132,555 | false | null | package io.github.alexiscomete.lapinousecond.view.ui.longuis.inv
import io.github.alexiscomete.lapinousecond.view.ui.interactionui.InteractionStyle
import io.github.alexiscomete.lapinousecond.view.ui.interactionui.SimpleInteractionUICustomUI
import io.github.alexiscomete.lapinousecond.view.ui.playerui.PlayerUI
import ... | 55 | null | 0 | 9 | 463451ddf5df27085bf6cf60a0b7d9da9b4d14f2 | 2,939 | A-Discord-Adventure | MIT License |
presentation/src/main/java/com/team_ia/idea_archive_android/utils/formatTimeDeference.kt | Idea-Archive | 613,424,839 | false | null | package com.team_ia.idea_archive_android.utils
import java.time.LocalDateTime
import java.time.format.DateTimeFormatter
import java.time.temporal.ChronoUnit
fun String.formatTimeDifference(): String {
val regTime = this
val currentDateTime = LocalDateTime.now()
val formatter = DateTimeFormatter.ISO_DATE_T... | 6 | Kotlin | 0 | 9 | bb44bca1d4c86987563fe15c645b254775c88dd9 | 1,061 | Idea-Archive-Android | MIT License |
src/main/kotlin/com/skillw/pouvoir/internal/feature/hologram/impl/PouDecentHologramsLine.kt | Glom-c | 396,683,163 | false | null | package com.skillw.pouvoir.internal.feature.hologram.impl
import com.skillw.pouvoir.internal.feature.hologram.PouHolo
import eu.decentsoftware.holograms.api.DHAPI
import org.bukkit.Bukkit
import org.bukkit.Location
import org.bukkit.entity.Player
import java.util.*
/**
* @className PouHolographicDisplaysLine
*
* @... | 3 | Kotlin | 8 | 9 | 35b93485f5f4c2d5c534a2765ff7cfb8f34dd737 | 1,648 | Pouvoir | MIT License |
core/java/androidx/test/core/view/ViewCapture.kt | android | 41,148,494 | 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... | 313 | null | 306 | 1,139 | b33f54cee515b6f3c087eb2157b3be7e93e4997f | 11,767 | android-test | Apache License 2.0 |
business/home/src/main/java/com/komamj/business/home/HomeViewModel.kt | komamj | 367,612,961 | false | null | /*
* Copyright 2021 komamj
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 0 | null | 0 | 2 | fe61e2fb464730043164e083e31a4edc42c0183d | 841 | android-pedestal | MIT License |
src/main/kotlin/org/elm/workspace/VersionUtil.kt | intellij-elm | 104,530,474 | false | null | package org.elm.workspace
import com.fasterxml.jackson.core.JsonParser
import com.fasterxml.jackson.databind.DeserializationContext
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import com.fasterxml.jackson.databind.deser.std.StdDeserializer
/**
* A version number according to the [SemVer spec](h... | 171 | null | 70 | 390 | c6b56241eb293e0ba327a91059c57286bae9bf7e | 7,582 | intellij-elm | MIT License |
features/dedicatedip/src/main/java/com/kape/dedicatedip/domain/GetSignupDipToken.kt | pia-foss | 808,533,574 | false | {"Kotlin": 1196252} | package com.kape.dedicatedip.domain
import com.kape.dip.DipPrefs
class GetSignupDipToken(
private val dipPrefs: DipPrefs,
) {
operator fun invoke(): String =
dipPrefs.getPurchasedSignupDipToken()
} | 3 | Kotlin | 0 | 1 | 11b0122d560459506e6ed3752043b3d5d4f55bdb | 215 | mobile-android | MIT License |
src/main/kotlin/dev/akif/dependencyfinder/data/Dependency.kt | makiftutuncu | 404,801,871 | false | null | package dev.akif.dependencyfinder.data
import dev.akif.dependencyfinder.firstMatching
/**
* Represents a dependency.
*
* @param name Name of the dependency
*/
data class Dependency(val name: String) {
private val dependencies: MutableSet<Dependency> = mutableSetOf()
/**
* Finds a direct or transitiv... | 1 | Kotlin | 0 | 3 | b60b1bc7da6aba1fd17de06bad8e918975d5a706 | 1,463 | dependency-finder | MIT License |
src/commonMain/kotlin/io/konform/validation/ValidationBuilder.kt | konform-kt | 124,291,072 | false | {"Kotlin": 78847} | package io.konform.validation
import io.konform.validation.internal.ArrayValidation
import io.konform.validation.internal.IterableValidation
import io.konform.validation.internal.MapValidation
import io.konform.validation.internal.OptionalValidation
import io.konform.validation.internal.RequiredValidation
import io.ko... | 19 | Kotlin | 39 | 668 | bc43e34a0d3d36c78a2dba5807cc3b990c9cbb67 | 5,754 | konform | MIT License |
layout-inspector/src/com/android/tools/idea/layoutinspector/snapshots/SnapshotMetadata.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 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 app... | 5 | null | 230 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 3,826 | android | Apache License 2.0 |
clashJ/src/test/kotlin/io/github/maicolantali/http/RequestHandlerTest.kt | MaicolAntali | 665,565,216 | false | {"Kotlin": 214209} | package io.github.maicolantali.http
import io.github.maicolantali.exception.BadGatewayException
import io.github.maicolantali.exception.ClashJException
import io.github.maicolantali.exception.HttpException
import io.github.maicolantali.exception.InvalidCredentialException
import io.github.maicolantali.exception.Mainte... | 0 | Kotlin | 0 | 0 | 2e0d9805caf2cb3a0070b684fb2447c725d0a580 | 6,441 | clashJ | MIT License |
app/src/main/java/hinl/android/kotlin/databasehelper/example/database/Database.kt | gtomato | 113,853,259 | false | null | package hinl.android.kotlin.databasehelper.example.database
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import hinl.kotlin.database.helper.SQLiteDatabaseHelper
class DatabaseHelper(context: Context): SQLiteDatabaseHelper(
context = context,
name = "ExampleDatabase.db"... | 0 | Kotlin | 1 | 2 | ea8f301187cc479f8974e1c9e56c6334ce91c7d8 | 520 | Android-Kotlin-SQLiteHelper | MIT License |
src/main/java/com/futao/springbootdemo/service/impl/KotlinTestServiceImpl.kt | FutaoSmile | 165,509,051 | false | null | package com.futao.springbootdemo.service.impl
import com.futao.springbootdemo.foundation.LogicException
import com.futao.springbootdemo.foundation.mq.rocket.RocketMqProducerOnOff
import com.futao.springbootdemo.model.system.ErrorMessage
import com.futao.springbootdemo.service.KotlinTestService
import org.apache.rocket... | 1 | null | 4 | 20 | b67fb35c93238c9067ed0f922a7e97a0a9cdc057 | 1,303 | SpringBootIntegration | MIT License |
test/wow-tck/src/main/kotlin/me/ahoo/wow/tck/modeling/command/CommandDispatcherSpec.kt | Ahoo-Wang | 628,167,080 | false | null | /*
* Copyright [2021-present] [<NAME> <<EMAIL>> (https://github.com/Ahoo-Wang)].
* 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... | 8 | null | 8 | 98 | eed438bab2ae009edf3a1db03396de402885c681 | 10,427 | Wow | Apache License 2.0 |
liveness/src/main/java/com/amplifyframework/ui/liveness/camera/FrameAnalyzer.kt | aws-amplify | 490,439,616 | false | null | /*
* Copyright 2023 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://aws.amazon.com/apache2.0
*
* or in the "license" ... | 6 | null | 5 | 9 | 23ee414bc1e13e03ea38c5ea85c8c0d580dd7edc | 5,151 | amplify-ui-android | Apache License 2.0 |
fetch2/src/main/java/com/tonyodev/fetch2/FetchGroup.kt | Kutikov | 731,088,336 | true | {"Java Properties": 3, "YAML": 1, "Gradle": 11, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 4, "Ignore List": 9, "Proguard": 8, "XML": 140, "Kotlin": 127, "Java": 42, "JSON": 109} | package com.tonyodev.fetch2
import com.tonyodev.fetch2core.FetchObserver
/**
* An immutable object which contains a current snapshot of all the information
* about a specific download group managed by Fetch.
* */
interface FetchGroup {
/**
* The group id.
* */
val id: Int
/**
* The Fet... | 122 | null | 342 | 6 | c450f681035ed47d2bd6e5e2b7cf4b921665e669 | 2,297 | fetch2-android | Apache License 2.0 |
core/src/main/java/com/alamkanak/weekview/WeekView.kt | vivekkjha | 293,217,587 | true | {"Kotlin": 206682} | package com.alamkanak.weekview
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Canvas
import android.graphics.RectF
import android.graphics.Typeface
import android.os.Parcelable
import android.util.AttributeSet
import android.view.MotionEvent
import android.view.View
impor... | 0 | null | 0 | 0 | f0af8e1db5a49752c40cac14e089d45ebc3c70fb | 48,458 | Android-Week-View | Apache License 2.0 |
src/jsMain/kotlin/com/palantir/blueprintjs/select/popoverSharedProps.module_@blueprintjs_core.kt | HoffiMuc | 322,618,517 | false | null | @file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
@file:JsModule("@blueprintjs/select")
@file:JsNonModule
package com.palantir.blueprintjs.select
import org.khronos.webgl.*
import org.w3c.dom.*
import org.w3c.dom.events.*
import org.w3c.... | 0 | Kotlin | 0 | 0 | 45d2438e7b26e4124df70bf7ed08774ee3fb0cb8 | 2,630 | web-app-react-kotlin-js-gradle | Apache License 2.0 |
app/src/main/java/com/example/kfp_movies/ui/single_recommended_movie/SingleRecommendedMovieViewModel.kt | adids1221 | 654,955,299 | false | null | package com.example.kfp_movies.ui.single_recommended_movie
import androidx.lifecycle.*
import com.example.kfp_movies.data.models.FavoriteMovie
import com.example.kfp_movies.data.repository.MovieRepository
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines... | 0 | Kotlin | 0 | 0 | d6b853d68b478a8f5310ba0f4f3d951c5bc456f0 | 1,460 | kotlin-final-project | MIT License |
shared/src/commonMain/kotlin/com/multiplatformkickstarter/app/extensions/KtorExtensions.kt | MultiplatformKickstarter | 713,325,823 | false | {"HTML": 589554, "Kotlin": 392992, "Swift": 596, "Dockerfile": 295} | package com.myprojectname.app.extensions
import io.ktor.client.HttpClient
import io.ktor.client.call.body
import io.ktor.client.plugins.ClientRequestException
import io.ktor.client.plugins.ResponseException
import io.ktor.client.plugins.ServerResponseException
import io.ktor.client.request.HttpRequestBuilder
import io... | 2 | HTML | 7 | 96 | 3cd6e38e97065d3f511878f419fa636c91553c40 | 2,211 | Adoptme | Apache License 2.0 |
shared/src/commonMain/kotlin/com/multiplatformkickstarter/app/extensions/KtorExtensions.kt | MultiplatformKickstarter | 713,325,823 | false | {"HTML": 589554, "Kotlin": 392992, "Swift": 596, "Dockerfile": 295} | package com.myprojectname.app.extensions
import io.ktor.client.HttpClient
import io.ktor.client.call.body
import io.ktor.client.plugins.ClientRequestException
import io.ktor.client.plugins.ResponseException
import io.ktor.client.plugins.ServerResponseException
import io.ktor.client.request.HttpRequestBuilder
import io... | 2 | HTML | 7 | 96 | 3cd6e38e97065d3f511878f419fa636c91553c40 | 2,211 | Adoptme | Apache License 2.0 |
core/ui/src/main/kotlin/com/t8rin/imagetoolboxlite/core/ui/widget/value/ValueText.kt | T8RIN | 767,600,774 | false | {"Kotlin": 3806441} | /*
* ImageToolbox is an image editor for android
* Copyright (c) 2024 T8RIN (<NAME>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under ... | 8 | Kotlin | 172 | 8 | f8fe322c2bde32544e207b49a01cfeac92c187ce | 2,228 | ImageToolboxLite | Apache License 2.0 |
lib/android/app/src/main/java/com/reactnativenavigation/views/element/animators/ReactViewRotationAnimator.kt | wix | 53,662,249 | false | null | package com.reactnativenavigation.views.element.animators
import android.animation.Animator
import android.animation.ObjectAnimator
import android.view.View
import com.facebook.react.views.view.ReactViewGroup
import com.reactnativenavigation.options.SharedElementTransitionOptions
class ReactViewRotationAnimator(from:... | 279 | null | 2674 | 13,023 | 8c64969f09657918e5840dca4f9ab8162f3bf356 | 965 | react-native-navigation | MIT License |
app/src/main/java/com/androidvip/hebf/utils/SettingsUtils.kt | Lennoard | 61,443,609 | false | {"Kotlin": 764483, "Java": 86252, "Shell": 19253, "HTML": 2302} | package com.androidvip.hebf.utils
import android.content.ContentResolver
import android.content.Context
import android.os.Build
import android.provider.Settings
/**
* Helper class for reading / writing on System settings
* This class will not be able to write "Secure" or "Global" settings
*
* @param applicationCo... | 0 | Kotlin | 30 | 50 | 12781b0de2b62baed994159748279d2c33abe390 | 3,613 | hebf-android | Apache License 2.0 |
app/src/androidTest/java/com/steleot/jetpackcompose/playground/compose/constraintlayout/JsonConstraintSetScreenTest.kt | Vivecstel | 338,792,534 | false | {"Kotlin": 1538487} | package com.steleot.jetpackcompose.playground.compose.constraintlayout
import androidx.compose.ui.test.junit4.createComposeRule
import com.steleot.jetpackcompose.playground.compose.theme.TestTheme
import org.junit.Rule
import org.junit.Test
class JsonConstraintSetScreenTest {
@get:Rule
val composeTestRule = ... | 1 | Kotlin | 46 | 346 | 0161d9c7bf2eee53270ba2227a61d71ba8292ad0 | 541 | Jetpack-Compose-Playground | Apache License 2.0 |
app/src/main/java/com/osayande/todolist/DetailsActivity.kt | WanjaMIKE | 501,626,960 | false | {"Kotlin": 14013} | package com.osayande.todolist
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import androidx.activity.viewModels
import androidx.databinding.DataBindingUtil
import com.osayande.todolist.business.Task
import com.osayande.todolist.databinding.ActivityDetailBinding
c... | 0 | Kotlin | 0 | 2 | 5ac4a180f29f60948c61918a2285643b6102e610 | 1,644 | todolistapp | MIT License |
components/crypto/crypto-service-impl/src/main/kotlin/net/corda/crypto/service/impl/bus/HSMRegistrationBusProcessor.kt | corda | 346,070,752 | false | null | package net.corda.crypto.service.impl.bus
import net.corda.configuration.read.ConfigChangedEvent
import net.corda.crypto.config.impl.hsmRegistrationBusProcessor
import net.corda.crypto.config.impl.toCryptoConfig
import net.corda.crypto.impl.retrying.BackoffStrategy
import net.corda.crypto.impl.retrying.CryptoRetryingE... | 96 | null | 9 | 69 | 0766222eb6284c01ba321633e12b70f1a93ca04e | 3,360 | corda-runtime-os | Apache License 2.0 |
src/main/kotlin/com/github/mohamead/spiderlog/setting/SettingState.kt | mohamead | 475,413,657 | false | {"Kotlin": 20434} | package com.github.mohamead.spiderlog.setting
import com.github.mohamead.spiderlog.enum.FontName
import com.github.mohamead.spiderlog.enum.FontStyle
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.components.PersistentStateComponent
import com.intellij.openapi.components.State
im... | 0 | Kotlin | 0 | 3 | d0282d415cbbc01feff0013bb30f71538e5522b3 | 1,062 | spiderlog | Apache License 2.0 |
src/main/kotlin/com/github/mohamead/spiderlog/setting/SettingState.kt | mohamead | 475,413,657 | false | {"Kotlin": 20434} | package com.github.mohamead.spiderlog.setting
import com.github.mohamead.spiderlog.enum.FontName
import com.github.mohamead.spiderlog.enum.FontStyle
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.components.PersistentStateComponent
import com.intellij.openapi.components.State
im... | 0 | Kotlin | 0 | 3 | d0282d415cbbc01feff0013bb30f71538e5522b3 | 1,062 | spiderlog | Apache License 2.0 |
shuttle/onboarding/presentation/src/main/kotlin/shuttle/onboarding/presentation/ui/OnboardingWidgetPage.kt | 4face-studi0 | 462,194,990 | false | null | package shuttle.onboarding.presentation.ui
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import shuttle.apps.domain.sample.AppNameSample
import shuttle.design.model.WidgetPreviewAppUiModel
import shuttle.design.model.WidgetPreviewUiModel
import shuttle.design.sample.Draw... | 11 | Kotlin | 0 | 14 | 55ab90f13bb96e10add14d45cd3117ada38262ed | 2,126 | Shuttle | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/visitscheduler/dto/CreateLegacyDataRequestDto.kt | ministryofjustice | 409,259,375 | false | null | package uk.gov.justice.digital.hmpps.visitscheduler.dto
import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.NotNull
data class CreateLegacyDataRequestDto(
@Schema(description = "NOMIS lead visitor ID", example = "1234556", required = true)
@field:NotNull
val leadVisitorId: L... | 3 | Kotlin | 2 | 6 | e2166e8bf546d8792c56ecb3d8d4d838ce63a7c2 | 327 | visit-scheduler | MIT License |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/ecs/patterns/NetworkMultipleTargetGroupsFargateServiceProps.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 137826907} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.ecs.patterns
import io.cloudshiftdev.awscdk.Duration
import io.cloudshiftdev.awscdk.common.CdkDslMark... | 4 | Kotlin | 0 | 4 | eb3eef728b34da593a3e55dc423d4f5fa3668e9c | 44,571 | kotlin-cdk-wrapper | Apache License 2.0 |
app/src/main/java/com/suellen/colangelo/notes/domain/usecase/GetNoteUseCase.kt | SuellenAc | 638,717,392 | false | null | package com.suellen.colangelo.notes.domain.usecase
import com.suellen.colangelo.notes.domain.NoteRepository
import com.suellen.colangelo.notes.domain.model.Note
import javax.inject.Inject
interface GetNoteUseCase {
suspend operator fun invoke(id: String): Note?
}
class GetNoteUseCaseImpl @Inject constructor(
... | 0 | Kotlin | 0 | 0 | 833eb14624f71e634fcdbda618c95a6a0246fa48 | 466 | SimpleNotesApp | Apache License 2.0 |
app/src/main/java/org/myspecialway/ui/login/GeneralErrorDialog.kt | myspecialway | 133,219,843 | false | null | package org.myspecialway.ui.login
import android.app.Activity
import android.app.AlertDialog
import android.content.Context
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.widget.TextView
import kotlinx.android.synthetic.main.login_dialog_error.view.*
i... | 20 | null | 6 | 3 | 9914c25016a1fb19b535c8fe47a1642f791b5d44 | 1,463 | my-special-way-android | MIT License |
src/Day02.kt | Svikleren | 572,637,234 | false | null | fun main() {
val valuesForPart1 = mapOf(
Pair("AX", 4),
Pair("AY", 8),
Pair("AZ", 3),
Pair("BX", 1),
Pair("BY", 5),
Pair("BZ", 9),
Pair("CX", 7),
Pair("CY", 2),
Pair("CZ", 6),
)
val valuesForPart2 = mapOf(
Pair("AX", 3),
... | 0 | Kotlin | 0 | 0 | e63be3f83b96a73543bf9bc00c22dc71b6aa0f57 | 1,455 | advent-of-code-2022 | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/LocalMovies.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/LocalMovies")
package mui.icons.material
@JsName("default")
external val LocalMovies: SvgIconComponent
| 10 | null | 5 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 186 | kotlin-wrappers | Apache License 2.0 |
app/shared-common/src/commonMain/kotlin/com/gmail/jiangyang5157/shared/common/data/dlx/DlxNode.kt | jiangyang5157 | 553,993,370 | false | null | package com.gmail.jiangyang5157.shared.common.data.dlx
open class DlxNode(
var up: DlxNode? = null,
var down: DlxNode? = null,
var left: DlxNode? = null,
var right: DlxNode? = null,
) {
override fun equals(other: Any?): Boolean {
if (this === other) return true
if (other !is DlxNod... | 0 | Kotlin | 0 | 0 | e514a86bbe149504508cc2ee23bf21c0984d3f48 | 1,095 | kotlin-multiplatform-mobile | MIT License |
source/app/src/main/java/com/apion/apionhome/base/BindingFragmentPickImage.kt | viet06061999 | 471,421,323 | true | {"Kotlin": 161735, "Java": 51216} | package com.apion.apionhome.base
import android.app.Activity
import android.content.Intent
import androidx.activity.result.ActivityResult
import androidx.viewbinding.ViewBinding
import com.apion.apionhome.utils.getRealPath
abstract class BindingFragmentPickImage<T : ViewBinding>
(inflate: Inflate<T>) : BindingFra... | 0 | null | 0 | 0 | 24ddb088ffd985dcd34e3e8deeb5edcc1d717558 | 2,028 | apion_home | Apache License 2.0 |
app/src/main/java/com/gdurmaz/mvvmmvipractice/data/remote/interfaces/api/ProductCatalogApiHelperImpl.kt | GokhanDurmaz | 483,927,833 | false | null | package com.gdurmaz.mvvmmvipractice.data.remote.interfaces.api
import retrofit2.Response
import javax.inject.Inject
/**
* Created by gokhan on 4/21/22.
*/
class ProductCatalogApiHelperImpl @Inject constructor(
private val productCatalogApiService: ProductCatalogApiService
) : ProductCatalogApiHelper {
over... | 0 | Kotlin | 0 | 0 | 0c54f2e9c93cbe853877d3e05c5d752e1675527f | 632 | MVVM_MVI_Practice | Apache License 2.0 |
rpc_min3/src/main/kotlin/org/kethereum/rpc/min3/model/IN3Node.kt | komputing | 92,780,266 | false | {"Kotlin": 776856} | package org.kethereum.rpc.min3.model
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class IN3Node(
val url: String,
val address: String,
val index: Int,
val deposit: String,
val props: String,
val timeout: Int,
val registerTime: Int,... | 43 | Kotlin | 82 | 333 | 1f42cede2d31cb5d3c488bd74eeb8480ec47c919 | 346 | KEthereum | MIT License |
library/src/commonMain/kotlin/us/q3q/fidok/ctap/commands/LargeBlobKeyExtension.kt | BryanJacobs | 684,573,020 | false | {"Kotlin": 780971} | package us.q3q.fidok.ctap.commands
import us.q3q.fidok.crypto.KeyAgreementPlatformKey
import us.q3q.fidok.crypto.PinUVProtocol
/**
* Allows for getting a key to store/retrieve authenticator "large blobs"
*
* Requires no parameters; on each [makeCredential][us.q3q.fidok.ctap.CTAPClient.makeCredential]
* or [getAss... | 0 | Kotlin | 1 | 9 | 459274c1808bd5d733757c371e927f6d806ab7bb | 2,337 | FIDOk | MIT License |
src/com/payam/learn/solid/srp/IEmailContent.kt | payamfaryadras | 250,200,722 | false | {"Kotlin": 2166, "Dockerfile": 113} | package com.payam.learn.solid.srp
interface IEmailContent
| 2 | Kotlin | 0 | 0 | 851e7135f5eb46e5be6b758c1d9b53f8e70f89ae | 60 | SOLID-Principles | MIT License |
native/native.tests/testData/klib/dump-metadata/data_class.kt | JetBrains | 3,432,266 | false | null | // FIR_IDENTICAL
// MUTED_WHEN: K1
package test
data class DataClass(
val intProp: Int,
val stringProp: String
) {
val nonConstructorProp: Int = 0
}
data object DataObject | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 185 | kotlin | Apache License 2.0 |
app/src/main/java/com/oliverspryn/android/oauthbiometrics/model/StartViewModel.kt | oliverspryn | 468,386,599 | false | {"Kotlin": 116365} | package com.oliverspryn.android.oauthbiometrics.model
import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.oliverspryn.android.oauthbiometrics.di.factories.RxJavaFactory
import com.oliverspryn.android.oauthbiometrics.domain.exceptions.cry... | 0 | Kotlin | 0 | 2 | b7a1da9b4260122fca64d7141653deb7f794e250 | 10,070 | android-oauth-biometrics | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.