path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/example/smart_home/MyApi.kt | TeoOrt | 744,785,197 | false | {"Kotlin": 24092, "Java": 1141} | package com.example.smart_home
import okhttp3.MultipartBody
import okhttp3.RequestBody
import okhttp3.ResponseBody
import retrofit2.Call
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.Headers
import retrofit2.http.Multipart
import retrofit2.http.POST
import retrofi... | 0 | Kotlin | 0 | 0 | 2be0d4111efa170b3d317470db6ff6f8d27e2b34 | 673 | SmartHome-Android-App | MIT License |
src/main/kotlin/com/target/liteforjdbc/ParsedQuery.kt | target | 530,689,815 | false | null | package com.target.liteforjdbc
internal class ParsedQuery(sql: String) {
private val queryList: List<QueryPiece>
private val NAMED_PARAMS_CHARS = ('a'..'z').toList() +
('A'..'Z').toList() +
('0'..'9').toList() +
'-' + '_'
init {
val context = ParsingContext(P... | 3 | Kotlin | 5 | 8 | 6086621e2510fd483ac72d02c90ea9be552a13ef | 6,261 | lite-for-jdbc | MIT License |
app/src/main/kotlin/jp/ne/keisuke/kiuchi/devicekanrisan/presenter/login/LoginComponent.kt | kiuchikeisuke | 100,558,549 | false | null | package jp.ne.keisuke.kiuchi.devicekanrisan.presenter.login
import dagger.Subcomponent
import dagger.android.AndroidInjector
@Subcomponent(modules = arrayOf(LoginModule::class))
interface LoginComponent : AndroidInjector<LoginFragment> {
@Subcomponent.Builder abstract class Builder : AndroidInjector.Builder<Login... | 0 | Kotlin | 0 | 0 | 34c0612a7d3831d74b1b25809eeafe453878b071 | 334 | DeviceKanriSan | Apache License 2.0 |
src/main/kotlin/shop/itbug/fluttercheckversionx/hints/IPCompletionProvider.kt | mdddj | 390,183,676 | false | {"Kotlin": 567870, "HTML": 1106} | package shop.itbug.fluttercheckversionx.hints
import com.intellij.codeInsight.completion.CompletionParameters
import com.intellij.codeInsight.completion.CompletionProvider
import com.intellij.codeInsight.completion.CompletionResultSet
import com.intellij.codeInsight.lookup.LookupElementBuilder
import com.intellij.util... | 10 | Kotlin | 4 | 39 | ce8000941b26b703df05d5c800028c07a0e2f10a | 1,768 | dd_flutter_idea_plugin | MIT License |
api/src/main/kotlin/com/pk/ysf/api/model/exception/OpenHourException.kt | FoioK | 154,698,732 | false | null | package com.pk.ysf.api.model.exception
import org.springframework.http.HttpStatus
import org.springframework.web.bind.annotation.ResponseStatus
import java.lang.RuntimeException
@ResponseStatus(HttpStatus.BAD_REQUEST)
class OpenHourException(message: String) : RuntimeException(message) | 11 | Kotlin | 1 | 0 | a5df979ffe4a54faa4e0a54e3b6ea24cd3069250 | 288 | YourSoccerField | MIT License |
driftdrawer/src/main/java/com/sdsmdg/aridj/driftdrawer/transformations/CombineTransformation.kt | arihant-001 | 132,164,614 | false | null | package com.sdsmdg.aridj.driftdrawer.transformations
import android.view.View
class CombineTransformation(private val transformations: List<Transformation>): Transformation {
override fun transform(progress: Float, view: View) {
for (transformation in transformations) {
transformation.transfo... | 0 | Kotlin | 3 | 15 | a951fea37afdf55c4b1a01dcb2cb09b06403e0be | 357 | DriftDrawer | MIT License |
src/main/kotlin/io/github/dqualizer/dqlang/types/rqa/definition/monitoring/MonitoringDefinition.kt | dqualizer | 610,310,524 | false | {"Kotlin": 110854, "HTML": 3542, "Python": 3352} | package io.github.dqualizer.dqlang.types.rqa.definition.monitoring
import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.annotation.JsonProperty
data class MonitoringDefinition @JsonCreator constructor(
@JsonProperty("id")
val id: String,
/**
* dq_id of the target work_object
... | 7 | Kotlin | 0 | 0 | 938543c2fd0602879492bd9183c668d98d631f3c | 586 | dqlang | Apache License 2.0 |
core/data/src/main/java/com/shackle/hisham/core/data/di/DataModule.kt | ghatasheh | 775,035,712 | false | {"Kotlin": 110745} | /*
* Copyright (C) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Kotlin | 0 | 0 | 10f69b0687522c207d7aa120eafd08a4991f506d | 1,422 | hotelsapp | Apache License 2.0 |
app/src/main/java/com/github/jing332/tts_server_android/service/systts/help/BgmPlayer.kt | jing332 | 536,800,727 | false | null | package com.github.jing332.tts_server_android.service.systts.help
import android.content.Context
import android.util.Log
import androidx.media3.common.MediaItem
import androidx.media3.common.PlaybackException
import androidx.media3.common.Player
import androidx.media3.exoplayer.ExoPlayer
import com.github.jing332.tts_... | 7 | null | 127 | 1,393 | 8e07e8842cf4cec70154041fcd6a64ad2352d8c8 | 3,129 | tts-server-android | MIT License |
game/src/test/kotlin/rs/dusk/world/interact/dialogue/NPCChatTest.kt | Palmfeldt | 673,267,966 | true | {"Kotlin": 1529507} | package rs.dusk.world.interact.dialogue
import io.mockk.*
import kotlinx.coroutines.runBlocking
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.DynamicTest.dynamicTest
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.TestFactory
import org.junit.jupiter.params.ParameterizedTest
impor... | 0 | Kotlin | 0 | 0 | 0b3a4fe8eb9f2e2e29f8834d028fd3edf038cd2f | 5,414 | NostalgiaScape | Creative Commons Attribution 3.0 Unported |
stream-chat-android-ui-components/src/main/kotlin/io/getstream/chat/android/ui/helper/ViewSize.kt | GetStream | 177,873,527 | false | {"Kotlin": 8578375, "MDX": 2150736, "Java": 271477, "JavaScript": 6737, "Shell": 5229} | /*
* Copyright (c) 2014-2023 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-chat-android/blob/main/LICENSE
*
* Unless required by a... | 24 | Kotlin | 273 | 1,451 | 8e46f46a68810d8086c48a88f0fff29faa2629eb | 898 | stream-chat-android | FSF All Permissive License |
src/main/kotlin/mazerunner/MazeGenerator.kt | devcsrj | 170,037,724 | false | null | /**
* Copyright © 2018 <NAME> (<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 ag... | 1 | Kotlin | 2 | 6 | c5db6a86f1d65a366e6ce1978d73a5b5f04b9cc6 | 1,050 | mazerunner | Apache License 2.0 |
app/src/main/java/io/roisagiv/github/weighttracker/ui/TopAlignSuperscriptSpan.kt | roisagiv | 207,658,019 | false | null | package io.roisagiv.github.weighttracker.ui
import android.text.TextPaint
import android.text.style.SuperscriptSpan
/**
*
*/
internal class TopAlignSuperscriptSpan(shiftPercentage: Float) : SuperscriptSpan() {
companion object {
const val fontScale: Float = 1.3f
}
private var shiftPercentage =... | 0 | Kotlin | 0 | 5 | b185fd3a8fac5fd1322d328e832b5e52683db5cc | 1,077 | WeightTracker-Android | MIT License |
src/main/kotlin/ui/AnswerOptionLetters.kt | waterlink | 104,396,024 | false | null | package ui
object AnswerOptionLetters {
val letters = listOf(
"A", "B", "C", "D", "E", "F", "G", "H")
} | 0 | Kotlin | 1 | 4 | ea40f2fd995926f6700d1b52a2eafe0689f802d6 | 120 | quizzykotlin | MIT License |
desktop/app/src/main/kotlin/com/abdownloadmanager/desktop/storage/base/KotlinSerializationDataStore.kt | amir1376 | 825,187,044 | false | {"Kotlin": 967280, "Shell": 3811} | package com.abdownloadmanager.desktop.storage.base
import androidx.datastore.core.CorruptionException
import androidx.datastore.core.DataStore
import androidx.datastore.core.DataStoreFactory
import kotlinx.serialization.KSerializer
import kotlinx.serialization.json.Json
import androidx.datastore.core.Serializer
import... | 31 | Kotlin | 16 | 721 | 34801da12e8ae1e0a7e4cec5b75a62c6d3b2d265 | 2,024 | ab-download-manager | Apache License 2.0 |
lup/src/main/java/com/icodeu/lup/ui/LupDialogInterface.kt | icodeuDev | 402,656,375 | false | {"Kotlin": 19751} | package com.icodeu.lup.ui
interface LupDialogInterface {
fun onReportClicked()
} | 0 | Kotlin | 0 | 4 | dcbef11fa7c0829eeab3da286ef8030af897f9b2 | 85 | Lup | Apache License 2.0 |
app/src/main/java/de/christinecoenen/code/zapp/models/shows/PersistedMediathekShow.kt | mediathekview | 68,289,398 | false | {"Kotlin": 339638} | package de.christinecoenen.code.zapp.models.shows
import androidx.room.*
import org.joda.time.DateTime
/**
* [MediathekShow] persisted to the database, because it has been accessed by the user in any way.
*/
@Entity(indices = [Index(value = ["apiId"], unique = true)])
data class PersistedMediathekShow(
@PrimaryKe... | 57 | Kotlin | 33 | 201 | 7a3cadf5a8b8efd1bb5cb9a0d6175c995e2f5aaf | 959 | zapp | MIT License |
WorkIt/app/src/main/java/prot3ct/workit/views/register/RegisterFragment.kt | prot3ct | 510,755,420 | false | {"Kotlin": 213557, "C#": 92299, "Java": 2259, "ASP.NET": 107} | package prot3ct.workit.views.register
import android.content.Context
import android.widget.EditText
import prot3ct.workit.utils.WorkItProgressDialog
import android.view.LayoutInflater
import android.view.ViewGroup
import android.os.Bundle
import prot3ct.workit.R
import android.content.Intent
import android.util.Patter... | 0 | Kotlin | 0 | 0 | b4381df44e222232c6a8c08e9453080742d9e3df | 3,962 | WorkItNow | MIT License |
src/main/kotlin/com/github/wakingrufus/mastodon/data/OAuthModel.kt | wakingrufus | 96,777,394 | false | null | package com.github.wakingrufus.mastodon.data
import com.sys1yagi.mastodon4j.MastodonClient
import com.sys1yagi.mastodon4j.api.entity.auth.AppRegistration
data class OAuthModel (val client: MastodonClient, val appRegistration: AppRegistration, val token: String? = null){
} | 2 | Kotlin | 4 | 14 | d4c90b890a3a881465f9ef34ece30a11ae627d83 | 274 | mastodon-jfx | MIT License |
app/src/main/java/com/gw/mvvm/wan/data/ui/ListUiData.kt | play0451 | 347,845,609 | false | null | package com.gw.mvvm.wan.data.ui
import com.gw.mvvm.framework.network.AppException
import com.gw.mvvm.wan.data.model.PageInfo
/**
* 列表UI数据
* @author play0451
*/
data class ListUiData<T>(
/**
* 是否请求成功
*/
var isSuccess: Boolean,
/**
* 错误消息 isSuccess为false才会有
*/
var error: String = ... | 0 | Kotlin | 0 | 0 | bbf15ccf5eddb470f3841a97d79c76a867c213fd | 1,933 | wan-android-jetpack-mvvm-practice | MIT License |
kutil-unit-api/src/main/java/net/kigawa/kutil/unitapi/exception/UnitException.kt | kigawa01 | 534,968,547 | false | null | package net.kigawa.kutil.unitapi.exception
import net.kigawa.kutil.unitapi.util.Util
open class UnitException: RuntimeException {
constructor(message: String, cause: Throwable?, vararg obj: Any?): super(
Util.createMessage(message, obj.toList()),
cause
)
constructor(message: String, vararg obj: Any?)... | 3 | Kotlin | 0 | 0 | 924a20e797160fb9e93cd4331803654533c5ca59 | 349 | kutil-unit | MIT License |
src/main/kotlin/com/urosjarc/dbmessiah/impl/postgresql/PgSerializer.kt | urosjarc | 747,245,291 | false | {"Kotlin": 746524, "Shell": 1030} | package com.urosjarc.dbmessiah.impl.postgresql
import com.urosjarc.dbmessiah.Serializer
import com.urosjarc.dbmessiah.data.Query
import com.urosjarc.dbmessiah.data.TypeSerializer
import com.urosjarc.dbmessiah.extend.ext_isUUID
import kotlin.reflect.KClass
public open class PgSerializer(
schemas: List<PgSchema> =... | 0 | Kotlin | 0 | 16 | bb334a4e606e2c1906d119625aeaa57149d5e1cd | 3,232 | db-messiah | Apache License 2.0 |
app/src/main/java/com/example/restaurantapp/retrofit/MealApi.kt | matheusdelnero | 631,326,740 | false | null | package com.example.restaurantapp.retrofit
import com.example.restaurantapp.model.CategoryList
import com.example.restaurantapp.model.MealsByCategoryList
import com.example.restaurantapp.model.MealList
import com.example.restaurantapp.model.MealsByCategory
import retrofit2.Call
import retrofit2.http.GET
import retrofi... | 0 | Kotlin | 0 | 0 | e48416b44ab9372955b285af1a0dacfeae176122 | 894 | RestaurantApp | MIT License |
generic-expandable-adapter/src/main/java/com/github/romullodev/generic_expandable_adapter/base/BaseExpandableAdapter.kt | romullodev | 619,258,904 | false | null | package com.github.romullodev.generic_expandable_adapter.base
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.ViewGroup.LayoutParams.MATCH_PARENT
import android.view.ViewGroup.LayoutParams.WRAP_CONTENT
import android.view.View... | 0 | Kotlin | 0 | 1 | 197738ca4c61d6175836bb9f82967773c8a990e8 | 17,874 | generic-expandable-adapter | The Unlicense |
modules/kilua-dom/src/commonMain/kotlin/web/dom/parsing/Parsing.kt | rjaros | 706,876,956 | false | {"Kotlin": 1976725, "CSS": 9269, "JavaScript": 4299} | /*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
// NOTE: THIS FILE IS AUTO-GENERATED, DO NOT EDIT!
// See github.com/kotlin/dukat for details
@file:Suppress(... | 0 | Kotlin | 2 | 51 | 9f11d859e24368b229db8a743649ee5ae2398c5d | 1,004 | kilua | MIT License |
firestore-realtime/app/src/main/java/com/azharkova/photoram/AuthActivity.kt | anioutkazharkova | 390,453,654 | false | null | package com.azharkova.photoram
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.azharkova.photoram.auth.AuthFragment
import com.google.firebase.FirebaseApp
class AuthActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(sav... | 0 | Kotlin | 0 | 4 | 09e061e92b14450f0deace6d164fbc2eb45d9c52 | 635 | android-firestore_realtime | Apache License 2.0 |
apps/etterlatte-brev-api/src/main/kotlin/no/nav/etterlatte/brev/adresse/RegoppslagKlient.kt | navikt | 417,041,535 | false | {"Kotlin": 5056581, "TypeScript": 1175431, "Handlebars": 21474, "Shell": 10666, "HTML": 1776, "CSS": 598, "Dockerfile": 587} | package no.nav.etterlatte.brev.adresse
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.github.benmanes.caffeine.cache.Caffeine
import io.ktor.client.HttpClient
import io.ktor.client.call.body
import io.ktor.client.plugins.ResponseException
import io.ktor.client.request.get
import io.ktor.http.H... | 18 | Kotlin | 0 | 5 | faf599c009e392d0042b85951c46d4bb64e7ab0b | 2,626 | pensjon-etterlatte-saksbehandling | MIT License |
app/src/commonMain/kotlin/apptemplate/apptronicnetcore/common/viewmodel/AppViewModel.kt | apptronicnet | 301,082,247 | false | null | package apptemplate.apptronicnetcore.common.viewmodel
import net.apptronic.core.commons.navigation.DefaultNavigationHandler
import net.apptronic.core.commons.navigation.navigationRouter
import net.apptronic.core.commons.navigation.registerNavigationHandler
import net.apptronic.core.component.context.Contextual
import ... | 0 | Kotlin | 0 | 1 | 297f11d2c38f010dd1710423314d2822569aaeb3 | 1,472 | mpp_app_template | MIT License |
app/src/main/java/com/example/graduationprojectkotlin/ui/courses/CoursesViewModel.kt | 872963588 | 254,777,704 | false | null | package com.example.graduationprojectkotlin.ui.courses
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
import com.example.graduationprojectkotlin.logic.Repository
import com.example.graduationprojectkotlin.logic.model.Course
class CoursesViewMode... | 0 | Kotlin | 0 | 0 | 23a6ab527d852a368d48ee9d13a3e1dafef7378e | 378 | GraduationProjectKotlin | Apache License 2.0 |
banshee-api/src/main/kotlin/io/github/aecsocket/banshee/format/GeckoLib.kt | aecsocket | 625,929,786 | false | null | package io.github.aecsocket.banshee.format
import io.github.aecsocket.alexandria.extension.force
import io.github.aecsocket.banshee.*
import io.github.aecsocket.klam.*
import org.spongepowered.configurate.ConfigurationNode
import org.spongepowered.configurate.kotlin.extensions.contains
import org.spongepowered.configu... | 0 | Kotlin | 0 | 0 | fb5b0f5b6be41b624604d23196da85c113af2ddb | 9,342 | banshee | MIT License |
pandora/src/main/java/com/lodz/android/pandora/widget/rv/decoration/RoundItemDecoration.kt | LZ9 | 137,967,291 | false | {"Kotlin": 2174504} | package com.lodz.android.pandora.widget.rv.decoration
import android.content.Context
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.graphics.Rect
import android.view.View
import androidx.annotation.ColorInt
import androidx.annotation.ColorRes
import androidx.a... | 0 | Kotlin | 3 | 11 | adc8471785a694ac7b49565465419f8f3b0664f3 | 12,909 | AgileDevKt | Apache License 2.0 |
Android/app/src/main/java/ntu/platform/cookery/ui/fragment/profile/ProfileViewModel.kt | chiaz91 | 393,305,839 | false | null | package ntu.platform.cookery.ui.fragment.profile
import android.util.Log
import androidx.lifecycle.ViewModel
import ntu.platform.cookery.base.BaseClickedListener
import ntu.platform.cookery.base.SingleLiveEvent
import ntu.platform.cookery.data.entity.Post
import ntu.platform.cookery.data.entity.Recipe
import ntu.platf... | 0 | Kotlin | 0 | 0 | 51dd7bc043c58e32b7798816e4d71e78b216d654 | 2,850 | elite-chef | MIT License |
app/src/test/java/com/faranjit/meditory/features/home/presentation/model/MeditationModelTest.kt | faranjit | 399,519,852 | false | null | package com.faranjit.meditory.features.home.presentation.model
import junit.framework.TestCase.assertFalse
import org.junit.Assert.assertTrue
import org.junit.Test
/**
* Created by <NAME> on 25.08.2021.
*/
class MeditationModelTest {
@Test
fun `should areItemsTheSame return true`() {
// Given
... | 0 | Kotlin | 0 | 0 | 97c1b1f1388b51797fa98a0e24cbfa85dd6cab61 | 1,921 | meditory | MIT License |
modules/lib/navigation/src/main/kotlin/kekmech/ru/lib_navigation/Router.kt | tonykolomeytsev | 203,239,594 | false | null | package kekmech.ru.common_navigation
import androidx.fragment.app.FragmentManager
interface Router {
fun executeCommand(vararg commands: Command)
fun executeCommand(command: ActivityCommand)
fun executeCommand(fragmentManager: FragmentManager, command: Command)
}
| 9 | null | 4 | 41 | 15c3c17e33d0ffffc0e269ad0cd6fe47b0bc971a | 282 | mpeiapp | MIT License |
bindable/src/commonMain/kotlin/moe/ganen/bindable/internal/Unset.kt | GSculerlor | 764,477,085 | false | {"Kotlin": 30379, "Java": 476} | package moe.ganen.bindable.internal
import moe.ganen.bindable.BindableImpl
/**
* Data object to box the initial value of [BindableImpl].
* We might want to throw exception when the value equal this when unboxed but need more consideration whether it was
* worth it or not.
*/
internal data object Unset {
@Supp... | 0 | Kotlin | 0 | 0 | 5456b242499b6d934910d3f92a02e4a970e9826f | 511 | bindable | MIT License |
src/test/kotlin/br/com/jiratorio/factory/KBacon.kt | 7u4 | 219,912,318 | true | {"Kotlin": 522067, "Dockerfile": 315, "TSQL": 269, "PLSQL": 52} | package br.com.jiratorio.factory
import org.springframework.data.repository.CrudRepository
import kotlin.reflect.KFunction0
abstract class KBacon<T>(
val repository: CrudRepository<T, *>? = null
) {
fun create(
builder: KFunction0<T> = ::builder,
persist: Boolean = repository != null,
... | 0 | null | 0 | 0 | 2f788cbcb6c9ef15880af58b90fee356cfe59753 | 905 | jirareport | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/Digging.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.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.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,098 | icons | MIT License |
buildSrc/src/main/kotlin/com/github/turansky/common/UnionConverter.kt | sgrishchenko | 408,553,710 | true | {"Kotlin": 592671} | package com.github.turansky.common
internal fun unionBody(
name: String,
values: List<String>,
): String {
val constMap = values.associateBy { enumConstant(it, true) }
val constantNames = constMap.keys
.joinToString("") { "$it,\n" }
return jsName(constMap) + """
external enum clas... | 0 | null | 0 | 0 | 425d2dcc65a0682419ce9e41934b947f5d2658ce | 1,837 | react-types-kotlin | Apache License 2.0 |
library/src/commonMain/kotlin/com/tecknobit/equinoxcompose/helpers/viewmodels/EquinoxViewModel.kt | N7ghtm4r3 | 830,544,234 | false | {"Kotlin": 115308} | package com.tecknobit.equinoxcompose.helpers.viewmodels
import androidx.compose.material3.SnackbarHostState
import androidx.lifecycle.ViewModel
import com.tecknobit.apimanager.annotations.Structure
import com.tecknobit.apimanager.formatters.JsonHelper
import com.tecknobit.equinox.FetcherManager
import com.tecknobit.eq... | 0 | Kotlin | 0 | 0 | b080f21ee001c6adf81bec4fbf83677dfe5c8abf | 4,410 | Equinox-Compose | Apache License 2.0 |
compiler/src/commonMain/kotlin/com/hsc/compiler/lowering/passes/FindLastVariableUsagePass.kt | sndyx | 775,217,744 | false | {"Kotlin": 320788} | package com.hsc.compiler.lowering.passes
import com.hsc.compiler.ir.ast.AstVisitor
import com.hsc.compiler.ir.ast.Expr
import com.hsc.compiler.ir.ast.ExprKind
import com.hsc.compiler.ir.ast.Ident
import com.hsc.compiler.ir.ast.Item
import com.hsc.compiler.ir.ast.ItemKind
import com.hsc.compiler.ir.ast.Stmt
import com.... | 0 | Kotlin | 1 | 8 | 5e277cc6c8ee19071fcc131821ad258fa66fcd20 | 1,098 | hsl | MIT License |
app/src/main/java/com/example/kieun/biometricprompt/AutoResizeEditText.kt | lauramdelarosa | 212,157,368 | false | null | package com.example.kieun.biometricprompt
import android.annotation.TargetApi
import android.content.Context
import android.content.res.Resources
import android.graphics.RectF
import android.graphics.Typeface
import android.os.Build
import android.text.Layout
import android.text.StaticLayout
import android.text.TextPa... | 0 | Kotlin | 0 | 0 | 0ab45514802db0edaac1aec3e52a45ee08531b7a | 8,630 | InitWithBiometryDummy | Apache License 2.0 |
features/auth/presentation/src/main/java/com/fredprojects/features/auth/presentation/vm/AuthEvents.kt | FredNekrasov | 832,214,231 | false | {"Kotlin": 204897} | package com.fredprojects.features.auth.presentation.vm
import com.fredprojects.features.auth.presentation.models.UDPModel
sealed class AuthEvents {
data class Authorization(val login: String, val password: String) : AuthEvents()
data class UpsertUserData(val user: UDPModel) : AuthEvents()
data object Dele... | 0 | Kotlin | 0 | 1 | 121509e94bf25e341b7187fe86f75a310638cc30 | 343 | jetpack-compose-projects | MIT License |
src/main/kotlin/com/github/lynxie/oxocarbon/activities/OxocarbonStartupActivity.kt | Oxocarbon-Theme | 761,379,878 | false | {"Kotlin": 16743} | package com.github.lynxie.oxocarbon.activities
import com.github.lynxie.oxocarbon.OxocarbonManager
import com.github.lynxie.oxocarbon.notifications.SettingsNotifications
import com.github.lynxie.oxocarbon.settings.OxocarbonVersionSettings
import com.intellij.openapi.project.Project
import com.intellij.openapi.startup.... | 12 | Kotlin | 1 | 7 | 50490e84a07cb4c499e442ad31efb29221030638 | 1,201 | Oxocarbon | MIT License |
lib-processor/src/main/java/com/july/studio/andpermissions/parse/PermissionRequestParse.kt | lifelikejuly | 801,514,399 | false | {"Kotlin": 43689} | package com.july.studio.andpermissions.parse
import com.july.studio.andpermissions.CodeBuildConsts
import com.squareup.kotlinpoet.ClassName
import com.squareup.kotlinpoet.CodeBlock
import com.squareup.kotlinpoet.FileSpec
import com.squareup.kotlinpoet.FunSpec
import com.squareup.kotlinpoet.KModifier
import com.squareu... | 0 | Kotlin | 0 | 0 | 5e48c73959999ee73cf969746e124e53d82bd36a | 2,655 | AndPermissions | Apache License 2.0 |
app/src/main/java/com/maasbodev/marvelmd/MainActivity.kt | MaasboDev | 632,318,883 | false | null | package com.maasbodev.marvelmd
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.material... | 1 | Kotlin | 0 | 0 | 3c260da6656a5f59a8818500c1111594b897af23 | 1,150 | marvel-md | Apache License 2.0 |
src/main/kotlin/io/sdkman/config/ApplicationConfig.kt | sdkman | 737,757,869 | false | {"Kotlin": 17502} | package io.sdkman.config
import io.ktor.server.application.*
data class DatabaseConfig(val host: String, val port: Int, val username: String, val password: String)
data class ApiAuthenticationConfig(val username: String, val password: String)
data class ApplicationConfig(val databaseConfig: DatabaseConfig, val apiA... | 0 | Kotlin | 1 | 1 | 0f60ea04fb4fbd40df8a44b02524623839ac75b0 | 1,113 | sdkman-state | Apache License 2.0 |
app/src/test/kotlin/com/manishsputnikcorporation/safebites/utils/TestUtils.kt | maneletorres | 597,465,387 | false | null | package com.manishsputnikcorporation.safebites.utils
import com.manishsputnikcorporation.safebites.domain.common.DomainError
import com.manishsputnikcorporation.safebites.domain.model.ProductModel
import com.manishsputnikcorporation.safebites.network.utils.Either
import com.manishsputnikcorporation.safebites.network.u... | 0 | Kotlin | 0 | 0 | 776788a70b0c89d96fd8faee1b9b8ad1eb0f665a | 760 | SafeBites | Apache License 2.0 |
app/src/main/java/com/project/mytemplate/domine/models/Login.kt | xvirs | 852,528,046 | false | {"Kotlin": 70267} | package com.project.mytemplate.domine.models
data class LoginResponse(
val id: Int,
val token: String
) | 0 | Kotlin | 0 | 1 | b7bea98f39510ff2b8d137be3657df83de60ebc3 | 112 | My_Template | MIT License |
telegram-bot/src/main/kotlin/eu/vendeli/tgbot/types/internal/options/ChatInviteLinkOptions.kt | vendelieu | 496,567,172 | false | {"Kotlin": 520294, "CSS": 356} | package eu.vendeli.tgbot.types.internal.options
import java.time.Instant
data class ChatInviteLinkOptions(
var name: String? = null,
var expireDate: Instant? = null,
var memberLimit: Int? = null,
var createsJoinRequest: Boolean? = null,
) : Options
| 5 | Kotlin | 6 | 116 | 744bbcf1fe96fcb52c50ddf11cf2dd9a3f98c4b5 | 267 | telegram-bot | Apache License 2.0 |
custom-vu/src/main/kotlin/jces1209/vu/page/bars/topBar/cloud/CloudTopBar.kt | rsaliiatlassian | 264,925,476 | true | {"Kotlin": 263130} | package jces1209.vu.page.bars.topBar.cloud
import jces1209.vu.page.FalliblePage
import jces1209.vu.page.bars.topBar.TopBar
import jces1209.vu.page.bars.topBar.dc.DcTopBar
import jces1209.vu.wait
import org.openqa.selenium.By
import org.openqa.selenium.WebDriver
import org.openqa.selenium.interactions.Actions
import or... | 0 | Kotlin | 0 | 0 | 82c4ba910faf6e23a31482bd31093fb84aa823b2 | 1,951 | jces-1209 | Apache License 2.0 |
14-webflux-demo-lab/src/main/kotlin/course/kotlin/webfluxdemo/ReactiveExamples.kt | iproduct | 277,474,020 | false | {"JavaScript": 3237497, "Kotlin": 545267, "Java": 110766, "HTML": 83688, "CSS": 44893, "SCSS": 32196, "Dockerfile": 58} | package course.kotlin.webfluxdemo
import reactor.core.publisher.Flux
import reactor.core.publisher.Sinks
import reactor.core.publisher.SynchronousSink
import reactor.core.scheduler.Schedulers
import java.time.Duration
import java.time.temporal.ChronoUnit
import java.util.*
fun main(args: Array<String>) {
// Gener... | 0 | JavaScript | 1 | 4 | 89884f8c29fffe6c6f0384a49ae8768c8e7ab509 | 2,012 | course-kotlin | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/ecs/AwsLogDriverDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.ecs
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.ecs.AwsLogDriver
@Generated
public fun buildAwsLogDriver(initializer: @AwsCdkDsl AwsLogDriver.Builder.() -> Unit): AwsLogDriver
= ... | 1 | Kotlin | 0 | 0 | e08d201715c6bd4914fdc443682badc2ccc74bea | 377 | aws-cdk-kt | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/model/Puppy.kt | Zelgius0880 | 343,506,016 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | e1e9f64456b0359c2d7d42fb3d56cbcb665d0435 | 1,005 | ComposeChallengeWeekOne | Apache License 2.0 |
app/src/main/java/com/rodrigolmti/lunch/money/companion/composition/domain/usecase/GetTransactionSumByCategoryUseCase.kt | Rodrigolmti | 737,641,287 | false | {"Kotlin": 368597, "Ruby": 351} | package com.rodrigolmti.lunch.money.companion.composition.domain.usecase
import com.rodrigolmti.lunch.money.companion.composition.domain.model.TransactionModel
internal interface GetTransactionSumByCategoryUseCase {
suspend operator fun invoke(transactions: List<TransactionModel>): Map<String, Float>
}
internal ... | 0 | Kotlin | 0 | 4 | b4651021a9ddc68af75a94315943e463f0deef1e | 741 | lunch_money_companion | Apache License 2.0 |
WebService/src/main/java/webservice/controller/ApiServiceController.kt | NJUChainStore | 130,382,331 | false | null | package webservice.controller
import io.swagger.annotations.ApiOperation
import io.swagger.annotations.ApiResponse
import io.swagger.annotations.ApiResponses
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
import or... | 1 | CSS | 1 | 10 | daaf00d5dfc1471b351ace49d994bc372b1b5184 | 3,917 | ChainStore | MIT License |
app/src/main/java/com/routinely/routinely/data/auth/api/AuthApi.kt | RoutinelyOrganization | 609,263,361 | false | {"Kotlin": 263351} | package com.routinely.routinely.data.auth.api
import com.routinely.routinely.data.auth.model.CreateAccountResult
import com.routinely.routinely.data.auth.model.ForgotPasswordRequest
import com.routinely.routinely.data.auth.model.ForgotPasswordResult
import com.routinely.routinely.data.auth.model.LoginRequest
import co... | 27 | Kotlin | 2 | 3 | e2196d5107b80547f8639118f2bac171979c1d0b | 712 | routinely-mobile | MIT License |
app/src/main/java/com/routinely/routinely/data/auth/api/AuthApi.kt | RoutinelyOrganization | 609,263,361 | false | {"Kotlin": 263351} | package com.routinely.routinely.data.auth.api
import com.routinely.routinely.data.auth.model.CreateAccountResult
import com.routinely.routinely.data.auth.model.ForgotPasswordRequest
import com.routinely.routinely.data.auth.model.ForgotPasswordResult
import com.routinely.routinely.data.auth.model.LoginRequest
import co... | 27 | Kotlin | 2 | 3 | e2196d5107b80547f8639118f2bac171979c1d0b | 712 | routinely-mobile | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsalertsapi/enumeration/NomisCaseloadType.kt | ministryofjustice | 750,461,021 | false | {"Kotlin": 146580, "Dockerfile": 1372, "Shell": 1252, "Mermaid": 1124} | package uk.gov.justice.digital.hmpps.hmppsalertsapi.enumeration
enum class NomisCaseloadType(
val description: String,
) {
INST("Institution"),
}
| 2 | Kotlin | 0 | 0 | b06f88b3f8c9d6dfd78eef03b25dc77535dc856d | 151 | hmpps-alerts-api | MIT License |
modules/core/kotlin/com/sun/prism/es2/ES2Accessor.kt | husker-dev | 393,363,130 | false | {"C++": 14907461, "C": 196825, "Kotlin": 146113, "Objective-C": 5907} | package com.sun.prism.es2
import com.sun.prism.Texture
val Texture.glTextureId: Int
get() = (this as ES2Texture<*>).nativeSourceHandle | 17 | C++ | 11 | 84 | ac22d5435915f16fa731b9e3564533c2507f2dc0 | 140 | openglfx | Apache License 2.0 |
presenter/gallery/src/commonTest/kotlin/com/adjectivemonk2/museum/presenter/gallery/AccountImageUrlGeneratorTest.kt | Sripadmanabans | 684,708,262 | false | {"Kotlin": 57822} | package com.adjectivemonk2.museum.presenter.gallery
import assertk.assertThat
import assertk.assertions.isEqualTo
import kotlin.test.Test
internal class AccountImageUrlGeneratorTest {
@Test
fun account_thumbnail_url_generator_test() {
val id = "account id"
val actual = AccountImageUrlGenerator().thumbnai... | 12 | Kotlin | 0 | 0 | a2b3c99e0eaea96589005178af09b9122d8781f8 | 447 | Museum | Apache License 2.0 |
common/src/commonMain/kotlin/org/kryptonmc/nbt/io/TagIO.kt | KryptonMC | 388,819,410 | false | null | package org.kryptonmc.nbt.io
import okio.BufferedSink
import okio.BufferedSource
import okio.IOException
import okio.use
import okio.utf8Size
import org.kryptonmc.nbt.CompoundTag
import org.kryptonmc.nbt.EndTag
import org.kryptonmc.nbt.Tag
import kotlin.jvm.JvmStatic
import kotlin.jvm.JvmSynthetic
/**
* A utility fo... | 0 | Kotlin | 0 | 2 | 1f46797c80a85c6e96429df05bf94f7442a6a4ab | 4,100 | nbt | MIT License |
src/main/kotlin/net/notjustanna/utils/extensions/lang/Futures.kt | NotJustAnna | 202,241,367 | false | null | @file:Suppress("NOTHING_TO_INLINE")
@file:JvmName("LangExt")
@file:JvmMultifileClass
package pw.aru.utils.extensions.lang
import java.util.concurrent.CompletableFuture
import java.util.concurrent.CompletionStage
import java.util.concurrent.Future
import kotlin.reflect.KProperty
@JvmName("futureValue")
fun <V> Future... | 1 | null | 1 | 1 | dbf06eb87a74a92aad7c7d9c9af417fa383e01fe | 1,435 | psi-framework | Apache License 2.0 |
app/src/main/java/com/example/sneakersnap/Profile.kt | codebyLFN | 655,790,055 | false | null | package com.example.sneakersnap
import android.content.Intent
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.google.android.material.bottomnavigation.BottomNavigat... | 0 | Kotlin | 1 | 2 | 7e15c32ea9b1877bbd7a77651d06b6b454fdeed0 | 6,662 | SneakerSnap | MIT License |
app/src/main/java/ru/zzemlyanaya/pulsepower/feature/placeSelect/presentation/mapping/PlacesUiMapper.kt | zzemlyanaya | 786,938,180 | false | {"Kotlin": 151814} | package ru.zzemlyanaya.pulsepower.feature.placeSelect.presentation.mapping
import ru.zzemlyanaya.pulsepower.R
import ru.zzemlyanaya.pulsepower.core.utils.ResourceProvider
import ru.zzemlyanaya.pulsepower.feature.placeSelect.presentation.model.CityItemUiModel
import ru.zzemlyanaya.pulsepower.feature.placeSelect.present... | 0 | Kotlin | 0 | 1 | 0ee15b97bffd735ed65655e09879339ebc0e0b68 | 2,925 | PulseAndPower | Apache License 2.0 |
app/src/main/java/com/analyticahouse/test/data/repository/BalldontlieRepository.kt | aticiadem | 421,084,710 | false | {"Kotlin": 64193} | package com.analyticahouse.test.data.repository
import com.analyticahouse.test.domain.model.player.Player
import com.analyticahouse.test.domain.model.player.PlayerModel
import com.analyticahouse.test.domain.model.team.Team
import com.analyticahouse.test.domain.model.team.TeamModel
import com.analyticahouse.test.data.r... | 0 | Kotlin | 0 | 15 | ceff330fbac4b140e99d4ecfe4469a4bd8623a29 | 913 | AnalyticaHouseTestCase | MIT License |
app/src/main/java/org/gongclouds/bluescreen/AppList.kt | DeviceArtist | 874,216,091 | false | {"Kotlin": 17266} | package org.gongclouds.bluescreen
import android.annotation.SuppressLint
import android.content.pm.ApplicationInfo
import android.content.pm.PackageManager
import android.graphics.drawable.Drawable
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.rememberLauncherForA... | 0 | Kotlin | 0 | 0 | ec8240eec847f6223506788bf08f9f37f3cb12ab | 4,564 | BlueScreen | MIT License |
image-loader/src/androidMain/kotlin/com/seiko/imageloader/Image.android.kt | qdsfdhvh | 502,954,331 | false | null | package com.seiko.imageloader
import android.graphics.drawable.BitmapDrawable
import android.graphics.drawable.ColorDrawable
import android.graphics.drawable.Drawable
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.FilterQuality
import androidx.compose.ui.graphics.painter.ColorPainter
imp... | 8 | Kotlin | 4 | 90 | d9c86b3bb21817f1c0d2517dc2bebcd7ebf8642a | 849 | compose-imageloader | MIT License |
src/main/kotlin/com/ioannuwu/inline/domain/elements/MyGutterRenderer.kt | IoaNNUwU | 594,100,636 | false | null | package com.ioannuwu.inline.domain.elements
import com.intellij.openapi.editor.markup.GutterIconRenderer
import javax.swing.Icon
class MyGutterRenderer(private val icon: Icon) : GutterIconRenderer() {
override fun getIcon(): Icon = icon
override fun equals(other: Any?): Boolean {
if (this === other)... | 0 | Kotlin | 0 | 6 | daad0725a42495ee0c5b5733ed03e91fcb4ccbc0 | 498 | InLine | MIT License |
revcrm-server/src/main/kotlin/org/revcrm/graphql/fetchers/EntityMutationResult.kt | RevCRM | 78,327,204 | false | {"JavaScript": 1795259, "Kotlin": 243670, "TypeScript": 181730, "CSS": 40221, "HTML": 6649, "Dockerfile": 278, "Shell": 89} | package org.revcrm.graphql.fetchers
import org.revcrm.db.EntityValidationData
class EntityMutationResult<T>(
val result: T,
val validation: EntityValidationData
)
class EntityDeleteResult(
val result: Boolean,
val validation: EntityValidationData
) | 5 | JavaScript | 1 | 3 | 4e9682e0e6919ea59105adc9522084f91b2cfb50 | 267 | kotlin-prototype | Apache License 2.0 |
flowredux/src/main/java/com/chungha/flowredux/DefaultFlowReduxStore.kt | hoangchungk53qx1 | 607,042,483 | false | {"Kotlin": 178867} | package com.chungha.flowredux
import kotlin.coroutines.CoroutineContext
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.async
import kotlinx.coroutines.awaitAll
import kotlinx.coroutines.cancel
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.corouti... | 11 | Kotlin | 2 | 15 | 51673f6fcb32f61ba236fa83a8da1a2f3c0630ff | 2,544 | movie-preview | Apache License 2.0 |
platform/backend/core/src/main/kotlin/io/hamal/core/adapter/Request.kt | hamal-io | 622,870,037 | false | {"Kotlin": 2339776, "C": 1398561, "TypeScript": 307292, "Lua": 119439, "C++": 40661, "Makefile": 11728, "Java": 7564, "CMake": 2810, "JavaScript": 2640, "CSS": 1567, "Shell": 977, "HTML": 903} | package io.hamal.core.adapter
import io.hamal.lib.domain.request.Requested
import io.hamal.lib.domain.vo.RequestId
import io.hamal.repository.api.RequestQueryRepository
import org.springframework.stereotype.Component
interface RequestGetPort {
operator fun <T : Any> invoke(reqId: RequestId, responseHandler: (Req... | 33 | Kotlin | 0 | 0 | bf899fa80b23f04ab5cf0c431e5e37d3c1038491 | 1,041 | hamal | Creative Commons Zero v1.0 Universal |
src/test/kotlin/org/rooftop/netx/client/OrchestratorConfigurer.kt | devxb | 751,298,974 | false | {"Kotlin": 213627, "Java": 6010} | package org.rooftop.netx.client
import org.rooftop.netx.api.Orchestrate
import org.rooftop.netx.api.Orchestrator
import org.rooftop.netx.api.OrchestratorFactory
import org.springframework.context.annotation.Bean
import reactor.core.publisher.Mono
internal class OrchestratorConfigurer {
@Bean
fun sum3Orchestr... | 10 | Kotlin | 0 | 7 | 25a600cb1d5c316c324834a7a292e408a69bdfb8 | 1,143 | Netx | Apache License 2.0 |
src/main/kotlin/de/md5lukas/konfig/builtins/TypeAdapters.kt | Sytm | 624,592,164 | false | null | package de.md5lukas.konfig.builtins
import de.md5lukas.konfig.RegisteredTypeAdapter
import org.bukkit.configuration.ConfigurationSection
import kotlin.reflect.KClass
import kotlin.reflect.full.isSubclassOf
import kotlin.reflect.full.isSuperclassOf
internal object StringAdapter : RegisteredTypeAdapter.Static<String>(S... | 0 | Kotlin | 0 | 0 | 67730086d56792a79c09efac0da3cb9b86316b9a | 6,704 | spigot-konfig | MIT License |
src/main/kotlin/cn/labzen/web/source/beans.kt | labzen | 738,857,437 | false | {"Kotlin": 99843} | package cn.labzen.web.source
import cn.labzen.web.annotation.MappingVersion
import cn.labzen.web.meta.WebConfiguration
import com.google.common.collect.HashBiMap
import javassist.CtClass
import javassist.bytecode.ClassFile
import javassist.bytecode.ConstPool
/**
* Controller接口元信息
* @property configuration Labzen配置信... | 0 | Kotlin | 0 | 0 | 4eb645a4c6298593649375baa818dc2f0e2235e0 | 1,464 | web | Apache License 2.0 |
spinner/src/main/java/com/nestoleh/bottomsheetspinner/dialog/SpinnerBottomMenuCallback.kt | nestoleh | 297,949,263 | false | null | package com.nestoleh.bottomsheetspinner.dialog
/**
* Callback interface for spinner menu
*
* @author oleg.nestyuk
*/
internal interface SpinnerBottomMenuCallback {
fun onItemSelected(position: Int)
} | 0 | Kotlin | 4 | 25 | 3d5bebff5b9702a8bcc5a2e939db8024a46e0e83 | 208 | BottomSheet-Spinner | Apache License 2.0 |
app/src/main/java/cm/chettas/university/utils/Constants.kt | chetanmuliya | 602,011,553 | false | null | package cm.chettas.university.utils
object Constants {
public const val API_BASE_URL = "http://universities.hipolabs.com"
} | 0 | Kotlin | 0 | 0 | cc89a9391e8d91a32ee54a50c0c347f1d2e799fc | 128 | University | Apache License 2.0 |
app/src/main/java/com/coppel/preconfirmar/service/WebService.kt | Aguayo91 | 394,428,141 | false | null | package com.coppel.preconfirmar.service
import com.coppel.preconfirmar.application.AppConstants.CLIENT_ENTER
import com.coppel.preconfirmar.application.AppConstants.WS_MUEBLES
import com.coppel.preconfirmar.application.RxApplication
import com.coppel.preconfirmar.entities.*
import com.google.gson.GsonBuilder
import ok... | 0 | Kotlin | 0 | 0 | 17880cc61f72229b0b8ed8f87afa560877234097 | 18,678 | Christian | MIT License |
safeToRun/src/main/java/io/github/dllewellyn/safetorun/features/debug/AndroidIsDebuggable.kt | Safetorun | 274,838,056 | false | null | package com.safetorun.features.debug
import android.content.Context
internal class AndroidIsDebuggable(private val context: Context) : IsDebuggable {
override fun isDebuggable(): Boolean {
return context.isDebuggableCheck()
}
override fun isDebuggerAttached(): Boolean {
return isDebugger... | 9 | Kotlin | 0 | 8 | 501a06497485cb40c2b54f4d2a885fc34bcc1898 | 344 | safe_to_run | Apache License 2.0 |
v1_29/src/main/java/de/loosetie/k8s/dsl/impls/EventSeries.kt | loosetie | 283,145,621 | false | null | package de.loosetie.k8s.dsl.impls
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonPropertyOrder
import de.loosetie.k8s.dsl.K8sManifest
import de.loosetie.k8s.dsl.HasParent
import de.loosetie.k8s.dsl.manifests.*
@JsonPropertyOrder("count", "lastObservedTime")
open class E... | 0 | null | 0 | 2 | 57d56ab780bc3134c43377e647e7f0336a5f17de | 554 | k8s-dsl | Apache License 2.0 |
app/src/main/java/com/elementary/tasks/core/data/adapter/UiUsedTimeListAdapter.kt | naz013 | 165,067,747 | false | {"Kotlin": 2972212, "HTML": 20925} | package com.elementary.tasks.core.data.adapter
import com.elementary.tasks.core.data.models.UsedTime
import com.elementary.tasks.core.data.ui.UiUsedTimeList
class UiUsedTimeListAdapter {
fun convert(usedTime: UsedTime): UiUsedTimeList {
return UiUsedTimeList(
timeString = usedTime.timeString,
timeM... | 0 | Kotlin | 3 | 6 | f60a6b1f690b4e1becce00e5475b5bf684f99131 | 358 | reminder-kotlin | Apache License 2.0 |
composeApp/src/commonMain/kotlin/com/calvin/box/movie/media/ui/component/TimeDurationView.kt | lhzheng880828 | 834,021,637 | false | {"Kotlin": 1065610, "Java": 714479, "JavaScript": 198922, "Shell": 3042, "Ruby": 2141, "Batchfile": 1261, "Swift": 1155, "HTML": 334, "CSS": 102} | package com.calvin.box.movie.media.ui.component
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.Text
import androidx.compose.runt... | 0 | Kotlin | 1 | 2 | 249c604b984591a742389675325bb85d1c8c3786 | 1,612 | MovieBox | Apache License 2.0 |
app/src/main/java/androidx/samples/eventsplayground/OnboardingActivity.kt | JoseAlcerreca | 399,811,075 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | de6e6f274042355b11dd1e995fdcd19a13613bf5 | 4,202 | events-playground | Apache License 2.0 |
web-server/src/main/kotlin/me/devnatan/katan/webserver/websocket/handler/WebSocketServerHandler.kt | RafaelrainBR | 302,218,885 | true | {"Kotlin": 256721} | package me.devnatan.katan.webserver.websocket.handler
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.onCompletion
import kotlinx.coroutines.flow.onStart
import kotlinx.coroutines.launch
import me.devnatan.katan.api.Katan
import me.devnatan.katan.api.server.g... | 0 | Kotlin | 0 | 0 | da82dc0c94732304f7d82067e6c9bfe95b2460f4 | 2,372 | Katan | MIT License |
app/src/main/java/com/example/consultplus/view/ui/fragment/DoctorProfilFragment.kt | aouadimed | 562,307,266 | false | {"Kotlin": 143534} | package com.example.consultplus.view.ui.fragment
import android.content.Context
import android.os.Bundle
import android.util.Log
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.os.bundleOf
import androidx.fragment.app.... | 0 | Kotlin | 0 | 1 | 1e2f4711e4621a8f20e5740f2d264e3e798b4097 | 4,638 | Consult-Plus-App | MIT License |
feature/validator/src/main/java/com/uxstate/validator/CodePicker.kt | Tonnie-Dev | 518,721,038 | false | {"Kotlin": 129530} | package com.uxstate.validator
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.M... | 0 | Kotlin | 0 | 5 | 3e85b8d37c4931250c9722e0f45b2c76ce7c9b2a | 4,492 | CountriesPad | The Unlicense |
coroutines/src/commonMain/kotlin/dev/inmo/micro_utils/coroutines/WeakJob.kt | InsanusMokrassar | 295,712,640 | false | null | package dev.inmo.micro_utils.coroutines
import kotlinx.coroutines.*
import kotlin.coroutines.CoroutineContext
import kotlin.coroutines.EmptyCoroutineContext
private fun CoroutineScope.createWeakSubScope() = CoroutineScope(coroutineContext.minusKey(Job)).also { newScope ->
coroutineContext.job.invokeOnCompletion {... | 3 | Kotlin | 0 | 8 | ba16bad0293b087ab77e540109c946bebaabf6dd | 1,051 | MicroUtils | Apache License 2.0 |
videoplayer/src/main/java/net/intbird/soft/lib/video/player/main/VideoPlayerActivity.kt | intbird | 262,362,955 | false | null | package net.intbird.soft.lib.video.player.main
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import net.intbird.soft.lib.video.player.R
/**
* created by intbird
* on 2020/5/1
* DingTalk id: intbird
*
*/
open class VideoPlayerActivity : AppCompatActivity() {
... | 1 | Kotlin | 1 | 9 | 6282bf14680e77866fc04713e0088dbaeb75ec76 | 3,780 | VideoPlayerLib | Apache License 2.0 |
jetpack/src/main/java/io/github/caoshen/androidadvance/jetpack/mvvm/LifecycleExt.kt | caoshen | 290,115,293 | false | null | package io.github.caoshen.androidadvance.jetpack.mvvm
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.LiveData
import androidx.lifecycle.Observer
fun <T> LifecycleOwner.observe(liveData: LiveData<T>, observer: (t: T) -> Unit) {
liveData.observe(this, Observer {
it?.let {
t -... | 0 | Kotlin | 0 | 2 | b128cdd72dd81ef2bc3f3510f808f198196ef889 | 352 | AndroidAdvance | MIT License |
app/src/main/java/com/dev/composethingy/MainActivity.kt | zainkhalid91 | 806,094,847 | false | {"Kotlin": 22975} | package com.dev.composethingy
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import com.dev.composethingy.ui.theme.ComposeThingyTheme
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCre... | 0 | Kotlin | 0 | 1 | 05e5ab4afa35915f1a898d44fab2e64d27e0d65a | 748 | ComposeEverything | MIT License |
src/main/kotlin/com/self/learning/kotlin/controlstructures/Ranges.kt | ajit519 | 225,110,894 | false | null | package com.self.learning.kotlin.controlstructures
/**
* Kotlin have in keyword which is used for Range. It is used for two cases
* a. For iterating
* b. For check for belonging
*/
fun main() {
//For iterating
for (i in 'a'..'z') {
println(i)
}
//For checking
if ('i' in 'a'..'z') {
... | 0 | Kotlin | 0 | 0 | ea2b72e7f7caa05a7c9b77c69d58bc4b7c8831ce | 1,089 | Kotlin | Apache License 2.0 |
app/src/main/java/com/hushsbay/sendjay_aos/common/KeyChainDbHelper.kt | hushsbay | 744,259,754 | false | {"Kotlin": 189076} | package com.hushsbay.sendjay.common
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteOpenHelper
class KeyChainDbHelper(context: Context) : SQLiteOpenHelper(context, KeyChainProvider.DB_NAME, null, 1) {
override fun onCreate(db: SQLiteDatabase) {
... | 0 | Kotlin | 0 | 0 | 172aeadfaaadaf3f2a0ae44de5ca325d01022297 | 754 | sendjay_aos | MIT License |
Android/app/src/main/java/com/amrdeveloper/askme/net/AuthService.kt | hieuh0 | 350,631,921 | true | {"Kotlin": 154913, "JavaScript": 71355} | package com.amrdeveloper.askme.net
import com.amrdeveloper.askme.models.LoginData
import com.amrdeveloper.askme.models.RegisterData
import com.amrdeveloper.askme.models.SessionData
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.Headers
import retrofit2.http.POST
interface AuthService {
... | 0 | null | 0 | 0 | 0cf9fe595d991a152a55182300f04f4f0b895333 | 610 | Askme | MIT License |
サンプル/Camera1Kotlin-master/app/src/main/java/com/knight/cameraone/CircleButtonView.kt | choushou | 247,214,556 | false | null | package com.knight.cameraone
import android.animation.Animator
import android.animation.ValueAnimator
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.graphics.RectF
import android.os.Handler
... | 0 | Kotlin | 0 | 0 | 0eee7e7aa7afdd8cd65f5e1778a87ac8db42d6f0 | 9,993 | Android_Sample | Apache License 2.0 |
feature/books/src/main/java/com/githukudenis/comlib/feature/books/BooksViewModel.kt | DenisGithuku | 707,847,935 | false | {"Kotlin": 543193, "Java": 95753, "Roff": 12367} |
/*
* Copyright 2023 <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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... | 7 | Kotlin | 1 | 0 | 493d7da100074d74b9e3cac0204034c6b0a2989e | 7,594 | comlib-android-client | Apache License 2.0 |
app/src/main/java/com/lyvetech/cloudy/common/ui/compose/Shapes.kt | s12dar | 530,358,851 | false | {"Kotlin": 136150, "Ruby": 58} | package com.lyvetech.cloudy.common.ui.compose
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.runtime.Stable
import androidx.compose.ui.unit.dp
@Stable
val Shape32 = RoundedCornerShape(32.0.dp) | 3 | Kotlin | 8 | 35 | 905ea95788c15c48afea5b817551d19918dbb19c | 231 | cloudy | The Unlicense |
app/src/main/java/com/geode/launcher/MainActivity.kt | geode-sdk | 495,234,000 | false | {"Kotlin": 315657, "C++": 11054, "CMake": 1491} | package com.geode.launcher
import android.content.Intent
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.*
import androidx.compose... | 6 | Kotlin | 19 | 45 | b60c564173161894599aec8db237cde1ffb8a3cc | 10,076 | android-launcher | Boost Software License 1.0 |
src/test/kotlin/mixit/integration/StaffSpec.kt | darkstone | 78,289,260 | true | {"Kotlin": 49818, "Java": 9052, "HTML": 1627, "JavaScript": 1319, "CSS": 282} | package mixit.integration
import mixit.Application
import mixit.model.Staff
import mixit.support.getJson
import org.jetbrains.spek.api.dsl.describe
import org.jetbrains.spek.api.dsl.it
import org.jetbrains.spek.subject.SubjectSpek
import org.junit.Assert.assertEquals
import org.springframework.http.client.reactive.Rea... | 0 | Kotlin | 0 | 0 | 4d3d3bcfe051472788a087d52346d566eaecc6e7 | 1,676 | mixit | Apache License 2.0 |
libraries/arch/src/main/java/com/fappslab/libraries/arch/args/view/ActivityExtension.kt | F4bioo | 628,097,763 | false | null | package com.fappslab.libraries.arch.args.view
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Parcelable
import com.fappslab.libraries.arch.args.ArgsProperty
import com.fappslab.libraries.arch.args.KEY_ARGS
import kotlin.properties.ReadOnlyProperty
inline fun... | 0 | Kotlin | 0 | 0 | d3e0405eae2038ea13c352daa8bc976da85914a4 | 836 | faurecia-aptoide-challenge | MIT License |
app/src/main/java/com/example/presence/face_recognization/Liveness.kt | VipulChauhan89 | 814,128,613 | false | {"Kotlin": 151598} | package com.example.presence
import android.Manifest
import android.annotation.SuppressLint
import android.content.ContentValues.TAG
import android.content.Intent
import android.graphics.Outline
import android.graphics.PointF
import android.graphics.Rect
import android.os.Bundle
import android.util.Log
import android.... | 0 | Kotlin | 0 | 0 | f4852aa2c9cc33796366a4258a8043c56915a01c | 11,919 | Presence | Apache License 2.0 |
api/src/main/java/com/stocksexchange/api/model/rest/TransactionType.kt | nscoincommunity | 277,168,471 | true | {"Kotlin": 2814235} | package com.stocksexchange.api.model.rest
enum class TransactionType {
DEPOSITS,
WITHDRAWALS
} | 0 | null | 0 | 0 | 52766afab4f96506a2d9ed34bf3564b6de7af8c3 | 105 | Android-app | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.