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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
core/timer/src/main/java/com/zn/apps/core/timer/service/TimerService.kt | Zacle | 686,192,400 | false | {"Kotlin": 916275} | package com.zn.apps.core.timer.service
import android.app.Service
import android.content.Intent
import android.os.IBinder
import com.zn.apps.core.notification.TimerConstants.TIMER_NOTIFICATION_CHANNEL_ID
import com.zn.apps.core.notification.TimerConstants.TIMER_NOTIFICATION_ID
import com.zn.apps.core.notification.Time... | 0 | Kotlin | 0 | 0 | 909ac17f838828b54ac6558ed3104b840831a331 | 1,699 | Focused | MIT License |
app/src/main/java/com/example/chatapp/domain/model/NavigationDirection.kt | tyrnor | 752,485,330 | false | {"Kotlin": 122484} | package com.example.chatapp.domain.model
enum class NavigationDirection {
LEFT_TO_RIGHT, RIGHT_TO_LEFT
}
| 0 | Kotlin | 0 | 0 | 417f774a97bcdf1abe5012ae7070240b7bb27690 | 111 | ChatApp | Apache License 2.0 |
app/src/main/java/durdinstudios/wowarena/data/models/warcraft/pvp/ArenaBracket.kt | FrangSierra | 114,635,873 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "JSON": 5, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 62, "Kotlin": 77, "JSON with Comments": 1, "JavaScript": 3} | package durdinstudios.wowarena.data.models.warcraft.pvp
import com.squareup.moshi.Json
enum class ArenaBracket {
@Json(name = "2v2")
BRACKET_2_VS_2,
@Json(name = "3v3")
BRACKET_3_VS_3,
@Json(name = "rbg")
RBG;
val value: String
get() =
when (this) {
BRA... | 0 | Kotlin | 0 | 6 | a290ee99b7d8d78609396fe684e564a3586712b3 | 426 | WoWArena | Apache License 2.0 |
app/src/main/java/durdinstudios/wowarena/data/models/warcraft/pvp/ArenaBracket.kt | FrangSierra | 114,635,873 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "JSON": 5, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 62, "Kotlin": 77, "JSON with Comments": 1, "JavaScript": 3} | package durdinstudios.wowarena.data.models.warcraft.pvp
import com.squareup.moshi.Json
enum class ArenaBracket {
@Json(name = "2v2")
BRACKET_2_VS_2,
@Json(name = "3v3")
BRACKET_3_VS_3,
@Json(name = "rbg")
RBG;
val value: String
get() =
when (this) {
BRA... | 0 | Kotlin | 0 | 6 | a290ee99b7d8d78609396fe684e564a3586712b3 | 426 | WoWArena | Apache License 2.0 |
shared/src/commonMain/kotlin/screens/searchScreen/CustomSearchBar.kt | ndiritumichael | 644,415,686 | false | {"Kotlin": 92523, "Swift": 2771, "Shell": 228, "Ruby": 101} | package screens.searchScreen
import androidx.compose.foundation.layout.* // ktlint-disable no-wildcard-imports
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.text.KeyboardActions
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material.*
import andro... | 0 | Kotlin | 0 | 1 | 27fbee26c65bd75dfee82dd4a9aa6fb8404020b4 | 3,687 | cocktailsApi-KMM-Compose | Apache License 2.0 |
bootstrap/bukkit/src/main/kotlin/kr/toxicity/hud/bootstrap/bukkit/compatibility/vault/VaultCompatibility.kt | toxicity188 | 766,189,896 | false | null | package kr.toxicity.hud.bootstrap.bukkit.compatibility.vault
import kr.toxicity.hud.api.listener.HudListener
import kr.toxicity.hud.api.placeholder.HudPlaceholder
import kr.toxicity.hud.api.trigger.HudTrigger
import kr.toxicity.hud.api.update.UpdateEvent
import kr.toxicity.hud.api.yaml.YamlObject
import kr.toxicity.hu... | 7 | null | 24 | 97 | 09537825664cd061ce4f63feb0a37891e73231c6 | 1,451 | BetterHud | MIT License |
app/src/main/java/com/seasonfif/jetpack/ui/dashboard/HotProjectAdapter.kt | seasonfif | 330,629,986 | false | null | package com.seasonfif.jetpack.ui.dashboard
import android.support.annotation.LayoutRes
import com.bumptech.glide.Glide
import com.bumptech.glide.request.RequestOptions
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.seasonfif.jetpack.R
import com.sea... | 0 | Kotlin | 0 | 0 | f3318a9ec9fb6c3a7ec0b2f4eb847a630917fdf9 | 937 | LearnJetpack | Apache License 2.0 |
src/main/kotlin/org/hexworks/cavesofzircon/attributes/Vision.kt | Hexworks | 163,445,624 | false | null | package org.hexworks.cavesofzircon.attributes
import org.hexworks.amethyst.api.Attribute
data class Vision(var radius: Int) : Attribute
| 6 | Kotlin | 11 | 14 | cc1bf041b8b8632f61d5f275ad3a4ef90ae3a101 | 138 | caves-of-zircon-tutorial-old | Apache License 2.0 |
app/src/main/java/com/stocksexchange/android/ui/settings/handlers/concrete/appearance/candlestickstyle/BaseCandleStickStyleSettingHandler.kt | nscoincommunity | 277,168,471 | true | {"Kotlin": 2814235} | package com.stocksexchange.android.ui.settings.handlers.concrete.appearance.candlestickstyle
import com.stocksexchange.android.model.*
import com.stocksexchange.android.ui.settings.SettingsContract
import com.stocksexchange.android.ui.settings.SettingsModel
import com.stocksexchange.android.ui.settings.handlers.BaseSe... | 0 | null | 0 | 0 | 52766afab4f96506a2d9ed34bf3564b6de7af8c3 | 2,478 | Android-app | MIT License |
vector/src/main/java/im/vector/util/BitmapUtil.kt | LiMium | 119,702,511 | false | null | /*
* Copyright 2018 New Vector Ltd
*
* 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 ... | 3 | null | 4 | 44 | 09bf4c527429fe2c8283c71988efa5796dcc854b | 2,582 | mini-vector-android | Apache License 2.0 |
src/main/java/org/jetbrains/kotlin/hints/KotlinAutoImportFix.kt | Hillkorn | 69,340,279 | true | {"Maven POM": 1, "Text": 1, "Ignore List": 1, "Markdown": 1, "Java": 157, "Kotlin": 192, "Ant Build System": 1, "Java Properties": 7, "XML": 9, "HTML": 17} | /*******************************************************************************
* Copyright 2000-2016 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.a... | 0 | Java | 0 | 0 | 145e2ff9b0fd3006926919e6549a50de87214dd2 | 2,115 | kotlin-netbeans | Apache License 2.0 |
src/main/kotlin/com/mrjovanovic/threadsnexus/service/impl/CommandIssuerServiceImpl.kt | MrJovanovic13 | 729,339,720 | false | {"Kotlin": 28077, "Shell": 228, "Dockerfile": 148} | package com.mrjovanovic.threadsnexus.service.impl
import com.mrjovanovic.threadsnexus.model.Command
import com.mrjovanovic.threadsnexus.model.dto.request.CommandCreateRequest
import com.mrjovanovic.threadsnexus.model.dto.request.toEntity
import com.mrjovanovic.threadsnexus.model.enumeration.CommandType
import com.mrjo... | 0 | Kotlin | 0 | 0 | 9cf07a4d9b5b52a4fd610e732c125fdcd839df36 | 2,156 | threads-nexus | Apache License 2.0 |
libs/navigation/core/src/commonMain/kotlin/io/edugma/navigation/core/compose/ComposeArgumentsStore.kt | Edugma | 474,423,768 | false | {"Kotlin": 1024646, "Swift": 1255, "JavaScript": 1169, "HTML": 299} | package io.edugma.navigation.core.compose
import androidx.core.bundle.Bundle
import io.edugma.navigation.core.destination.ArgumentsStore
class ComposeArgumentsStore(
private val arguments: Bundle,
) : ArgumentsStore {
@Suppress("UNCHECKED_CAST", "DEPRECATION")
override fun <T> get(key: String): T? {
... | 1 | Kotlin | 0 | 2 | bc3f2607c893fcac74e52ed046d001d2ff1308f3 | 363 | app | MIT License |
pluto/src/main/java/com/mocklets/pluto/modules/exceptions/ui/holder/CrashItemDetailsThreadStatesItemHolder.kt | mocklets | 459,260,997 | false | null | package com.mocklets.pluto.modules.exceptions.ui.holder
import android.view.ViewGroup
import com.mocklets.pluto.R
import com.mocklets.pluto.core.extensions.color
import com.mocklets.pluto.core.extensions.inflate
import com.mocklets.pluto.core.ui.list.DiffAwareAdapter
import com.mocklets.pluto.core.ui.list.DiffAwareHol... | 0 | Kotlin | 2 | 8 | 87dc5a27272e0fc5c38e042fa95689a143ae5446 | 1,987 | pluto | Apache License 2.0 |
src/main/kotlin/top/cgglyle/boson/security/common/exception/DataExistException.kt | cgglyle | 743,425,420 | false | {"Kotlin": 50773} | package top.cgglyle.boson.security.common.exception
import org.springframework.http.HttpStatus
class DataExistException(
messageDetail: String = "Data Exist!",
cause: Throwable? = null,
httpStatus: HttpStatus = HttpStatus.NOT_FOUND
) : ClientException(messageDetail, httpStatus, cause) {
init {
... | 0 | Kotlin | 0 | 1 | 89908a4cb9b0d0ac157e8178e7754f6fa590290b | 351 | boson-security | Apache License 2.0 |
clipper/src/main/kotlin/io/marauder/charged/Clipper.kt | aperture-sh | 178,038,463 | false | null | package io.marauder.charged
import io.marauder.charged.models.Feature
import io.marauder.charged.models.GeoJSON
import io.marauder.charged.models.Geometry
/**
* The clipper provides functions to clip generic geometries and given boundaries
* @property calcBoundingBoxes If true calculate bounding boxes before clippi... | 4 | null | 5 | 9 | 5b73bc1ac194462adc910df7ada69d93e5179a59 | 10,162 | charger | Apache License 2.0 |
app/src/main/java/com/kofar/appuk/data_user/UserPreference.kt | regiapriandi012 | 479,673,911 | false | {"Kotlin": 104603} | package com.kofar.appuk.data_user
import android.content.Context
internal class UserPreference(context: Context) {
companion object {
private const val PREFS_NAME = "user_pref"
private const val NAME = "name"
private const val USERNAME = "username"
private const val PASSWORD = "<PA... | 0 | Kotlin | 0 | 2 | c3ff44bba961398ac781a9c84c64166d191c4f5f | 952 | appuk-aplikasi-pupuk | MIT License |
packages/nativescript-masonkit/src-native/mason-android/masonkit/src/main/java/org/nativescript/mason/masonkit/LengthPercentageAuto.kt | triniwiz | 571,762,944 | false | {"C++": 3133140, "HTML": 450165, "C": 393329, "TypeScript": 383656, "Rust": 346139, "Swift": 235919, "Objective-C": 214959, "Kotlin": 186138, "JavaScript": 104928, "Objective-C++": 42138, "Shell": 8247, "CMake": 7070, "Ruby": 3131, "SCSS": 2605, "Java": 1313, "Python": 1140} | package org.nativescript.mason.masonkit
sealed class LengthPercentageAuto {
data class Points(var points: Float) : LengthPercentageAuto()
data class Percent(var percentage: Float) : LengthPercentageAuto()
object Auto : LengthPercentageAuto()
object Zero : LengthPercentageAuto() {
const val points: Float = ... | 2 | C++ | 3 | 10 | a522fd2e63adc37b86bf66e2908e75dc0371e18a | 2,415 | nativescript-mason | Apache License 2.0 |
app/src/main/java/eu/darken/androidstarter/common/datastore/DataStoreValue.kt | d4rken | 367,445,682 | false | {"Kotlin": 256307, "Shell": 14282} | package eu.darken.androidstarter.common.datastore
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.*
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.runBlocking
class DataStoreValue<T : Any?> cons... | 0 | Kotlin | 4 | 26 | 13fa7fa8df24c374713a11f01c8b57e6ed921574 | 3,093 | android-starter-v4 | Apache License 2.0 |
vk-api/src/main/kotlin/name/alatushkin/api/vk/generated/groups/GetCallbackConfirmationCodeResponse.kt | alatushkin | 156,866,851 | false | null | package name.alatushkin.api.vk.generated.groups
open class GetCallbackConfirmationCodeResponse(
val code: String? = null
) | 2 | Kotlin | 3 | 10 | 123bd61b24be70f9bbf044328b98a3901523cb1b | 128 | kotlin-vk-api | MIT License |
src/main/kotlin/com/gmail/blueboxware/libgdxplugin/actions/CreateScreenAction.kt | BlueBoxWare | 64,067,118 | false | null | package com.gmail.blueboxware.libgdxplugin.actions
import com.gmail.blueboxware.libgdxplugin.utils.isLibGDXProject
import com.intellij.ide.actions.CreateFileFromTemplateAction
import com.intellij.ide.actions.CreateFileFromTemplateDialog
import com.intellij.ide.highlighter.JavaFileType
import com.intellij.openapi.actio... | 2 | null | 9 | 145 | bcb911e0c3f3e9319bc8ee2d5b6b554c6090fd6c | 2,380 | LibGDXPlugin | Apache License 2.0 |
waltid-did/src/jvmTest/kotlin/TestClient.kt | walt-id | 701,058,624 | false | {"Kotlin": 2129639, "Vue": 327721, "TypeScript": 93015, "JavaScript": 20560, "Dockerfile": 7261, "Shell": 1651, "CSS": 404} | import id.walt.did.dids.resolver.local.DidWebResolver
import io.ktor.client.*
import io.ktor.client.engine.cio.*
import io.ktor.client.plugins.contentnegotiation.*
import io.ktor.network.tls.*
import io.ktor.serialization.kotlinx.json.*
import java.security.cert.X509Certificate
import javax.net.ssl.X509TrustManager
ob... | 24 | Kotlin | 33 | 98 | a86bd0c843d594f6afe6e747d3c4de7d8a4789a8 | 1,029 | waltid-identity | Apache License 2.0 |
plugins/kotlin/completion/testData/basic/multifile/InImportClassifiers/InImportClassifiers.dependency.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package second
class One
interface Two
object Three
enum class Four
private class PrivateOne
typealias MyTypeAlias = One | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 247 | intellij-community | Apache License 2.0 |
keel-web/src/test/kotlin/com/netflix/spinnaker/keel/jsonschema/JsonSchemaGeneratorTests.kt | vigneshm | 232,202,009 | true | {"Kotlin": 1350979, "Java": 9170, "Shell": 2086} | package com.netflix.spinnaker.keel.jsonschema
import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.annotation.JsonSubTypes
import com.fasterxml.jackson.annotation.JsonTypeInfo
import com.fasterxml.jackson.annotation.JsonTypeInfo.As
import com.fasterxml.jackson.annotation.JsonTypeInfo.Id
imp... | 0 | Kotlin | 0 | 0 | a9e868687f54bfedb20462092e017d1407d48e4f | 25,755 | keel | Apache License 2.0 |
core/src/main/kotlin/live/channel/LiveGuildMessageChannel.kt | nguoianphu | 375,232,901 | true | {"Kotlin": 1225795} | package dev.kord.core.live.channel
import dev.kord.common.annotation.KordPreview
import dev.kord.core.entity.KordEntity
import dev.kord.core.entity.channel.GuildMessageChannel
import dev.kord.core.event.Event
import dev.kord.core.event.channel.ChannelCreateEvent
import dev.kord.core.event.channel.ChannelDeleteEvent
im... | 0 | null | 0 | 0 | 68cc104ab2d73a40f12d05ca7c03a95d55366e78 | 1,861 | kord | MIT License |
core/src/main/kotlin/live/channel/LiveGuildMessageChannel.kt | nguoianphu | 375,232,901 | true | {"Kotlin": 1225795} | package dev.kord.core.live.channel
import dev.kord.common.annotation.KordPreview
import dev.kord.core.entity.KordEntity
import dev.kord.core.entity.channel.GuildMessageChannel
import dev.kord.core.event.Event
import dev.kord.core.event.channel.ChannelCreateEvent
import dev.kord.core.event.channel.ChannelDeleteEvent
im... | 0 | null | 0 | 0 | 68cc104ab2d73a40f12d05ca7c03a95d55366e78 | 1,861 | kord | MIT License |
basick/src/main/java/com/mozhimen/basick/utilk/android/widget/UtilKProgressBar.kt | mozhimen | 353,952,154 | false | null | package com.mozhimen.basick.utilk.android.widget
import android.animation.ObjectAnimator
import android.widget.ProgressBar
import com.mozhimen.basick.animk.builder.impls.AnimatorIntType
import com.mozhimen.basick.utilk.android.os.UtilKBuildVersion
/**
* @ClassName UtilKProgressBar
* @Description TODO
* @Author Moz... | 1 | null | 14 | 118 | 8192372dff44185d6c61ff39958e7d61a6521305 | 1,426 | SwiftKit | Apache License 2.0 |
app/common/src/commonJvmMain/kotlin/com/denchic45/studiversity/data/remote/model/CourseContentDoc.kt | denchic45 | 435,895,363 | false | null | package com.denchic45.studiversity.data.remote.model
import com.denchic45.studiversity.data.db.remote.model.ContentCommentMap
import com.denchic45.studiversity.data.domain.model.TaskStatus
import com.denchic45.studiversity.domain.model.ContentDetails
import com.denchic45.studiversity.domain.model.ContentType
import ja... | 0 | Kotlin | 0 | 5 | 02d19321d16604a052f6dd29aa54be29343991e6 | 2,540 | Studiversity | Apache License 2.0 |
Framework/src/main/kotlin/net/milosvasic/factory/deployment/TargetType.kt | Server-Factory | 326,063,014 | true | {"Kotlin": 470923, "Shell": 188} | package net.milosvasic.factory.deployment
enum class TargetType(
val type: String
) {
GENERIC("generic"),
ACCOUNT("account"),
WEB_SERVICE("web_service");
companion object {
fun getByValue(value: String): TargetType {
values().forEach {
if (value == it.type) ... | 0 | Kotlin | 0 | 1 | 7c9a48ac22541c01d56cb7ed404348f9dbcf6d6d | 429 | Core-Framework | Apache License 2.0 |
src/main/kotlin/net/ayataka/kordis/Kordis.kt | toliner | 170,114,649 | true | {"Kotlin": 181882} | package net.ayataka.kordis
import io.ktor.client.HttpClient
import org.slf4j.LoggerFactory
object Kordis {
const val NAME = "Kordis"
const val VERSION = "0.1.3"
const val URL = "https://github.com/Tea-Ayataka/Kordis"
const val API_VERSION = 6
val HTTP_CLIENT = HttpClient()
val LOGGER = Logger... | 0 | Kotlin | 0 | 0 | 6f221dcd50964d4e94054604877440b417456939 | 921 | Kordis | Do What The F*ck You Want To Public License |
sketchpad/src/main/java/com/barackbao/sketchpad/shape/Shape.kt | baoqianyue | 149,469,265 | false | {"Java": 146793, "Kotlin": 68946} | package com.barackbao.sketchpad.shape
import android.graphics.Path
abstract class Shape {
/**
* is fit the inner area
*/
open var isFull = false
/**
* return the path and the related parameters of target shape
*/
abstract fun getShape(x: Float, y: Float, endX: Float, endY: Float)... | 0 | Java | 5 | 34 | 4c0d66933ce50ebf1d2fac91278cb349d9b894df | 328 | GANCalligraphy | Apache License 2.0 |
app/src/main/java/xyz/tberghuis/wordguessinggame/tmp/words.kt | tberghuis | 482,153,273 | false | null | package xyz.tberghuis.wordguessinggame.tmp
import xyz.tberghuis.wordguessinggame.TOP_WORDS
import xyz.tberghuis.wordguessinggame.VALID_WORDS
import java.io.File
fun main() {
val _allwords = VALID_WORDS + TOP_WORDS
// println(_allwords.size)
val allwords = _allwords.toSet().sorted().toList()
// println(allword... | 3 | Kotlin | 0 | 1 | c36d9de54c2f55cfab85203b44aa33f571ff7e6a | 510 | WordGuessingGame | MIT License |
src/bindings/kotlin/electron/native-image.kt | cout970 | 90,876,560 | false | null | @file:Suppress("UnsafeCastFromDynamic")
package electron
@Suppress("REDUNDANT_NULLABLE")
object nativeImage {
private val module: dynamic = js("require('electron').nativeImage")
// ~ Events --------------------------------------------------------------------------------
fun onEvent(event: String, callb... | 1 | Kotlin | 1 | 3 | 2709066039895dc87cda8a9655fe937c9df91e60 | 7,401 | electron-kotlin-template | MIT License |
src/bindings/kotlin/electron/native-image.kt | cout970 | 90,876,560 | false | null | @file:Suppress("UnsafeCastFromDynamic")
package electron
@Suppress("REDUNDANT_NULLABLE")
object nativeImage {
private val module: dynamic = js("require('electron').nativeImage")
// ~ Events --------------------------------------------------------------------------------
fun onEvent(event: String, callb... | 1 | Kotlin | 1 | 3 | 2709066039895dc87cda8a9655fe937c9df91e60 | 7,401 | electron-kotlin-template | MIT License |
app/src/main/java/com/nirmaljeffrey/dev/voicenotes/di/AppModule.kt | nirmaljeffrey | 405,366,106 | false | {"Kotlin": 22813} | package com.nirmaljeffrey.dev.voicenotes.di
import android.content.Context
import androidx.room.Room
import com.google.firebase.analytics.FirebaseAnalytics
import com.google.firebase.crashlytics.FirebaseCrashlytics
import com.nirmaljeffrey.dev.voicenotes.data.persistance.AppDatabase
import com.nirmaljeffrey.dev.voicen... | 0 | Kotlin | 0 | 0 | 06b1b5abcb1d00afae2c79d3c5cb6a6672815f29 | 1,423 | VoiceNotes | Apache License 2.0 |
app/src/main/java/com/binary/memory/module/flashcard/FlashcardDetailFragment.kt | Summer-yang | 771,610,617 | false | {"Kotlin": 46650} | package com.binary.memory.module.flashcard
class FlashcardDetailFragment {
} | 0 | Kotlin | 0 | 0 | f5cd3c1550c2b6194dda072357c45bc039a1efc1 | 77 | Threads-Of-Memory | MIT License |
data/src/main/java/com/mrtckr/livecoding/data/UserDataSourceImpl.kt | Mrtckr008 | 747,623,658 | false | {"Kotlin": 181568} | package com.mrtckr.livecoding.data
import com.mrtckr.common.network.AppDispatchers
import com.mrtckr.common.network.Dispatcher
import com.mrtckr.livecoding.data.datasource.user.UserService
import com.mrtckr.livecoding.domain.entity.user.FavoriteList
import com.mrtckr.livecoding.domain.entity.user.User
import com.mrtck... | 0 | Kotlin | 1 | 14 | 7b30b6036f820581369814eb79b30d9db6106644 | 1,129 | Android-Sample-Best-Practices | The Unlicense |
src/main/kotlin/com/github/insanusmokrassar/AutoORM/core/compilers/OverrideInfo.kt | InsanusMokrassar | 88,080,591 | false | null | package com.github.insanusmokrassar.AutoORM.core.compilers
import java.util.*
import kotlin.reflect.KClass
import kotlin.reflect.KFunction
interface OverrideInfo {
val nameStack: Stack<String>
val argsNamesStack: Stack<String>
val returnClass: KClass<*>
val function: KFunction<*>?
fun refreshStac... | 1 | Kotlin | 0 | 0 | 5c8bdfe5aa40b4c394e100a5d45cdcacd8c862a2 | 326 | AutoORM | MIT License |
app/src/main/java/com/thk/todo_clone/model/SnackBarState.kt | taehee28 | 560,310,193 | false | null | package com.thk.todo_clone.model
/**
* 화면에서 SnackBar를 표시하기 위해 사용하는 클래스
*
* @param message SnackBar에 표시될 내용
* @param actionLabel SnackBar의 label에 표시될 String
* @param action SnackBar의 actionLabel을 클릭했을 때 동작 할 lambda
*/
sealed class SnackBarState(val message: String, val actionLabel: String, val action: (() -> Unit... | 0 | Kotlin | 0 | 0 | 9f034999dff854c82e5b9ffc61d3007d1b422c21 | 931 | Todo-clone | MIT License |
code/platform/src/main/kotlin/org/fbme/ide/platform/debugger/WatchedValueListener.kt | JetBrains | 267,360,098 | false | null | package org.fbme.ide.platform.debugger
interface WatchedValueListener {
fun onValueChanged(newValue: String)
}
| 2 | JetBrains MPS | 12 | 15 | 2ffa6f754c3297cccb6c81e99f0e1d8c2f3fc822 | 116 | fbme | Apache License 2.0 |
networksurvey/src/main/java/com/craxiom/networksurvey/ui/wifi/ChannelAxisItemPlacer.kt | christianrowlands | 156,117,885 | false | {"Java": 1326175, "Kotlin": 123425} | package com.craxiom.networksurvey.ui.wifi
import com.patrykandpatrick.vico.core.axis.AxisItemPlacer
import com.patrykandpatrick.vico.core.chart.dimensions.HorizontalDimensions
import com.patrykandpatrick.vico.core.chart.draw.ChartDrawContext
import com.patrykandpatrick.vico.core.context.MeasureContext
class ChannelAx... | 5 | Java | 25 | 95 | 866b838da2d2fd74e343d6f153ab9f869a255e4a | 2,305 | android-network-survey | Apache License 2.0 |
src/main/kotlin/de/jensklingenberg/folders2kt/Util.kt | Foso | 437,616,631 | false | {"Kotlin": 19252} | package de.jensklingenberg.folders2kt
import java.io.File
fun File.listFolders(): List<File> {
return this.listFiles().filter { it.isDirectory }.sortedWith(FilesComparator)
}
| 2 | Kotlin | 0 | 27 | b23a68a71d6d5b9d9f1d1b87e2b99cb13d5838d4 | 181 | Folders2kt | Apache License 2.0 |
app/src/main/java/com/saksham/jetpack/moodjournal/feature_journal/domain/use_case/datastore_operations/SaveUserName.kt | SakshamSharma2026 | 740,059,366 | false | {"Kotlin": 140832} | package com.saksham.jetpack.moodjournal.feature_journal.domain.use_case.datastore_operations
import com.saksham.jetpack.moodjournal.feature_journal.domain.repository.DataStoreOperationsRepository
class SaveUserNameUserCase(
private val dataStoreOperationsRepository: DataStoreOperationsRepository
) {
suspend o... | 0 | Kotlin | 2 | 6 | f19384acda3f1cf9d1d075c6aa54e5e43f81f511 | 432 | Mood-Journal | MIT License |
app/src/main/java/com/kusamaru/standroid/room/database/NGUploaderUserIdDB.kt | kusamaru | 442,642,043 | false | null | package com.kusamaru.standroid.room.database
import androidx.room.Database
import androidx.room.RoomDatabase
import com.kusamaru.standroid.room.dao.NGUploaderUserIdDAO
import com.kusamaru.standroid.room.entity.NGUploaderUserIdEntity
/**
* NG投稿者のデータベース。
*
* これとは別に「NG投稿者が投稿した動画ID」データベースが存在する
* */
@Database(entities... | 0 | null | 0 | 3 | 5c58707eecc7a994fbd4bc900b22106697bf3806 | 483 | StanDroid | Apache License 2.0 |
src/main/kotlin/com/emberjs/lookup/EmberLookupElementBuilder.kt | Turbo87 | 46,373,572 | false | null | package com.emberjs.lookup
import com.emberjs.icons.EmberIconProvider
import com.emberjs.icons.EmberIcons
import com.emberjs.resolver.EmberName
import com.intellij.codeInsight.lookup.LookupElement
import com.intellij.codeInsight.lookup.LookupElementBuilder
object EmberLookupElementBuilder {
fun create(it: EmberNa... | 56 | null | 33 | 217 | 1d42939ef4a86971ca9822ac43078800c8488333 | 611 | intellij-emberjs | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/nomisvisitsmappingservice/csip/plans/CSIPPlanMapping.kt | ministryofjustice | 454,373,167 | false | {"Kotlin": 1494939, "Dockerfile": 1370} | package uk.gov.justice.digital.hmpps.nomisvisitsmappingservice.csip.plans
import org.springframework.beans.factory.annotation.Value
import org.springframework.data.annotation.Id
import org.springframework.data.annotation.Transient
import org.springframework.data.domain.Persistable
import java.time.LocalDateTime
data ... | 0 | Kotlin | 1 | 0 | c88c526fcef88f327dcf7ae3e00dc711aa8cd5eb | 1,127 | hmpps-nomis-mapping-service | MIT License |
FluentUI.Demo/src/main/java/com/microsoft/fluentuidemo/demos/V2AvatarActivity.kt | anthonysidesap | 454,785,267 | false | null | package com.microsoft.fluentuidemo.demos
import android.os.Bundle
import android.view.LayoutInflater
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.text.BasicText
import androidx.compose.material.Divider
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableSta... | 40 | null | 90 | 7 | 2b0d10f7b754c189fea210d279487617e5661eaa | 21,226 | fluentui-android | MIT License |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/ProductDistribution.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/**
*````
*
* Name: Alternatives
*
* Full name: System`Alternatives
*
* p | p | … is a pattern object tha... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 1,058 | mathemagika | Apache License 2.0 |
uicorek/src/main/java/com/mozhimen/uicorek/adapterk/AdapterKRecyclerStuffedVB2.kt | mozhimen | 353,952,154 | false | null | package com.mozhimen.uicorek.adapterk
import android.view.View
import androidx.databinding.ViewDataBinding
import com.mozhimen.basick.utilk.java.datatype.joinElement2List
import com.mozhimen.basick.utilk.java.datatype.joinElement2ListIgnoreNull
import com.mozhimen.uicorek.adapterk.commons.IAdapterKRecyclerStuffedVB
im... | 0 | Kotlin | 7 | 114 | 24ed5b2eab8739929c708697d7b59c0e7e7f9523 | 4,040 | SwiftKit | Apache License 2.0 |
domain/src/test/java/smash/ks/com/domain/usecases/fake/GetKsImageUsecaseTest.kt | familqasimov | 136,156,130 | true | {"Kotlin": 291043} | /*
* Copyright (C) 2018 The Smash Ks Open 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 applicab... | 0 | Kotlin | 0 | 0 | cc183b577fdc951c4d4a7ff5c17f0122a2f63671 | 2,331 | OneShoot | Apache License 2.0 |
src/main/java/com/tang/intellij/lua/lang/type/LuaType.kt | coderflyfish | 94,959,215 | true | {"C": 2447667, "C++": 770392, "Java": 734935, "HTML": 709918, "Lua": 318259, "Makefile": 23168, "Assembly": 17667, "Lex": 11423, "Roff": 10538, "CSS": 4857, "Kotlin": 4181, "Objective-C": 3557} | /*
* Copyright (c) 2017. tangzx(<EMAIL>)
*
* 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 | C | 0 | 1 | f3b6130c0499addf25678a1bae8339576ec0c2a5 | 1,030 | IntelliJ-EmmyLua | Apache License 2.0 |
app/src/main/java/com/ubergeek42/WeechatAndroid/views/AlphaLayout.kt | ubergeek42 | 3,555,504 | false | null | package com.ubergeek42.WeechatAndroid.views
import android.annotation.SuppressLint
import android.graphics.Bitmap
import android.graphics.Canvas
import android.graphics.Paint
import android.os.Build
import android.text.Layout
import android.text.Spannable
import android.text.StaticLayout
import androidx.emoji2.text.Em... | 38 | null | 107 | 516 | f3da88c7d7abfe5ea3e46d8ebb908e5a907c27eb | 3,170 | weechat-android | Apache License 2.0 |
domain/src/main/kotlin/no/nav/su/se/bakover/domain/søknadsbehandling/Søknadsbehandling.kt | navikt | 227,366,088 | false | null | package no.nav.su.se.bakover.domain.søknadsbehandling
import arrow.core.Either
import arrow.core.NonEmptyList
import arrow.core.getOrElse
import arrow.core.left
import arrow.core.right
import no.nav.su.se.bakover.common.ident.NavIdentBruker
import no.nav.su.se.bakover.common.tid.Tidspunkt
import no.nav.su.se.bakover.d... | 1 | Kotlin | 0 | 1 | fbeb1614c40e0f6fce631d4beb1ba25e2f78ddda | 39,601 | su-se-bakover | MIT License |
app/src/main/kotlin/edu/stanford/bdh/engagehf/health/weight/bottomsheet/AddWeightBottomSheet.kt | StanfordSpezi | 787,513,636 | false | {"Kotlin": 805430, "Ruby": 1755, "Shell": 212} | package edu.stanford.bdh.engagehf.health.weight.bottomsheet
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import ... | 20 | Kotlin | 1 | 8 | b2e833b5e1847287fbd3b5dcf23241abc841ed24 | 13,021 | SpeziKt | MIT License |
canvas_lp/src/main/java/com/angcyo/canvas/laser/pecker/CanvasAddTextDialogConfig.kt | angcyo | 229,037,684 | false | null | package com.angcyo.canvas.laser.pecker
import android.app.Dialog
import android.content.Context
import android.text.InputType
import com.angcyo.canvas.utils.CanvasConstant
import com.angcyo.dialog.InputDialogConfig
import com.angcyo.dialog.configBottomDialog
import com.angcyo.library.annotation.DSL
import com.angcyo.l... | 0 | Kotlin | 4 | 3 | ce8ef6bdd49421a0973367828242ee74bc95b0af | 3,709 | UICoreEx | MIT License |
SecondTempleTimer/src/commonMain/kotlin/sternbach/software/kosherkotlin/Zman.kt | kdroidFilter | 849,781,239 | false | {"Kotlin": 814129} | package sternbach.software.kosherkotlin
import sternbach.software.kosherkotlin.metadata.ZmanDefinition
import kotlinx.datetime.Instant
import kotlinx.datetime.TimeZone
import kotlinx.datetime.toLocalDateTime
import kotlin.time.Duration
/**
* This class represents a halachic moment in time or duration of time.
* Som... | 0 | Kotlin | 0 | 0 | 577cd4818376400b4acc0f580ef19def3bf9e8d9 | 4,264 | SecondTempleTimerLibrary | Apache License 2.0 |
app/src/main/java/ru/tech/imageresizershrinker/presentation/generate_palette_screen/components/PaletteColorsCountSelector.kt | T8RIN | 478,710,402 | false | null | package ru.tech.imageresizershrinker.presentation.generate_palette_screen.components
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.fo... | 16 | null | 58 | 687 | 9b12ed7fd6ca7535519734879909847e42372890 | 2,633 | ImageToolbox | Apache License 2.0 |
src/main/java/cn/zjiali/robot/model/response/ws/WsResult.kt | SLiGe | 308,267,899 | false | null | package cn.zjiali.robot.model.response.ws
import kotlinx.serialization.Serializable
/**
* @author zJiaLi
* @since 2021-07-28 20:09
*/
@Serializable
class WsResult {
/**
* 消息类型
*/
var msgType = 0
/**
* 传递数据
*/
var dataJson: String? = null
/**
* 机器人QQ
*/
var ro... | 1 | Kotlin | 9 | 17 | 93066e44b330e3fd98e3429b618b1a94f82c358c | 399 | mirai-robot | Apache License 2.0 |
src/main/kotlin/mods/betterfoliage/render/particle/FallingLeaves.kt | octarine-noise | 21,217,177 | false | {"Gradle Kotlin DSL": 2, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "INI": 3, "Java": 11, "JSON": 10, "TOML": 1, "JAR Manifest": 1, "Kotlin": 66} | package mods.betterfoliage.render.particle
import mods.betterfoliage.config.Config
import mods.betterfoliage.model.Color
import mods.betterfoliage.util.Double3
import mods.betterfoliage.util.PI2
import mods.betterfoliage.util.minmax
import mods.betterfoliage.util.randomB
import mods.betterfoliage.util.randomD
import m... | 244 | Kotlin | 42 | 99 | 178a014a6b75266b6ab4d82d5a8dcd063c2f48a4 | 4,114 | BetterFoliage | MIT License |
app/src/main/java/com/lagradost/quicknovel/ui/roundedbg/TextRoundedBgAttributeReader.kt | LagradOst | 351,162,779 | false | null | /*
* Copyright (C) 2018 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... | 132 | null | 61 | 977 | 6c5bd3f83e18328acc4d2d8cee11f41f787ac366 | 2,638 | QuickNovel | MIT License |
app/src/main/java/edu/mcu/team03/guideassistsnt/ui/schedule/ScheduleBillingFragment.kt | yoyo930021 | 122,118,276 | false | null | package edu.mcu.team03.guideassistsnt.ui.schedule
import android.graphics.Color
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.widget.AppCompatTextView
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.view.Grav... | 0 | Kotlin | 0 | 0 | 66e6b4917369a1dee056041a5a8d6da34f2d08c3 | 6,479 | GuideAssistsnt | MIT License |
ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/locations/LocationsCpoServer.kt | IZIVIA | 497,830,391 | false | {"Kotlin": 716699} | package com.izivia.ocpi.toolkit.modules.locations
import com.izivia.ocpi.toolkit.common.OcpiSelfRegisteringModuleServer
import com.izivia.ocpi.toolkit.common.httpResponse
import com.izivia.ocpi.toolkit.modules.versions.domain.InterfaceRole
import com.izivia.ocpi.toolkit.modules.versions.domain.ModuleID
import com.iziv... | 19 | Kotlin | 8 | 24 | 8e9f7a873242046bad248bce6c0d9296e02999dc | 3,462 | ocpi-toolkit | MIT License |
web/src/jsMain/kotlin/de/jensklingenberg/sheasy/web/components/materialui/Step.kt | Foso | 129,130,317 | false | null | @file:Suppress(
"INTERFACE_WITH_SUPERCLASS",
"OVERRIDING_FINAL_MEMBER",
"RETURN_TYPE_MISMATCH_ON_OVERRIDE",
"CONFLICTING_OVERLOADS",
"EXTERNAL_DELEGATION",
"NESTED_CLASS_IN_EXTERNAL_INTERFACE"
)
package components.materialui
import react.RClass
import react.RProps
import react.ReactElement
@J... | 1 | null | 4 | 36 | 069989f8c92924b7db3b7744fe54f73e2e138463 | 1,263 | Sheasy | Apache License 2.0 |
src/test/kotlin/io/openapiprocessor/core/writer/java/MethodWriterAnnotationSpec.kt | openapi-processor | 268,750,021 | false | null | /*
* Copyright 2022 https://github.com/openapi-processor/openapi-processor-core
* PDX-License-Identifier: Apache-2.0
*/
package io.openapiprocessor.core.writer.java
import io.kotest.core.spec.IsolationMode
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.shouldBe
import io.openapiprocessor.cor... | 9 | null | 4 | 7 | 1bf168c0af909fbdf7fa44ab3f9712492fb1380d | 2,183 | openapi-processor-core | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/web/components/ShadowRootMode.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6891970} | // Automatically generated - do not modify!
@file:Suppress(
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
package web.components
import seskar.js.JsValue
import seskar.js.JsVirtual
@JsVirtual
sealed external interface ShadowRootMode {
companion object {
@JsValue("closed")
val closed: ShadowRootMod... | 0 | Kotlin | 7 | 28 | 8b3f4024ebb4f67e752274e75265afba423a8c38 | 389 | types-kotlin | Apache License 2.0 |
picker-file/src/main/java/chooongg/box/picker/file/breadcrumbs/BreadcrumbsDiffCallback.kt | Chooongg | 298,511,826 | false | null | package chooongg.box.picker.file.breadcrumbs
import androidx.recyclerview.widget.DiffUtil
class BreadcrumbsDiffCallback(
private val newItems: List<IBreadcrumbItem<*>>,
private val oldItems: List<IBreadcrumbItem<*>>
) : DiffUtil.Callback() {
override fun getOldListSize() = BreadcrumbsUtils.getAdapterCoun... | 0 | Kotlin | 1 | 2 | f2b4adac448036ef2e48ec2a3ac030c7f8d0fe2e | 1,156 | ChooonggBox | Apache License 2.0 |
app/src/main/java/com/livin/starwars/presentation/people_search/components/PoepleListItem.kt | Livinlawrence | 460,738,188 | false | {"Kotlin": 50922} | package com.livin.starwars.presentation.ui
import androidx.compose.foundation.layout.Column
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.text.font.FontWeight
import androidx.comp... | 1 | Kotlin | 0 | 1 | 68f9fc34e2c79737b419ea06fa02f249d7cccce8 | 664 | StarwarsAPI | Apache License 2.0 |
sketch-core/src/androidInstrumentedTest/kotlin/com/github/panpf/sketch/core/android/test/decode/internal/BitmapFactoryDecodeHelperTest.kt | panpf | 14,798,941 | false | {"Kotlin": 2979756, "Shell": 1469} | package com.github.panpf.sketch.core.android.test.decode.internal
class BitmapFactoryDecodeHelperTest {
// TODO test
} | 8 | Kotlin | 309 | 2,057 | 89784530da0de6085a5b08f810415147cb3165cf | 123 | sketch | Apache License 2.0 |
app/src/main/java/com/andre_max/tiktokclone/ui/CreateUsernameFragment.kt | ankit1057 | 365,203,889 | true | {"Kotlin": 116369} | package com.andre_max.tiktokclone.ui
import android.content.Context
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.inputmethod.InputMethodManager
import android.widget.Ed... | 0 | null | 0 | 0 | bd8c81b1030a1099e1fffacf0d8d66e4ec0e8608 | 9,516 | TikTok-Clone | MIT License |
src/Demo.kt | VaibhavMojidra | 634,853,378 | false | null | fun main(args: Array<String>) {
var i = 5;
while (i > 0) {
println(i)
i--
}
} | 0 | Kotlin | 0 | 0 | d0ee0c9436ef2ce9ca2a6bc9d5ae5943de142f0d | 98 | Kotlin---Demo-While-Loop | MIT License |
common_parser/src/test/kotlin/ru/alfabank/ecomm/dcreator/parser/block/TableBlockParserTest.kt | alfa-laboratory | 121,268,190 | false | null | package ru.alfabank.ecomm.dcreator.parser.block
import ru.alfabank.ecomm.dcreator.nodes.*
import ru.alfabank.ecomm.dcreator.parser.MarkdownParser
import ru.alfabank.ecomm.dcreator.test.runTest
import kotlin.test.Test
import kotlin.test.assertEquals
class TableBlockParserTest {
val parser = MarkdownParser()
@... | 0 | Kotlin | 0 | 7 | 1f1425c2c020baca91d02b5d3567cdf28e3a95bd | 3,586 | kgen-doc-tools | MIT License |
app/src/main/java/com/a10miaomiao/bilimiao/page/video/comment/VideoCommentListFragment.kt | 10miaomiao | 142,169,120 | false | null | package com.a10miaomiao.bilimiao.page.video.comment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import androidx.appcompat.widget.PopupMenu
import androidx.core.os.bundleOf
import androidx.fragment.app.Fragment
import... | 11 | Kotlin | 11 | 339 | bde9deb09f5a52d31386675772a6fe6c33da000a | 10,349 | bilimiao2 | Apache License 2.0 |
app/src/main/java/com/lxh/cookcommunity/ui/fragment/home/FoodBannerViewHolder.kt | ZYF99 | 320,173,307 | false | null | package com.lxh.cookcommunity.ui.fragment.home
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import androidx.databinding.DataBindingUtil
import com.lxh.cookcommunity.R
import com.lxh.cookcommunity.databinding.ItemFoodBannerBinding
import com.lxh.cookcommunity.model.api.home... | 1 | null | 1 | 4 | 98ff556fda0f384f9cfa768e14bad8e38ced9077 | 933 | CookCommunity | Apache License 2.0 |
components/src/main/java/com/kodatos/bookmark/components/cards/ImageCard.kt | Kodatos | 382,815,535 | false | null | package com.kodatos.bookmark.components.cards
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.Surface
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.Dp
import com.kodatos.bookmark.image.URLImage
@Composable
f... | 0 | Kotlin | 0 | 0 | f2a7e07dc6beee270b94b116c0228013eef6c105 | 568 | bookmark | Apache License 2.0 |
app/src/main/java/com/isupatches/android/wisefy/sample/internal/base/BaseFragment.kt | isuPatches | 57,158,628 | false | null | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | 6 | Kotlin | 35 | 293 | f1deae764e57e45d2caad40b5cd320573eee06e6 | 4,288 | android-wisefy | Apache License 2.0 |
ui-settings/src/main/java/fr/nihilus/music/ui/settings/exclusion/ExcludedTracksViewModel.kt | thibseisel | 80,150,620 | false | null | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 14 | Kotlin | 7 | 48 | 7d1f78301ae1dd0801cee48c98e8729e0a8248d1 | 2,181 | android-odeon | Apache License 2.0 |
app/src/test/java/com/example/richtodo/domain/ToDoTest.kt | msmoljan | 489,373,324 | false | {"Kotlin": 6457} | package com.example.richtodo.domain
import org.junit.Assert.assertEquals
import org.junit.Test
class ToDoTest {
@Test
fun `When a check item is added, it is returned in the list`() {
val toDo = ToDo()
val buyEggs = CheckableItem("Buy eggs")
toDo.addCheckableItem(buyEggs)
ass... | 0 | Kotlin | 0 | 0 | 2c962fb874c3e4a625a4cf47c0b45ab03a917dfc | 1,303 | todo-app | MIT License |
src/main/java/com/anyascii/build/Greek.kt | anyascii | 231,583,826 | false | null | package com.anyascii.build
import com.ibm.icu.lang.UCharacter.UnicodeBlock.*
import com.ibm.icu.lang.UCharacterCategory.*
fun greek() = Table()
.then(greekMath())
.then(Table("greek"))
.then(Table("greek-extended"))
.cased(block(GREEK))
private val GREEK_MATH_LETTERS = range(0x1d6a8..... | 7 | null | 8 | 87 | 86ab1c79e495f603f8c253a28005f4cb51269d52 | 542 | anyascii | ISC License |
visitor/src/main/java/com/iluwatar/visitor/kotlin/example1/Solider.kt | duylinh | 538,777,311 | true | {"Java": 2439703, "HTML": 38429, "Kotlin": 6416, "CSS": 5808, "Shell": 1718, "JavaScript": 1191, "Gherkin": 1078} | package com.iluwatar.visitor.kotlin.example1
class Solider(vararg val unitss: Unit) : Unit(*unitss) {
override fun accept(unitVisitor: UnitVisitor) {
unitVisitor.visit(this)
super.accept(unitVisitor)
}
override fun toString(): String {
return "Solider"
}
} | 1 | null | 2 | 1 | 43076c39e500d7555e06db6a9cd9a78e76f03558 | 302 | kotlin-design-patterns | MIT License |
app/src/main/java/com/stocksexchange/android/api/model/CurrencyMarket.kt | libertaria-project | 183,030,087 | true | {"Kotlin": 2210140} | package com.stocksexchange.android.api.model
import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import com.stocksexchange.android.utils.helpers.extractBaseCurrencySymbol
import com.stocksexchange.android.utils.helpers.extractQuoteCurrencySymbol
import kotlinx.android.parcel.IgnoredOnParcel
... | 0 | Kotlin | 0 | 0 | 35a7f9a61f52f68ab3267da24da3c1d77d84e9c3 | 2,121 | Android-app | MIT License |
components/membership/membership-p2p-impl/src/main/kotlin/net/corda/membership/impl/p2p/MembershipP2PMarkersProcessor.kt | corda | 346,070,752 | false | {"Kotlin": 20585419, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244} | package net.corda.membership.impl.p2p
import net.corda.data.membership.command.registration.RegistrationCommand
import net.corda.data.membership.command.registration.mgm.DeclineRegistration
import net.corda.data.p2p.markers.AppMessageMarker
import net.corda.membership.p2p.helpers.TtlIdsFactory
import net.corda.messagi... | 117 | Kotlin | 27 | 69 | d478e119ab288af663910f9a2df42a7a7b9f5bce | 1,544 | corda-runtime-os | Apache License 2.0 |
test-suite-kotlin-ksp/src/test/kotlin/io/micronaut/docs/ioc/mappers/MappersSpec.kt | micronaut-projects | 124,230,204 | false | null | package io.micronaut.docs.ioc.mappers
import io.micronaut.context.ApplicationContext
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
internal class MappersSpec {
@Test
fun testMappers() {
ApplicationContext.run().use { context ->
// tag::mappers[]
val ... | 753 | null | 1061 | 6,059 | c9144646b31b23bd3c4150dec8ddd519947e55cf | 829 | micronaut-core | Apache License 2.0 |
TimeTracker/app/src/main/java/github/informramiz/timetracker/view/worklogs/WorkLogsRecyclerAdapter.kt | informramiz | 336,497,767 | false | null | package github.informramiz.timetracker.view.worklogs
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import github.informramiz.timetracker.R
import github.infor... | 0 | Kotlin | 0 | 0 | 4a3ff709f0ce1e8526422cd0183cc263b2ee9139 | 3,425 | WorkLogTracker | MIT License |
app/src/main/java/dev/gusriil/mindfullconnect/android/dto/user/UserPostModel.kt | gusriil | 462,092,296 | false | null | package dev.gusriil.mindfullconnect.android.dto.user
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
import kotlinx.serialization.Serializable
@Serializable
@Parcelize
data class UserPostModel(
val userId: Long?,
val username: String?,
val avatarUrl: String?
) : Parcelable | 0 | Kotlin | 0 | 2 | e67415e2dda0121911cbd2a41852ac44411570d8 | 303 | MindfullConnect | Apache License 2.0 |
geok-gson/src/main/kotlin/me/piruin/geok/gson/PolygonSerializer.kt | piruin | 121,932,486 | false | {"Kotlin": 120399} | package me.piruin.geok.gson
import com.google.gson.JsonArray
import com.google.gson.JsonDeserializationContext
import com.google.gson.JsonDeserializer
import com.google.gson.JsonElement
import com.google.gson.JsonObject
import com.google.gson.JsonPrimitive
import com.google.gson.JsonSerializationContext
import com.goo... | 3 | Kotlin | 7 | 43 | bf488f99cd16fa2b0fef848a8c1a94dd3d45245d | 1,667 | geok | MIT License |
src/main/kotlin/com/dxmwl/newbee/channel/honor/HonorUploadUrlResp.kt | dxmwl | 834,178,567 | false | {"Kotlin": 224927, "Java": 67191, "Shell": 918} | package com.dxmwl.newbee.channel.honor
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class HonorUploadFile(
@Json(name = "fileName")
val fileName:String,
@Json(name = "fileType")
val fileType:Int,
@Json(name = "fileSize")
val fileSiz... | 0 | Kotlin | 1 | 6 | fa0b2152165bc18fa4fe21b3dd0d649d97c67eb5 | 557 | new_bee_upload_app | Apache License 2.0 |
features/core/foreground/observer/api/src/main/java/com/ruslan/hlushan/core/foreground/observer/api/di/AppForegroundObserverProvider.kt | game-x50 | 361,364,864 | false | null | package com.ruslan.hlushan.core.foreground.observer.api.di
import com.ruslan.hlushan.core.foreground.observer.api.AppForegroundObserver
interface AppForegroundObserverProvider {
fun provideAppForegroundObserver(): AppForegroundObserver
} | 26 | Kotlin | 0 | 0 | 155c9ae3e60bb24141823837b2dddf041f71ff89 | 244 | android_client_app | Apache License 2.0 |
components/infrared/editor/src/main/kotlin/com/flipperdevices/infrared/editor/viewmodel/InfraredEditorViewModel.kt | flipperdevices | 288,258,832 | false | {"Kotlin": 2760721, "FreeMarker": 10084, "CMake": 1780, "C++": 1152, "Fluent": 21} | package com.flipperdevices.infrared.editor.viewmodel
import android.content.Context
import android.os.Vibrator
import androidx.core.content.ContextCompat
import com.flipperdevices.bridge.api.utils.FlipperSymbolFilter
import com.flipperdevices.bridge.dao.api.delegates.key.SimpleKeyApi
import com.flipperdevices.bridge.d... | 26 | Kotlin | 174 | 999 | ef27b6b6a78a59b603ac858de2c88f75b743f432 | 8,084 | Flipper-Android-App | MIT License |
compiler/testData/diagnostics/tests/constructorConsistency/basic.fir.kt | JetBrains | 3,432,266 | false | null | class My {
val x: String
constructor() {
val y = bar(this)
val z = foo()
x = "$y$z"
}
fun foo() = x
}
fun bar(arg: My) = arg.x
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 170 | kotlin | Apache License 2.0 |
src/main/kotlin/dk/cachet/carp/webservices/deployment/controller/StudyDeploymentController.kt | cph-cachet | 674,650,033 | false | {"Kotlin": 671905, "TypeScript": 111037, "HTML": 14219, "Shell": 4202, "CSS": 1656, "Dockerfile": 1264, "JavaScript": 706} | package dk.cachet.carp.webservices.deployment.controller
import dk.cachet.carp.deployments.infrastructure.DeploymentServiceRequest
import dk.cachet.carp.deployments.infrastructure.ParticipationServiceRequest
import dk.cachet.carp.webservices.common.services.CoreServiceContainer
import dk.cachet.carp.webservices.dataPo... | 27 | Kotlin | 1 | 3 | 6f16c3c5f1b5b8bdd7abc30fd312c0cad973473c | 3,353 | carp-webservices-spring | MIT License |
app/src/main/java/com/ifanr/tangzhi/ui/follows/FollowsActivity.kt | cyrushine | 224,551,311 | false | {"Kotlin": 673925, "Java": 59856, "Python": 795} | package com.ifanr.tangzhi.ui.follows
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.lifecycle.Observer
import com.alibaba.android.arouter.facade.annotation.Route
import com.ifanr.tangzhi.R
import com.ifanr.tangzhi.ext.ioTask
import com.ifanr.tangzhi.ext.observeToast
import com... | 0 | Kotlin | 0 | 0 | ab9a7a2eba7f53eca918e084da9d9907f7997cee | 1,199 | tangzhi_android | Apache License 2.0 |
features/lists/domain/src/commonTest/kotlin/dev/alvr/katana/features/lists/domain/usecases/ObserveAnimeListUseCaseTest.kt | alvr | 446,535,707 | false | null | package dev.alvr.katana.features.lists.domain.usecases
import app.cash.turbine.test
import arrow.core.left
import arrow.core.right
import dev.alvr.katana.core.common.coroutines.KatanaDispatcher
import dev.alvr.katana.core.domain.usecases.invoke
import dev.alvr.katana.core.tests.di.coreTestsModule
import dev.alvr.katan... | 4 | null | 0 | 59 | a665fe91200b071e07cfcbf984f3923d85f4ce85 | 2,321 | katana | Apache License 2.0 |
src/main/kotlin/leight/repository/Utils.kt | marek-hanzal | 394,701,910 | false | null | package leight.repository
import leight.mapper.IMapper
import leight.page.dto.PageRequestDto
import leight.page.dto.PageResponseDto
import org.jetbrains.exposed.dao.UUIDEntity
import org.jetbrains.exposed.dao.id.UUIDTable
import org.jetbrains.exposed.sql.Expression
import org.jetbrains.exposed.sql.SortOrder
import org... | 10 | Kotlin | 0 | 0 | 1eb59387ac54d0799b5805b905b2488a2bca48ca | 1,269 | puff-smith | Apache License 2.0 |
app/src/main/java/com/panosdim/flatman/viewmodel/LesseeViewModel.kt | panosdim | 303,357,515 | false | null | package com.panosdim.flatman.viewmodel
import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import com.panosdim.flatman.api.LesseeRepository
import com.panosdim.flatman.api.data.PostalCodeResponse
import com.panosdim.flatman.api.data.Resource
import com.panosdim.flatman.model.Flat
import com.panosdim... | 0 | Kotlin | 0 | 1 | 2c5c2dd6a8040c83b5cbe4846e05d1cbbb9d30c7 | 1,271 | apartments-android-app | MIT License |
app/src/main/java/com/app/cleanui/domain/entities/NoteModel.kt | sncsuunc | 748,779,193 | false | {"Kotlin": 47727} | package com.app.cleanui.domain.entities
import java.util.UUID
class NoteModel {
var id: String = UUID.randomUUID().toString()
var note: String = ""
var timestamp: Long = 0
} | 0 | Kotlin | 0 | 0 | 2a0c04998fa9c8c0b863e296710330b5bb314226 | 187 | AndroidCleanUI | MIT License |
compiler/compiler-runner-unshaded/src/org/jetbrains/kotlin/compilerRunner/KotlinCompilerRunnerUtils.kt | JetBrains | 3,432,266 | 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... | 166 | null | 5771 | 46,772 | bef0946ab7e5acd5b24b971eca532c43c8eba750 | 4,714 | kotlin | Apache License 2.0 |
app/src/main/java/cc/sovellus/vrcaa/ui/screen/settings/SettingsScreen.kt | Nyabsi | 745,635,224 | false | null | package cc.sovellus.vrcaa.ui.screen.settings
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.c... | 1 | null | 3 | 7 | 3f16af6b6c0869f292b60c7f941492768949e5ba | 4,390 | vrcaa | Apache License 2.0 |
app/src/main/java/com/wcsm/minhastarefas/database/DatabaseHelper.kt | WallaceMartinsTI | 737,301,198 | false | {"Kotlin": 48096} | package com.wcsm.minhastarefas.database
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteOpenHelper
import android.util.Log
class DatabaseHelper(context: Context): SQLiteOpenHelper(context, DATABASE, null, VERSION) {
companion object {
const... | 0 | Kotlin | 0 | 1 | 3aea9ce1793b6cb6c4739aa868edfc7e3165bbed | 1,966 | minhas-tarefas | MIT License |
app/src/main/java/com/pilot51/voicenotify/MainScreen.kt | pilot51 | 6,212,669 | false | null | /*
* Copyright 2011-2024 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 45 | null | 56 | 158 | af7d553c22dcfed12b05521265fd7df4383b27d5 | 13,417 | voicenotify | Apache License 2.0 |
onetap-common/src/main/kotlin/com/vk/id/onetap/common/auth/style/VKIDButtonTextStyle.kt | VKCOM | 696,297,549 | false | {"Kotlin": 345109, "AIDL": 3429, "Shell": 1622} | package com.vk.id.onetap.common.auth.style
import com.vk.id.commn.InternalVKIDApi
@InternalVKIDApi
public enum class VKIDButtonTextStyle {
LIGHT,
DARK
}
| 1 | Kotlin | 0 | 8 | ac0870dd548c2c4bb0ac5a7cf4b973e7add590b2 | 163 | vkid-android-sdk | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.