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
PurposefulCommunity/app/src/main/java/com/bounswe/purposefulcommunity/Fragments/Instances/ShowTemplatesActivity.kt
yilmazvolkan
215,142,781
false
null
package com.bounswe.purposefulcommunity.Fragments.Instances import android.content.Context import android.os.Bundle import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import com.bounswe.mer...
1
null
1
3
cce8b454712517799e9823bc75dc396495cf38a7
3,748
purposefulCommunityPlatform
MIT License
app/src/debug/java/hu/mrolcsi/muzik/theme/ThemeTestViewModel.kt
mrolcsi
169,584,173
false
null
package hu.mrolcsi.muzik.theme import androidx.databinding.Observable import androidx.lifecycle.LiveData import hu.mrolcsi.muzik.data.model.theme.Theme interface ThemeTestViewModel : Observable { val theme: LiveData<Theme> }
3
Kotlin
0
0
23da4e22ebc1b6d44ee7ff3c3bfa21e9bd4e30d5
230
Muzik
Apache License 2.0
src/main/kotlin/com/slack/moshi/interop/gson/AdapterMethodsClassChecker.kt
slackhq
297,518,185
false
{"Kotlin": 43523}
/* * Copyright (C) 2020 Slack Technologies, 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
6
Kotlin
7
43
6efc8086f641a77667de0fa61748739f7cec60ea
1,465
moshi-gson-interop
Apache License 2.0
platform/lang-impl/src/com/intellij/ide/navbar/ui/StaticNavBarPanel.kt
xGreat
182,651,778
false
{"Text": 7190, "INI": 570, "YAML": 416, "Ant Build System": 10, "Batchfile": 28, "Shell": 616, "Markdown": 680, "Ignore List": 125, "Git Revision List": 1, "Git Attributes": 10, "EditorConfig": 244, "XML": 7188, "SVG": 3739, "Kotlin": 48905, "Java": 80666, "HTML": 3312, "Java Properties": 214, "Gradle": 419, "Maven POM...
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.ide.navbar.ui import com.intellij.ide.navbar.vm.StaticNavBarVm import com.intellij.openapi.application.EDT import com.intellij.openapi.project.Project import com.intellij.util.u...
1
null
1
1
fb5f23167ce9cc53bfa3ee054b445cf4d8f1ce98
1,046
intellij-community
Apache License 2.0
net/craftventure/core/metadata/EquippedItemsMeta.kt
Craftventure
770,049,457
false
{"Kotlin": 3656616, "Java": 684034}
package net.craftventure.core.metadata import com.comphenix.packetwrapper.WrapperPlayServerEntityMetadata import com.comphenix.protocol.wrappers.WrappedDataValue import kotlinx.coroutines.Job import net.craftventure.bukkit.ktx.entitymeta.getMetadata import net.craftventure.bukkit.ktx.entitymeta.getOrCreateMetadata imp...
0
Kotlin
1
21
015687ff6687160835deacda57121480f542531b
6,942
open-plugin-parts
MIT License
compose/src/main/kotlin/statemachine/WeilerStateMachine.kt
85vmh
543,628,296
false
null
package statemachine import ru.nsk.kstatemachine.* class WeilerStateMachine { val machine = createStateMachine { addInitialState(States.MachineStarted) { onEntry { println("Entered $this") } transition<Events.EStopPressed> { targetState ...
1
Kotlin
1
2
89a7092538447e34df90637b6b721c73a0ed739a
1,238
mindovercnclathe
Apache License 2.0
all-alarms/src/main/java/com/eventful/all/alarms/AllAlarmsViewModel.kt
tosoba
542,691,274
false
{"Kotlin": 428063, "Java": 1125}
package com.eventful.all.alarms import androidx.lifecycle.SavedStateHandle import com.eventful.alarms.AlarmsFlowProcessor import com.eventful.alarms.AlarmsViewModel import com.eventful.core.android.di.viewmodel.AssistedSavedStateViewModelFactory import com.squareup.inject.assisted.Assisted import com.squareup.inject.a...
0
Kotlin
0
0
0ba84b32680768acd172dfd54d57f513ed2d1baa
925
Eventful
MIT License
src/test/kotlin/no/nav/klage/oppgave/clients/PdlClientTest.kt
navikt
297,650,936
false
null
package no.nav.klage.oppgave.clients import io.mockk.every import io.mockk.impl.annotations.MockK import io.mockk.junit5.MockKExtension import no.nav.klage.oppgave.clients.pdl.graphql.HentPersonResponse import no.nav.klage.oppgave.clients.pdl.graphql.PdlClient import no.nav.klage.oppgave.util.TokenUtil import org.asse...
4
null
3
2
168c8c4b9ed5192ac6870f88b6e82a665b29a4b9
2,072
kabal-api
MIT License
ui/src/main/java/com/wb/ui/screens/contacts/list/ContactListLoadingScreen.kt
waynils
747,230,996
false
{"Kotlin": 82427}
package com.wb.ui.screens.contacts.detail import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material.CircularProgressIndicator import androidx.compose.material.Surface import androidx.compose.runtime.Composable import androidx.compose.ui.Alignme...
0
Kotlin
0
0
1c0064b1a63d37d4cc3987b321a954c3f25ea95d
912
contactApp
Apache License 2.0
src/main/kotlin/no/nav/familie/ba/sak/kjerne/autovedtak/satsendring/AutovedtakSatsendringScheduler.kt
navikt
224,639,942
false
{"Kotlin": 6319849, "Gherkin": 731897, "PLpgSQL": 4478, "Shell": 1628, "Dockerfile": 196}
package no.nav.familie.ba.sak.kjerne.autovedtak.satsendring import no.nav.familie.ba.sak.config.FeatureToggleConfig import no.nav.familie.leader.LeaderClient import no.nav.familie.unleash.UnleashService import org.slf4j.LoggerFactory import org.springframework.scheduling.annotation.Scheduled import org.springframework...
4
Kotlin
1
9
e531227fb85cd4d7ef8f85fea7e3d285605a5527
1,916
familie-ba-sak
MIT License
app/src/main/java/com/example/todo/adapters/TodoAdapter.kt
it-21360978
625,595,540
false
{"Kotlin": 7982}
package com.example.todo.adapters import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.CheckBox import android.widget.ImageView import android.widget.Toast import androidx.recyclerview.widget.RecyclerView import com.example.todo...
0
Kotlin
0
0
c4ce08bcafcab4a9a8323195b3530133ee82a448
2,268
ToDo-Application
MIT License
src/main/kotlin/dev/shtanko/algorithms/leetcode/NumberOfSteps.kt
ashtanko
203,993,092
false
null
/* * Copyright 2020 Oleksii Shtanko * * 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 agree...
4
Kotlin
0
18
ffacb9bfbdfa68628386e7f2585e3edd4508d9e8
1,541
kotlab
Apache License 2.0
library/src/main/java/io/github/boguszpawlowski/composecalendar/header/WeekState.kt
boguszpawlowski
355,182,891
false
{"Kotlin": 88782}
package io.github.boguszpawlowski.composecalendar.header import androidx.compose.runtime.Stable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.saveable.Saver import androidx.compose.runtime.setValue import io.github.boguszpawlowski.composecalenda...
5
Kotlin
37
285
1cdea2bbf0741f0230c680fd30b53b7472b4bea5
1,087
ComposeCalendar
Apache License 2.0
app/src/main/java/com/aposiamp/smartliving/domain/utils/Result.kt
ApostolisSiampanis
783,913,411
false
{"Kotlin": 490999}
package com.aposiamp.smartliving.domain.utils sealed class Result<out T> { data class Success<out T>(val result: T) : Result<T>() data class Error(val exception: Exception) : Result<Nothing>() data object Loading : Result<Nothing>() }
0
Kotlin
0
3
8184e402e0121dba16a08675395184bd5413f20f
247
Smart_Living
MIT License
backend/src/main/kotlin/com/denchic45/studiversity/database/table/Attachments.kt
denchic45
435,895,363
false
{"Kotlin": 2103689, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867}
package com.denchic45.studiversity.database.table import com.denchic45.stuiversity.api.course.element.model.AttachmentType import org.jetbrains.exposed.dao.UUIDEntity import org.jetbrains.exposed.dao.UUIDEntityClass import org.jetbrains.exposed.dao.id.EntityID import org.jetbrains.exposed.dao.id.UUIDTable import jav...
0
Kotlin
0
7
9d1744ffd9e1652e93af711951e924b739e96dcc
1,143
Studiversity
Apache License 2.0
src/main/kotlin/org/eightsines/kotlinperfopt/A5.kt
restorer
217,991,803
false
{"Java": 16759, "Kotlin": 7977}
package org.eightsines.kotlinperfopt class A5 { class Item(@JvmField val x: Int, @JvmField var y: Int) private fun foo(item: Item) { item.y = 2 println("${item.x}, ${item.y}") } }
1
null
1
1
00f3010d5c21810e2b3068283323ac933b2c9a22
210
grocon-19-kotlin-perf-opt
MIT License
kotlintest-tests/src/test/kotlin/com/sksamuel/kotlintest/tests/specs/BehaviourSpecLambdaTest.kt
martinlau
127,972,633
false
null
package io.kotlintest.specs import io.kotlintest.shouldBe import org.junit.jupiter.api.extension.ExtendWith @ExtendWith() class BehaviourSpecLambdaTest : AbstractBehaviorSpec() { data class User(var email: String? = "") var user: User? = null init { given("user") { user = User(null) `when`(...
1
null
1
1
963fdbe4221e50b4344fbe408bbc0a24a44ba142
871
kotlintest
Apache License 2.0
comsumerapp/src/main/java/com/noranekoit/comsumerapp/MappingHelper.kt
NoraNekoIT
398,503,232
false
null
package com.noranekoit.comsumerapp import android.database.Cursor import com.noranekoit.comsumerapp.model.UserGithub object MappingHelper { fun mapCursorToArrayList(cursor: Cursor?): ArrayList<UserGithub>{ val list = ArrayList<UserGithub>() if (cursor != null){ while (cursor.moveToNext...
0
Kotlin
0
0
45514d5cc640ebe4c2729afaf6986f30eec64030
1,005
Learn-Fundamentals-Android-Apps
MIT License
parent/src/main/java/sk/backbone/parent/repositories/server/client/exceptions/NotFoundException.kt
backbonesk
273,036,191
false
null
package sk.backbone.parent.repositories.server.client.exceptions import com.android.volley.VolleyError class ForbiddenException @JvmOverloads constructor(volleyError: VolleyError? = null) : ParentHttpException(volleyError)
0
Kotlin
1
2
efb701901aaf4b91e9273dbdcc16730d92ef7c41
224
parent
MIT License
compiler/testData/codegen/box/specialBuiltins/enumAsOrdinaled.kt
JakeWharton
99,388,807
false
null
// IGNORE_BACKEND: JS_IR interface Ordinaled { val ordinal: Int } enum class A : Ordinaled { X } fun box(): String { val result = (A.X as Ordinaled).ordinal if (result != 0) return "fail 1: $result" return "OK" }
181
null
8
83
4383335168338df9bbbe2a63cb213a68d0858104
237
kotlin
Apache License 2.0
services/csm.cloud.project.activity/src/main/kotlin/com/bosch/pt/csm/cloud/projectmanagement/project/workarea/facade/listener/strategies/state/UpdateStateFromWorkAreaListEvent.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 - 2021 * * ************************************************************************ */ package com.bosch.pt.csm.cloud.projectmanagement.project.workarea.facade.listener.strategies.sta...
0
Kotlin
3
9
9f3e7c4b53821bdfc876531727e21961d2a4513d
1,488
bosch-pt-refinemysite-backend
Apache License 2.0
core/designsystem/src/main/java/com/melih/android/pokeapp/core/designsystem/compose/DevicePreviews.kt
melomg
458,631,034
false
{"Kotlin": 95088}
package com.melih.android.pokeapp.core.designsystem.compose import android.content.res.Configuration import androidx.compose.ui.tooling.preview.Preview @Preview( showBackground = true, name = "phone", device = "spec:shape=Normal,width=360,height=640,unit=dp,dpi=480", uiMode = Configuration.UI_MODE_NIG...
3
Kotlin
0
0
00fbfe60e75d26eeda2e9e1ce87250a6604d2fd1
1,081
pokeapp-android
Apache License 2.0
HingeAngle/src/main/java/com/microsoft/device/display/samples/hingeangle/fragments/SingleScreenFragment.kt
microsoft
239,923,437
false
null
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. * */ package com.microsoft.device.display.samples.hingeangle.fragments import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Button im...
4
null
16
38
34170fbae5fcee097e9c852d14888d8c4118689e
5,402
surface-duo-sdk-samples-kotlin
MIT License
src/main/kotlin/uk/gov/justice/digital/hmpps/oauth2server/resource/MfaControllerAccountDetails.kt
ministryofjustice
118,512,431
false
{"Kotlin": 2268341, "HTML": 207227, "Shell": 16327, "CSS": 11834, "Dockerfile": 1459, "JavaScript": 439, "Procfile": 74}
@file:Suppress("SpringJavaInjectionPointsAutowiringInspection", "SpringMVCViewInspection") package uk.gov.justice.digital.hmpps.oauth2server.resource import com.microsoft.applicationinsights.TelemetryClient import org.springframework.beans.factory.annotation.Value import org.springframework.security.core.Authenticati...
5
Kotlin
4
8
f2c661d8e7237e8c500682366ad87e0a0b0b6359
4,554
hmpps-auth
MIT License
feature/detail/src/main/kotlin/team/duckie/app/android/feature/detail/viewmodel/sideeffect/DetailSideEffect.kt
duckie-team
503,869,663
false
null
/* * Designed and developed by Duckie Team, 2022 * * Licensed under the MIT. * Please see full license: https://github.com/duckie-team/duckie-android/blob/develop/LICENSE */ package team.duckie.app.android.feature.detail.viewmodel.sideeffect import team.duckie.app.android.feature.detail.viewmodel.DetailViewModel...
32
null
2
8
5dbd5b7a42c621931d05a96e66431f67a3a50762
1,486
duckie-android
MIT License
src/main/kotlin/yandex/cloud/toolkit/ui/dialog/CLIAuthConfigDialog.kt
yandex-cloud
386,235,739
false
{"Kotlin": 506192, "HTML": 1351}
package yandex.cloud.toolkit.ui.dialog import com.intellij.icons.AllIcons import com.intellij.ide.util.BrowseFilesListener import com.intellij.openapi.ui.DialogWrapper import com.intellij.openapi.ui.TextFieldWithBrowseButton import com.intellij.openapi.ui.ValidationInfo import com.intellij.ui.ColoredListCellRenderer i...
9
Kotlin
4
65
2f8eaa54aad978e5ab452e5d05ba573f68b72943
7,066
ide-plugin-jetbrains
MIT License
data/RF00793/rnartist.kts
fjossinet
449,239,232
false
{"Kotlin": 8214424}
import io.github.fjossinet.rnartist.core.* rnartist { ss { rfam { id = "RF00793" name = "consensus" use alignment numbering } } theme { details { value = 3 } color { location { 12 to ...
0
Kotlin
0
0
3016050675602d506a0e308f07d071abf1524b67
2,233
Rfam-for-RNArtist
MIT License
features/search/src/test/java/com/chesire/nekome/app/search/results/ResultsViewModelTests.kt
rmwthorne
330,431,997
true
{"Kotlin": 497025, "Ruby": 7928, "JavaScript": 64}
package com.chesire.nekome.app.search.results import com.chesire.nekome.core.AuthCaster import com.chesire.nekome.core.Resource import com.chesire.nekome.core.flags.SeriesType import com.chesire.nekome.core.flags.UserSeriesStatus import com.chesire.nekome.core.settings.ApplicationSettings import com.chesire.nekome.lib...
0
null
0
0
88a808b7ad4131f298cffbd9de21e2c9aa085093
3,787
Nekome
Apache License 2.0
Kotlin-Samples/src/main/kotlin/chapter2/Recipe3.kt
PacktPublishing
126,314,798
false
null
package chapter2 /** * Chapter: Expressive functions and adjustable interfaces * Recipe: Extending functionalities of classes */ fun main(vararg args: String) { val array: Array<String> = arrayOf("a", "b", "c", "d") array.swap("c", "b") print(array.joinToString()) } fun <T> Array<T>.swap(a: T, b: T) { ...
0
Kotlin
24
26
a9118396250ded6f4466c20fd0dc62ea6a598ed1
609
Kotlin-Standard-Library-Cookbook
MIT License
pop-miners/altchain-pop-miner/src/main/kotlin/org/veriblock/miners/pop/api/controller/MiningController.kt
VeriBlock
179,742,374
false
null
// VeriBlock NodeCore // Copyright 2017-2021 <NAME> // All rights reserved. // https://www.veriblock.org // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licenses/mit-license.php. package org.veriblock.miners.pop.api.controller import com.papsign.ktor.op...
72
null
16
12
ef06c51c1410ba59da13403b65e367b21dcfed21
8,451
nodecore
MIT License
mobile_app1/module41/src/main/java/module41packageKt0/Foo100.kt
uber-common
294,831,672
false
null
package module41packageKt0; annotation class Foo100Fancy @Foo100Fancy class Foo100 { fun foo0(){ module41packageKt0.Foo99().foo6() } fun foo1(){ foo0() } fun foo2(){ foo1() } fun foo3(){ foo2() } fun foo4(){ foo3() } fun foo5(){ foo4() } fun foo6(){ foo5() ...
6
Java
6
72
9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e
324
android-build-eval
Apache License 2.0
kt.kt
cucerdariancatalin
598,115,774
false
null
fun boyerMoore(text: String, pattern: String): Int { val n = text.length val m = pattern.length val right = IntArray(256) { -1 } for (i in 0 until m) { right[pattern[i].toInt()] = i } var skip: Int for (i in 0 <= n - m) { skip = 0 for (j in m - 1 downTo 0) { ...
0
Kotlin
0
0
b9b2bc51b275212943511a7222198a4fd00c972c
525
boyer-moore-algorithm
MIT License
src/main/kotlin/org/mechdancer/algebra/function/matrix/Check.kt
MechDancer
128,765,281
false
null
package org.mechdancer.algebra.function.matrix import org.mechdancer.algebra.core.Matrix import org.mechdancer.algebra.doubleEquals import org.mechdancer.algebra.implement.matrix.builder.I import org.mechdancer.algebra.implement.matrix.special.* fun Matrix.isSquare() = row == column fun Matrix.isNotSquare() = row != ...
1
Kotlin
1
6
2cbc7e60b3cd32f46a599878387857f738abda46
962
linearalgebra
Do What The F*ck You Want To Public License
contentchef-jvm-common/src/main/java/io/contentchef/common/exception/InvalidResponseException.kt
ContentChef
237,468,762
false
null
package io.contentchef.common.exception /** * Exception thrown in case the server response is not a valid JSON object * [responseContent] server's response */ data class InvalidResponseException(val responseContent: String) : Throwable()
1
null
1
1
5b10f4e2f32a4bcb81296a15dfbf27e81bece856
241
contentchef-jvm
Apache License 2.0
core/database/src/main/java/com/merxury/blocker/core/database/cmpdetail/ComponentDetailDao.kt
lihenggui
115,417,337
false
null
/* * Copyright 2023 Blocker * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
20
Kotlin
39
418
a038beb2ada9a2d4cf9558f72ec338fcd58f3e04
1,405
blocker
Apache License 2.0
back/src/test/kotlin/org/kontza/musicalumbrellaback/MusicalUmbrellaBackApplicationTests.kt
kontza
471,445,928
false
null
package org.kontza.musicalumbrellaback import org.junit.jupiter.api.Test import org.springframework.boot.test.context.SpringBootTest @SpringBootTest class MusicalUmbrellaBackApplicationTests { @Test fun contextLoads() { } }
0
Kotlin
0
0
8baa46a2dfbe764b1f307a587844eeec4f3f0e79
231
musical-umbrella
MIT License
app/src/main/java/com/example/kavach/Onboarding/Splash_Screen.kt
ShivangeeRajput
739,837,492
false
{"Kotlin": 31907, "Java": 2073}
package com.Onboarding import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.os.Handler import com.example.kavach.R class Splash_Screen : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceS...
0
Kotlin
0
2
b2268df4dfdb6ae34878116452ccf97a81525c63
605
Kavach
Apache License 2.0
kirc-core/src/main/kotlin/de/cmdjulian/kirc/spec/manifest/OciManifestV1.kt
cmdjulian
524,628,199
false
{"Kotlin": 99363}
package de.cmdjulian.kirc.spec.manifest import io.goodforgod.graalvm.hint.annotation.ReflectionHint // https://github.com/opencontainers/image-spec/blob/main/manifest.md @ReflectionHint data class OciManifestV1( override val schemaVersion: Byte, override val mediaType: String?, override val config: LayerR...
3
Kotlin
0
10
d91d4899dfb5dbaa268a113942288db87b27eebd
649
kirc
MIT License
components/flow/flow-service/src/test/kotlin/net/corda/flow/maintenance/TimeoutEventCleanupProcessorTest.kt
corda
346,070,752
false
{"Kotlin": 20585393, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244}
package net.corda.flow.maintenance import net.corda.avro.serialization.CordaAvroDeserializer import net.corda.data.flow.FlowTimeout import net.corda.data.flow.state.checkpoint.Checkpoint import net.corda.data.messaging.mediator.MediatorState import net.corda.flow.pipeline.exceptions.FlowFatalException import net.corda...
86
Kotlin
27
69
0766222eb6284c01ba321633e12b70f1a93ca04e
4,974
corda-runtime-os
Apache License 2.0
app/src/main/java/com/vr/app/sh/ui/books/viewmodel/AddBookViewModel.kt
Vadim-Rudak
510,027,925
false
{"Kotlin": 260458}
package com.vr.app.sh.ui.books.viewmodel import android.content.res.Resources import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.vr.app.sh.R import com.vr.app.sh.domain.UseCase.GetAllBookListInternet import com.vr.app.sh.domain.UseCase.SaveBookListInBD import com.vr.app.sh.domain....
0
Kotlin
0
0
740f626a79c53adc4deda25ce2ec3a85b984c981
1,787
SH
Apache License 2.0
SceytChatUiKit/src/main/java/com/sceyt/chatuikit/data/channeleventobserver/ChannelMembersEventData.kt
sceyt
549,073,085
false
{"Kotlin": 2361738, "Java": 107894}
package com.sceyt.chatuikit.data.channeleventobserver import com.sceyt.chatuikit.data.models.channels.SceytChannel import com.sceyt.chatuikit.data.models.channels.SceytMember data class ChannelMembersEventData( val channel: SceytChannel, val members: List<SceytMember>, val eventType: ChannelMe...
0
Kotlin
1
2
aa03d3d9f046243cd1bbb98bd5e9d5abcfeae822
336
sceyt-chat-android-uikit
MIT License
interfaces/src/main/kotlin/com/noxcrew/interfaces/view/PlayerInterfaceView.kt
Noxcrew
764,059,799
false
{"Kotlin": 111397}
package com.noxcrew.interfaces.view import com.noxcrew.interfaces.InterfacesListeners import com.noxcrew.interfaces.interfaces.PlayerInterface import com.noxcrew.interfaces.inventory.PlayerInterfacesInventory import com.noxcrew.interfaces.pane.PlayerPane import com.noxcrew.interfaces.utilities.runSync import net.kyori...
1
Kotlin
4
22
66363479038df90195c6c2a187a9fc83d992b075
2,963
interfaces-kotlin
MIT License
app-desktop/src/jvmMain/kotlin/io/stardewvalleydesigner/screens/mainmenu/rightside/topmenu/LayoutsGrid.kt
AzimMuradov
377,785,069
false
{"Kotlin": 641349, "HTML": 864, "JavaScript": 461}
/* * Copyright 2021-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
17
Kotlin
0
3
fb2ce5dc14eaad43c9003b84979be998346de2d1
3,199
stardew-valley-designer
Apache License 2.0
core/src/commonMain/kotlin/io/data2viz/math/ticks.kt
data2viz
89,368,762
false
null
/* * Copyright (c) 2018-2019. data2viz sàrl. * * 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...
80
null
29
400
bc4ed872c526264727f868f5127e48462301dbf8
2,848
data2viz
Apache License 2.0
browser-kotlin/src/jsMain/kotlin/web/cssom/CSSMathMax.kt
karakum-team
393,199,102
false
null
// Automatically generated - do not modify! package web.cssom /** * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax) */ external class CSSMathMax( vararg values: CSSNumberish, ) : CSSMathValue { /** * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSMathMax/values) ...
0
null
8
36
95b065622a9445caf058ad2581f4c91f9e2b0d91
360
types-kotlin
Apache License 2.0
data-onecall/src/main/java/de/niklasbednarczyk/nbweather/data/onecall/models/common/WeatherModelData.kt
NiklasBednarczyk
529,683,941
false
{"Kotlin": 1005119}
package de.niklasbednarczyk.nbweather.data.onecall.models.common import de.niklasbednarczyk.nbweather.core.common.nullsafe.nbNullSafe import de.niklasbednarczyk.nbweather.data.onecall.local.models.common.WeatherModelLocal import de.niklasbednarczyk.nbweather.data.onecall.remote.models.common.WeatherModelRemote import ...
18
Kotlin
0
1
e10dbb86dc6e37eda9dba29dd1ee51aa19c4477d
1,335
NBWeather
MIT License
app/src/main/java/com/hoc/comicapp/ui/downloaded_comics/DownloadedComicsFragment.kt
ironelder
259,572,670
true
{"Kotlin": 416967}
package com.hoc.comicapp.ui.downloaded_comics import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.view.isVisible import androidx.fragment.app.Fragment import androidx.navigation.fragment.findNavController import androidx.recyclerview.w...
0
null
0
0
aabdac73a86487a89350c8b13ce62c956a70825f
5,597
ComicReaderApp_MVI_Coroutine_RxKotlin_Jetpack
MIT License
page/src/main/kotlin/dev/entao/web/page/ext/TagEvents.kt
yangentao
532,703,720
false
null
package dev.entao.web.page.ext import dev.entao.web.tag.tag.AnchorTag import dev.entao.web.tag.tag.ButtonTag import dev.entao.web.tag.tag.FormTag import dev.entao.web.tag.tag.script fun FormTag.needsValidation() { classAdd("needs-validation") val formId = this.idx script { """ pagescri...
0
Kotlin
0
0
f6431e275c77539efb27bde89b0292e0f783413b
782
WebSweet
Apache License 2.0
app/src/main/java/com/aqib/chatty/ui/ChattyApp.kt
aqib-m31
733,899,799
false
{"Kotlin": 99636, "Shell": 1285}
package com.aqib.chatty.ui import android.content.Context import android.content.Intent import androidx.activity.compose.BackHandler import androidx.compose.foundation.Image import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spa...
0
Kotlin
0
6
79ae7c4331eed9c434c2fe390a2bc28234112dfc
8,134
Chatty
MIT License
app/src/main/java/com/example/androiddevchallenge/models/Pet.kt
Varsha-Kulkarni
342,268,961
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
d2de368010ecf69b0b859fa90664294d3a40c856
1,018
AdoptMe
Apache License 2.0
app/src/main/java/com/borabor/movieapp/domain/usecase/GetSearchResults.kt
bbor98
510,432,451
false
{"Kotlin": 205881}
package com.borabor.movieapp.domain.usecase import com.borabor.movieapp.domain.repository.MovieRepository import com.borabor.movieapp.domain.repository.PersonRepository import com.borabor.movieapp.domain.repository.TvRepository import com.borabor.movieapp.util.Constants import com.borabor.movieapp.util.Detail import c...
0
Kotlin
4
15
369393ac387ed6c1c30939831b60c78b51f6f56a
1,192
movieapp-mvvm-clean-architecture
MIT License
app/src/main/java/org/tuerantuer/launcher/ui/components/SettingsSwitch.kt
digitalfabrik
522,865,990
false
null
package org.tuerantuer.launcher.ui.components import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.com...
6
null
0
8
ef7ed60e78e2326ef93c7fddabcbc538d57e35ac
2,174
accessibility-launcher
Apache License 2.0
hello-grpc-kotlin/stub/src/main/kotlin/org/feuyeux/grpc/conn/Connection.kt
feuyeux
406,614,264
false
{"JavaScript": 72419, "Shell": 69280, "Swift": 54396, "Dart": 49900, "Java": 41928, "Go": 35972, "C++": 22657, "Rust": 21675, "Python": 19876, "Kotlin": 19251, "C#": 19091, "Dockerfile": 14975, "TypeScript": 10902, "PHP": 9842, "CMake": 7066, "Batchfile": 266}
package org.feuyeux.grpc.conn import io.grpc.ClientInterceptor import io.grpc.ManagedChannel import io.grpc.ManagedChannelBuilder import io.grpc.netty.GrpcSslContexts import io.grpc.netty.NegotiationType import io.grpc.netty.NettyChannelBuilder import io.netty.handler.ssl.SslContext import io.netty.handler.ssl.SslCont...
0
JavaScript
0
9
c985bd5a8a7e119ba152fa7a4aad7d3a9e17efaf
2,456
hello-grpc
Apache License 2.0
core/src/main/java/tachiyomi/core/util/lang/BooleanExtensions.kt
aniyomiorg
358,887,741
false
{"Kotlin": 4787748}
package tachiyomi.core.util.lang fun Boolean.toLong() = if (this) 1L else 0L
232
Kotlin
270
4,425
e1087abfb68988d21cd3d80253ee955b2d58cd05
78
aniyomi
Apache License 2.0
core/src/main/java/threads4j/model/ThreadsUser.kt
takke
817,329,095
false
{"Kotlin": 21978}
package threads4j.model import com.google.gson.annotations.SerializedName data class ThreadsUser( @SerializedName("id") val id: String, @SerializedName("username") val username: String? = null, @SerializedName("threads_profile_picture_url") val threadsProfilePictureUrl: String? = null, @Se...
0
Kotlin
0
2
dace2b203387378643c4107b132a0947cb9176f9
397
threads4j
MIT License
build-logic/convention/src/main/kotlin/com/autonomousapps/convention/ConventionPlugin.kt
autonomousapps
217,134,508
false
null
package com.autonomousapps.convention import nexus.Credentials import nexus.NexusPublishTask import org.gradle.api.Action import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.artifacts.VersionCatalogsExtension import org.gradle.api.plugins.JavaPluginExtension import org.gradle.api.provider....
93
null
99
910
da02a56a0b7a00a26876cdaa29321f8376bf7099
7,916
dependency-analysis-android-gradle-plugin
Apache License 2.0
identity-sample/src/main/java/io/falu/identity/VerificationViewModel.kt
faluapp
345,511,436
false
null
package io.falu.identity import android.app.Application import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.liveData import io.falu.identity.models.IdentityVerification import io.falu.identity.models.IdentityVerificationCreationRequest import io.falu.identity.models.IdentityVerificationOptions import ...
4
null
0
1
7e029bde160f676bc2d4dfe86c355aa23af8ce7d
4,549
falu-android
MIT License
Library/base/src/main/kotlin/com/existing/boilerx/core/base/view/SystemUISpaceView.kt
THE-EXISTING
176,088,785
false
null
package com.existing.boilerx.core.base.view import android.annotation.SuppressLint import android.content.Context import android.graphics.Rect import android.os.Build import android.util.AttributeSet import android.view.View import android.view.WindowInsets import androidx.annotation.RequiresApi import com.existing.bo...
1
null
36
2
6483e245ea45db0c8642b30366d6a81e86d8b48d
4,573
boilerx-android-architecture
Apache License 2.0
app/src/main/java/com/example/beering/feature/auth/join/domain/JoinRepository.kt
Beering-KUIT
659,221,278
false
{"Kotlin": 234542, "HTML": 25307}
package com.example.beering.feature.auth.join.domain import com.example.beering.data.ApiResult import com.example.beering.data.auth.dto.CheckIdResult import com.example.beering.data.auth.dto.CheckNameResult import com.example.beering.data.auth.dto.JoinAgreements import com.example.beering.data.auth.dto.JoinRequest imp...
5
Kotlin
5
0
e521263ec1c001e4369ee1f94227d8610b54b5dd
710
Beering-Android
MIT License
app/src/main/kotlin/com/duongkhai/snakegame/data/repository/IRepository.kt
duongkhaineverdie
784,021,262
false
{"Kotlin": 60320}
package com.duongkhai.snakegame.data.repository import com.duongkhai.snakegame.data.model.IPLocation import com.duongkhai.snakegame.data.model.RemoteConfigs import com.duongkhai.snakegame.data.model.SecretKey import kotlinx.coroutines.flow.Flow interface IRepository { suspend fun getDetailIPLocation(secretKey: Se...
0
Kotlin
0
0
25aad736e4ddd449be826a93bda8d5997dc1b77b
407
SnakeWebview
MIT License
compiler/ir/backend.wasm/src/org/jetbrains/kotlin/backend/wasm/lower/WasmInlineFunctionResolver.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2023 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.backend.wasm.lower import org.jetbrains.kotlin.backend.common.lower.inline.Inlin...
184
null
5771
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
994
kotlin
Apache License 2.0
incubator.clients.kroviz/src/test/kotlin/org/apache/isis/client/kroviz/snapshots/demo2_0_0/DEMO_FILE_NODE.kt
joerg-rade
163,651,410
false
null
package org.apache.isis.client.kroviz.snapshots.demo2_0_0 import org.apache.isis.client.kroviz.snapshots.Response object DEMO_FILE_NODE : Response() { override val url = "http://localhost:8080/restful/domain-types/demo.FileNode" override val str = """ { "links": [ { "rel": "self", ...
20
null
1
10
07e7ed9aa6dabc7e8a9a0100451d89ae18e46950
4,534
kroviz
Apache License 2.0
incubator.clients.kroviz/src/test/kotlin/org/apache/isis/client/kroviz/snapshots/demo2_0_0/DEMO_FILE_NODE.kt
joerg-rade
163,651,410
false
null
package org.apache.isis.client.kroviz.snapshots.demo2_0_0 import org.apache.isis.client.kroviz.snapshots.Response object DEMO_FILE_NODE : Response() { override val url = "http://localhost:8080/restful/domain-types/demo.FileNode" override val str = """ { "links": [ { "rel": "self", ...
20
null
1
10
07e7ed9aa6dabc7e8a9a0100451d89ae18e46950
4,534
kroviz
Apache License 2.0
app/src/main/java/volovyk/thenullpointer/ui/MainScreen.kt
oleksandrvolovyk
706,337,016
false
{"Kotlin": 45835}
package volovyk.thenullpointer.ui import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment i...
0
Kotlin
0
0
5c58b2928564e9e2667f1c6ad31f0dedd9f34505
2,786
the-null-pointer-android-client
MIT License
project-generator/src/main/kotlin/io/github/cdsap/projectgenerator/files/android/ValuesStringsSmall.kt
cdsap
688,226,196
false
{"Kotlin": 268624}
package io.github.cdsap.projectgenerator.files.android class ValuesStringsSmall { fun getLib(module: String) = """ <resources> <string name="${module}_string">$module - My lib</string> <!-- Recent Tabs --> <!-- Header text for jumping back into the recent tab i...
5
Kotlin
1
65
59df5e5a5929454f3591795b5ee4b56c8d75f7e9
1,733
ProjectGenerator
MIT License
app/src/main/java/com/skydoves/pokedexar/ui/login/LoginActivity.kt
fosemfhtm
447,322,435
false
null
package com.skydoves.pokedexar.ui.login import android.app.Dialog import android.content.Context import android.content.Intent import android.graphics.Color import android.graphics.drawable.ColorDrawable import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.Window import android....
0
Kotlin
0
0
e0e6120209c87a5ece1bc5dd816ca7607a55dc3d
7,089
Pokemon_RealGo
Apache License 2.0
src/main/kotlin/com/robotutor/iot/accounts/services/RoleInitializer.kt
IOT-echo-system
768,195,181
false
{"Kotlin": 190037, "HTML": 428, "Shell": 151, "Dockerfile": 130}
package com.robotutor.iot.accounts.services import com.robotutor.iot.accounts.models.IdType import com.robotutor.iot.accounts.models.Role import org.springframework.boot.ApplicationArguments import org.springframework.boot.ApplicationRunner import org.springframework.stereotype.Component import reactor.kotlin.core.pub...
0
Kotlin
0
0
f8f314ba33164725e5f3586dcf7566ae16eaae37
3,195
cloud-backend-service
MIT License
owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/shares/GetRemoteShareOperation.kt
jesmrec
464,454,115
true
{"INI": 2, "Gradle": 4, "Shell": 1, "EditorConfig": 1, "Markdown": 2, "Batchfile": 1, "Ignore List": 1, "XML": 11, "YAML": 2, "Text": 1, "Java": 46, "Kotlin": 74, "JSON": 2}
/* ownCloud Android Library is available under MIT license * @author <NAME> * Copyright (C) 2021 ownCloud GmbH * * 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 restri...
0
null
0
0
fb7bfb23e0aeabdcdfaadc48ecbe7c6bca4889b4
4,891
android-library
MIT License
src/test/kotlin/com/freenow/apis/phraseapi/client/PhraseApiClientTranslationTest.kt
freenowtech
145,117,901
false
null
package com.mytaxi.apis.phraseapi.client import com.google.common.net.HttpHeaders import com.google.common.net.MediaType import com.google.gson.Gson import com.mytaxi.apis.phraseapi.client.model.CreateTranslation import com.mytaxi.apis.phraseapi.client.model.PhraseLocale import com.mytaxi.apis.phraseapi.client.model.T...
3
Kotlin
6
2
86c74c39804d6a0dae050907e72df663bffcf568
4,642
phrase-kotlin-client
Apache License 2.0
laser-native-editor/src/main/java/com/github/irshulx/components/input/spans/custom/SpecialSpansBase.kt
AlShevelev
207,271,222
true
{"Kotlin": 101147, "Java": 309}
package com.github.irshulx.components.input.spans.custom import android.text.TextPaint import android.text.style.UnderlineSpan import androidx.annotation.ColorInt abstract class SpecialSpansBase<T>( val value: T, @ColorInt private val textColor: Int ) : UnderlineSpan() { abstract override fun getSpanType...
0
Kotlin
0
0
c1bb3976d29eeb336243777f289ef6e431cbe6ef
497
Android-WYSIWYG-Editor
Apache License 2.0
app/src/main/java/com/example/cookrecipe/view_model/LoginViewModel.kt
eristich
574,412,169
false
null
package com.example.cookrecipe.view_model import android.app.Application import android.util.Log import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import com.example.cookrecipe.R import com.example.cookrecipe.model.repo.FirebaseAuth class LoginView...
0
Kotlin
1
0
f613cfa4c391be509f54d660426379103eafcfd2
2,493
cook-recipe
MIT License
design-catalog/src/main/java/little/goose/design/catalog/ui/ChartCatalogScreen.kt
MReP1
525,822,587
false
null
package little.goose.design.catalog.ui import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.ExperimentalLayoutApi import androidx.compose.foundation.layout.FlowRow import androidx.c...
1
null
29
99
a6ee70d1b3dcf4b9b24ca00bbed725e8374e105a
5,619
LittleGooseOffice
MIT License
app/src/main/java/com/coolweather/coolweatherjetpack/ui/area/ChooseAreaViewModel.kt
Orion-wubo
175,758,870
true
{"Kotlin": 35306}
package com.coolweather.coolweatherjetpack.ui.area import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.coolweather.coolweatherjetpack.data.PlaceRepository import com.coolweather.coolweatherjetpack.data.model.place.City import com.coolweather...
0
Kotlin
0
1
64ae7953145800b2b7d3a31327e34a669a379581
1,708
coolweatherjetpack
Apache License 2.0
web/src/test/kotlin/no/nav/su/se/bakover/web/routes/søknadsbehandling/GrunnlagBosituasjonFullførRoutesTest.kt
navikt
227,366,088
false
null
package no.nav.su.se.bakover.web.routes.søknadsbehandling import arrow.core.left import arrow.core.right import io.kotest.matchers.shouldBe import io.kotest.matchers.string.shouldContain import io.ktor.http.HttpMethod import io.ktor.http.HttpStatusCode import io.ktor.server.testing.setBody import io.ktor.server.testin...
6
Kotlin
0
0
b0864f973c8986f58af07c4bc7f601caa602dbfc
13,924
su-se-bakover
MIT License
src/main/kotlin/com/github/guangzhengli/dotnetmigrationideaplugin/services/MyProjectService.kt
guangzhengli
526,061,411
false
null
package com.github.guangzhengli.dotnetmigrationideaplugin.services import com.intellij.openapi.project.Project import com.github.guangzhengli.dotnetmigrationideaplugin.MyBundle class MyProjectService(project: Project) { init { println(MyBundle.message("projectService", project.name)) } }
0
Kotlin
0
0
6a968734853e3f0ee727e0a12a65412098493523
309
dotnet-migration-idea-plugin
Apache License 2.0
src/main/kotlin/no/nav/helseidnavtest/HelseIdNavTestApplication.kt
navikt
754,033,318
false
{"Kotlin": 75874}
package no.nav.helseidnavtest import no.nav.boot.conditionals.Cluster.Companion.profiler import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.context.properties.ConfigurationPropertiesScan import org.springframework.boot.runApplication import org.springframework.retry.anno...
0
Kotlin
0
0
82e2081c072e2ae38463c06bbcd14d90fe40bfa6
847
helseid-nav-test
MIT License
android/app/src/main/java/com/algorand/android/modules/perawebview/ui/BasePeraWebViewViewModel.kt
perawallet
364,359,642
false
{"Swift": 8753304, "Kotlin": 7709389, "Objective-C": 88978, "Shell": 7715, "Ruby": 4727, "C": 596}
/* * Copyright 2022 Pera Wallet, LDA * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing,...
22
Swift
62
181
92fc77f73fa4105de82d5e87b03c1e67600a57c0
1,696
pera-wallet
Apache License 2.0
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/HandFist.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.outline import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Mite...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
5,767
icons
MIT License
src/main/kotlin/insyncwithfoo/ryecharm/ruff/actions/ShowLinters.kt
InSyncWithFoo
849,672,176
false
{"Kotlin": 264146, "Python": 3171, "HTML": 624}
package insyncwithfoo.ryecharm.ruff.actions import com.intellij.execution.process.ProcessOutput import com.intellij.openapi.actionSystem.AnAction import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.project.DumbAware import com.intellij.openapi.project.Project import com.intellij.openapi....
2
Kotlin
1
7
c1a04b622fbfb02a2fb155d8c9aa069520eda23e
5,363
ryecharm
MIT License
lib-kotlinmvvm/src/main/java/com/mtjsoft/www/kotlinmvputils/utils/AndDialogUtils.kt
mtjsoft
291,952,943
false
null
package com.mtjsoft.www.kotlinmvputils.utils import android.app.Dialog import android.content.Context import android.text.Html import android.view.View import android.widget.TextView import com.mtjsoft.www.kotlinmvputils.R import com.mtjsoft.www.kotlinmvputils.imp.AndDialogClickListener /** * 对话框操作的工具类 * * @author...
1
Kotlin
1
4
9d0e8e70bbcad1f506fb848e3faf684ebe8b0a19
4,420
LibKM
Apache License 2.0
lib/src/test/java/com/jintin/bundle/key/ParcelableArrayListKeyTest.kt
Jintin
684,450,428
false
{"Kotlin": 60382, "Shell": 55}
package com.jintin.bundle.key import io.mockk.every import io.mockk.verify import org.junit.Before import org.junit.Test class ParcelableArrayListKeyTest : BaseKeyTest() { private val key = ParcelableArrayListKey<FakeParcelable>("Test") private val expect = ArrayList<FakeParcelable>() @Before fun set...
0
Kotlin
2
18
bcb69f1b6505eb23c355ccf3be1039f6a4d2493b
1,198
TypedBundle
Apache License 2.0
navigationlistview/src/main/java/com/dvinfosys/adapter/NavigationListAdapter.kt
ktmoe
301,278,541
false
{"Java Properties": 2, "Gradle": 4, "Shell": 1, "Markdown": 1, "Git Attributes": 1, "Batchfile": 1, "Text": 1, "Ignore List": 3, "XML": 35, "Proguard": 2, "Java": 5, "Kotlin": 5, "INI": 1}
package com.dvinfosys.adapter import android.content.Context import android.graphics.Typeface import android.os.Build import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.BaseExpandableListAdapter import android.widget.ImageView import android.widget.TextView ...
1
null
1
1
e72f97cf97e868776076d7723c74fbc554226792
4,582
Navigation-ListView
Apache License 2.0
extensions-compose-jetpack/src/main/java/com/arkivanov/decompose/extensions/compose/jetpack/animation/child/Typealias.kt
badoo
287,788,515
false
null
@file:OptIn(ExperimentalDecomposeApi::class) package com.arkivanov.decompose.extensions.compose.jetbrains.animation.child import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import com.arkivanov.decompose.Child import com.arkivanov.decompose.ExperimentalDecomposeApi import com.arkivanov.dec...
7
Kotlin
44
806
acc4374212839bfaaffeab89bbcceebdb63cbe13
1,418
Decompose
Apache License 2.0
exercises/src/test/kotlin/de/iteratec/kotlin/basic/solutions/T17DelegationTask.kt
iteratec
190,216,048
false
{"Kotlin": 119132, "Java": 1369, "HTML": 197}
package de.iteratec.kotlin.basic.solutions import org.junit.Assert.assertEquals import org.junit.Assert.assertThrows import org.junit.Test import java.util.* import kotlin.properties.ReadWriteProperty import kotlin.reflect.KProperty class CustomLazy<V>(val generator: () -> V) : ReadWriteProperty<Any, V> { var sto...
1
Kotlin
1
6
388f833f0c7c3693eb65708e6e5f77e032ac156b
2,683
kotlin-training-playground
Apache License 2.0
feature/login/src/main/java/dev/enesky/feature/login/navigation/LoginDestination.kt
enesky
708,119,546
false
null
package dev.enesky.feature.login.navigation import androidx.navigation.NavGraphBuilder import androidx.navigation.NavHostController import androidx.navigation.compose.composable import androidx.navigation.navigation import dev.enesky.core.navigation.DoodleNavigationDestination import dev.enesky.core.navigation.composa...
28
null
0
9
1341678e0974fc0e0292836e9a8571da679150d9
1,822
Doodle
Apache License 2.0
ki-shell/src/main/kotlin/kotlinx/cli/PositionalArguments.kt
Kotlin
88,049,426
false
null
package kotlinx.cli abstract class PositionalActionBase( override val name: String, private val help: String, override val minArgs: Int, override val maxArgs: Int ) : PositionalArgument, ArgumentAction, HelpEntry { override val action: ArgumentAction get() = this override fun...
32
null
38
573
5b1ff4d821895f5881a7d389ee92dedff189d2a0
4,299
kotlin-interactive-shell
Apache License 2.0
ui/feature/search/src/main/kotlin/com/francescsoftware/weathersample/ui/feature/search/weather/ui/TodayWeather.kt
fvilarino
355,724,548
false
{"Kotlin": 622612, "Shell": 60}
package com.francescsoftware.weathersample.ui.feature.search.weather.ui import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.width import androidx.compose.material3.MaterialThe...
1
Kotlin
5
57
3a3795e83c579a4dc4d0e6507e96aa68b96fe645
2,555
Weather-Sample
Apache License 2.0
android-fragment/src/main/kotlin/com/source/bricks/fragment/argument/ArgumentDelegate.kt
krzysiek-zgondek
216,539,257
false
null
package com.source.bricks.fragment.argument import androidx.fragment.app.Fragment import com.medizzy.android.libs.bricks.android.arguments.FragmentArgument import kotlin.reflect.KProperty /** * Creates delegation for argument of type [Type] * Internal use only * */ @PublishedApi internal inline fun <reified Type>...
0
Kotlin
0
4
80c5548d7efe70afe1648a448c9f2a535114b531
975
bricks
MIT License
src/main/kotlin/com/leetcode/P485.kt
antop-dev
229,558,170
false
{"Kotlin": 703706, "Java": 210671}
package com.leetcode import kotlin.math.max class P485 { fun findMaxConsecutiveOnes(nums: IntArray): Int { if (nums.isEmpty()) return 0 var max = 0 var c = 0 for (n in nums) { if (n == 1) { c++ } else { max = max(max, c) ...
4
Kotlin
0
0
a9dd7cfa4f6cfc5186a86f6e2c8aefc489f5c028
398
algorithm
MIT License
xsolla-store-sdk/src/main/java/com/xsolla/android/store/callbacks/GetPhysicalItemsCallback.kt
xsolla
233,092,015
false
null
package com.xsolla.android.store.callbacks import com.xsolla.android.store.entity.response.items.PhysicalItemsResponse interface GetPhysicalItemsCallback { fun onSuccess(response: PhysicalItemsResponse) fun onError(throwable: Throwable?, errorMessage: String?) }
1
Kotlin
5
9
5f14ce11e41ab638145bbf394d215b7333824e27
272
store-android-sdk
Apache License 2.0
rest-api/internal/weather/infrastructure/src/main/kotlin/github/makeitvsolo/kweather/weather/infrastructure/configure/sql/ConfigureJdbcDatasource.kt
makeitvsolo
743,151,452
false
{"Kotlin": 294456, "TypeScript": 606, "JavaScript": 469, "HTML": 354}
package github.makeitvsolo.kweather.user.access.infrastructure.configure.sql import github.makeitvsolo.kweather.core.error.handling.Result import github.makeitvsolo.kweather.user.access.infrastructure.configure.sql.error.ConfigureJdbcDatasourceError import com.zaxxer.hikari.HikariConfig import com.zaxxer.hikari.Hikar...
1
Kotlin
0
0
2664ab660be3047a27e32b0f56e7cc8da7df13cd
1,673
kweather
MIT License
rxaidl/src/main/java/com/timweng/lib/rxaidl/ClientData.kt
WeiTingWeng
144,450,435
false
null
package com.timweng.lib.rxaidl import io.reactivex.disposables.Disposable internal class ClientData(id: String, version: Long, callback: IBaseCallback) { val id: String = id val version: Long = version val callback: IBaseCallback = callback val disposableMap: MutableMap<Long, Disposable> = mutableMapO...
1
null
1
4
59bac55c7d9bce6115d22cc4bb236cde19364114
325
RxAIDL
Apache License 2.0
lovebird-api/src/main/kotlin/com/lovebird/api/config/JwtConfig.kt
wooda-ege
722,352,043
false
null
package com.lovebird.security.config import io.jsonwebtoken.io.Decoders import io.jsonwebtoken.security.Keys import org.springframework.beans.factory.annotation.Value import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import java.security.Key @Configuration ...
7
null
0
9
c8b1bbcd0eb7e4f8f4ea464e114db76c9c8f1905
491
lovebird-server
MIT License
app/src/main/java/io/github/amanshuraikwar/howmuch/ui/monthlybudget/MonthlyBudgetContract.kt
amanshuraikwar
124,106,668
false
null
package io.github.amanshuraikwar.howmuch.ui.monthlybudget import android.util.Log import io.github.amanshuraikwar.howmuch.R import io.github.amanshuraikwar.howmuch.base.bus.AppBus import io.github.amanshuraikwar.howmuch.base.data.DataManager import io.github.amanshuraikwar.howmuch.base.ui.base.BasePresenter import io....
1
null
3
5
69248734bb5f764ca702880e28c4f1cfaf893648
11,530
HowMuch
Apache License 2.0
src/main/kotlin/com/everdonor/everdonorbackend/model/DonationTypeDeserializer.kt
Everdonor
291,569,924
false
null
package com.everdonor.everdonorbackend.model import com.fasterxml.jackson.core.JsonParser import com.fasterxml.jackson.databind.DeserializationContext import com.fasterxml.jackson.databind.JsonDeserializer import com.fasterxml.jackson.databind.JsonNode class DonationTypeDeserializer : JsonDeserializer<DonationType>()...
0
Kotlin
0
0
97118a0c22892dd4c64022730b3e41a6aba11eb5
614
everdonor-backend
MIT License
cornea/src/main/java/arcus/cornea/helpers/DeviceModelExt.kt
arcus-smart-home
168,191,380
false
null
/* * Copyright 2019 Arcus Project. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
6
Java
27
27
845b23b6ee913c58e009914e920242e29d0b137a
1,676
arcusandroid
Apache License 2.0
layout-inspector/src/com/android/tools/idea/layoutinspector/resource/ResourceLookup.kt
JetBrains
60,701,247
false
{"Kotlin": 43855938, "Java": 36698280, "HTML": 1216565, "Starlark": 735324, "C++": 216476, "Python": 101594, "C": 71515, "Lex": 66026, "NSIS": 58516, "AIDL": 32502, "Shell": 28591, "CMake": 21034, "JavaScript": 18437, "Batchfile": 7774, "Smali": 7580, "RenderScript": 4411, "Makefile": 2298, "IDL": 269, "QMake": 18}
/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
2
Kotlin
230
876
9c0a89784cca3c01ab99cf251b71a26cdb87cc47
7,402
android
Apache License 2.0
mulighetsrommet-api/src/main/kotlin/no/nav/mulighetsrommet/api/domain/dto/SanityMutateDto.kt
navikt
435,813,834
false
{"Kotlin": 1192202, "TypeScript": 993440, "SCSS": 39443, "JavaScript": 24814, "PLpgSQL": 10327, "HTML": 1504, "Dockerfile": 683, "CSS": 437, "Shell": 95}
package no.nav.mulighetsrommet.api.domain.dto import kotlinx.serialization.EncodeDefault import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.Serializable @Serializable data class Mutations<T>( val mutations: List<Mutation<T>>, ) @Serializable data class Mutation<T>( val cre...
4
Kotlin
1
6
f46a03dff0bd99d89a0e16c298fa8d62cbf5e5f8
2,626
mulighetsrommet
MIT License
Android/app/src/main/java/ademar/bitac/ext/Retrofit.kt
ademar111190
111,263,585
false
null
package ademar.bitac.ext import ademar.bitac.model.FieldProperty import ademar.bitac.model.StandardErrors import io.reactivex.Observable import retrofit2.Call import retrofit2.Retrofit import java.io.IOException var Retrofit.standardErrors: StandardErrors by FieldProperty() fun <T> Retrofit.observeBody(call: Call<T>...
3
null
4
8
2520c0d641a17bbfe0b0b76593781289faa2d2c8
1,743
BitAC
MIT License
plugins/kotlin/code-insight/impl-base/resources/inlayProviders/kotlin.references.types.hints/hints.type.function.return.kt
JetBrains
2,489,216
false
null
fun square(arg: Int)/*<# :Int #>*/ = arg * arg
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
47
intellij-community
Apache License 2.0