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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
chazm-model/src/main/kotlin/runtimemodels/chazm/model/relation/RequiresEventFactory.kt | RuntimeModels | 32,474,965 | false | {"Git Config": 1, "Gradle Kotlin DSL": 4, "Gradle": 5, "Markdown": 4, "INI": 3, "YAML": 4, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "XML": 23, "Kotlin": 156, "Java": 15} | package runtimemodels.chazm.model.relation
import runtimemodels.chazm.api.relation.Requires
import runtimemodels.chazm.model.event.EventType
/**
* The [RequiresEventFactory] interface defines the API for constructing [RequiresEvent]s.
*
* @author <NAME>
* @since 7.0.0
*/
@FunctionalInterface
interface RequiresEv... | 7 | null | 1 | 1 | e64c35dbd0a11a0f3759305e1cae4b2b593005c8 | 579 | chazm | Apache License 2.0 |
app/src/main/java/com/kickstarter/ui/activities/ChangePasswordActivity.kt | capricious-sy | 150,843,483 | true | {"Batchfile": 1, "Makefile": 1, "Shell": 1, "Markdown": 2, "Ruby": 19, "Java Properties": 2, "Java": 497, "Kotlin": 66, "INI": 1} | package com.kickstarter.ui.activities
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.kickstarter.R
class ChangePasswordActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.lay... | 0 | Java | 0 | 0 | 15e207c389f2b1923d1c3015a4e11fbfd6aa9ece | 358 | android-oss | Apache License 2.0 |
src/main/kotlin/fr/yodamad/svn2git/service/client/GitlabAdmin.kt | yodamad | 154,624,834 | false | null | package fr.yodamad.svn2git.service.client
import fr.yodamad.svn2git.config.ApplicationProperties
import org.gitlab4j.api.GitLabApi
import org.gitlab4j.api.GroupApi
import org.gitlab4j.api.ProjectApi
import org.gitlab4j.api.UserApi
import org.springframework.beans.factory.config.ConfigurableBeanFactory
import org.sprin... | 19 | null | 12 | 39 | 969c298fdf2a1b6b751380b1dba5a85febc0ee2d | 1,566 | svn2git | Apache License 2.0 |
device/location/src/main/java/com/xinh/location/exception/LocationSettingsNotSatisfiedException.kt | HuynhXinh | 209,346,576 | false | null | package com.xinh.location.exception
class LocationSettingsNotSatisfiedException : RuntimeException()
| 1 | Kotlin | 5 | 19 | 6a704f65592b2bfbb2363697885b871209775b96 | 102 | mvvm-clean-architecture | The Unlicense |
app/src/main/java/com/sliebald/cula/data/database/entities/LanguageEntry.kt | erkenberg | 137,040,385 | false | {"Java": 128265, "Kotlin": 46942} | package com.sliebald.cula.data.database.entities
import androidx.room.Entity
import androidx.room.PrimaryKey
/**
* An @[Entity] Describing a foreign language that can be trained.
*
* @param language The foreign language.
* @param isActive Whether this language is the currently active language.
*/
@Entity(tableNa... | 1 | null | 1 | 1 | f00ba0b1b5adb915c45cef9b61337348c4689aeb | 507 | CuLa | Apache License 2.0 |
presentation/src/main/java/pe/andres/bairesdev/util/Prefs.kt | andres04 | 143,719,916 | false | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Proguard": 2, "Java": 18, "XML": 17, "Kotlin": 43} | package pe.andres.bairesdev.util
import android.content.Context
import android.content.SharedPreferences
import android.graphics.Color
class Prefs (context: Context) {
val PREFS_FILENAME = context.packageName +".prefs"
val BACKGROUND_COLOR = "background_color"
val prefs: SharedPreferences = context.getSha... | 1 | null | 1 | 1 | 93b5304f6804883ca27e9a8ea150cd039a7f9fa6 | 543 | bairesdev | Apache License 2.0 |
compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/kt49613.kt | JetBrains | 3,432,266 | false | null | // TARGET_BACKEND: JVM
// JVM_TARGET: 1.8
// SAM_CONVERSIONS: INDY
// FILE: kt49613.kt
interface GetStep {
fun get(): Any
}
class Outer protected constructor(val ok: Any) {
constructor(): this("xxx")
val obj = object : GetStep {
override fun get() = Step(::Outer)
}
}
fun box(): String {
... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 494 | kotlin | Apache License 2.0 |
idea/tests/testData/inspectionsLocal/liftOut/tryToReturn/onReturn.kt | JetBrains | 278,369,660 | false | null | // HIGHLIGHT: INFORMATION
fun test(): String {
try {
<caret>return "success"
} catch (e: Exception) {
throw e
}
} | 0 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 141 | intellij-kotlin | Apache License 2.0 |
nugu-agent/src/main/java/com/skt/nugu/sdk/agent/speaker/SpeakerManagerInterface.kt | nugu-developers | 214,067,023 | false | null | /**
* Copyright (c) 2019 SK Telecom Co., Ltd. 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 requir... | 5 | null | 18 | 27 | 9d90dcbb8463f7b8f98713126a93de7e291da86c | 957 | nugu-android | Apache License 2.0 |
dependencies/emojicon/src/main/kotlin/com/w6s/emoji/EmojiPagerAdapter.kt | AoEiuV020 | 421,650,297 | false | {"Java": 8618305, "Kotlin": 1733509, "JavaScript": 719597, "CSS": 277438, "HTML": 111559} | package com.w6s.emoji
import android.content.Context
import android.os.Handler
import android.os.Message
import android.view.View
import android.view.ViewGroup
import android.view.Gravity
import com.w6s.emoji.EmojiLayout.Companion.EMOJI_PER_PAGE
import com.w6s.emoji.EmojiLayout.Companion.STICKER_PER_PAGE
import androi... | 1 | null | 1 | 1 | 1c4ca5bdaea6d5230d851fb008cf2578a23b2ce5 | 8,326 | w6s_lite_android | MIT License |
plugins/kotlin/idea/tests/testData/editor/autoImport/delegationExtFunction/pkg/Util.kt | ingokegel | 72,937,917 | false | null | package pkg
import kotlin.reflect.KProperty
class A {
fun getValue() {}
}
operator fun <V> A.getValue(thisRef: V, property: KProperty<*>): Any = TODO()
| 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 158 | intellij-community | Apache License 2.0 |
app/src/main/java/net/squanchy/support/view/CardSpacingItemDecorator.kt | squanchy-dev | 72,942,055 | false | null | package net.squanchy.support.view
import android.graphics.Rect
import android.view.View
import androidx.annotation.Px
import androidx.recyclerview.widget.RecyclerView
class CardSpacingItemDecorator(
@param:Px @field:Px private val horizontalSpacing: Int,
@param:Px @field:Px private val verticalSpacing: Int
) ... | 0 | null | 45 | 298 | aa0909c327500f39fb65488baa62f7e4624837ea | 908 | squanchy-android | Apache License 2.0 |
src/main/kotlin/org/magmaoffenburg/roboviz/gui/menus/CameraMenu.kt | magmaOffenburg | 34,959,602 | false | {"Java": 640782, "Kotlin": 108851, "GLSL": 19615, "HTML": 8010, "Shell": 460, "Batchfile": 184} | package org.magmaoffenburg.roboviz.gui.menus
import org.magmaoffenburg.roboviz.etc.menuactions.CameraActions
import java.awt.event.KeyEvent
class CameraMenu : MenuBase() {
private val actions = CameraActions()
init {
initializeMenu()
}
private fun initializeMenu() {
text = "Camera"
... | 21 | Java | 17 | 52 | e660a072b3163014050a1253f8fe33c60519ffb9 | 1,089 | RoboViz | Apache License 2.0 |
library/src/main/java/org/jetbrains/anko/BuildSpanned.kt | chenfei0928 | 130,954,695 | false | {"Kotlin": 1033104, "Java": 254586} | package org.jetbrains.anko
import android.text.SpannableStringBuilder
import android.text.Spanned
/**
* @author ChenFei(<EMAIL>)
* @date 2021-05-16 16:26
*/
fun SpannableStringBuilder.append(text: CharSequence, span: Any) {
val textLength = text.length
append(text)
setSpan(span, this.length - textLeng... | 1 | Kotlin | 0 | 8 | 4ebfd3f265c436570c3e44f244f9fdf30b076bbb | 620 | Util | MIT License |
app/src/main/java/org/stepic/droid/persistence/model/DownloadProgress.kt | amilathennakoon | 157,733,135 | true | {"Java": 1669828, "Kotlin": 1526839, "CSS": 3871, "Shell": 618, "Prolog": 98} | package org.stepic.droid.persistence.model
data class DownloadProgress(
val id: Long,
val status: Status
) {
sealed class Status {
object NotCached: Status()
object Cached: Status()
object Pending: Status()
data class InProgress(val progress: Float): Status()
}
} | 0 | Java | 0 | 0 | 40c1fd410e8497c49b42aaf04ed6fd1316d8fa70 | 320 | stepik-android | Apache License 2.0 |
app/src/main/java/com/hankkin/reading/EApplication.kt | yangkongming | 170,292,594 | false | null | package com.hankkin.reading
import android.app.Application
import cn.bingoogolapple.swipebacklayout.BGASwipeBackHelper
import com.franmontiel.persistentcookiejar.PersistentCookieJar
import com.franmontiel.persistentcookiejar.cache.SetCookieCache
import com.franmontiel.persistentcookiejar.persistence.SharedPrefsCookieP... | 1 | null | 1 | 1 | abb84370bfb4fa71cce4b70d1a55d850a1b7fb11 | 2,355 | Reading-develop-1.0.0 | Apache License 2.0 |
api/src/main/kotlin/com/wnsgml972/strada/exception/AbstractStradaException.kt | Coffee-Street | 289,485,814 | false | {"Kotlin": 267923, "Shell": 2546, "Dockerfile": 174} | package com.wnsgml972.strada.exception
/**
* AbstractStradaException
* @author ledger
*/
abstract class AbstractStradaException : RuntimeException {
constructor() : super()
constructor(message: String) : super(message)
constructor(message: String, cause: Throwable?) : super(message, cause)
construc... | 2 | Kotlin | 2 | 2 | 24422867afe6c7f547a93f98083f655ecb80c0ed | 360 | strada | MIT License |
src/test/kotlin/com/vloginova/midx/impl/TrigramIndexFunctionalTests.kt | vloginova | 211,557,510 | false | null | package com.vloginova.midx.impl
import com.vloginova.midx.api.IOExceptionHandlers.ABORT
import com.vloginova.midx.api.SearchResult
import com.vloginova.midx.assertCollectionEquals
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.flow.toList
import kotlinx... | 0 | Kotlin | 0 | 1 | 8ab132f47ed9db9ad978d4213f254234de65bd69 | 8,266 | midx | MIT License |
app/src/test/java/app/airsignal/weather/database/GpsDatabaseTest.kt | tekken5953 | 611,614,821 | false | {"Kotlin": 418472, "Java": 2615} | package app.airsignal.weather.database
import android.content.Context
import androidx.room.Room
import androidx.test.filters.SmallTest
import app.airsignal.weather.db.room.database.GpsDataBase
import app.airsignal.weather.db.room.model.GpsEntity
import app.airsignal.weather.db.room.scheme.GpsScheme
import kotlinx.coro... | 0 | Kotlin | 1 | 1 | 36011d3ad2bdc9e0a7f02007de9b65557639da22 | 2,678 | AS_Cloud_App | Open Market License |
build-attribution/src/com/android/build/attribution/analyzers/BuildEventsAnalyzersProxy.kt | phpc0de | 470,555,455 | false | null | /*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | null | 1 | 1 | 79e20f027ca1d047b91aa7acd92fb71fa2968a09 | 8,812 | idea-android | Apache License 2.0 |
app/src/main/java/com/androiddevs/lerun/services/LerunMessagingService.kt | arrazyfathan | 424,272,958 | false | null | package com.androiddevs.lerun.services
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.os.Build
import android.util.Log
import androidx.core.app.NotificationCompat
import com.andro... | 0 | null | 0 | 2 | 2198fcad607caa5ad8bb622c2b8a464f742f8c56 | 2,856 | Lerun | The Unlicense |
app/src/main/java/com/qingmei2/sample/ui/main/home/HomeViewModel.kt | Zhayhp | 174,517,117 | true | {"Kotlin": 125939} | package com.qingmei2.sample.ui.main.home
import androidx.fragment.app.Fragment
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.ViewModelProviders
import androidx.paging.PagedList
import arrow.core.Option
import arrow.co... | 0 | Kotlin | 0 | 0 | 4ab1b939032b743134f40b48304225c1ccb74cbd | 4,783 | MVVM-Rhine | Apache License 2.0 |
compiler/test/data/javascript/function/function.d.kt | Kotlin | 159,510,660 | false | null | @file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS")
import kotlin.js.*
import kotlin.js.Json
import org.khronos.webgl.*
import org.w3c.dom.*
import org.w3c.dom.events.*
import org.w3c.dom.parsing.*
import org.w3c.dom.svg.*
import org.w3c.d... | 244 | null | 42 | 535 | d50b9be913ce8a2332b8e97fd518f1ec1ad7f69e | 727 | dukat | Apache License 2.0 |
app/src/main/java/com/nicos/pokedex_compose/PokemonApplication.kt | NicosNicolaou16 | 789,549,311 | false | {"Kotlin": 55812} | package com.nicos.pokedex_compose
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class PokemonApplication : Application() {
} | 0 | Kotlin | 0 | 8 | 2c1754c1c593899ad6394f1dd9ce3400379cda60 | 169 | Pokedex_Compose | Apache License 2.0 |
app/src/test/java/com/mac/shorten/cache/LinkDaoFake.kt | mhmdabouchaker | 514,562,395 | false | null | package com.mac.shorten.cache
import com.mac.shorten.cache.model.LinkEntity
class LinkDaoFake(
private val appDatabaseFake: AppDatabaseFake
) : LinkDao {
override suspend fun insertLink(link: LinkEntity) {
appDatabaseFake.links.add(link)
}
override suspend fun getAllLinks(): List<LinkEntity> ... | 0 | Kotlin | 0 | 0 | e809ac7fb0c1c287cfdd182951b29b0bac1779ff | 484 | Shorten | Apache License 2.0 |
WPRK-Android/src/main/java/com/muse/wprk/presentation/auth/Login.kt | MwaiBanda | 455,768,879 | false | {"Kotlin": 187628, "Swift": 121023, "Ruby": 2326} | package com.muse.wprk.presentation.auth
import androidx.compose.ui.graphics.Color
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.Card
import a... | 0 | Kotlin | 8 | 46 | 1169628c70cca58408f5561293a7d09922ddfb21 | 3,922 | WPRK-MultiPlatform | MIT License |
app/src/main/java/com/byjusexamprep/newapp/models/Category.kt | prashantsinghpaliwal | 590,762,438 | false | null | package com.byjusexamprep.newapp.models
data class Category(
val category_id: String,
val count: String,
val depth: String,
val include_in_menu: String,
val lft: String,
val name: String,
val parent_id: String,
val position: String,
val rgt: String
) | 0 | Kotlin | 0 | 0 | 623b23ede8323eb2ed984cd3781288afe26b481a | 287 | nykaafashion | The Unlicense |
meistercharts-demos/meistercharts-demos/src/commonMain/kotlin/com/meistercharts/demo/descriptors/MultiLineText2DemoDescriptor.kt | Neckar-IT | 599,079,962 | false | null | /**
* Copyright 2023 Neckar IT GmbH, Mössingen, Germany
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | 0 | Kotlin | 0 | 4 | af73f0e09e3e7ac9437240e19974d0b1ebc2f93c | 4,203 | meistercharts | Apache License 2.0 |
kotlin-quick-start-guide/kotlin-basic/kotlin-control-flow-app/src/main/kotlin/App.kt | phamvmhoang | 154,031,875 | false | null | fun main(args: Array<String>) {
//ifElseExp(20)
//ifElseExp(8)
//checkNumebrs(3)
//println(checkNumbersExhaustive(10))
//whenAny("hoang")
//whenAny(12)
//whenAny(1.1)
whenWithoutArgument(10,12)
whenWithoutArgument(1,10)
//whenWithoutArgument(10,12)
}
fun ifElseExp(num: Int){
... | 0 | Kotlin | 0 | 0 | 7e6196768a6a62827110b868070db9e120068b8e | 1,113 | kotlin | MIT License |
solve-concurrent/src/commonMain/kotlin/it/unibo/tuprolog/solve/concurrent/ConcurrentSolverImpl.kt | tuProlog | 230,784,338 | false | null | package it.unibo.tuprolog.solve.concurrent
import it.unibo.tuprolog.core.Struct
import it.unibo.tuprolog.core.operators.OperatorSet
import it.unibo.tuprolog.solve.Solution
import it.unibo.tuprolog.solve.SolveOptions
import it.unibo.tuprolog.solve.channel.InputChannel
import it.unibo.tuprolog.solve.channel.InputStore
i... | 92 | null | 8 | 93 | 3223ffc302e5da0efe2b254045fa1b6a1a122519 | 7,132 | 2p-kt | Apache License 2.0 |
ShadhinMusicLibrary/src/main/java/com/myrobi/shadhinmusiclibrary/data/model/FeaturedPodcastDataModel.kt | shadhin-music | 589,150,241 | false | null | package com.myrobi.shadhinmusiclibrary.data.model
import androidx.annotation.Keep
@Keep
data class FeaturedPodcastDataModel(
val Data: List<FeaturedPodcastDetailsModel>,
val Design: Any,
val PatchName: String,
var PatchType: String
) | 0 | Kotlin | 0 | 0 | 99e11cc3a68fd68607401fca71e32003b638025c | 251 | MyRobiShadhinSDK | MIT License |
ui-programs/src/androidTest/java/com/gerosprime/gylog/ui/programs/TestRunner.kt | gerosprime | 213,372,637 | false | {"Gradle": 12, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 11, "Batchfile": 1, "Markdown": 1, "INI": 9, "Proguard": 10, "Kotlin": 326, "XML": 133, "Java": 11} | package com.gerosprime.gylog.ui.programs
import android.app.Application
import android.content.Context
import androidx.test.runner.AndroidJUnitRunner
class TestRunner : AndroidJUnitRunner() {
override fun newApplication(
cl: ClassLoader?,
className: String?,
context: Context?
): Applic... | 0 | Kotlin | 0 | 1 | a775377e6a8bdb81e405eb1b04ca5fd14f5dd9c6 | 428 | gylog-android-app | Apache License 2.0 |
formula-android/src/main/java/com/instacart/formula/android/internal/FragmentLifecycle.kt | instacart | 171,923,573 | false | null | package com.instacart.formula.android.internal
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentInspector
import androidx.fragment.app.FragmentManager
import com.instacart.formula.android.FragmentId
import com.instacart.formula.android.FragmentKey
import com.instacart.formula.android.BaseForm... | 10 | Kotlin | 14 | 145 | 7a7140f11fab9e07541b0e36d70a76c8340bcfee | 1,763 | formula | BSD 3-Clause Clear License |
app/src/main/java/com/github/kieuthang/login_chat/data/common/SharePrefUtils.kt | KieuThang | 155,848,776 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "XML": 31, "Kotlin": 51, "Java": 4} | package com.github.kieuthang.login_chat.data.common
import android.content.Context
import org.json.JSONArray
import org.json.JSONException
import java.util.*
object SharePrefUtils {
fun putBooleanValue(context: Context, preference: String, key: String, value: Boolean) {
val pref = context.getSharedPrefer... | 1 | null | 1 | 1 | 6285c0a85430f1c2133c531f5ae7b0b106fc2ec6 | 5,015 | Socket.Chat_Android | MIT License |
analysis/low-level-api-fir/testData/lazyResolve/localFunctionInsideStringTemplate.kt | JetBrains | 3,432,266 | false | null | package one
open class ClassWithParameter(s: String)
class TopLevelClass : ClassWithParameter("${
fu<caret>n(): String {
return ""
}()
}") | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 156 | kotlin | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/Capsules.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
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
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,704 | icons | MIT License |
app/src/main/java/com/androweed/muslimsimple/CompassView.kt | kri1107 | 596,114,224 | false | null | /*
package com.androweed.muslimsimple
import android.content.Context
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.util.AttributeSet
import android.view.SurfaceHolder
import android.view.SurfaceView
class CompassView (context: Context?, attrs: AttributeSet?)... | 0 | Kotlin | 0 | 0 | 200c29b5b17f903383223acae325e9f507216528 | 1,613 | MuslimSimple | MIT License |
app/src/main/java/com/androweed/muslimsimple/CompassView.kt | kri1107 | 596,114,224 | false | null | /*
package com.androweed.muslimsimple
import android.content.Context
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.util.AttributeSet
import android.view.SurfaceHolder
import android.view.SurfaceView
class CompassView (context: Context?, attrs: AttributeSet?)... | 0 | Kotlin | 0 | 0 | 200c29b5b17f903383223acae325e9f507216528 | 1,613 | MuslimSimple | MIT License |
extension/registry/apicurio-rest/src/main/kotlin/client/RegistryClientExt.kt | holixon | 354,810,047 | false | null | package io.holixon.avro.adapter.registry.apicurio.client
import io.apicurio.registry.rest.client.RegistryClient
import io.apicurio.registry.rest.v2.beans.SearchedArtifact
import io.apicurio.registry.rest.v2.beans.SortBy
import io.apicurio.registry.rest.v2.beans.SortOrder
import io.apicurio.registry.types.ArtifactType
... | 7 | null | 1 | 8 | c3f14d4bab63f66484c5aa093f469e93095cf230 | 1,676 | avro-registry-adapter | Apache License 2.0 |
app/src/main/java/com/example/parktown_manufacturers_ppe_tracking_application/Employee/EmployeeDetails/Infringements/InfringementsAdapter.kt | PPE-ProTrack | 712,648,995 | false | {"Kotlin": 152364} | package com.example.parktown_manufacturers_ppe_tracking_application.Employee.EmployeeDetails.Infringements
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.example.parktown_manufacturers_... | 0 | Kotlin | 0 | 0 | 077ef43c906ff8c2670f27dd7f27c44d9d2e4cb3 | 1,416 | parktown_manufacturers_ppe_tracking_application | MIT License |
domain/teamplay-database-jpa-domain/src/main/kotlin/com/teamplay/domain/database/jpa/match/repository/spec/MatchSpecs.kt | YAPP-16th | 235,351,938 | false | {"Gradle Kotlin DSL": 10, "Gradle": 1, "Shell": 2, "Ignore List": 1, "Batchfile": 1, "Text": 1, "Markdown": 5, "XML": 8, "Kotlin": 185, "Java": 4, "Java Properties": 1, "YAML": 6} | package com.teamplay.domain.database.jpa.match.repository.spec
import com.teamplay.core.function.date.DateUtil
import com.teamplay.domain.database.jpa.spec.PagingModel
import com.teamplay.domain.database.match.entity.Match
import com.teamplay.domain.database.match.entity.MatchStyle
import org.springframework.data.jpa.... | 2 | Kotlin | 0 | 1 | a3209b28ea6ca96cb9a81a0888793f9b0f4d02d2 | 1,650 | Team_Android_2_Backend | MIT License |
app/src/main/java/io/aiico/tnews/ui/MainActivity.kt | isalig | 256,065,262 | false | null | package io.aiico.tnews.ui
import android.os.Bundle
import android.view.Window
import androidx.appcompat.app.AppCompatActivity
import io.aiico.news.shared.di.DependenciesProvider
import io.aiico.tnews.ui.navigation.NewsNavigator
import io.aiico.tnews.ui.navigation.NewsRouter
class MainActivity : AppCompatActivity(), D... | 0 | Kotlin | 0 | 1 | 86b55b2b6ebe0367a52a373f64439769ac46d346 | 890 | tinkoff-news | Apache License 2.0 |
core/src/main/kotlin/org/virtuslab/bazelsteward/core/PathPattern.kt | VirtusLab | 567,694,906 | false | null | package org.virtuslab.bazelsteward.core
import java.nio.file.FileSystems
import java.nio.file.PathMatcher
sealed interface PathPattern {
sealed class JavaPathMatcher(pattern: String, prefix: String) : PathPattern {
val matcher: PathMatcher = FileSystems.getDefault().getPathMatcher(prefix + pattern)
}
val v... | 35 | Kotlin | 3 | 9 | f0764aacc0b13b1296eb8cc6cd062546ed1914ff | 1,287 | bazel-steward | Apache License 2.0 |
app/shared/auth/fake/src/commonMain/kotlin/build/wallet/auth/AccountAuthTokensMock.kt | proto-at-block | 761,306,853 | false | {"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.auth
val AccountAuthTokensMock =
AccountAuthTokens(
accessToken = AccessToken("access-token"),
refreshToken = RefreshToken("refresh-token")
)
| 0 | C | 10 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 176 | bitkey | MIT License |
FetLifeKotlin/app/src/main/java/com/bitlove/fetlife/model/dataobject/base/Message.kt | muskanmahajan37 | 387,566,305 | false | {"Markdown": 1, "Gradle": 8, "Ignore List": 6, "Java Properties": 4, "Shell": 2, "Batchfile": 2, "XML": 157, "Proguard": 4, "Kotlin": 72, "JSON": 4, "Java": 254, "JavaScript": 1} | package com.bitlove.fetlife.model.dataobject.base
import com.bitlove.fetlife.model.dataobject.DataObject
interface Message : DataObject {
} | 1 | null | 1 | 1 | 640ed3235a881a29fd41fd161a46b0ebd253ce97 | 141 | android-2 | MIT License |
app/src/main/java/com/bimalghara/mp3downloader/domain/repository/AudioRepositorySource.kt | bimalgharagithubprofile | 656,034,656 | false | null | package com.bimalghara.mp3downloader.domain.repository
import android.content.Context
import android.net.Uri
/**
* Created by BimalGhara
*/
interface AudioRepositorySource {
suspend fun requestSaveAudio(appContext: Context, audioPath: String, destinationUri: Uri, callback: (Int) -> Unit)
} | 0 | Kotlin | 0 | 0 | e1e9308e28938e6fb4b0f1f6327538cff3776dbf | 303 | Android-YouTube-Video-Downloader-Convert-mp3-using-ytdlp-FFmpeg | Apache License 2.0 |
app/src/main/java/com/to/kotlinmessenger/activity/message/dialog/UserSettingsChangeListener.kt | tetsuyaokuyama0312 | 364,764,690 | false | null | package com.to.kotlinmessenger.activity.message.dialog
import android.os.Parcelable
import com.to.kotlinmessenger.model.User
import kotlinx.android.parcel.Parcelize
import java.util.*
/**
* ユーザー設定変更イベントに対応して呼び出されるコールバックリスナ。
*/
// 本来はインタフェースにしたいところだが、Parcelableにするためopen classにしている
@Parcelize
open class UserSettingsC... | 0 | Kotlin | 1 | 0 | 8b144501fc42eba6d1faed5ca648e9e592118003 | 1,498 | kotlin-messenger | MIT License |
core/src/main/java/com/kylix/core/data/source/remote/network/ApiService.kt | KylixEza | 338,973,481 | false | null | package com.ferdian.core.data.source.remote.network
import com.ferdian.core.data.source.remote.response.ListUserResponse
import com.ferdian.core.data.source.remote.response.UserResponse
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query
interface ApiService {
@GET("search/users")
... | 0 | Kotlin | 1 | 6 | 90f9ae1d297d57e240ea49af58abb1a2ee8f99c6 | 805 | Submission-MADE2-Dicoding | Apache License 2.0 |
library/jdbc/src/main/kotlin/io/github/ustudiocompany/uframework/jdbc/sql/internal/TypedParameterResolver.kt | uStudioCompany | 745,407,841 | false | {"Kotlin": 291784} | package io.github.ustudiocompany.uframework.jdbc.sql.internal
import io.github.ustudiocompany.uframework.jdbc.sql.SqlType
import io.github.ustudiocompany.uframework.jdbc.sql.TypedParameter
internal class TypedParameterResolver private constructor(
private val items: List<Pair<String, TypedParameter>>
) {
fun... | 0 | Kotlin | 0 | 0 | d1425377bc26e07e864b3f3f25f8ed0b66b11c80 | 814 | u-framework | Apache License 2.0 |
features/finances/impl/src/test/kotlin/br/com/mob1st/features/finances/impl/ui/builder/BudgetBuilderStepUiStateTest.kt | mob1st | 526,655,668 | false | {"Kotlin": 589975, "Shell": 1558} | package br.com.mob1st.features.finances.impl.ui.builder
import br.com.mob1st.features.finances.impl.R
import br.com.mob1st.features.finances.impl.domain.entities.BudgetBuilder
import br.com.mob1st.features.finances.impl.domain.entities.BuilderNextAction
import br.com.mob1st.features.finances.impl.domain.entities.Fixed... | 11 | Kotlin | 0 | 3 | ea57a781dd1c7e336213ed9ca76146afbb445e9d | 4,363 | bet-app-android | Apache License 2.0 |
base/build-system/integration-test/application/src/test/java/com/android/build/gradle/integration/resources/NamespacedFeaturesTest.kt | qiangxu1996 | 301,210,525 | false | {"Java": 38854631, "Kotlin": 10438678, "C++": 1701601, "HTML": 795500, "FreeMarker": 695102, "Starlark": 542991, "C": 148853, "RenderScript": 58853, "Shell": 51803, "CSS": 36591, "Python": 32879, "XSLT": 23593, "Batchfile": 8747, "Dockerfile": 7341, "Emacs Lisp": 4737, "Makefile": 4067, "JavaScript": 3488, "CMake": 329... | /*
* 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... | 1 | Java | 1 | 1 | 3411c5436d0d34e6e2b84cbf0e9395ac8c55c9d4 | 23,317 | vmtrace | Apache License 2.0 |
src/main/kotlin/io/github/guttenbase/schema/comparison/SchemaCompatibilityIssue.kt | guttenbase | 644,774,036 | false | null | package io.github.guttenbase.schema.comparison
abstract class SchemaCompatibilityIssue(val message: String) {
abstract val compatibilityIssueType: SchemaCompatibilityIssueType
override fun toString() = "$compatibilityIssueType:$message"
}
| 0 | Kotlin | 0 | 0 | 2fa667d0682f9eb118c513db73b2e0e0577b318c | 245 | guttenbase | Apache License 2.0 |
src/main/kotlin/org/gmd/service/alg/AdderMemberRatingAlgorithm.kt | akustik | 184,784,065 | false | null | package org.gmd.service.alg
import org.gmd.model.Evolution
import org.gmd.model.Game
import org.gmd.model.Score
import org.springframework.stereotype.Component
@Component
open class AdderMemberRatingAlgorithm : MemberRatingAlgorithm {
override fun rate(games: List<Game>): List<Score> {
val ratedPlayers =... | 8 | Kotlin | 3 | 4 | 07184b0ea0889b22c78b46f710818187d36b1af7 | 2,056 | topscores | MIT License |
HomeworkLocalStorage/app/src/main/java/net/gostartups/myapplication/AppDatabase.kt | kuzmanovb | 556,250,519 | false | null | package net.gostartups.myapplication
import androidx.room.Database
import androidx.room.RoomDatabase
@Database(entities = [CountryEntity::class], version = 1)
abstract class AppDatabase : RoomDatabase() {
abstract fun countryDao(): CountryDao
} | 0 | Kotlin | 0 | 0 | 5fd54e8e92fda5afd6abd5b91be28224259600e6 | 252 | Android_Development_With_Kotlin | MIT License |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/msk/EncryptionInTransitPropertyDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.msk
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.msk.CfnCluster
@Generated
public fun buildEncryptionInTransitProperty(initializer: @AwsCdkDsl
CfnCluster.EncryptionInTransitProper... | 1 | Kotlin | 0 | 0 | b22e397ff37c5fce365a5430790e5d83f0dd5a64 | 469 | aws-cdk-kt | Apache License 2.0 |
core/src/main/kotlin/app/dapk/st/core/JobBag.kt | ouchadam | 434,718,760 | false | null | package app.dapk.engine.core
import kotlinx.coroutines.Job
import kotlin.reflect.KClass
class JobBag {
private val jobs = mutableMapOf<String, Job>()
fun replace(key: String, job: Job) {
jobs[key]?.cancel()
jobs[key] = job
}
fun replace(key: KClass<*>, job: Job) {
jobs[key.j... | 36 | null | 4 | 139 | 5a391676d0d482596fe5d270798c2b361dba67e7 | 639 | small-talk | Apache License 2.0 |
project/src/main/kotlin/cga/exercise/components/geometry/Renderable.kt | JannikAlx | 389,366,062 | true | {"Kotlin": 171322, "GLSL": 16707} | package cga.exercise.components.geometry
import cga.exercise.components.shader.ShaderProgram
import org.joml.Matrix4f
import org.joml.Vector3f
class Renderable(
val meshes: MutableList<Mesh>,
modelMatrix: Matrix4f = Matrix4f(),
parent: Transformable? = null,
var emitColor: Vector3f = Vector3f(1f),
... | 0 | Kotlin | 0 | 0 | 36b6fe8d014673cfab60b54722b150594235b3a1 | 1,033 | Cayuga | MIT License |
android/navigation_module_compose/src/main/java/com/example/sdk/sample/SdkConfigurationProvider.kt | citymapper | 346,046,671 | false | null | package com.example.sdk.sample
import android.content.Context
import com.citymapper.sdk.configuration.CitymapperSdkConfiguration
@Suppress("unused")
class SdkConfigurationProvider : CitymapperSdkConfiguration.Provider {
override fun provideCitymapperSdkConfiguration(context: Context): CitymapperSdkConfiguration {
... | 1 | null | 2 | 4 | 87d37d87de5ef26c21779f4c5d2856a3413c71cb | 417 | sdk-samples | MIT License |
app/src/main/java/com/newgamesoftware/moviesappdemo/util/Device.kt | nejatboy | 426,532,203 | false | null | package com.newgamesoftware.moviesappdemo.util
import android.content.res.Resources
object Device {
private val displayMetrics = Resources.getSystem().displayMetrics
val width get() = displayMetrics.widthPixels
val height get() = displayMetrics.heightPixels
} | 0 | Kotlin | 0 | 2 | f1f4a0f21834b1f32d914cd4a0e089d0a587a46e | 274 | MoviesDemo-Android | MIT License |
src/en/soushiyofamiliar/src/eu/kanade/tachiyomi/extension/en/soushiyofamiliar/SoushiyoFamiliar.kt | tachiyomiorg | 79,658,844 | false | null | package eu.kanade.tachiyomi.extension.en.soushiyofamiliar
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.source.model.Page
import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.source.model.SManga
import eu.kanade.t... | 596 | null | 963 | 2,909 | ba4edb60ffbbfe0bcc01f1604920e6be9bca99a4 | 6,150 | tachiyomi-extensions | Apache License 2.0 |
src/main/kotlin/com/github/codingchili/plugins/TestPluginJoin.kt | codingchili | 217,731,038 | false | null | package com.github.codingchili.plugins
import com.github.codingchili.model.TestObject
import com.github.codingchili.model.ContextImpl
import com.github.codingchili.process.ProcessPlugin
/**
* @author <NAME>
*
* Join node, it doesn't have any real effect other than converging the flow. It's not a true
* join as it... | 0 | Kotlin | 0 | 0 | e81dabaabc3f74f960c361cb86e43591fac4668f | 698 | jet-pluginifer | MIT License |
src/main/kotlin/com/intershop/gradle/icm/docker/extension/image/build/ProjectConfiguration.kt | IntershopCommunicationsAG | 263,118,743 | false | {"Kotlin": 378229, "Groovy": 64851, "Shell": 8421, "Dockerfile": 3045, "Batchfile": 357} | /*
* Copyright 2020 Intershop Communications AG.
*
* 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... | 1 | Kotlin | 0 | 3 | 93c01679b6a2005d0ac70141f7e9d1e6ec6b54a9 | 3,839 | icm-docker-plugin | Apache License 2.0 |
app/src/main/kotlin/nl/eduid/screens/pinsetup/PinContent.kt | Tiqr | 425,809,894 | false | {"Kotlin": 621578, "Shell": 2631} | package nl.eduid.screens.pinsetup
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.found... | 2 | Kotlin | 2 | 3 | 78e1515ff65e138a895aa9eddf4ddfc7b06cf1c3 | 3,116 | eduid-app-android | Apache License 2.0 |
app/src/main/java/com/glaucus/kaggleme/network/LocalCookieJar.kt | ctkqiang | 213,147,165 | false | {"Kotlin": 30734} | package com.glaucus.kaggleme.network
import okhttp3.Cookie
import okhttp3.CookieJar
import okhttp3.HttpUrl
/**
* Created by glaucus on 2017/12/10.
*/
class LocalCookieJar : CookieJar {
private var cookies: MutableList<Cookie>? = null
override fun saveFromResponse(url: HttpUrl?, cookies: MutableList<Cookie>?... | 0 | null | 0 | 0 | e6d7c17bf5873258fdf699b11f50f0f92b5bb7b5 | 479 | KaggleMe | Apache License 2.0 |
app/src/main/java/com/rumeysaozer/rxjavasingle/model/NationItem.kt | rumeysaozer0 | 505,778,944 | false | {"Kotlin": 8433} | package com.rumeysaozer.rxjavasingle.model
import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parcelize
@Parcelize
data class NationItem(
@SerializedName("capital")
val capital: String,
@SerializedName("flag")
val flag: String,
@Serialized... | 0 | Kotlin | 0 | 0 | b3b342f4cb9d76f95f4a5d701883177768d6d359 | 598 | RetrofitRxJavaSingle | MIT License |
coolq-bot-frame/src/main/java/org/banchoobot/frame/qq/Bot.kt | fressive | 123,784,256 | false | null | package org.banchoobot.frame.qq
import org.banchoobot.frame.qq.configs.BotConfig
import org.banchoobot.frame.qq.deserializer.events.Event
import org.banchoobot.frame.qq.deserializer.events.Message
import org.banchoobot.frame.qq.handlers.OnPost
import org.banchoobot.server.HttpServer
/**
* Bot
*
* @param config bot... | 1 | Kotlin | 1 | 3 | 0dff63ee8d9b419680bc76c34521adad3ba7e391 | 910 | BanchooBot | Do What The F*ck You Want To Public License |
platform/src/main/java/io/github/plenglin/goggle/activities/AppListingActivity.kt | ifd3f | 141,966,781 | false | {"Kotlin": 121019} | package io.github.plenglin.goggle.activities
import io.github.plenglin.goggle.util.ScrollList
import io.github.plenglin.goggle.util.activity.Activity
import io.github.plenglin.goggle.util.app.GoggleApp
import io.github.plenglin.goggle.util.input.ButtonInputEvent
import io.github.plenglin.goggle.util.input.EncoderInput... | 0 | Kotlin | 0 | 0 | 7d6c6891b44b11770078a9437ea49fe41353b071 | 1,712 | Goggle-Epoxy | Apache License 2.0 |
app/src/main/java/org/p2p/wallet/send/ui/search/SearchContract.kt | p2p-org | 306,035,988 | false | null | package org.p2p.wallet.send.ui.search
import androidx.annotation.StringRes
import org.p2p.wallet.common.mvp.MvpPresenter
import org.p2p.wallet.common.mvp.MvpView
import org.p2p.wallet.send.model.SearchResult
@Deprecated("Will be removed, old design flow")
interface SearchContract {
interface View : MvpView {
... | 9 | Kotlin | 14 | 23 | 2badf683d824c57654b12ea0c023f96e1a5d0c19 | 753 | key-app-android | MIT License |
cesium-kotlin/src/main/kotlin/cesium/KeyboardEventModifier.kt | karakum-team | 393,199,102 | false | null | // Automatically generated - do not modify!
@file:JsModule("cesium")
package cesium
/**
* This enumerated type is for representing keyboard modifiers. These are keys
* that are held down in addition to other event types.
* @see <a href="https://cesium.com/docs/cesiumjs-ref-doc/global.html#KeyboardEventModifier">O... | 0 | Kotlin | 5 | 18 | e71c43c0b93113ea0394025c3f40268cb7c66ca9 | 631 | types-kotlin | Apache License 2.0 |
shared/src/test/java/com/daya/shared/taha/data/topic/TopicRepositoryTest.kt | daya-pangestu | 308,078,972 | false | {"Kotlin": 140694} | package com.daya.shared.taha.data.topic
import com.daya.shared.taha.testutil.Dummy
import com.google.common.truth.Truth.assertThat
import kotlinx.coroutines.runBlocking
import org.junit.Before
import org.junit.Test
import org.mockito.kotlin.mock
import org.mockito.kotlin.verify
import org.mockito.kotlin.whenever
cla... | 0 | Kotlin | 0 | 1 | a52e7e6f0c5343e491db3a1551ac183ac9f72ed8 | 1,873 | push-notif | MIT License |
tarka-ui/src/main/java/com/tarkalabs/tarkaui/extentions/ModifierExt.kt | tarkalabs | 624,304,689 | false | null | package com.tarkalabs.uicomponents.extentions
import androidx.compose.foundation.clickable
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.heightIn
import androidx.compose.foundation.layout.widthIn
import androidx.compose.foundation.selection.toggleable... | 5 | null | 1 | 6 | 2880eee338c9ab2d1ecfe3e945beaaa5c686f871 | 2,095 | tarka-ui-kit-android | MIT License |
plugins/package-search/src/com/jetbrains/packagesearch/intellij/plugin/ui/toolwindow/panels/management/left/PackagesSmartSearchField.kt | mimi89999 | 320,182,339 | false | null | package com.jetbrains.packagesearch.intellij.plugin.ui.toolwindow.panels.management.left
import com.intellij.openapi.application.ApplicationManager
import com.intellij.ui.SearchTextField
import com.intellij.util.ui.JBUI
import com.jetbrains.packagesearch.intellij.plugin.PackageSearchBundle
import com.jetbrains.package... | 1 | null | 1 | 1 | a00c61d009b376bdf62a2859dd757c0766894a28 | 2,858 | intellij-community | Apache License 2.0 |
feature/feed/src/main/kotlin/com/yerastov/assignment/pokedex/feature/feed/navigation/PokemonFeedNavigation.kt | alterpie | 592,035,814 | false | null | package com.yerastov.assignment.pokedex.feature.feed.navigation
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.ui.platform.LocalContext
import androidx.lifecycle.viewmodel.compose.viewModel
import androidx.navigation.NavGraphBuilder
import androidx.navig... | 0 | Kotlin | 0 | 0 | f6bb6b082eb8311c12b860b65a33cac54f19c8e9 | 1,483 | Pokedex | Apache License 2.0 |
app/src/main/java/com/gucodero/biometric_compose/MainActivity.kt | gucodero | 508,904,096 | false | {"Kotlin": 23398} | package com.gucodero.biometric_compose
import android.os.Bundle
import android.widget.Toast
import androidx.activity.compose.setContent
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material.Button
import androidx.compose.material.MaterialTheme
import... | 0 | Kotlin | 1 | 6 | 885795b8151e396ec4828d2c8a64b22736743b4d | 8,108 | biometric-compose | The Unlicense |
app/src/main/java/github/sachin2dehury/nitrresources/adapter/ListAdapter.kt | sachin2dehury | 296,853,144 | false | null | package github.sachin2dehury.nitrresources.adapter
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Filter
import android.widget.Filterable
import androidx.fragment.app.FragmentManager
import androidx.recyclerview.wid... | 0 | Kotlin | 0 | 1 | 91029b96c273c534469ce133ae2c32114cc36437 | 3,326 | NITR_Resources | Apache License 2.0 |
src/main/kotlin/com/github/mmauro94/media_merger/group/show/info/EpisodeInfo.kt | MMauro94 | 177,452,540 | false | {"Kotlin": 218767, "Dockerfile": 357} | package com.github.mmauro94.media_merger.group.show.info
/**
* Info for an episode
*/
data class EpisodeInfo (
val show : ShowInfo,
val seasonNumber : Int,
val episodeNumber : Int,
val name : String?
) | 0 | Kotlin | 0 | 0 | 40a1d363e2260a41bfb6cb77e4c07f49b8cccc89 | 220 | media-merger | MIT License |
SuperTool/app/src/main/java/com/marzazsoft/supertool/MainActivity.kt | MarZazSoft | 816,401,303 | false | {"Kotlin": 5654} | package com.marzazsoft.supertool
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.mate... | 0 | Kotlin | 0 | 0 | d17db8836c81c9a7d297a78741fd5cd053eebec5 | 1,452 | SuperTool | Apache License 2.0 |
src/jvmMain/kotlin/maryk/rocksdb/ReadOptions.kt | webnah | 195,759,908 | true | {"Kotlin": 707302} | package maryk.rocksdb
import org.rocksdb.ReadOptions as RDBReadOptions
actual typealias ReadOptions = RDBReadOptions
| 0 | Kotlin | 0 | 0 | 92ec1677df1646d817abfd434929d27d430ec319 | 119 | rocksdb | Apache License 2.0 |
app/src/main/kotlin/com/konkuk/boost/data/model/db/AppDatabase.kt | sys09270883 | 323,874,439 | false | null | package com.konkuk.boost.data.model.db
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import com.konkuk.boost.data.model.db.dept.DeptTransferDao
import com.konkuk.boost.data.model.db.dept.DeptTransferEntity
import com.konkuk.boost.data.model.db.... | 0 | Kotlin | 1 | 19 | 266d8db5f42a3d1cd897eb421450777ac9e18276 | 2,367 | ku-boost-android | MIT License |
src/main/kotlin/g2101_2200/s2176_count_equal_and_divisible_pairs_in_an_array/Solution.kt | javadev | 190,711,550 | false | {"Kotlin": 4909193, "TypeScript": 50446, "Python": 3646, "Shell": 994} | package g2101_2200.s2176_count_equal_and_divisible_pairs_in_an_array
// #Easy #Array #2023_06_26_Time_179_ms_(69.23%)_Space_35.2_MB_(100.00%)
class Solution {
fun countPairs(nums: IntArray, k: Int): Int {
var ans = 0
for (i in nums.indices) {
for (j in i + 1 until nums.size) {
... | 0 | Kotlin | 20 | 43 | 62708bc4d70ca2bfb6942e4bbfb4c64641e598e8 | 467 | LeetCode-in-Kotlin | MIT License |
feature-location/src/main/java/de/niklasbednarczyk/nbweather/feature/location/screens/alerts/models/LocationAlertExpandableItem.kt | NiklasBednarczyk | 529,683,941 | false | null | package de.niklasbednarczyk.nbweather.feature.location.screens.alerts.models
import de.niklasbednarczyk.nbweather.core.common.string.NBString
sealed interface LocationAlertExpandableItem {
data class Description(
val text: NBString?
) : LocationAlertExpandableItem
data class Sender(
val ... | 22 | Kotlin | 0 | 0 | b9894a6739d699799aa2ab49f3d9218a97cfb7bc | 466 | NBWeather | MIT License |
plugin-unity-common/src/main/kotlin/jetbrains/buildServer/unity/Verbosity.kt | JetBrains | 159,985,216 | false | {"Kotlin": 255626, "ANTLR": 53548, "Java": 28778, "C#": 4090, "Shell": 2924, "Batchfile": 1180} |
package jetbrains.buildServer.unity
enum class Verbosity(val id: String, val description: String) {
Minimal("minimal", "Minimal"),
Normal("normal", "Normal");
companion object {
fun tryParse(id: String): Verbosity? {
return Verbosity.values().singleOrNull { it.id.equals(id, true) }
... | 41 | Kotlin | 39 | 80 | cbcd38a34aa45c0d10ffd0f722776cb405ebdb08 | 336 | teamcity-unity-plugin | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/filled/SquareChevronsUp.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.tabler.tabler.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.S... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,218 | compose-icon-collections | MIT License |
feature/main/src/main/kotlin/com/masselis/tpmsadvanced/feature/main/interfaces/viewmodel/impl/BindSensorButtonViewModelImpl.kt | VincentMasselis | 501,773,706 | false | {"Kotlin": 603981} | package com.masselis.tpmsadvanced.feature.main.interfaces.viewmodel.impl
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.masselis.tpmsadvanced.core.ui.getMutableStateFlow
import com.masselis.tpmsadvanced.data.vehicle.model.Vehicle
impor... | 8 | Kotlin | 3 | 9 | 27a1e9ca7317fce45b3a8a15855fb86493214fac | 2,933 | TPMS-advanced | Apache License 2.0 |
bitkointlin/src/main/kotlin/se/simbio/bitkointlin/Bitkointlin.kt | ademar111190 | 51,411,720 | false | null | package se.simbio.bitkointlin
import se.simbio.bitkointlin.http.HttpClient
import se.simbio.bitkointlin.model.Info
import se.simbio.bitkointlin.model.fromJson
class Bitkointlin(val user: String,
val password: String,
val httpAddress: String,
val httpClient: HttpCl... | 1 | Kotlin | 1 | 2 | cd73e8aab7f62cf00b1043c7f5ed62cb1094fae2 | 1,413 | bitkointlin | MIT License |
lib/examples/src/jsMain/kotlin/zakadabar/lib/examples/frontend/toast/ToastCustomExample.kt | spxbhuhb | 290,390,793 | false | null | /*
* Copyright © 2020-2021, <NAME> and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package zakadabar.lib.examples.frontend.toast
import org.w3c.dom.HTMLElement
import zakadabar.core.browser.ZkElement
import zakadabar.core.browser.button.buttonSecondary
import zakadabar.core.browse... | 3 | null | 3 | 24 | 61ac92ff04eb53bff5b9a9b2649bd4866f469942 | 2,153 | zakadabar-stack | Apache License 2.0 |
app/src/test/java/dev/baseio/itunescomposesample/ITunesScreenVMShould.kt | oianmol | 510,219,766 | false | {"Kotlin": 49262} | package dev.baseio.itunescomposesample
import app.cash.turbine.test
import dev.baseio.itunescomposesample.ui.screens.ITunesScreenVM
import dev.baseio.itunesdomain.ITunesRepository
import dev.baseio.itunesdomain.NetworkInfoProvider
import dev.baseio.itunesdomain.exceptions.NoNetworkException
import dev.baseio.itunesdom... | 0 | Kotlin | 0 | 4 | 953f89ed42397333d604d2f14dc26881925922be | 4,480 | iTunesCompose | Apache License 2.0 |
app/src/main/java/com/elementary/tasks/navigation/settings/BaseCalendarFragment.kt | Animesh-Barai | 255,411,818 | true | {"Kotlin": 1974833, "Java": 180404, "HTML": 14775} | package com.elementary.tasks.navigation.settings
import androidx.databinding.ViewDataBinding
import com.elementary.tasks.core.utils.CalendarUtils
import org.koin.android.ext.android.inject
abstract class BaseCalendarFragment<B : ViewDataBinding> : BaseSettingsFragment<B>() {
protected val calendarUtils: Calendar... | 0 | null | 0 | 0 | ed79158ac4df09d18749b03b7e77c5208175b550 | 340 | reminder-kotlin | Apache License 2.0 |
app/src/main/java/com/schaefer/lorempicsum/details/DetailsRoute.kt | arturschaefer | 600,885,784 | false | {"Kotlin": 31866, "Shell": 466} | package com.schaefer.lorempicsum.details
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material.TopAppBar
import androidx.compose.material.icon... | 0 | Kotlin | 0 | 1 | ad11cf13b9221ffd68f5dfc7f9a9586e9078aee8 | 2,124 | Lorem-Picsum-Compose | MIT License |
core/src/commonNative/kotlin/com/epam/drill/transport/net/NativeAsyncServer.kt | Drill4J | 236,492,704 | false | null | /**
* Copyright 2020 EPAM Systems
*
* 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... | 0 | Kotlin | 0 | 2 | 3907aa751660c5f08bda137adb1b5c713eb363e8 | 1,110 | transport | Apache License 2.0 |
app/src/main/java/com/example/spacebunsadminapp/data/OrderDetailsViewModel.kt | annebelchoong | 541,933,424 | false | {"Kotlin": 130245} | package com.example.spacebunsadminapp.data
import androidx.lifecycle.ViewModel
class OrderDetailsViewModel: ViewModel() {
} | 0 | Kotlin | 0 | 0 | 8333fca727dac3df6e8685a7b1376edaf9bf737b | 126 | SpaceBunsAdminApp | MIT License |
vendor-android/src/main/kotlin/com/malinskiy/marathon/android/executor/listeners/video/ScreenRecorderStopper.kt | cdsap | 135,694,244 | true | {"Kotlin": 447505, "JavaScript": 33573, "CSS": 29044, "Swift": 9410, "HTML": 2224, "Shell": 1572, "Java": 737} | package com.malinskiy.marathon.android.executor.listeners.video
import com.android.ddmlib.IDevice
import com.android.ddmlib.NullOutputReceiver
import com.malinskiy.marathon.android.safeExecuteShellCommand
import com.malinskiy.marathon.log.MarathonLogging
internal class ScreenRecorderStopper(private val deviceInterfac... | 1 | Kotlin | 0 | 1 | ce6648774cd47c87f074ebdfdacbbcf781bdfdd4 | 2,304 | marathon | Apache License 2.0 |
app/src/main/java/com/fracta7/e_bookshelf/presentation/reading_list/add/ReadingListAddScreenState.kt | fracta7 | 532,576,663 | false | {"Kotlin": 157376} | package com.fracta7.e_bookshelf.presentation.reading_list.add
import com.fracta7.e_bookshelf.domain.model.ReadingList
data class ReadingListAddScreenState(
val darkTheme: Boolean = false,
val dynamicTheme: Boolean = false,
val readingListName: String = "",
val alreadyExists: Boolean = false,
val r... | 0 | Kotlin | 0 | 2 | 43e1b6fafa6fc7a55bccf83dfc3a9f4b781c77f7 | 367 | e-bookshelf | MIT License |
acc2/src/main/java/com/angcyo/acc2/action/BaseClearAction.kt | angcyo | 229,037,615 | false | {"Kotlin": 6722659, "JavaScript": 5194} | package com.angcyo.acc2.action
import com.angcyo.acc2.control.AccControl
import com.angcyo.library.ex.subEnd
/**
*
* Email:angcyo@126.com
* @author angcyo
* @date 2021/05/08
* Copyright (c) 2020 ShenZhen Wayto Ltd. All rights reserved.
*/
abstract class BaseClearAction : BaseAction() {
fun getClearActionId... | 0 | Kotlin | 6 | 5 | 10ad5753c3ff675d7f7513db5d98665bcf6f7418 | 2,873 | UICore | MIT License |
backend.native/tests/codegen/controlflow/break.kt | JetBrains | 58,957,623 | false | null | /*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
package codegen.controlflow.`break`
import kotlin.test.*
fun foo() {
var i = 0
l1@while (true) {
println("foo@l1")
try {
l2@while (true) {
i... | 0 | null | 625 | 7,100 | 9fb0a75ab17e9d8cddd2c3d1802a1cdd83774dfa | 1,023 | kotlin-native | Apache License 2.0 |
virtue-di-components/src/commonMain/kotlin/com/eygraber/virtue/di/components/VirtueAppComponent.kt | eygraber | 807,438,503 | false | {"Kotlin": 191931, "Shell": 1747} | package com.eygraber.virtue.di.components
import com.eygraber.virtue.config.VirtueAppInfo
import com.eygraber.virtue.config.VirtueConfig
import com.eygraber.virtue.di.scopes.AppSingleton
import com.eygraber.virtue.init.VirtueAppInitializer
import com.eygraber.virtue.paths.VirtuePathsProvider
import com.eygraber.virtue... | 4 | Kotlin | 1 | 9 | 55b450bbe340cae74956b737422d2f133ab8e91b | 1,111 | virtue | MIT License |
sdk/src/main/java/com/apphud/sdk/client/dto/CustomerDto.kt | apphud | 295,467,889 | false | null | package com.apphud.sdk.client.dto
data class CustomerDto(
val id: String,
val user_id: String,
val locale: String,
val subscriptions: List<SubscriptionDto>,
val currency: CurrencyDto?,
val paywalls: List<ApphudPaywallDto>?
) | 3 | null | 2 | 3 | b4b8e77e77558c13a63ccd79ed2cb0eb5baee5d1 | 249 | ApphudSDK-Android | MIT License |
app/src/main/java/isfaaghyth/app/kotlinstarter/models/User.kt | isfaaghyth | 109,813,364 | false | null | package isfaaghyth.app.kotlinstarter.models
/**
* Created by isfaaghyth on 11/7/17.
* github: @isfaaghyth
*/
data class User(
val avatar_user: String,
val url: String,
val name: String
) | 1 | Kotlin | 8 | 22 | b5d89a31ef2079027e534be7e116c2b52f743384 | 214 | Kotlin-Starter | MIT License |
app/src/main/java/com/anangkur/movieku/feature/search/SearchViewModel.kt | anangkur | 228,177,144 | false | null | package com.anangkur.movieku.feature.search
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.MutableLiveData
import com.anangkur.movieku.data.DataSource
import com.anangkur.movieku.data.Repository
import com.anangkur.movieku.data.model.Result
import com.anangkur.movie... | 0 | Kotlin | 2 | 5 | f1211a54519f32258b087b20b63d53e3666d4419 | 1,972 | Movie-Ku | MIT License |
core/network/src/main/kotlin/com/wecanteen105/core/network/model/NetworkMovieTvDetail.kt | chongiscool | 845,810,159 | false | {"Kotlin": 83820} | package com.wecanteen105.core.network.model
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import com.wecanteen105.core.model.MovieDetail
/**
* Network representation of [MovieDetail]
*/
@Serializable
data class NetworkMovieDetail(
@SerialName("adult")
val adult: Boolean,... | 0 | Kotlin | 0 | 0 | 21fdcb1000d78002c6275e6ec7ca75cf2baf4aea | 6,577 | tmdtv | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.