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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
transport/rabbitmq/src/main/kotlin/RabbitMqMessageSenderFactory.kt | eclipse-apoapsis | 760,319,414 | false | null | /*
* Copyright (C) 2023 The ORT Server Authors (See <https://github.com/eclipse-apoapsis/ort-server/blob/main/NOTICE>)
*
* 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://w... | 18 | null | 2 | 9 | 0af70d6382a86f0ebc35d9b377f4229c6a71637a | 3,009 | ort-server | Apache License 2.0 |
messaging/src/androidTest/java/academy/compose/messaging/ui/MessagesTest.kt | roshanrai06 | 464,025,442 | false | {"Kotlin": 789427} | /*
* Copyright 2021 Compose Academy
*
* 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... | 0 | Kotlin | 0 | 0 | 37aae28e27d9a52bb44536af92f8b6111a27b1da | 2,809 | Compose_Acadmy | Apache License 2.0 |
androidApp/src/androidMain/kotlin/com/myapplication/MainActivity.kt | yeshuwahane | 696,453,657 | false | {"Kotlin": 6696, "Swift": 686, "Shell": 228} | package com.myapplication
import MainView
import android.os.Build
import android.os.Bundle
import android.util.Log
import androidx.activity.compose.setContent
import androidx.annotation.RequiresExtension
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.runtime.Composable
import androidx.compose.... | 0 | Kotlin | 0 | 0 | c29298a0f9259e20a8c3771f54c351af90f6eb18 | 1,315 | CMM | Apache License 2.0 |
src/main/kotlin/org/move/ide/intentions/InlineAddressBlockIntention.kt | pontem-network | 279,299,159 | false | null | package org.move.ide.intentions
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiElement
import org.move.lang.core.psi.MvAddressDef
import org.move.lang.core.psi.MvModuleBlock
import org.move.lang.core.psi.ext.ancestorStrict
import org.move.lang.core.psi.... | 4 | null | 7 | 68 | 869d4901d6aebeb9c84bfb5809e4f547a0ac3427 | 1,897 | intellij-move | MIT License |
app/src/main/java/ly/david/mbjc/ui/stats/StatsScreen.kt | lydavid | 458,021,427 | false | null | package ly.david.mbjc.ui.stats
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material3.Surface
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import ly.david.data.network.MusicBrainzResource
import ly.david.data.persistence.relation.RelationTypeCount
import ... | 54 | null | 0 | 4 | 052613fefaeb5a687ee36d0f3889d9a120224994 | 4,267 | MusicSearch | Apache License 2.0 |
api_generator/tests/references/shared_data_kotlin/EntityWithRawArray.kt | divkit | 523,491,444 | false | {"Kotlin": 6844057, "Swift": 4512146, "TypeScript": 634790, "Dart": 552612, "Svelte": 478532, "Python": 461531, "Java": 378340, "JavaScript": 142322, "CSS": 35672, "HTML": 23068, "C++": 20911, "CMake": 18677, "Shell": 8952, "PEG.js": 7210, "Ruby": 3723, "C": 1425, "Objective-C": 38} | // Generated code. Do not modify.
package com.yandex.div2
import org.json.JSONObject
class EntityWithRawArray(
@JvmField final val array: Expression<JSONArray>,
) : Hashable {
private var _hash: Int? = null
override fun hash(): Int {
_hash?.let {
return it
}
val has... | 6 | Kotlin | 121 | 2,197 | 4675bf93c4a1cc34040537d16cd2777e2463a6bd | 606 | divkit | Apache License 2.0 |
app/src/main/java/com/aliernfrog/lactool/ui/component/ExpandableColumnRounded.kt | aliernfrog | 344,576,839 | false | null | package com.aliernfrog.lactool.ui.component
import androidx.compose.animation.*
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.rounde... | 3 | Kotlin | 0 | 0 | 51a78e60089f2bc22ffa89880e8f5819a651e839 | 3,427 | lac-tool | MIT License |
idea/tests/org/jetbrains/kotlin/idea/decompiler/stubBuilder/ClsStubConsistencyTest.kt | staltz | 93,485,627 | false | null | /*
* Copyright 2010-2015 JetBrains s.r.o.
*
* 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 agre... | 0 | null | 0 | 1 | 80074c71fa925a1c7173e3fffeea4cdc5872460f | 1,580 | kotlin | Apache License 2.0 |
src/main/java/org/liangguo/breakingbad/entity/model/UndeadGusFringModel.kt | ldh-star | 600,430,068 | false | null | package org.liangguo.breakingbad.entity.model
import net.minecraft.client.model.PlayerModel
import net.minecraft.client.model.geom.ModelPart
import net.minecraft.util.Mth
import org.liangguo.breakingbad.entity.mobs.UndeadGusFring
/**
* @author ldh
* 时间: 2023/2/7 13:31
* 邮箱: <EMAIL>
*/
class UndeadGusFringModel(p... | 0 | Kotlin | 0 | 0 | dde7c4adf4990f205b23021c557d0509b83360f9 | 1,128 | BreakingBad-Minecraft | MIT License |
app/src/main/kotlin/com/importre/example/main/progress/ProgressModel.kt | importre | 85,430,761 | false | null | package com.importre.example.main.progress
data class ProgressModel(val progress: Long = 0)
| 0 | Kotlin | 10 | 56 | 3b2e9f924bfa84066db7ad8fe1d19653ace1cda6 | 93 | kotlin-maze | Apache License 2.0 |
HttpLogInterceptorExam/app/src/main/java/com/hans/android/httploginterceptorexam/data/city/CityEntity.kt | goldfing | 256,676,960 | false | null | package com.hans.android.httploginterceptorexam.data.city
data class CityEntity(var title:String, var city: List<String>) {
}
| 0 | Kotlin | 0 | 2 | a792b90c587cf2cfe590dacd8645a83f31446ac4 | 128 | AndroidProjects | MIT License |
src/main/kotlin/software/amazon/smithy/intellij/psi/ext.kt | iancaffey | 455,381,865 | false | null | package software.amazon.smithy.intellij.psi
import com.intellij.extapi.psi.ASTWrapperPsiElement
import com.intellij.lang.ASTNode
import com.intellij.navigation.ItemPresentation
import com.intellij.openapi.fileEditor.FileDocumentManager
import com.intellij.openapi.util.TextRange
import com.intellij.psi.PsiComment
impor... | 1 | Kotlin | 1 | 20 | afe9cc9da3308d211cfa3fefb3c8c2a25eb9f85c | 42,228 | smithy-intellij-plugin | MIT License |
src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingConfirmedTestsCommon.kt | ACINQ | 243,326,972 | false | null | package fr.acinq.lightning.channel.states
import fr.acinq.bitcoin.*
import fr.acinq.lightning.Feature
import fr.acinq.lightning.Features
import fr.acinq.lightning.Lightning.randomBytes32
import fr.acinq.lightning.Lightning.randomKey
import fr.acinq.lightning.MilliSatoshi
import fr.acinq.lightning.blockchain.*
import f... | 41 | null | 22 | 94 | f86fffe3032a16a3e55f2b4a8ab81e728f8310b1 | 33,279 | lightning-kmp | Apache License 2.0 |
kotlin-eclipse-ui-test/testData/wordSelection/selectNext/TemplateStringLiteral/2.kt | bvfalcon | 263,980,575 | false | null | val v = "<selection>a<caret>aa ${x + y}</selection> bbb" | 19 | null | 7 | 43 | e6360b023e1e377325f1d10bda5755e3fc3af591 | 56 | kotlin-eclipse | Apache License 2.0 |
app/src/main/java/id/asmith/someappclean/data/remote/ApiService.kt | bakode | 115,181,489 | false | null | package id.asmith.someappclean.data.remote
import io.reactivex.Observable
import okhttp3.ResponseBody
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.POST
/**
* Created by <NAME> on 27/12/2017.
* https://asmith.my.id
* <EMAIL>
*/
interface ApiService {
@FormUrlEncoded... | 0 | Kotlin | 0 | 0 | 57d28a18cb98b6975ad92e929596c631803d0adf | 1,421 | a-droid-cc | Apache License 2.0 |
examples/user/readSession/readASessionByTheSessionId/main.kt | GWT-M3O-TEST | 485,009,715 | false | null |
package examples.user.readSession
import com.m3o.m3okotlin.M3O
import com.m3o.m3okotlin.services.user
suspend fun main() {
M3O.initialize(System.getenv("M3O_API_TOKEN"))
val req = UserReadSessionRequest()
try {
val response = UserServ.readSession(req)
println(response)
} catch (e: Exception) ... | 1 | Kotlin | 1 | 0 | 54158b584ba47bd7323a484804dcd78c55ef7f69 | 345 | m3o-kotlin | Apache License 2.0 |
src/main/kotlin/me/chill/framework/CommandCategory.kt | woojiahao | 145,920,296 | false | null | package me.chill.framework
@Target(AnnotationTarget.FUNCTION)
annotation class CommandCategory | 10 | Kotlin | 12 | 19 | f55e6dc4897096b40c77580b5a4f3417ca563b34 | 95 | Taiga | MIT License |
library/src/androidTest/java/com/alexstyl/contactstore/ContactGroupsLookupTest.kt | alexstyl | 408,189,357 | false | {"Kotlin": 292914} | package com.alexstyl.contactstore
import com.alexstyl.contactstore.GroupsPredicate.GroupLookup
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.runBlocking
import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.MatcherAssert.assertThat
import org.junit.Test
internal class ContactGroupsLookupTest :... | 3 | Kotlin | 15 | 429 | ee2c5b0bc014b8191783e44e610315c1cc51d896 | 1,901 | contactstore | Apache License 2.0 |
plugins/kotlin-serialization/kotlin-serialization-compiler/testData/diagnostics/SerializableIgnored.kt | walltz556 | 212,946,144 | true | {"Markdown": 60, "Gradle": 598, "Gradle Kotlin DSL": 294, "Java Properties": 12, "Shell": 11, "Ignore List": 11, "Batchfile": 9, "Git Attributes": 5, "Protocol Buffer": 11, "Java": 6356, "Kotlin": 48188, "Proguard": 8, "XML": 1560, "Text": 10288, "JavaScript": 266, "JAR Manifest": 2, "Roff": 211, "Roff Manpage": 36, "I... | // !DIAGNOSTICS: -UNUSED_PARAMETER,-UNUSED_VARIABLE
// FILE: test.kt
import kotlinx.serialization.*
<!PLUGIN_ERROR("@Serializable annotation is ignored because it is impossible to serialize automatically interfaces or enums. Provide serializer manually via e.g. companion object")!>@Serializable<!>
interface INonSeria... | 0 | null | 0 | 1 | f17e9ba9febdabcf7a5e0f17e4be02e0f9e87f13 | 565 | kotlin | Apache License 2.0 |
updater-mapper-standard/src/main/java/org/runestar/client/updater/mapper/std/classes/IDKType.kt | Tachyon97 | 228,674,958 | true | {"Markdown": 31, "Maven POM": 21, "Text": 2, "Kotlin": 587, "Java": 37, "XML": 2, "YAML": 1} | package org.runestar.client.updater.mapper.std.classes
import org.objectweb.asm.Opcodes
import org.runestar.client.updater.mapper.DependsOn
import org.runestar.client.updater.mapper.and
import org.runestar.client.updater.mapper.predicateOf
import org.runestar.client.updater.mapper.type
import org.runestar.client.updat... | 0 | Kotlin | 0 | 0 | d02e7a382a34af117279be02f9f54a6a70fc012b | 4,554 | client | MIT License |
updater-mapper-standard/src/main/java/org/runestar/client/updater/mapper/std/classes/IDKType.kt | Tachyon97 | 228,674,958 | true | {"Markdown": 31, "Maven POM": 21, "Text": 2, "Kotlin": 587, "Java": 37, "XML": 2, "YAML": 1} | package org.runestar.client.updater.mapper.std.classes
import org.objectweb.asm.Opcodes
import org.runestar.client.updater.mapper.DependsOn
import org.runestar.client.updater.mapper.and
import org.runestar.client.updater.mapper.predicateOf
import org.runestar.client.updater.mapper.type
import org.runestar.client.updat... | 0 | Kotlin | 0 | 0 | d02e7a382a34af117279be02f9f54a6a70fc012b | 4,554 | client | MIT License |
vk-sdk-api/src/main/java/com/vk/sdk/api/messages/dto/MessagesMessageAttachment.kt | wesshi-tiktok | 358,352,248 | true | {"Kotlin": 4764291, "Java": 37555} | /**
* The MIT License (MIT)
*
* Copyright (c) 2019 vk.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... | 0 | null | 0 | 0 | 32898fa706e4064118ae18327649e89a22fc6070 | 2,892 | vk-android-sdk | MIT License |
app/src/main/java/ozelentok/zcworker/KeepAliveService.kt | ozelentok | 679,583,486 | false | null | package ozelentok.zcworker
import android.app.*
import android.content.Intent
import android.graphics.drawable.Drawable
import android.os.IBinder
import ozelentok.zcworker.Utils.showErrorToast
import ozelentok.zcworker.Utils.toBitmap
class KeepAliveService : Service() {
override fun onStartCommand(intent: Intent... | 0 | Kotlin | 0 | 0 | c0789c9cd7222d3deffa1e1375f5863658b58966 | 1,897 | ZCWorker | MIT License |
signum-dynamodb/src/test/kotlin/com/sksamuel/signum/dynamodb/dynamo.kt | sksamuel | 292,966,030 | false | null | package com.sksamuel.signum.dynamodb
import org.testcontainers.containers.GenericContainer
import org.testcontainers.utility.DockerImageName
val dockerImageName = DockerImageName.parse("amazon/dynamodb-local:1.20.0")
val dynamo = GenericContainer(dockerImageName).withExposedPorts(8000)
| 0 | Kotlin | 0 | 6 | 319b18decc77a85bb3ddb6bfe44f9bccbebd0a9c | 289 | signum | Apache License 2.0 |
viewmodel/src/nonAndroidMain/kotlin/com/hoc081098/kmp/viewmodel/CreationExtras.nonAndroid.kt | hoc081098 | 593,616,264 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 5 | null | 6 | 96 | bd453f25c3054dbc5a309a097e889bf8865e9d18 | 1,621 | kmp-viewmodel | MIT License |
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/diff/CombinedChangeDiff.kt | JetBrains | 2,489,216 | false | null | // 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.openapi.vcs.changes.actions.diff
import com.intellij.diff.requests.DiffRequest
import com.intellij.diff.tools.combined.*
import com.intellij.openapi.ListSelection
import com.int... | 191 | null | 4372 | 13,319 | 4d19d247824d8005662f7bd0c03f88ae81d5364b | 3,159 | intellij-community | Apache License 2.0 |
src/main/kotlin/no/nav/dagpenger/iverksett/utbetaling/domene/Iverksettingsresultat.kt | navikt | 611,752,955 | false | {"Kotlin": 289131, "Gherkin": 44306, "Shell": 626, "Dockerfile": 121} | package no.nav.dagpenger.iverksett.utbetaling.domene
import no.nav.dagpenger.kontrakter.felles.Fagsystem
import no.nav.dagpenger.kontrakter.oppdrag.OppdragStatus
import org.springframework.data.relational.core.mapping.Column
import java.time.LocalDateTime
import java.util.UUID
data class Iverksettingsresultat(
va... | 1 | Kotlin | 1 | 0 | f35a87c6f3b1bc87e3edfe11c07670be677f8c3f | 737 | dp-iverksett | MIT License |
plugins/compiler-plugin/src/main/kotlin/dev/ahmedmourad/nocopy/compiler/NoCopyPlugin.kt | AhmedMourad0 | 242,375,329 | false | {"Kotlin": 24100} | package dev.ahmedmourad.nocopy.compiler
import org.jetbrains.kotlin.cli.common.CLIConfigurationKeys
import org.jetbrains.kotlin.cli.common.messages.MessageCollector
import org.jetbrains.kotlin.com.intellij.mock.MockProject
import org.jetbrains.kotlin.com.intellij.openapi.extensions.Extensions
import org.jetbrains.kotl... | 1 | Kotlin | 4 | 150 | e62c2564f114c0dcff9b09760601f651b21d6762 | 1,499 | no-copy | Apache License 2.0 |
uicorek/src/main/java/com/mozhimen/uicorek/tabk/top/mos/TabKTopMo.kt | mozhimen | 353,952,154 | false | null | package com.mozhimen.uicorek.tabk.top.mos
import androidx.fragment.app.Fragment
import com.mozhimen.basick.extsk.asColorTone
/**
* @ClassName TabKTopInfo
* @Description TODO
* @Author mozhimen / <NAME>
* @Date 2022/4/15 22:16
* @Version 1.0
*/
class TabKTopMo {
enum class TabKTopType {
IMAGE, TEXT, ... | 0 | Kotlin | 0 | 1 | 3dd109aff154bff96379cde86e6e4632967cca40 | 2,214 | SwiftMK | Apache License 2.0 |
di/src/main/java/com/di/module/RemoteDataSourceModule.kt | Software-Meister-High-School-Community | 452,152,042 | false | null | package com.di.module
abstract class RemoteDataSourceModule {
} | 8 | Kotlin | 0 | 4 | 9e2521871663805a4b50f23497dfee972bab1766 | 64 | MOIZA_Android | MIT License |
pensjon-brevbaker-api-model/src/main/kotlin/no/nav/pensjon/brev/api/model/maler/Brevkode.kt | navikt | 375,334,697 | false | null | package no.nav.pensjon.brev.api.model.maler
object Brevkode {
enum class AutoBrev(vararg koder: String) {
PE_2023_FEIL_INFOBREV_AP_SENDT_BRUKER("ADHOC_2023_AP2"),
PE_ADHOC_2023_04_GJENLEVENDEINFOETTER1970("ADHOC_2023_04_GJP1"),
PE_ADHOC_2023_04_GJENLEVENDEINFOFOER1971("ADHOC_2023_04_GJP2"),... | 8 | Kotlin | 3 | 0 | f6279463e3a300492df8e7304a0063817b95273b | 1,502 | pensjonsbrev | MIT License |
src/main/kotlin/org/kirinhorse/kbt/decorators/Force.kt | KirinHorse | 674,049,029 | false | null | package org.kirinhorse.kbt.decorators
import org.kirinhorse.kbt.BehaviorTree
import org.kirinhorse.kbt.Decorator
import org.kirinhorse.kbt.KBTInput
import org.kirinhorse.kbt.NodeConfig
import org.kirinhorse.kbt.Types
@KBTInput("status", Types.KBTType.Bool)
class Force(tree: BehaviorTree, config: NodeConfig) : Decorat... | 0 | Kotlin | 0 | 1 | 9539293396e3a1bb5660d884ee93d97a00698732 | 497 | KotlinBehaviors | MIT License |
app/src/main/java/com/liuxe/energyweather/http/WeatherApi.kt | liuxe66 | 220,427,527 | false | null | package com.liuxe.energyweather.http
import com.liuxe.energyweather.base.BaseResponse
import com.liuxe.energyweather.bean.WeatherBean
import retrofit2.http.GET
import retrofit2.http.Query
interface WeatherApi {
companion object {
const val BASE_URL = "http://aider.meizu.com/app/weather/"
}
@GET("... | 0 | Kotlin | 0 | 0 | 96c648b43dd07588e259dafc2dff14d6a14081c4 | 425 | EneryWeather | Apache License 2.0 |
app/src/main/java/me/hufman/androidautoidrive/phoneui/PhoneUiUtils.kt | pshoey | 320,626,857 | true | {"Kotlin": 830646, "Java": 822} | package me.hufman.androidautoidrive.phoneui
import android.content.Context
import android.util.TypedValue
import android.view.View
import androidx.annotation.AttrRes
import androidx.annotation.ColorInt
/** Resolve a Color Attribute to a color int */
@ColorInt
fun Context.getThemeColor(
@AttrRes attrColor: Int
): In... | 0 | null | 0 | 0 | 1eaea6771f11c0326e75cec6112ad26e717edbb7 | 687 | AndroidAutoIdrive | MIT License |
src/main/kotlin/org/joachimalaya/operators/Modifications.kt | Joachimalaya | 144,450,090 | false | null | package org.joachimalaya.operators
/**
* 'Multiply' a List by adding it to itself repeatedly.
* If a List is multiplied with 0 the result is an empty List of the same type.
*
* This function will throw an [IllegalArgumentException] if given a multiplicand less than 0.
*/
operator fun <K> List<K>.times(times: Int)... | 0 | Kotlin | 0 | 0 | 2e57304ab885b781407453a09fd4f74783c76527 | 1,454 | operators | MIT License |
plugins/kotlin/code-insight/intentions-shared/tests/testData/intentions/convertToForEachFunctionCall/blockBodyExpression.kt | ingokegel | 72,937,917 | true | null | // WITH_RUNTIME
fun foo() {
// check that original formatting of "x+1" and "1 .. 4" is preserved
// AFTER-WARNING: The expression is unused
<caret>for (x in 1 .. 4) {
x
x+1
}
} | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 204 | intellij-community | Apache License 2.0 |
rgpd/src/main/java/a/rgpd/rgpd/utils/utils.kt | Devid-Team | 168,692,610 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 2, "XML": 22, "Kotlin": 19, "JSON": 1} | package a.rgpd.rgpd.utils
import android.content.res.Resources
import android.graphics.*
import android.graphics.drawable.BitmapDrawable
import android.graphics.drawable.Drawable
import android.graphics.drawable.GradientDrawable
import android.widget.Button
import android.widget.RelativeLayout
class ColorGenerator {
... | 1 | Kotlin | 0 | 1 | 35fe799cd97764fef9158387b2b61e38a320a15e | 2,617 | RGPD-Android | Apache License 2.0 |
materialpreference/src/main/java/com/anggrayudi/materialpreference/PreferenceInflater.kt | anggrayudi | 139,258,858 | false | null | /*
* Copyright (C) 2015 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... | 0 | Kotlin | 19 | 92 | 34b2b884d8742a3cbd6c4f1c87604d77f15464d7 | 12,271 | MaterialPreference | Apache License 2.0 |
stark-plugin-external/src/androidTest/java/com/hjhjw1991/stark/plugin/external/ExampleInstrumentedTest.kt | hjhjw1991 | 288,537,354 | false | null | package com.hjhjw1991.stark.plugin.external
import android.support.test.InstrumentationRegistry
import android.support.test.runner.AndroidJUnit4
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing docum... | 0 | Kotlin | 1 | 0 | d22d05f5510b671b16a632411a3d03e76cc9e58b | 696 | stark | MIT License |
app/src/main/java/br/com/schuster/androidunittests/domain/model/NoteItem.kt | cleberschuster | 839,383,443 | false | {"Kotlin": 12090} | package br.com.schuster.androidunittests.domain.model
data class NoteItem(
var title: String,
var description: String,
var imageUrl: String,
val dateAdded: Long,
val id: Int = 0,
)
| 0 | Kotlin | 0 | 0 | e51412c3c6cc645885fc388c56433c853eaf9026 | 204 | android_unit_tests_app | Apache License 2.0 |
src/main/kotlin/org/jetbrains/plugins/bsp/jvm/JvmBspRunHandler.kt | JetBrains | 521,228,542 | false | {"Kotlin": 900996, "Java": 611} | package org.jetbrains.plugins.bsp.jvm
import ch.epfl.scala.bsp4j.BuildTargetIdentifier
import ch.epfl.scala.bsp4j.RunParams
import com.intellij.execution.ExecutionException
import com.intellij.execution.Executor
import com.intellij.execution.configurations.RemoteConnection
import com.intellij.execution.configurations.... | 2 | Kotlin | 12 | 27 | 0268f6b73e2c4cd0f8b37d28f983638b4843ee15 | 4,639 | intellij-bsp | Apache License 2.0 |
room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/XExecutableElement.kt | JetBrains | 351,708,598 | false | null | /*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 29 | null | 937 | 59 | 3fbd775007164912b34a1d59a923ad3387028b97 | 2,345 | androidx | Apache License 2.0 |
app/src/main/java/in/surajsau/jisho/ui/home/HomeScreen.kt | surajsau | 434,128,847 | false | null | package `in`.surajsau.jisho.ui.home
import `in`.surajsau.jisho.base.use
import `in`.surajsau.jisho.data.model.Screen
import `in`.surajsau.jisho.ui.Destinations
import android.os.Build
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
imp... | 2 | null | 5 | 15 | 66ca1373067c57257e7d26f9b922d2d0915b0f4a | 3,614 | ML-Android | Apache License 2.0 |
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt | square | 5,152,285 | false | {"Kotlin": 3723581, "Java": 11377, "Shell": 3014} | /*
* Copyright (C) 2018 Square, 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 agre... | 2 | Kotlin | 9281 | 45,832 | dbedfd000c8e84bc914c619714b8c9bf7f3e06d4 | 1,682 | okhttp | Apache License 2.0 |
example/write-endpoint/adapters/driving/http/src/test/kotlin/org/sollecitom/chassis/example/write_endpoint/adapters/driving/web/OpenApiComplianceTests.kt | sollecitom | 669,483,842 | false | null | package org.sollecitom.chassis.example.write_endpoint.adapters.driving.web
import assertk.assertThat
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.TestInstance
import org.junit.jupiter.api.TestInstance.Lifecycle.PER_CLASS
import org.sollecitom.chassis.logging.standard.configuration.configureLogging
im... | 0 | null | 0 | 2 | e4e3403e46f7358a03c8ee3520b3b94be679792b | 763 | chassis | MIT License |
deprecated/RxJavaTemplate/common-rx/src/main/java/co/nimblehq/rxjava/common/transformers/FlowableNeverErrorTransformer.kt | nimblehq | 101,353,301 | false | null | package co.nimblehq.smsforwarder.common.transformers
import io.reactivex.Flowable
import io.reactivex.FlowableTransformer
import io.reactivex.functions.Consumer
import org.reactivestreams.Publisher
class FlowableNeverErrorTransformer<T>(
private val errorConsumer: Consumer<Throwable>? = null
) : FlowableTransform... | 31 | null | 23 | 94 | f07941499a70b6144f4280c233edba542ab3e516 | 602 | android-templates | MIT License |
src/main/kotlin/ee/deepmooc/model/GroupRegistrationEntity.kt | MTender | 609,967,804 | false | {"Kotlin": 70995, "Dockerfile": 133} | package ee.deepmooc.model
import org.komapper.annotation.KomapperAutoIncrement
import org.komapper.annotation.KomapperEntity
import org.komapper.annotation.KomapperId
import org.komapper.annotation.KomapperTable
@KomapperEntity(aliases = ["groupRegistrations"])
@KomapperTable(name = "group_registrations")
data class ... | 0 | Kotlin | 0 | 0 | 28208b28d1db86efa0d7a391c3571443a4ab7297 | 472 | deepmooc-backend | MIT License |
app/src/main/kotlin/com/absinthe/libchecker/ui/fragment/detail/AppBundleBottomSheetDialogFragment.kt | allenymt | 369,098,358 | true | {"Kotlin": 580378, "Java": 96849, "Roff": 40506, "HTML": 125} | package com.absinthe.libchecker.ui.fragment.detail
import android.view.ViewGroup
import androidx.recyclerview.widget.LinearLayoutManager
import com.absinthe.libchecker.bean.AppBundleItemBean
import com.absinthe.libchecker.extensions.addSystemBarPadding
import com.absinthe.libchecker.extensions.dp
import com.absinthe.l... | 0 | null | 0 | 0 | 490de43cd33660491ab8ebb0f4a735dbb05d6913 | 2,861 | LibChecker | Apache License 2.0 |
fallery/src/main/java/ir/mehdiyari/fallery/utils/MediaStoreObserver.kt | JojoStacy | 349,338,456 | true | {"Kotlin": 190004} | package ir.mehdiyari.fallery.utils
import android.database.ContentObserver
import android.net.Uri
import android.os.Handler
import android.provider.MediaStore
import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.LiveData... | 0 | null | 0 | 0 | cdda7c88f6ef84de1282d389a8b383765019b381 | 1,846 | Fallery | Apache License 2.0 |
leic43d/ImageViewer/bin/main/pt/isel/leic/pc/imageviewer/filters/multi-threaded-filters.kt | isel-leic-pc | 466,188,773 | false | null | @file:Suppress("unused")
package pt.isel.leic.pc.imageviewer.filters
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.ImageBitmap
import androidx.compose.ui.graphics.luminance
import androidx.compose.ui.graphics.toAwtImage
import androidx.compose.ui.graphics.toComposeImageBitmap
import ja... | 1 | Kotlin | 0 | 8 | a9c586ee9563cf46340cdfd5de5a9981839a8af9 | 4,042 | s2122v-li43d-li41n | MIT License |
data/src/main/java/com/bottlerocketstudios/brarchitecture/data/crashreporting/ForceCrashLogic.kt | BottleRocketStudios | 323,985,026 | false | null | package com.bottlerocketstudios.brarchitecture.data.crashreporting
/** Helper to force crashes in different scenarios. Intended to be used by DEV/QA to validate crash reporting library is configured properly. */
interface ForceCrashLogic {
/**
* Special logic for testing crash reports by throwing a [RuntimeEx... | 1 | Kotlin | 1 | 9 | e3014001732516e9feab58c862e0d84de9911c83 | 624 | Android-ArchitectureDemo | Apache License 2.0 |
data/src/main/java/com/bottlerocketstudios/brarchitecture/data/crashreporting/ForceCrashLogic.kt | BottleRocketStudios | 323,985,026 | false | null | package com.bottlerocketstudios.brarchitecture.data.crashreporting
/** Helper to force crashes in different scenarios. Intended to be used by DEV/QA to validate crash reporting library is configured properly. */
interface ForceCrashLogic {
/**
* Special logic for testing crash reports by throwing a [RuntimeEx... | 1 | Kotlin | 1 | 9 | e3014001732516e9feab58c862e0d84de9911c83 | 624 | Android-ArchitectureDemo | Apache License 2.0 |
compiler/testData/diagnostics/testsWithStdLib/experimental/experimentalAfterRelease.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | // FIR_IDENTICAL
// LANGUAGE: +OptInRelease
@RequiresOptIn
@Retention(AnnotationRetention.BINARY)
annotation class Marker
| 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 123 | kotlin | Apache License 2.0 |
krossbow-websocket-okhttp/src/test/kotlin/org/hildan/krossbow/websocket/okhttp/OkHttpWebSocketClientTest.kt | joffrey-bion | 190,066,229 | false | null | package org.hildan.krossbow.websocket.okhttp
import org.hildan.krossbow.websocket.WebSocketClient
import org.hildan.krossbow.websocket.test.WebSocketClientTestSuite
class OkHttpWebSocketClientTest : WebSocketClientTestSuite() {
override fun provideClient(): WebSocketClient = OkHttpWebSocketClient()
}
| 12 | Kotlin | 7 | 82 | e72a8d8254399e439c454b2d0a689011c297b22e | 309 | krossbow | MIT License |
src/test/kotlin/com/cloudcontactai/smsreceiver/SmsProcessorApplicationTests.kt | CloudContactAI | 373,336,471 | false | null | /* Copyright 2021 Cloud Contact AI, 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 applicable law or agree... | 0 | Kotlin | 0 | 0 | ffc0dce20fcd05a5d80389e1543d37ef8a014801 | 914 | TwilioPolling | Apache License 2.0 |
apps/bekreftelse-api/src/main/kotlin/no/nav/paw/bekreftelse/api/topology/BekreftelseHendelseProcessor.kt | navikt | 794,874,233 | false | {"Kotlin": 929501, "Dockerfile": 143} | package no.nav.paw.bekreftelse.api.topology
import io.micrometer.core.instrument.MeterRegistry
import io.opentelemetry.api.trace.Span
import io.opentelemetry.api.trace.SpanKind
import io.opentelemetry.instrumentation.annotations.WithSpan
import no.nav.paw.bekreftelse.api.model.InternState
import no.nav.paw.bekreftelse... | 4 | Kotlin | 0 | 1 | fcf32a275c132d6190bb1fb8f36eb19a1fb6610c | 8,212 | paw-arbeidssoekerregisteret-monorepo-intern | MIT License |
src/main/kotlin/org/audux/bgg/response/GeekList.kt | Bram-- | 716,669,280 | false | null | /**
* Copyright 2023-2024 Bram Wijnands
*
* 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... | 0 | null | 1 | 9 | 6d4f2425848fcc8ffe97419859b52b56d53fd142 | 6,114 | bggclient | Apache License 2.0 |
shared/src/commonMain/kotlin/dev/efrenospino/kwtodo/models/Task.kt | efrenospino | 752,048,783 | false | {"Kotlin": 19613, "Dockerfile": 438, "HTML": 304} | package dev.efrenospino.kwtodo.models
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Task(
@SerialName("id") val id: Int? = null,
@SerialName("name") val name: String,
@SerialName("completed") val completed: Boolean,
@SerialName("created_at")... | 0 | Kotlin | 0 | 0 | d2b603fcc5b69016a43bb99fd6b3cddee082e092 | 398 | kotlin-wasm-todo | Apache License 2.0 |
relive-simulator-core/src/commonMain/kotlin/xyz/qwewqa/relive/simulator/core/presets/dress/generated/dress1010007.kt | qwewqa | 390,928,568 | false | null | package xyz.qwewqa.relive.simulator.core.presets.dress.generated
import xyz.qwewqa.relive.simulator.core.stage.actor.ActType
import xyz.qwewqa.relive.simulator.core.stage.actor.Attribute
import xyz.qwewqa.relive.simulator.core.stage.actor.StatData
import xyz.qwewqa.relive.simulator.core.stage.dress.ActParameters
impor... | 0 | Kotlin | 11 | 7 | 70e1cfaee4c2b5ab4deff33b0e4fd5001c016b74 | 6,485 | relight | MIT License |
src/jvmMain/kotlin/com/sdercolin/vlabeler/model/action/Action.kt | sdercolin | 503,365,242 | false | null | package com.sdercolin.vlabeler.model.action
import com.sdercolin.vlabeler.ui.string.Language
/**
* An action that is registered in the keymaps.
*/
sealed interface Action {
/**
* The order of the action in the keymap list.
*/
val displayOrder: Int
/**
* The localized title of the action... | 1 | Kotlin | 13 | 96 | 3d6a884419d3946664763102ca4177858e1a5460 | 520 | vlabeler | Apache License 2.0 |
app/src/main/java/com/example/flickerexample/core/extensions/SharedPref.kt | memorex386 | 197,053,869 | false | null | package com.example.flickerexample.core.extensions
import android.content.Context
import com.example.flickerexample.core.app
object SharedPref {
val pref by lazy { app.getSharedPreferences(app.packageName, Context.MODE_PRIVATE) }
} | 1 | null | 1 | 1 | 98437677d8ed9d4f9f2305a774d37249dc076502 | 239 | FlickrFindr | Apache License 2.0 |
app/src/main/kotlin/io/github/feelfreelinux/wykopmobilny/ui/modules/settings/SettingsFragment.kt | saletrak | 102,412,247 | true | {"Kotlin": 211185} | package io.github.feelfreelinux.wykopmobilny.ui.modules.settings
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.os.Bundle
import android.support.v7.preference.CheckBoxPreference
import android.support.v7.preference.ListPreference
import android.supp... | 0 | Kotlin | 0 | 0 | 0f2b65a46888e193134e8b94dacf5653ce5bb0ea | 4,072 | WykopMobilny | MIT License |
rainbow-cake-channels/src/main/java/co/zsmb/rainbowcake/channels/SynchronizedChannelCollection.kt | xirt4m | 220,315,206 | true | {"Kotlin": 103043, "Shell": 1714, "Java": 601} | package co.zsmb.rainbowcake.channels
import kotlinx.coroutines.channels.Channel
/**
* An implementation of the [ChannelCollection] interface that may be
* safely used from multiple threads.
*
* When implementing a data source that produces events for multiple
* channels, this helper class may be subclassed by th... | 0 | null | 0 | 0 | a9442c5c437ce9f215df3134c4b50534bf56e19a | 1,142 | rainbowcake | Apache License 2.0 |
health/health-services-client/src/main/java/androidx/health/services/client/data/DataPoints.kt | RikkaW | 389,105,112 | false | null | /*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | null | 0 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 11,426 | androidx | Apache License 2.0 |
src/jsMain/kotlin/baaahs/app/ui/ControlsPaletteView.kt | baaahs | 174,897,412 | false | {"Kotlin": 4815967, "C": 1529197, "C++": 661363, "GLSL": 412779, "JavaScript": 61944, "HTML": 56242, "CMake": 30499, "CSS": 4340, "Shell": 2381, "Python": 1450} | package baaahs.app.ui
import baaahs.app.ui.layout.gridItem
import baaahs.show.live.ControlProps
import baaahs.show.live.ControlsInfo
import baaahs.show.live.OpenShow
import baaahs.ui.and
import baaahs.ui.gridlayout.Layout
import baaahs.ui.gridlayout.LayoutItem
import baaahs.ui.gridlayout.gridLayout
import baaahs.ui.un... | 113 | Kotlin | 13 | 40 | 4dd92e5859d743ed7186caa55409f676d6408c95 | 5,410 | sparklemotion | MIT License |
app/src/androidTest/java/org/jdc/template/ui/activity/SmokeTest.kt | spach10 | 227,196,527 | false | null | package org.jdc.template.ui.activity
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.Espresso.pressBack
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.action.ViewActions.replaceTe... | 0 | Kotlin | 0 | 1 | 28be446d63414cda728d06782fde7351082a0185 | 4,442 | directory | Apache License 2.0 |
app/src/main/java/com/minew/wristbanddemo/OperationViewModel.kt | minewdevelop | 316,447,891 | false | {"Java": 26549, "Kotlin": 2255} | package com.minew.wristbanddemo
import android.os.Parcel
import android.os.Parcelable
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.minew.wristband.ble.bean.WristbandModule
import com.minew.wristband.ble.manager.MinewWristbandManager
class OperationViewModel : ViewModel() {
... | 1 | null | 1 | 1 | da865e11c8d6259bb8c58850948827c5da8462ea | 2,255 | WristbandKit | MIT License |
app/src/main/java/com/minew/wristbanddemo/OperationViewModel.kt | minewdevelop | 316,447,891 | false | {"Java": 26549, "Kotlin": 2255} | package com.minew.wristbanddemo
import android.os.Parcel
import android.os.Parcelable
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.minew.wristband.ble.bean.WristbandModule
import com.minew.wristband.ble.manager.MinewWristbandManager
class OperationViewModel : ViewModel() {
... | 1 | null | 1 | 1 | da865e11c8d6259bb8c58850948827c5da8462ea | 2,255 | WristbandKit | MIT License |
server/src/main/kotlin/com/github/tamasoszko/temp/DummyUserProvider.kt | tamasoszko | 386,562,523 | false | {"JavaScript": 44131, "Kotlin": 28083, "HTML": 1721, "Groovy": 1251, "CSS": 58} | package com.github.tamasoszko.temp
import com.github.tamasoszko.dataprovider.UserProvider
import com.github.tamasoszko.config.AppConfig
import javax.inject.Inject
import javax.inject.Singleton
@Singleton
class DummyUserProvider @Inject constructor(private val appConfig: AppConfig) : UserProvider {
override fun ge... | 0 | JavaScript | 0 | 0 | 5a83999565180af57378614671c737622f37e3d5 | 595 | ReactDemo | Apache License 2.0 |
music/commands/src/main/kotlin/dev/schlaubi/mikmusic/commands/RadioCommand.kt | DRSchlaubi | 409,332,765 | false | {"Kotlin": 343748, "Java": 5154, "Dockerfile": 201, "Shell": 197, "PowerShell": 96} | package dev.schlaubi.mikmusic.commands
import com.kotlindiscord.kord.extensions.commands.Arguments
import com.kotlindiscord.kord.extensions.commands.converters.impl.string
class RadioArguments : Arguments() {
val query by string {
name = "query"
description = "commands.radio.arguments.query.descri... | 16 | Kotlin | 12 | 36 | 3f2f68bfdc5b6f9140c06d3d0d864ccf6f6bc963 | 1,203 | mikbot | MIT License |
app/src/main/java/net/yoedtos/intime/view/TasksActivity.kt | yoedtos | 545,882,351 | false | {"Kotlin": 102634} | package net.yoedtos.intime.view
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.view.Menu
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import kotlinx.android... | 0 | Kotlin | 0 | 0 | 381a00cf2a30c5937089f10e4a80e03fdde5c1f8 | 5,727 | intime | MIT License |
android-common/src/com/android/tools/idea/flags/IdeaIsInternalDefault.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) 2024 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 | 1,041 | android | Apache License 2.0 |
covpass-sdk/src/main/java/de/rki/covpass/sdk/cert/CovPassRulesValidator.kt | Digitaler-Impfnachweis | 376,239,258 | false | null | /*
* (C) Copyright IBM Deutschland GmbH 2021
* (C) Copyright IBM Corp. 2021
*/
package de.rki.covpass.sdk.cert
import de.rki.covpass.sdk.cert.models.CovCertificate
import de.rki.covpass.sdk.cert.models.Recovery
import de.rki.covpass.sdk.cert.models.TestCert
import de.rki.covpass.sdk.cert.models.Vaccination
import ... | 33 | Kotlin | 60 | 185 | 7301f1500dab4a686aa40341500667cf4cc54d1e | 3,169 | covpass-android | Apache License 2.0 |
app/src/main/java/com/country/grocerystore/models/RandomDataCell.kt | ShivaniSoni22 | 534,943,179 | false | {"Kotlin": 167065, "Java": 872} | package com.country.grocerystore.models
import com.country.tableview.feature.filter.Filterable
import com.country.tableview.feature.sort.Sortable
class RandomDataCell(
_data: Any,
_id: String = _data.hashCode().toString(),
_filter: String = _data.toString()
) : Filterable, Sortable {
over... | 0 | Kotlin | 0 | 0 | 65e8f15d318fad1bae724341dddc668abec38e36 | 440 | GroceryStore | MIT License |
app/src/main/java/com/dariobrux/pokemon/app/ui/main/MainFragment.kt | dariobrux | 307,843,590 | false | null | package com.dariobrux.pokemon.app.ui.main
import android.Manifest
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.NavHostFragment
import a... | 0 | Kotlin | 0 | 0 | 268fb3534a954744238c705c1a473261bdc0ded2 | 6,298 | PokemonContacts | Apache License 2.0 |
app/src/main/java/io/zoemeow/subjectnotifier/receiver/NewsBroadcastReceiver.kt | ZoeMeow5466 | 504,228,485 | false | null | package io.zoemeow.subjectnotifier.receiver
import android.content.Context
import android.content.Intent
import io.zoemeow.subjectnotifier.model.enums.ServiceBroadcastOptions
abstract class NewsBroadcastReceiver : BaseBroadcastReceiver {
constructor()
constructor(packageFilter: String) : super(packageFilter)
... | 0 | Kotlin | 0 | 0 | d06999b85f03ccb7510987a2d5bbd12ab90bc981 | 1,368 | SubjectNotifier | MIT License |
app/src/main/java/com/karrar/movieapp/domain/models/Rated.kt | Salmon-family | 540,624,429 | false | {"Kotlin": 445900} | package com.karrar.movieapp.domain.models
data class Rated(
val id: Int,
val title: String,
val posterPath: String,
val rating: Float,
val releaseDate: String,
var mediaType:String
)
| 1 | Kotlin | 26 | 76 | d8aa22e528208c42d89a3574f1da025a49f23aed | 208 | MovieApp | Apache License 2.0 |
client/app/src/main/java/com/example/healthc/data/local/Converters.kt | Solution-Challenge-HealthC | 601,915,784 | false | null | package com.example.healthc.data.local
import androidx.room.ProvidedTypeConverter
import androidx.room.TypeConverter
import com.example.healthc.data.utils.GsonParser
import com.google.gson.reflect.TypeToken
@ProvidedTypeConverter
class Converters(
private val jsonParser: GsonParser
) {
@TypeConverter
fun ... | 4 | Kotlin | 1 | 2 | d74bff575502c4360e9735e8d558b907240ed4fe | 740 | HealthC_Android | MIT License |
Pokemon/app/src/main/java/com/example/android/pokemon/retrofit/PokemonListEntity.kt | Savitar97 | 319,745,352 | false | null | package com.example.android.pokemon.retrofit
import com.example.android.pokemon.model.PokemonEntityList
import retrofit2.Call
import retrofit2.http.GET
interface PokemonListEntity {
@GET("pokedex.json")
fun getAllPokemonList () : Call<PokemonEntityList>
} | 0 | Kotlin | 0 | 0 | 267d7c868dfecf39fbc5bd2b9b7ae5ae75def625 | 265 | PokemonAndroid | MIT License |
core/acorn-core/src/main/java/com/nhaarman/acorn/navigation/DisposableHandle.kt | nhaarman | 137,459,947 | false | null | /*
* Copyright 2018 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 17 | Kotlin | 6 | 182 | bb4cd33a54103bb1a1cf4c0eecabfcc7b9c352d2 | 1,511 | acorn | Apache License 2.0 |
VelocityX/src/main/java/dev/codepur/velocityx/compose/VxText.kt | iampawan | 513,427,050 | false | null | package dev.codepur.velocityx.compose
import android.annotation.SuppressLint
import androidx.compose.material3.LocalTextStyle
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.... | 0 | Kotlin | 3 | 25 | 59bfe8fdcbb36dc8a46bb2b5afaac7ae9b770ccd | 14,453 | VelocityXAndroidCompose | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/FaceExplode.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 7,419 | icons | MIT License |
src/main/kotlin/com/github/lizhikai38/toxo/services/MyApplicationService.kt | lizhikai38 | 517,637,781 | false | null | package com.github.lizhikai38.toxo.services
import com.github.lizhikai38.toxo.MyBundle
class MyApplicationService {
init {
println(MyBundle.message("applicationService"))
}
}
| 0 | Kotlin | 0 | 0 | b4645e68b2507f498be49f18130ce522f375e38d | 194 | toxo | Apache License 2.0 |
kafka/schemaregistry/client/src/main/kotlin/org/http4k/connect/kafka/schemaregistry/model/SchemaId.kt | http4k | 295,641,058 | false | {"Kotlin": 1624385, "Handlebars": 10370, "CSS": 5434, "Shell": 3178, "JavaScript": 2076, "Python": 1834, "HTML": 675} | package org.http4k.connect.kafka.schemaregistry.model
import dev.forkhandles.values.IntValue
import dev.forkhandles.values.IntValueFactory
import dev.forkhandles.values.minValue
class SchemaId private constructor(value: Int) : IntValue(value) {
companion object : IntValueFactory<SchemaId>(::SchemaId, 0.minValue)
... | 7 | Kotlin | 17 | 37 | 3522f4a2bf5e476b849ec367700544d89e006f71 | 322 | http4k-connect | Apache License 2.0 |
tinbo-notes/src/main/kotlin/io/gitlab/arturbosch/tinbo/notes/NoteDataHolder.kt | arturbosch | 66,214,435 | false | null | package io.gitlab.arturbosch.tinbo.notes
import io.gitlab.arturbosch.tinbo.api.config.ConfigDefaults
import io.gitlab.arturbosch.tinbo.api.config.Defaults
import io.gitlab.arturbosch.tinbo.api.config.TinboConfig
import io.gitlab.arturbosch.tinbo.api.model.AbstractDataHolder
import org.springframework.beans.factory.ann... | 1 | null | 1 | 6 | 85a74b80b081e374360475f4979e5adffbf91436 | 1,083 | Tinbo | Apache License 2.0 |
backend/src/main/kotlin/no/nav/fo/forenkletdeploy/util/CorsFilter.kt | navikt | 113,152,205 | false | null | package no.nav.fo.mia.util
import javax.servlet.*
import javax.servlet.http.HttpServletRequest
import javax.servlet.http.HttpServletResponse
class CorsFilter: Filter {
val ORIGIN = "Origin"
val ACCESS_CONTROL_ALLOW_ORIGIN = "Access-Control-Allow-Origin"
val ALLOWED_METHODS = arrayOf(
"GET",
... | 5 | null | 2 | 4 | 591787a66690b1cf4b1f39a36facd4332ac837d9 | 1,294 | forenklet-deploy | MIT License |
omisego-core/src/main/java/co/omisego/omisego/model/Balance.kt | omgnetwork | 116,833,092 | false | null | package co.omisego.omisego.model
/*
* OmiseGO
*
* Created by <NAME> on 11/6/2017 AD.
* Copyright © 2017-2018 OmiseGO. All rights reserved.
*/
import java.math.BigDecimal
import java.math.RoundingMode
/**
* Represents a balance of a token
*
* @param token The token corresponding to the balance
* @param amoun... | 0 | Kotlin | 8 | 18 | de12e344d6437b9c23df35d158fb247bac6c8055 | 2,312 | android-sdk | Apache License 2.0 |
shared/src/commonMain/kotlin/ru/blays/ficbookReader/shared/ui/mainScreenComponents/implemenatation/DefaultCollectionsComponent.kt | B1ays | 710,470,973 | false | {"Kotlin": 749323} | package ru.blays.ficbookReader.shared.ui.mainScreenComponents.implemenatation
import com.arkivanov.decompose.ComponentContext
import com.arkivanov.decompose.value.MutableValue
import com.arkivanov.decompose.value.Value
import com.arkivanov.decompose.value.update
import com.arkivanov.essenty.lifecycle.doOnDestroy
impor... | 0 | Kotlin | 0 | 2 | d311da576a35365bc72e1646e7ae8b946eac6690 | 3,047 | ficbook-reader | MIT License |
core-android/src/main/java/com/eventful/core/android/model/location/LocationState.kt | tosoba | 542,691,274 | false | {"Kotlin": 428063, "Java": 1125} | package com.eventful.core.android.model.location
import android.os.Parcelable
import com.google.android.gms.maps.model.LatLng
import kotlinx.android.parcel.Parcelize
@Parcelize
data class LocationState(
val latLng: LatLng? = null,
val status: LocationStatus = LocationStatus.Initial
) : Parcelable
| 0 | Kotlin | 0 | 0 | 0ba84b32680768acd172dfd54d57f513ed2d1baa | 308 | Eventful | MIT License |
app/src/main/java/com/ldept/restapidemo/ui/repoDetailsFragment/RepoFilesAdapter.kt | ldept | 445,644,917 | false | {"Kotlin": 23820} | package com.ldept.restapidemo.ui.repoDetailsFragment
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.ldept.restapidemo.R
import com.ldept.restapidemo... | 0 | Kotlin | 1 | 0 | 90972e528446b527c376e33039a97d0bbf237211 | 2,095 | REST-API-Demo | MIT License |
klutter-annotations/annotations-jvm/src/main/kotlin/dev/buijs/klutter/annotations/jvm/KlutterAnnotations.kt | buijs-dev | 436,644,099 | false | null | package dev.buijs.klutter.annotations.jvm
@Retention(AnnotationRetention.SOURCE)
@Target(AnnotationTarget.FUNCTION)
annotation class KlutterAdaptee(val name: String)
@Retention(AnnotationRetention.SOURCE)
@Target(AnnotationTarget.CLASS)
annotation class KlutterAdapter
@Retention(AnnotationRetention.SOURCE)
@Target(A... | 0 | Kotlin | 2 | 86 | 8c7128d96b32461177468c6216a69c2f0dabec78 | 375 | klutter | MIT License |
library-merminal/src/main/java/cn/mucute/merminal/view/TermSessionCallback.kt | CaiMuCheng | 714,178,682 | false | null | package cn.mucute.merminal.view
import cn.mucute.merminal.core.TerminalSession
open class TermSessionCallback(private var terminalView: TerminalView) :
TerminalSession.SessionChangedCallback {
override fun onTextChanged(changedSession: TerminalSession?) {
terminalView.onScreenUpdated()
}
ove... | 5 | null | 5 | 12 | 4072b9f90dfcc03576731871ad3fd10a69463008 | 663 | LeafIDE | Apache License 2.0 |
Oxygen/core/src/main/kotlin/cc/fyre/stark/core/profile/ProfileHandler.kt | AndyReckt | 364,514,997 | false | {"Java": 12055418, "Kotlin": 766337, "Shell": 5518} | /*
* Copyright (c) 2020.
* Created by YoloSanta
* Created On 10/22/20, 1:23 AM
*/
package cc.fyre.stark.core.profile
import cc.fyre.stark.core.StarkCore
import cc.fyre.stark.core.profile.punishment.ProfilePunishment
import cc.fyre.stark.core.profile.punishment.ProfilePunishmentSerializer
import cc.fyre.stark.core... | 1 | null | 1 | 1 | 200501c7eb4aaf5709b4adceb053fee6707173fa | 6,957 | Old-Code | Apache License 2.0 |
ComposeAnimationKit/src/main/java/com/lie/composeanimationkit/animation/LoadingButton.kt | LiePy | 568,339,579 | false | null | /*
* Copyright (c) 2022.
* @username: LiePy
* @file: LoadingButton.kt
* @project: ComposeAnimationKit
* @model: ComposeAnimationKit.ComposeAnimationKit.main
* @date: 2022/12/28 下午1:36
*/
package com.lie.composeanimationkit.animation
import android.util.Size
import androidx.compose.animation.animateColorAsState... | 0 | null | 0 | 7 | 4a0e95c396dcd751895dabdecdb706eedf241a05 | 10,269 | ComposeAnimationKit | Apache License 2.0 |
app/src/main/java/com/myth/ticketmasterapp/data/eventdatamodels/Last.kt | MichaelGift | 634,539,469 | false | {"Kotlin": 89192} | package com.myth.ticketmasterapp.data.eventdatamodels
data class Last(
val href: String
) | 0 | Kotlin | 1 | 0 | 5bae5c47ec44500dc85165275d43914775de6f44 | 94 | Event-Finder-App | MIT License |
Kotlinlang/src/examples/problems/Index_of_MaximumTests.kt | why168 | 118,225,102 | false | null | package examples.problems
import org.junit.Test
import java.util.*
import kotlin.test.assertEquals
/**
*
*
* @author Edwin.Wu
* @version 2018/2/5 下午4:45
* @since JDK1.8
*/
class Index_of_MaximumTests {
@Test fun testNull() {
test(null)
}
@Test fun testIndexOfMaximum1() {
test(0, 0)
... | 1 | Kotlin | 1 | 4 | c642d97a605ef09355b86c39c1c522e3181d65e2 | 981 | JavaProjects | Apache License 2.0 |
feature-staking-impl/src/main/java/jp/co/soramitsu/staking/impl/domain/model/StakeSummary.kt | soramitsu | 278,060,397 | false | null | package com.edgeverse.wallet.feature_staking_impl.domain.model
import java.math.BigDecimal
class StakeSummary<S>(
val status: S,
val totalStaked: BigDecimal,
)
sealed class NominatorStatus {
object Active : NominatorStatus()
class Waiting(val timeLeft: Long) : NominatorStatus()
class Inactive(v... | 9 | null | 30 | 89 | 812c6ed5465d19a0616865cbba3e946d046720a1 | 549 | fearless-Android | Apache License 2.0 |
reactiveandroid/src/main/kotlin/com/github/kittinunf/reactiveandroid/reactive/DisposableExt.kt | kittinunf | 50,813,818 | false | null | package com.github.kittinunf.reactiveandroid.reactive
import io.reactivex.disposables.CompositeDisposable
import io.reactivex.disposables.Disposable
fun Disposable.addTo(composite: CompositeDisposable) {
composite.add(this)
}
| 5 | null | 12 | 79 | 117cb3e9738df17bb4c8b9f73d2a21bc5b97f6f5 | 232 | ReactiveAndroid | MIT License |
android/app/src/main/kotlin/com/example/flutterui/MainActivity.kt | yunweneric | 837,057,016 | false | {"Dart": 442146, "C++": 24213, "CMake": 19464, "HTML": 7961, "Ruby": 3217, "JavaScript": 3211, "CSS": 2800, "Swift": 1949, "C": 1425, "Shell": 698, "Kotlin": 122, "Objective-C": 38} | package com.flutterwidget.hub
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity()
| 4 | Dart | 4 | 32 | d1fad9d8ca23000159786c27aaf4f3df656983fc | 122 | flutter-widgethub | MIT License |
mvvm-dagger/src/main/java/com/nphau/android/shared/libs/CommonUtils.kt | ThanhHuong98 | 432,947,065 | false | null | package com.imstudio.android.shared.libs
import android.annotation.SuppressLint
import android.app.Activity
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.media.AudioManager
imp... | 0 | null | 0 | 1 | ac0402ae4734285ef5e647d1f53a1f9f4a8d98cd | 8,839 | android.clean-architecture.mvvm | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.