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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MultiModuleApp2/module2/src/main/java/com/github/yamamotoj/module2/package40/Foo04003.kt | yamamotoj | 163,851,411 | false | {"Text": 1, "Ignore List": 30, "Markdown": 1, "Gradle": 34, "Java Properties": 11, "Shell": 6, "Batchfile": 6, "Proguard": 22, "Kotlin": 36021, "XML": 93, "INI": 1, "Java": 32, "Python": 2} | package com.github.yamamotoj.module2.package40
class Foo04003 {
fun method0() {
Foo04002().method5()
}
fun method1() {
method0()
}
fun method2() {
method1()
}
fun method3() {
method2()
}
fun method4() {
method3()
}
fun method5() {... | 0 | Kotlin | 0 | 9 | 2a771697dfebca9201f6df5ef8441578b5102641 | 347 | android_multi_module_experiment | Apache License 2.0 |
src/main/kotlin/io/finnhub/api/models/IsinChangeInfo.kt | Finnhub-Stock-API | 275,674,325 | false | null | /**
* Finnhub API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manu... | 1 | Kotlin | 7 | 29 | c5bb3ce6876db2d9e1a7a56690a9909bf4081e21 | 1,049 | finnhub-kotlin | Apache License 2.0 |
systemtest-utils/src/main/java/com.bitmovin.analytics.systemtest.utils/MockedIngress.kt | bitmovin | 120,633,749 | false | {"Kotlin": 1115594, "Java": 25098, "Shell": 13078} | package com.bitmovin.analytics.systemtest.utils
import android.util.Log
import com.bitmovin.analytics.data.AdEventData
import com.bitmovin.analytics.data.EventData
import com.bitmovin.analytics.features.errordetails.ErrorDetail
import com.bitmovin.analytics.utils.DataSerializer
import okhttp3.mockwebserver.Dispatcher
... | 1 | Kotlin | 6 | 8 | 1384d94c9ca48529c73ab7ae49797f30d4b3bbef | 6,055 | bitmovin-analytics-collector-android | Amazon Digital Services License |
Android/Simplebudget/app/src/main/java/com/simplebudget/helper/analytics/FirebaseAnalyticsHelper.kt | WaheedNazir | 296,346,739 | true | {"Kotlin": 866138, "Java": 137452, "HTML": 2918} | package com.simplebudget.helper.analytics
import android.os.Bundle
import com.google.firebase.analytics.FirebaseAnalytics
import com.simplebudget.helper.ENABLE_ANALYTICS
object FirebaseAnalyticsHelper {
private lateinit var firebaseAnalytics: FirebaseAnalytics
fun initialize(firebaseAnalytics: FirebaseAnaly... | 0 | Kotlin | 0 | 5 | 245aeb0961cc3b34787c5b2d9b8cbb0e7d1d0df8 | 1,214 | EasyBudget | Apache License 2.0 |
wear/wear-watchface-client/src/main/java/androidx/wear/watchface/client/DeviceConfig.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... | 0 | null | 0 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 2,176 | androidx | Apache License 2.0 |
zircon.core/src/main/kotlin/org/codetome/zircon/api/modifier/BorderPosition.kt | opencollective | 119,803,967 | false | null | package org.codetome.zircon.api.modifier
enum class BorderPosition {
TOP, RIGHT, BOTTOM, LEFT
} | 0 | null | 1 | 1 | 3c1cd8aa4b6ddcbc39b9873c54ac64e3ec6cda4d | 100 | zircon | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/StoreBuyer.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 | 5,676 | icons | MIT License |
service/service-acl/src/main/kotlin/com/hyosakura/acl/mapper/RolePermissionMapper.kt | LovesAsuna | 452,657,888 | false | null | package com.hyosakura.acl.mapper
import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.hyosakura.acl.entity.RolePermission
/**
* 角色权限 Mapper 接口
*/
interface RolePermissionMapper : BaseMapper<RolePermission> | 0 | Kotlin | 0 | 0 | 3a65bc1383e9a161d3a1e036551d9990437f4881 | 222 | OnlineEducation | MIT License |
app/src/main/java/com/f2h/f2h_admin/screens/group/confirm_reject/ConfirmRejectViewModel.kt | Farm2Home | 245,578,424 | false | {"Kotlin": 528123} | package com.f2h.f2h_admin.screens.group.confirm_reject
import android.app.Application
import android.util.Log
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.f2h.f2h_admin.constants.F2HConstants.ORDER_STATUS_CONFIRMED
import com.f2h.f2h... | 0 | Kotlin | 0 | 0 | a60352840b9dd591e30f4bbeb571d1c0ad8b8319 | 25,708 | f2h_admin | MIT License |
app/src/main/java/com/zigis/paleontologas/application/android/BaseView.kt | Ruslanmirh | 243,192,864 | true | {"Kotlin": 145289} | package com.zigis.paleontologas.application.android
import android.content.Context
import android.widget.RelativeLayout
import com.zigis.paleontologas.R
import com.zigis.paleontologas.application.extensions.setDebounceClickListener
import kotlinx.android.synthetic.main.toolbar.view.*
import kotlinx.android.synthetic.m... | 0 | null | 0 | 0 | 9900d80f822e87655cdaffc75f156de3c578bea0 | 860 | Paleontologas | Apache License 2.0 |
app/src/main/java/com/sjn/stamp/utils/PlayModeHelper.kt | sjnyag | 81,733,859 | false | null | package com.sjn.stamp.utils
import android.app.Activity
import android.support.v4.media.MediaBrowserServiceCompat
import android.support.v4.media.session.MediaControllerCompat
import android.support.v4.media.session.PlaybackStateCompat
object PlayModeHelper {
fun restore(service: MediaBrowserServiceCompat) {
... | 59 | Kotlin | 3 | 9 | cb145824f9e06cd17266502a5e85d8a9fa276bb0 | 4,181 | stamp | Apache License 2.0 |
compiler-plugin/src/main/java/io/mths/kava/compiler/frontend/k2/resolve/ConeKotlinType.kt | MerlinTHS | 598,539,841 | false | null | package io.mths.kava.compiler.frontend.k2.resolve
import org.jetbrains.kotlin.fir.FirSession
import org.jetbrains.kotlin.fir.expressions.FirExpression
import org.jetbrains.kotlin.fir.types.ConeKotlinType
import org.jetbrains.kotlin.fir.types.builder.buildResolvedTypeRef
/**
* Replaces receivers typeRef property with... | 0 | Kotlin | 0 | 0 | 5d038afd21c7099a47eb889422dbdb4b34926d0f | 541 | KavaCompilerPlugin | Apache License 2.0 |
bidon/src/main/java/org/bidon/sdk/auction/models/AuctionResponse.kt | bidon-io | 654,165,570 | false | null | package org.bidon.sdk.auction.models
import org.bidon.sdk.utils.json.JsonParser
import org.bidon.sdk.utils.json.JsonParsers
import org.json.JSONObject
/**
* Created by Bidon Team on 06/02/2023.
*/
internal data class AuctionResponse(
val rounds: List<Round>?,
val lineItems: List<LineItem>?,
val priceflo... | 1 | Kotlin | 0 | 0 | a624344c96c08ee05c026daed8ca7634f56daf0f | 1,179 | bidon_sdk_android | Apache License 2.0 |
azure-communication-ui/chat/src/main/java/com/azure/android/communication/ui/chat/ChatContainer.kt | Azure | 429,521,705 | false | null | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.android.communication.ui.chat
import android.content.Context
import com.azure.android.communication.ui.chat.configuration.ChatCompositeConfiguration
import com.azure.android.communication.ui.chat.configur... | 7 | null | 28 | 24 | d7e46c6063e8e9d3ed548acff2465b5d0f57b1b2 | 8,896 | communication-ui-library-android | MIT License |
app/src/androidTest/java/dog/snow/androidrecruittest/tests/SplashScreenTest.kt | Lejdi | 303,955,299 | false | {"Kotlin": 62566} | package dog.snow.androidrecruittest.tests
import androidx.test.espresso.Espresso
import androidx.test.espresso.assertion.ViewAssertions
import androidx.test.espresso.matcher.ViewMatchers
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.ext.junit.rules.ActivityScenarioRule
import dagger.hi... | 0 | Kotlin | 0 | 0 | 94bce0609da24f40fc77f9510be85cb48e5e814c | 1,270 | SnowDog_Recruit | Apache License 2.0 |
app/src/main/java/com/hms/advancedlocation/Utils.kt | Explore-In-HMS | 516,013,569 | false | null | package com.hms.advancedlocation
import java.time.LocalDateTime
import java.time.format.DateTimeFormatter
object Utils {
fun getTime(): String? {
val current = LocalDateTime.now()
val formatter = DateTimeFormatter.ofPattern("HH:mm:ss")
return current.format(formatter)
}
} | 0 | Kotlin | 0 | 2 | 3912ccd8f0c1161fb19e7878cd2312f8affd9c70 | 306 | advanced-location | MIT License |
app/src/main/kotlin/com/rcaetano/marvelheroes/feature/detail/DetailFragment.kt | rodrigo-mnz | 219,619,523 | false | null | package com.rcaetano.marvelheroes.feature.detail
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.View.GONE
import android.view.View.VISIBLE
import android.view.ViewGroup
import android.widget.LinearLayout
import android.widget.TextView
import androidx.fragment.a... | 0 | Kotlin | 0 | 0 | 1b9b947f8b08ae8fbe5097fb5c09d0c503abb023 | 4,239 | marvel | MIT License |
app/src/main/java/io/freshdroid/vinyl/features/album/viewmodels/outputs/AlbumDetailsViewModelOutputs.kt | gm4s | 175,840,667 | false | null | package io.freshdroid.vinyl.features.album.viewmodels.outputs
import io.freshdroid.vinyl.commons.models.Album
import io.freshdroid.vinyl.core.rx.Irrelevant
import io.reactivex.Observable
interface AlbumDetailsViewModelOutputs {
fun back(): Observable<Irrelevant>
fun album(): Observable<Album>
} | 1 | Kotlin | 1 | 1 | 36e6d69aa15b7eff1981fe549bb8606df06a0410 | 308 | Vinyl | Apache License 2.0 |
core/src/main/kotlin/com/github/samelVhatargh/vapula/map/Tiles.kt | SamelVhatargh | 273,857,522 | false | null | package com.github.samelVhatargh.vapula.map
import com.github.samelVhatargh.vapula.components.Position
enum class Terrain {
FLOOR, WALL
}
data class Tile(
val position: Position,
val terrain: Terrain,
var explored: Boolean = false,
val blockSight: Boolean = terrain == Terrain.WALL
) {
overrid... | 11 | Kotlin | 1 | 2 | 076d51060fd3331e05357ede2f97faec8880f6c1 | 600 | vapula | Creative Commons Zero v1.0 Universal |
app/src/main/java/invin/mvvm_invin/net/RequestClient.kt | InvincibleCooler | 504,026,079 | false | null | package invin.mvvm_invin.net
import android.util.Log
import okhttp3.Interceptor
import okhttp3.OkHttpClient
import okhttp3.Response
import okhttp3.logging.HttpLoggingInterceptor
import java.util.concurrent.TimeUnit
class RequestClient(private val _headers: HashMap<String, String>? = null) {
companion object {
... | 0 | Kotlin | 0 | 0 | 341542b24c71e5cd239cef845643aa4883c143e3 | 2,415 | mvvm_invin | Apache License 2.0 |
core/src/commonMain/kotlin/work/socialhub/kslack/api/methods/request/usergroups/UsergroupsDisableRequest.kt | uakihir0 | 794,979,552 | false | {"Kotlin": 1210021, "Ruby": 2164, "Shell": 2095, "Makefile": 316} | package com.github.seratch.jslack.api.methods.request.usergroups
import com.github.seratch.jslack.api.methods.SlackApiRequest
class UsergroupsDisableRequest internal constructor(
/**
* Authentication token. Requires scope: `usergroups:write`
*/
override var token: String?,
/**
* The encoded... | 5 | Kotlin | 0 | 0 | 4d1299164adc8b8e638b02e0ca7e46afb10709f8 | 1,682 | kslack | MIT License |
libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/targets/js/dsl/KotlinWasmJsTargetDsl.kt | JetBrains | 3,432,266 | false | null | /*
* 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.gradle.targets.js.dsl
import org.gradle.api.Action
import org.jetbrains.kotlin.g... | 184 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 992 | kotlin | Apache License 2.0 |
src/main/kotlin/eZmaxApi/models/EzsignformfieldgroupMinusEditObjectMinusV1MinusRequest.kt | eZmaxinc | 271,950,932 | false | null | /**
* eZmax API Definition
*
* This API expose all the functionnalities for the eZmax and eZsign applications.
*
* The version of the OpenAPI document: 1.1.6
* Contact: <EMAIL>
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manual... | 0 | Kotlin | 0 | 0 | fad1a7a8b3f744256968e67e5f60044063cb551c | 881 | eZmax-SDK-kotlin | MIT License |
app/src/main/java/com/someh/setting/SettingApplication.kt | someh2705 | 577,818,718 | false | {"Kotlin": 22555} | package com.someh.setting
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
internal class SettingApplication : Application()
| 0 | Kotlin | 0 | 0 | d68cd9b2241d70fbe93b8e403939f92c9f3ae112 | 167 | Setting | MIT License |
src/main/kotlin/fortos/model/step/Step.kt | joaolrpaulo | 342,657,575 | false | null | package fortos.model.step
import com.fasterxml.jackson.annotation.JsonSubTypes
import com.fasterxml.jackson.annotation.JsonTypeInfo
import fortos.model.constants.WorkloadConstants
import fortos.model.step.action.LogStep
import fortos.model.step.action.RabbitMQStep
import fortos.model.step.timer.ConstantTimerStep
impor... | 0 | Kotlin | 0 | 1 | 9ac926ab630b6d4528a085a50917f35e520ab3d5 | 1,013 | fortos | Apache License 2.0 |
app/src/main/java/com/smartcity/petsservices/ui/fragment/EditProfileFragment.kt | emmavdc | 311,458,583 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 31, "XML": 37, "Java": 1} | package com.smartcity.petsservices.ui.fragment
import android.content.Context
import android.content.SharedPreferences
import android.os.AsyncTask
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.util.Patterns
import android.view.LayoutInflater
import android.view.Vi... | 1 | null | 1 | 1 | d7aa86d61d15fd7511ce3f5eda04c9faa31f3a50 | 32,396 | smart-city-android | MIT License |
app/src/main/java/com/upm/ard/domain/model/AppConfigModel.kt | huyenph | 527,400,685 | false | null | package com.upm.ard.domain.model
enum class AppConfigType { DEFAULT, LANGUAGE, THEME }
enum class AppThemingType { LIGHT, DARK }
data class AppConfigModel(
var language: LanguageModel = LanguageModel(),
var appThemingType: AppThemingType = AppThemingType.LIGHT,
var configType: AppConfigType = AppConfigTy... | 0 | Kotlin | 0 | 0 | 9fbf0575de509ac77b618f34fb37260b4a3474a3 | 499 | ARD | MIT License |
app/src/main/java/com/persival/k_lory/data/food_facts/model/FoodSearchCriteria.kt | persival001 | 762,632,257 | false | {"Kotlin": 46504} | package com.persival.k_lory.data.food_facts.model
import com.google.gson.annotations.SerializedName
data class FoodSearchCriteria(
@field:SerializedName("pageNumber")
val pageNumber: Int? = null,
@field:SerializedName("generalSearchInput")
val generalSearchInput: String? = null,
@field:Serializ... | 0 | Kotlin | 1 | 1 | 4475147567ea65346f29745b0789d71e0734562b | 623 | K-Lory | MIT License |
app/src/main/java/com/persival/k_lory/data/food_facts/model/FoodSearchCriteria.kt | persival001 | 762,632,257 | false | {"Kotlin": 46504} | package com.persival.k_lory.data.food_facts.model
import com.google.gson.annotations.SerializedName
data class FoodSearchCriteria(
@field:SerializedName("pageNumber")
val pageNumber: Int? = null,
@field:SerializedName("generalSearchInput")
val generalSearchInput: String? = null,
@field:Serializ... | 0 | Kotlin | 1 | 1 | 4475147567ea65346f29745b0789d71e0734562b | 623 | K-Lory | MIT License |
project/app/src/test/java/com/nexte/nexte/RankingScene/RankingModelTest.kt | fga-gpp-mds | 124,143,396 | false | null | package com.nexte.nexte.RankingScene
import com.nexte.nexte.Entities.User.User
import org.junit.After
import org.junit.Before
import java.util.*
import org.junit.Assert.*
import org.junit.Test
class RankingModelTest {
@Before
fun setUp() {
}
@Test
fun successRequest(){
//prepare //call... | 10 | null | 4 | 9 | b603be5a55de445349805b319275c965fe4a3a92 | 7,063 | 2018.1_Nexte | MIT License |
integration-test/src/main/kotlin/pt/pak3nuh/hollywood/sandbox/actor/ClinicActor.kt | pak3nuh | 235,452,507 | false | null | package pt.pak3nuh.hollywood.sandbox.actor
import kotlinx.coroutines.CompletableJob
import kotlinx.coroutines.Job
import pt.pak3nuh.hollywood.actor.proxy.ActorProxyBase
import pt.pak3nuh.hollywood.actor.proxy.ProxyConfiguration
import pt.pak3nuh.hollywood.processor.Actor
import pt.pak3nuh.hollywood.sandbox.Loggers
imp... | 4 | Kotlin | 1 | 3 | 020c51308e67553335a8be9297a56b14bb71a284 | 4,910 | hollywood | MIT License |
glance/glance/src/androidMain/kotlin/androidx/glance/unit/Dp.kt | JetBrains | 351,708,598 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 6 | null | 16 | 55 | 4027dce3c6ea1ababebac683cbfdbbe3cafbefba | 3,378 | androidx | Apache License 2.0 |
zircon.core/src/jvmTest/kotlin/org/hexworks/zircon/api/builder/component/TextAreaBuilderTest.kt | Hexworks | 94,116,947 | false | null | package org.hexworks.zircon.api.builder.component
import org.hexworks.zircon.api.component.TextArea
import org.junit.Before
class TextAreaBuilderTest : ComponentBuilderTest<TextArea, TextAreaBuilder>() {
override lateinit var target: TextAreaBuilder
@Before
override fun setUp() {
target = TextAr... | 42 | null | 138 | 735 | 9eeabb2b30e493189c9931f40d48bae877cf3554 | 351 | zircon | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/inspectionsLocal/unusedSymbol/usedEnumFunctionWithNestedEnum2.kt | ingokegel | 72,937,917 | true | null | // COMPILER_ARGUMENTS: -XXLanguage:+EnumEntries -opt-in=kotlin.ExperimentalStdlibApi
// WITH_STDLIB
// PROBLEM: none
class Wrapper {
class Wrapper2 {
enum class MyEnum {
<caret>Bar, Baz;
}
}
}
fun main() {
Wrapper.Wrapper2.MyEnum.entries
}
| 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 281 | intellij-community | Apache License 2.0 |
src/main/kotlin/cyou/geek66/library/filter/web/EntityFiltersMapping.kt | orange-guo | 503,223,881 | false | {"Kotlin": 31708} | package cyou.geek66.library.filter.web
import cyou.geek66.library.filter.core.CombineMode
@MustBeDocumented
@Target(AnnotationTarget.VALUE_PARAMETER)
@Retention(AnnotationRetention.RUNTIME)
annotation class EntityFiltersMapping(
val filtersName: String = "",
val filtersIsRequired: Boolean = false,
val combineMo... | 1 | Kotlin | 0 | 1 | 45d02efe31032960c1abc76387a2c7ccbcda0c97 | 399 | entity-filter | Apache License 2.0 |
common/src/main/java/com/hujun/common/http/RetrofitManager.kt | Hujunjob | 249,903,978 | false | null | package com.hujun.common.http
/**
* Created by junhu on 2020/3/26
*/
class RetrofitManager {
} | 1 | null | 1 | 1 | c8453aa2d52456b814290dbcf330dcca689949e9 | 97 | AndroidModulize | MIT License |
ahp/src/main/kotlin/pl/poznan/put/ahp/AhpCli.kt | Azbesciak | 140,010,837 | false | {"Kotlin": 93061, "R": 67629, "Shell": 24899, "Groovy": 24559} | package pl.poznan.put.ahp
import pl.poznan.put.xmcda.XmcdaLoaderBase
object AhpCli {
@Throws(Exception::class)
@JvmStatic
fun main(args: Array<String>) {
XmcdaLoaderBase.load(args, AhpCliXMCDAv2::main, AhpCliXMCDAv3::main)
}
} | 0 | Kotlin | 2 | 1 | 96c182d7e37b41207dc2da6eac9f9b82bd62d6d7 | 252 | DecisionDeck | MIT License |
app/src/main/java/com/fajaradisetyawan/movieku/feature/ui/detail/people/allPeople/tv/viewmodel/AllCastTvViewModel.kt | FajarAdiSetyawan | 578,452,658 | false | {"Kotlin": 822443} | /*
* Created by <NAME> on 13/1/2023 - 10:17:45
* <EMAIL>
* Copyright (c) 2023.
*/
package com.fajaradisetyawan.movieku.feature.ui.detail.people.allPeople.tv.viewmodel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.switchMap
import androidx.lifecycle.viewMod... | 0 | Kotlin | 0 | 3 | 53b7b5fa48fb09daf1b363b3445f98a88cec6055 | 1,003 | MovieKu | MIT License |
src/main/kotlin/me/geek/reward/menu/Menu.kt | liaojinmin | 546,730,991 | false | null | package me.geek.reward.menu
import me.geek.GeekRewardPlus
import me.geek.GeekRewardPlus.debug
import me.geek.reward.menu.sub.Icon
import me.geek.reward.menu.sub.Micon
import me.geek.reward.menu.sub.Msession
import me.geek.reward.menu.sub.Session
import me.geek.reward.modules.ModulesManage
import me.geek.reward.utils.H... | 1 | Kotlin | 0 | 2 | 4456fe898d11a418ed46fb6751bb531439c2fb94 | 6,419 | GeekRewardPlus | Apache License 2.0 |
commoncomposeui/src/commonMain/kotlin/dev/baseio/slackclone/onboarding/compose/CommonInputUI.kt | oianmol | 528,898,439 | false | {"Kotlin": 752408, "Swift": 113141, "Ruby": 11800, "Shell": 587, "Objective-C": 486, "C": 1} | package dev.baseio.slackclone.onboarding.compose
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.foundation.layout.*
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.ArrowBack
import androidx.compose.runt... | 3 | Kotlin | 21 | 235 | 143f06c11b757641fd3e67809f57dee9f2ffd04b | 4,221 | SlackComposeMultiplatform | Apache License 2.0 |
android/app/src/main/java/com/algorand/android/models/TotalAlgoSupply.kt | AllanMangeni | 412,352,101 | true | {"Kotlin": 1709104} | /*
* Copyright 2019 Algorand, Inc.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, s... | 1 | Kotlin | 0 | 1 | d47f08026fa797ea6474622ce5d1990666a241e9 | 925 | algorand-wallet | Apache License 2.0 |
app/src/main/java/com/sunnyweather/android/bean/PlaceResponse.kt | zml254 | 278,017,936 | false | null | package com.sunnyweather.android.bean
import com.google.gson.annotations.SerializedName
data class Place (val name:String, val location: Location,
@SerializedName("formatted_address") val address:String)
data class PlaceResponse(val status: String, val places: List<Place>)
data class Locat... | 0 | Kotlin | 0 | 0 | 48dbd33992506fd07e87f0cbaf421abd3edfddd9 | 358 | SunnyWeather | Apache License 2.0 |
src/main/kotlin/com/google/shinyay/controller/ConfigClient.kt | shinyay | 279,988,599 | false | null | package com.google.shinyay.controller
import org.springframework.beans.factory.annotation.Value
import org.springframework.cloud.client.discovery.EnableDiscoveryClient
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.RestController
@RestController
@EnableDiscove... | 0 | Kotlin | 0 | 0 | d4c73995578995ed28d068a083ad9eed2a0ac313 | 558 | spring-cloud-config-client-gs | MIT License |
godot-kotlin/godot-library/src/nativePublic/kotlin/godot/extensions.kt | utopia-rise | 238,721,773 | false | {"Kotlin": 655494, "Shell": 171} | package godot
import godot.core.NodePath
import godot.core.Signal
import godot.core.VariantArray
import godot.core.camelToSnakeCase
import kotlin.reflect.KFunction
@Suppress("NOTHING_TO_INLINE", "UNCHECKED_CAST")
inline fun <T : Node> Node.getNode(path: String) = getNode(NodePath(path)) as T
inline fun <reified T : ... | 17 | Kotlin | 17 | 286 | 8d51f614df62a97f16e800e6635ea39e7eb1fd62 | 1,443 | godot-kotlin-native | MIT License |
compiler-utils/src/main/java/com/squareup/anvil/compiler/internal/reference/AnnotationArgumentReference.kt | square | 271,357,426 | false | null | package com.squareup.anvil.compiler.internal.reference
import com.squareup.anvil.annotations.ExperimentalAnvilApi
import com.squareup.anvil.compiler.internal.argumentType
import com.squareup.anvil.compiler.internal.classDescriptor
import com.squareup.anvil.compiler.internal.reference.AnnotationArgumentReference.Descri... | 10 | Kotlin | 44 | 837 | 23e1637bfa1b01e9f96c01235f9102ac82112527 | 4,828 | anvil | Apache License 2.0 |
src/main/kotlin/com/securecompany/authmn/config/AppSecurityConfigs.kt | guser9822 | 551,352,348 | false | null | package com.securecompany.authmn.config
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.security.config.web.server.ServerHttpSecurity
import org.springframework.security.web.server.SecurityWebFilterChain
@Configuration
class App... | 0 | Kotlin | 0 | 0 | f001615eea3901a90ba73c9ce409c0eae91150cc | 633 | authmn | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/Screens/DetailScreen.kt | Aris-ngoy | 342,541,618 | false | {"Kotlin": 17994} | package com.example.androiddevchallenge.Screens
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.height
import androidx.compose.material.*
import androidx.compose.material.icons... | 0 | Kotlin | 0 | 0 | 273c2ec1438c52a69b8f4ef59f5d12f50ad75b11 | 1,743 | puppyAdoptionApp | Apache License 2.0 |
src/main/kotlin/kura/utils/BackgroundJob.kt | dyzjct | 570,597,758 | false | null | package kura.utils
import kotlinx.coroutines.CoroutineScope
class BackgroundJob(
val name: String,
val delay: Long,
val block: suspend CoroutineScope.() -> Unit
) {
override fun equals(other: Any?) = this === other
|| (other is BackgroundJob
&& name == other.name
&... | 0 | null | 2 | 6 | 0b2e9fb04624e79bf9d91591b7658b6bb467c15e | 417 | Kura-Public | MIT License |
viewmodel/src/main/java/com/frogobox/viewmodel/utils/Constant.kt | amirisback | 372,682,565 | false | null | package com.frogobox.viewmodel.utils
/*
* Created by faisalamir on 26/06/21
* Playground
* -----------------------------------------
* Name : Muhammad Faisal Amir
* E-mail : faisalamircs@gmail.com
* Github : github.com/amirisback
* -----------------------------------------
* Copyright (C) 2021 FrogoBox... | 0 | Kotlin | 0 | 5 | 15bfc0e3d2db24425da804482a5de9eff7e00b19 | 453 | caravan-android | Apache License 2.0 |
fluxo-kmp-conf/src/main/kotlin/fluxo/conf/impl/android/SetupAndroidDependencies.kt | fluxo-kt | 705,309,218 | false | null | package fluxo.conf.impl.android
import fluxo.conf.impl.androidTestImplementation
import fluxo.conf.impl.compileOnlyWithConstraint
import fluxo.conf.impl.debugCompileOnly
import fluxo.conf.impl.debugImplementation
import fluxo.conf.impl.exclude
import fluxo.conf.impl.implementation
import fluxo.conf.impl.kotlin
import ... | 3 | null | 0 | 4 | 539d04c7c034f36d3ad29eba9ae85ba721ea0233 | 5,289 | fluxo-kmp-conf | Apache License 2.0 |
app/src/main/java/com/dolphin/traverse/MainActivity.kt | oWen0019 | 350,608,414 | false | null | package com.dolphin.traverse
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.navigation.NavController
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupActionBarWithNavController
import com.dolphin.traverse.databinding.ActivityMainBinding
im... | 0 | Kotlin | 0 | 1 | c7d8b23aa36a41bab76ee6840bb549ab796b4715 | 1,065 | TraverseSurvey | Apache License 2.0 |
bob/src/main/kotlin/Bob.kt | rdugue | 93,720,097 | false | null | package Bob
fun hey(phrase: String): String {
val answers = listOf("Sure.", "Whoa, chill out!", "Fine. Be that way!", "Whatever.")
fun isQuestion() = phrase.last().equals('?') ?: false
fun isAllNumbers(): Boolean {
var result = true
var strip = phrase
.replace(" ", "")
... | 0 | Kotlin | 0 | 0 | a40d5851ca8c4e1596d6ce5145bb52bbd54fb66e | 1,000 | kotlin-practice | Apache License 2.0 |
src/main/kotlin/co/mercenary/creators/kotlin/util/math/IMatrix.kt | mercenary-creators | 193,142,947 | false | null | /*
* Copyright (c) 2021, Mercenary Creators Company. 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | 0 | Kotlin | 0 | 0 | ed38450a1a189230b999eebbb641b1f782589318 | 1,265 | mercenary-creators-kotlin-util | Apache License 2.0 |
stream-chat-android-compose-sample/src/main/java/io/getstream/chat/android/compose/sample/ui/channel/GroupChannelInfoActivity.kt | GetStream | 177,873,527 | false | {"Kotlin": 8578375, "MDX": 2150736, "Java": 271477, "JavaScript": 6737, "Shell": 5229} | /*
* Copyright (c) 2014-2024 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-chat-android/blob/main/LICENSE
*
* Unless required by a... | 24 | Kotlin | 273 | 1,451 | 8e46f46a68810d8086c48a88f0fff29faa2629eb | 6,429 | stream-chat-android | FSF All Permissive License |
app/src/main/java/com/oceanknight/moneyinmyaccount/ui/MimaAppState.kt | Zouyupeng | 617,873,653 | false | null | package com.oceanknight.moneyinmyaccount.ui
import androidx.compose.material3.windowsizeclass.WindowSizeClass
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.navigation.NavController
import androidx.navigation.NavDestination
import androidx.navigation.NavHostControll... | 0 | Kotlin | 0 | 0 | 300cf7dc88bb40b8e305ea461e3029df09364e3e | 1,765 | MoneyInMyAccount | MIT License |
Android/ghvzApp/app/src/main/java/com/app/playhvz/firebase/viewmodels/MissionListViewModel.kt | google | 95,704,578 | false | null | /*
* Copyright 2020 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 37 | null | 30 | 24 | 9e02fb706af61a336bda852f467a35f49bdcfec7 | 11,940 | playhvz | Apache License 2.0 |
app/src/main/kotlin/tech/hombre/bluetoothchatter/data/database/MessagesDao.kt | HombreTech | 470,059,579 | false | {"Kotlin": 476861} | package tech.hombre.bluetoothchatter.data.database
import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.Query
import tech.hombre.bluetoothchatter.data.entity.ChatMessage
import androidx.room.Update
import tech.hombre.bluetoothchatter.data.entity.MessageFile
@Dao
interf... | 1 | Kotlin | 0 | 1 | 772d1d260a471ff2b4221a96c365d58ea05ef10f | 2,447 | BluetoothChat | Apache License 2.0 |
base/src/test/java/com/gart/base/service/GithubServiceTest.kt | NalediMadlopha | 160,356,437 | false | null | package com.gart.base.service
import com.gart.base.repository.GartRepository
import com.google.gson.JsonObject
import com.google.gson.JsonParser
import okhttp3.MediaType
import okhttp3.ResponseBody
import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue
import org.junit.Before
import org.junit.Test
impo... | 3 | Kotlin | 0 | 0 | c4553137e7a5e5ee3ed673096ba8a40a480ff77c | 3,166 | gart | MIT License |
app/src/main/java/com/hsjiang/composetest/data/source/ArticleRemoteDatasource.kt | hsjiang | 469,665,820 | false | null | package com.hsjiang.composetest.data.source
import android.content.Context
import com.hsjiang.composetest.api.WorkApi
import com.hsjiang.composetest.data.model.Article
import com.hsjiang.library.di.IoDispatcher
import com.hsjiang.library.result.Result
import dagger.hilt.android.qualifiers.ApplicationContext
import kot... | 0 | Kotlin | 0 | 0 | d2bdd26163cd126707ab1fe799d5b3fb430b6f67 | 865 | ComposeTest | Apache License 2.0 |
tests/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Read.kt | Kotlin | 259,256,617 | false | null | package org.jetbrains.kotlinx.dataframe.samples.api
import io.kotest.matchers.shouldBe
import org.jetbrains.kotlinx.dataframe.DataFrame
import org.jetbrains.kotlinx.dataframe.DataRow
import org.jetbrains.kotlinx.dataframe.api.Infer
import org.jetbrains.kotlinx.dataframe.api.ParserOptions
import org.jetbrains.kotlinx.d... | 24 | Kotlin | 8 | 263 | a746109516c0ad13583ccf2365325e910a39ec1c | 2,552 | dataframe | Apache License 2.0 |
mage/src/main/java/mil/nga/giat/mage/data/datasource/settings/SettingsLocalDataSource.kt | ngageoint | 42,333,816 | false | {"Kotlin": 1234658, "Java": 240732} | package mil.nga.giat.mage.data.datasource.settings
import mil.nga.giat.mage.database.dao.settings.SettingsDao
import mil.nga.giat.mage.database.model.settings.Settings
import javax.inject.Inject
class SettingsLocalDataSource @Inject constructor(
private val dao: SettingsDao
) {
fun upsert(settings: Settings) = ... | 5 | Kotlin | 21 | 39 | 81f71093b498692d99d350c702ea35a583930c68 | 451 | mage-android | Apache License 2.0 |
src/main/kotlin/main.kt | krzema12 | 232,173,261 | false | null | fun main() {
console.log("Hello, world!")
} | 0 | null | 0 | 2 | 5e8c83205e288a4ea3806689127deb6b61b08164 | 47 | kotlin-userscript-template | MIT License |
unrealengine/src/main/kotlin/dev/dexsr/gmod/palworld/trainer/ue/gvas/IntPropertyParse.kt | flammky | 758,310,188 | false | {"Kotlin": 1491891} | package dev.dexsr.gmod.palworld.trainer.ue.gvas
import dev.dexsr.gmod.palworld.trainer.ue.util.cast
import kotlinx.serialization.json.JsonElement
import kotlinx.serialization.json.JsonNull
import kotlinx.serialization.json.JsonPrimitive
import kotlinx.serialization.json.int
import kotlinx.serialization.json.jsonObject... | 0 | Kotlin | 0 | 4 | cd07163868b5ee8d3f46d106d467d211b8f3c5d8 | 759 | PalToolbox | Apache License 2.0 |
src/main/kotlin/ru/krindra/vknorthtypes/users/UsersSearchResponse.kt | kravandir | 745,597,090 | false | {"Kotlin": 633233} | package ru.krindra.vknorthtypes.users
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable()
data class UsersSearchRawResponse (
@SerialName("count") val count: Int,
@SerialName("items") val items: List<UsersUserFull>,
)
@Serializable()
data class UsersSearchRespons... | 0 | Kotlin | 0 | 0 | 508d2d1d59c4606a99af60b924c6509cfec6ef6c | 368 | VkNorthTypes | MIT License |
plugin-build/plugin/src/main/java/com/qifan/zeplin/gradle/internal/okhttp/Download.kt | underwindfall | 487,786,103 | false | null | /**
* Copyright (C) 2022 by <NAME> (@underwindfall)
*
* 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 applicab... | 2 | Kotlin | 0 | 22 | 5569e9cfd95ede549171be9af36e0bde2518bda6 | 4,293 | zeplin-asset-download-gradle | Apache License 2.0 |
app/src/main/java/com/example/tvmazeshowsapp/ui/repositories/TvMazeRepository.kt | codewithavish | 701,493,563 | false | {"Kotlin": 9365} | package com.example.tvmazeshowsapp.ui.repositories
import com.example.tvmazeshowsapp.ui.models.TvMazeResponse
import com.example.tvmazeshowsapp.ui.network.TvMazeApi
import com.example.tvmazeshowsapp.ui.utils.DataWrapper
import com.google.gson.JsonParseException
import java.io.IOException
import javax.inject.Inject
cl... | 0 | Kotlin | 0 | 0 | 7d37991111a67fbacf12210705b4d0dc4e3d512d | 1,256 | TvMazeShowsApp | MIT License |
projects/integration/src/main/kotlin/marloth/integration/generation/Types.kt | silentorb | 188,621,122 | false | {"Kotlin": 862571, "Python": 32172, "SuperCollider": 5214, "Faust": 528} | package marloth.integration.generation
import generation.architecture.engine.GenerationConfig
import silentorb.mythic.ent.IdSource
import silentorb.mythic.randomly.Dice
import simulation.main.NewHand
data class DistributionConfig(
val cellCount: Int,
val level: Int,
val dice: Dice,
)
typealias SlotSelect... | 0 | Kotlin | 0 | 0 | 03a1e2c082343ee3d64c8d1ffadad156fca6f9e1 | 597 | marloth-kotlin | MIT License |
gcloud-storage-utils/src/main/java/com/evolveasia/gCloudStorageUtils/Constants.kt | nawinkhatiwada | 395,263,679 | false | null | package com.evolveasia.gCloudStorageUtils
import okhttp3.MediaType
import okhttp3.MediaType.Companion.toMediaTypeOrNull
object Constants {
const val BASE_URL = "https://www.googleapis.com/"
val TYPE_JSON = "application/json; charset=UTF-8".toMediaTypeOrNull()
const val DEFAULT_IMAGE_WIDTH = 500
const... | 0 | Kotlin | 0 | 1 | 5d7944360dfe5bc5f47e0f4b4ee210e0db274a90 | 355 | CloudStorageUtil | Apache License 2.0 |
Android/app/src/main/java/ru/alexskvortsov/policlinic/presentation/navigation/Screens.kt | AlexSkvor | 244,438,301 | false | null | package ru.alexskvortsov.policlinic.presentation.navigation
import ru.alexskvortsov.policlinic.R
class Screens {
object AuthScreen : BundleScreen() {
override val screenId: Int
get() = R.id.authorizationFragment
}
object PatientScreen : BundleScreen() {
override val screenId: ... | 0 | Kotlin | 0 | 0 | 5cc6a10a1399ee08643e69308afd4626938882b0 | 788 | polyclinic | Apache License 2.0 |
vico/core/src/main/java/com/patrykandpatrick/vico/core/cartesian/data/CartesianChartModel.kt | patrykandpatrick | 338,848,755 | false | {"Kotlin": 680666, "CSS": 166} | /*
* Copyright 2024 by <NAME> and <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 9 | Kotlin | 95 | 2,132 | 7066e4bf88cdd1e4c57e1ab03d10354e5f640928 | 3,240 | vico | Apache License 2.0 |
azure-communication-ui/chat/src/main/java/com/azure/android/communication/ui/chat/service/sdk/wrapper/ChatEventTypeWrapper.kt | Azure | 429,521,705 | false | {"Kotlin": 2713288, "Java": 192826, "Shell": 3964, "HTML": 1856} | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.android.communication.ui.chat.service.sdk.wrapper
internal enum class ChatEventType {
CHAT_MESSAGE_RECEIVED,
CHAT_MESSAGE_EDITED,
CHAT_MESSAGE_DELETED,
TYPING_INDICATOR_RECEIVED,
READ_... | 7 | Kotlin | 28 | 24 | d7e46c6063e8e9d3ed548acff2465b5d0f57b1b2 | 3,391 | communication-ui-library-android | MIT License |
butterfly-compose/src/main/java/zlc/season/butterfly/compose/launcher/ComposeBasicLauncher.kt | ssseasonnn | 452,103,571 | false | {"Kotlin": 108624} | package zlc.season.butterfly.compose.launcher
import android.view.ViewGroup.LayoutParams
import android.view.ViewGroup.LayoutParams.MATCH_PARENT
import androidx.activity.ComponentActivity
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.ui.platform.ComposeView
import androidx.lifecycle.... | 5 | Kotlin | 16 | 215 | 42475a7a4387c6bf0b9fbf5214bc5302d894fa7a | 2,828 | Butterfly | Apache License 2.0 |
app/src/main/java/com/fsh/android/wanandroidmvvm/module/search/model/dao/SearchHistoryDao.kt | fshsoft | 506,052,730 | false | {"Kotlin": 370644} | package com.fsh.android.wanandroidmvvm.module.search.model.dao
import androidx.room.*
import com.fsh.android.wanandroidmvvm.module.search.model.bean.SearchHistory
/**
* Created with Android Studio.
* Description:
*/
@Dao
interface SearchHistoryDao {
@Transaction
@Query("SELECT * FROM searchhistory")
s... | 0 | Kotlin | 0 | 1 | 820418b44745e38e422f35d290754d2d330e24a1 | 900 | WanAndroidMVVM | Apache License 2.0 |
client/android/div/src/main/java/com/yandex/div/core/view2/divs/gallery/DivGalleryItemHelper.kt | divkit | 523,491,444 | false | {"Kotlin": 7327303, "Swift": 5164616, "Svelte": 1148832, "TypeScript": 912803, "Dart": 630920, "Python": 536031, "Java": 507940, "JavaScript": 152546, "CSS": 37870, "HTML": 23434, "C++": 20911, "CMake": 18677, "Shell": 8895, "PEG.js": 7210, "Ruby": 3723, "C": 1425, "Objective-C": 38} | package com.yandex.div.core.view2.divs.gallery
import android.view.View
import android.view.View.MeasureSpec
import android.view.ViewGroup
import androidx.core.view.children
import androidx.core.view.forEach
import androidx.core.view.marginStart
import androidx.recyclerview.widget.OrientationHelper
import androidx.rec... | 7 | Kotlin | 128 | 2,240 | dd102394ed7b240ace9eaef9228567f98e54d9cf | 11,411 | divkit | Apache License 2.0 |
src/main/kotlin/com/arrangeimages/setorderserver/exceptions/SmallestListIsZeroException.kt | DesignedByQ | 843,268,479 | false | {"Kotlin": 12802, "Dockerfile": 722} | package com.arrangeimages.setorderserver.exceptions
class SmallestListIsZeroException(message: String): RuntimeException(message) {
} | 0 | Kotlin | 0 | 0 | afafa6ed0220029c7e7e743b0f10e1d912fe0d5e | 134 | kingmakersetorderserver | MIT License |
todolist-restapi/src/main/kotlin/com/psquare/todolist/services/TodoServiceImpl.kt | PareshP2507 | 383,694,070 | false | null | package com.psquare.todolist.services
import com.psquare.todolist.dao.TodoItem
import com.psquare.todolist.dao.UserEntity
import com.psquare.todolist.repositories.TodoRepository
class TodoServiceImpl(private val todoRepository: TodoRepository) : TodoService {
override suspend fun getAll(user: UserEntity): List<T... | 0 | Kotlin | 0 | 1 | 5406037ce48aeb5ab1cde82c7f12e632938300d7 | 859 | rest-api-with-ktor | Apache License 2.0 |
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/DiffPreview.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vcs.changes
import com.intellij.openapi.actionSystem.AnActionEvent
interface DiffPreview {
fun updateAvailability(event: AnActio... | 191 | null | 4372 | 13,319 | 4d19d247824d8005662f7bd0c03f88ae81d5364b | 473 | intellij-community | Apache License 2.0 |
DoodleMaze/app/src/main/java/com/doomteam/doodlemaze/CreateMaze.kt | ejdea | 274,464,646 | false | {"Java": 1720629, "C#": 914087, "HLSL": 308003, "ShaderLab": 213534, "Python": 52819, "Kotlin": 36971} | package com.doomteam.doodlemaze
import android.Manifest
import android.app.Activity
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.*
import android.media.ThumbnailUtils
import android.net.Uri
import android.os.Bundle
import android.provider.MediaStore
import android.util... | 1 | null | 1 | 1 | 003a631ebafde30d5dd74099e9b73ab0801e7034 | 18,703 | ProjectDoom | MIT License |
plugins/ide-features-trainer/src/training/dsl/TaskTextProperties.kt | ingokegel | 72,937,917 | true | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package training.dsl
data class TaskTextProperties(val spaceAbove: Int, val spaceBelow: Int) | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 252 | intellij-community | Apache License 2.0 |
src/serverMain/kotlin/mce/cli/Build.kt | mcenv | 435,848,712 | false | null | package mce.cli
import kotlinx.cli.ExperimentalCli
import kotlinx.cli.Subcommand
import kotlinx.coroutines.runBlocking
import mce.pass.Config
import mce.server.Server
@ExperimentalCli
object Build : Subcommand("build", "Build pack") {
override fun execute(): Unit = runBlocking {
Server(Config).build()
... | 79 | Kotlin | 0 | 15 | f63905729320733d3cae95c3b51b492e94339fca | 325 | mce | MIT License |
1.9.0主要代码/pl.kt | UWillno | 416,359,369 | false | null | package com.uuuuu.uwzz
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import com.uuuuu.uwzz.databinding.ActivityPlBinding
class pl : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
val binding = ActivityPlBinding.inflate(la... | 0 | Kotlin | 0 | 4 | 20b3c5ef459d3cca1825cf0f990d5b9faf04bbd7 | 795 | uwzz | MIT License |
compiler/testData/diagnostics/tests/when/whenWithNothingAndLambdas.kt | JetBrains | 3,432,266 | false | null | // !WITH_NEW_INFERENCE
// NI_EXPECTED_FILE
/*
* KOTLIN DIAGNOSTICS SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-152
* PRIMARY LINKS: expressions, when-expression -> paragraph 2 -> sentence 1
* expressions, when-expression, exhaustive-when-expressions -> paragraph 2 -> sentence 1
* declarations, function-declaration... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,484 | kotlin | Apache License 2.0 |
lovebird-api/src/main/kotlin/com/lovebird/api/dto/response/calendar/CalendarDetailResponse.kt | wooda-ege | 722,352,043 | false | null | package com.lovebird.api.dto.response.calendar
import com.lovebird.domain.entity.Calendar
import java.time.LocalDate
import java.time.LocalTime
data class CalendarDetailResponse(
val id: Long,
val userId: Long,
val title: String,
val memo: String? = null,
val color: String,
val alarm: String,
val startDate: Lo... | 3 | null | 0 | 9 | c8b1bbcd0eb7e4f8f4ea464e114db76c9c8f1905 | 783 | lovebird-server | MIT License |
app/src/main/java/id/kotlin/reactive/mvi/presentation/feature/home/HomeAdapter.kt | budioktaviyan | 139,346,294 | false | {"Kotlin": 15475} | package id.kotlin.reactive.mvi.presentation.feature.home
import android.support.v7.widget.RecyclerView.Adapter
import android.support.v7.widget.RecyclerView.ViewHolder
import android.view.View
import android.view.ViewGroup
import id.kotlin.reactive.mvi.R
import id.kotlin.reactive.mvi.data.repository.remote.Sport
impor... | 0 | Kotlin | 0 | 1 | 972426c5e343048c6006426e204fcd5e5f784165 | 1,432 | mvi-reactive-sample | Apache License 2.0 |
mybatis-flex-kotlin-codegen/src/test/kotlin/entity/InitClass.kt | KAMO030 | 678,726,164 | false | {"Kotlin": 271220, "Smarty": 4372, "Java": 218} | package entity
import kotlin.math.abs
class InitClass {
var id: Int = -114514
get() = abs(field)
set(value) {
require(value > 0) {
"id must be greater than 0"
}
println("setter")
field = value
}
fun fn() = id
compani... | 0 | Kotlin | 4 | 27 | 11e692587e25d49fdfe64e73fc99f47ef5fa23a1 | 446 | MyBatis-Flex-Kotlin | Apache License 2.0 |
app/src/main/java/com/vitoraguiardf/bobinabanking/ui/adapters/TransactionAdapterRecycler.kt | vitoraguiardf | 821,388,218 | false | {"Kotlin": 91118} | package com.vitoraguiardf.bobinabanking.ui.adapters
import android.annotation.SuppressLint
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import com.vitoraguiardf.bobinabanking.R
import com.vitoraguiardf.bobinabanking.data.entity.CoilTransactionFull
import com.vitoragui... | 0 | Kotlin | 0 | 1 | f14a8a2f096e0cd907d46010cdcd3d505e0798f2 | 2,051 | bobina-banking-mobile | MIT License |
app/src/main/java/com/bikcode/rickandmortycompose/presentation/components/Search.kt | Bikcodeh | 412,662,765 | false | {"Kotlin": 120155} | package com.bikcode.rickandmortycompose.presentation.components
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Icon
import androidx.compose.material.OutlinedTextField
import androidx.compose.material.Surface
import androidx.comp... | 0 | Kotlin | 1 | 0 | 65f77b49df3ed70b7469dc69deaed8bc56fdef9a | 1,819 | RickAndMortyCompose | MIT License |
sample/src/main/java/com/github/panpf/assemblyadapter/sample/item/pager/LoadStatePagerItemFactory.kt | panpf | 42,781,599 | false | null | /*
* Copyright (C) 2021 panpf <<EMAIL>>
*
* 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... | 0 | Kotlin | 33 | 169 | 00cf02eb1b2be82685a2997d5473579246e256c8 | 1,685 | assembly-adapter | Apache License 2.0 |
spannabletext/src/main/java/com/ebmobile/spannabletext/data/SpannableTextData.kt | enesb08 | 787,300,150 | false | {"Kotlin": 17400} | package com.ebmobile.spannabletext.data
import androidx.compose.ui.text.AnnotatedString
import androidx.compose.ui.text.TextStyle
data class SpannableTextData(
val text: String,
val tag: String? = null,
val annotation: String? = null,
val isHaveUnderLine: Boolean = false,
val spannableTextStyle: T... | 0 | Kotlin | 0 | 0 | 530347fc4e5812fa90fbb20a599a1980bffdacbf | 412 | SpannableText | Apache License 2.0 |
sdk_ads/src/main/java/com/sdk/ads/ads/AdsSDK.kt | ToanMobile | 666,259,115 | false | {"Kotlin": 108157} | package com.sdk.ads.ads
import android.app.Activity
import android.app.Application
import android.os.Bundle
import androidx.lifecycle.DefaultLifecycleObserver
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.ProcessLifecycleOwner
import com.google.android.gms.ads.AdActivity
import com.google.android.... | 0 | Kotlin | 0 | 0 | fe282c0df8b8d936aa71194a9c34203970f6facc | 11,527 | SDKAds | MIT License |
android/app/src/main/java/hu/sztomek/wheresmybuddy/data/api/http/IRemoteApi.kt | sztomek | 126,842,323 | false | null | package hu.sztomek.wheresmybuddy.data.api.http
import hu.sztomek.wheresmybuddy.data.api.http.request.*
import hu.sztomek.wheresmybuddy.data.api.http.response.HandleConnectionRequestResponse
import hu.sztomek.wheresmybuddy.data.api.http.response.SendRequestResponse
import io.reactivex.Completable
import io.reactivex.Si... | 0 | Kotlin | 0 | 1 | 9cf2842a4ad380c9b5d1f6524cf7893c6eb27946 | 1,550 | buddyfinder | Apache License 2.0 |
ethereumkit/src/main/java/io/horizontalsystems/ethereumkit/core/Eip1155Provider.kt | horizontalsystems | 152,531,605 | false | {"Kotlin": 763922, "Java": 38123} | package io.horizontalsystems.ethereumkit.core
import io.horizontalsystems.ethereumkit.api.core.IRpcApiProvider
import io.horizontalsystems.ethereumkit.api.core.NodeApiProvider
import io.horizontalsystems.ethereumkit.api.core.RpcBlockchain
import io.horizontalsystems.ethereumkit.contracts.ContractMethod
import io.horiz... | 9 | Kotlin | 58 | 98 | f4957a971be56ed15719cf640d27e514909be123 | 1,536 | ethereum-kit-android | MIT License |
platform/platform-velocity-impl/src/main/kotlin/taboolib/platform/type/VelocityContainer.kt | TabooLib | 120,413,612 | false | null | package taboolib.platform.type
import com.velocitypowered.api.plugin.PluginContainer
import org.tabooproject.reflex.Reflex.Companion.invokeMethod
import taboolib.common.OpenContainer
import taboolib.common.OpenResult
/**
* TabooLib
* taboolib.platform.type.VelocityOpenContainer
*
* @author sky
* @since 2021/7/3 ... | 9 | null | 96 | 294 | 0a54860dc621969d99d546f34585cfa5519fe98a | 1,094 | taboolib | MIT License |
databinding/src/main/java/org/mobiletoolkit/android/databinding/BindingViewHolder.kt | MobileToolkit | 137,812,501 | false | null | package org.mobiletoolkit.android.databinding
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.lifecycle.LifecycleOwner
import androidx.recyclerview.widget.RecyclerView... | 1 | null | 2 | 1 | 8ccc7ea92ad41c27b25da80533199045ff5dc04c | 1,150 | databinding-android | MIT License |
server/src/main/com/broll/gainea/server/core/cards/impl/play/C_OgreAttack.kt | Rolleander | 253,573,579 | false | {"Gradle": 8, "Shell": 3, "Batchfile": 3, "Text": 5, "Java Properties": 3, "Ignore List": 1, "Markdown": 1, "YAML": 1, "XML": 7, "Java": 182, "Kotlin": 344, "INI": 2, "JSON": 1, "JavaScript": 2, "HTML": 1, "CSS": 1} | package com.broll.gainea.server.core.cards.impl.play
import com.broll.gainea.server.core.cards.Card
import com.broll.gainea.server.core.cards.EffectType.SUMMON
import com.broll.gainea.server.core.objects.monster.Monster
import com.broll.gainea.server.core.objects.monster.MonsterActivity
import com.broll.gainea.server.... | 0 | Kotlin | 0 | 3 | ab47587c08ce2884269653a49c8fd8351cc4349f | 1,431 | Gainea | MIT License |
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/aggregation/utd/EncryptedReferenceAggregationProcessor.kt | tchapgouv | 340,329,238 | false | {"Kotlin": 15929677, "HTML": 68524, "Shell": 57406, "Java": 28010, "Python": 25875, "FreeMarker": 7662, "JavaScript": 6925, "Ruby": 1587} | /*
* Copyright (c) 2022 The Matrix.org Foundation C.I.C.
*
* 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... | 4 | Kotlin | 6 | 9 | 5aa86fe9d36ad8087f289152d5e718fdfad65a2c | 2,234 | tchap-android | Apache License 2.0 |
Chapter17/src/kotlinexamples/ThreadSafeSingleton.kt | PacktPublishing | 164,067,642 | false | {"Text": 1, "Ignore List": 23, "Markdown": 5, "HTML": 2, "XML": 93, "Kotlin": 95, "Java": 18, "Gradle": 8, "INI": 4, "Shell": 3, "Batchfile": 3, "Gradle Kotlin DSL": 3, "Java Properties": 2, "Proguard": 1, "Ruby": 2, "OpenStep Property List": 3, "Swift": 2, "JSON": 2} | package kotlinexamples
object ThreadSafeSingleton {
const val platform = "JVM"
} | 0 | Kotlin | 32 | 51 | 9fd893de74c2546e2059606f4f87e2ddaa9644ea | 85 | Mastering-Kotlin | MIT License |
safeToRunInputValidation/src/main/java/com/safetorun/intents/configurator/safeToRunUrlConfiguration.kt | Safetorun | 274,838,056 | false | {"Kotlin": 315254, "Shell": 228} | package com.safetorun.intents.configurator
import android.annotation.SuppressLint
import android.content.Context
import com.safetorun.intents.exeptions.ConfigurationNotFoundException
import com.safetorun.intents.url.UrlConfigVerifier
import com.safetorun.intents.url.urlVerification
@SuppressLint("StaticFieldLeak")
pr... | 22 | Kotlin | 1 | 37 | bc56dd28a1fecf945a54cd1e74119b696dc2ed8e | 2,753 | safe_to_run | Apache License 2.0 |
android/src/main/java/com/reactnativebackgroundupload/model/ModelNetworkResponse.kt | huynqbibabo | 343,314,897 | false | {"Kotlin": 80054, "Java": 57982, "Objective-C": 23016, "TypeScript": 4802, "JavaScript": 1419, "Ruby": 1035, "C": 103, "Swift": 68} | package com.reactnativebackgroundupload.model
import com.google.gson.annotations.SerializedName
class ModelMetadataResponse {
@SerializedName("status")
var status: String? = null
@SerializedName("message")
var message: String? = null
@SerializedName("data")
var data: VideoMetadata? = null
}
class Video... | 1 | Kotlin | 1 | 1 | e1030bc37a0885720234be7c12d7979d85498ae3 | 894 | react-native-background-upload | MIT License |
app/src/main/java/io/horizontalsystems/bankwallet/entities/AlertNotification.kt | fahimaltinordu | 312,207,740 | false | null | package io.horizontalsystems.bankwallet.entities
class AlertNotification(
val title: String,
val body: String
)
| 0 | Kotlin | 2 | 4 | ec877434f12db879faabcfbd69d8647f8c2eefdc | 129 | waltonchain-wallet-android | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.