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
examples/kotlin/src/main/java/org/apache/beam/examples/kotlin/cookbook/MaxPerKeyExamples.kt
axbaretto
68,967,334
false
null
/* * 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 License, Version 2.0 (the * "License"); you ...
74
null
4009
9
c20455fe0a97c885a8ef11d60d3381020c9f1bdc
5,870
beam
Apache License 2.0
ktu-ais-api/src/main/java/lt/welovedotnot/ktu_ais_api/handlers/DataHandler.kt
we-love-dot-not
102,258,182
false
null
package lt.welovedotnot.ktu_ais_api.handlers import org.jsoup.Connection import org.jsoup.Jsoup import org.jsoup.nodes.Element import lt.welovedotnot.ktu_ais_api.models.MarkModel import lt.welovedotnot.ktu_ais_api.models.ModuleModel import lt.welovedotnot.ktu_ais_api.models.YearModel /** * Created by simonas on 9/3/...
0
Kotlin
2
3
28af4aa5c64856b303713c28d978b04f03946b47
6,421
ktu-ais-api-android
MIT License
app/src/main/java/com/example/shinelon/lianqin/view/RegiOrUpdaView.kt
HB-pencil
112,829,724
false
null
package com.example.shinelon.lianqin.view import android.app.Dialog import com.example.shinelon.lianqin.view.BaseView /** * Created by Shinelon on 2018/2/17. */ interface RegiOrUpdaView:BaseView{ override fun init() { } fun showSuccessDialog() fun showFailureDialog(msg: String) fun showProgress...
0
Kotlin
0
0
d7876605647920c59a6bea2bfb6581b60091823e
350
lianqin
Apache License 2.0
app/src/main/java/com/example/shinelon/lianqin/view/RegiOrUpdaView.kt
HB-pencil
112,829,724
false
null
package com.example.shinelon.lianqin.view import android.app.Dialog import com.example.shinelon.lianqin.view.BaseView /** * Created by Shinelon on 2018/2/17. */ interface RegiOrUpdaView:BaseView{ override fun init() { } fun showSuccessDialog() fun showFailureDialog(msg: String) fun showProgress...
0
Kotlin
0
0
d7876605647920c59a6bea2bfb6581b60091823e
350
lianqin
Apache License 2.0
app/src/main/java/com/example/galleryapp_compose/ui/galleryscreen/GalleryScreenUiState.kt
PauloSzT
642,027,877
false
null
package com.example.galleryapp_compose.ui.galleryscreen import com.example.galleryapp_compose.models.Photo import kotlinx.coroutines.flow.StateFlow data class GalleryScreenUiState ( val photoList: StateFlow<List<Photo>> )
0
Kotlin
0
0
ff0020fd13ce6382ebeae42afefb475c4fde4e23
228
GalleryApp_compose_navigation
MIT License
skellig-test-step-processing-db/src/main/kotlin/org/skellig/teststep/processor/db/DatabaseRequestExecutorFactory.kt
skellig-framework
263,021,995
false
{"Kotlin": 793363, "CSS": 525608, "Java": 185441, "HTML": 11313, "FreeMarker": 9740, "ANTLR": 2041}
package org.skellig.teststep.processor.db import org.skellig.teststep.processing.exception.TestStepProcessingException import org.skellig.teststep.processor.db.model.DatabaseRequest open class DatabaseRequestExecutorFactory(select: DatabaseRequestExecutor, insert: DatabaseReq...
5
Kotlin
0
2
d11be068a414e3dfea0300bc9ef52c0180091d90
1,895
skellig-core
Apache License 2.0
src/main/kotlin/no/nav/syfo/sykmelding/aivenmigrering/SykmeldingV2KafkaMessage.kt
navikt
526,559,029
false
null
package no.nav.syfo.sykmelding.aivenmigrering import no.nav.syfo.model.sykmelding.arbeidsgiver.ArbeidsgiverSykmelding import no.nav.syfo.model.sykmeldingstatus.KafkaMetadataDTO import no.nav.syfo.model.sykmeldingstatus.SykmeldingStatusKafkaEventDTO data class SykmeldingV2KafkaMessage( val sykmelding: Arbeidsgiver...
1
Kotlin
1
0
715d7812d509fe5ec1ed7b075807fb42e0df16f4
421
syfoservice-data-syfosmregister
MIT License
src/main/kotlin/org/jetbrains/plugins/template/services/MyApplicationService.kt
bshadmehr98
491,152,980
false
{"Kotlin": 7010}
package org.jetbrains.plugins.template.services import org.jetbrains.plugins.template.MyBundle class MyApplicationService { init { System.setProperty("-Dproject.tree.structure.show.url", "false"); System.setProperty("project.tree.structure.show.url", "false"); println(MyBundle.message("ap...
0
Kotlin
0
0
e81bff4984f26e54f2fde44cf801f4544aa4e52c
348
jetbrain-path-hide
Apache License 2.0
kmock/src/commonMain/kotlin/tech/antibytes/kmock/proxy/SpyGuard.kt
bitPogo
455,829,905
false
{"Kotlin": 3553507}
/* ktlint-disable filename */ /* * Copyright (c) 2022 Matthias Geisler (bitPogo) / All rights reserved. * * Use of this source code is governed by Apache v2.0 */ package tech.antibytes.kmock.proxy internal fun <ReturnValue, SideEffect : Function<ReturnValue>> Any?.guardSpy(spyOn: SideEffect): SideEffect? { re...
2
Kotlin
2
54
61a11f511db12b1944449d0edd5b48e9ba3beb46
393
kmock
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/UsdCircle.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.filled import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,096
icons
MIT License
server/src/test/java/de/zalando/zally/rule/zally/CaseCheckerRuleTest.kt
natrem
184,784,603
true
{"Kotlin": 559448, "JavaScript": 110833, "Go": 73479, "HTML": 6081, "Shell": 3643, "CSS": 2805, "Dockerfile": 844}
package de.zalando.zally.rule.zally import de.zalando.zally.getOpenApiContextFromContent import de.zalando.zally.getSwaggerContextFromContent import de.zalando.zally.rule.ZallyAssertions import de.zalando.zally.testConfig import org.intellij.lang.annotations.Language import org.junit.Test @Suppress("UndocumentedPubli...
0
Kotlin
0
0
8e8a4bfcb13fbda0f16ff1dbf29453a861bc78c7
9,997
zally
MIT License
leitnerbox/dagger/components/LocalDataSourceComponent.kt
morync
198,999,267
false
null
package com.kecsot.leitnerbox.dagger.components import com.kecsot.leitnerbox.dagger.modules.LocalDataSourceModule import com.kecsot.leitnerbox.repository.CardRepository import com.kecsot.leitnerbox.repository.DeckRepository import com.kecsot.leitnerbox.repository.ImageRepository import dagger.Component import javax.in...
0
Kotlin
0
0
7a05fb782936ec6d4832add38c6026b43762c373
577
Leitner-Box-Flashcard
MIT License
common/src/main/kotlin/com/turikhay/mc/pwam/mc/Session.kt
turikhay
786,989,595
false
{"Kotlin": 74167, "Java": 16135}
package com.turikhay.mc.pwam.mc import com.turikhay.mc.pwam.common.* import com.turikhay.mc.pwam.common.text.* import org.jetbrains.exposed.sql.Database import org.jetbrains.exposed.sql.transactions.transaction import java.util.concurrent.Executor class Session( client: IClient, private val info: SessionInfo,...
3
Kotlin
0
0
dab6357393e3135a6c1ac4916c5a9878843bf7de
3,167
passwordmanager-for-authme
MIT License
app/src/main/java/com/egorhoot/chomba/repo/OnLineGameRepository.kt
HootEgor
676,993,231
false
{"Kotlin": 274712}
package com.egorhoot.chomba.repo import androidx.compose.runtime.MutableState import com.egorhoot.chomba.pages.onlinegame.OnLineGameUiState import com.egorhoot.chomba.pages.user.ProfileScreenUiState interface OnLineGameRepository { suspend fun createRoom(onLineGameUiState: MutableState<OnLineGameUiState>, ...
0
Kotlin
0
0
a7e96673c7df504b49fbc9dd4eba6e69ae319164
872
Chomba
MIT License
src/main/kotlin/com/github/vatbub/openthesaurus/apiclient/CachedDataProvider.kt
vatbub
343,217,797
false
null
/*- * #%L * Open Thesaurus Java View * %% * Copyright (C) 2016 - 2021 <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 ...
0
Kotlin
0
0
a976aa86d7930509ff363e62061eaf4a2ea2f445
2,141
open-thesaurus-java-view
Apache License 2.0
app/src/androidTest/kotlin/jp/co/yumemi/android/code_check/TestExtension.kt
MarcoDzuong
406,395,463
false
null
package jp.co.yumemi.android.code_check import androidx.lifecycle.LiveData import androidx.lifecycle.Observer import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.GlobalScope import kotlinx.coroutines.launch import java.util.concurrent.CountDownLatch import java.util.concurrent.TimeUnit import java.util.con...
0
Kotlin
0
2
703e158b758aa7ddc05ab75a670b183d7c8d092f
1,098
yumemi-android-engineer-codecheck
Apache License 2.0
game/src/main/kotlin/gg/rsmod/game/message/impl/EventKeyboardMessage.kt
2011Scape
578,880,245
false
{"Kotlin": 8359518, "Dockerfile": 1354}
package org.alter.game.message.impl import org.alter.game.message.Message /** * @author Tom <<EMAIL>> */ data class EventKeyboardMessage(val events: List<KeyEvent>) : Message { data class KeyEvent(val key: Int, val lastKeyPress: Int) }
8
Kotlin
33
32
da66bb6d68ebae531ee325b909a6536e798b1144
244
game
Apache License 2.0
app/src/main/java/com/fruitable/Fruitable/app/presentation/view/setting/LeaveAppScreen.kt
ApptiveDev
535,231,127
false
{"Kotlin": 234453}
package com.fruitable.Fruitable.app.presentation.view.setting import android.content.Context import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.material.Scaffold import androidx.compose.material.Text import androidx.compose.material.rememberScaffoldState i...
0
Kotlin
3
3
70217aa3ebcf0a278fe2cb9fa9791e2621fd8f4f
5,731
apptive-17th-fruitable-frontend
MIT License
desktop/views/src/main/kotlin/com/soyle/stories/layout/config/dynamic/BaseStoryStructureConfig.kt
Soyle-Productions
239,407,827
false
null
package com.soyle.stories.layout.config.dynamic import com.soyle.stories.characterarc.baseStoryStructure.BaseStoryStructureScope import com.soyle.stories.domain.character.Character import com.soyle.stories.domain.theme.Theme import com.soyle.stories.layout.config.ToolConfig import com.soyle.stories.layout.config.ToolT...
45
Kotlin
0
9
1a110536865250dcd8d29270d003315062f2b032
2,495
soyle-stories
Apache License 2.0
app/src/main/kotlin/io/github/feelfreelinux/wykopmobilny/ui/modules/pm/conversationslist/ConversationsListPresenter.kt
esqr
107,263,447
true
{"Kotlin": 283399}
package io.github.feelfreelinux.wykopmobilny.ui.modules.pm.conversationslist import io.github.feelfreelinux.wykopmobilny.api.pm.PMApi import io.github.feelfreelinux.wykopmobilny.base.BasePresenter import io.github.feelfreelinux.wykopmobilny.utils.rx.SubscriptionHelperApi class ConversationsListPresenter(private val s...
0
Kotlin
0
0
39e5a49b2b9770d0c6c8a18d48670f53e96f32ff
932
WykopMobilny
MIT License
app/src/main/java/com/example/hobbyfi/adapters/chatroom/BaseChatroomListAdapter.kt
GGLozanov
310,078,278
false
null
package com.example.hobbyfi.adapters.chatroom import android.graphics.drawable.Drawable import android.view.View import android.widget.Button import android.widget.GridView import androidx.appcompat.widget.AppCompatImageButton import androidx.core.content.ContextCompat import androidx.paging.ExperimentalPagingApi impo...
0
Kotlin
3
1
afb30f72a4213c924fdf8e3cb5eefd76d6a0d320
3,912
Hobbyfi
Apache License 2.0
src/main/kotlin/Main.kt
TheCloudkill
853,557,598
false
{"Kotlin": 945}
package com.example import com.jessecorbett.diskord.bot.bot import com.jessecorbett.diskord.bot.classicCommands /* * This can be replaced with any method to load the bot token. This specific method is provided only for convenience * and as a way to prevent accidental disclosure of bot tokens. * * Alternative me...
0
Kotlin
0
0
35d108507225fbd3a5149fa6ffa29ea29e4be4c8
945
MayaDiscordBot
The Unlicense
app/src/main/java/com/precopia/david/lists/view/reauthentication/phone/buildlogic/PhoneReAuthComponent.kt
DavidPrecopia
150,194,957
false
null
package com.precopia.david.lists.view.reauthentication.phone.buildlogic import android.app.Application import androidx.fragment.app.Fragment import com.precopia.david.lists.common.buildlogic.ViewCommonModule import com.precopia.david.lists.common.buildlogic.ViewScope import com.precopia.david.lists.view.reauthenticati...
1
Kotlin
2
4
1f20908547972ac55036d1f804f5e93906aeb509
821
Lists
Apache License 2.0
fd-applet-server/src/main/kotlin/io/github/haruhisa_enomoto/server/routes/StorageRoutes.kt
haruhisa-enomoto
628,298,470
false
null
package io.github.haruhisa_enomoto.server.routes import io.github.haruhisa_enomoto.server.storage.SessionStorage import io.ktor.server.application.* import io.ktor.server.response.* import io.ktor.server.routing.* fun Route.storageRoutes() { post("/kill") { val clientId = call.request.queryParameters["cli...
0
Kotlin
0
0
8ec1afe14e9f0d6330d02652c1cd782a68fca5db
503
fd-applet
MIT License
generators/app/templates/clean-architecture/data/src/main/kotlin/com/nelosan/clean/data/rest/NsConnector.kt
nelosan
95,792,492
false
null
package <%= appPackage %>.data.rest import android.app.Application import <%= appPackage %>.data.parser.Serializer import okhttp3.OkHttpClient import retrofit2.Retrofit import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory import retrofit2.converter.gson.GsonConverterFactory import java.util.concurrent.TimeUnit ...
0
Kotlin
0
0
cff887582146c38ebda542640fb4e351a890f02e
1,250
yeoman-kotlin-clean
Apache License 2.0
app/src/main/java/au/com/tilbrook/android/rxkotlin/fragments/RotationPersist2Fragment.kt
beblank
95,780,281
true
{"Kotlin": 90878, "Java": 363}
package au.com.tilbrook.android.rxkotlin.fragments import android.os.Bundle import android.os.Handler import android.os.Looper.getMainLooper import android.view.Gravity import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ListView import au.com.tilbrook.androi...
0
Kotlin
0
0
6222cd92baa85d9159393861d4d5af9bb96b259a
4,101
RxKotlin-Android-Samples
Apache License 2.0
app/src/main/java/com/github/arburk/vscp/app/activity/RoundSettings.kt
arburk
640,248,515
false
null
package com.github.arburk.vscp.app.activity import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageButton import android.widget.ListView import androidx.fragment.app.Fragment import com.github.arburk.vscp.app.MainActivity import com...
9
Kotlin
0
0
a0c1411d4683f20c6317fde2220f0f7b173840be
2,013
vscp
Apache License 2.0
library/common/src/main/kotlin/com/fphoenixcorneae/ximalaya/common/router/mine/MineRouterHelper.kt
wenmagi
407,388,827
true
{"Kotlin": 62539}
package com.fphoenixcorneae.ximalaya.common.router.mine import androidx.fragment.app.Fragment import com.alibaba.android.arouter.facade.annotation.Autowired import com.fphoenixcorneae.ximalaya.common.constant.Router import com.fphoenixcorneae.ximalaya.thirdpart.ext.defaultARouter /** * @desc:MineRouterHelper * @dat...
0
null
0
0
be3c4b43bebd68638a29c868a63eb46508591f3b
598
Ximalaya
Apache License 2.0
android/src/main/java/io/github/tonnyl/moka/widget/MainSearchBarComposable.kt
ETSEmpiricalStudyKotlinAndroidApps
496,360,843
false
{"Kotlin": 1391177, "Swift": 100384, "CSS": 30407, "JavaScript": 13933, "Shell": 2990}
package io.github.tonnyl.moka.widget import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.foundation.shape.CircleShape import androidx.compose.material.* import androidx.compose.material.icons.Icons import android...
0
null
0
0
34db6153b274028158de1ee08f080b1a8f985325
4,721
Moka
MIT License
Olebo/src/jvmMain/kotlin/model/tools/Assign.kt
TristanBoulesteix
158,809,102
false
null
package jdr.exia.model.tools import kotlin.reflect.KMutableProperty0 /** * Assign a value to a mutable property if the value is different from the previous one */ fun <T> KMutableProperty0<T>.assignIfDifferent(value: T) { if (get() != value) set(value) }
0
Kotlin
0
1
263438ba7218f604c75369cdf29edf8232948cde
270
Olebo
Apache License 2.0
app/src/main/java/com/test/pocketaces/di/SearchComponent.kt
stAyushJain
342,903,412
false
null
package com.test.pocketaces.di import com.test.pocketaces.ui.SearchActivity import com.test.pocketaces.di.base.BaseComponent import dagger.Component @FeatureScope @Component(modules = [SearchModule::class, ViewModelModule::class], dependencies = [BaseComponent::class]) interface SearchComponent { fun inject(searc...
0
Kotlin
0
0
010a95a97cd75d665d41144abb6780d32075a7a4
348
MovieApp
Apache License 2.0
technocracy.foundation/src/main/kotlin/net/cydhra/technocracy/foundation/content/blocks/OreBlock.kt
tth05
198,904,996
true
{"Kotlin": 1367573, "GLSL": 13066}
package net.cydhra.technocracy.foundation.content.blocks import net.cydhra.technocracy.foundation.TCFoundation import net.cydhra.technocracy.foundation.model.blocks.api.AbstractBaseBlock import net.cydhra.technocracy.foundation.model.blocks.color.ConstantBlockColor import net.minecraft.block.material.Material import n...
0
Kotlin
0
1
057d12813fbcb73a11b202caae0631020b2fa303
1,100
Technocracy
MIT License
Foodtruck/app/src/main/java/com/example/foodtruck/ui/foodie/fragments/FoodTruckDetailsDialog.kt
Build-Week-FoodTruck-TrackR
215,889,839
false
null
package com.example.foodtruck.ui.foodie.fragments import android.app.AlertDialog import android.app.Dialog import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.widget.ArrayAdapter import android.widget.Button import android.widget.TextView import androidx.fragment.app.Dia...
0
Kotlin
1
0
76b215d943e9f9d0331cfd221bc5cc5800663554
3,155
AND
MIT License
src/main/kotlin/shop/itbug/fluttercheckversionx/tools/ExtensionsUtil.kt
mdddj
390,183,676
false
{"Kotlin": 505710, "HTML": 1106}
package shop.itbug.fluttercheckversionx.tools import javax.swing.BorderFactory import javax.swing.border.Border fun emptyBorder(): Border = BorderFactory.createEmptyBorder(0, 0, 0, 0)
4
Kotlin
4
37
92551e634b5d6c3ef37e10cba3fc05b9021bd577
186
dd_flutter_idea_plugin
MIT License
src/main/kotlin/shop/itbug/fluttercheckversionx/tools/ExtensionsUtil.kt
mdddj
390,183,676
false
{"Kotlin": 505710, "HTML": 1106}
package shop.itbug.fluttercheckversionx.tools import javax.swing.BorderFactory import javax.swing.border.Border fun emptyBorder(): Border = BorderFactory.createEmptyBorder(0, 0, 0, 0)
4
Kotlin
4
37
92551e634b5d6c3ef37e10cba3fc05b9021bd577
186
dd_flutter_idea_plugin
MIT License
src/main/kotlin/no/nav/jantra/river/bridge/EventRiver.kt
jantra-io
657,993,647
false
{"Kotlin": 283127, "HTML": 466}
package no.nav.jantra.river.bridge import kotlin.concurrent.thread import no.nav.helse.rapids_rivers.JsonMessage import no.nav.helse.rapids_rivers.MessageContext import no.nav.helse.rapids_rivers.RapidsConnection import no.nav.helse.rapids_rivers.River import no.nav.jantra.river.model.Event import no.nav.jantra.river....
0
Kotlin
0
1
9ed6336c790b6b8fb6da39e687168580fc9dde35
1,498
jantra-river-pond
MIT License
core/src/main/java/com/aidventory/core/barcode/generator/BarcodeGeneratorImpl.kt
yuriikonovalov
615,443,609
false
null
package com.aidventory.core.barcode.generator import com.aidventory.core.domain.interfaces.BarcodeGenerator import java.util.UUID import javax.inject.Inject internal class BarcodeGeneratorImpl @Inject constructor() : BarcodeGenerator { override fun generate(): String { val uuid = UUID.randomUUID() ...
0
Kotlin
0
0
9753d24aca8bb645cef085498124e58e9cda451a
382
aidventory
MIT License
view/src/androidMain/kotlin/tech/skot/view/live/SKLiveData.kt
MathieuScotet
235,318,194
false
null
package tech.skot.view.live import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleObserver import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.OnLifecycleEvent import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch actual open cl...
0
Kotlin
2
1
2a15509308fd2c9797c18a9ce0d97cc9454275b0
2,130
skot
Apache License 2.0
app/src/main/java/ly/david/mbjc/ui/collections/releases/ReleasesByCollectionViewModel.kt
lydavid
458,021,427
false
null
package ly.david.mbjc.ui.collections.releases import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import androidx.paging.PagingSource import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject import ly.david.data.domain.ReleaseListItemModel import ly.david.data.domain.toRel...
12
Kotlin
0
0
fed58c870f84e30299acfe2205b737e767459328
4,930
MusicSearch
Apache License 2.0
lib/src/main/kotlin/com/lemonappdev/konsist/core/provider/KoIsGenericTypeProviderCore.kt
LemonAppDev
621,181,534
false
{"Kotlin": 5054558, "Python": 46133}
package com.lemonappdev.konsist.core.provider import com.lemonappdev.konsist.api.declaration.type.KoTypeDeclaration import com.lemonappdev.konsist.api.provider.KoIsGenericTypeProvider internal interface KoIsGenericTypeProviderCore : KoIsGenericTypeProvider, KoSourceAndAliasTypeProviderCore, KoBaseProvider...
6
Kotlin
27
1,141
696b67799655e2154447ab45f748e983d8bcc1b5
690
konsist
Apache License 2.0
src/main/kotlin/io/saagie/astonparking/domain/Spot.kt
saagie
98,111,756
false
null
package io.saagie.astonparking.domain import com.fasterxml.jackson.annotation.JsonIgnore import org.springframework.data.annotation.Id import org.springframework.data.mongodb.core.mapping.Document @Document data class Spot( @JsonIgnore @Id val id: String?, val number: Int, var state: State, ...
1
Kotlin
1
0
d5cb3c6d16f146e78716e458f09e35927d4c113b
347
aston-parking
MIT License
framework/starter-logging/src/main/kotlin/top/bettercode/logging/websocket/WebsocketConfiguration.kt
top-bettercode
387,652,015
false
null
package top.bettercode.logging.websocket import org.slf4j.Logger import org.slf4j.LoggerFactory import org.springframework.boot.autoconfigure.condition.ConditionalOnClass import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty import org.springframework.boot.autoconfigure.condition.ConditionalOnW...
0
Kotlin
0
1
06bc1af2c336a85338f944c969e3be8d55efc387
1,384
summer
Apache License 2.0
app/src/main/java/com/satyajit/myshop/ui/searchscreen/SearchBar.kt
satyajitdas95
669,541,557
false
null
@file:OptIn(ExperimentalMaterial3Api::class) package com.satyajit.myshop.ui.searchscreen import androidx.compose.foundation.layout.wrapContentHeight import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.foundation.text.KeyboardActions import androidx.compose.foundation.text.KeyboardOptio...
0
Kotlin
0
0
4241eb2917d22212a01bc35cf2d83aae20686037
4,577
MyShop
MIT License
src/main/kotlin/br/com/zup/edu/pix/carrega/CarregaChavePixResponseConverter.kt
MirianLuz
346,391,954
true
{"Kotlin": 52537}
package br.com.zup.edu.pix.carrega import br.com.zup.edu.CarregaChavePixResponse import br.com.zup.edu.TipoChave import br.com.zup.edu.TipoConta import br.com.zup.edu.pix.ChavePixInfo import com.google.protobuf.Timestamp import java.time.ZoneId class CarregaChavePixResponseConverter { fun convert(chaveInfo: Chav...
0
Kotlin
0
0
f9ce7f193ef6772c3dc97aeed0817f65f8638d0c
1,831
orange-talents-01-template-pix-keymanager-grpc
Apache License 2.0
app/src/main/java/com/ctrlaccess/moviebuff/ResourceCompare.kt
galemu2
415,395,349
false
{"Kotlin": 67065}
package com.ctrlaccess.moviebuff import android.content.Context class ResourceCompare { fun isEqual( context: Context, resId: Int, string: String ): Boolean { return context.getString(resId) == string } }
0
Kotlin
0
0
287fa00f50eb97c7da2ef43231fbc59e4ccc6156
251
Movie-Buff
MIT License
app/src/main/java/com/jaseem/apod/presentation/ui/theme/Color.kt
Jaseemakhtar
570,799,517
false
null
package com.jaseem.apod.presentation.ui.theme import androidx.compose.ui.graphics.Color val Purple80 = Color(0xFFD0BCFF) val PurpleGrey80 = Color(0xFFCCC2DC) val Pink80 = Color(0xFFEFB8C8) val Purple40 = Color(0xFF6650a4) val PurpleGrey40 = Color(0xFF625b71) val Pink40 = Color(0xFF7D5260) val EbonyClay500 = Color(0...
0
Kotlin
0
0
c040ce5d7b32ca15088e0cd3bcdf64cb9d2dd894
366
AssignmentApod
Apache License 2.0
lib-client/src/main/java/com/baptistecarlier/kotlin/datagouvfr/client/model/Schema.kt
BapNesS
393,147,318
false
null
package com.baptistecarlier.kotlin.datagouvfr.client.model import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable /** * @property id The schema identifier * @property label The schema display name * @property versions The available versions of the schema */ @Serializable data class Sche...
3
Kotlin
0
2
f4b849f1b4377c781423bc0b4afbe37fd69ed3e7
499
kotlin-datagouvfr-client
Apache License 2.0
services/csm.cloud.project.news/src/main/kotlin/com/bosch/pt/csm/cloud/projectmanagement/event/model/LiveUpdateEvent.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}
package com.bosch.pt.csm.cloud.projectmanagement.event.model import com.bosch.pt.csm.cloud.projectmanagement.news.model.ObjectIdentifier import com.fasterxml.jackson.annotation.JsonProperty class LiveUpdateEvent( val root: ObjectIdentifier, @JsonProperty("object") val objectIdentifier: ObjectIdentifierWithVer...
0
Kotlin
3
9
9f3e7c4b53821bdfc876531727e21961d2a4513d
350
bosch-pt-refinemysite-backend
Apache License 2.0
app/src/main/java/xyz/teamgravity/channel/MainActivity.kt
raheemadamboev
330,661,855
false
null
package xyz.teamgravity.channel import android.os.Bundle import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity import androidx.lifecycle.lifecycleScope import com.google.android.material.snackbar.Snackbar import kotlinx.coroutines.flow.collect import xyz.teamgravity.channel.databinding.Ac...
0
Kotlin
0
0
b62717be76f831fc3c4a08e27f2ccb4d39f71e8c
1,255
channel-app
Apache License 2.0
app/src/main/java/com/example/hwangtube/ui/home/VideoListAdapter.kt
tutorhwang
737,711,501
false
{"Kotlin": 25571}
package com.example.hwangtube.ui.home import android.animation.ArgbEvaluator import android.animation.ValueAnimator import android.util.Log import android.view.LayoutInflater import android.view.ViewGroup import android.widget.ImageView import androidx.core.content.ContextCompat import androidx.core.graphics.drawable....
0
Kotlin
0
0
c354210fa230ffabfbb8e21dd2fdb89beae91b11
5,640
HwangTube
MIT License
src/main/kotlin/com/jalgoarena/domain/UserSubmissionsEvent.kt
jalgoarena
77,244,989
false
null
package com.jalgoarena.domain import com.fasterxml.jackson.annotation.JsonIgnoreProperties @JsonIgnoreProperties(ignoreUnknown = true) data class UserSubmissionsEvent( val type: String = "refreshUserSubmissions", val userId: String, val problemId: String, val submissionId: String )
2
Kotlin
22
3
f319b36b1b4a56e92f8277acc7ce33040a7e6363
316
JAlgoArena-Submissions
Apache License 2.0
app/src/main/java/com/thk/sevendays/ui/theme/SevenDaysTheme.kt
taehee28
453,343,657
false
{"Kotlin": 81020}
package com.thk.sevendays.ui.theme import androidx.compose.runtime.Composable import androidx.compose.runtime.ReadOnlyComposable object SevenDaysTheme { val colors: SevenDaysColors @Composable @ReadOnlyComposable get() = LocalSevenDaysColors.current }
0
Kotlin
1
0
6d0dfcf4439b7608c941054dfad65e6c305c79bf
281
SevenDays
MIT License
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/serenitea_pot/fish_farming/HomeScenePointFishFarmingInfo.kt
Anime-Game-Servers
642,871,918
false
{"Kotlin": 1651536}
package org.anime_game_servers.multi_proto.gi.data.serenitea_pot.fish_farming import org.anime_game_servers.core.base.Version.GI_3_2_0 import org.anime_game_servers.core.base.annotations.AddedIn import org.anime_game_servers.core.base.annotations.proto.ProtoModel @AddedIn(GI_3_2_0) @ProtoModel internal interface Home...
0
Kotlin
2
6
7639afe4f546aa5bbd9b4afc9c06c17f9547c588
428
anime-game-multi-proto
MIT License
inappmessaging/src/test/java/com/rakuten/tech/mobile/inappmessaging/runtime/data/repositories/ReadyForDisplayMessageRepositorySpec.kt
donnie-jp
358,824,345
true
{"Kotlin": 483530}
package com.rakuten.tech.mobile.inappmessaging.runtime.data.repositories import com.rakuten.tech.mobile.inappmessaging.runtime.BaseTest import com.rakuten.tech.mobile.inappmessaging.runtime.data.models.messages.Message import com.rakuten.tech.mobile.inappmessaging.runtime.data.models.messages.ValidTestMessage import c...
0
null
0
0
ee0ae9ba299dd769d7b2553d97abd22c68e3e3a8
5,742
android-inappmessaging
MIT License
app/src/main/java/com/example/androiddevchallenge/ui/home/ThemeCard.kt
onlyloveyd
347,247,313
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
4d54f6b663bd06a771003d20932534949d161def
3,113
Jetpack-Compose-SpeedRound
Apache License 2.0
JobScheduler/app/src/main/java/com/thakur/android/jobscheduler/BootCompletedReceiver.kt
ankitthakur
149,578,562
false
null
package com.thakur.android.jobscheduler import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import android.util.Log class BootCompletedReceiver: BroadcastReceiver() { override fun onReceive(context: Context?, intent: Intent?) { Log.d("1", "onReceive"); //...
0
Kotlin
0
0
d9c77a51b81e8ba1ae1bc8b8a9f921944c7190ca
385
JobScheduler
MIT License
app/src/main/java/com/bngel/bcy/dao/CosControllerDao/CosControllerDao.kt
Bngel
389,700,084
false
null
package com.bngel.bcy.dao.CosControllerDao import com.bngel.bcy.bean.CosController.deleteAcgCos.DeleteAcgCos import com.bngel.bcy.bean.CosController.deleteAcgLikeCosComment.DeleteAcgLikeCosComment import com.bngel.bcy.bean.CosController.deleteEsAllSearchHistory.DeleteEsAllSearchHistory import com.bngel.bcy.bean.CosCon...
0
Kotlin
0
0
f8091bdbb9d4b7720587def7411b72a9c2d6fe35
9,688
bcy
Apache License 2.0
src/main/kotlin/me/bristermitten/plumber/dsl/TaskLengthConfiguration.kt
knightzmc
205,340,852
false
null
package me.bristermitten.plumber.dsl import me.bristermitten.plumber.dsl.implementation.DefaultTaskLengthConfiguration import me.bristermitten.plumber.scheduling.timings.TimeUnitPicker /** * Interface for deciding how long a task should take * @param B the child interface for later configuration */ interface TaskL...
0
Kotlin
1
5
94086cda311397d42e7b603daaffbeb877f14177
1,032
plumber
MIT License
src/main/kotlin/com/github/jntakpe/releasemonitor/model/client/FolderChildren.kt
jntakpe
106,203,948
false
null
package com.github.jntakpe.releasemonitor.model.client data class FolderChildren(val uri: String)
0
Kotlin
0
0
8dbbac5839efaf1b4a314a5746885cc2bd5bee72
98
release-monitor
MIT License
backend/src/main/java/backend/mwvb/service/UserChangePasswordService.kt
ShorterThanDijkstra
475,805,906
false
{"Kotlin": 3601851, "Java": 135590, "Vue": 64832, "Shell": 574}
package backend.mwvb.service import backend.mwvb.entity.ResetPasswordInfo interface UserChangePasswordService { companion object { const val CHANGE_PASSWORD_INFO_EXPIRE = 10 * 60 * 1000L const val CHANGE_PASSWORD_JWT_SUBJECT = "USER-CHANGE-PASSWORD" const val CHANGE_PASSWORD_JWT_CLAIMS_KEY...
0
Kotlin
0
0
ee59db5d24c8817285a3f8f22fa3d0c983a5a451
430
silver-apples
MIT License
src/main/kotlin/com/kalikov/game/GameField.kt
kalikov
696,277,791
false
{"Kotlin": 422636}
package com.kalikov.game class GameField( private val eventRouter: EventRouter, private val imageManager: ImageManager, private val entityFactory: EntityFactory, private val spriteContainer: SpriteContainer, x: Int = Globals.UNIT_SIZE, y: Int = Globals.UNIT_SIZE ) { private companion object...
0
Kotlin
0
0
8430011ec8cf4957d6a4401752ea0dec8a099e65
2,116
battle-city
MIT License
app/src/main/java/br/com/iwatasoftware/basickotlinapp/activity/addcountry/AddCountryView.kt
BrendonIwata
248,399,355
false
null
package br.com.iwatasoftware.basickotlinapp.activity.addcountry interface AddCountryView { fun showToast (texto : String) }
0
Kotlin
0
0
02460528ba3beba47f223fc19c3e45dcf37ced00
128
CountryListKotlinApp
The Unlicense
dataforge-meta/src/commonMain/kotlin/space/kscience/dataforge/meta/MetaDelegate.kt
SciProgCentre
148,831,678
false
{"Kotlin": 393889}
package space.kscience.dataforge.meta import space.kscience.dataforge.meta.descriptors.MetaDescriptor import space.kscience.dataforge.misc.DFExperimental import space.kscience.dataforge.names.Name import space.kscience.dataforge.names.asName import kotlin.properties.ReadOnlyProperty /* Meta delegates */ public fun M...
14
Kotlin
3
24
8116489e8bd07e677a4fb78a4dd20d41172783d4
4,686
dataforge-core
Apache License 2.0
src/test/kotlin/dev/arli/openapi/model/TagTest.kt
alipovatyi
487,519,792
false
{"Kotlin": 451322}
package dev.arli.openapi.model import com.google.common.truth.Truth.assertThat import io.ktor.http.Url import org.junit.jupiter.api.Test internal class TagTest { @Test fun `Should create tag`() { val expectedTag = Tag( name = "Tag", description = "Description", ext...
0
Kotlin
1
1
3637b43dc2e255f263b559a5a80ebf80f3e78d96
1,001
ktor-openapi
Apache License 2.0
meistercharts-canvas/src/commonMain/kotlin/com/meistercharts/font/FontVariant.kt
Neckar-IT
599,079,962
false
null
/** * Copyright 2023 Neckar IT GmbH, Mössingen, Germany * * 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 appli...
3
null
3
5
ed849503e845b9d603598e8d379f6525a7a92ee2
1,047
meistercharts
Apache License 2.0
src/main/kotlin/com/bloock/sdk/proof/entity/Proof.kt
bloock
305,086,190
false
null
package com.bloock.sdk.proof.entity import com.bloock.sdk.shared.Utils import kotlin.math.floor class Proof( val leaves: List<String>, val nodes: List<String>, val depth: String, val bitmap: String ) { companion object { fun isValid(proof: Any): Boolean { if (proof is Proof) { ...
0
Kotlin
0
0
8ab2fa2de53e1ba94781e110456c13428300c65c
1,488
bloock-sdk-kotlin
MIT License
shared/src/commonMain/kotlin/ru/akella/cryptocoin/data/response/latestlisting/Data.kt
akella266
651,284,444
false
null
package ru.akella.cryptocoin.data.response.latestlisting import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class LatestListingData( @SerialName("circulating_supply") val circulatingSupply: Double, @SerialName("cmc_rank") val cmcRank: Double, @Seri...
0
Kotlin
0
0
964e22544c5bab7b6b67224e84a3c41dd960a0a0
804
CryptoCoin
Apache License 2.0
src/test/kotlin/com/jacobhyphentated/day20/Day20Test.kt
jacobhyphenated
572,119,677
false
null
package com.jacobhyphentated.day20 import com.jacobhyphenated.day20.Day20 import org.junit.jupiter.api.Test import kotlin.test.assertEquals class Day20Test { @Test fun testPart1_simple() { val input = """ A A ...
0
Kotlin
0
0
1a0b9cb6e9a11750c5b3b5a9e6b3d63649bf78e4
6,564
advent2019
The Unlicense
src/main/kotlin/no/nav/syfo/ws/OidcToken.kt
navikt
523,302,442
false
{"Kotlin": 21818, "Dockerfile": 276}
package no.nav.syfo.ws data class OidcToken(val access_token: String, val token_type: String, val expires_in: Long)
1
Kotlin
1
0
83e25c4c1587e00c766c7b55d364c47e4e487a3e
117
smgcp-proxy
MIT License
src/main/java/utils/MainScheduler.kt
ExpensiveBelly
104,675,798
false
null
package utils import io.reactivex.rxjava3.schedulers.Schedulers import java.util.concurrent.Executor val mainScheduler = Schedulers.from(Executor(Runnable::run))
0
Kotlin
11
19
e07a3aea09f9235077d6d0dd553af2cfe782b393
164
RxKata
MIT License
app/src/main/java/com/nedaluof/qurany/ui/screens/suras/SuraItem.kt
nedaluof
808,717,545
false
{"Kotlin": 94094}
package com.nedaluof.qurany.ui.screens.suras import androidx.compose.foundation.BorderStroke import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Sp...
0
Kotlin
0
0
d36ea9df3b56e05dcdfefce9a6793c95977550be
4,110
Qurany-Compose
Apache License 2.0
worldwind/src/commonMain/kotlin/earth/worldwind/geom/Ellipsoid.kt
WorldWindEarth
488,505,165
false
{"Kotlin": 2798182, "JavaScript": 459619, "HTML": 108987, "CSS": 8778}
package earth.worldwind.geom import kotlin.jvm.JvmStatic /** * Oblate ellipsoid with semi-major axis and inverse flattening. */ data class Ellipsoid( /** * One half of the ellipsoid's major axis length in meters, which runs through the center to opposite points on the * equator. */ val semiMa...
22
Kotlin
12
98
b5ee69cdd30f6c6a90bf3bec638a3bc5bdb0fbc2
1,897
WorldWindKotlin
Apache License 2.0
repository/src/main/kotlin/com/coach/flame/jpa/repository/configs/CustomerTypeRepository.kt
FlameNutrition
333,186,829
false
null
package com.coach.flame.jpa.repository.configs import com.coach.flame.jpa.entity.ClientType import com.coach.flame.jpa.repository.cache.CacheLoaderRepository import org.springframework.data.jpa.repository.JpaRepository import org.springframework.data.jpa.repository.Query import org.springframework.data.repository.quer...
20
Kotlin
0
0
7c1c498be8afbb39848a2f6eb27e97099ebda58f
734
flame-coach-service
MIT License
kotlin/src/main/kotlin/com/simiacryptus/skyenet/heart/KotlinInterpreter.kt
SimiaCryptus
619,329,127
false
{"Kotlin": 170461, "JavaScript": 17844, "CSS": 11163, "Java": 5935, "Scala": 5261, "HTML": 2533}
@file:Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN") package com.simiacryptus.skyenet.heart import com.simiacryptus.skyenet.Heart import org.jetbrains.kotlin.cli.common.CLIConfigurationKeys import org.jetbrains.kotlin.cli.common.arguments.K2JVMCompilerArguments import org.jetbrains.kotlin.cli.common.messages.CompilerMes...
1
Kotlin
0
1
0558081bc584b387b6f95b0fc51d29549559b937
11,275
SkyeNet
Apache License 2.0
android/src/main/java/co/touchlab/droidcon/android/viewModel/sessions/SessionDetailViewModel.kt
touchlab
140,843,272
false
{"Kotlin": 414936, "Swift": 72972, "HTML": 7463, "Python": 3635, "Ruby": 1869}
package co.touchlab.droidcon.android.viewModel.sessions import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import co.touchlab.droidcon.R import co.touchlab.droidcon.android.service.DateTimeFormatterViewService import co.touchlab.droidcon.android.viewModel.feedback.FeedbackViewModel import co....
11
Kotlin
77
931
100f83d3c6ad66c23321cfdceef84139cbba89fd
5,974
DroidconKotlin
Apache License 2.0
Formulary/app/src/main/java/com/bcha/formulary/view/main/MainInteractor.kt
BCHA-Formulary
197,990,810
true
{"Kotlin": 21500}
package com.bcha.formulary.view.main /** * Created by <NAME> on 2018-11-04. */ class MainInteractor : MainActivityMVP.Interactor { override fun unsubscribe() { } override fun onDestroy() { } }
0
Kotlin
0
0
be08eba07aeeeea1948e1348196f4432def529e6
212
Formulary-Android-v3
MIT License
browser-kotlin/src/jsMain/kotlin/web/html/Loading.kt
karakum-team
393,199,102
false
{"Kotlin": 6149909}
// Automatically generated - do not modify! @file:Suppress( "NAME_CONTAINS_ILLEGAL_CHARS", "NESTED_CLASS_IN_EXTERNAL_INTERFACE", ) package web.html // language=JavaScript @JsName("""(/*union*/{eager: 'eager', lazy: 'lazy'}/*union*/)""") sealed external interface Loading { companion object { val e...
0
Kotlin
6
26
3fcfd2c61da8774151cf121596e656cc123b37db
368
types-kotlin
Apache License 2.0
sdk/src/main/java/com/moyasar/android/sdk/stcpay/presentation/model/validator/STCPayOTPValidator.kt
moyasar
389,428,787
false
{"Kotlin": 136585}
package com.moyasar.android.sdk.stcpay.presentation.model.validator /** * Created by <NAME> on 22,September,2024 */ internal object STCPayOTPValidator { fun isValidOtp(otp: String): Boolean { return otp.length in 4..10 } }
0
Kotlin
4
0
22f9f5e0c4e6cdebbdd16a5031bd3189d5ec974c
241
moyasar-android-sdk
MIT License
examples/ongoing/src/main/java/me/digi/examples/ongoing/model/GenreInsight.kt
digime
198,619,583
false
{"Kotlin": 198719}
package me.digi.examples.ongoing.model data class GenreInsight(val title: String, val playCount: Int, val sampleSize: Int)
0
Kotlin
3
1
dd0b82f0c991547c220d09408b63996b758a4c0d
123
digime-sdk-android
Apache License 2.0
app/src/main/java/com/omralcorut/githubsearcher/ui/search/SearchFragment.kt
omralcrt
327,512,466
false
null
package com.omralcorut.githubsearcher.ui.search import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.widget.SearchView import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.recyclerview.widge...
0
Kotlin
0
0
5178b79c6d5667fe80d8825b39a87bbcf03cc2ab
3,299
GithubSearcher
The Unlicense
app/src/androidTest/java/br/com/fioalpha/heromarvel/ApplicationCustomTest.kt
fioalpha
264,306,059
false
null
package br.com.fioalpha.heromarvel import android.app.Application import android.content.Context import androidx.test.runner.AndroidJUnitRunner import org.koin.core.context.loadKoinModules import org.koin.core.context.unloadKoinModules import org.koin.core.module.Module class ApplicationCustomTest : CustomApplication...
0
Kotlin
0
3
7b0ee22d4431c2330e147de651b92022d61aea5a
759
Hero-Marvel
The Unlicense
app/src/main/java/com/cesarwillymc/culqui/data/sources/preferences/PreferencesDaoImpl.kt
cesarwillymc
702,712,147
false
{"Kotlin": 100901}
package com.cesarwillymc.culqui.data.sources.preferences import android.content.SharedPreferences import androidx.core.content.edit import com.cesarwillymc.culqui.util.constants.EMPTY_STRING import com.cesarwillymc.culqui.util.state.Result import javax.inject.Inject class PreferencesDaoImpl @Inject constructor( p...
0
Kotlin
0
0
4c78a8c8855369baf783579f178429076eb6b573
1,395
Culqui
Apache License 2.0
cutilslibrary/src/main/java/com/utils/library/ui/adapter/SingleTypeListAdapter.kt
EasonHolmes
390,691,373
false
{"Java": 270865, "Kotlin": 185892}
package com.utils.library.ui.adapter import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import androidx.viewbinding.ViewBinding import com.widget.library.refresh.recyclerview.DDRecyclerViewLayout import com.utils.library.ui.AbstractBaseAdapter /** * Created by cuiyang * 单类型item adapter ...
1
null
1
1
e551ff7e3f3bb7345483e09cbef8dcc547ef19e6
1,384
CBaseLibrary
Apache License 2.0
compiler/testData/diagnostics/testsWithStdLib/smartcasts/letStable.kt
JakeWharton
99,388,807
true
null
// KT-9051: Allow smart cast for captured variables if they are not modified fun foo(y: String?) { var x: String? = "" if (x != null) { y?.let { x != y } // x is not changed, smart cast is possible <!DEBUG_INFO_SMARTCAST!>x<!>.length } }
181
Kotlin
5748
83
4383335168338df9bbbe2a63cb213a68d0858104
275
kotlin
Apache License 2.0
app/src/main/java/knf/kuma/explorer/FragmentBase.kt
jordyamc
119,774,950
false
{"Kotlin": 2043989, "Java": 285074, "AIDL": 8794, "Ruby": 815}
package knf.kuma.explorer import androidx.fragment.app.Fragment abstract class FragmentBase : Fragment() { abstract fun onBackPressed(): Boolean }
24
Kotlin
39
159
99d8108ca5a9c32b89952aeb217319693df57688
154
UKIKU
MIT License
app/src/test/java/com/kiwiandroiddev/sc2buildassistant/feature/translate/domain/impl/CheckTranslationPossibleUseCaseImplTest.kt
kiwiandroiddev
93,439,255
false
{"Java": 312136, "Kotlin": 187776}
package com.kiwiandroiddev.sc2buildassistant.feature.translate.domain.impl import com.kiwiandroiddev.sc2buildassistant.feature.translate.domain.CheckTranslationPossibleUseCase import com.kiwiandroiddev.sc2buildassistant.feature.translate.domain.LanguageCode import com.kiwiandroiddev.sc2buildassistant.feature.translate...
1
null
1
1
83c7b27afae29a81689be2b5fbc74b84c4934ddb
3,494
starcraft-2-build-player
MIT License
app/src/main/java/com/droid47/petpot/home/presentation/di/ViewModelBindingModule.kt
AndroidKiran
247,345,176
false
null
package com.droid47.petpot.home.presentation.di import androidx.lifecycle.ViewModel import com.droid47.petpot.aboutUs.presentation.viewmodel.AboutUsViewModel import com.droid47.petpot.app.di.scopes.ViewModelKey import com.droid47.petpot.home.presentation.viewmodels.HomeViewModel import com.droid47.petpot.home.presenta...
1
null
1
2
07d9c0c4f0d5bef32d9705f6bb49f938ecc456e3
2,218
PetPot
Apache License 2.0
sample/src/main/java/indi/yume/tools/sample/PLazyList.kt
Yumenokanata
58,027,726
false
{"Java": 213171, "Kotlin": 23848}
package indi.yume.tools.sample /** * Created by yume on 16-5-16. */ class PLazyList<T> private constructor(val list: () -> Pair<T, Any>?) { constructor(): this({ null }) fun cons(head: T): PLazyList<T> = PLazyList({ Pair(head, list)}) fun head(): T? = list()?.first fun tail(): PLazyList<T> { ...
1
null
1
1
8550a359843c94dde7f48f49545763459e51897b
1,136
Avocado
Apache License 2.0
app/src/main/java/com/tawk/framework/mvvm/di/module/DatabaseModule.kt
evankhan1234
423,089,159
false
{"Gradle": 3, "Java Properties": 4, "Shell": 1, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Ignore List": 2, "JSON": 1, "Kotlin": 59, "XML": 194, "Java": 5, "INI": 3}
package com.tawk.framework.mvvm.di.module import android.content.Context import androidx.room.Room import com.tawk.framework.mvvm.data.database.Dao.ScheduleDao import com.tawk.framework.mvvm.data.database.SchedulerDatabase import com.tawk.framework.mvvm.data.database.repository.ScheduleRepository import com.tawk.frame...
0
Kotlin
0
0
26608cfb6d1cbce0f90540de6595082ba824ae43
1,292
Tawk
Apache License 2.0
app/src/main/java/priv/lzy/andtestsuite/utils/IThreadHandler.kt
s549520798
249,212,214
false
{"Java": 534335, "Kotlin": 48208}
package priv.lzy.andtestsuite.utils import android.os.Handler import android.os.Looper interface IThreadHandler { fun post(runnable: Runnable): Boolean fun postDelayed(runnable: Runnable, millis: Long): Boolean fun removeCallbacks(runnable: Runnable) } class ATSMainHandler : IThreadHandler { priv...
1
Java
1
1
8d2c1ef31ab2ce57d34d260f95a4dcbc9758cb5e
712
AndoridTestSuite
Apache License 2.0
compiler/testData/integration/ant/jvm/version/hello.kt
JakeWharton
99,388,807
false
null
package hello fun main(args : Array<String>) { println("Yo!") }
0
null
28
83
4383335168338df9bbbe2a63cb213a68d0858104
69
kotlin
Apache License 2.0
app/src/main/java/com/danhdueexoictif/androidgenericadapter/ui/base/BaseMainTabFragment.kt
DanhDue
251,030,651
false
null
package com.danhdueexoictif.androidgenericadapter.ui.base import android.os.Bundle import android.widget.Toast import androidx.activity.addCallback import androidx.databinding.ViewDataBinding import androidx.lifecycle.Observer import com.danhdueexoictif.androidgenericadapter.NavGlobalDirections import com.danhdueexoic...
0
null
5
7
02e0d14f09140531c8911ff6af46ee5d8eda4941
2,113
AndroidGenericAdapter
Apache License 2.0
app/src/main/java/com/rstit/connector/di/login/LoginModule.kt
rstgroup
113,022,246
false
{"Gradle": 5, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 100, "XML": 31, "Java": 3}
package com.rstit.connector.di.login import com.rstit.connector.di.base.scope.FragmentScope import com.rstit.connector.ui.login.CustomLoginViewAccess import com.rstit.connector.ui.login.LoginFragment import com.rstit.ui.auth.login.LoginViewAccess import dagger.Module import dagger.Provides /** * @author Tomasz Tryba...
0
Kotlin
0
0
4385ffd936f56a53aa1db9a83da4c9f3c3488fc9
752
rst-connector
Apache License 2.0
src/nl/rubensten/texifyidea/inspections/latex/LatexCollapseCiteInspection.kt
Tom-Evers
159,332,620
false
{"Gradle": 2, "Markdown": 5, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "YAML": 1, "Kotlin": 248, "Java": 137, "Java Properties": 1, "JFlex": 2, "CODEOWNERS": 1, "SVG": 2, "XML": 3, "HTML": 61, "Python": 1}
package nl.rubensten.texifyidea.inspections.latex import com.intellij.codeInspection.InspectionManager import com.intellij.codeInspection.LocalQuickFix import com.intellij.codeInspection.ProblemDescriptor import com.intellij.codeInspection.ProblemHighlightType import com.intellij.openapi.project.Project import com.int...
1
null
1
1
e77533d731fe0ec201180a682f9e9fbec12683ec
4,740
TeXiFy-IDEA
MIT License
feature-staking-impl/src/main/java/jp/co/soramitsu/staking/impl/presentation/staking/controller/confirm/ConfirmSetControllerFragment.kt
soramitsu
278,060,397
false
null
package jp.co.soramitsu.staking.impl.presentation.staking.controller.confirm import android.os.Bundle import androidx.fragment.app.viewModels import dagger.hilt.android.AndroidEntryPoint import dev.chrisbanes.insetter.applyInsetter import jp.co.soramitsu.common.base.BaseFragment import jp.co.soramitsu.common.mixin.imp...
15
null
30
89
1de6dfa7c77d4960eca2d215df2bdcf71a2ef5f2
2,447
fearless-Android
Apache License 2.0
log/src/main/java/android/log/UncaughtExceptionHandler.kt
eastar-dev
241,168,541
false
{"Gradle": 3, "Java Properties": 2, "YAML": 2, "Shell": 17, "Text": 2, "Ignore List": 2, "Batchfile": 1, "Markdown": 13, "INI": 1, "Gradle Kotlin DSL": 3, "Kotlin": 25, "XML": 12, "Java": 2}
@file:Suppress("unused") package android.log import android.app.Activity import android.app.Application import android.content.Context import android.graphics.Bitmap import android.os.Bundle import android.view.View import android.view.ViewGroup import android.view.Window import android.webkit.WebView import androidx...
3
Kotlin
1
7
fdd5aef622fdcb581b366c92b0443936dfb7b241
4,142
EastarLog2
Apache License 2.0
MoTrack/test-unit/src/androidTest/java/com/motrack/sdk/TestAttributionHandler.kt
motrackorg
542,491,377
false
null
package com.motrack.sdk import android.content.Context import android.net.Uri import android.os.SystemClock import androidx.test.ext.junit.rules.ActivityScenarioRule import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.filters.LargeTest import androidx.test.platform.app.InstrumentationRegistry imp...
0
Kotlin
0
0
c17229901ac6b1d10fc016297f6daefe8506b6c2
17,804
AndroidSDK
MIT License
app/src/main/kotlin/com/base/BaseActivity.kt
rooest
95,102,872
true
{"Kotlin": 12054}
package com.base import android.os.Bundle import android.support.v7.app.AppCompatActivity import com.base.di.component.AppComponent import com.base.mvp.BaseView /** * Created by <NAME> on 20.05.2017. * <EMAIL> * https://github.com/burakeregar */ abstract class BaseActivity: AppCompatActivity(), BaseView { ov...
0
Kotlin
0
0
393e44d73e16a0411138e460dfe93d1ce38e1011
557
KotlinMvpArchitecture
MIT License
wisefy/networkinfo/src/main/kotlin/com/isupatches/android/wisefy/networkinfo/entities/NetworkConnectionStatusData.kt
isuPatches
57,158,628
false
{"Kotlin": 1057623, "Shell": 4398}
/* * Copyright 2022 <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 agreed to in writin...
19
Kotlin
38
312
2d87a8f560c82b6e2447c20304793f3f00087fc3
1,675
android-wisefy
Apache License 2.0
data/src/main/java/com/mikhaellopez/data/net/NetworkChecker.kt
lopspower
522,617,808
false
{"Kotlin": 168656, "Java": 749}
package com.mikhaellopez.data.net import android.annotation.SuppressLint import android.content.Context import android.net.ConnectivityManager import android.net.NetworkCapabilities import android.os.Build import org.koin.core.annotation.Single /** * Copyright (C) 2022 <NAME> * Licensed under the Apache License Ver...
0
Kotlin
6
111
ce41ce693cdb09facc455224b8af8fedcff74ad1
1,436
PokeCardCompose
Apache License 2.0