path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
⌀
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
app/src/main/java/com/pak/joblogicproblem/db/DBConnection.kt
shakeelnasrullah
524,496,717
false
null
package com.pak.joblogicproblem.db import android.content.Context import androidx.room.Database import androidx.room.Room import androidx.room.RoomDatabase import com.pak.joblogicproblem.dao.SellDao import com.pak.joblogicproblem.models.BuyerItem @Database(entities = [BuyerItem::class], version = 1) abstract class DB...
0
Kotlin
0
0
2f53eaf05cf2dbf3e82014b34602657d59f692c9
974
JobLogic
Apache License 2.0
src/main/kotlin/me/stylite/predator/models/servers/USEast.kt
melmsie
258,000,181
false
null
package me.stylite.predator.models.servers data class Africa( val HTTPCode: Int, val QueryTimestamp: Int, val ResponseTime: Int, val Status: String )
1
Kotlin
1
4
f7828ac759742094c0ab220235d9b4c76261577d
166
apexbot
MIT License
stripecardscan/src/main/java/com/stripe/android/stripecardscan/framework/api/dto/CardImageVerificationDetails.kt
stripe
6,926,049
false
null
package com.mademediacorp.mmastripecardscan.framework.api.dto import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable internal data class CardImageVerificationDetailsRequest( @SerialName("client_secret") val cardImageVerificationSecret: String ) @Serializable internal data...
88
null
644
1,277
174b27b5a70f75a7bc66fdcce3142f1e51d809c8
1,714
stripe-android
MIT License
src/main/kotlin/Main.kt
takahirom
347,968,115
false
null
package com.github.takahirom.compose import GlobalSnapshotManager import android.content.Context import android.view.View import android.view.ViewGroup import android.widget.FrameLayout import android.widget.LinearLayout import android.widget.TextView import androidx.compose.runtime.AbstractApplier import androidx.com...
0
Kotlin
0
2
0370e2d1ed82f6b90e7e64dadd6855948fe7fd0e
3,861
draw-android-view-by-jetpack-compose
Apache License 2.0
packages/core/android/src/main/java/com/reactnativecamera/view/CameraView.kt
react-native-camera
330,484,142
false
{"YAML": 3, "JSON with Comments": 3, "JSON": 15, "JavaScript": 8, "Text": 3, "Ignore List": 2, "Git Attributes": 1, "EditorConfig": 1, "Markdown": 5, "Ruby": 4, "TSX": 9, "XML": 25, "INI": 11, "Gradle": 8, "Shell": 3, "Batchfile": 3, "Kotlin": 44, "Java Properties": 2, "Java": 6, "C": 2, "Swift": 14, "OpenStep Property...
/* * Copyright (C) 2016 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...
9
Kotlin
2
37
567a9864df2f7295a17e2b1e6678e914239b3db3
23,024
react-native-camera-v4
MIT License
feature-account-api/src/main/java/io/novafoundation/nova/feature_account_api/domain/account/identity/Identity.kt
nova-wallet
496,649,319
false
null
package io.novafoundation.nova.feature_account_api.domain.account.identity data class Identity(val name: String)
4
Kotlin
8
24
69c3ee9eb9986ea092e4dd354d4c6df65642e608
114
nova-android-app
Apache License 2.0
composeApp/src/commonMain/kotlin/screens/library/DrinkLibraryViewModel.kt
thaapasa
702,418,399
false
{"Kotlin": 272075, "Swift": 661, "Shell": 262}
package fi.tuska.beerclock.screens.library import androidx.compose.material3.SnackbarHostState import androidx.compose.runtime.Composable import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue impor...
0
Kotlin
0
1
d24647fb7896ebc669c5c7fcf3a58a02e91d219f
5,815
beerclock
Apache License 2.0
sample/src/main/java/net/furkanakdemir/noticeboardsample/color/DescriptionColorActivity.kt
furkanakdemir
208,130,041
false
null
package net.furkanakdemir.noticeboardsample.color import net.furkanakdemir.noticeboard.Source.Dynamic import net.furkanakdemir.noticeboardsample.R import net.furkanakdemir.noticeboardsample.base.BaseSampleActivity import net.furkanakdemir.noticeboardsample.util.DataGenerator import net.furkanakdemir.noticeboardsample....
8
Kotlin
9
46
32adae13361033e4ab1491171dc67a8123af81f3
794
noticeboard
Apache License 2.0
app/src/main/java/com/kirillemets/flashcards/ui/myWords/MyDictionaryFragment.kt
KirillEmets
291,228,411
false
null
package com.kirillemets.flashcards.ui.myWords import android.os.Bundle import android.view.* import androidx.core.widget.doAfterTextChanged import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.lifecycle.lifecycleScope import com.kirillemets.flashcards.R import com.kirillemets.f...
3
Kotlin
0
1
acff15a8dce79dab9dd11244e5dce7a283056a47
2,482
japaneseflashcards
MIT License
aws/src/main/kotlin/com/codingue/koops/aws/execute_api/AWSIot.kt
amelki
128,991,967
false
null
@file:Suppress("unused", "MemberVisibilityCanBePrivate", "DEPRECATION", "RemoveEmptyPrimaryConstructor", "UnnecessaryVariable", "UsePropertyAccessSyntax", "USELESS_ELVIS") package com.codingue.koops.aws.execute_api import javax.annotation.Generated import com.codingue.koops.common.* import com.codingue.koops.core.* ...
0
Kotlin
0
1
d880d4456fa9ec75c2a3549108a630a172ff56f7
185,686
koops
Apache License 2.0
src/main/kotlin/com/papsign/ktor/openapigen/model/operation/ParameterModel.kt
papsign
186,148,881
false
null
package com.papsign.ktor.openapigen.model.operation import com.papsign.ktor.openapigen.model.DataModel import com.papsign.ktor.openapigen.model.info.ExampleModel import com.papsign.ktor.openapigen.model.schema.SchemaModel import com.papsign.ktor.openapigen.parameters.ParameterStyle data class ParameterModel<T>( v...
24
null
35
172
8362dafa8a8b701983ad7d0119a15a12b863953f
757
Ktor-OpenAPI-Generator
Apache License 2.0
testing-support/src/commonMain/kotlin/kotbase/BaseDbTest.kt
jeffdgr8
518,984,559
false
null
// // Copyright (c) 2022 Couchbase, Inc All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
1
null
6
67
339bea038018dff346cbfe0e4f8309c653b9f3b1
77,993
kotbase
Apache License 2.0
data/src/main/kotlin/team/duckie/app/android/data/quiz/model/PostQuizReactionBody.kt
duckie-team
503,869,663
false
{"Kotlin": 1819917}
/* * 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.data.quiz.model import com.fasterxml.jackson.annotation.JsonProperty data class PostQuizReactionBody( ...
32
Kotlin
1
8
5dbd5b7a42c621931d05a96e66431f67a3a50762
380
duckie-android
MIT License
demo/src/main/java/com/ezlifesol/demo/gamposedemo/game/galaxy/obj/Player.kt
ezlifeSol
832,582,975
false
{"Kotlin": 116957}
package com.ezlifesol.demo.gamposedemo.game.galaxy.obj import com.ezlifesol.library.gampose.collision.collider.Collider import com.ezlifesol.library.gampose.collision.shape.Shape import com.ezlifesol.library.gampose.unit.GameSize import com.ezlifesol.library.gampose.unit.GameVector data class Player( var position...
0
Kotlin
0
14
d7bd3945f6f22ad3e0f8a5268c66a95131bfc726
541
gampose
MIT License
example/src/example/KotlinBinderExample.kt
mibac138
90,508,185
false
null
package example import com.github.mibac138.argparser.binder.MethodBinder import com.github.mibac138.argparser.binder.invoke import com.github.mibac138.argparser.parser.SimpleParserRegistry import com.github.mibac138.argparser.reader.asReader fun main(args: Array<String>) { val binding = MethodBinder.bindMethod(K...
7
null
1
1
3796fc0fe829fcde906bde6e498ebf45b752d79d
868
ArgParser
MIT License
apps/etterlatte-grunnlag/src/test/kotlin/grunnlag/aldersovergang/AldersovergangServiceTest.kt
navikt
417,041,535
false
{"Kotlin": 7287681, "TypeScript": 1786181, "Handlebars": 27910, "Shell": 12680, "PLpgSQL": 1891, "HTML": 1734, "CSS": 598, "Dockerfile": 547}
package grunnlag.aldersovergang import io.kotest.matchers.shouldBe import no.nav.etterlatte.behandling.randomSakId import no.nav.etterlatte.grunnlag.GrunnlagDbExtension import no.nav.etterlatte.grunnlag.aldersovergang.AldersovergangDao import no.nav.etterlatte.grunnlag.aldersovergang.AldersovergangService import no.na...
8
Kotlin
0
6
5d27be4daf95f7e48f7c4eec8645c621d35bb60a
2,984
pensjon-etterlatte-saksbehandling
MIT License
livekit-compose-components/src/main/java/io/livekit/android/compose/state/RememberRoomInfo.kt
livekit
654,569,198
false
null
/* * Copyright 2023-2024 LiveKit, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
2
null
2
7
5eeb814ba88c7899bb4c67f54b1e86082e223c1d
1,549
components-android
Apache License 2.0
platform/external-system-impl/src/com/intellij/openapi/externalSystem/util/ui/DataView.kt
ingokegel
72,937,917
true
null
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.externalSystem.util.ui import javax.swing.Icon abstract class DataView<out Data> { abstract val data: Data abstract val location: String abstr...
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
1,044
intellij-community
Apache License 2.0
subprojects/time-service/src/main/kotlin/org/sdkotlin/springdemo/timeservice/TimeServer.kt
sdkotlin
575,525,303
false
{"Kotlin": 38891, "Java": 3727}
package org.sdkotlin.springdemo.timeservice import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Job import kotlinx.coroutines.delay import kotlinx.coroutines.launch import kotlinx.datetime.Clock import kotlinx.datetime.Instant import kotlin.time.Duration import kotlin.time.Duration.Companion.seconds in...
0
Kotlin
0
0
e3a5bc971cd9163347e574b385510d64630e35ca
690
sd-kotlin-spring-talks
Apache License 2.0
1504.Count Submatrices With All Ones.kt
sarvex
842,260,390
false
{"Kotlin": 1775678, "PowerShell": 418}
internal class Solution { fun numSubmat(mat: Array<IntArray>): Int { val m = mat.size val n = mat[0].size val g = Array(m) { IntArray(n) } for (i in 0 until m) { for (j in 0 until n) { if (mat[i][j] == 1) { g[i][j] = if (j == 0) 1 else 1 + g[i][j - 1] } } } ...
0
Kotlin
0
0
17a80985d970c8316fb694e4952692e598d700af
590
kotlin-leetcode
MIT License
src/main/kotlin/com/project/goms/global/annotation/UseCaseWithTransaction.kt
team-haribo
614,648,553
false
{"Kotlin": 137506, "Shell": 425, "Dockerfile": 275}
package com.project.goms.global.annotation import org.springframework.transaction.annotation.Transactional @Target(AnnotationTarget.CLASS) @Transactional(rollbackFor = [Exception::class]) annotation class UseCaseWithTransaction
2
Kotlin
0
4
0d5903db4be8e7466d1e357db93d9b807d7226df
230
GOMS-Backend
MIT License
gwframe/src/main/java/com/getling/gwframe/data/entity/BaseInfoEntity.kt
GetlingZ
285,945,111
false
{"Java": 237832, "Kotlin": 60235}
package com.getling.gwframe.data.entity import androidx.databinding.BaseObservable /** * @Author: getling * @CreateDate: 2019/11/14 9:19 * @Description: */ open class BaseInfoEntity : BaseEntity, BaseObservable() { var ip: String? = null var id: String? = null }
1
null
1
1
3ec2a64e24c8a9a8f18667503faa5816d52c757a
276
GwFrame
Apache License 2.0
src/main/kotlin/modules/m1/Song.kt
glehu
384,708,417
false
null
package modules.m1 import interfaces.IEntry import io.ktor.util.* import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.Serializable import modules.mx.discographyIndexManager import modules.mx.logic.getDefaultDate @InternalAPI @ExperimentalSerializationApi @Serializable data class Son...
7
null
1
1
2d1cf7a9fb764694e1566dc9f83e7e624478c122
4,050
CWO_ERP
MIT License
app/src/main/java/com/android/example/popularmovies/utils/network/MovieDbAPIService.kt
mowdownjoe
259,617,614
false
null
package com.android.example.popularmovies.utils.network import com.android.example.popularmovies.utils.json.MovieReview import com.android.example.popularmovies.utils.json.MovieVideo import com.squareup.moshi.Moshi import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory import retrofit2.Retrofit import retro...
0
Kotlin
0
1
81830d6741a81037933cd536eb38492869c8972a
1,578
PopularMovies
Creative Commons Attribution 4.0 International
verik-plugin/src/main/kotlin/io/verik/plugin/domain/VerikImportDomainObject.kt
frwang96
269,980,078
false
null
/* * SPDX-License-Identifier: Apache-2.0 */ package io.verik.plugin.domain import java.nio.file.Path /** * Interface for domain objects that configure the importer. */ interface VerikImportDomainObject { var importedFiles: List<Path> var includeDirs: List<Path> var enablePreprocessorOutput: Boolean ...
0
Kotlin
1
33
ee22969235460fd144294bcbcbab0338c638eb92
402
verik
Apache License 2.0
engine/src/main/kotlin/com/delphix/sdk/objects/TimeflowPointTimestamp.kt
CloudSurgeon
212,463,880
false
null
/** * Copyright (c) 2019 by Delphix. All rights reserved. */ package com.delphix.sdk.objects /** * TimeFlow point based on a timestamp. */ open class TimeflowPointTimestamp ( open val timeflow: String? = null,//Reference to TimeFlow containing this point. open val timestamp: String? = null,//The logical ti...
0
null
0
1
819f7e9ea1bb0c675e0d04d61cf05302c488d74f
638
titan-server
Apache License 2.0
src/test/kotlin/charlie/gensokyo/Tests.kt
cqjjjzr
90,707,126
false
null
package charlie.gensokyo import java.net.URL import javax.swing.JTextArea import kotlin.system.exitProcess fun main(args: Array<String>) { useSystemLookAndFeel() frame(title = "Test", show = true) { size(500, 500) exitOnClose menuBar { subMenu("File") { ite...
0
Kotlin
0
17
94e8ce220fcdf427cb7b392afc177c37ec9c6c6c
3,629
Gensokyo
Apache License 2.0
testing/node-driver/src/main/kotlin/net/corda/testing/node/TestClock.kt
corda
70,137,417
false
null
package net.corda.testing.node import net.corda.core.internal.until import net.corda.node.MutableClock import java.time.Clock import java.time.Duration import java.time.Instant import javax.annotation.concurrent.ThreadSafe /** A [Clock] that can have the time advanced for use in testing. */ @ThreadSafe class TestCloc...
62
null
1077
3,989
d27aa0e6850d3804d0982024054376d452e7073a
926
corda
Apache License 2.0
src/test/kotlin/Day11Test.kt
FredrikFolkesson
320,692,155
false
null
import Day11Test.Direction.* import Day11Test.SeatStatus.* import org.junit.jupiter.api.Test import kotlin.test.assertEquals import kotlin.test.assertTrue class Day11Test { enum class SeatStatus { Empty, Taken, Floor, Outside } enum class Direction { UpLeft, Up, UpRight, Left, Ri...
0
Kotlin
0
0
79a67f88e1fcf950e77459a4f3343353cfc1d48a
7,513
advent-of-code
MIT License
moongchipicker/src/main/java/com/moongchipicker/util/MoongchiFileProvider.kt
teampetfriends
424,862,261
false
{"Kotlin": 61875}
package com.moongchipicker.util import androidx.core.content.FileProvider internal class MoongchiFileProvider : FileProvider() { }
0
Kotlin
0
5
118fc462256a7f2888e34aa36c2bccaa3f00ebad
132
moongchi-picker
MIT License
theory/src/commonMain/kotlin/it/unibo/tuprolog/theory/RetractResult.kt
tuProlog
230,784,338
false
{"Kotlin": 3949669, "Java": 18690, "ANTLR": 10366, "CSS": 1535, "JavaScript": 894, "Prolog": 818}
package it.unibo.tuprolog.theory import it.unibo.tuprolog.core.Clause import kotlin.js.JsName /** A result given after a "retract" operation */ sealed class RetractResult<out T : Theory> { open val isSuccess: Boolean get() = false open val isFailure: Boolean get() = false /** The result ...
92
Kotlin
14
93
3223ffc302e5da0efe2b254045fa1b6a1a122519
1,411
2p-kt
Apache License 2.0
src/main/kotlin/com/sk/set4/409. Longest Palindrome.kt
sandeep549
262,513,267
false
null
package com.sk.set4 class Solution409 { fun longestPalindrome(s: String): Int { val frequencyMap = s.groupBy { it }.mapValues { it.value.size } val odds = frequencyMap.values.filter { it % 2 != 0 }.size return s.length - odds + if (odds > 0) 1 else 0 } }
1
null
1
1
67688ec01551e9981f4be07edc11e0ee7c0fab4c
287
leetcode-answers-kotlin
Apache License 2.0
libnavui-voice/src/test/java/com/mapbox/navigation/ui/voice/VoiceProcessorTest.kt
k4anubhav
439,334,238
false
null
package com.mapbox.navigation.ui.voice import com.mapbox.api.directions.v5.models.VoiceInstructions import com.mapbox.api.speech.v1.MapboxSpeech import com.mapbox.navigation.testing.MainCoroutineRule import com.mapbox.navigation.ui.voice.model.TypeAndAnnouncement import com.mapbox.navigation.utils.internal.ThreadContr...
0
null
1
1
3751b1323b3e585976a5476176810049061ca1ec
17,805
mapbox-navigation-android
Apache License 2.0
kotlinsample/src/test/java/com/airbnb/epoxy/kotlinsample/ConstructorWithLambdaModel.kt
airbnb
65,245,890
false
null
package com.airbnb.epoxy.kotlinsample import android.view.View import com.airbnb.epoxy.EpoxyHolder import com.airbnb.epoxy.EpoxyModelClass import com.airbnb.epoxy.EpoxyModelWithHolder @EpoxyModelClass(layout = R.layout.activity_kotlin_sample) abstract class KotlinConstructorSample(val listener: (someBool: Boolean, an...
315
null
728
8,460
c0813764351e4de97b7abd0694af5dad9db848f2
501
epoxy
Apache License 2.0
logger-console/src/main/kotlin/logger4k/console/utils/format/IFormatRuleInfo.kt
OpenEdgn
251,506,797
false
null
package logger4k.console.utils.format interface IFormatRuleInfo<T : Any?> { val name: String val defaultRule: String get() = "" fun generateRule(rule: String = defaultRule): BaseFormatRule<T> }
1
null
1
5
963f4231e53ce869783a70cb2d3b7ac9340485f9
216
Logger4K
MIT License
src/main/kotlin/no/nav/arbeidsgiver/sykefravarsstatistikk/api/applikasjon/fellesdomene/BransjeEllerNæring.kt
navikt
201,881,144
false
{"YAML": 29, "Shell": 2, "Markdown": 2, "CODEOWNERS": 1, "Maven POM": 1, "Dockerfile": 1, "Ignore List": 1, "Git Revision List": 1, "XML": 3, "Kotlin": 197, "SQL": 36, "JSON": 5}
package no.nav.arbeidsgiver.sykefravarsstatistikk.api.applikasjon.fellesdomene import ia.felles.definisjoner.bransjer.Bransje class BransjeEllerNæring { val bransje: Bransje? val næring: Næring? constructor(bransje: Bransje) { this.bransje = bransje this.næring = null } construct...
0
Kotlin
1
0
aa46cacfc5d2e162f4aefea43ac14a116cd682fe
650
sykefravarsstatistikk-api
MIT License
opengl-sdk/src/main/kotlin/com/leovp/opengl/filter/GrayFilter.kt
yhz61010
329,485,030
false
{"Gradle Kotlin DSL": 36, "YAML": 2, "Shell": 16, "Java Properties": 2, "Text": 1, "Ignore List": 37, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "Markdown": 14, "INI": 62, "Kotlin": 420, "Java": 22, "AIDL": 7, "XML": 262, "TOML": 1, "CMake": 2, "Proguard": 5, "C++": 33, "C": 33, "GLSL": 4, "Makefile": 6, "...
package com.leovp.opengl_sdk.filter import android.content.Context /** * 灰色滤镜 */ class GrayFilter(context: Context) : BaseFilter(context, fragmentShader = FRAGMENT_SHADER) { override fun getTagName() = "GrayFilter" companion object { const val FRAGMENT_SHADER = """ precision mediump...
0
Kotlin
4
9
680ec6b101c4089bf6263f4ae42837c8b6e65a26
689
android
MIT License
base/src/main/java/com/android/dars/base/BaseDialog.kt
dorianalexiis
218,098,334
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "Java": 11, "XML": 40, "Kotlin": 16}
package com.android.dars.base import android.os.Bundle import android.support.v4.app.DialogFragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import butterknife.ButterKnife open class BaseDialog : DialogFragment(){ private var activity: BaseActivity? = null o...
1
null
1
1
df293178a691056937b9243b12893bf4ee47d0c1
936
baseandroid
MIT License
project-system-gradle/src/com/android/tools/idea/gradle/project/AndroidSdkCompatibilityChecker.kt
JetBrains
60,701,247
false
{"Kotlin": 53054415, "Java": 43443054, "Starlark": 1332164, "HTML": 1218044, "C++": 507658, "Python": 191041, "C": 71660, "Lex": 70302, "NSIS": 58238, "AIDL": 35382, "Shell": 29838, "CMake": 27103, "JavaScript": 18437, "Smali": 7580, "Batchfile": 7357, "RenderScript": 4411, "Clean": 3522, "Makefile": 2495, "IDL": 19}
/* * Copyright (C) 2023 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...
5
Kotlin
227
948
10110983c7e784122d94c7467e9d243aba943bf4
5,992
android
Apache License 2.0
app/src/main/java/se/ntlv/basiclauncher/dagger/ActivityScope.kt
ntlv
59,114,495
false
null
package se.ntlv.basiclauncher.dagger import javax.inject.Scope @Scope @Retention(AnnotationRetention.RUNTIME) annotation class ActivityScope
0
null
0
3
87277b7fa5a7b4b8225d92eb7fb8d6e09a83a93e
143
BasicLauncher2
MIT License
extension-style/src/test/java/com/mapbox/maps/extension/style/layers/LayerExtTest.kt
UWDIEYN-NETWORK-DIGITAL-CENTER
387,131,982
true
{"Gradle Kotlin DSL": 19, "Markdown": 22, "JSON": 9, "Java Properties": 2, "Shell": 6, "Ignore List": 12, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "Makefile": 1, "YAML": 3, "INI": 17, "Kotlin": 564, "XML": 173, "JavaScript": 2, "Proguard": 3, "Java": 17, "Gradle": 7, "CMake": 1, "C++": 1, "Python": 5, "E...
package com.mapbox.maps.extension.style.layers import com.mapbox.bindgen.Expected import com.mapbox.bindgen.ExpectedFactory import com.mapbox.bindgen.None import com.mapbox.maps.StyleManager import com.mapbox.maps.extension.style.ShadowStyleManager import com.mapbox.maps.extension.style.StyleInterface import com.mapbo...
1
null
0
0
de2e75df0bb81f615accfc628d4374b23632b493
2,214
mapbox-maps-android
Apache License 2.0
app/src/main/java/com/shevelev/comics_viewer/ui/activities/view_comics/user_actions_managing/StatesCodes.kt
AlShevelev
232,800,756
false
{"Gradle": 10, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 8, "Batchfile": 1, "Markdown": 1, "INI": 6, "Proguard": 7, "Kotlin": 236, "XML": 57, "Java": 1}
package com.shevelev.comics_viewer.ui.activities.view_comics.user_actions_managing /** * States of state machine */ object StatesCodes { const val Init = 0 const val Curving = 1 const val Resizing = 2 const val Dragging = 3 const val Final = 4 const val MenuMode = 5 }
1
null
1
1
884ffda569da9c00977b01472b74fe9f68674b25
295
comics_viewer
MIT License
backend/iot/iot-metrics/src/main/kotlin/Response.kt
Kaladin13
783,387,878
false
{"Text": 1, "Ignore List": 6, "Markdown": 3, "Gradle Kotlin DSL": 3, "SVG": 2, "INI": 2, "Shell": 3, "Batchfile": 2, "Java Properties": 1, "Kotlin": 57, "XML": 16, "YAML": 3, "Maven POM": 2, "Java": 25, "Gradle": 2, "Scala": 1, "HTTP": 1, "OASv3-yaml": 1, "SQL": 1}
package org.bakalover.iot import kotlinx.serialization.Serializable @Serializable data class Response( val taskId: Int, val houseId: Int, val responseCode: Int, val report: String )
0
Java
0
0
46f5f0a382bb67a6aa6c92aa1d633d8977741bff
199
smart-house
Creative Commons Zero v1.0 Universal
platform/lang-impl/src/com/intellij/util/indexing/projectFilter/TriggerProjectIndexableFilesFilterHealthCheckAction.kt
JetBrains
2,489,216
false
{"Text": 9788, "INI": 517, "YAML": 423, "Ant Build System": 11, "Batchfile": 34, "Dockerfile": 10, "Shell": 633, "Markdown": 750, "Ignore List": 141, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 260, "XML": 7904, "SVG": 4537, "Kotlin": 60205, "Java": 84268, "HTML": 3803, "Java Properties": 217, "Gradle...
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.util.indexing.projectFilter import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.project.DumbAwareAction import org.jetbrains.annotations.ApiStatus...
1
null
1
1
0d546ea6a419c7cb168bc3633937a826d4a91b7c
576
intellij-community
Apache License 2.0
plugins/kotlin/idea/tests/testData/inspectionsLocal/simplifyNestedEachInScope/apply2.kt
ingokegel
72,937,917
false
null
// PROBLEM: none // WITH_STDLIB fun test(){ listOf(1,2,3).apply<caret> { 1.apply<caret> { forEach{ it + 1 } } } }
1
null
1
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
117
intellij-community
Apache License 2.0
src/commonMain/kotlin/com/alexvt/publisher/repositories/GhPagesRepository.kt
alex-vt
627,274,233
false
{"Java": 5113230, "Kotlin": 128984}
package com.alexvt.publisher.repositories import com.alexvt.publisher.AppScope import me.tatarka.inject.annotations.Inject import java.nio.file.Paths @AppScope @Inject class GhPagesRepository( private val cacheStorageRepository: CacheStorageRepository, private val fileAccessRepository: FileAccessRepository, ...
1
null
1
1
338f6baec0b027da2ed6108f146586a9f285609c
5,832
GH-Page-Publisher
MIT License
Data Structure/Graph/DFS/main.kt
InnoFang
86,413,001
false
null
data class Graph(val vertexNum: Int, val edgeNum: Int, val arcs: Array<IntArray>) fun dfs(graph: Graph, visited: Array<Boolean>, v: Int) { visited[v] = true; print("$v ") for (i in 0 until graph.vertexNum) { if (graph.arcs[v][i] == 1 && !visited[i]) { dfs(graph, visited, i) } ...
1
C++
9
21
37b336048643a7181c85b18546e3f4b9fa8f18cb
879
algo-set
Apache License 2.0
app/src/main/java/me/sparker0i/lawnchair/allapps/AllAppsIconRowView.kt
Sparker0i
102,217,081
false
null
package me.sparker0i.lawnchair.allapps import android.content.Context import android.graphics.Point import android.util.AttributeSet import android.view.MotionEvent import android.view.View import android.widget.LinearLayout import android.widget.TextView import me.sparker0i.lawnchair.* import me.sparker0i.lawnchair.d...
1
null
2
4
920debb0978e4f6b6704c4f9e5e0753a260a45ce
3,420
LockLaunch
Apache License 2.0
libp2p/src/main/kotlin/io/libp2p/mux/MuxFrame.kt
libp2p
189,293,403
false
null
package io.libp2p.mux import io.libp2p.etc.types.toByteArray import io.libp2p.etc.types.toHex import io.libp2p.etc.util.netty.mux.MuxId import io.netty.buffer.ByteBuf import io.netty.buffer.DefaultByteBufHolder import io.netty.buffer.Unpooled open class MuxFrame(val id: MuxId, val flag: Flag, val data: ByteBuf? = nul...
26
null
60
195
0ba9a901cdbc450ec4bb202d4be3303a4fffb909
600
jvm-libp2p
Apache License 2.0
shopping-list/app/src/androidTest/java/gparap/apps/shopping_list/data/ItemDaoInstrumentedTest.kt
gparap
253,560,705
false
null
/* * Copyright 2021 gparap * * 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 wr...
1
null
1
7
827c2305bd766fac28f57fe3bc5827f8ed576597
4,042
android
Apache License 2.0
business/play_pick/src/main/java/com/will/play/pick/ui/viewmodel/PickCollectDialogViewModel.kt
willpyshan13
273,811,029
false
null
package com.will.play.pick.ui.viewmodel import android.app.Application import androidx.databinding.ObservableArrayList import com.will.habit.base.BaseDialogViewModel import com.will.habit.binding.command.BindingAction import com.will.habit.binding.command.BindingCommand import com.will.habit.extection.ResponseExceptio...
1
Kotlin
1
2
4c4cd66f9fb9c32843767a29e113758384be395a
2,114
DouYinPlay
Apache License 2.0
app/src/main/java/com/hl/baseproject/TestActivity.kt
Heart-Beats
473,996,742
false
null
package com.hl.baseproject import android.content.Intent import android.os.Bundle import android.widget.TextView import androidx.lifecycle.lifecycleScope import androidx.recyclerview.widget.GridLayoutManager import androidx.recyclerview.widget.RecyclerView import com.hl.baseproject.databinding.ActivityTestBinding impo...
1
null
3
2
d492826bc84277b2998aa2cf8263516f3cbbc188
3,301
BaseProject
Apache License 2.0
app/src/androidTest/java/com/example/android/architecture/blueprints/todoapp/test/chapter12/robots/AddEditToDoRobot.kt
Apress
139,484,573
false
null
package com.example.android.architecture.blueprints.todoapp.test.chapter12.robots import androidx.test.espresso.Espresso.onView import androidx.test.espresso.action.ViewActions.* import androidx.test.espresso.matcher.ViewMatchers.withId import com.example.android.architecture.blueprints.todoapp.R /** * A Robot class...
3
null
52
65
0efcef4329d905a4103eb8b3b7fb11f6215395b6
1,315
android-espresso-revealed
Apache License 2.0
processors/processor/src/main/kotlin/com/driver733/mapstructfluent/MapstructFluentExtensionsAnnotationProcessor.kt
driver733
270,643,208
false
null
package com.driver733.mapstructfluent import com.google.auto.service.AutoService import com.squareup.kotlinpoet.FileSpec import com.squareup.kotlinpoet.KModifier import com.squareup.kotlinpoet.PropertySpec import javax.annotation.processing.AbstractProcessor import javax.annotation.processing.Processor import javax.an...
5
Kotlin
2
2
62b61d5ec043436a3af1d2b383f0234fb18b4a37
1,974
mapstruct-fluent
MIT License
core/src/commonMain/kotlin/com/paligot/kighlighter/components/kotlin/patterns/NumbersPattern.kt
GerardPaligot
402,898,581
false
null
package com.paligot.kighlighter.components.kotlin.patterns import com.paligot.kighlighter.components.kotlin.colorschemes.KotlinColorScheme import com.paligot.kighlighter.core.Color import com.paligot.kighlighter.core.LanguagePattern internal object NumbersPattern: LanguagePattern<KotlinColorScheme> { override val...
0
Kotlin
1
23
4001f7f7bbb9996ecfc3d9d34dde6d2523c143df
587
kighlighter
Apache License 2.0
vilkår/pensjon/domain/src/main/kotlin/vilkår/pensjon/domain/PensjonsVilkår.kt
navikt
227,366,088
false
{"Kotlin": 9465702, "Shell": 4372, "TSQL": 1233, "Dockerfile": 1211}
package vilkår.pensjon.domain import arrow.core.Either import arrow.core.Nel import arrow.core.getOrElse import arrow.core.left import arrow.core.right import no.nav.su.se.bakover.common.domain.Stønadsperiode import no.nav.su.se.bakover.common.domain.tidslinje.Tidslinje.Companion.lagTidslinje import no.nav.su.se.bakov...
8
Kotlin
1
1
ed28832346c1f839ea3a489eae8cc623079a0a2f
5,522
su-se-bakover
MIT License
generators/app/templates/android-showcase/feature_album/src/main/kotlin/com/igorwojda/showcase/album/data/datasource/api/model/AlbumListApiModel.kt
uiiang
808,962,136
false
{"Kotlin": 104613, "JavaScript": 30024}
package <%= basePackageName %>.album.data.datasource.api.model import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable internal data class AlbumListApiModel( @SerialName("album") val album: List<AlbumApiModel>, )
0
Kotlin
0
0
89f2304c942655f8a946bd74b1fcc452387e7e7b
259
generator-androidcreator
MIT License
app/src/main/java/com/example/geolocalizacao/AnimacaoActivity.kt
DaniloP85
523,886,353
false
{"Kotlin": 9487}
package com.example.geolocalizacao import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.animation.AnimationUtils import android.widget.AdapterView import android.widget.ArrayAdapter import kotlinx.android.synthetic.main.activity_animacao.* class AnimacaoActivity : AppCompatAct...
0
Kotlin
0
1
94c26164629e5ee434c64c18c2f8e415eff99e09
1,399
mob-25-aplicacoes-android-aula5-geo.api_key
MIT License
src/main/kotlin/tech/simter/kotlin/serialization/serializer/javatime/iso/IsoLocalDateSerializer.kt
szhifeng
264,853,301
true
{"Kotlin": 82500}
package tech.simter.kotlin.serialization.serializer.javatime.iso import kotlinx.serialization.Decoder import kotlinx.serialization.KSerializer import tech.simter.kotlin.serialization.serializer.javatime.AbstractJavaTimeSerializer import java.time.LocalDate import java.time.format.DateTimeFormatter.ISO_LOCAL_DATE /** ...
0
Kotlin
0
0
143ea0543948291183ba6211723c8a02d7a9f3cd
644
simter-kotlin
MIT License
app/src/main/java/com/sangtaek/sensor/di/AppModule.kt
qwqeqrqwqeqr
486,479,680
false
null
package com.sangtaek.sensor.di import android.content.Context import android.hardware.SensorManager import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.qualifiers.ApplicationContext import dagger.hilt.android.scopes.ViewModelScoped import dagger.hilt.components.Singleton...
0
Kotlin
0
0
b72c2d30f79c2c1610277331198b101b8bdb93a0
980
android-sensor
Apache License 2.0
articles/english/2016/Functional Programming in Kotlin with funKTionale.kts
milos85vasic
144,674,922
true
{"Kotlin": 2574938, "TypeScript": 11096, "HTML": 5587, "CSS": 4893, "JavaScript": 2492, "Shell": 765}
import link.kotlin.scripts.Article import link.kotlin.scripts.LinkType.* import link.kotlin.scripts.LanguageCodes.* import java.time.LocalDate // language=Markdown val body = """ _v1_ [Slides on SpeakerDeck](https://speakerdeck.com/marioariasc/functional-programming-in-kotlin-with-funktionale-1) _v2_ [Slides on S...
0
Kotlin
1
3
fb76a934c588c6a649f6e90531b64b14996eb785
772
awesome-kotlin
Creative Commons Zero v1.0 Universal
src/main/kotlin/dev/frozenmilk/sinister/Util.kt
Dairy-Foundation
750,060,089
false
{"Kotlin": 21237}
@file:JvmName("SinisterUtil") package dev.frozenmilk.sinister import java.lang.reflect.Field import java.lang.reflect.Member import java.lang.reflect.Method import java.lang.reflect.Modifier import java.util.function.Predicate @JvmOverloads fun Class<*>.getAllMethods(predicate: Predicate<Method> = Predicate { true } ...
0
Kotlin
0
0
d72cc1a4a23332a91e23e2eab866147aa32de0df
3,312
Sinister
BSD 3-Clause Clear License
app/src/main/java/com/dertyp7214/changeloglibexampleapp/MainActivity.kt
DerTyp7214
152,643,561
false
{"Kotlin": 14039}
package com.dertyp7214.changeloglibexampleapp import android.annotation.SuppressLint import android.app.Activity import android.os.Bundle import android.util.Log import com.dertyp7214.changelogs.Changelog class MainActivity : Activity() { @SuppressLint("SetJavaScriptEnabled") override fun onCreate(savedInsta...
0
Kotlin
0
0
5708c934214f9c4fcc8e7255e6bca452fd54a975
1,354
ChangeLogLib
MIT License
wallet/wallet-core/src/main/kotlin/co/nilin/opex/wallet/core/spi/TransactionManager.kt
opexdev
370,411,517
false
null
package co.nilin.opex.wallet.core.spi import co.nilin.opex.wallet.core.model.Transaction import co.nilin.opex.wallet.core.model.TransactionHistory import java.time.LocalDateTime interface TransactionManager { suspend fun save(transaction: Transaction): String suspend fun findDepositTransactions( uui...
25
Kotlin
10
20
27b2698696d9c9cd2b7aa0606a0f0826c1c73a07
719
core
MIT License
app/src/main/java/com/maiconhellmann/architecture/misc/ext/ContextExtension.kt
maiconhellmann
129,785,320
false
null
package com.maiconhellmann.architecture.misc.ext import android.content.ComponentName import android.content.Context import android.content.CursorLoader import android.content.pm.PackageManager import android.net.ConnectivityManager import android.net.Uri import android.os.Looper import android.provider.MediaStore imp...
5
null
4
16
3348868cae1ca58d98af111bdc1050e8ea220abb
2,756
kotlin-mvvm-coroutines-koin
Apache License 2.0
src/test/kotlin/com/github/bkhablenko/bizzabo/domain/repository/ScheduleEntryRepositoryTest.kt
bkhablenko
642,912,539
false
null
package com.github.bkhablenko.bizzabo.domain.repository import com.github.bkhablenko.bizzabo.domain.model.ScheduleEntry import org.hamcrest.MatcherAssert.assertThat import org.hamcrest.Matchers.containsInAnyOrder import org.junit.jupiter.api.DisplayName import org.junit.jupiter.api.Nested import org.junit.jupiter.api....
0
Kotlin
0
0
095ba9133e4b6b4899da4b9db5bfe9729ca27027
1,356
bizzabo
MIT License
app/src/main/java/com/example/recipeapp/data/model/ResponseObject.kt
ahmedtelbani
841,468,308
false
{"Kotlin": 51791}
package com.example.recipeapp.data.model data class ResponseObject( val meals: List<Meal>? )
1
Kotlin
0
2
4fed9c6f6d7af7e00aabff6238043491e982367e
97
RecipeApp
MIT License
app/src/main/java/com/nagl/memesschedule/ui/schedule/PairAdapter.kt
nAglTI
538,191,339
false
{"Kotlin": 54128}
package com.nagl.memesschedule.ui.schedule import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import com.nagl.memesschedule.data.model.UniPair import com.nagl.meme...
0
Kotlin
0
0
ad42e1ed0286a516bd1f733181fdb6f25b11424c
1,648
MemesSchedule
MIT License
newm-server/src/main/kotlin/io/newm/server/features/release/model/Tracks.kt
projectNEWM
447,979,150
false
{"Kotlin": 2422079, "HTML": 185244, "Dockerfile": 2535, "Shell": 1986, "Procfile": 60}
package io.newm.server.features.release.model import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class Tracks( @SerialName("total") val total: Int, @SerialName("items") val items: ArrayList<SpotifyTrackItem> = arrayListOf() )
1
Kotlin
4
10
df810d10af8e0b44fcb39887e826dacd35f7ef70
286
newm-server
Apache License 2.0
kt/godot-library/src/main/kotlin/godot/gen/godot/ARVRServer.kt
ngcin
372,020,634
true
{"Kotlin": 549331, "GDScript": 298611, "C++": 275756, "C#": 11670, "CMake": 2538, "Shell": 1628, "C": 1292, "Python": 75}
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! @file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier", "UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST", "RemoveRedundantQualifierName", "NOTHING_TO_INLINE") package godot import godot.annotation.God...
0
Kotlin
0
0
b48a7c73bc21023e33a59d319e3d887ee77aa723
12,463
godot-kotlin-jvm
MIT License
example/src/main/kotlin/pl/touk/krush/many2many/Player.kt
TouK
230,889,734
false
{"Kotlin": 226076}
package pl.touk.krush.many2many import javax.persistence.Embeddable import javax.persistence.EmbeddedId import javax.persistence.Entity import javax.persistence.GeneratedValue import javax.persistence.Id import javax.persistence.JoinTable import javax.persistence.ManyToMany @Embeddable data class CharacterId( val...
14
Kotlin
12
246
7d1c3680eb42f29ba3abde53d5f90d4d5c1ad43a
648
krush
Apache License 2.0
components/faphub/target/impl/src/main/java/com/flipperdevices/faphub/target/impl/api/FlipperTargetProviderApiImpl.kt
flipperdevices
288,258,832
false
null
package com.flipperdevices.faphub.target.impl.api import com.flipperdevices.bridge.api.manager.ktx.state.ConnectionState import com.flipperdevices.bridge.service.api.provider.FlipperServiceProvider import com.flipperdevices.core.di.AppGraph import com.flipperdevices.core.log.LogTagProvider import com.flipperdevices.co...
21
null
174
999
ef27b6b6a78a59b603ac858de2c88f75b743f432
3,049
Flipper-Android-App
MIT License
app/src/main/java/br/com/ernanilima/jinventario/dto/StockCountItemDto.kt
ernanilima
370,795,646
false
null
package br.com.ernanilima.jinventario.dto import br.com.ernanilima.jinventario.model.StockCountItem /** * DTO usado para gravar os itens no banco de dados do firebase */ class StockCountItemDto(stockCountItem: StockCountItem) { val barcode: String = stockCountItem.barcode val unitPrice: Double = stockCountI...
0
Kotlin
0
2
8b98c69920f6bbc963f2f9ab926bda374f274dd1
455
jinventario
MIT License
src/main/kotlin/dev/shtanko/algorithms/leetcode/SumSubsequenceWidths.kt
ashtanko
203,993,092
false
{"Kotlin": 7429739, "Shell": 1168, "Makefile": 1144}
/* * Copyright 2020 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
6
Kotlin
0
19
c6e2befdce892e9f2caf1d98f54dc1dd9b2c89ba
1,380
kotlab
Apache License 2.0
apps/etterlatte-brev-api/src/main/kotlin/no/nav/etterlatte/brev/model/bp/BarnepensjonInformasjonDoedsfall.kt
navikt
417,041,535
false
{"Kotlin": 5788367, "TypeScript": 1519740, "Handlebars": 21334, "Shell": 12214, "HTML": 1734, "Dockerfile": 676, "CSS": 598, "PLpgSQL": 556}
package no.nav.etterlatte.brev.model.bp import no.nav.etterlatte.brev.behandling.GenerellBrevData import no.nav.etterlatte.brev.model.BrevDataRedigerbar import no.nav.etterlatte.brev.model.BrevdataMedInnhold import no.nav.etterlatte.brev.model.Slate data class BarnepensjonInformasjonDoedsfall( override val innhol...
13
Kotlin
0
6
abd4600c70b4188d7d6272ea2d650421ffdfcfb6
949
pensjon-etterlatte-saksbehandling
MIT License
target-libs/core/src/commonMain/kotlin/target/core/valuefailure/GenericValueFailure.kt
callius
569,901,166
false
null
package target.core.valuefailure import target.core.ValueFailure data class GenericValueFailure<T>(override val failedValue: T) : ValueFailure<T>
0
Kotlin
0
2
aa2924586c332a7d7d593e1a1f1c041627c08377
148
target-kt
Apache License 2.0
FloatItPhone/src/main/java/net/geekstools/floatshort/PRO/Folders/FoldersAdapter/FoldersListAdapter.kt
GeeksEmpireOfficial
180,519,781
false
null
/* * Copyright © 2020 By Geeks Empire. * * Created by <NAME> * Last modified 8/29/20 3:57 AM * * Licensed Under MIT License. * https://opensource.org/licenses/MIT */ package net.geekstools.floatshort.PRO.Folders.FoldersAdapter import android.content.Context import android.content.Intent import android.graphics...
7
Kotlin
2
8
3efbabc19cb78cd5647a248ba644de5aac3ec04e
7,857
FloatIt
MIT License
amazon/sqs/client/src/main/kotlin/org/http4k/connect/amazon/sqs/SqsMoshi.kt
http4k
295,641,058
false
{"Kotlin": 1624429, "Handlebars": 10370, "CSS": 5434, "Shell": 3178, "JavaScript": 2076, "Python": 1834, "HTML": 675}
package org.http4k.connect.amazon.sqs import com.squareup.moshi.JsonAdapter import com.squareup.moshi.Moshi import org.http4k.connect.amazon.sqs.model.QueueName import org.http4k.connect.amazon.sqs.model.ReceiptHandle import org.http4k.connect.amazon.sqs.model.SQSMessageId import org.http4k.format.AwsCoreJsonAdapterFa...
7
Kotlin
17
37
94e71e6bba87d9c79ac29f7ba23bdacd0fdf354c
1,141
http4k-connect
Apache License 2.0
core/network/src/main/kotlin/com/colisa/monsterdex/core/network/model/PokemonResponse.kt
mtali
689,464,751
false
{"Kotlin": 80593}
package com.colisa.monsterdex.core.network.model import com.colisa.monsterdex.core.model.Pokemon import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class PokemonResponse( @field:Json(name = "count") val count: Int, @field:Json(name = "next") val next: St...
0
Kotlin
0
5
d2fddf1c9f5892f8d01ed498c7be91854cfb2934
448
monsterdex
Apache License 2.0
core/network/src/main/kotlin/com/colisa/monsterdex/core/network/model/PokemonResponse.kt
mtali
689,464,751
false
{"Kotlin": 80593}
package com.colisa.monsterdex.core.network.model import com.colisa.monsterdex.core.model.Pokemon import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class PokemonResponse( @field:Json(name = "count") val count: Int, @field:Json(name = "next") val next: St...
0
Kotlin
0
5
d2fddf1c9f5892f8d01ed498c7be91854cfb2934
448
monsterdex
Apache License 2.0
src/main/kotlin/com/kotlin/blog/dto/response/CategoryResponse.kt
andersonmalves
755,979,110
false
{"Kotlin": 29972}
package com.kotlin.blog.dto.response import com.fasterxml.jackson.databind.PropertyNamingStrategies import com.fasterxml.jackson.databind.annotation.JsonNaming @JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy::class) data class CategoryResponse( val name: String )
0
Kotlin
0
0
ea744c9a09ff6500b21bc18c0fe476634dd2b9d5
277
blog-api-kotlin
MIT License
app/src/main/java/com/sbeve/jada/utils/SharedPreferencesUtil.kt
sbeve72
314,803,310
false
null
package com.sbeve.jada.utils import android.content.SharedPreferences import androidx.lifecycle.LiveData interface SharedPreferencesUtil : SharedPreferences.OnSharedPreferenceChangeListener { val selectedLanguage: LiveData<String> fun getLanguageSetting(): Int fun updateLanguageSetting(inde...
1
Kotlin
1
21
3b88eb71137fca30202f6d482c129e01669e32c5
330
JADA
MIT License
22.Generics/main.kt
StevenJokess
383,575,169
true
{"Kotlin": 6110}
fun main() { var objet1 = genericsExample<Int>(10) var object2 = genericsExample<Double>(10.00) println(objet1) println(object2) } class genericsExample<out T>(input:T) { init { println("I am getting called with the value "+input) } }
0
null
0
0
bff4f948656b4f814d461b6151b1b787d6b9009c
258
Introduction-to-Kotlin-Programming
MIT License
features/recipe_dashboard/src/main/java/com/carlosquezada/recipe_dashboard/presentation/activity/MainActivity.kt
CarlosQuezadaP
596,859,163
false
null
package com.carlosquezada.recipe_dashboard.presentation.activity import android.os.Bundle import android.view.Menu import android.view.MenuItem import android.widget.SearchView import androidx.annotation.NonNull import androidx.appcompat.app.AppCompatActivity import androidx.core.view.forEach import androidx.core.view...
0
Kotlin
0
0
10ca4b087c6037d8b2a3ac51c67713a17b021fa6
5,408
recetas
Apache License 2.0
src/main/kotlin/io/newm/kogmios/protocols/model/BlockShelley.kt
projectNEWM
469,781,993
false
null
package io.newm.kogmios.protocols.model import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class BlockShelley( @SerialName("shelley") val shelley: Shelley, ) : Block()
0
Kotlin
0
4
8cc723de46afb45e4c1a44cf153fd18b1d7436c0
228
kogmios
Apache License 2.0
app/src/main/java/com/aregyan/github/util/iap/BillingClientConnectionListener.kt
Zubair189
582,278,293
false
null
package com.aregyan.github.util.iap interface BillingClientConnectionListener { fun onConnected(status: Boolean, billingResponseCode: Int) }
0
Kotlin
0
0
abbb67d3adb33a6fe0f6a8436b03a28e67cc774e
145
Boilerplate_Hilt
MIT License
usvm-python/src/test/kotlin/org/usvm/runner/manual/analyzers/ProgramAnalyzer.kt
UnitTestBot
586,907,774
false
{"Kotlin": 3630198, "Java": 566545, "C": 80326, "Python": 29903, "TypeScript": 1088, "Shell": 929}
package org.usvm.runner.manual.analyzers import org.usvm.runner.manual.program.ProgramProvider interface ProgramAnalyzer { fun run(provider: ProgramProvider) }
39
Kotlin
16
21
0acf6575865d692baea6c5a398a49d5069b519ee
166
usvm
Apache License 2.0
feature-settings-impl/src/main/java/io/novafoundation/nova/feature_settings_impl/presentation/networkManagement/chain/headerAdapter/ChainNetworkManagementHeaderAdapter.kt
novasamatech
415,834,480
false
{"Kotlin": 11112596, "Rust": 25308, "Java": 17664, "JavaScript": 425}
package io.novafoundation.nova.feature_settings_impl.presentation.networkManagement.chain.headerAdapter import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import coil.ImageLoader import io.novafoundation.nova.common.list.SingleItemAdapter import io.novafoundation.no...
14
Kotlin
30
50
166755d1c3388a7afd9b592402489ea5ca26fdb8
3,599
nova-wallet-android
Apache License 2.0
app/src/main/java/com/huanchengfly/tieba/post/adapters/SearchPostAdapter.kt
steve02081504
542,136,746
true
{"Kotlin": 840467, "Java": 801077, "JavaScript": 47843}
package com.huanchengfly.tieba.post.adapters import android.content.Context import android.graphics.Color import android.widget.TextView import androidx.annotation.ColorInt import androidx.core.text.HtmlCompat import com.huanchengfly.tieba.post.R import com.huanchengfly.tieba.post.adapters.base.BaseSingleTypeAdapter i...
0
Kotlin
0
0
afac8210329e45ddaed39675776d4f2c9e99420f
3,246
TiebaLite
Apache License 2.0
klutter-plugins/plugins/src/main/kotlin/dev/buijs/klutter/plugins/gradle/tasks/adapter/flutter/AppFrameworkInfoPlistVisitor.kt
buijs-dev
436,644,099
false
null
/* Copyright (c) 2021 - 2022 Buijs Software * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, ...
0
Kotlin
2
86
8c7128d96b32461177468c6216a69c2f0dabec78
3,036
klutter
MIT License
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/apigateway/ApiDefinitionS3LocationDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.apigateway import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.apigateway.ApiDefinitionS3Location @Generated public fun buildApiDefinitionS3Location(initializer: @AwsCdkDsl ApiDefinition...
1
Kotlin
0
0
b22e397ff37c5fce365a5430790e5d83f0dd5a64
443
aws-cdk-kt
Apache License 2.0
app/src/main/java/ch/admin/foitt/pilotwallet/platform/sdjwt/domain/model/ParsedSdJwt.kt
e-id-admin
775,912,525
false
{"Kotlin": 1521284}
package ch.admin.foitt.pilotwallet.platform.sdjwt.domain.model import kotlinx.serialization.json.JsonElement data class ParsedSdJwt( val signedJwt: String, val jsonWithActualValues: JsonElement )
1
Kotlin
1
4
6572b418ec5abc5d94b18510ffa87a1e433a5c82
206
eidch-pilot-android-wallet
MIT License
src/test-integration/kotlin/skeleton/app/core/web/AuthApiIT.kt
println
669,602,237
false
null
package skeleton.app.core.web import org.jeasy.random.EasyRandom import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.springframework.beans.factory.annotation.Autowired import org.springframework.http.MediaTy...
0
Kotlin
0
0
5714824f163a49a3ac50a31d49dda385236ff8b4
2,834
kotlin-skeleton
MIT License
src/maia/ml/dataset/error/UnownedRepresentationError.kt
waikato-maia
387,325,041
false
null
package maia.ml.dataset.error import maia.ml.dataset.headers.DataColumnHeaders import maia.ml.dataset.type.DataRepresentation /** * TODO: What class does. * * @author <NAME> (csterlin at waikato dot ac dot nz) */ class UnownedRepresentationError( representation : DataRepresentation<*, *, *>, headers: Data...
0
Kotlin
0
0
d1931141bfcf2de1313c422006a5d8e21e1436c7
432
maia-dataset
Apache License 2.0
app/src/main/java/com/deepfinity/sample/main/models/MainModel.kt
Deepfinity
398,880,442
false
null
package com.deepfinity.sample.main.models data class MainModel(val text: String)
0
Kotlin
0
0
819d6098a41c21f62c61091297caf35a7445c6a5
81
deep-mvi
Apache License 2.0
shared/src/commonMain/kotlin/uiComponents/Samplepermission.kt
Lilytreasure
700,871,694
false
null
package uiComponents import androidx.compose.foundation.Image import androidx.compose.material3.Button import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.remember impor...
11
null
0
9
3344f0e215444ef6a71b2d3555b8419b5c4a4ab1
4,767
DecomposeNavigation
Apache License 2.0
src/test/kotlin/com/vaadin/pwademo/TaskListViewTest.kt
mvysny
122,212,130
false
{"Kotlin": 19723, "Dockerfile": 1141, "HTML": 507, "CSS": 264, "Isabelle": 24}
package com.vaadin.pwademo import com.github.mvysny.kaributesting.v10._click import com.github.mvysny.kaributesting.v10._get import com.github.mvysny.kaributesting.v10._size import com.github.mvysny.kaributesting.v10.expectList import com.vaadin.flow.component.UI import com.vaadin.flow.component.button.Button import c...
5
Kotlin
4
28
74a8a4c25a0ffbe64bc3b1189311dd671cc2da56
893
vaadin-kotlin-pwa
MIT License
user/src/main/java/org/the_chance/honeymart/ui/feature/notifications/NotificationsUiState.kt
TheChance101
647,400,117
false
{"Kotlin": 1218713}
package org.the_chance.honeymart.ui.feature.notifications import android.annotation.SuppressLint import org.the_chance.honeymart.domain.model.Notification import org.the_chance.honeymart.domain.util.ErrorHandler import java.text.SimpleDateFormat import java.util.Date data class NotificationsUiState( val isLoading...
3
Kotlin
7
21
50200e0ec0802cdadc282b09074a19c96df3220c
1,887
Honey-Mart-Android-Client
Apache License 2.0
app/src/main/java/com/akexorcist/recyclerviewwithitemtouchhelper/CustomItemTouchHelperCallback.kt
sivakornb
142,728,969
true
{"Kotlin": 9142}
package com.akexorcist.recyclerviewwithitemtouchhelper import android.support.v7.widget.RecyclerView import android.support.v7.widget.helper.ItemTouchHelper /** * Created by Akexorcist on 26/12/2017 AD. */ class CustomItemTouchHelperCallback(private var listener: CustomItemTouchHelperListener) : ItemTouchHelper.Ca...
0
Kotlin
0
0
8e02d264e23bd8b6ebfcf53ff44c748d5a4f440c
1,253
Android-RecyclerViewItemTouchHelper
Apache License 2.0
app/src/main/java/com/aliahmed/weatherapp/ui/Navigation.kt
aliahmedbd
625,302,209
false
null
package com.aliahmed.weatherapp.ui import androidx.compose.runtime.Composable import androidx.navigation.NavHostController import androidx.navigation.compose.NavHost import androidx.navigation.compose.composable import com.aliahmed.core_ui.NavigationItem import com.aliahmed.current_weather.view.CurrentWeatherScreen im...
0
Kotlin
0
8
498963b616a0c92d5682dec7b227b1a72db3162f
771
WeatherApp-Android-Clean-Architecture-Jetpack-Compose-Kotlin-Hilt-Flow
Apache License 2.0