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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
lib/src/test/kotlin/com/lemonappdev/konsist/api/ext/list/KoAnnotationProviderListExtTest.kt | LemonAppDev | 621,181,534 | false | {"Kotlin": 5054558, "Python": 46133} | package com.lemonappdev.konsist.api.ext.list
import com.lemonappdev.konsist.api.declaration.KoAnnotationDeclaration
import com.lemonappdev.konsist.api.provider.KoAnnotationProvider
import com.lemonappdev.konsist.testdata.SampleAnnotation1
import com.lemonappdev.konsist.testdata.SampleAnnotation2
import io.mockk.every
... | 6 | Kotlin | 27 | 1,141 | 696b67799655e2154447ab45f748e983d8bcc1b5 | 39,727 | konsist | Apache License 2.0 |
shared/src/commonMain/kotlin/com/lennartmoeller/ma/composemultiplatform/pages/CategoriesPage.kt | lennartmoeller | 706,576,031 | false | {"Kotlin": 58039, "Swift": 591, "Shell": 228} | package com.lennartmoeller.ma.composemultiplatform.pages
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material3.ListItem
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import com.lennartmoeller.ma.c... | 0 | Kotlin | 0 | 0 | ae4d472c5fcf2ab9190f8ff1839d5b2603cd10dc | 1,535 | ma-compose-multiplatform | Apache License 2.0 |
app/src/main/java/com/lacolinares/jetpicexpress/data/about/AboutToolsAndTech.kt | la-colinares | 393,771,090 | false | null | package com.lacolinares.jetpicexpress.data.about
data class AboutToolsAndTech(
val title: String = "",
val url: String = ""
)
| 0 | Kotlin | 2 | 9 | 0851b18928dda2fb27375eb01b88b5afb593ad20 | 135 | JetPicExpress | MIT License |
android/example/src/main/java/com/jd/hybrid/example/PerformanceJsBridge.kt | JDFED | 561,670,655 | false | null | /*
* MIT License
*
* Copyright (c) 2022 JD.com, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mod... | 0 | HTML | 9 | 89 | 81f3a37f1caf33f4196e140604aa91c4c92663a2 | 3,215 | JDHybrid | MIT License |
app/src/main/java/com/kagan/chatapp/di/RepositoryModule.kt | hnjm | 335,143,213 | false | {"Kotlin": 143707} | package com.kagan.chatapp.di
import com.kagan.chatapp.api.AuthenticationApi
import com.kagan.chatapp.api.ChatRoomsApi
import com.kagan.chatapp.api.MessageApi
import com.kagan.chatapp.api.UserApi
import com.kagan.chatapp.repositories.ChatRoomRepository
import com.kagan.chatapp.repositories.LoginRepository
import com.ka... | 0 | Kotlin | 0 | 1 | 0087c5a6d5daba19dd7a09c140891a79e0543edf | 1,169 | SimpleChat-Android | MIT License |
app/src/main/java/ren/imyan/kirby/ui/resources/ResFragment.kt | KirbyAssistant | 316,526,859 | false | null | package ren.imyan.kirby.ui.resources
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.lifecycle.ViewModelProvider
import androidx.recyclerview.widget.GridLayoutManager
import com.google.android.material.tabs.TabLayout
impor... | 0 | Kotlin | 0 | 2 | d2bfb15d59373646ab360d09dd8a16d22c9ca571 | 1,896 | Kirby_Assistant_New | MIT License |
mediator/src/main/kotlin/no/nav/dagpenger/saksbehandling/skjerming/SkjermingHttpKlient.kt | navikt | 571,475,339 | false | {"Kotlin": 515186, "PLpgSQL": 7983, "Mustache": 4238, "HTML": 699, "Dockerfile": 77} | package no.nav.dagpenger.saksbehandling.skjerming
import io.ktor.client.HttpClient
import io.ktor.client.engine.HttpClientEngine
import io.ktor.client.engine.cio.CIO
import io.ktor.client.request.accept
import io.ktor.client.request.header
import io.ktor.client.request.post
import io.ktor.client.request.setBody
import... | 3 | Kotlin | 0 | 0 | b47bab2848ac53b5e688c13c87dd6223d4add10d | 1,857 | dp-saksbehandling | MIT License |
app/src/main/java/cardosofgui/android/pokedexcompose/ui/SplashUiState.kt | CardosofGui | 609,740,815 | false | null | package cardosofgui.android.pokedexcompose.ui
import cardosofgui.android.core.components.utils.UIState
import cardosofgui.android.pokedexcompose.core.network.model.UserSettings
data class SplashUiState(
val isLoading: Boolean = false,
val user: UserSettings? = null,
val newUsername: String = "",
val h... | 0 | Kotlin | 0 | 1 | 67c081c7e0ba18bbb06dd736ffb41699defa3836 | 487 | pokedex-app-compose | MIT License |
playground/src/main/java/me/lincolnstuart/funblocks/playground/screens/components/form/input/TextAreaScreen.kt | LincolnStuart | 645,064,211 | false | null | package me.lincolnstuart.funblocks.playground.screens.components.form.input
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import cafe.adriel.voyager.cor... | 1 | Kotlin | 0 | 1 | a70b1c58fe60b4d70580e33578f8c20091da167d | 1,923 | fun-blocks | MIT License |
pickle/src/main/java/com/charlezz/pickle/fragments/detail/PickleDetailAdapter.kt | Charlezz | 324,989,624 | false | null | package com.charlezz.pickle.fragments.detail
import android.graphics.drawable.Drawable
import android.view.ViewGroup
import androidx.core.view.ViewCompat
import androidx.paging.PagingDataAdapter
import com.bumptech.glide.Glide
import com.bumptech.glide.load.DataSource
import com.bumptech.glide.load.engine.GlideExcepti... | 1 | Kotlin | 5 | 32 | eca75d5496f591b5f7c6a164a936ed3fb4d3c23e | 3,200 | Pickle | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/outline/designtools/Layers.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.outline.designtools
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Compa... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 9,026 | SolarIconSetAndroid | MIT License |
app/src/main/java/com/example/android/trackmysleepquality/viewmodels/SleepQualityViewModel.kt | DzmitreyDanilau | 222,431,403 | false | null | package com.example.android.trackmysleepquality.viewmodels
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.example.android.trackmysleepquality.database.SleepDatabaseDao
import kotlinx.coroutines.*
class SleepQualityViewModel(
private ... | 0 | Kotlin | 0 | 0 | 45c125b18a31e017de4b818c0d0342d214c428db | 1,196 | SleepQualityApp | Apache License 2.0 |
app/src/main/java/com/ricardojrsousa/movook/presentation/bookdetails/BookDetailsFragment.kt | RicardoRSousa | 246,833,387 | false | null | package com.ricardojrsousa.movook.presentation.bookdetails
import android.os.Build
import android.os.Bundle
import android.text.Html
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.viewModels
import androidx.lifecycle.Observer
import androidx.navig... | 0 | Kotlin | 0 | 0 | 5dc6dea7b0785f95409f9b32600e702c0abefa22 | 2,833 | Movook | The Unlicense |
app/src/main/java/com/imageloadingapp/data/remote/base/ApiState.kt | Shubhendra8449 | 790,004,826 | false | {"Kotlin": 25770} | package com.imageloadingapp.data.remote.base
data class ApiState<out T>(val status: Status, val data: T?, val errorModel: ErrorModel?) {
companion object {
// In case of Success,set status as
// Success and data as the response
fun <T> success(data: T?): ApiState<T> {
return A... | 0 | Kotlin | 0 | 0 | 547a138894fa79b896c6edb9ebcd92de6b74011f | 917 | Image_Loading_App_without_library | MIT License |
src/main/kotlin/com/github/pavponn/message/TransferMessage.kt | pavponn | 358,633,243 | false | null | package com.github.pavponn.message
import com.github.pavponn.transaction.Transaction
import com.github.pavponn.utils.Certificate
data class TransferMessage(val transaction: Transaction, val certificate: Certificate): Message
| 0 | Kotlin | 0 | 21 | f56b02cb1d335222fa6bfe84af30feb5d119cb0a | 227 | pastro | MIT License |
composeApp/src/commonMain/kotlin/com/carpisoft/guau/pet/domain/usecase/GetPetsByCenterIdWithPaginationAndSortUseCase.kt | wgcarvajal | 683,392,078 | false | {"Kotlin": 404670, "Swift": 1993, "Shell": 228} | package com.carpisoft.guau.pet.domain.usecase
import com.carpisoft.guau.core.network.domain.model.Resp
import com.carpisoft.guau.pet.domain.model.PetResp
import com.carpisoft.guau.pet.domain.port.PetPort
class GetPetsByCenterIdWithPaginationAndSortUseCase(private val petPort: PetPort) {
suspend operator fun invo... | 0 | Kotlin | 0 | 0 | 7971f12e4a2b2763eb23dbfca8b56fdddc6db37e | 628 | guau-multiplatform | Apache License 2.0 |
mosaic-runtime/src/commonTest/kotlin/com/jakewharton/mosaic/ui/ArrangementTest.kt | JakeWharton | 292,637,686 | false | {"Kotlin": 484366, "C++": 76018, "C": 22353, "Zig": 1779, "Shell": 1034} | package com.jakewharton.mosaic.ui
import assertk.assertThat
import assertk.assertions.isEqualTo
import kotlin.test.Test
class ArrangementTest {
@Test fun arrangementStart() {
testHorizontalArrangement(
actualArrangement = Arrangement.Start,
actualTotalSize = 140,
actualSizes = intArrayOf(20),
actualOut... | 27 | Kotlin | 57 | 1,912 | 3574b7b21bdee4f72c9f5b5eef0389cc8f9ddcfa | 8,518 | mosaic | Apache License 2.0 |
app/src/main/java/com/io/gazette/data/local/NewsDatabase.kt | efe-egbevwie | 475,847,896 | false | null | package com.io.gazette.data.local
import androidx.room.AutoMigration
import androidx.room.Database
import androidx.room.RenameTable
import androidx.room.RoomDatabase
import androidx.room.migration.AutoMigrationSpec
import com.io.gazette.data.local.dao.NewsDao
import com.io.gazette.data.local.model.NewsEntity
import co... | 0 | Kotlin | 1 | 0 | 0e552f8969bae45d04ded293ff3b01296e5090ef | 937 | Gazette | MIT License |
shared/src/main/java/de/loosetie/k8s/dsl/manifests/TypedLocalObjectReference.kt | loosetie | 283,145,621 | false | {"Kotlin": 12443871} | package de.loosetie.k8s.dsl.manifests
import de.loosetie.k8s.dsl.K8sTopLevel
import de.loosetie.k8s.dsl.K8sDslMarker
import de.loosetie.k8s.dsl.K8sManifest
import de.loosetie.k8s.dsl.HasMetadata
@K8sDslMarker
interface TypedLocalObjectReference_core_v1_k8s1_16: K8sManifest {
/** Kind is the type of resource b... | 0 | Kotlin | 0 | 1 | 3dd2d00220dbf71151d56b75b3bd7f26583b1fd3 | 1,217 | k8s-dsl | Apache License 2.0 |
core/designsystem/src/main/kotlin/com/najudoryeong/musicdo/core/designsystem/componenet/Button.kt | KDW03 | 719,372,791 | false | {"Kotlin": 402221} | /*
* Copyright 2023 KDW03
*
* 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 wr... | 0 | Kotlin | 0 | 0 | 8df70536a8e6e8cf781dbe8584ddadf83152e2ed | 4,651 | MusicDo | Apache License 2.0 |
app/src/test/java/com/masrofy/filterDate/WeeklyDateFilterTest.kt | salmanA169 | 589,714,976 | false | null | package com.masrofy.filterDate
import com.google.common.collect.ImmutableMultimap
import com.google.common.truth.Truth
import com.masrofy.data.entity.TransactionEntity
import com.masrofy.model.TransactionCategory
import com.masrofy.model.TransactionType
import com.masrofy.screens.mainScreen.DateEvent
import org.junit.... | 2 | Kotlin | 0 | 9 | fb671fc1e2c628fb467bca9d3109799b3e1d43f2 | 2,566 | masrofy | Apache License 2.0 |
app/src/main/java/com/hunabsys/gamezone/models/daos/PrizeDao.kt | HiperSoft | 324,049,960 | false | null | package com.hunabsys.gamezone.models.daos
import android.util.Log
import com.hunabsys.gamezone.models.datamodels.Prize
import io.realm.Realm
import io.realm.RealmResults
import io.realm.Sort
/**
* Prize model
* Created by <NAME> on 23/07/2018
*/
class PrizeDao {
private val tag = PrizeDao::class.simpleName
... | 0 | Kotlin | 0 | 0 | fab0ef038d84595df86cf480ed581c84b4272073 | 4,929 | AppGameZone | MIT License |
src/main/kotlin/com/kneelawk/wiredredstone/node/WRBlockNodes.kt | Kneelawk | 443,064,933 | false | null | package com.kneelawk.wiredredstone.node
import com.kneelawk.graphlib.GraphLib
import com.kneelawk.wiredredstone.WRConstants.id
import net.minecraft.util.registry.Registry
object WRBlockNodes {
val RED_ALLOY_WIRE_ID = id("red_alloy_wire")
val INSULATED_WIRE_ID = id("insulated_wire")
val BUNDLED_CABLE_ID = ... | 5 | Kotlin | 3 | 9 | b7e0ca88e8654dea9f52853f6c502f23285b5010 | 1,952 | WiredRedstone | MIT License |
app/src/main/java/tech/sonle/barcodescanner/feature/tabs/create/BaseCreateBarcodeFragment.kt | sonlenef | 492,779,126 | false | {"Kotlin": 364958, "Java": 17337} | package tech.sonle.barcodescanner.feature.tabs.create
import androidx.fragment.app.Fragment
import tech.sonle.barcodescanner.extension.*
import tech.sonle.barcodescanner.model.Contact
import tech.sonle.barcodescanner.model.schema.Other
import tech.sonle.barcodescanner.model.schema.Schema
abstract class BaseCreateBarc... | 0 | Kotlin | 0 | 0 | f624f51868cfd42c71dc2f615d1f1116785776ef | 728 | QrAndBarcodeScanner | The Unlicense |
core-data/src/main/java/edts/base/android/core_data/RemoteConfig.kt | abahadilah | 651,759,726 | false | null | package edts.base.android.core_data
import com.google.firebase.remoteconfig.FirebaseRemoteConfig
object RemoteConfig {
fun getOtpInterval() = FirebaseRemoteConfig.getInstance().getLong("otp_interval")
fun getBankList() = FirebaseRemoteConfig.getInstance().getString("bank_list")
fun getLatitude() = Firebas... | 0 | Kotlin | 0 | 0 | 9d97e941f3dd0b99127dee9218c4c78056f10c52 | 455 | jgo | MIT License |
solar/src/main/java/com/chiksmedina/solar/broken/money/Card.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.broken.money
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.Round
import androidx.compose.ui.graphics.StrokeJoin.Companion.M... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 3,133 | SolarIconSetAndroid | MIT License |
feature/wallet/src/main/kotlin/ru/resodostudios/cashsense/feature/wallet/WalletDialog.kt | f33lnothin9 | 674,320,726 | false | {"Kotlin": 200002} | package ru.resodostudios.cashsense.feature.wallet
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.foundation.verticalScroll
impor... | 0 | Kotlin | 0 | 1 | 7fb8aba2342579e81a52d0fc43008cb1b5824ae9 | 7,332 | cashsense | Apache License 2.0 |
libdownmark/src/commonMain/kotlin/net/sergeych/downmark/CharSource.kt | sergeych | 783,416,534 | false | {"Kotlin": 55430} | package net.sergeych.downmark
class CharSource(private val text: String) {
inner class Mark() {
val startPosition = pos()
fun rewind() {
resetTo(startPosition)
}
fun createError(text: String): SyntaxError =
SyntaxError(startPosition, text)
}
fun ... | 2 | Kotlin | 0 | 0 | c2368f81e42351b1f3a21575fcd5101a05b272b9 | 9,364 | libdownmark | Apache License 2.0 |
app/src/main/java/com/anafthdev/musicompose2/feature/artist/artist_list/ArtistListViewModel.kt | kafri8889 | 509,012,286 | false | {"Kotlin": 356863} | package com.anafthdev.musicompose2.feature.artist.artist_list
import androidx.lifecycle.viewModelScope
import com.anafthdev.musicompose2.feature.artist.artist_list.environment.IArtistListEnvironment
import com.anafthdev.musicompose2.foundation.viewmodel.StatefulViewModel
import dagger.hilt.android.lifecycle.HiltViewMo... | 3 | Kotlin | 8 | 40 | fa8c356aa2967228b91dc68ef99c395be22b73fb | 845 | Musicompose-V2 | Do What The F*ck You Want To Public License |
app/src/main/java/com/nilhcem/blenamebadge/adapter/MainPagerAdapter.kt | ShridharGoel | 174,675,238 | true | {"Kotlin": 97167, "Shell": 2629} | package com.nilhcem.blenamebadge.adapter
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.FragmentStatePagerAdapter
class MainPagerAdapter(fragmentManager: FragmentManager, private val fragments: List<Fragment>) :
FragmentStatePagerAdapter(fragmentMan... | 0 | Kotlin | 0 | 0 | c11d464c9ecd641eecefca7f23cb1591cded66a7 | 495 | badge-magic-android | Apache License 2.0 |
services/hanke-service/src/main/kotlin/fi/hel/haitaton/hanke/attachment/azure/AzureContainerServiceClient.kt | City-of-Helsinki | 300,534,352 | false | {"Kotlin": 1853898, "Mustache": 92562, "Shell": 23444, "Batchfile": 5169, "PLpgSQL": 1115, "Dockerfile": 371} | package fi.hel.haitaton.hanke.attachment.azure
import com.azure.identity.DefaultAzureCredentialBuilder
import com.azure.storage.blob.BlobServiceClient
import com.azure.storage.blob.BlobServiceClientBuilder
import kotlin.reflect.full.memberProperties
import mu.KotlinLogging
import org.springframework.beans.factory.anno... | 9 | Kotlin | 5 | 4 | f0e319fafa2706e7fb5b4a3ad406935a9e59a38d | 2,046 | haitaton-backend | MIT License |
app/src/main/java/com/example/libbit/util/AuthenticationManager.kt | EcasLai | 751,912,905 | false | {"Kotlin": 130129} | package com.example.libbit.util
import androidx.navigation.NavController
import com.example.libbit.R
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.FirebaseUser
object AuthenticationManager {
private lateinit var auth: FirebaseAuth
init {
auth = FirebaseAuth.getInstance(... | 0 | Kotlin | 0 | 1 | caab273c63790a3e5ae569eb360c5a573d6e054b | 2,895 | Libbit | MIT License |
src/main/kotlin/me/centralhardware/znatoki/telegram/statistic/entity/Services.kt | centralhardware | 867,806,349 | false | {"Kotlin": 126182, "Dockerfile": 572} | package me.centralhardware.znatoki.telegram.statistic.entity
import kotliquery.Row
import me.centralhardware.znatoki.telegram.statistic.eav.Property
data class Services(
var id: Long,
var key: String,
var name: String,
var allowMultiplyClients: Boolean,
var properties: List<Property> = listOf()
)
... | 0 | Kotlin | 0 | 0 | b822eb63092ee035ae657928b34aa4f56effcca2 | 438 | StudyCenterStatistic | MIT License |
src/main/kotlin/com/jacobtread/alto/utils/nbt/NBTBase.kt | AltoClient | 449,599,250 | false | {"Kotlin": 157065} | package com.jacobtread.alto.utils.nbt
import com.jacobtread.alto.utils.nbt.types.NBTCompound
import com.jacobtread.alto.utils.nbt.types.*
import java.io.DataInput
import java.io.DataOutput
import java.io.IOException
const val END: Byte = 0
const val BYTE: Byte = 1
const val SHORT: Byte = 2
const val INT: Byte = 3
con... | 0 | Kotlin | 0 | 1 | ea9410cff59a810edcff0b782f362b73f1c9825f | 1,882 | Utilities | MIT License |
app/src/main/java/com/grevi/aywapet/ui/viewmodel/ProfileViewModel.kt | tomorisakura | 331,615,264 | false | null | package com.grevi.aywapet.ui.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.grevi.aywapet.db.entity.Users
import com.grevi.aywapet.repository.RepositoryImpl
import com.grevi.aywapet.utils.State
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutin... | 0 | Kotlin | 0 | 1 | 8afb8d57ae1f1cff4da9f638b1eb2b00e89d75cb | 1,197 | aywa-pet | MIT License |
app/src/main/java/com/mrostami/geckoincompose/domain/usecases/SimplePriceUseCase.kt | MosRos | 639,811,989 | false | null | package com.mrostami.geckoincompose.domain.usecases
import com.mrostami.geckoincompose.domain.CoinDetailsRepository
import com.mrostami.geckoincompose.domain.base.FlowUseCase
import com.mrostami.geckoincompose.domain.base.Result
import com.mrostami.geckoincompose.model.SimplePriceInfo
import kotlinx.coroutines.Dispatc... | 0 | Kotlin | 5 | 17 | 8e396051f6acc17fa2eba8745285fdf800832c60 | 756 | Geckoin-Compose | Apache License 2.0 |
app/src/main/java/io/github/dnloop/noteapp/data/TagDao.kt | dnloop | 291,766,075 | false | null | package io.github.dnloop.noteapp.data
import androidx.lifecycle.LiveData
import androidx.room.*
@Dao
abstract class TagDao {
/**
* Adds a new Tag
*
* @param tag new tag value to write
*/
@Insert
abstract fun insert(tag: Tag): Long
/**
* Adds a List of Tags
* @param tag... | 0 | Kotlin | 0 | 1 | 0ee1d817651292336b7846c0dec79fb3f21410d7 | 1,989 | NoteApp | MIT License |
core/model/src/commonMain/kotlin/com/cdcoding/model/solana/SolanaPrioritizationFee.kt | Christophe-DC | 822,562,468 | false | {"Kotlin": 728291, "Ruby": 4739, "Swift": 617} | package com.cdcoding.model.solana
import kotlinx.serialization.Serializable
@Serializable
data class SolanaPrioritizationFee (
val prioritizationFee: Int
)
| 0 | Kotlin | 0 | 0 | e8bff388ccebb64e6810d62a1ea4dddfabe83c71 | 160 | secureWallet | Apache License 2.0 |
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/account/objects/PushSettings.kt | Anton3 | 159,801,334 | true | {"Kotlin": 1382186} | @file:Suppress("unused", "SpellCheckingInspection")
package name.anton3.vkapi.generated.account.objects
import name.anton3.vkapi.vktypes.BoolInt
/**
* No description
*
* @property disabled Information whether notifications are disabled
* @property disabledUntil Time until that notifications are disabled in Unixt... | 2 | Kotlin | 0 | 8 | 773c89751c4382a42f556b6d3c247f83aabec625 | 593 | kotlin-vk-api | MIT License |
src/main/kotlin/thuan/handsome/core/utils/Logger.kt | duckladydinh | 227,356,261 | false | {"Fortran": 148795, "Kotlin": 70813, "C": 5608, "Makefile": 1992, "SWIG": 381, "Shell": 257} | package thuan.handsome.core.utils
import com.google.common.flogger.FluentLogger
import com.google.common.flogger.LoggerConfig
import java.util.logging.ConsoleHandler
import java.util.logging.Level.INFO as LEVEL
class Logger {
companion object {
private val FLOGGER = FluentLogger.forEnclosingClass()!!
... | 0 | Fortran | 0 | 0 | e3f3777734a08758734ef645ea5b53e03c31e278 | 816 | KotlinML | MIT License |
common/list-api/src/commonMain/kotlin/com/a_blekot/shlokas/common/list_api/ListState.kt | a-blekot | 522,545,932 | false | null | package com.a_blekot.shlokas.common.list_api
import com.a_blekot.shlokas.common.data.ListConfig
import com.arkivanov.essenty.parcelable.Parcelable
import com.arkivanov.essenty.parcelable.Parcelize
@Parcelize
data class ListState(
val config: ListConfig,
val availableLists: List<ListPresentation> = emptyList()... | 0 | Kotlin | 0 | 2 | 3f281ac4c5d7d2593b85c9ed1bb656ea8b34f9f1 | 486 | memorize_shloka | Apache License 2.0 |
src/test/kotlin/com/grudus/planshboard/utils/MockitoUtils.kt | grudus | 115,259,708 | false | null | package com.grudus.planshboard.utils
import org.mockito.ArgumentMatchers
fun <T : Any> safeEq(value: T): T = ArgumentMatchers.eq(value) ?: value
| 0 | Kotlin | 0 | 1 | 1b9fd909a75d5b0883e8ff39be9aa299bf0ff3ff | 147 | Planshboard | Apache License 2.0 |
src/main/kotlin/net/jspiner/epubstream/parser/NcxParser.kt | JSpiner | 148,455,163 | false | {"HTML": 406789, "Kotlin": 44995, "CSS": 33288} | package net.jspiner.epubstream.parser
import net.jspiner.epubstream.dto.Ncx
import net.jspiner.epubstream.evaluateNode
import net.jspiner.epubstream.evaluateNodeList
import org.w3c.dom.Document
fun parseNcx(document: Document, tocPath: String): Ncx {
return Ncx(
parseHead(evaluateNodeList(document, "/ncx/... | 0 | HTML | 2 | 4 | 1b09c36c87c68f535634d7571a361f3725687943 | 512 | epub-stream | MIT License |
src/main/kotlin/views/FilterPanel.kt | kirilenkobm | 668,817,148 | false | null | package views
import state.AppState
import java.awt.BorderLayout
import java.awt.Color
import java.awt.Dimension
import javax.swing.BorderFactory
import javax.swing.JButton
import javax.swing.JPanel
import javax.swing.JTextField
import javax.swing.event.DocumentEvent
import javax.swing.event.DocumentListener
// TODO... | 0 | Kotlin | 0 | 0 | f12dc4ad0a0f3783b86b3e5b27020eb9abc2206b | 2,444 | DirExplorer | Apache License 2.0 |
src/jsMain/kotlin/three/TorusKnotGeometry.module_three.kt | baaahs | 174,897,412 | false | {"Kotlin": 3355751, "C": 1529197, "C++": 661364, "GLSL": 412680, "JavaScript": 62186, "HTML": 55088, "CMake": 30499, "CSS": 4340, "Shell": 2381, "Python": 1450} | @file:JsModule("three")
@file:JsNonModule
@file:Suppress("PackageDirectoryMismatch")
package three.js
external interface `T$30` {
var radius: Number
var tube: Number
var tubularSegments: Number
var radialSegments: Number
var p: Number
var q: Number
}
open external class TorusKnotGeometry(radiu... | 113 | Kotlin | 12 | 40 | 4dd92e5859d743ed7186caa55409f676d6408c95 | 612 | sparklemotion | MIT License |
src/commonTest/kotlin/TestGateway.kt | andylamax | 244,281,735 | false | null | import tz.co.asoft.email.Email
import tz.co.asoft.email.entities.EmailMessage
import tz.co.asoft.email.gateway.IEmailGateway
import tz.co.asoft.io.File
import tz.co.asoft.persist.repo.IRepo
class TestGateway(override val repo: IRepo<EmailMessage>) : IEmailGateway {
override suspend fun send(sender: String, receive... | 0 | Kotlin | 0 | 0 | e3e93445cb76fdc501840146febf43c537bc26e2 | 833 | asoft-email-gateway | The Unlicense |
sora-editor/src/main/java/com/bluewhaleyt/sora_editor/CustomCompletionAdapter.kt | BlueWhaleYT | 665,099,127 | false | null | package com.bluewhaleyt.sora_editor
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import com.bluewhaleyt.common.common.getLayoutInflater
import com.bluewhaleyt.common.common.px
import io.github.rosemoe.sora.widget.component.EditorCompletionAdapter... | 0 | Kotlin | 0 | 1 | 24cad14d625908cb4d22a73e9ce07db40327d346 | 1,604 | WhaleUtils | MIT License |
app/src/main/java/com/kiyotaka/jetpackdemo/common/BaseApplication.kt | Zzy9797 | 347,554,269 | false | null | package com.kiyotaka.jetpackdemo.common
import android.app.Application
import android.content.Context
open class BaseApplication : Application() {
override fun onCreate() {
super.onCreate()
context = this
}
companion object {
lateinit var context: Context
}
} | 0 | Kotlin | 0 | 0 | 74007e514212d26a91ec4081345311cb9bd5626e | 302 | projectVideo | Apache License 2.0 |
app/src/main/java/com/frafio/myfinance/utils/SharedPreferencesUtils.kt | francescofiorella | 360,818,457 | false | {"Kotlin": 200994} | package com.frafio.myfinance.utils
import android.content.SharedPreferences
import com.frafio.myfinance.MyFinanceApplication.Companion.DYNAMIC_COLOR_KEY
import com.frafio.myfinance.MyFinanceApplication.Companion.MONTHLY_BUDGET_KEY
fun getSharedDynamicColor(sharedPreferences: SharedPreferences): Boolean {
return s... | 0 | Kotlin | 0 | 1 | ba666bca8e75cc9fed1fd798e8e91b0b006f963a | 861 | MyFinance | MIT License |
code-challenge-solution/CreateAccountViewModel.kt | droidcon-academy | 630,766,635 | false | null | package com.droidcon.formvalidation.createaccount
import androidx.lifecycle.ViewModel
import com.droidcon.formvalidation.createaccount.validation.CreateAccountParams
import com.droidcon.formvalidation.createaccount.validation.ValidatorFactory
import com.droidcon.formvalidation.validator.InputValidator
import kotlinx.c... | 0 | Kotlin | 0 | 0 | 32390e575b4190d1d760bc8d74bf857b7c4b65fa | 2,417 | cbc-android-form-validation-compose-study-materials | Apache License 2.0 |
app/src/main/java/pl/polsl/workflow/manager/client/model/mapper/UserMapper.kt | SzymonGajdzica | 306,075,061 | false | null | package pl.polsl.workflow.manager.client.model.mapper
import pl.polsl.workflow.manager.client.model.data.Role
import pl.polsl.workflow.manager.client.model.data.User
import pl.polsl.workflow.manager.client.model.data.UserPatch
import pl.polsl.workflow.manager.client.model.data.UserPost
import pl.polsl.workflow.manager... | 0 | Kotlin | 0 | 0 | 93c99cc67c7af0bc55ca8fb03f077cdd363cb7e8 | 970 | workflow-manager-client | MIT License |
app/src/main/java/com/example/bookworms/activities/LoginActivity.kt | JosephOri | 804,031,334 | false | {"Kotlin": 57005} | package com.example.bookworms.activities
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.Button
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.example.bookworms.R
import ... | 0 | Kotlin | 0 | 0 | 07bbdb145312800adf0be373c4580af600ef0de3 | 3,484 | BookWorms | MIT License |
customer/src/main/java/com/kukus/customer/message/ActivityMessage.kt | anas-abdrahman | 457,402,197 | false | {"Kotlin": 745237, "Java": 79801} | package com.kukus.customer.message
import android.annotation.SuppressLint
import android.app.FragmentTransaction
import android.graphics.Color
import android.os.Bundle
import android.os.Handler
import android.support.constraint.ConstraintLayout
import android.support.v7.app.AppCompatActivity
import android.text.format... | 0 | Kotlin | 0 | 0 | a5961fd9c4061246c94c603ea5027f82934b59e8 | 5,215 | food-order-and-delivery | MIT License |
prj-common/src/jsMain/kotlin/keyboard/HotkeyHandler.kt | simonegiacomelli | 473,571,649 | false | {"Kotlin": 328273, "HTML": 123796, "TSQL": 4632, "CSS": 1467, "Shell": 301} | package keyboard
import kotlinx.browser.window
import org.w3c.dom.events.Event
import org.w3c.dom.events.EventTarget
import org.w3c.dom.events.KeyboardEvent
val HotkeyWindow by lazy { Hotkey(window) }
fun Hotkey(element: EventTarget, log_prefix: String? = null) =
HotkeyHandler({ element.addEventListener("keydown... | 0 | Kotlin | 1 | 0 | e31569d68eeea3ec732fcc3d27f0cdf66836c951 | 1,477 | kotlin-mpp-starter | Apache License 2.0 |
app/src/main/kotlin/com/alish/boilerplate/di/RepositoriesModule.kt | TheAlisher | 338,914,674 | false | {"Kotlin": 68634} | package com.alish.boilerplate.di
import com.alish.boilerplate.data.repositories.FooRepositoryImpl
import com.alish.boilerplate.domain.repositories.FooRepository
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
@Module
@InstallIn(SingletonComponent:... | 0 | Kotlin | 9 | 54 | 474de0d5f8e5f116f68cdb71753badd5d26cbf36 | 476 | Boilerplate-Android | Apache License 2.0 |
src/test/kotlin/io/opengood/data/jpa/provider/MatchAllDataProviderTest.kt | opengoodio | 372,639,748 | false | null | package io.opengood.data.jpa.provider
import data.MatchAllDataProviderTestInput
import io.opengood.data.jpa.provider.support.AbstractDataProviderTest
import org.springframework.beans.factory.annotation.Autowired
class MatchAllDataProviderTest(@Autowired override val testInput: MatchAllDataProviderTestInput) :
Abs... | 0 | Kotlin | 0 | 0 | f1402d3043cf12f006d448646a6078299939d8b3 | 344 | jpa-data-provider | MIT License |
app/src/main/java/com/tis/jetpackcompose_twitter/presentation/screens/main/MainActivity.kt | Tislami | 621,755,359 | false | null | package com.tis.jetpackcompose_twitter.presentation.screens.main
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import com.tis.jetpackcompose_twitter.presentation.ui.theme.JetpackCompose_TwitterTheme
import dagger.hilt.android.AndroidEntryPoint
@Androi... | 0 | Kotlin | 0 | 0 | 75abf8c998bb04e6c863155fc1b9f7b76c3c869d | 602 | JetpackCompose_Twitter | MIT License |
misk/src/main/kotlin/misk/web/extractors/FormValueFeatureBinding.kt | cashapp | 113,107,217 | false | {"Kotlin": 3843790, "TypeScript": 232251, "Java": 83564, "JavaScript": 5073, "Shell": 3462, "HTML": 1536, "CSS": 58} | package misk.web.extractors
import misk.Action
import misk.web.FeatureBinding
import misk.web.FeatureBinding.Claimer
import misk.web.FeatureBinding.Subject
import misk.web.FormValue
import misk.web.PathPattern
import kotlin.reflect.KClass
import kotlin.reflect.KParameter
/** Binds parameters annotated [FormValue] to ... | 169 | Kotlin | 169 | 400 | 13dcba0c4e69cc2856021270c99857e7e91af27d | 1,337 | misk | Apache License 2.0 |
app/src/main/java/com/example/moviebrowser/rView/TvAdapter.kt | HeartArmy | 544,012,842 | false | {"Kotlin": 16180} | package com.example.moviebrowser.rView
class TvAdapter {
} | 0 | Kotlin | 0 | 0 | 536c527131c3ab9f61dbb1c70a0a9dd245b270ae | 59 | MovieBrowser | Apache License 2.0 |
conductor-dagger-sample-moshi/src/main/java/com/jshvarts/mosbymvp/domain/GithubRepo.kt | jshvarts | 111,547,727 | false | null | package com.jshvarts.mosbymvp.domain
import android.os.Parcelable
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import kotlinx.android.parcel.Parcelize
@Parcelize
@JsonClass(generateAdapter = true)
data class GithubRepo(
val name: String,
val owner: Owner,
@Json(name = "st... | 1 | Kotlin | 6 | 28 | b982ee2683d8585c35090a1b9acb5ffaa61c0dd9 | 365 | MosbyMVP | Apache License 2.0 |
src/test/kotlin/elementaryMath/Summation.kt | cia-exe | 331,877,092 | false | null | package elementaryMath
import TimingExtension
import TreeNode
import getMethodName
import log
import org.junit.jupiter.api.*
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.junit.jupiter.api.TestMethodOrder
import org.junit.jupiter.api.MethodOrderer.OrderAnnotation
@Exte... | 0 | Kotlin | 0 | 0 | 5e5731c1ca55c68eb40722c035d2d9e28c190281 | 5,803 | LeetCode | Apache License 2.0 |
src/main/kotlin/br/com/zup/core/models/EmailPixRepository.kt | adamcoutinho | 346,365,687 | true | {"Kotlin": 54596} | package br.com.zup.core.models
import io.micronaut.context.annotation.Executable
import io.micronaut.data.annotation.Repository
import io.micronaut.data.repository.CrudRepository
@Repository
interface EmailPixRepository:CrudRepository<EmailPix,Long> {
@Executable
fun find(email:String?): EmailPix
@Execu... | 0 | Kotlin | 0 | 0 | deafa17195e774fce38de063bd12f42d075cf465 | 584 | orange-talents-01-template-pix-keymanager-grpc | Apache License 2.0 |
feature-twitch/src/main/java/com/freshdigitable/yttt/feature/oauth/TwitchOauthViewModel.kt | akihito104 | 613,290,086 | false | {"Kotlin": 326612} | package com.freshdigitable.yttt.feature.oauth
import android.content.Intent
import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.liveData
import androidx.lifecycle.viewModelScope
import com.freshdigitable.yttt.LaunchAppWithUrlUseCase
import com.freshdigitable.yttt.data.Accou... | 11 | Kotlin | 0 | 0 | 77ba852966c0bdfd1e95c3f92644e25c6f7a0780 | 2,112 | yttt | Apache License 2.0 |
app/src/main/java/com/precopia/rxtracker/util/IUtilThemeContract.kt | DavidPrecopia | 243,413,607 | false | null | package com.precopia.rxtracker.util
interface IUtilThemeContract {
fun isNightModeEnabled(): Boolean
fun setFollowSystem()
}
| 0 | Kotlin | 0 | 0 | 4209c7c951820f91b84e184415e4cba2ac986018 | 135 | RxTracker | Apache License 2.0 |
shedinja-test/src/main/kotlin/guru/zoroark/shedinja/test/check/ShedinjaCheck.kt | utybo | 366,171,592 | false | null | package guru.zoroark.shedinja.test.check
import guru.zoroark.shedinja.ShedinjaException
import guru.zoroark.shedinja.dsl.ShedinjaDsl
import guru.zoroark.shedinja.environment.InjectableModule
/**
* Exception type for check failures (i.e. when a check is not met).
*/
class ShedinjaCheckException(message: String) : Sh... | 6 | Kotlin | 0 | 4 | d28e22d79fe6e4e36a729198efcd1f9b9c995c42 | 2,740 | Shedinja | MIT License |
app/src/test/java/com/example/clean_todo_list/business/interactors/splash/SyncTasksTest.kt | mahdi-hosseinnion | 385,271,323 | false | null | package com.example.clean_todo_list.business.interactors.splash
import com.example.clean_todo_list.business.data.cache.abstraction.TaskCacheDataSource
import com.example.clean_todo_list.business.data.network.task.abstraction.TaskNetworkDataSource
import com.example.clean_todo_list.business.domain.model.Task
import com... | 0 | Kotlin | 0 | 1 | 1cacea50e3463491ada90d034d253ac5502deb03 | 9,189 | Clean-ToDo_List | MIT License |
app/src/main/java/com/example/movieapp/ui/MovieDetailFragment.kt | prshntpnwr | 184,299,458 | false | null | package com.example.movieapp.ui
import android.os.Bundle
import android.view.LayoutInflater
import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingComponent
import androidx.da... | 0 | Kotlin | 0 | 0 | ec97acfe66f7a8f38e323ad0e3b50a3c421afa51 | 3,964 | MovieApp | Apache License 2.0 |
logic-common/src/main/kotlin/io/lonmstalker/springkube/utils/RequestUtils.kt | lonmstalker | 634,331,522 | false | null | package io.lonmstalker.springkube.utils
import io.lonmstalker.springkube.model.system.RequestContext
import kotlinx.coroutines.reactive.awaitFirstOrNull
import reactor.core.publisher.Mono
object RequestUtils {
@JvmStatic
suspend fun getSuspendContext(): RequestContext? =
this
.getContext(... | 0 | Kotlin | 0 | 0 | d94bd56bf4d4ce5e5163840f369eba993431a10a | 508 | spring-kube | Apache License 2.0 |
composeApp/src/commonMain/kotlin/com/jetbrains/bs23_kmp/screens/list/ListViewModel.kt | TahsinBS1531 | 854,998,729 | false | {"Kotlin": 95847, "Swift": 685} | package com.jetbrains.bs23_kmp.screens.list
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.jetbrains.bs23_kmp.data.MuseumObject
import com.jetbrains.bs23_kmp.data.MuseumRepository
import kotlinx.coroutines.flow.SharingStarted
import kotlinx.coroutines.flow.StateFlow
import kotl... | 0 | Kotlin | 0 | 1 | 422e788c2a35fa2c7572f2323dd234766378acbb | 598 | BS23-KMP | Apache License 2.0 |
app/src/main/java/com/prongbang/asl/MainApplication.kt | prongbang | 301,809,635 | false | null | package com.prongbang.aslprocessor
import android.app.Application
import com.prongbang.aslprocessor.annotation.AndroidSheetLocalization
@AndroidSheetLocalization(
sheetId = "0",
documentId = "1_97CuyDyVD28ICV_hBGDEdwKGuIokE1egeNlVJn08Tc",
enabled = true
)
class MainApplication : Application() | 0 | null | 1 | 4 | 875eb461cc8ea7197476128b198e239f7c2744b6 | 301 | android-sheet-localization | MIT License |
src/model/index.kt | Olegoria3538 | 431,102,676 | false | null | package GUISamples.features.nodes.model
import GUISamples.features.nodes.`@core`.*
import javafx.scene.layout.AnchorPane
val mainRoot = AnchorPane()
val graphs = mutableMapOf<CoreNode, MutableMap<CoreNode, String>>();
val lines = mutableMapOf<CoreNode, MutableSet<BoundLine>>();
class CreateSelectNode {
var node... | 0 | Kotlin | 0 | 0 | b1a6bd50b03fa7b8f8819f63a0cba6c2898c0a2e | 3,246 | node-editor | MIT License |
bitlap-core/src/test/kotlin/org/bitlap/core/test/base/SqlChecker.kt | bitlap | 313,535,150 | false | null | /* Copyright (c) 2023 bitlap.org */
package org.bitlap.core.test.base
import io.kotest.assertions.Actual
import io.kotest.assertions.Expected
import io.kotest.assertions.failure
import io.kotest.assertions.print.print
import io.kotest.matchers.shouldBe
import org.bitlap.common.utils.SqlEx.toTable
import org.bitlap.com... | 12 | Kotlin | 1 | 20 | bcefec0b601fe0370dd2b6d599668cbc7e3375e6 | 2,177 | bitlap | MIT License |
aoc-archetype/src/main/resources/archetype-resources/src/test/kotlin/days/Day03Test.kt | JStege1206 | 92,714,900 | false | null | package ${package}.days
import nl.jstege.adventofcode.aoccommon.utils.DayTester
class Day03Test : DayTester(Day03())
| 0 | Kotlin | 0 | 0 | d48f7f98c4c5c59e2a2dfff42a68ac2a78b1e025 | 119 | AdventOfCode | MIT License |
src/main/kotlin/GravityFieldRenderingSystem.kt | hannomalie | 465,694,597 | false | {"Kotlin": 30338} | import com.artemis.BaseEntitySystem
import com.artemis.annotations.All
import org.jetbrains.skia.Canvas
import org.jetbrains.skia.Color
import org.jetbrains.skia.Paint
@All
class GravityFieldRenderingSystem : BaseEntitySystem(), RenderSystem {
lateinit var extractor: ComponentExtractor
val red = Paint().appl... | 0 | Kotlin | 0 | 0 | 4349e8f881fda9ec29e2c9124d7dc0520f577a03 | 595 | artemis-playground | MIT License |
app/src/main/java/com/tans/androidopenglpractice/render/CubeRender.kt | Tans5 | 652,997,585 | false | null | package com.tans.androidopenglpractice.render
import android.graphics.BitmapFactory
import android.opengl.GLES31
import android.opengl.GLUtils
import android.opengl.Matrix
import android.os.SystemClock
import android.util.Log
import java.util.concurrent.atomic.AtomicBoolean
import javax.microedition.khronos.egl.EGLCon... | 0 | Kotlin | 1 | 3 | 32d69b72013ca9363911c702e4aef4f3b3b6d6b3 | 7,833 | AndroidOpenGLPractice | Apache License 2.0 |
CLI/src/test/kotlin/uk/ac/lshtm/keppel/cli/MatchWithScoreTest.kt | LSHTM-ORK | 240,033,125 | false | {"Kotlin": 80371, "Java": 4400, "Shell": 1742} | package uk.ac.lshtm.keppel.cli
import org.hamcrest.CoreMatchers.equalTo
import org.hamcrest.MatcherAssert.assertThat
import org.junit.Test
import uk.ac.lshtm.keppel.cli.support.FakeLogger
import uk.ac.lshtm.keppel.cli.support.FakeMatcher
import uk.ac.lshtm.keppel.cli.support.toHexString
class MatchWithScoreTest {
... | 2 | Kotlin | 2 | 7 | 4ffdbf19e8c86ccb16c47bcd58603eb695696f60 | 2,289 | ODK_Biometrics | MIT License |
app/src/main/java/com/bryan/personalproject/ui/adapter/ScoreAdapter.kt | TBNR-1257 | 729,129,439 | false | {"Kotlin": 76279} | package com.bryan.personalproject.ui.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.bryan.personalproject.data.model.Score
import com.bryan.personalproject.databinding.ItemLayoutLeaderboardBinding
import java.text.SimpleDateFormat
im... | 0 | Kotlin | 0 | 0 | 49ac5aefea86c4569843df4c050a22ce0471c2ca | 1,736 | SEM4_QuizApp | MIT License |
app/src/main/java/com/hu/sandoruszkai/androiddesign/service/HandleResponse.kt | uszkaisandor | 170,866,917 | false | null | package com.hu.sandoruszkai.androiddesign.service
interface HandleResponse<in T> {
fun onResponse(response: T)
fun onError(error:Throwable)
} | 0 | Kotlin | 0 | 0 | d878ecf603e7ef9309aeac059ce086ff0b9709db | 150 | android-design-sample | MIT License |
tracker-batch/src/main/kotlin/network/piction/tracker/batch/JobConfig.kt | piction-protocol | 273,381,524 | false | {"TypeScript": 59738, "Kotlin": 45231} | package network.piction.tracker.batch
import com.klaytn.caver.methods.response.KlayLogs
import network.piction.tracker.common.entities.EventLogEntity
import org.springframework.batch.core.configuration.annotation.JobBuilderFactory
import org.springframework.batch.core.configuration.annotation.JobScope
import org.sprin... | 9 | TypeScript | 0 | 2 | a068083ed87beba7736101eacc01118a64d8509c | 1,280 | event-tracker | Apache License 2.0 |
platform/microservice/src/main/kotlin/com/dreamsoftware/repository/impl/OTPRepositoryImpl.kt | sergio11 | 538,255,353 | false | {"Kotlin": 56871, "Ruby": 5208, "Shell": 1373, "Dockerfile": 625} | package com.dreamsoftware.repository.impl
import com.dreamsoftware.model.OTPGenerated
import com.dreamsoftware.model.RedisStorageConfig
import com.dreamsoftware.model.exception.OTPDestinationIsBlockedException
import com.dreamsoftware.model.exception.OTPNotFoundException
import com.dreamsoftware.model.exception.OTPSav... | 0 | Kotlin | 1 | 6 | 9e0cd12fe6ddcc86be81ac29690dd817b45c8a60 | 4,181 | passwordless_authentication_architecture | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/assessrisksandneeds/jpa/respositories/OffenderPredictorsHistoryRepository.kt | ministryofjustice | 373,137,019 | false | {"Kotlin": 340951, "Dockerfile": 1027} | package uk.gov.justice.digital.hmpps.assessrisksandneeds.jpa.respositories
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
import uk.gov.justice.digital.hmpps.assessrisksandneeds.jpa.entities.OffenderPredictorsHistoryEntity
@Repository
interface OffenderPr... | 2 | Kotlin | 0 | 0 | a2fa63a07f5e64a5d5349fa164fb687c8b1d2917 | 477 | hmpps-assess-risks-and-needs | MIT License |
app/src/main/java/com/vpr/places_together/ui/friends_screen/FriendsFragment.kt | v1p3rrr | 633,636,972 | false | null | package com.vpr.places_together.ui.friends_screen
import android.os.Bundle
import android.view.LayoutInflater
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.widget.SearchView
import androidx.core.vi... | 0 | Kotlin | 0 | 0 | fc71609d48dbefd64950061c079f99cb599b5b25 | 5,153 | places-together | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/VacuumRobot.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,652 | icons | MIT License |
vk-api/src/main/kotlin/name/alatushkin/api/vk/generated/messages/DeleteChatPhotoResponse.kt | alatushkin | 156,866,851 | false | null | package name.alatushkin.api.vk.generated.messages
open class DeleteChatPhotoResponse(
val messageId: Long? = null,
val chat: Chat? = null
) | 2 | Kotlin | 3 | 10 | 123bd61b24be70f9bbf044328b98a3901523cb1b | 149 | kotlin-vk-api | MIT License |
ivy-design/src/main/java/com/ivy/design/l2_components/Switch.kt | ILIYANGERMANOV | 442,188,120 | false | null | package com.ivy.design.l2_components
import androidx.compose.animation.animateColorAsState
import androidx.compose.animation.core.AnimationSpec
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foun... | 0 | Kotlin | 1 | 1 | eab596d90f3580dea527d404a0f453e5b9d2167e | 2,578 | ivy-design-android | MIT License |
app/src/main/java/me/grey/picquery/data/data_source/PhotoRepository.kt | greyovo | 676,960,803 | false | {"Kotlin": 151873, "Python": 17259, "PureBasic": 181} | package me.grey.picquery.data.data_source
//import android.content.ContentResolver
import android.content.ContentResolver
import android.content.ContentResolver.*
import android.database.Cursor
import android.net.Uri
import android.os.Bundle
import android.provider.MediaStore
import android.util.Log
import me.grey.pic... | 7 | Kotlin | 12 | 92 | eda7d169cde517fed8f4ef0b70bdc4c1e32013ab | 5,114 | PicQuery | MIT License |
src/main/kotlin/com/onehypernet/demo/command/UploadNettingParamsCmd.kt | quangpv | 470,011,476 | false | null | package com.onehypernet.demo.command
import com.onehypernet.demo.component.CSVReader
import com.onehypernet.demo.component.validator.Validator
import com.onehypernet.demo.model.entity.NettingParamEntity
import com.onehypernet.demo.repository.ForexRepository
import com.onehypernet.demo.repository.NettingParamRepository... | 0 | Kotlin | 0 | 0 | e84f52230f1d6e583e1457d3f85b5f580bfe9a8b | 2,558 | netting-demo-BE | MIT License |
src/main/kotlin/org/tokend/wallet/xdr/utils/XdrPrimitives.kt | tokend | 154,297,245 | false | null | package org.tokend.wallet.xdr.utils
// Int32 and UInt32
fun Int.toXdr(stream: XdrDataOutputStream) {
stream.writeInt(this)
}
fun Int.Companion.fromXdr(stream: XdrDataInputStream): Int {
return stream.readInt()
}
// Int64 and UInt64
fun Long.toXdr(stream: XdrDataOutputStream) {
stream.writeLong(this)
}
f... | 0 | Kotlin | 0 | 14 | 4e10e414eaa50289ed4076eb9ecba92c942aa49f | 2,077 | kotlin-wallet | Apache License 2.0 |
src/main/kotlin/ca/wheatstalk/resticagent/Config.kt | misterjoshua | 185,891,996 | false | null | package ca.wheatstalk.resticagent
import ca.wheatstalk.resticagent.restic.ResticConfig
import org.apache.commons.configuration2.PropertiesConfiguration
fun readResticConfig(config: PropertiesConfiguration) =
ResticConfig(
resticPath = "restic",
repository = config.getString("restic.repository"),
... | 0 | Kotlin | 0 | 0 | 94974ba5e54db7057e4d80685753505577881bcc | 1,218 | restic-backup-agent | Apache License 2.0 |
core/src/river/exertion/kcop/narrative/sequence/Sequence.kt | exertionriver | 589,248,613 | false | null | package river.exertion.kcop.narrative.sequence
interface Sequence {
val sequenceNumber : Long
} | 0 | Kotlin | 0 | 0 | 7ca125e82b0f4750c5e62e6325dd20a399bfccbb | 102 | kcop | MIT License |
src/commonMain/kotlin/de/robolab/common/utils/Vector.kt | pixix4 | 243,975,894 | false | null | package de.robolab.common.utils
import de.robolab.client.renderer.transition.IInterpolatable
import de.robolab.common.planet.PlanetCoordinate
import kotlin.math.*
data class Vector(
val left: Double,
val top: Double
) : IInterpolatable<Vector> {
constructor(left: Number, top: Number) : this(left.toDouble... | 4 | Kotlin | 0 | 2 | 1f20731971a9b02f971f01ab8ae8f4e506ff542b | 3,928 | robolab-renderer | MIT License |
app/src/test/java/com/paradigma/rickandmorty/ui/favorites/FavoritesViewModelTest.kt | txoksue | 442,830,441 | false | {"Kotlin": 114844} | package com.paradigma.rickandmorty.ui.favorites
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.lifecycle.Observer
import com.paradigma.rickandmorty.ui.ScreenState
import com.paradigma.rickandmorty.domain.Character
import com.paradigma.rickandmorty.ui.getOrAwaitValue
import com.parad... | 0 | Kotlin | 0 | 0 | ee5c777edb28d9bbde6df0159e0794df2e7d5648 | 3,757 | rickandmorty-app | MIT License |
android/app/src/main/kotlin/com/stepanzalis/light_sensor/MainActivity.kt | stepanzalis | 202,855,470 | false | {"Dart": 4164, "Kotlin": 2237, "Swift": 404, "Objective-C": 37} | package com.stepanzalis.light_sensor
import android.content.Context
import android.hardware.*
import android.os.Bundle
import io.flutter.app.FlutterActivity
import io.flutter.plugins.GeneratedPluginRegistrant
import android.hardware.SensorManager
import android.util.Log
import io.flutter.plugin.common.EventChannel
im... | 0 | Dart | 0 | 0 | 144784a984ac4bb9d218c404ae0eb5e536787e8a | 2,237 | android_light_sensor | MIT License |
app/src/main/java/com/example/toncontest/ui/theme/components/main/tonconnect/TonConnectButton.kt | L0mTiCk | 625,185,980 | false | null | package com.example.toncontest.ui.theme.components.main.tonconnect
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layo... | 0 | Kotlin | 0 | 0 | 2115bf7c3bc4558a40d2ab9181b295940848df7b | 2,197 | TONContest | MIT License |
app/src/main/java/fr/corenting/traficparis/utils/PersistenceUtils.kt | corenting | 156,606,153 | false | null | package fr.corenting.traficparis.utils
import android.content.Context
import android.content.Context.MODE_PRIVATE
import fr.corenting.traficparis.models.LineType
object PersistenceUtils {
fun getDisplayCategoryValue(context: Context, lineType: LineType): Boolean {
return getBoolean(context, """filter_${l... | 4 | Kotlin | 1 | 9 | a6d7bfc6a88a6556a6468256c240414c915565c1 | 960 | ParisTransportTraffic | MIT License |
app/src/main/java/com/example/blockTODO/MainActivity.kt | TheLegendFinn | 465,292,466 | false | {"Kotlin": 24410} | package com.example.blockTODO
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.lifecycleScope
import androidx.recyclerview.widget.RecyclerV... | 0 | Kotlin | 0 | 0 | 9f7250070db9360052491f6d3e19cbf54e2a40e5 | 2,644 | BlockTODO | MIT License |
gallery/src/commonMain/kotlin/com/konyaco/fluent/gallery/screen/basicinput/RadioButtonScreen.kt | Konyaco | 574,321,009 | false | {"Kotlin": 11419712, "Java": 256912} | package com.konyaco.fluent.gallery.screen.basicinput
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.... | 8 | Kotlin | 10 | 262 | 293d7ab02d80fb9fdd372826fdc0b42b1d6e0019 | 2,253 | compose-fluent-ui | Apache License 2.0 |
algorithm/src/commonMain/kotlin/com/alexvanyo/composelife/algorithm/GameOfLifeAlgorithm.kt | alexvanyo | 375,146,193 | false | {"Kotlin": 1943779} | /*
* Copyright 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 36 | Kotlin | 10 | 99 | 64595b8d36c559a70ca52d578069fe4df8d170c7 | 2,053 | composelife | Apache License 2.0 |
algorithm/src/commonMain/kotlin/com/alexvanyo/composelife/algorithm/GameOfLifeAlgorithm.kt | alexvanyo | 375,146,193 | false | {"Kotlin": 1943779} | /*
* Copyright 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 36 | Kotlin | 10 | 99 | 64595b8d36c559a70ca52d578069fe4df8d170c7 | 2,053 | composelife | Apache License 2.0 |
src/main/kotlin/io/github/linktosriram/deck/domain/view/AppListing.kt | linktosriram | 185,062,205 | false | null | package io.github.linktosriram.deck.domain.view
import com.fasterxml.jackson.annotation.JsonProperty
import io.github.linktosriram.deck.domain.cf.AppOverview
data class AppListing(
@JsonProperty("space_name") val spaceName: String,
@JsonProperty("apps") val apps: List<AppOverview>)
| 0 | Kotlin | 0 | 1 | e6a239d2647472fb3c3cdcb9491138db2d9c632f | 301 | deck | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.