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
data/src/main/java/com/movingmaker/data/remote/model/response/ErrorResponse.kt
Comment-Diary
458,682,004
false
null
package com.movingmaker.data.remote.model.response import kotlinx.serialization.Serializable @Serializable data class ErrorResponse( val status: Int? = null, val code: String, val message: String )
7
Kotlin
1
2
cf9f329970d83181c41a6cfc0470cd2712301f6f
211
CommentDiary-AOS
MIT License
SharedCode/src/commonMain/kotlin/common.kt
PaulWoitaschek
275,174,886
true
{"Swift": 4739, "Kotlin": 3740, "Shell": 529}
package com.jetbrains.handson.mpp.mobile import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.emptyFlow import kotlin.random.Random import kotlin.time.Duration expect fun platformName(): String fun createApplicationScreenMessage(): String { return "Kotlin Rocks on ${platformName()}" } fun flow() :...
0
Swift
0
0
0a1fc0fee388dae9deeaf285834d5566621918c9
411
mpp-ios-android
Apache License 2.0
app/src/main/java/it/uniparthenope/studenti/nappogiuseppe003/lunaplidher001/magicpot/ui/resultlistrecipe/ResultListViewModel.kt
PLNSTD
271,840,910
false
null
package it.uniparthenope.studenti.nappogiuseppe003.lunaplidher001.magicpot.ui.resultlistrecipe import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import org.json.JSONArray class ResultListViewModel : ViewModel() { var _text = MutableLiveData<JSONArray...
0
Kotlin
0
0
2138f6f87ca8e6edf5b417b6ba626785cc7754d9
339
MagicPot-App
Apache License 2.0
app/src/main/java/com/dimitrilc/freemediaplayer/ui/viewmodel/FolderItemsViewModel.kt
dmitrilc
443,821,454
false
null
package com.dimitrilc.freemediaplayer.ui.viewmodel import android.graphics.Bitmap import androidx.lifecycle.* import com.dimitrilc.freemediaplayer.domain.mediaitem.GetMediaItemsByLocationUseCase import com.dimitrilc.freemediaplayer.domain.mediastore.GetThumbByUriUseCase import com.dimitrilc.freemediaplayer.domain.work...
15
Kotlin
0
1
dbdc5a2b4f3875fc71f405723ccf1a4a18116110
3,918
FreeMediaPlayer
MIT License
services/csm.cloud.project.api.timeseries/src/main/kotlin/com/bosch/pt/csm/cloud/projectmanagement/project/participant/facade/graphql/ParticipantGraphQlController.kt
boschglobal
805,348,245
false
{"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344}
/* * ************************************************************************ * * Copyright: <NAME> Power Tools GmbH, 2018 - 2023 * * ************************************************************************ */ package com.bosch.pt.csm.cloud.projectmanagement.project.participant.facade.graphql import com....
0
Kotlin
3
9
9f3e7c4b53821bdfc876531727e21961d2a4513d
2,256
bosch-pt-refinemysite-backend
Apache License 2.0
feed/src/main/java/kekmech/ru/feed/model/FeedModelImpl.kt
NuvaltsevAA
249,189,732
true
{"Kotlin": 355287, "Shell": 46}
package kekmech.ru.feed.model import android.content.Context import android.util.Log import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.Transformations import kekmech.ru.core.dto.AcademicSession import kekmech.ru.core.dto.CoupleNative import kekmech.ru.core.dto.FeedC...
0
null
0
0
94bd394725e495a13f818e94f674a5353dd29bcb
3,844
mpeiapp
MIT License
app/src/main/java/com/edufelip/catapp/domain/repository/CatRepository.kt
edufelip
786,418,501
false
{"Kotlin": 37056}
package com.edufelip.catapp.domain.repository import com.edufelip.catapp.domain.model.Cat import kotlinx.coroutines.flow.Flow interface CatRepository { suspend fun getCatList(): Flow<List<Cat>> suspend fun getCatDetail(id: String): Flow<Cat> }
0
Kotlin
0
0
5d89c496e1485b029a20b2c513863460c7c9974b
253
cat-app
MIT License
app/src/main/java/com/oratakashi/covid19/ui/death/DeathViewModel.kt
bangil0
248,717,315
false
{"Kotlin": 41027}
package com.oratakashi.covid19.ui.death import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.oratakashi.covid19.BuildConfig import com.oratakashi.covid19.data.model.death.DataDeath import com.oratakashi.covid19.root.App import io.reactivex.android.schedulers.AndroidSchedulers import...
0
null
0
0
be48303e74a5847e8c0516f9b28ecdc20ee06748
1,498
COVID19_Tracker
Apache License 2.0
plugin/src/main/kotlin/net/bnb1/kradle/support/Registry.kt
mrkuz
400,078,467
false
null
package net.bnb1.kradle.support import kotlin.reflect.KClass open class Registry<T : Any> { private val _map = mutableMapOf<KClass<*>, T>() val map: Map<KClass<*>, T> get() = _map fun register(instance: T): Boolean = _map.putIfAbsent(instance::class, instance) == null @Suppress("UNCHECKED_C...
0
Kotlin
0
1
1caa2a7370107c0feef6d02ced4031c152ff5cd8
471
kradle
MIT License
kzen-auto-jvm/src/main/kotlin/tech/kzen/auto/server/service/v1/LogicHandle.kt
alexoooo
131,353,826
false
{"Kotlin": 1902613, "Java": 163744, "CSS": 5632, "JavaScript": 203}
package tech.kzen.auto.server.service.v1 import tech.kzen.auto.common.paradigm.logic.run.model.LogicRunExecutionId import tech.kzen.lib.common.model.location.ObjectLocation interface LogicHandle { fun start( logicRunExecutionId: LogicRunExecutionId, originalObjectLocation: ObjectLocation ): L...
1
Kotlin
1
1
f38f933f011a200197215c5047fc0aed6436327f
341
kzen-auto
MIT License
elytra-sdk/src/main/kotlin/io/elytra/sdk/command/defaults/GamemodeCommand.kt
WinX64
253,052,856
true
{"Kotlin": 219826, "Python": 2433}
package io.elytra.sdk.command.defaults import io.elytra.api.command.CommandIssuer import io.elytra.api.command.ElytraCommand import io.elytra.api.command.annotations.CommandArgument import io.elytra.api.command.annotations.CommandSpec import io.elytra.api.command.argument.ArgumentList import io.elytra.api.command.argu...
0
Kotlin
0
0
58a6516261697f7a1ca7c1a9457007ffdb4b15b1
1,131
Elytra
MIT License
modules/mpesa/src/commonMain/kotlin/com/github/jeffnyauke/mpesa/logger/LoggerApiImpl.kt
jeffnyauke
803,735,331
false
{"Kotlin": 153700, "Shell": 2903}
/* * Copyright (c) 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 ...
0
Kotlin
0
0
5f89cd5082f2425a2e5c78927b524429b9229f47
938
mpesa-sdk-kotlin
Apache License 2.0
sphinx/activity/main/activitymain/src/main/java/chat/sphinx/activitymain/navigation/navigators/primary/OnBoardNameNavigatorImpl.kt
kevkevinpal
385,406,512
true
{"Kotlin": 1368824, "Java": 357402, "JavaScript": 4745, "Shell": 2453}
package chat.sphinx.activitymain.navigation.navigators.primary import chat.sphinx.activitymain.R import chat.sphinx.activitymain.navigation.drivers.PrimaryNavigationDriver import chat.sphinx.onboard_name.navigation.OnBoardNameNavigator import chat.sphinx.onboard_ready.navigation.ToOnBoardReadyScreen import javax.injec...
0
null
0
0
5a5f316654ada1171270e28bf4d72d96182afd80
673
sphinx-kotlin
MIT License
FoodFusion/app/src/main/java/com/example/foodfusion/activity/CartPage.kt
BabaYaga1221
660,089,518
false
null
package com.example.foodfusion.activity import android.content.Context import android.content.SharedPreferences import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.FrameLayout import android.widget.Toast import androidx.appcompat.widget.Toolbar import androidx.coordinatorlayo...
0
Kotlin
0
2
1b5118e5d68eb58e335330f9b0f958ac9c1e2ca8
1,903
FoodFusion-App
MIT License
src/commonNative/kotlin/core/AgentApi.kt
Drill4J
238,222,649
false
{"C": 144580, "Kotlin": 81938}
/** * Copyright 2020 EPAM Systems * * 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...
0
C
1
4
ca154496a731f9d192e4c3235af0bd111e445248
2,877
agent
Apache License 2.0
solar/src/main/java/com/chiksmedina/solar/outline/electronicdevices/Diskette.kt
CMFerrer
689,442,321
false
{"Kotlin": 36591890}
package com.chiksmedina.solar.outline.electronicdevices 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...
0
Kotlin
0
0
3414a20650d644afac2581ad87a8525971222678
6,538
SolarIconSetAndroid
MIT License
domain/src/main/java/com/ebdz/domain/repository/PeripheralImpl.kt
lupsyn
794,085,285
false
{"Kotlin": 59374}
package com.ebdz.domain.repository import com.ebdz.domain.model.DomainCoordinate import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.delay import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.distinctUntilChanged import kotlinx.coroutines.flow.flatMapLatest import kotlinx.corout...
0
Kotlin
0
0
0bd31dd44701a6600ac3d3230f323e43637886d4
1,825
carv
Apache License 2.0
src/test/kotlin/com/github/kerubistan/kerub/planner/steps/storage/lvm/mirror/MirrorVolumeTest.kt
kerubistan
19,528,622
false
null
package com.github.kerubistan.kerub.planner.steps.storage.lvm.mirror import com.github.kerubistan.kerub.hostUp import com.github.kerubistan.kerub.model.LvmStorageCapability import com.github.kerubistan.kerub.model.dynamic.CompositeStorageDeviceDynamic import com.github.kerubistan.kerub.model.dynamic.VirtualStorageDevi...
109
Kotlin
4
14
99cb43c962da46df7a0beb75f2e0c839c6c50bda
7,680
kerub
Apache License 2.0
app/src/test/java/com/openwallet/ui/activity/fragment/login/model/FirstFactorResponseDataTest.kt
hsbc
742,467,592
false
{"Kotlin": 502702, "Java": 40426}
package com.openwallet.ui.activity.fragment.login.model import junit.framework.TestCase import org.junit.Test import org.junit.runner.RunWith import org.mockito.junit.MockitoJUnitRunner @RunWith(MockitoJUnitRunner::class) class FirstFactorResponseDataTest : TestCase() { public override fun setUp() { super...
0
Kotlin
0
1
b72ac403ce1e38139ab42548967e08e6db347ddd
914
OpenWallet-aOS
Apache License 2.0
api-server/src/main/kotlin/dev/sebastiano/pushbeat/api/ktor/handlers/BeatsListHandler.kt
rock3r
274,074,898
false
null
package dev.sebastiano.pushbeat.api.ktor.handlers import dev.sebastiano.pushbeat.api.beats.BeatSourcesRegistry import dev.sebastiano.pushbeat.api.ktor.withCharsetUtf8 import dev.sebastiano.pushbeat.api.model.api.ApiBeatSources import dev.sebastiano.pushbeat.api.model.api.toApiBeatSource import io.ktor.application.Appl...
7
Kotlin
0
11
43e635c27980065c37454bfe97558f15d55ad725
833
pushbeat
MIT License
app/src/main/java/com/fphoenixcorneae/happyjoke/ext/LazyGridScope.kt
FPhoenixCorneaE
611,547,290
false
{"Kotlin": 430817}
package com.fphoenixcorneae.happyjoke.ext import android.annotation.SuppressLint import android.os.Parcel import android.os.Parcelable import androidx.compose.foundation.lazy.grid.GridItemSpan import androidx.compose.foundation.lazy.grid.LazyGridItemScope import androidx.compose.foundation.lazy.grid.LazyGridItemSpanSc...
0
Kotlin
0
1
d07f66d2651c993a48ebb8f8bea48971e9bc3fa4
2,999
compose-happy-joke
Apache License 2.0
app/src/main/java/com/example/mkodo_app/presentation/drawsListDetail/viewmodel/DrawsListDetailVM.kt
OsmanMusse
839,237,258
false
{"Kotlin": 35216}
package com.example.mkodo_app.presentation.drawsListDetail.viewmodel import android.content.Context import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.example.mkodo_app.data.repo.DrawRepository import com....
0
Kotlin
0
0
7660611699026cf5437946f84120f5f5c0265bda
1,380
MkodoAndroidApp
MIT License
sphinx/screens/onboard/onboard-connecting/src/main/java/chat/sphinx/onboard_connecting/ui/OnBoardConnectingViewState.kt
stakwork
340,103,148
false
{"Kotlin": 4002700, "Java": 403469, "JavaScript": 4745, "HTML": 4706, "Shell": 2453}
package chat.sphinx.onboard_connecting.ui import androidx.constraintlayout.motion.widget.MotionLayout import chat.sphinx.onboard_common.model.RedemptionCode import chat.sphinx.onboard_connecting.R import io.matthewnelson.android_concept_views.MotionLayoutViewState import java.io.CharArrayWriter internal sealed class ...
99
Kotlin
11
18
01d4be42df107d5e4fa8d2411f5390aeea60ea74
2,012
sphinx-kotlin
MIT License
app/src/main/java/eu/insertcode/traveltipsii/repository/TipRepository.kt
MrTheGood
124,196,192
false
null
/* * Copyright 2018 <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 ...
0
Kotlin
0
0
08844bfc576dba8080a378ef43265c3bb18d18d4
1,166
traveltips_ii_android
Apache License 2.0
core/src/main/java/com/infinitepower/newquiz/core/util/kotlin/Primitives.kt
joaomanaia
443,198,327
false
null
package com.infinitepower.newquiz.core.util.kotlin infix operator fun ULong.div(other: Float): Float = toLong() / other infix operator fun ULong.div(other: Double): Double = toLong() / other
0
Kotlin
14
99
4741a80f1db8073c7d33499523117b446489bbf0
193
newquiz
Apache License 2.0
app/src/main/java/com/ml/shivay_couchbase/docqa/ui/viewmodels/ChatViewModel.kt
shivay-couchbase
874,673,406
false
{"Kotlin": 59979}
package com.ml.arunneo.docqa.ui.viewmodels import androidx.compose.runtime.mutableStateOf import androidx.lifecycle.ViewModel import com.ml.arunneo.docqa.data.RetrievedContext import com.ml.arunneo.docqa.domain.QAUseCase import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject @HiltViewModel clas...
0
Kotlin
0
1
cccd12efdc63ac2f7a53294d20383e55f693f0b8
627
couchbase-lite-workshop
Apache License 2.0
core/src/main/java/dev/maxsiomin/prodhse/core/location/LocationTracker.kt
MaxSiominDev
782,187,914
false
{"Kotlin": 325821}
package dev.maxsiomin.prodhse.core.location import android.location.Location import dev.maxsiomin.common.domain.resource.LocationError import dev.maxsiomin.common.domain.resource.Resource interface LocationTracker { suspend fun getCurrentLocation(): Resource<Location, LocationError> }
0
Kotlin
0
1
6cb1694f8c96c67964dc5628dc3ac67464a4c676
293
LifestyleHUB
MIT License
composeApp/src/commonMain/kotlin/ru/rznnike/demokmp/domain/model/websocket/WebSocketConnectionState.kt
RznNike
834,057,164
false
{"Kotlin": 252954}
package ru.rznnike.demokmp.domain.model.websocket enum class WebSocketConnectionState { CONNECTING, CONNECTED, DISCONNECTED, CLOSED }
0
Kotlin
0
0
9bf832bd1d492058d8a1eaf327ae02e76a4f587c
150
DemoKMP
MIT License
src/main/kotlin/com/codingvibe/twitchbackend/controller/TwitchEventSub.kt
codingvibe
504,371,377
false
{"Kotlin": 33809}
package com.codingvibe.twitchbackend.controller import com.codingvibe.twitchbackend.external.twitch.getTwitchEventSubPayload import com.codingvibe.twitchbackend.external.twitch.notifications.CustomChannelPointRewardRedeemed import com.codingvibe.twitchbackend.external.twitch.notifications.StreamOnline import com.codin...
0
Kotlin
0
1
ae4d5bc4fa51cb48b11225a4066a71d766a73c7b
4,811
twitch-cafe-backend
MIT License
src/main/kotlin/com/codingvibe/twitchbackend/controller/TwitchEventSub.kt
codingvibe
504,371,377
false
{"Kotlin": 33809}
package com.codingvibe.twitchbackend.controller import com.codingvibe.twitchbackend.external.twitch.getTwitchEventSubPayload import com.codingvibe.twitchbackend.external.twitch.notifications.CustomChannelPointRewardRedeemed import com.codingvibe.twitchbackend.external.twitch.notifications.StreamOnline import com.codin...
0
Kotlin
0
1
ae4d5bc4fa51cb48b11225a4066a71d766a73c7b
4,811
twitch-cafe-backend
MIT License
app/src/main/java/com/example/androiddevchallenge/ui/theme/Theme.kt
FlorianTrecul
343,711,617
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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
1
00671a907b27ad181bc62b9b1b4bfdf65fd5ae6c
1,497
adopt-your-puppy
Apache License 2.0
arrow-libs/core/arrow-core/src/main/kotlin/arrow/core/extensions/set/zip/SetKZip.kt
clojj
343,913,289
true
{"Kotlin": 6274993, "SCSS": 78040, "JavaScript": 77812, "HTML": 21200, "Scala": 8073, "Shell": 2474, "Ruby": 83}
package arrow.core.extensions.set.zip import arrow.core.Tuple2 import arrow.core.toTuple2 import kotlin.Function2 import kotlin.Suppress import kotlin.collections.zip as _zip import kotlin.jvm.JvmName @JvmName("zip") @Suppress( "UNCHECKED_CAST", "USELESS_CAST", "EXTENSION_SHADOWED_BY_MEMBER", "UNUSED_PARAMETE...
0
null
0
0
5eae605bbaeb2b911f69a5bccf3fa45c42578416
1,011
arrow
Apache License 2.0
features/settings/src/main/java/com/yuriikonovalov/settings/framework/ui/inputpassword/InputPasswordViewModel.kt
yuriikonovalov
563,974,428
false
{"Kotlin": 872022}
package com.yuriikonovalov.settings.framework.ui.inputpassword import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.yuriikonovalov.common.application.usecases.CheckPassword import com.yuriikonovalov.settings.presentation.inputpassword.InputPasswordEvent import com.yuriikonovalov.sett...
0
Kotlin
0
0
8063508f836512fc8f8a0ba18f794bb895ee2449
1,620
budgethub
MIT License
lib_base/src/main/kotlin/com/crow/base/ui/viewmodel/mvi/BaseMviIntent.kt
CrowForKotlin
610,636,509
false
null
package com.crow.base.ui.viewmodel.mvi import com.crow.base.ui.viewmodel.ViewState /************************* * @Machine: RedmiBook Pro 15 Win11 * @Path: lib_base/src/main/kotlin/com/crow/base/viewmodel/mvi * @Time: 2023/3/9 19:18 * @Author: CrowForKotlin * @Description: BaseMviEvent * @formatter:on **********...
0
Kotlin
0
2
a89de12c3004f749270a0cfd6cc4b042de332715
409
CopyManga_Crow
Apache License 2.0
2817.Minimum Absolute Difference Between Elements With Constraint.kt
sarvex
842,260,390
false
{"Kotlin": 1775678, "PowerShell": 418}
internal class Solution { fun minAbsoluteDifference(nums: List<Int>, x: Int): Int { val tm: TreeMap<Int, Int> = TreeMap() var ans = 1 shl 30 for (i in x until nums.size()) { tm.merge(nums[i - x], 1) { a: Int, b: Int -> Integer.sum(a, b) } var key: Int = tm.ceilingKey(nums[i]) if (key != ...
0
Kotlin
0
0
71f5d03abd6ae1cd397ec4f1d5ba04f792dd1b48
515
kotlin-leetcode
MIT License
app/src/main/java/com/ismet/parkingzonemaddevs/di/PreferenceInfo.kt
ismetullah
182,444,010
false
null
package com.ismet.parkingzonemaddevs.di import java.lang.annotation.Retention import java.lang.annotation.RetentionPolicy import javax.inject.Qualifier @Qualifier @Retention(RetentionPolicy.RUNTIME) annotation class PreferenceInfo
0
Kotlin
0
0
ff151fff5973fe5ffdda767e504932885101e641
233
Parking---MadDevs
Apache License 2.0
veinview/src/main/java/com/izikode/izilib/veinview/ClientBuilders.kt
iFanie
134,714,977
false
null
package com.izikode.izilib.veinview /** * Creates a simple VeinViewClient implementation. * * @param block The Unit to be invoked upon reaching the injection-ready stage. */ fun defaultClient(block: VeinViewClient.(VeinViewInjector, String) -> Unit) = (object : VeinViewClient() { override fun...
0
Kotlin
2
32
e940c68e89adc8a19ce9b4f3013d220a9a7678a5
444
VeinView
Apache License 2.0
src/main/kotlin/com/github/yuizho/springsessionsample/controller/HelloController.kt
yuizho
266,296,966
false
null
package com.github.yuizho.springsessionsample.controller import org.springframework.beans.factory.annotation.Value import org.springframework.stereotype.Controller import org.springframework.ui.Model import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.RequestMapping...
1
Kotlin
0
0
5ffa35d3f691913b2d34e9634f98547a001441f2
932
spring-session-sandbox
MIT License
4_MVVM/app/src/main/java/com/example/mvvm/data/QuoteRepository.kt
arkkhanu
194,027,946
false
null
package com.example.mvvm.data class QuoteRepository private constructor(private val quoteDao: FakeQuoteDao){ fun addQuote(quote : Quote){ quoteDao.addQuote(quote) } fun getQuote() = quoteDao.getQuotes() companion object{ @Volatile private var instance : QuoteRepository? = null ...
0
Kotlin
0
0
d6de57295f4e2708c6a0b1ad5d1aebbed0d274ac
504
Android_Kotlin_Examples
Apache License 2.0
Demo/src/main/java/com/paypal/android/ui/approveorderprogress/ApproveOrderProgressViewModel.kt
paypal
390,097,712
false
null
package com.paypal.android.ui.approveorderprogress import androidx.lifecycle.ViewModel import com.paypal.android.uishared.events.ComposableEvent import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.asStateFlow import kotlinx.coroutines.flow.update class ApproveOrderProgressViewModel : ViewMo...
10
Kotlin
28
35
1e11e7f452789cc13bf51fa95e645810ff6ef8df
640
paypal-android
Apache License 2.0
magicpen-workflow-action-jvm/src/main/kotlin/io/github/liqiha0/magicpen/workflow/jvm/data/JvmObject.kt
magicpenproject
418,622,750
false
{"Kotlin": 41398, "Java": 377}
package io.github.liqiha0.magicpen.workflow.jvm.data import io.github.liqiha0.magicpen.workflow.Data class JvmObject(val value: Any) : Data { override val type: String get() = "jvm-object" override fun toBoolean(): Boolean { return true } }
0
Kotlin
0
3
deb643242f2ef5565aabc1f9e507d7530627efa4
262
magicpen-workflow
Apache License 2.0
plugins/source-downloader-common-plugin/src/main/kotlin/xyz/shoaky/sourcedownloader/common/anime/AnimeVariableProvider.kt
shoaky009
607,575,763
false
null
package xyz.shoaky.sourcedownloader.common.anime import org.slf4j.LoggerFactory import xyz.shoaky.sourcedownloader.external.anilist.AnilistClient import xyz.shoaky.sourcedownloader.external.anilist.Search import xyz.shoaky.sourcedownloader.external.bangumi.BgmTvApiClient import xyz.shoaky.sourcedownloader.external.ban...
1
Kotlin
0
7
5d1a3d0ed55f6f935aeee93e96033fd918eca14c
4,721
source-downloader
Apache License 2.0
base/courseapp-app/src/main/kotlin/il/ac/technion/cs/softwaredesign/CourseBotModule.kt
avi1mizrahi
181,363,343
false
{"Kotlin": 338899}
package il.ac.technion.cs.softwaredesign import com.authzee.kotlinguice4.KotlinModule class CourseBotModule : KotlinModule() { override fun configure() { bind<CourseBots>().to<CourseBotManager>() } }
0
Kotlin
0
0
2c0d94762ffb6139294244c19943b238476ca249
217
CourseApp
MIT License
app/src/main/java/ir/magiccodes/magicbazar/ui/features/signUp/signUpScreen.kt
Mahdi-Jamshidi
582,235,724
false
{"Kotlin": 128251}
package ir.magiccodes.magicbazar.ui.features.signUp import android.util.Patterns import android.widget.Toast import androidx.compose.foundation.* import androidx.compose.foundation.gestures.scrollable import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.CircleShape import androidx.compo...
0
Kotlin
0
0
b563d5903e08a15984d5137e1f3bb615b233c8a3
9,755
Magic-Bazar
MIT License
data/framework/api/src/main/kotlin/io/github/wykopmobilny/domain/navigation/WykopTextUtils.kt
otwarty-wykop-mobilny
374,160,630
true
null
package io.github.wykopmobilny.domain.navigation interface WykopTextUtils { suspend fun parseHtml( text: String, onLinkClicked: ((RecognizedLink) -> Unit)? = null, ): CharSequence sealed class RecognizedLink { data class Profile(val profileId: String) : RecognizedLink() ...
7
Kotlin
3
19
c13d46ec8d4b3505fb2b77ac1edb4f1ad534e907
506
wykop-android
MIT License
app/src/main/java/com/example/starstec/ui/activity/ble/ScanResultViewHolder.kt
aisyalfawwaz
675,577,797
false
null
package com.example.starstec.ui.activity.ble import android.view.View import androidx.recyclerview.widget.RecyclerView import com.example.starstec.databinding.CellScanResultBinding class ScanResultViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) { private val binding by lazy { CellScanResultBinding...
0
Kotlin
0
0
a80ef7e24d92a13218c4e6e642dcd291f4cbf005
484
Starstec-Stress-Level_App-Using-BLE
MIT License
src/main/kotlin/nassermohamedit/jnote/exception/NotFoundException.kt
nassermohamedit
827,397,757
false
{"Kotlin": 43367}
package nassermohamedit.jnote.exception class NotFoundException: RuntimeException() { }
0
Kotlin
0
0
cb6c7b69de04dcc5a911514eaeb498263714b77d
88
jnote
MIT License
app/src/main/java/com/hongbeomi/harrypotter/ui/detail/DetailActivity.kt
hongbeomi
255,307,941
false
null
package com.hongbeomi.harrypotter.ui.detail /** * Copyright 2020 <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 req...
0
null
47
217
3bfcad534aa59a6331825a31afd8e84dd6ba4917
2,432
HarryPotter
Apache License 2.0
13/part_one.kt
ivanilos
433,620,308
false
{"Kotlin": 97993}
import java.io.File fun readInput() : Paper { val lines = File("input.txt") .readLines() val dots = mutableListOf<Pair<Int, Int>>() val instructions = mutableListOf<Pair<Char, Int>>() parseInput(lines, dots, instructions) return Paper(dots, instructions) } fun parseInput(inputLines : Lis...
0
Kotlin
0
3
a24b6f7e8968e513767dfd7e21b935f9fdfb6d72
2,201
advent-of-code-2021
MIT License
images/networkmap/src/main/kotlin/com/acn/dlt/corda/networkmap/service/StubAppServiceHub.kt
hyperledger
607,356,659
false
null
package com.acn.dlt.corda.networkmap.service import net.corda.core.contracts.* import net.corda.core.cordapp.CordappProvider import net.corda.core.crypto.entropyToKeyPair import net.corda.core.flows.FlowLogic import net.corda.core.identity.CordaX500Name import net.corda.core.identity.Party import net.corda.core.identi...
20
null
26
6
c4ec286315635ad97c4b27a20918ecba0afaae62
6,396
bevel-samples
Apache License 2.0
TheShareMaster/src/main/java/common/share/wx/WxSdk.kt
feer921
323,617,736
false
null
package common.share.wx import android.content.Context import com.tencent.mm.opensdk.modelbase.BaseReq import com.tencent.mm.opensdk.modelbase.BaseResp import com.tencent.mm.opensdk.openapi.IWXAPI import com.tencent.mm.opensdk.openapi.WXAPIFactory /** * ******************(^_^)***********************<br> * User: fee...
0
Kotlin
0
2
bd1d777f5bc02fc801696435d411667801bee1a1
2,859
ShareMaster
Apache License 2.0
example/android/app/src/main/kotlin/com/example/flutter_boom_menu_example/MainActivity.kt
kuchienkz
355,001,915
true
{"Dart": 18544, "Kotlin": 1496, "Swift": 936, "Ruby": 856, "Objective-C": 750, "HTML": 53}
package com.example.flutter_boom_menu_example import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
1
0
bf302e17e064ab06419f6c904ff1f51659831d98
142
flutter_boom_menu
MIT License
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/OilBarrelSharp.kt
karakum-team
387,062,541
false
{"Kotlin": 3079611, "TypeScript": 2249, "HTML": 724, "CSS": 86}
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/OilBarrelSharp") package mui.icons.material @JsName("default") external val OilBarrelSharp: SvgIconComponent
0
Kotlin
5
35
60404a8933357df15ecfd8caf6e83258962ca909
192
mui-kotlin
Apache License 2.0
app/src/main/java/com/thinxnet/rydpay/websdkintegration/model/PaymentData.kt
ThinxNetGmbH
362,915,792
true
{"Kotlin": 10477}
package com.thinxnet.rydpay.websdkintegration.model import android.os.Parcelable import kotlinx.parcelize.Parcelize import java.math.BigDecimal @Parcelize data class PaymentData( val amount: Double, val price: BigDecimal, val total: BigDecimal, val stationId: String ) : Parcelable
0
Kotlin
0
2
dfb2af7201d3c7410df3b6399bc975f4b4bd9b56
299
ryd_pay_web_integration_android
MIT License
browser-kotlin/src/jsMain/kotlin/web/dom/DocumentOrShadowRoot.kt
karakum-team
393,199,102
false
null
// Automatically generated - do not modify! package web.dom import js.core.ReadonlyArray import web.animations.Animation import web.cssom.CSSStyleSheet import web.cssom.StyleSheetList external interface DocumentOrShadowRoot { /** * Returns the deepest element in the document through which or to which key ev...
0
null
8
36
95b065622a9445caf058ad2581f4c91f9e2b0d91
2,596
types-kotlin
Apache License 2.0
common/src/main/kotlin/nullversionnova/musicscript/script/Stem.kt
null-version-nova
719,239,793
false
{"Kotlin": 23203, "Java": 16254}
package nullversionnova.musicscript.script
0
Kotlin
0
1
7ffbee1006fb0c20027190bbfdf69179a665638f
44
musicscript
MIT License
kotlin-electron/src/jsMain/generated/electron/common/HidDeviceRevokedDetails.kt
JetBrains
93,250,841
false
{"Kotlin": 12159121, "JavaScript": 330528}
// Generated by Karakum - do not modify it manually! package electron typealias HidDeviceRevokedDetails = electron.core.HidDeviceRevokedDetails
40
Kotlin
165
1,319
a8a1947d73e3ed26426f1e27b641bff427dfd6a0
148
kotlin-wrappers
Apache License 2.0
save-frontend/src/main/kotlin/org/cqfn/save/frontend/components/views/FallbackView.kt
cqfn
300,279,336
false
null
package org.cqfn.save.frontend.components.views import kotlinext.js.jsObject import react.PropsWithChildren import react.RBuilder import react.State import react.dom.div import react.dom.p import react.router.dom.Link /** * A [RComponent] representing fallback page with 404 error */ @JsExport @OptIn(ExperimentalJsE...
97
Kotlin
0
15
c381c6fd4d9c12178de79da4818220b724a15596
868
save-cloud
MIT License
lib/src/main/kotlin/com/bethibande/actors/system/ActorId.kt
Bethibande
748,695,349
false
{"Kotlin": 48783}
package com.bethibande.actors.system import java.util.UUID interface ActorId { data class ActorIdUUID( val value: UUID ): ActorId }
7
Kotlin
0
2
c7cfbe51b3003cff6643037795cd8a1565a70062
151
actors
Apache License 2.0
src/main/kotlin/me/aberrantfox/hotbot/services/LimitedList.kt
eagleblitzard
122,529,437
true
{"Kotlin": 184730}
package me.aberrantfox.hotbot.services class LimitedList<T>(val limit: Int) : ArrayList<T>() { override fun add(element: T): Boolean { if(size == limit) { this.removeAt(size - 1) } return super.add(element) } }
0
Kotlin
0
1
005df931d990e744c037084f368f718d81289da9
256
hotbot
MIT License
projects/simulation/src/main/kotlin/simulation/main/Deck.kt
silentorb
188,621,122
false
{"Kotlin": 862571, "Python": 32172, "SuperCollider": 5214, "Faust": 528}
package simulation.main import silentorb.mythic.aura.Sound import silentorb.mythic.characters.rigs.CharacterRig import silentorb.mythic.characters.rigs.ThirdPersonRig import silentorb.mythic.ent.* import silentorb.mythic.entities.Attributes import silentorb.mythic.particles.ParticleEffect import silentorb.mythic.perfo...
0
Kotlin
0
0
03a1e2c082343ee3d64c8d1ffadad156fca6f9e1
6,321
marloth-kotlin
MIT License
app/src/main/java/net/fudiyama/nyan/composable/PermissionGuide.kt
miyadai-oss
490,175,379
false
{"Kotlin": 22073}
package net.fudiyama.nyan.composable import android.content.Intent import android.net.Uri import android.provider.Settings import androidx.compose.foundation.layout.* import androidx.compose.material.Button import androidx.compose.material.MaterialTheme import androidx.compose.material.Text import androidx.compose.run...
0
Kotlin
0
0
df3605e65d74487f864f6155f56a496492226717
1,766
nyan
Apache License 2.0
app/src/main/java/com/simbiri/equityjamii/ui/Main Activity/My Workspace Page/AddTaskDialogViewModel.kt
SimbaSimbiri
706,250,529
false
{"Kotlin": 97386}
package com.simbiri.equityjamii.ui import androidx.lifecycle.ViewModel class AddTaskDialogViewModel : ViewModel() { // TODO: Implement the ViewModel }
0
Kotlin
0
0
3deea7b9f7044a4fb4d6fb7d7c673e9de5dab06c
160
EquiJamii
Apache License 2.0
basic-feature/src/main/java/tech/capitalcoding/pokedex/basic_feature/presentation/mapper/BaseDisplayPokemonMapper.kt
CapitalCoding
847,276,265
false
{"Kotlin": 106230}
package tech.capitalcoding.pokedex.basic_feature.presentation.mapper import androidx.compose.ui.text.capitalize import androidx.compose.ui.text.intl.Locale import tech.capitalcoding.pokedex.basic_feature.domain.model.BasePokemon import tech.capitalcoding.pokedex.basic_feature.domain.model.Pokemon import tech.capitalco...
0
Kotlin
0
0
7eff99a6410193da1750af7a4728d027a34519e5
2,989
pokedex
MIT License
frameworks/domain.core/src/main/kotlin/com/qomolangma/frameworks/domain/core/AccessDeniedException.kt
highsoft-shanghai
386,574,483
false
null
package com.qomolangma.frameworks.domain.core class AccessDeniedException(message: String) : RuntimeException(message)
0
Kotlin
2
4
d2622ea653baccd9a68cedc0b3daf60957f00dae
120
qomolangma
MIT License
vuejs-tests/src-ext/org/jetbrains/vuejs/lang/VueTypeScriptHighlightingTest.kt
wuxianqiang
508,329,768
false
null
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.vuejs.lang import com.intellij.codeInsight.daemon.impl.HighlightInfo import com.intellij.lang.javascript.JSDaemonAnalyzerLightTestCase import com.intellij.l...
2
null
0
4
e069e8b340ab04780ac13eab375d900f21bc7613
3,941
intellij-plugin-mpx
Apache License 2.0
payment/src/main/java/ru/tinkoff/acquiring/payment/PaymentProcess.kt
vendopay
177,781,392
true
{"Java Properties": 2, "Text": 1, "Gradle": 9, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Ignore List": 6, "INI": 4, "Proguard": 4, "XML": 87, "Java": 135, "Kotlin": 6}
package ru.tinkoff.acquiring.payment import android.annotation.SuppressLint import android.os.Handler import android.os.Looper import android.os.Message import ru.tinkoff.acquiring.sdk.AcquiringSdk import ru.tinkoff.acquiring.sdk.Card import ru.tinkoff.acquiring.sdk.CardData import ru.tinkoff.acquiring.sdk.CardStatus ...
0
Java
0
0
db08cfbbfe3b296a4b97a053b16e803342e62bbb
6,643
tinkoff-asdk-android
Apache License 2.0
feature/inbox/src/main/java/easydone/feature/inbox/Model.kt
kamerok
192,063,678
false
null
package easydone.feature.inbox import easydone.coreui.design.UiTask data class State( val tasks: List<UiTask> )
0
Kotlin
0
4
f3a72f6f40d7f886319504e99b21caa6f908dea5
119
EasyDone
Apache License 2.0
src/client/kotlin/net/greenjab/fixedminecraft/map_book/MapBookScreen.kt
GreenJAB
765,674,706
false
{"Java": 297142, "Kotlin": 101367}
package net.greenjab.fixedminecraft.map_book import net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking import net.greenjab.fixedminecraft.FixedMinecraft.SERVER import net.greenjab.fixedminecraft.enchanting.Networking import net.greenjab.fixedminecraft.registry.ItemRegistry import net.greenjab.fixedminecraft.re...
2
Java
10
12
d9b6589c91f795c7502dbca7531937f28cf832fd
13,430
fixed-minecraft
MIT License
src/main/kotlin/uk/co/greenthistle/coroutinespybeanexample/ExampleApplication.kt
petergphillips
724,995,157
false
{"Kotlin": 4451}
package uk.co.greenthistle.coroutinespybeanexample import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.runApplication import org.springframework.context.annotation.ComponentScan @SpringBootApplication class ExampleApplication fun main(args: Array<String>) { runApplic...
0
Kotlin
0
0
c53d8bd907ff4f201caec5eee28576eaaa0102e7
355
spring-coroutine-spybean-example
MIT License
src/main/kotlin/nft/freeport/processor/cms/auction/BidOnAuctionEventProcessor.kt
rodrigoieh
437,271,281
false
null
package nft.freeport.processor.cms.auction import io.vertx.core.json.JsonObject import nft.freeport.listener.event.BidOnAuction import nft.freeport.listener.event.SmartContractEventData import nft.freeport.processor.cms.CmsConfig import nft.freeport.processor.cms.CmsExistingNftRelatedEventProcessor import nft.freeport...
0
null
0
0
1bb284acbd01b94b80a4e6d20c1672f191fbfe77
2,043
freeport-sc-event-listener
Apache License 2.0
questPresentation/src/main/java/ru/nekit/android/qls/lockScreen/mediator/IntroductionContentMediator.kt
ru-nekit-android
126,668,350
false
null
package ru.nekit.android.qls.lockScreen.mediator import android.content.Context import android.view.View import android.view.ViewGroup import android.widget.TextView import io.reactivex.Completable import ru.nekit.android.qls.R import ru.nekit.android.qls.domain.useCases.TransitionChoreographUseCases import ru.nekit.a...
0
Kotlin
0
1
37a2037be2ecdbe19607b5fbb9e5f7852320a5a0
2,368
QuestLockScreen
Apache License 2.0
src/commonMain/kotlin/com/inari/firefly/control/ai/utility/EUtilityAI.kt
AndreasHefti
387,557,032
false
null
package com.inari.firefly.control.ai.utility import com.inari.firefly.FFContext import com.inari.firefly.INFINITE_SCHEDULER import com.inari.firefly.core.ComponentRefResolver import com.inari.firefly.core.api.FFTimer import com.inari.firefly.core.component.CompId import com.inari.firefly.core.system.SystemComponentBui...
2
Kotlin
0
7
dad6848b75c9008647b898dc5e1330b2eb04bf65
2,228
flyko-lib
Apache License 2.0
feature/search-media/src/main/java/com/choidev/latesteffort/feature/search_media/ui/bookmark/BookmarkFragment.kt
victory316
660,866,016
false
null
package com.choidev.latesteffort.feature.search_media.ui.bookmark import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.fragment.app.viewModels import andro...
9
Kotlin
0
0
90efd575940a06b31b3e84bdebc4f9a1ce5d6737
2,250
LatestEffort
Apache License 2.0
lib/modules/persistence/src/main/java/dev/pthomain/android/dejavu/persistence/statistics/BaseStatisticsCompiler.kt
pthomain
95,957,187
false
{"Gradle": 19, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 18, "Batchfile": 1, "Markdown": 1, "Proguard": 9, "XML": 29, "Kotlin": 166, "JSON": 1, "SVG": 1}
/* * * Copyright (C) 2017-2020 <NAME> * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache...
1
Kotlin
7
12
6e82c422293f1ed54f3522d6df94c5948116a79a
3,418
dejavu
Apache License 2.0
app/src/main/java/com/example/weather_forecast_app/ForecastActivity.kt
ZubkoKarina
689,411,299
false
{"Kotlin": 38425}
package com.example.weather_forecast_app import android.annotation.SuppressLint import android.os.Build import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.view.GestureDetector import android.view.MotionEvent import android.view.View import android.view.Window...
0
Kotlin
0
0
513f2a18928217fdaaa61530313320028a5f25b1
3,184
Kotlin_Weather_Forecast_App
MIT License
androidApp/src/main/java/app/hilwa/ar/data/domain/user/SignUpWithEmailAndPasswordUseCase.kt
triandamai
646,244,238
false
null
package app.hilwa.ar.data.domain.user import app.trian.mvi.ui.ResultState import com.google.firebase.auth.FirebaseAuth import com.google.firebase.auth.FirebaseUser import com.google.firebase.auth.ktx.userProfileChangeRequest import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.flow.Flow import kotlinx.corou...
0
Kotlin
0
0
c7db7de5b95532446004ad95d13a703fdba050b0
1,545
AR-Android
Apache License 2.0
app/src/main/java/com/vdcodeassociate/fitme/room/runs/RunDao.kt
thisisvd
421,805,065
false
{"Kotlin": 182376}
package com.vdcodeassociate.fitme.room.runs import androidx.lifecycle.LiveData import androidx.room.* @Dao interface RunDao { // insert a new run @Insert(onConflict = OnConflictStrategy.REPLACE) suspend fun insertRun(run: Run) // delete a new run @Delete suspend fun deleteRun(run: Run) ...
0
Kotlin
2
2
c1adbaef3313bab34b1ba5f1a5e9ab5610b8a554
2,091
FitMe-App
Apache License 2.0
temperature-sensor-and-rest/src/test/kotlin/io/dev/temperature/verticles/ScheduleVerticleTest.kt
greggigon
52,807,961
false
{"C++": 65091, "Kotlin": 40251, "JavaScript": 37815, "Processing": 35319, "Arduino": 7528, "CSS": 1089, "Shell": 810, "HTML": 581}
package io.dev.temperature.verticles import org.junit.Assert.* import org.junit.Test import java.time.LocalDateTime class ScheduleVerticleTest { @Test fun shouldFoo(){ println(LocalDateTime.now().dayOfWeek) assertEquals(2, LocalDateTime.now().dayOfWeek.value) } }
1
C++
7
6
c10fc492aae14d40c478699256185f43b6fa8ee6
292
Home-Temperature-Controller
MIT License
vk-sdk-api/src/main/java/com/vk/sdk/api/widgets/dto/WidgetsWidgetPage.kt
wesshi-tiktok
358,352,248
true
{"Kotlin": 4764291, "Java": 37555}
/** * The MIT License (MIT) * * Copyright (c) 2019 vk.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy...
0
null
0
0
32898fa706e4064118ae18327649e89a22fc6070
2,565
vk-android-sdk
MIT License
src/test/kotlin/g2301_2400/s2373_largest_local_values_in_a_matrix/SolutionTest.kt
javadev
190,711,550
false
{"Kotlin": 4909193, "TypeScript": 50446, "Python": 3646, "Shell": 994}
package g2301_2400.s2373_largest_local_values_in_a_matrix import org.hamcrest.CoreMatchers.equalTo import org.hamcrest.MatcherAssert.assertThat import org.junit.jupiter.api.Test internal class SolutionTest { @Test fun largestLocal() { assertThat( Solution() .largestLocal( ...
0
Kotlin
20
43
62708bc4d70ca2bfb6942e4bbfb4c64641e598e8
1,206
LeetCode-in-Kotlin
MIT License
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/mediatailor/_BuildableLastArgumentExtensions.kt
cloudshiftinc
667,063,030
false
null
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package cloudshift.awscdk.dsl.services.mediatailor import kotlin.Unit import software.amazon.awscdk.services.mediatailor.CfnPlaybackConfigurat...
1
Kotlin
0
0
17c41bdaffb2e10d31b32eb2282b73dd18be09fa
2,864
awscdk-dsl-kotlin
Apache License 2.0
app/src/main/java/com/rentmycar/rentmycar/controller/RentalPlanListEpoxyController.kt
AvansJava
430,307,410
false
{"Kotlin": 267110}
package com.rentmycar.rentmycar.controller import com.airbnb.epoxy.EpoxyController import com.rentmycar.rentmycar.R import com.rentmycar.rentmycar.RentMyCarApplication import com.rentmycar.rentmycar.databinding.ModelRentalPlanDataPointsBinding import com.rentmycar.rentmycar.databinding.ModelRentalPlanHeaderBinding imp...
0
Kotlin
1
0
79af0c546d60eb54931abf091af2a07436f04d50
4,274
RentMyCar.ANDROID
MIT License
kotlinbard/codegen/src/main/kotlin/io/github/enjoydambience/kotlinbard/codegen/generators/SpecFunctionFileGenerator.kt
F43nd1r
362,306,109
true
{"Kotlin": 73382}
/* * Copyright (c) 2020 Benjamin Ye * * 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
0
3
d55edd438beccbde599365139c2f45d8e77b5fac
1,394
kotlinbard
Apache License 2.0
data/api/src/main/java/akio/apps/myrun/data/route/api/RouteRepository.kt
khoi-nguyen-2359
297,064,437
false
{"Kotlin": 818250, "Java": 177639}
package akio.apps.myrun.data.route.api import akio.apps.myrun.data.location.api.model.LatLng import akio.apps.myrun.data.route.api.model.RouteDetailModel import akio.apps.myrun.data.route.api.model.RouteModel interface RouteRepository { suspend fun getRoute(routeId: String): RouteModel suspend fun getRouteWay...
0
Kotlin
3
7
31cc16d0fb37816db4dc434c925360624e38e35c
426
myrun
MIT License
src/main/kotlin/me/purox/musicbot/Config.kt
RealPurox
166,691,109
false
null
package me.purox.musicbot import org.slf4j.LoggerFactory import java.io.File import java.io.FileReader import java.io.FileWriter import java.lang.Exception class Config { @Transient private val logger = LoggerFactory.getLogger(Config::class.java) val token = "token<PASSWORD>" val prefix = "m!" fun ...
0
Kotlin
0
0
b43e149cbe5c8c599c15fdad29f6add6e0d108b1
1,155
MusicBot
Apache License 2.0
app/src/main/java/com/example/androiddevchallenge/ui/PuppyDetailsScreen.kt
rob729
343,040,559
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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
1
eb310a04887720191a8b4ea2c6b260254cc04ab1
3,978
Puppy-adoption-Compose
Apache License 2.0
library/src/main/java/kwasm/ast/module/WasmFunction.kt
jasonwyatt
226,777,898
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 in w...
4
WebAssembly
3
25
3c17988daaa8f37d654ee29428a37b330b3532ad
931
KWasm
Apache License 2.0
app/service/src/main/kotlin/org/kenenna/evoelt/utils/SampleData.kt
KenennaOkeke
690,828,398
false
{"Kotlin": 65132}
package org.kenenna.evoelt.utils import java.util.* class SampleData { companion object { fun getRawEventOneInSequenceOne(): String { return """ { "data": "ABCD", "labels": [ "user_id-3", ...
0
Kotlin
0
0
61f833cdfd548c4c386d03090a562ccd2846a315
4,608
EvoELT
MIT License
app/src/main/java/com/rob729/newsfeed/ui/screen/EmptySearchScreen.kt
rob729
680,605,109
false
{"Kotlin": 168762, "Ruby": 2437}
package com.rob729.newsfeed.ui.screen import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxHeight import androidx.compose.foundation.l...
11
Kotlin
0
1
b101678d89c9837a2909bdd54e0f0459088aebdf
2,602
News-Feed
Apache License 2.0
app/src/main/java/com/tm/blplayer/BLApplication.kt
TongmingWu
88,458,021
false
null
package com.tm.blplayer import android.annotation.SuppressLint import android.app.Application import android.content.Context import com.tencent.smtt.sdk.QbSdk /** * @author wutongming * * * @description * * * @since 2017/4/17 */ class BLApplication : Application() { override fun onCreate() { supe...
1
null
1
3
80e485c7f818eb690599f1c069fc55d770e08482
591
BLPlayer
MIT License
src/main/kotlin/core/SystemExitImpl.kt
adbsalam
771,743,029
false
{"Kotlin": 72196, "Shell": 160}
package core import actionExecutor.SystemExit import help.showHelp import kotlin.system.exitProcess class SystemExitImpl : SystemExit { override fun exitWithHelp(text: String): Nothing { showHelp(text) exitProcess(1) } override fun exit(): Nothing { exitProcess(1) } }
0
Kotlin
0
1
e82d1c4b7e47f10d69052f6d67955c34c8692d32
311
salamr
Apache License 2.0
app/src/main/java/com/faigenbloom/familybudget/datasources/db/entities/FamilyEntity.kt
ZakharchenkoWork
706,155,222
false
{"Kotlin": 690594}
package com.faigenbloom.familybudget.datasources.db.entities import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import com.faigenbloom.familybudget.datasources.db.entities.FamilyEntity.Companion.TABLE_NAME @Entity(tableName = TABLE_NAME) data class FamilyEntity( @PrimaryK...
0
Kotlin
0
0
40920c59d6d598db8e0214ec8e550d38a51785e7
591
FamilyBudget
Apache License 2.0
app/src/main/java/com/faigenbloom/familybudget/datasources/db/entities/FamilyEntity.kt
ZakharchenkoWork
706,155,222
false
{"Kotlin": 690594}
package com.faigenbloom.familybudget.datasources.db.entities import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import com.faigenbloom.familybudget.datasources.db.entities.FamilyEntity.Companion.TABLE_NAME @Entity(tableName = TABLE_NAME) data class FamilyEntity( @PrimaryK...
0
Kotlin
0
0
40920c59d6d598db8e0214ec8e550d38a51785e7
591
FamilyBudget
Apache License 2.0
org.librarysimplified.audiobook.media3/src/main/java/org/librarysimplified/audiobook/media3/ExoDownloadTask.kt
ThePalaceProject
379,956,255
false
{"Kotlin": 695923, "Java": 2392}
package org.librarysimplified.audiobook.media3 import net.jcip.annotations.GuardedBy import org.librarysimplified.audiobook.api.PlayerDownloadProviderType import org.librarysimplified.audiobook.api.PlayerDownloadRequest import org.librarysimplified.audiobook.api.PlayerDownloadTaskType import org.librarysimplified.audi...
1
Kotlin
1
1
e876ad5481897b14c37c0969997dcce0807fac33
8,020
android-audiobook
Apache License 2.0
OrderCenter/src/main/java/com/kotlin/order/presenter/view/ShipAddressView.kt
starktonys
140,391,283
false
{"Kotlin": 263051, "Java": 7941}
package com.kotlin.order.presenter.view import com.kotlin.base.presenter.view.BaseView import com.kotlin.order.data.protocol.ShipAddress /* 收货人列表 视图回调 */ interface ShipAddressView : BaseView { //获取收货人列表回调 fun onGetShipAddressResult(result: MutableList<ShipAddress>?) //设置默认收货人回调 fun onSetDefaultR...
0
Kotlin
1
8
7cb3f869a27c9f8a6ba44b72a7d328a1383ec4aa
400
KotlinMall-App
Apache License 2.0
core/src/main/kotlin/dev/usbharu/multim/multi/model/MultiAccountContent.kt
multim-dev
591,652,793
false
null
package dev.usbharu.multim.multi.model import dev.usbharu.multim.model.Content import dev.usbharu.multim.multi.MultiAccountData class MultiAccountContent(override val innerData: Content, override val hashCode: Int) : MultiAccountData<Content>, Content(innerData.text)
8
Kotlin
0
7
daad2d142ae6fa7414acdb6704832a4d477dc41f
274
multim
Apache License 2.0
integration/testdata/kotlin/externalcalls/Echo.kt
TBD54566975
607,506,228
false
{"Go": 706341, "TypeScript": 144623, "Kotlin": 78805, "Shell": 12341, "PLpgSQL": 8953, "HCL": 4094, "Just": 3676, "JavaScript": 3478, "HTML": 538, "CSS": 59}
package ftl.echo import ftl.echo2.echo as echo2 import xyz.block.ftl.Context import xyz.block.ftl.Export data class EchoRequest(val name: String) data class EchoResponse(val message: String) @Export fun echo(context: Context, req: EchoRequest): EchoResponse { return EchoResponse(message = "Hello, ${req.name}!") } ...
51
Go
3
15
3597f75ba4a83145a16c1b0118fe9613a22adc4b
511
ftl
Apache License 2.0
app/src/main/java/com/istu/schedule/ui/page/settings/TopBar.kt
imysko
498,018,609
false
null
package com.istu.schedule.ui.page.settings import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.l...
4
Kotlin
0
1
e1b40ea297e93e01a4d8ec8c236378e6a3de554d
2,333
Schedule-ISTU
MIT License
idea/tests/org/jetbrains/kotlin/idea/script/extensionsUtil.kt
ujjwalagrawal17
227,870,357
true
{"Kotlin": 42629167, "Java": 7628229, "JavaScript": 197545, "HTML": 75183, "Lex": 23805, "TypeScript": 21613, "CSS": 9144, "Shell": 7220, "Groovy": 6940, "Batchfile": 5362, "Swift": 2253, "Ruby": 668, "Objective-C": 293, "Scala": 80}
/* * Copyright 2010-2019 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.idea.script import com.intellij.openapi.Disposable import com.intellij.openapi.e...
0
null
0
1
5b8be16f13b5c9960c72fe8be7746009170f09ec
793
kotlin
Apache License 2.0