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/bennyjon/searchi/data/PhotoDataFactory.kt | snowpero | 203,539,300 | true | {"Kotlin": 14625} | package com.bennyjon.searchi.data
import android.arch.paging.DataSource
import com.bennyjon.searchi.models.FlickrPhoto
import com.bennyjon.searchi.network.FlickrApi
class PhotoDataFactory(private val flickrApi: FlickrApi,
private val query: String) : DataSource.Factory<Int, FlickrPhoto>() {
... | 0 | Kotlin | 0 | 0 | 9fe85bba3ff0fd604554da017d83e894a4c970f9 | 433 | searchi | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/ClockOne.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.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.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,679 | icons | MIT License |
sdk/backend/src/main/kotlin/com/supertokens/sdk/recipes/emailverification/responses/VerifyEmailTokenResponseDTO.kt | Appstractive | 656,572,792 | false | null | package com.supertokens.sdk.recipes.emailverification.responses
import com.supertokens.sdk.common.responses.BaseResponseDTO
import kotlinx.serialization.Serializable
@Serializable
data class VerifyEmailTokenResponseDTO(
override val status: String,
val userId: String? = null,
val email: String? = null,
):... | 5 | null | 1 | 3 | e4d0ff3664034d1c4981a0a2cdf58c3a053da2a7 | 337 | supertokens-kt | Apache License 2.0 |
app/src/main/java/com/mithun/simplebible/data/database/model/Bookmark.kt | mithun17 | 315,563,631 | false | null | package com.mithun.simplebible.data.database.model
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.mithun.simplebible.utilities.TABLE_BOOKMARK
import java.util.Calendar
@Entity(tableName = TABLE_BOOKMARK)
data class Bookmark(
@PrimaryKey(autoGenerate = true)
val id: Long = 0,
val bi... | 1 | Kotlin | 5 | 25 | e899d72b7f7c9082ac3c3831fcbb4e3a2ac62ee2 | 498 | SimpleBible | MIT License |
app/src/main/java/com/mithun/simplebible/data/database/model/Bookmark.kt | mithun17 | 315,563,631 | false | null | package com.mithun.simplebible.data.database.model
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.mithun.simplebible.utilities.TABLE_BOOKMARK
import java.util.Calendar
@Entity(tableName = TABLE_BOOKMARK)
data class Bookmark(
@PrimaryKey(autoGenerate = true)
val id: Long = 0,
val bi... | 1 | Kotlin | 5 | 25 | e899d72b7f7c9082ac3c3831fcbb4e3a2ac62ee2 | 498 | SimpleBible | MIT License |
app/src/main/java/com/thk/sevendays/data/UiState.kt | taehee28 | 453,343,657 | false | null | package com.thk.sevendays.data
sealed class UiState<out T> {
object Loading: UiState<Nothing>()
data class Success<out T> (val data: T): UiState<T>()
data class Error(val message: String?): UiState<Nothing>()
}
| 0 | Kotlin | 0 | 0 | 2dcc6f3ecb83b7fdefed6a110ea20e96c65eb623 | 224 | SevenDays | MIT License |
kotlin-frontend/src/main/kotlin/org/jetbrains/kotlin/gradle/frontend/webpack/WebPackRunTask.kt | winterbe | 88,724,519 | true | {"Kotlin": 110840, "JavaScript": 1967} | package org.jetbrains.kotlin.gradle.frontend.webpack
import groovy.json.*
import org.codehaus.groovy.runtime.*
import org.gradle.api.*
import org.gradle.api.tasks.*
import org.jetbrains.kotlin.gradle.frontend.servers.*
import org.jetbrains.kotlin.gradle.frontend.util.*
import org.jetbrains.kotlin.preprocessor.*
import... | 0 | Kotlin | 2 | 0 | 1eb951d572069da2b7e098cfc1d6f4a886923e26 | 6,363 | kotlin-frontend-plugin | Apache License 2.0 |
app/src/main/java/com/example/snapking/Adapters/AmigoAdapterOnline.kt | franciscoGarridoLara | 450,610,374 | false | {"Kotlin": 125390, "Java": 44760} | package com.example.snapking.Adapters
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.annotation.NonNull
import androidx.recyclerview.widget.RecyclerView
import com.example.snapking.BaseDatos.BaseDatos
import com.example.snapking.databinding.UsuarioCardBinding
import com.example.snapki... | 0 | Kotlin | 0 | 1 | b8532de8cd0c05858991102e8bc59067b695ee9d | 1,367 | SnapKing | Creative Commons Zero v1.0 Universal |
target/web/src/jsMain/kotlin/com.krossovochkin.kweather/Main.kt | krossovochkin | 266,317,132 | false | null | package com.krossovochkin.kweather
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.remember
import com.krossovochkin.kweather.features.citylist.CityListScreen
import com.krossovochkin.kweather.features.weatherdetails.WeatherDetailsScreen
import com.krossovochkin.kweather.navigation.Route... | 0 | Kotlin | 2 | 37 | 727d74e19020f1be508af87ced18c53e5ee4fca2 | 1,575 | KWeather | Apache License 2.0 |
feature/search/src/test/kotlin/com/weather/feature/search/SearchViewModelTest.kt | aarash709 | 605,957,736 | false | {"Kotlin": 364629, "Shell": 694} | package com.weather.feature.search
import com.weather.core.repository.fake.FakeUserRepository
import com.weather.core.repository.fake.FakeWeatherRepository
import com.weather.model.geocode.SavableSearchState
import com.weather.sync.work.fake.FakeSyncManager
import kotlinx.coroutines.ExperimentalCoroutinesApi
import ko... | 3 | Kotlin | 2 | 5 | 8bbd9adc4361fd05955a18225875cee1dad3c484 | 1,098 | Weather | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/refactoring/changeSignatureMultiModule/keepValVarInPlatform/before/Common/src/test/test.kt | JetBrains | 2,489,216 | false | null | package test
expect class <caret>C(p: String) | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 46 | intellij-community | Apache License 2.0 |
app/src/main/java/io/cricket/app/data/remote/UserRestService.kt | amirishaque | 375,128,729 | false | null | package io.cricket.app.data.remote
import io.cricket.app.data.request.UserRequest
import io.cricket.app.model.DownloadMatchResponse
import io.cricket.app.model.Response.BaseHeaderList
import io.cricket.app.model.Response.UserResponse
import io.reactivex.Single
import okhttp3.MultipartBody
import retrofit2.http.*
inte... | 0 | Kotlin | 0 | 0 | 42808ddd775b5ac6f7bff0d8cf518091588df844 | 6,559 | Cricklub_livecode | MIT License |
src/ar/novelstown/src/eu/kanade/tachiyomi/extension/ar/novelstown/NovelsTown.kt | komikku-app | 720,497,299 | false | {"Kotlin": 6409055, "JavaScript": 2160} | package eu.kanade.tachiyomi.extension.ar.novelstown
import eu.kanade.tachiyomi.multisrc.madara.Madara
class NovelsTown : Madara("Novels Town", "https://novelstown.com", "ar") {
override val mangaSubString = "الاعمال"
}
| 8 | Kotlin | 2 | 19 | 88bafd3e5fb05cd4690fc46e4a7d624a2595e7f3 | 225 | komikku-extensions | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/apigateway/DomainNamePropsDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.apigateway
import io.cloudshiftdev.awscdkdsl.common.CdkDs... | 3 | null | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 3,366 | awscdk-dsl-kotlin | Apache License 2.0 |
libraries/core/src/main/java/com/raxdenstudios/commons/ext/NumberExtension.kt | raxden | 32,153,256 | false | null | package com.raxdenstudios.commons.core.ext
fun Byte?.orDefault(default: Byte = Byte.ZERO) = this ?: default
fun Float?.orDefault(default: Float = Float.ZERO) = this ?: default
fun Double?.orDefault(default: Double = Double.ZERO) = this ?: default
fun Int?.orDefault(default: Int = Int.ZERO) = this ?: default
fun Sh... | 1 | null | 2 | 3 | da04307d204cd26fcc4f299857f6619d52108e9b | 729 | android-commons | Apache License 2.0 |
packages/bonsoir_android/android/src/main/kotlin/fr/skyost/bonsoir/MethodCallHandler.kt | Skyost | 285,088,001 | false | {"Dart": 173999, "C++": 59237, "Kotlin": 39665, "Swift": 28708, "CMake": 21685, "Ruby": 3844, "C": 1998, "Shell": 534, "Objective-C": 38} | package fr.skyost.bonsoir
import android.content.Context
import android.net.nsd.NsdManager
import android.net.wifi.WifiManager
import fr.skyost.bonsoir.broadcast.BonsoirServiceBroadcast
import fr.skyost.bonsoir.discovery.BonsoirServiceDiscovery
import io.flutter.plugin.common.BinaryMessenger
import io.flutter.plugin.c... | 5 | Dart | 41 | 97 | a5fb3c1c0b40d6e37a2a694e6dc999a56c0a1c7c | 4,152 | Bonsoir | MIT License |
app/src/main/java/com/nutrition/express/ui/video/VideoPlayerActivity.kt | TacoTheDank | 299,090,484 | true | {"Kotlin": 217934, "Java": 114292} | package com.nutrition.express.ui.video
import android.annotation.SuppressLint
import android.content.pm.ActivityInfo
import android.media.AudioManager
import android.net.Uri
import android.os.Bundle
import com.google.android.exoplayer2.C
import com.google.android.exoplayer2.SimpleExoPlayer
import com.google.android.ex... | 1 | Kotlin | 1 | 3 | b740e54571028159587946fde901a940fb6bd924 | 2,655 | tumbviewer | Apache License 2.0 |
app/samples/src/main/java/com/sygic/samples/browsemap/BrowseMapClickListenerActivity.kt | Sygic | 156,541,755 | false | {"Gradle": 13, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 10, "Batchfile": 1, "Markdown": 2, "YAML": 2, "Proguard": 8, "XML": 430, "Kotlin": 295, "Java": 53} | /*
* Copyright (c) 2019 Sygic a.s. All rights reserved.
*
* This project is licensed under the MIT License.
*
* 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, inclu... | 4 | Kotlin | 3 | 22 | ca385eca585f67014926c4aa539c0088e11ceed2 | 2,973 | sygic-maps-kit-android | MIT License |
stphotomap/src/test/java/com/streetography/stphotomap/scenes/stphotomap/test/doubles/STPhotoMapBusinessLogicSpy.kt | mikelanza | 191,293,030 | false | null | package com.streetography.stphotomap.scenes.stphotomap.test.doubles
import com.streetography.stphotomap.scenes.stphotomap.STPhotoMapModels
import com.streetography.stphotomap.scenes.stphotomap.interactor.STPhotoMapBusinessLogic
class STPhotoMapBusinessLogicSpy: STPhotoMapBusinessLogic {
var shouldUpdateVisibleTil... | 0 | null | 0 | 2 | cff318d3b651751f338c94d3ddabe35be29c7174 | 2,799 | st-photo-map-android | MIT License |
app/src/main/java/mods/utils/deleter/NoConnectionException.kt | bluemods | 627,668,125 | false | null | package mods.utils.deleter
internal class NoConnectionException : Exception("Not connected") | 8 | Java | 4 | 93 | 2ed9b0372cc41ddbf221d972ad9be57bd62f9822 | 93 | Bluecord | MIT License |
analytics/src/test/java/io/appmetrica/analytics/impl/modules/CacheControlConnectionHttpsClientImplTest.kt | appmetrica | 650,662,094 | false | null | package io.appmetrica.analytics.impl.modules
import io.appmetrica.analytics.modulesapi.internal.network.NetworkClientWithCacheControl
import io.appmetrica.analytics.testutils.CommonTest
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
import org.mockito.kotlin.doReturn
import org.mockito.kotlin.... | 3 | null | 5 | 54 | 81572296e16423617822fbc19c2465d6b7b4713e | 1,386 | appmetrica-sdk-android | MIT License |
auroscholarapp/src/main/java/com/auro/application/home/data/model/DashboardResponselDataModel.kt | AuroScholar | 543,961,936 | false | {"Java": 4548097, "Kotlin": 17862} | package com.auro.application.home.data.model
data class DashboardResponselDataModel(var status:String?=null, var insta_bug:String?=null, var branch:String?=null)
| 1 | null | 1 | 1 | 7d76e788f15b5f6c7f15699e34c9d96c0099c57f | 164 | auro_sdk | MIT License |
idea/tests/testData/intentions/anonymousFunctionToLambda/typeParameterWithUnusedParameter.kt | JetBrains | 278,369,660 | false | null | fun <T> foo(fn: (T) -> Unit) {}
fun test() {
foo(<caret>fun(x: String) {
})
} | 0 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 86 | intellij-kotlin | Apache License 2.0 |
app/src/main/java/com/syleiman/gingermoney/ui/common/widgets/dialogs/OneOptionRadioDialog.kt | AlShevelev | 158,343,218 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 4, "XML": 137, "Kotlin": 385, "JSON": 1} | package com.syleiman.gingermoney.ui.common.widgets.dialogs
import android.content.Context
import androidx.appcompat.app.AlertDialog
import com.syleiman.gingermoney.R
/**
* Dialog for selected one option from a list using radio-buttons
* @param <T> item in the list
*/
class OneOptionRadioDialog<T>(
private val ... | 1 | null | 1 | 1 | 91ef2b9bd5c19043104734b588940841fa6f9f4f | 1,515 | ginger-money | MIT License |
potatolib/src/main/java/com/zzx/potato/TaskDispatcher.kt | imurluck | 197,876,197 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 14, "XML": 18, "Java": 2} | package com.zzx.potato
import com.zzx.potato.task.LoadTask
import java.util.concurrent.Executors
import java.util.concurrent.LinkedBlockingQueue
object TaskDispatcher {
private const val DEFAULT_THREAD_COUNT = 3
private var isTaskRunning = false
private val taskThreadPool = Executors.newFixedThreadPool... | 1 | null | 1 | 1 | b26e9c8c97609a53f320477c9f578ad6505ecc91 | 1,023 | Potato | Apache License 2.0 |
test/src/main/java/com/minapp/android/test/ui/widget/OperatorSpinner.kt | ifanrx | 178,979,868 | false | {"Java": 270447, "Kotlin": 266477} | package com.minapp.android.test.ui.widget
import android.content.Context
import android.content.res.Resources
import android.os.Build
import android.util.AttributeSet
import android.view.View
import android.widget.AdapterView
import android.widget.ArrayAdapter
import android.widget.Spinner
import androidx.annotation.R... | 1 | null | 1 | 1 | 6e4a222ae69e2e26e981f1a4345c20caece49520 | 3,176 | hydrogen-android-sdk | Apache License 2.0 |
app/src/main/java/com/kt/fragment/HomeFragment.kt | bingoloves | 291,658,612 | false | null | package com.kt.fragment
import android.content.ComponentName
import android.content.Intent
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.widget.RecyclerView
import android.util.Log
import android.view.View
import android.widget.TextView
import com.chaychan.demo.WxPayH5Activi... | 1 | null | 1 | 1 | db5532f0a360e6e3f6f0620f7cfe22a555aa69ad | 4,711 | KTRouter | Apache License 2.0 |
app/src/main/kotlin/spedit/mention/DataSpan.kt | sunnadie | 586,527,084 | false | {"Java": 581701, "Kotlin": 87613} | package spedit.mention
/**
* Created by sunhapper on 2019/1/30 .
* 仅用来标记数据,获取span的时候方便处理
*/
interface DataSpan
| 1 | null | 1 | 1 | 97bdedef36ae9acf6051f41f23bcb3cec4af57eb | 115 | toolkit | Apache License 2.0 |
ui/src/main/java/io/snabble/sdk/ui/views/MessageBox.kt | snabble | 124,525,499 | false | null | package io.snabble.sdk.ui.views
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.animation.AnimatorSet
import android.animation.ValueAnimator
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Color
import android.util.Attribut... | 1 | null | 1 | 6 | 8fc301be7512714e127eb12566a905b59e2eed9d | 4,405 | Android-SDK | MIT License |
translator/src/main/kotlin/org/xdef/translator/document/DocumentTranslatorIO.kt | Syntea | 175,626,629 | false | {"Maven POM": 11, "Text": 1, "Ignore List": 1, "YAML": 2, "Markdown": 11, "Kotlin": 110, "XML": 9, "JSON": 4, "Java": 1} | package org.xdef.translator.document
import org.xdef.core.document.data.XDocument
import org.xdef.core.document.stream.XReader
import org.xdef.core.document.stream.XWriter
import java.io.InputStream
import java.io.OutputStream
import java.io.Reader
import java.io.Writer
/**
* Interface contains methods for read/writ... | 1 | null | 1 | 1 | 6fd87496dce8a45563ee6daef8defb605d6555f6 | 3,259 | xdef-ng | Apache License 2.0 |
kotlin.web.demo.frontend/src/utils/codemirror/CodeMirror.kt | arrow-kt | 117,599,238 | true | {"Shell": 3, "Gradle": 21, "Text": 15, "YAML": 3, "INI": 4, "Java Properties": 12, "Ignore List": 2, "Batchfile": 1, "XML": 23, "Markdown": 45, "JSON": 152, "HTML": 3, "JavaScript": 20, "Kotlin": 546, "SVG": 16, "CSS": 19, "AsciiDoc": 1, "Java": 109, "JAR Manifest": 2, "SQL": 2, "Dockerfile": 3} | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 2 | Kotlin | 2 | 7 | 7165d9568d725c9784a1e7525f35bab93241f292 | 5,358 | try.arrow-kt.io | Apache License 2.0 |
FetLife/fetlife/src/main/java/com/bitlove/fetlife/common/logic/databinding/BindableRecyclerAdapter.kt | omunroe-com | 231,516,875 | false | null | package com.bitlove.fetlife.common.logic.databinding
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.DiffUtil
class BindableRecy... | 0 | null | 0 | 1 | b7ac4302f70c3fb00b7bf7c856a4c1c54b64c0f1 | 2,462 | android-2 | MIT License |
integration-tests/kotlin-serialization/src/main/kotlin/io/quarkus/it/kotser/model/Person.kt | quarkusio | 139,914,932 | false | null | package io.quarkus.it.kotser.model
import kotlinx.serialization.Serializable
@Serializable
data class Person(var name: String, var defaulted: String = "hi there!") {
override fun toString(): String {
TODO("this shouldn't get called. a proper serialization should be invoked.")
}
} | 20 | null | 1639 | 9,021 | 3cc2737746164565e6c0f0bef7ac3bc8110157d2 | 298 | quarkus | Apache License 2.0 |
src/jsMain/kotlin/baaahs/sim/ui/ModelSimulationView.kt | baaahs | 174,897,412 | false | null | package baaahs.sim.ui
import baaahs.SheepSimulator
import baaahs.ui.unaryPlus
import baaahs.ui.xComponent
import baaahs.visualizer.ui.visualizerPanel
import kotlinx.html.js.onChangeFunction
import materialui.components.formcontrollabel.formControlLabel
import materialui.components.switches.switch
import react.Props
im... | 83 | Kotlin | 5 | 21 | 465dd4781c90dd99d12e18ec3f651bb42a05347a | 1,408 | sparklemotion | MIT License |
app/src/main/java/com/exner/tools/meditationtimer/MeditationTimerApplication.kt | janexner | 739,122,813 | false | {"Kotlin": 150943} | package com.exner.tools.meditationtimer
import android.app.Application
import com.google.android.material.color.DynamicColors
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class MeditationTimerApplication : Application() {
override fun onCreate() {
super.onCreate()
// let's try dynami... | 1 | Kotlin | 0 | 2 | 6b0e5440212fc11090ac5febe520b9d1995f9a05 | 396 | MeditationTimerAndroid | Apache License 2.0 |
boxicons/src/commonMain/kotlin/com/woowla/compose/icon/collections/boxicons/boxicons/regular/BxCoinStack.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.boxicons.boxicons.regular
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.graph... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,361 | compose-icon-collections | MIT License |
src/main/kotlin/no/nav/bidrag/revurder/forskudd/jobb/beregn/dto/BeregnGrunnlagDto.kt | navikt | 464,934,115 | false | {"Java": 45217, "Kotlin": 8067} | package no.nav.bidrag.revurder.forskudd.jobb.beregn.dto
data class GenerellInfo(
val rolle: String,
val fodselsdato: String
)
data class Bostatus(
val rolle: String,
val datoFom: String,
val datoTil: String?,
val bostatusKode: String
)
data class Inntekt(
val rolle: String,
val datoFom: String,
val... | 1 | null | 1 | 1 | 7cf33544dee670a24a1c8a9208359da577b8add8 | 623 | bidrag-revurder-forskudd-jobb | MIT License |
ktx-core/src/main/kotlin/ru/astrainteractive/astralibs/utils/ReflectionUtil.kt | Astra-Interactive | 422,588,271 | false | null | package ru.astrainteractive.astralibs.utils
import java.io.ByteArrayInputStream
import java.io.ByteArrayOutputStream
import java.io.ObjectInputStream
import java.io.ObjectOutputStream
object ReflectionUtil {
@Suppress("UNCHECKED_CAST")
fun <T, K> getDeclaredField(clazz: Class<T>, name: String) = kotlin.runCat... | 1 | Kotlin | 0 | 2 | e277facd987b549dffce4b25ad71e8bf1b0674fe | 1,078 | AstraLibs | MIT License |
gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposeCompilerCompatability.kt | EyuCoder | 377,889,931 | true | {"Kotlin": 1496107, "Shell": 24042, "Dockerfile": 3507, "JavaScript": 2714, "HTML": 2504, "PowerShell": 1708, "Groovy": 1415, "CSS": 216} | package org.jetbrains.compose
import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType
internal object ComposeCompilerCompatability {
fun compilerVersionFor(kotlinVersion: String): ComposeCompilerVersion? = when (kotlinVersion) {
"1.7.10" -> ComposeCompilerVersion("1.3.0")
"1.7.20" -> ComposeC... | 0 | Kotlin | 0 | 0 | 2b29bd2889dad8cca7e40797c01a8bdf166b98fb | 599 | compose-jb | Apache License 2.0 |
app/src/main/kotlin/net/tlalka/fiszki/model/types/OwnerType.kt | jtlalka | 52,197,843 | false | null | package net.tlalka.fiszki.model.types
enum class OwnerType {
USER, SYSTEM
}
| 0 | Kotlin | 0 | 2 | 7e7c2aba5d9a1634a5b295319ec1bb5a4b5a7aa0 | 81 | fiszki | MIT License |
wasm/wasm.frontend/src/org/jetbrains/kotlin/wasm/resolve/diagnostics/WasmJsFunAnnotationChecker.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,763 | kotlin | Apache License 2.0 |
net/craftventure/database/type/TransactionType.kt | Craftventure | 770,049,457 | false | {"Kotlin": 3656616, "Java": 684034} | package net.craftventure.database.type
import org.jooq.impl.EnumConverter
enum class TransactionType {
SHOP,
ACHIEVEMENT,
CASINO_WIN,
CASINO_SPEND,
COMMAND,
ACTIVE_ONLINE_REWARD,
SCAVENGER_PACKET,
DAILY_WINTER_CHEST,
DAILY_SUMMER_CHEST,
MINIGAME,
EVENT,
ENTITY_KILL,
... | 0 | Kotlin | 1 | 21 | 015687ff6687160835deacda57121480f542531b | 535 | open-plugin-parts | MIT License |
feature-nft-impl/src/main/java/jp/co/soramitsu/nft/impl/domain/utils/NFTExt.kt | soramitsu | 278,060,397 | false | {"Kotlin": 5738459, "Java": 18796} | package jp.co.soramitsu.nft.impl.domain.utils
import jp.co.soramitsu.common.resources.ResourceManager
import jp.co.soramitsu.feature_nft_impl.R
import jp.co.soramitsu.nft.domain.models.NFT
fun NFT.convertToShareMessage(
resourceManager: ResourceManager,
tokenOwnerAddress: String?,
userAddress: String?
): ... | 15 | Kotlin | 30 | 89 | 1de6dfa7c77d4960eca2d215df2bdcf71a2ef5f2 | 1,184 | fearless-Android | Apache License 2.0 |
buildSrc/src/main/kotlin/SystemProperty.kt | ashdavies | 36,688,248 | false | null | import java.util.Locale
import kotlin.properties.PropertyDelegateProvider
import kotlin.properties.ReadOnlyProperty
private const val String = "String"
public typealias StringDelegateProvider = PropertyDelegateProvider<Any?, ReadOnlyProperty<Any?, String>>
public fun <T> T.SystemProperty(
block: T.(type: String,... | 1 | Kotlin | 33 | 110 | 4a7106fd847db2d3fec8962ea1c038695ddc3b1f | 1,030 | playground.ashdavies.dev | Apache License 2.0 |
core/src/main/kotlin/io/koalaql/sql/token/SqlToken.kt | mfwgenerics | 395,950,602 | false | null | package io.koalaql.sql.token
sealed interface SqlToken | 2 | Kotlin | 3 | 8 | 805621d1535a3c13153d0cf8ae5cebc1319093bb | 55 | koala | MIT License |
kotlin-antd/antd-samples/src/main/kotlin/samples/space/Vertical.kt | oxiadenine | 206,398,615 | false | {"Kotlin": 1619835, "HTML": 1515} | package samples.space
import antd.card.card
import antd.space.space
import kotlinext.js.js
import react.RBuilder
import react.dom.p
import styled.css
import styled.styledDiv
private fun RBuilder.spaceVertical() {
space {
attrs.direction = "vertical"
card {
attrs {
title... | 1 | Kotlin | 8 | 50 | e0017a108b36025630c354c7663256347e867251 | 787 | kotlin-js-wrappers | Apache License 2.0 |
core/network/src/main/java/com/sapiest/vaultspace/core/network/ApiClient.kt | sapiest | 703,269,182 | false | {"Kotlin": 47638} | package com.sapiest.vaultspace.core.network
import retrofit2.Retrofit
import javax.inject.Inject
interface ApiClient {
fun <T> createService(serviceClass: Class<T>): T
}
class ApiClientImpl @Inject constructor(
private val retrofitBuilder: Retrofit
): ApiClient {
override fun <T> createService(serviceC... | 0 | Kotlin | 0 | 0 | 7ed653b8dc93862d0865d746cb569159fc72f9a8 | 400 | VaultSpace | MIT License |
kgl-vma/src/jvmTest/kotlin/com/kgl/vma/Test.kt | ArcheCraft | 444,160,602 | true | {"Kotlin": 898353, "C": 10037} | package com.kgl.vma
import com.kgl.vma.handles.*
import org.lwjgl.util.vma.*
import org.lwjgl.util.vma.Vma.*
val allocator: Allocator get() = TODO()
fun test() {
// TODO:
// vmaCreateBuffer()
// vmaDestroyBuffer()
// vmaCreateImage()
// vmaDestroyImage()
// vmaBuildStatsString()
// vmaFreeStatsString()
}
| 0 | Kotlin | 0 | 0 | 8abab21ec63105c633d800cba1b9347b6a7df43d | 316 | kgl | Apache License 2.0 |
modules/library-android-api/src/test/kotlin/com/leinardi/forlago/library/android/api/ext/CharSequenceExtKtTest.kt | leinardi | 405,185,933 | false | null | /*
* Copyright 2024 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 3 | null | 3 | 9 | abe5eb3017f3365bbb1b61e74f2ef8f34097d411 | 1,832 | Forlago | Apache License 2.0 |
android-basics-kotlin-forage-app-main/app/src/main/java/com/example/forage/model/Forageable.kt | amoralesc | 482,319,767 | false | {"Kotlin": 363730} | /*
* 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... | 0 | Kotlin | 0 | 0 | 4d8104a46772935b069bbb9bb181d1104aca3cca | 1,345 | android-basics-kotlin | Apache License 2.0 |
android-basics-kotlin-forage-app-main/app/src/main/java/com/example/forage/model/Forageable.kt | amoralesc | 482,319,767 | false | {"Kotlin": 363730} | /*
* 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... | 0 | Kotlin | 0 | 0 | 4d8104a46772935b069bbb9bb181d1104aca3cca | 1,345 | android-basics-kotlin | Apache License 2.0 |
app/src/androidTest/java/com/jadebyte/jadeplayer/getStarted/GetStartedActivityTest.kt | wilburt | 177,040,268 | false | null | // Copyright (c) 2019 . Wilberforce Uwadiegwu. All Rights Reserved.
package com.jadebyte.jadeplayer.getStarted
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.isClickable
import androidx.test.espresso.matc... | 5 | Kotlin | 28 | 75 | e8b887c5074c6dde830252e322869d0ff8d362c5 | 924 | Jade-Player | Apache License 2.0 |
shared/src/commonMain/kotlin/co/touchlab/kampkit/Test.kt | myworkout | 360,164,604 | true | {"Kotlin": 497647, "Swift": 8040, "Ruby": 2216} | package co.touchlab.kampkit
class Test {
} | 0 | Kotlin | 0 | 0 | f1af526d80b1c9ff506dc9e28a1faaa8cd160f77 | 43 | KaMPKit | Apache License 2.0 |
multik-core/src/jvmMain/kotlin/org/jetbrains/kotlinx/multik/api/io/csv.kt | Kotlin | 265,785,552 | false | null | /*
* Copyright 2020-2022 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package org.jetbrains.kotlinx.multik.api.io
import org.apache.commons.csv.CSVFormat
import org.jetbrains.kotlinx.multik.api.Multik
import org.jetbrains.kotlinx.multik.ndarray.complex.ComplexDouble
import org.... | 59 | null | 39 | 636 | b121652b8d151782d5770c5e1505864ac0307a5b | 9,579 | multik | Apache License 2.0 |
src/main/kotlin/org/skellig/plugin/language/teststep/psi/SkelligTestStepFile.kt | skellig-framework | 309,154,374 | false | {"Kotlin": 219539, "Lex": 2218} | package org.skellig.plugin.language.teststep.psi
import com.intellij.extapi.psi.PsiFileBase
import com.intellij.openapi.fileTypes.FileType
import com.intellij.psi.FileViewProvider
class SkelligTestStepFile(viewProvider: FileViewProvider) : PsiFileBase(viewProvider, SkelligTestStepLanguage.INSTANCE) {
override fu... | 0 | Kotlin | 0 | 1 | 1f99c61d6c5deb44d684e98a413d9f991b9b2da7 | 490 | skellig-intellij-plugin | Apache License 2.0 |
kotlin-analysers/src/main/kotlin/org/jetbrains/research/lupa/kotlinAnalysis/declarations/analysis/usages/analyzer/InternalUsagesPsiAnalyzer.kt | nbirillo | 353,952,951 | false | null | package org.jetbrains.research.lupa.kotlinAnalysis.declarations.analysis.usages.analyzer
import com.intellij.refactoring.rename.RenamePsiElementProcessor
import com.intellij.usageView.UsageInfo
import org.jetbrains.kotlin.idea.base.psi.kotlinFqName
import org.jetbrains.kotlin.idea.base.util.module
import org.jetbrains... | 7 | Jupyter Notebook | 5 | 25 | c4875ccd6762d779bff8b3da37690360253a74fb | 1,871 | Lupa | Apache License 2.0 |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/CellLabel.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: CellLabel
*
* Full name: System`CellLabel
*
* Usage: CellLabel is an option for Cell which giv... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 960 | mathemagika | Apache License 2.0 |
app/src/main/java/com/stemlabs/ellu/data/preference/PrefKeys.kt | StemlabsSL | 329,898,048 | false | {"Java": 2282866, "Kotlin": 680962, "Assembly": 135} | package com.stemlabs.ellu.data.preference
// Save all the label code here.
object PrefKeys {
const val LANGUAGE_CODE: String = "languagecode"
const val LBL_LNG_SELECT_LANGUAGE: String = "LBL_LNG_SELECT_LANGUAGE"
const val LBL_LNG_CHOOSE_YOUR_PREFERRED_LANGUAGE: String = "LBL_LNG_CHOOSE_YOUR_PREFERRED_LANG... | 1 | null | 1 | 1 | 0560654991402f229b1fcb3a65e8d6ee23c0763b | 17,994 | Stemlabschat-Android | Apache License 2.0 |
tl/src/main/kotlin/com/github/badoualy/telegram/tl/api/TLGroupCallParticipant.kt | Miha-x64 | 436,587,061 | true | {"Kotlin": 3919807, "Java": 75352} | package com.github.badoualy.telegram.tl.api
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_CONSTRUCTOR_ID
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_INT32
import com.github.badoualy.telegram.tl.TLObjectUtils.SIZE_INT64
import com.github.badoualy.telegram.tl.TLObjectUtils.computeTLStringSerial... | 1 | Kotlin | 2 | 3 | 1a8963dce921c1e9ef05b9d1e56d8fbcb1ea1c4b | 7,161 | kotlogram-resurrected | MIT License |
app/src/main/java/ru/autokit/android/model/CarModelItem.kt | Gelassen | 277,715,761 | false | null | package ru.autokit.android.model
import com.google.gson.annotations.SerializedName
data class CarModelItem(@SerializedName("model") val carModel: String?) {
fun isEmpty(): Boolean {
return carModel == null
}
} | 1 | null | 1 | 1 | c7db7aa79685610d2d1c5c06f2b24b4b6000befc | 228 | car-kit-demo | MIT License |
androidApp/src/main/java/tech/alexib/yaba/kmm/android/ui/auth/components/Username.kt | LouisCAD | 380,833,587 | true | {"Kotlin": 184981, "Ruby": 2062, "Swift": 344, "Shell": 306} | package tech.alexib.yaba.kmm.android.ui.auth.components
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.text.KeyboardActions
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material.ContentAlpha
import androidx.compose.material.LocalContentAlpha... | 0 | null | 0 | 0 | f46020f59be5f1603ee00d7540d83bf7d6840a1c | 2,614 | yaba-kmm | Apache License 2.0 |
src/main/kotlin/com/github/traineratwot/noasciihighlighter/listeners/MyProjectManagerListener.kt | Traineratwot | 557,767,309 | false | null | package com.github.traineratwot.noasciihighlighter.listeners
import com.github.traineratwot.noasciihighlighter.MyBundle
import com.intellij.openapi.vfs.newvfs.BulkFileListener
import com.intellij.openapi.vfs.newvfs.events.VFileEvent
internal class MyProjectManagerListener : BulkFileListener {
override fun after(e... | 0 | Kotlin | 0 | 0 | 519ce3f6d4eed726a661bd6d8312bb3a673a663d | 423 | no-ascii-highlighter | Apache License 2.0 |
src/main/kotlin/com/alibabacloud/ui/CustomTreeCellRenderer.kt | aliyun | 730,005,323 | false | {"Kotlin": 264565, "HTML": 1292} | package com.alibabacloud.ui
import com.alibabacloud.icons.ToolkitIcons
import com.intellij.ui.JBColor
import java.awt.Color
import java.awt.Component
import javax.swing.JTree
import javax.swing.tree.DefaultMutableTreeNode
import javax.swing.tree.DefaultTreeCellRenderer
class CustomTreeCellRenderer : DefaultTreeCellRe... | 1 | Kotlin | 1 | 4 | 398173b50d9f9cad2c1e4855d87e91b423f946a9 | 1,769 | alibabacloud-api-jetbrains-toolkit | Apache License 2.0 |
consumer-lib/src/jvmMain/kotlin/useExpectedClassJvm.kt | h0tk3y | 386,296,334 | false | null | package com.h0tk3y.openexpects
actual fun useExpectedClass(e: Expected) {
} | 0 | Kotlin | 0 | 2 | 77f100e2cf287eba26a6c8f8458a4eff41a9e725 | 76 | kotlin-multiplatform-incomplete | Apache License 2.0 |
common/src/main/kotlin/ru/otus/otuskotlin/resume/backend/common/exceptions/NoneException.kt | otuskotlin | 377,710,400 | false | null | package ru.otus.otuskotlin.resume.backend.common.exceptions
object NoneException : Throwable() | 0 | Kotlin | 0 | 0 | 920d87731a128acc1c113acd393dcc09ed01411a | 95 | ok-202105-resume-ab | MIT License |
app/src/main/java/com/cuneytayyildiz/smstotelegram/di/NetworkModule.kt | Swisyn | 357,671,688 | false | null | package com.cuneytayyildiz.smstotelegram.di
import android.content.Context
import com.cuneytayyildiz.smstotelegram.BuildConfig
import com.cuneytayyildiz.smstotelegram.data.remote.TelegramApi
import com.cuneytayyildiz.smstotelegram.di.annotations.ConnectionStatus
import com.cuneytayyildiz.smstotelegram.utils.managers.C... | 0 | Kotlin | 0 | 1 | ba51ed2ee9aa1e8890880b9941f6fb1fcf0e4159 | 2,057 | SMStoTelegram | MIT License |
Android/dokit/src/main/java/com/didichuxing/doraemonkit/kit/lbs/manual/PosAdjustKit.kt | shaoxiongdu | 400,070,875 | true | {"Java": 4129504, "Objective-C": 1630492, "Kotlin": 1219942, "Dart": 256321, "C": 186598, "Vue": 149192, "JavaScript": 102252, "Swift": 39841, "Objective-C++": 12589, "HTML": 10284, "Shell": 7312, "Ruby": 6648, "CMake": 5926, "AIDL": 570, "Less": 372} | package com.didichuxing.doraemonkit.kit.lbs.manual
import android.app.Activity
import android.content.Context
import com.didichuxing.doraemonkit.DoKit.Companion.launchFloating
import com.didichuxing.doraemonkit.R
import com.didichuxing.doraemonkit.aop.DokitPluginConfig
import com.didichuxing.doraemonkit.kit.AbstractKi... | 0 | null | 0 | 1 | e2b97cf981fa67b378e048108687bb80278699ae | 1,397 | DoraemonKit | Apache License 2.0 |
src/main/kotlin/de/koeppel/adventofcode/modules/part/PartService.kt | timkoeppel | 676,234,460 | false | null | package de.koeppel.adventofcode.modules.part
import de.koeppel.adventofcode.data.dao.PartDAO
import org.springframework.stereotype.Service
@Service
class PartService(val partsDAO: PartDAO) {
fun getPartsCount(){
// TODO
}
} | 7 | Kotlin | 0 | 1 | 087d32b737152d6c3e0e9116604347dddb30a475 | 229 | advent-of-code | MIT License |
app/src/main/java/com/example/colorapp/ColorPickerDialog.kt | lindayanyan | 319,137,211 | false | {"Java": 105236, "Kotlin": 35497} | /*
* Designed and developed by 2017 skydoves (<NAME>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 1 | null | 1 | 1 | b8913cf048a07fdb7267875495dbb5b5daf09b63 | 5,590 | color_app | MIT License |
app/src/main/java/com/github/odaridavid/designpatterns/ui/DesignPatternDetailActivity.kt | jumaallan | 262,785,031 | true | {"Kotlin": 92803, "CSS": 2809} | package com.github.odaridavid.designpatterns.ui
import android.os.Bundle
import com.github.odaridavid.designpatterns.base.BaseActivity
import com.github.odaridavid.designpatterns.databinding.ActivityDesignPatternDetailBinding
import com.github.odaridavid.designpatterns.helpers.NavigationUtils
import com.github.odarida... | 0 | null | 0 | 1 | a9219bf19db937ffc060023a6daed109b1eae607 | 1,127 | Design-Pattern-Samples-App | Apache License 2.0 |
app/src/main/java/com/daya/taha/presentation/home/NewsPagingAdapter.kt | daya-pangestu | 308,078,972 | false | {"Kotlin": 140694} | package com.daya.taha.presentation.home
import android.graphics.drawable.ColorDrawable
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import androidx.paging.PagingDataAdapter
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
im... | 0 | Kotlin | 0 | 1 | a52e7e6f0c5343e491db3a1551ac183ac9f72ed8 | 2,073 | push-notif | MIT License |
app/src/main/java/com/github/odaridavid/weatherapp/data/weather/remote/DefaultRemoteWeatherDataSource.kt | odaridavid | 596,789,592 | false | {"Kotlin": 108507} | package com.github.odaridavid.weatherapp.data.weather.remote
import com.github.odaridavid.weatherapp.BuildConfig
import com.github.odaridavid.weatherapp.core.Result
import com.github.odaridavid.weatherapp.core.model.DefaultLocation
import com.github.odaridavid.weatherapp.core.model.ExcludedData
import com.github.odari... | 21 | Kotlin | 23 | 87 | 2d0fb75c8e5597ee5b1caedcc3281bbd26cd400a | 1,783 | WeatherApp | Apache License 2.0 |
kotlin-kafka-client-lowlevel/src/commonMain/kotlin/io/github/vooft/kafka/network/messages/Common.kt | vooft | 802,782,830 | false | {"Kotlin": 211440, "Makefile": 643} | package io.github.vooft.kafka.network.messages
import io.github.vooft.kafka.serialization.common.IntValue
import io.github.vooft.kafka.serialization.common.ShortValue
import io.github.vooft.kafka.serialization.common.ShortValueSerializer
import kotlinx.serialization.Serializable
import kotlin.jvm.JvmInline
sealed int... | 0 | Kotlin | 0 | 1 | f04433ce575f1a35aeab2377966c0f6ea0348066 | 1,922 | kotlin-kafka-client | Apache License 2.0 |
native/android/app/src/main/java/tuerantuer/app/integreat/fetcher/FetcherModule.kt | digitalfabrik | 298,817,213 | false | {"TypeScript": 1686582, "JavaScript": 23047, "Ruby": 20883, "Kotlin": 12817, "CSS": 7280, "Swift": 7195, "EJS": 7183, "Shell": 5863, "Objective-C++": 3607, "Objective-C": 953} | package tuerantuer.app.integreat.fetcher
import com.facebook.react.bridge.Promise
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.bridge.ReactContextBaseJavaModule
import com.facebook.react.bridge.ReactMethod
import com.facebook.react.bridge.ReadableMap
import okhttp3.Call
import okh... | 110 | TypeScript | 14 | 47 | b39c0e6c881e3ae53a7a2d13d93640d93649a338 | 3,793 | integreat-app | MIT License |
app/src/main/java/com/kopai/shinkansen/di/AppModule.kt | kopiai | 805,653,375 | false | {"Kotlin": 198594} | package com.kopai.shinkansen.di
import android.content.Context
import com.kopai.shinkansen.data.local.pref.UserPreference
import com.kopai.shinkansen.data.local.pref.dataStore
import com.kopai.shinkansen.data.local.room.ProductsDatabase
import com.kopai.shinkansen.data.remote.retrofit.ApiConfig
import com.kopai.shinka... | 0 | Kotlin | 0 | 0 | 7756ffc4353475562b0a0cebd5f60e552967dcef | 2,414 | kopai-android | MIT License |
shared/src/commonMain/kotlin/co/nimblehq/blisskmmic/presentation/modules/surveydetail/SurveyQuestionViewState.kt | blyscuit | 534,130,510 | false | {"Kotlin": 248224, "Swift": 159733, "Ruby": 26226, "Shell": 782} | package co.nimblehq.blisskmmic.presentation.modules.surveydetail
data class SurveyQuestionViewState(
val isShowingSubmit: Boolean = false,
val isLoading: Boolean = false,
val currentQuestionIndex: Int = 0,
val isShowingSuccess: Boolean = false
) {
constructor() : this(currentQuestionIndex = 0)
}
| 0 | Kotlin | 0 | 1 | 9de255a3fc5946444132dffb596ed72986739020 | 318 | kmm-swiftUI-IC | MIT License |
src/main/kotlin/org/vitrivr/cottontail/server/grpc/services/DQLService.kt | SanjaPopovic | 368,444,276 | true | {"Kotlin": 1810422, "Dockerfile": 478} | package org.vitrivr.cottontail.server.grpc.services
import com.google.protobuf.Empty
import kotlinx.coroutines.flow.Flow
import org.vitrivr.cottontail.database.catalogue.Catalogue
import org.vitrivr.cottontail.database.queries.QueryContext
import org.vitrivr.cottontail.database.queries.binding.GrpcQueryBinder
import o... | 0 | Kotlin | 0 | 0 | dd722bd144642ae7ee91e482cb313d2813471afe | 3,641 | cottontaildb | MIT License |
build-plugin/src/build/UpdateLibrariesTask.kt | Kotlin | 63,066,291 | false | {"Kotlin": 864116, "JavaScript": 40044, "CSS": 16243, "Python": 14915, "Jupyter Notebook": 1290, "Shell": 74} | package build
import build.util.BUILD_LIBRARIES
import org.gradle.api.DefaultTask
import org.gradle.api.provider.Property
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.OutputDirectory
import org.gradle.api.tasks.TaskAction
import org.gradle.kotlin.dsl.property
import java.io.File
abstract class Update... | 65 | Kotlin | 108 | 984 | 94794065fd0a616b757a8cabf4574bb63344facb | 910 | kotlin-jupyter | Apache License 2.0 |
data/src/main/kotlin/com/precopia/data/repository/WeeksRepo.kt | DavidPrecopia | 669,964,752 | false | {"Kotlin": 19373} | package com.precopia.data.repository
import com.precopia.data.dao.WeekDao
import com.precopia.domain.datamodel.Week
import com.precopia.domain.repository.IRepositoryContract
internal class WeeksRepo(
private val dao: WeekDao
): IRepositoryContract.Weeks {
override fun getWeeks() = dao.getWeeks()
.map ... | 0 | Kotlin | 0 | 0 | aa872b8e0cae208aa863f18806064af81c2d5c4e | 639 | ShiftScheduler | Apache License 2.0 |
ex_modular/android/app/src/main/kotlin/thiagocury/eti/br/ex_modular/MainActivity.kt | thiago-cury | 352,996,305 | false | {"Dart": 319865, "HTML": 131014, "Swift": 20604, "Ruby": 12738, "Kotlin": 6872, "Objective-C": 1938, "CSS": 709} | package thiagocury.eti.br.ex_modular
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 1 | 3 | 3b71fd7f087eb5cfa588b0981cf98ad50296fabb | 133 | aulas-flutter | MIT License |
src/main/kotlin/io/runescript/plugin/lang/doc/parser/RsDocLinkParser.kt | waleedyaseen | 642,509,853 | false | null | /*
* Copyright 2010-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 8 | null | 2 | 3 | afde50d4e339a74638ab04077c8c4bb82f13dbdc | 3,667 | intellij-runescript | MIT License |
android/src/main/kotlin/kotlinbars/android/MainActivity.kt | jamesward | 350,496,939 | false | null | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 2 | null | 5 | 47 | 8d5443a7f72f1ba10ec2ad171a5dfe193b3e7be4 | 1,214 | kotlin-bars | Apache License 2.0 |
app/src/main/java/ch/abwesend/privatecontacts/infrastructure/repository/androidcontacts/repository/AndroidContactRepositoryBase.kt | fgubler | 462,182,037 | false | {"Kotlin": 1163443, "Java": 369326} | package ch.abwesend.privatecontacts.infrastructure.repository.androidcontacts.repository
import ch.abwesend.privatecontacts.domain.lib.coroutine.IDispatchers
import ch.abwesend.privatecontacts.domain.lib.logging.logger
import ch.abwesend.privatecontacts.domain.model.permission.MissingPermissionException
import ch.abwe... | 0 | Kotlin | 1 | 9 | 49b98707f8cd250f7f15279c4b9e61fef41f1fb1 | 2,112 | PrivateContacts | Apache License 2.0 |
src/main/kotlin/shou/page/mobile/kaf/KafS02Page.kt | NSVN-NguyenDuyThang | 661,492,559 | false | null | package shou.page.mobile.kaf
import shou.common.mobile.BasePageMobile
import shou.common.mobile.element.card.CardComponent
import shou.common.mobile.element.datetimepicker.DateTimePicker
import shou.common.mobile.element.switchbtn.SwitchBtnElement
import shou.common.model.PeriodTime
import shou.page.mobile.kaf.model.S... | 0 | Kotlin | 0 | 0 | e0997a27faf6fecd2ee04a2f0ae98bf14569a4f0 | 1,742 | playwright-kotlin | MIT License |
componentbridge/src/main/java/com/idisfkj/awesome/componentbridge/followers/DefaultFollowersBridge.kt | idisfkj | 219,784,908 | false | null | package com.idisfkj.awesome.componentbridge.followers
import android.content.Context
import android.widget.Toast
/**
* Created by idisfkj on 2019-11-21.
* Email : <EMAIL>.
*/
class DefaultFollowersBridge : FollowersBridgeInterface {
override fun toFollowersActivity(context: Context) {
Toast.makeText(c... | 0 | Kotlin | 41 | 215 | c9f99cecc4784a2d0b30d98ea6d94e315364b081 | 384 | AwesomeGithub | Apache License 2.0 |
src/main/kotlin/com/ort/lastwolf/domain/service/daychange/DayChangeDomainService.kt | h-orito | 288,476,085 | false | {"Kotlin": 452455, "Batchfile": 522, "Shell": 454} | package com.ort.lastwolf.domain.service.daychange
import com.ort.lastwolf.domain.model.commit.Commits
import com.ort.lastwolf.domain.model.daychange.DayChange
import org.springframework.stereotype.Service
@Service
class DayChangeDomainService(
private val prologueDomainService: PrologueDomainService,
private ... | 5 | Kotlin | 0 | 0 | 6862071aa22f92780c93590af1367c177f911f6e | 2,072 | lastwolf-api | MIT License |
src/main/kotlin/com/forgerock/sapi/gateway/ob/uk/framework/consent/payment/DefaultOBWriteDomesticConsent4Factory.kt | SecureApiGateway | 330,627,234 | false | {"Kotlin": 1237431, "Java": 2078, "Makefile": 900, "Dockerfile": 464} | package com.forgerock.sapi.gateway.ob.uk.framework.consent.payment
import com.forgerock.sapi.gateway.framework.configuration.requirePaymentContextCode
import uk.org.openbanking.datamodel.v3.common.OBExternalPaymentContext1Code
import uk.org.openbanking.datamodel.v3.payment.OBWriteDomesticConsent4
import uk.org.openban... | 9 | Kotlin | 0 | 5 | d482643dbd93fc171c46971aa1e352ce87cd98dc | 994 | secure-api-gateway-ob-uk-functional-tests | Apache License 2.0 |
src/test/kotlin/io/openapiprocessor/core/converter/ApiOptionsSpec.kt | openapi-processor | 268,750,021 | false | null | /*
* Copyright 2021 https://github.com/openapi-processor/openapi-processor-core
* PDX-License-Identifier: Apache-2.0
*/
package io.openapiprocessor.core.converter
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.spec.style.StringSpec
class ApiOptionsSpec: StringSpec({
"throws when tar... | 8 | Kotlin | 4 | 7 | 1bf168c0af909fbdf7fa44ab3f9712492fb1380d | 474 | openapi-processor-core | Apache License 2.0 |
src/main/kotlin/no/nav/syfo/syfosmregister/model/SykmeldingsperiodeDTO.kt | navikt | 247,334,648 | false | null | package no.nav.syfo.syfosmregister.model
import java.time.LocalDate
data class SykmeldingsperiodeDTO(
val fom: LocalDate,
val tom: LocalDate,
val gradert: GradertDTO?
)
| 0 | Kotlin | 0 | 0 | 9751a00f96e790703f0c66f88b529d15dec0cbe6 | 183 | egenmeldt-sykmelding-backend | MIT License |
core/model/src/main/kotlin/dev/yacsa/model/model/theme/ThemeUiModel.kt | andrew-malitchuk | 589,720,124 | false | null | package dev.yacsa.model.model.theme
enum class ThemeUiModel {
LIGHT, DARK, AUTO
}
fun ThemeUiModel.isLight(): Boolean {
return this == ThemeUiModel.LIGHT
}
fun ThemeUiModel.isDark(): Boolean {
return this == ThemeUiModel.DARK
}
fun ThemeUiModel.isAuto(): Boolean {
return this == ThemeUiModel.AUTO
}
| 0 | Kotlin | 0 | 0 | e35620cf1c66b4f76f0ed30d9c6d499acd134403 | 320 | yet-another-compose-showcase-app | MIT License |
Sample/src/main/java/jp/co/nohana/featurediscovery/sample/SampleActivity.kt | nohana | 113,158,108 | false | null | package jp.co.nohana.featurediscovery.sample
import android.os.Bundle
import androidx.coordinatorlayout.widget.CoordinatorLayout
import androidx.fragment.app.FragmentManager
import androidx.appcompat.app.AppCompatActivity
import com.google.android.material.snackbar.Snackbar
import jp.co.nohana.featurediscovery.FABFeat... | 0 | Kotlin | 0 | 1 | 44b6a4cc8e03b2dcffff26554594126e3b97492b | 2,120 | NohanaFeatureDiscovery | Apache License 2.0 |
bootstrap-icons-compose/src/main/java/com/wiryadev/bootstrapiconscompose/bootstrapicons/filled/Circle.kt | wiryadev | 380,639,096 | false | null | package com.wiryadev.bootstrapiconscompose.bootstrapicons.filled
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.S... | 0 | Kotlin | 0 | 2 | 1c199d953dc96b261aab16ac230dc7f01fb14a53 | 1,475 | bootstrap-icons-compose | MIT License |
app/src/main/java/com/example/myapplication/ui/adapter/EmptyViewAdapter.kt | yo-lolo | 660,058,834 | false | null | package com.example.myapplication.ui.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.RecyclerView.AdapterDataObserver
import com.example.myapplication.R
import com.example.myapplication.databinding.AdapterEmp... | 0 | Kotlin | 0 | 0 | 4fe85c8ba6548f3997a8351997f2aef1a3e99ce0 | 2,235 | yolo | Apache License 2.0 |
app/src/test/java/com/example/carlos/realprogrammers/presentation/presenters/ProgrammerDetailPresenterTest.kt | BCarlosH | 162,985,142 | false | {"Kotlin": 103768} | package com.example.carlos.realprogrammers.presentation.presenters
import com.example.carlos.realprogrammers.domain.UseCase
import com.example.carlos.realprogrammers.domain.UseCaseFactory
import com.example.carlos.realprogrammers.presentation.ProgrammerDetailView
import com.example.carlos.realprogrammers.utils.TestDat... | 0 | Kotlin | 0 | 0 | e5aa0de30e1f534571052c3842d0ededa0fcdc7b | 1,926 | RealProgrammers | Apache License 2.0 |
src/main/java/common/base/netAbout/WrapperRespData.kt | feer921 | 59,286,407 | false | {"Java": 1795248, "Kotlin": 116783} | package common.base.netAbout
/**
* ******************(^_^)***********************<br>
* User: fee(QQ/WeiXin:1176610771)<br>
* <P>DESC:
* 相关数据结果 对象的包裹类
* </p>
* ******************(^_^)***********************
*/
open class WrapperRespData<out D>(val data: D?, val dataType: Int = 0, val errorInfos: String? = null)... | 1 | Java | 20 | 59 | 2b26b274b924b4a7862f30335c1b416c67b5c150 | 390 | BaseProject | Apache License 2.0 |
JuniperJunctionDistillery-App/JuniperJunctionDistillery/app/src/main/java/com/example/juniperjunctiondistillery/menu/employee/AddEmployeeActivity.kt | ST10089495 | 724,251,321 | false | {"Kotlin": 169322} | package com.example.juniperjunctiondistillery.menu.employee
import android.app.ProgressDialog
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.Toast
import com.example.juniperjunctiondistillery.R
import com.example.juniperjunctiondistillery.databind... | 0 | Kotlin | 0 | 0 | 015daf1f7ad538089df749fa404fc6db776717f7 | 4,244 | JuniperJunctionDistilleryApp | MIT License |
solar/src/main/java/com/chiksmedina/solar/outline/money/Ruble.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.outline.money
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.M... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 4,344 | SolarIconSetAndroid | MIT License |
paymentsheet/src/main/java/com/stripe/android/ExperimentalAllowsRemovalOfLastSavedPaymentMethodApi.kt | stripe | 6,926,049 | false | {"Kotlin": 10687688, "Java": 72095, "Ruby": 22569, "Shell": 20293, "Python": 13907, "HTML": 7519} | package com.stripe.android
import androidx.annotation.RestrictTo
@RequiresOptIn(
level = RequiresOptIn.Level.ERROR,
message = "This API is under construction. It can be changed or removed at any time (use at your own risk)"
)
@Retention(AnnotationRetention.BINARY)
// TODO(jaynewstrom-stripe): remove before Al... | 110 | Kotlin | 639 | 1,196 | cd2ba357c2bbd41e7e6e08a3505e5d8261a460ae | 479 | stripe-android | MIT License |
kotlin-frontend/src/main/kotlin/org/jetbrains/kotlin/gradle/frontend/SourceMaps.kt | Kotlin | 74,062,359 | false | null | package org.jetbrains.kotlin.gradle.frontend
import groovy.json.*
import org.gradle.api.*
import org.gradle.api.tasks.*
import org.jetbrains.kotlin.gradle.dsl.*
import java.io.*
import java.net.*
open class RelativizeSourceMapTask : DefaultTask() {
@Internal
lateinit var compileTask: KotlinJsCompile
@get... | 86 | Kotlin | 69 | 573 | 6c10cc4f46df9ea419db282e3d2bb32d392f139e | 1,754 | kotlin-frontend-plugin | Apache License 2.0 |
src/test/kotlin/com/healthmetrix/labres/integration/LmsReportsTest.kt | labres | 255,649,801 | false | null | package com.healthmetrix.labres.integration
import com.fasterxml.jackson.databind.JsonNode
import com.healthmetrix.labres.encodeBase64
import com.healthmetrix.labres.lab.Result
import com.healthmetrix.labres.order.OrderNumber
import com.healthmetrix.labres.order.Sample
import com.healthmetrix.labres.order.Status
impor... | 1 | Kotlin | 0 | 0 | 5df188bed713e9dcfab5f1dd36e16fda43c4167d | 9,908 | server | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.