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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kotlin-browser/src/main/kotlin/web/storage/localStorage.kt | stefanthaler | 440,580,782 | true | {"Kotlin": 8815376, "JavaScript": 528} | package web.storage
external val localStorage: Storage
| 0 | Kotlin | 0 | 0 | fc27a2b5d98423c8db24f8a28d1c3a95dc682b0a | 56 | kotlin-wrappers | Apache License 2.0 |
app/src/test/java/com/laitec/mvvm/ExampleUnitTest.kt | alishatergholi | 200,262,628 | false | {"Gradle": 4, "Markdown": 1, "Java Properties": 4, "XML": 32, "Shell": 1, "Text": 1, "Batchfile": 1, "Proguard": 2, "Ignore List": 2, "Kotlin": 30, "JSON": 1, "INI": 2, "Java": 2} | package com.laitec.mvvm
import android.view.View
import android.widget.ProgressBar
import android.widget.Toast
import com.laitec.mvvm.ui.activity.MainActivity
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotNull
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import... | 0 | Kotlin | 0 | 2 | 861ce583daf8c07d197759d092a3e4ba76de0471 | 1,197 | android-architecture-components-course | MIT License |
app/src/main/java/com/dlong/kotlintest/model/EditViewModel.kt | D10NGYANG | 216,500,206 | false | null | package com.dlong.kotlintest.model
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.viewModelScope
import com.dlong.kotlintest.database.BillDatabase
import com.dlong.kotlintest.entity.BillInfo
import kotlinx.coroutines.launch
/**
* 编辑页面
*
* @author D10NG
* @date ... | 0 | Kotlin | 0 | 0 | f7c5da1122d0b0706b8d1e65bda2215a5ef5f75c | 710 | KotlinTest | Apache License 2.0 |
app/src/main/java/com/dlong/kotlintest/model/EditViewModel.kt | D10NGYANG | 216,500,206 | false | null | package com.dlong.kotlintest.model
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.viewModelScope
import com.dlong.kotlintest.database.BillDatabase
import com.dlong.kotlintest.entity.BillInfo
import kotlinx.coroutines.launch
/**
* 编辑页面
*
* @author D10NG
* @date ... | 0 | Kotlin | 0 | 0 | f7c5da1122d0b0706b8d1e65bda2215a5ef5f75c | 710 | KotlinTest | Apache License 2.0 |
app/src/main/java/com/sharkaboi/mediahub/modules/anime_details/vm/AnimeDetailsViewModel.kt | 1999FordFocus | 379,613,392 | true | {"Kotlin": 432335} | package com.sharkaboi.mediahub.modules.anime_details.vm
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.sharkaboi.mediahub.data.api.enums.AnimeStatus
import com.sharkaboi.mediahu... | 0 | null | 0 | 0 | 5200b21912d2816ac6d992f95ce4e206971590e4 | 6,691 | MediaHub | MIT License |
core/src/main/java/com/example/core/dto/RepoContributorsDTO.kt | prdp89 | 391,939,601 | false | null | package com.example.core.dto
import com.example.trending.repo.RepoContributors
import com.google.gson.annotations.SerializedName
data class RepoContributorsDTO (
val id: Int,
@SerializedName("avatar_url")
val avatar: String,
val url : String,
//author
val login : String
)
fun RepoContri... | 0 | Kotlin | 0 | 1 | 651bd0b582f4b8844181c253cd7a5018d096a648 | 524 | Trending-Git | MIT License |
app/src/main/java/cc/sovellus/vrcaa/api/updater/models/Commits.kt | Nyabsi | 745,635,224 | false | {"Kotlin": 409292} | package cc.sovellus.vrcaa.updater.models
import com.google.gson.annotations.SerializedName
class Commits : ArrayList<Commits.CommitsItem>(){
data class CommitsItem(
@SerializedName("author")
val author: Author,
@SerializedName("comments_url")
val commentsUrl: String,
@Seri... | 1 | Kotlin | 3 | 24 | cfce0b4b07648f3fdeac255299f9bbfc98a418d2 | 5,539 | VRCAA | Apache License 2.0 |
fake-document-generator/src/main/java/com/cajusoftware/fakedocumentgenerator/masks/Mask.kt | JhoanesFreitas | 621,878,743 | false | null | package com.cajusoftware.fakedocumentgenerator.masks
import com.cajusoftware.fakedocumentgenerator.utils.withoutMask
class Mask(private val maskEnum: MaskEnum) {
fun addMask(cpfString: String): String {
val str = cpfString.withoutMask
var stringWithMask = ""
var i = 0
for (m: Cha... | 0 | Kotlin | 0 | 1 | 6be28ad7b2434b53ef68e55bcdeb0cab733e37a7 | 660 | fake-document-generator | Apache License 2.0 |
app/src/main/java/com/frogobox/keyboard/repository/autotext/AutoTextRepository.kt | amirisback | 560,670,715 | false | null | package com.frogobox.keyboard.repository.autotext
import com.frogobox.keyboard.common.callback.DataResponseCallback
import com.frogobox.keyboard.common.callback.StateResponseCallback
import com.frogobox.keyboard.data.local.autotext.AutoTextEntity
import com.frogobox.keyboard.data.local.autotext.AutoTextLabel
/**
* ... | 2 | Kotlin | 3 | 21 | af06130af3773b3463542d1a88e4d4b720477f90 | 1,367 | keyboard | Apache License 2.0 |
app/src/main/java/com/iflytek/cyber/iot/show/core/utils/OverlayUtils.kt | iFLYOS-OPEN | 209,758,318 | false | null | package com.iflytek.cyber.iot.show.core.utils
import android.app.AppOpsManager
import android.content.Context
import android.graphics.PixelFormat
import android.os.Binder
import android.os.Build
import android.os.Handler
import android.provider.Settings
import android.util.Log
import android.view.View
import android.v... | 1 | C | 11 | 21 | 4739e2450dcda545fb1361469a9172f82ce28c66 | 4,116 | ShowCore-Open | Apache License 2.0 |
src/main/kotlin/com/mobilabsolutions/payment/common/exception/MerchantError.kt | mobilabsolutions | 182,966,410 | false | null | package com.mobilabsolutions.payment.common.exception
import org.springframework.http.HttpStatus
/**
* @author <a href="mailto:jovana@mobilabsolutions.com">Jovana Veskovic</a>
*/
enum class MerchantError(val code: String, val message: String, val httpStatus: HttpStatus) {
USER_NOT_FOUND("1000", "User cannot be ... | 1 | Kotlin | 0 | 1 | dc9738e92a314716da0db1fb45730474db463e11 | 548 | stash-sdk-merchant-backend | Apache License 2.0 |
examples/run/launch.kt | MarcinMoskala | 118,792,033 | true | null | package run
import kotlin.coroutines.experimental.Continuation
import kotlin.coroutines.experimental.CoroutineContext
import kotlin.coroutines.experimental.startCoroutine
fun launch(context: CoroutineContext, block: suspend () -> Unit) =
block.startCoroutine(StandaloneCoroutine(context))
private class Standa... | 0 | null | 0 | 0 | 528fe1792f22d33d3b4a3e3cd0a50f3b22b1ca0e | 648 | kotlin-coroutines | Apache License 2.0 |
src/main/kotlin/no/nav/tms/event/api/varsel/VarselReader.kt | navikt | 474,022,329 | false | null | package no.nav.tms.event.api.varsel
import io.ktor.client.*
import io.ktor.client.call.*
import io.ktor.client.plugins.*
import io.ktor.client.request.*
import io.ktor.http.*
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import no.nav.tms.event.api.config.AzureTokenFetcher
import no.nav.t... | 0 | Kotlin | 0 | 0 | c8695a7e329d037b7e395b24874fd833d22eb9c7 | 1,455 | tms-event-api | MIT License |
base-ui/src/main/java/com/mukul/jan/primer/base/ui/design/Shape.kt | Mukuljangir372 | 600,396,968 | false | null | package com.mukul.jan.primer.base.ui.design
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.Shapes
import androidx.compose.ui.unit.dp
import com.mukul.jan.primer.base.ui.Dimens
val Shapes = Shapes(
small = RoundedCornerShape(Dimens.HALF.dp),
medium = RoundedCornerS... | 0 | Kotlin | 4 | 8 | 5135cc81e1bca2c380460694779d5c343de4ea18 | 390 | Primer-Android | Apache License 2.0 |
app/src/main/java/com/sloupycom/shaper/viewmodel/AddTaskViewModel.kt | 5hahryar | 291,789,447 | false | null | package com.sloupycom.shaper.viewmodel
import android.annotation.SuppressLint
import android.content.Context
import android.icu.util.Calendar
import android.os.Build
import android.text.Editable
import android.view.View
import androidx.annotation.RequiresApi
import androidx.databinding.ObservableField
import androidx.... | 0 | Kotlin | 0 | 0 | 283777d187a67fce4dde606bbd5753a674e2d674 | 4,168 | Shaper | MIT License |
codebase/android/feature/categories/src/main/java/com/makeappssimple/abhimanyu/financemanager/android/feature/categories/add_category/viewmodel/AddCategoryScreenViewModel.kt | Abhimanyu14 | 429,663,688 | false | {"Kotlin": 1850777} | package com.makeappssimple.abhimanyu.financemanager.android.feature.categories.add_category.viewmodel
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.viewModelScope
import com.makeappssimple.abhimanyu.financemanager.android.core.common.coroutines.di.ApplicationScope
import com.makeappssimple.abhim... | 12 | Kotlin | 0 | 2 | c78088d1842b0eb463f86d4b4ee17739ad432e82 | 8,675 | finance-manager | Apache License 2.0 |
app/src/main/java/com/ibashkimi/telegram/ui/chat/ChatScreen.kt | indritbashkimi | 237,324,206 | false | null | package com.ibashkimi.telegram.ui.chat
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.foundation.shape.... | 5 | null | 12 | 45 | 6be2c26adea31bfb09be647e6483536409fd87b4 | 10,536 | TelegramExample | Apache License 2.0 |
app/src/main/java/com/mburakcakir/taketicket/data/repository/ticket/TicketRepository.kt | mburakcakir | 319,590,139 | false | null | package com.mburakcakir.taketicket.data.repository.ticket
import com.mburakcakir.taketicket.data.db.entity.TicketModel
import com.mburakcakir.taketicket.util.Resource
import kotlinx.coroutines.flow.Flow
interface TicketRepository {
suspend fun insertTicket(ticketModel: TicketModel): Flow<Resource<Boolean>>
fu... | 0 | Kotlin | 2 | 3 | d8f1c95a6acac306d349d82c2d1fe91fcb739f09 | 497 | TakeTicket | Apache License 2.0 |
kbomber-collections/src/main/kotlin/kbomber/collections/values/Values.kt | LM-96 | 517,382,094 | false | {"Kotlin": 253830} | package kbomber.collections.values
/* SINGLE INIT ************************************************************************** */
/**
* Create a new [LateSingleInit] object that is not initialized
* @return a new and not initialized [LateSingleInit]
*/
fun <T> lateSingleInit() : LateSingleInit<T> {
return LateSi... | 0 | Kotlin | 0 | 2 | f5c087635ffcb4cea4fea71a4738adf9d3dbfc74 | 2,506 | KBomber | MIT License |
AcceptanceTestRunner/src/main/java/com/intelygenz/android/instrumentation/AcceptanceInstrumentationCore.kt | intelygenz | 377,538,076 | false | null | package com.intelygenz.android.instrumentation
import android.app.Activity
import android.app.Instrumentation
import android.os.Bundle
import android.os.Looper
import cucumber.api.android.CucumberInstrumentationCore
import cucumber.runtime.android.Arguments
import cucumber.runtime.android.CoverageDumper
import cucumbe... | 1 | null | 1 | 1 | fa31d081f90edd09fbbcec1ee3af6614aa3816c2 | 1,620 | Android-AcceptanceTestRunner | MIT License |
clients/weixin/src/main/kotlin/top/bettercode/summer/tools/weixin/config/WeixinRedisConfiguration.kt | top-bettercode | 387,652,015 | false | {"Kotlin": 3010960, "Java": 24119, "JavaScript": 22541, "CSS": 22336, "HTML": 15833} | package top.bettercode.summer.tools.weixin.config
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
import org.springframework.boot.autocon... | 0 | Kotlin | 0 | 1 | 98b2b930bcf4addab63ec219c7cca4d4f39d9861 | 2,250 | summer | Apache License 2.0 |
units-repo-gremlin/src/main/kotlin/com/crowdproj/units/repo/gremlin/UnitGremlinConst.kt | crowdproj | 508,534,078 | false | {"Kotlin": 228068, "Dockerfile": 467} | package com.crowdproj.units.repo.gremlin
object UnitGremlinConst {
const val RESULT_SUCCESS = "success"
const val RESULT_LOCK_FAILURE = "lock-failure"
const val FIELD_ID = "#id"
const val FIELD_NAME = "name"
const val FIELD_DESCRIPTION = "description"
const val FIELD_ALIAS = "alias"
const ... | 1 | Kotlin | 2 | 0 | 7d0023a952e540ccd45769d61ceab8acd700bc6b | 426 | crowdproj-units | Apache License 2.0 |
app/src/main/java/io/github/wulkanowy/utils/AttendanceExtension.kt | wulkanowy | 87,721,285 | false | null | package io.github.wulkanowy.utils
import io.github.wulkanowy.R
import io.github.wulkanowy.data.db.entities.Attendance
import io.github.wulkanowy.data.db.entities.AttendanceSummary
import io.github.wulkanowy.sdk.scrapper.attendance.AttendanceCategory
/**
* [UONET+ - Zasady tworzenia podsumowań liczb uczniów obecnych ... | 96 | null | 33 | 248 | 00432ab911cedafa261a0497782af5624421f07a | 1,936 | wulkanowy | Apache License 2.0 |
app/src/main/java/com/merxury/blocker/ui/home/ApplicationListFragment.kt | yfdyh000 | 273,808,631 | true | {"Kotlin": 182952, "Java": 40445} | package com.merxury.blocker.ui.home
import android.app.Activity
import android.content.DialogInterface
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.Color
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v4.content.ContextCompat
imp... | 0 | Kotlin | 0 | 0 | 5da2ff592bc048a6bb289a55849915bee1047fb7 | 14,089 | blocker | Apache License 2.0 |
src/main/kotlin/pl/wendigo/chrome/domain/io/Types.kt | caleb-allen | 166,148,335 | true | {"Kotlin": 597571, "Go": 11452, "HTML": 6118, "Shell": 1725, "Groovy": 824} | package pl.wendigo.chrome.domain.io
/**
* This is either obtained from another method or specifed as `blob:&lt;uuid&gt;` where
`&lt;uuid&gt` is an UUID of a Blob.
*/
typealias StreamHandle = String
| 0 | Kotlin | 0 | 0 | f92bcb5c91b36b764fe168d56599531796e1c2b4 | 218 | chrome-reactive-kotlin | Apache License 2.0 |
navigation/sample/slide-animation/src/main/java/si/inova/kotlinova/navigation/sample/sliding/SlideAnimationScreenDeepLinkHandler.kt | inovait | 247,635,811 | false | {"Kotlin": 745908, "Shell": 2460} | /*
* Copyright 2023 INOVA IT d.o.o.
*
* 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,
* modify, merge, publish, d... | 0 | Kotlin | 1 | 7 | 751cb6d4f6d5b21819ca3aac088c41ed65baec03 | 2,801 | kotlinova | MIT License |
src/main/kotlin/ChatSettings.kt | InsanusMokrassar | 533,452,248 | false | null | import dev.inmo.krontab.*
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
import kotlinx.serialization.*
import kotlinx.serialization.builtins.serializer
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serialization.encoding.Decoder
import kotlinx.serialization.encod... | 1 | null | 0 | 2 | 046a8bede4daef854b6bc832cdd475f6068904e1 | 2,462 | BooruGrabberTelegramBot | MIT License |
ShimmerViewLoadding/app/src/main/java/com/samruddhi/shimmerviewloadding/viewmodel/MainRepository.kt | MuralikrishnaGS | 404,229,153 | false | null | package com.samruddhi.mvvmarchitecturelivedataretrofitpaging.viewmodel
import android.annotation.SuppressLint
import android.content.Context
import android.location.Location
import android.net.ConnectivityManager
import android.net.NetworkInfo
import androidx.lifecycle.LiveData
import com.google.android.gms.location.L... | 0 | Kotlin | 0 | 0 | 9bbd4118630966ec6cee9cf8b77bc24840e43065 | 3,658 | Android-Jetpack-Components | MIT License |
presentation/src/main/java/fr/cedriccreusot/presentation/rates/list/viewmodels/RateViewModel.kt | ccreusot | 239,267,019 | false | null | package fr.cedriccreusot.presentation.rates.list.viewmodels
import android.os.Bundle
import android.util.Log
import android.view.View
import androidx.core.os.bundleOf
import androidx.navigation.NavController
import androidx.navigation.NavHostController
import androidx.navigation.findNavController
import androidx.navig... | 0 | Kotlin | 0 | 4 | c22fc478d3b094576d1b697648153962403f8977 | 901 | euroexchangerateapp | The Unlicense |
device-service/src/main/kotlin/ru/handh/deviceservice/converter/ColorTuyaConverter.kt | mBayzigitov | 759,726,460 | false | {"Kotlin": 147151, "Java": 847} | package ru.handh.deviceservice.converter
import org.springframework.stereotype.Component
import ru.handh.deviceservice.converter.dictionary.toTuyaCode
import ru.handh.deviceservice.dto.command.ColorCommand
import ru.handh.deviceservice.dto.tuya.TuyaCommand
import ru.handh.deviceservice.enum.CapabilityCode
import ru.ha... | 0 | Kotlin | 0 | 0 | bf1fc71d6b4c1feb48fbc770d782cea2ebd6df6d | 745 | smart-devices-microservice | MIT License |
permission/src/main/java/com/example/permission/request/DefaultRejectedForeverProcess.kt | rain9155 | 189,846,050 | false | null | package com.example.permission.request
import com.example.permission.IRejectedForeverCallback
import com.example.permission.base.IChain
import com.example.permission.base.IPermissionResultsCallback
import com.example.permission.base.PermissionResult
import com.example.permission.base.REASON_REJECTED_FOREVER_CALLBACK
i... | 0 | Kotlin | 6 | 28 | 526f05feabb686e06cb02e75d45797abb01cefcc | 3,390 | PermissionHelper | Apache License 2.0 |
dto/src/main/kotlin/cz/vutbr/fit/knot/enticing/dto/config/loader.kt | d-kozak | 180,137,313 | false | {"Kotlin": 1104829, "TypeScript": 477922, "Python": 23617, "Shell": 19609, "HTML": 8510, "ANTLR": 2005, "CSS": 1432} | package cz.vutbr.fit.knot.enticing.dto.config
import java.io.File
import javax.script.ScriptEngineManager
/**
* Executes kotlin script on the defined path and returns it's result cast to a specific type
*/
inline fun <reified Result> executeScript(path: String): Result {
val file = File(path)
val script = f... | 0 | Kotlin | 0 | 0 | 1ea9f874c6d2e4ea158e20bbf672fc45bcb4a561 | 518 | enticing | MIT License |
src/net/torvald/terrarum/modulecomputers/virtualcomputer/tvd/DiskSkimmer.kt | curioustorvald | 87,011,563 | false | null | package net.torvald.terrarum.modulecomputers.virtualcomputer.tvd
import net.torvald.terrarum.modulecomputers.virtualcomputer.tvd.ByteArray64.Companion.BANK_SIZE
import net.torvald.terrarum.modulecomputers.virtualcomputer.tvd.VirtualDisk.Companion.ATTRIBS_LENGTH
import java.io.*
import java.nio.ByteBuffer
import java.n... | 0 | Kotlin | 0 | 2 | 300337f5c1b683c1c7200ef33a9400b65a773941 | 25,674 | TerranVirtualDisk | MIT License |
app/src/main/java/com/sd/demo/eventflow/MainActivity.kt | zj565061763 | 640,457,951 | false | null | package com.sd.demo.eventflow
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import com.sd.demo.eventflow.databinding.ActivityMainBinding
import com.sd.lib.eventflow.FEventFlow
import com.sd.lib.eventflow.FEventObserver
import com.sd.lib.eventflow.fEventFlow
import com... | 0 | Kotlin | 0 | 0 | ba672d2504aa4254d90fe52c8b0433d8ea15cb33 | 1,511 | eventflow | MIT License |
css-gg/src/commonMain/kotlin/compose/icons/cssggicons/Unsplash.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.cssggicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphics... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 2,162 | compose-icons | MIT License |
CovidTracker/app/src/main/java/com/covidtracer/covidtracker/UIModel/StatesUIModel.kt | ArbeenaKhanum | 318,729,076 | false | null | package com.covidtracer.covidtracker.UIModel
import com.covidtracer.covidtracker.model.StatesResponseModel
sealed class StatesUIModel {
data class Success(val statesResponseList: List<StatesResponseModel>) : StatesUIModel()
data class Failure(val error: String) : StatesUIModel()
} | 1 | Kotlin | 0 | 1 | ff72515a6e210d7654e8297a4b9b1f020282ef23 | 292 | CovidTrackerApp | Apache License 2.0 |
library-mvvmlazy/src/main/java/com/rui/mvvmlazy/base/ItemViewModel.kt | jirywell | 418,722,038 | false | {"Kotlin": 779701, "Java": 48117} | package com.rui.mvvmlazy.base
/**
* ItemViewModel
* Created by zjr on 2018/10/3.
*/
open class ItemViewModel<VM : BaseViewModel?>(protected var viewModel: VM) | 0 | Kotlin | 7 | 27 | b37dcb02d8b93699299aada9ec98a1c3ae10e346 | 162 | MvvmLazy-kotlin | Apache License 2.0 |
artplayer-exo/src/main/java/org/salient/artplayer/exo/ExoMediaPlayer.kt | maiwenchang | 140,802,085 | false | null | package org.salient.artplayer.exo
import android.content.Context
import android.util.Log
import android.view.Surface
import android.view.SurfaceHolder
import androidx.lifecycle.MutableLiveData
import com.google.android.exoplayer2.*
import com.google.android.exoplayer2.DefaultRenderersFactory.ExtensionRendererMode
impo... | 4 | null | 100 | 583 | 0cf40d65493852881bda6deaed94eef4c642d821 | 9,590 | ArtPlayer | Apache License 2.0 |
Android/app/src/main/java/com/example/bhbusmetropolitano/MainActivity.kt | RebecaVieiraM | 842,455,884 | false | {"Kotlin": 5997} | package com.example.bhbusmetropolitano
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import com.example.bhbusmetropolitano.model.OnibusModel
import com.example.bhbusmetropolitano.repository.AppDatabase
class MainActivity : AppCompatActivity() {
override fun onCre... | 0 | Kotlin | 0 | 0 | 3709ed98b5e1a993588db6a3a9918d75e985003e | 2,197 | BhBusMetropolitano | MIT License |
app/src/main/java/com/example/tiptime/Data/StaffOffineRes.kt | adorain | 786,890,454 | false | {"Kotlin": 365003} | package com.example.tiptime.Data
abstract class StaffOffineRes(private val hotelUserDao: HotelUserDao) : UserRes {
/*override fun getStaff(
StaffId : String,
StaffName : String,
): String = staffDao.getStaff(StaffId, StaffName).toString()*/
fun updateStaff(newStaffName: String, newStaffPhon... | 0 | Kotlin | 1 | 0 | 2405735cc1d0476e65157ddd05302ba8d0a6c6dc | 524 | development | Apache License 2.0 |
app/src/main/java/com/green/china/data/databsae/entities/LanguageItem.kt | khalidabdou | 389,423,017 | false | null | package com.green.china.data.databsae.entities
class LanguageItem(val id : Int , val name : String, val flag : String) {
val isSelected: Boolean = false
} | 0 | Kotlin | 0 | 0 | 87d0070b9cad2fdd949d56617ddf9b50b064f6d8 | 159 | GreenChina | Apache License 2.0 |
app/src/main/java/com/green/china/data/databsae/entities/LanguageItem.kt | khalidabdou | 389,423,017 | false | null | package com.green.china.data.databsae.entities
class LanguageItem(val id : Int , val name : String, val flag : String) {
val isSelected: Boolean = false
} | 0 | Kotlin | 0 | 0 | 87d0070b9cad2fdd949d56617ddf9b50b064f6d8 | 159 | GreenChina | Apache License 2.0 |
app/src/main/java/com/example/usbprintertest/MD5Util.kt | devallever | 194,785,833 | false | null | package com.example.usbprintertest
import java.io.UnsupportedEncodingException
import java.security.MessageDigest
import java.security.NoSuchAlgorithmException
/**
* Created by mukun on 2018/3/29.
*/
object MD5Util {
/***
* MD5加码 生成32位md5码
*/
fun string2MD5(inStr: String): String {
var m... | 1 | null | 1 | 1 | 913b713022fc9b0791b37cb5c92235ce180f40c0 | 2,170 | LotteryPrinterUsb | Apache License 2.0 |
translation/src/main/java/catmoe/fallencrystal/translation/executor/bungee/BungeeConsole.kt | CatMoe | 638,486,044 | false | null | /*
* Copyright 2023. CatMoe / FallenCrystal
*
* 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 o... | 3 | Kotlin | 0 | 19 | 2d57f92e2c89bbb50fa29236f373b178dcecac8e | 1,459 | MoeFilter | Apache License 2.0 |
app/src/main/java/com/example/myweather/api/ApiInterface.kt | Dinesh-singh-saini | 850,014,867 | false | {"Kotlin": 23548} | package com.example.myweather.api
import com.example.myweather.weather_data.WeatherData
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query
interface ApiInterface {
@GET("forecast.json")
fun getWeatherWithLocation(
@Query("key") key: String,
@Query("q") location: String... | 0 | Kotlin | 0 | 0 | 9d7befd68926c61064c6fe3339dc54171e8e33b1 | 479 | MyWeather | MIT License |
app/src/main/java/com/hsf1002/sky/wanandroid/adapter/CommonAdapter.kt | hafitzrizki | 129,183,302 | false | null | package com.hsf1002.sky.wanandroid.adapter
import android.content.Context
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.hsf1002.sky.wanandroid.R
import com.hsf1002.sky.wanandroid.bean.FriendListResponse
/**
* Created by hefeng on 18-3-29.
*/
cla... | 0 | Kotlin | 0 | 0 | 9cf96fc9d6bcfade72d1f94046bde7373b7d038d | 680 | WanAndroid | Apache License 2.0 |
app/src/main/java/com/irmansyah/myfootball/ui/base/MVPView.kt | irmansyah | 148,420,017 | false | null | package com.irmansyah.myfootball.ui.base
interface MVPView {
fun showProgress()
fun hideProgress()
} | 0 | Kotlin | 0 | 0 | 29eae9d34ce9866dbbe7979967fd3f062932ab63 | 111 | myFootball | Apache License 2.0 |
shared/src/commonMain/kotlin/com/github/tyngstast/borsdatavaluationalarmer/client/YahooClient.kt | Tyngstast | 446,124,190 | false | null | package com.github.tyngstast.borsdatavaluationalarmer.client
import co.touchlab.kermit.Logger
import io.ktor.client.call.body
import io.ktor.client.request.*
import io.ktor.http.encodedPath
class YahooClient(log: Logger) : Client(YAHOO_HOST, VERSION, log, *defaultParams) {
companion object {
private const... | 0 | Kotlin | 0 | 0 | 1a90b2efeb82399d5e58243bd8df81e2bb41268d | 1,067 | borsdata-valuation-alarmer | MIT License |
presentation/src/main/java/arcus/presentation/common/wifi/DeviceWiFiNetworkSecurity.kt | arcus-smart-home | 168,191,380 | false | null | /*
* Copyright 2019 Arcus 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 applicable law or a... | 6 | null | 27 | 27 | 845b23b6ee913c58e009914e920242e29d0b137a | 3,156 | arcusandroid | Apache License 2.0 |
app/src/main/java/com/cusufcan/mercansocial/model/Post.kt | cusufcan | 837,334,927 | false | {"Kotlin": 19781} | package com.cusufcan.mercansocial.model
data class Post(
val id: String,
val content: String,
val creationTime: String,
val creatorUserid: String,
val creatorUsername: String,
)
| 0 | Kotlin | 0 | 1 | 93f507d80804618c119b402633e79348515367d2 | 199 | mercan_social | MIT License |
common/lessons-data/src/main/java/app/ss/lessons/data/repository/quarterly/QuarterliesRepositoryImpl.kt | Adventech | 65,243,816 | false | null | /*
* Copyright (c) 2021. Adventech <<EMAIL>>
*
* 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, modify, merge... | 7 | Kotlin | 29 | 80 | e7bab11541edea65864616c7e8c72569dc8b810a | 4,054 | sabbath-school-android | MIT License |
src/commonMain/kotlin/generated/gen-tags-m.kt | mpetuska | 282,171,408 | true | {"Kotlin": 418828, "JavaScript": 2237} | package kotlinx.html
/*******************************************************************************
DO NOT EDIT
This file was generated by module generate
*******************************************************************************/
@Suppress("unused")
open class MAIN(initialAttributes: Map<String, String>, ove... | 0 | Kotlin | 0 | 0 | e208c14f43fbd7fcbd6e4ffbd2a3d99cfe17863f | 4,392 | kotlinx.html | Apache License 2.0 |
sample/src/commonMain/kotlin/com/github/panpf/sketch/sample/ui/gallery/PhotoPager.common.kt | panpf | 14,798,941 | false | {"Kotlin": 2817618, "Shell": 672} | @file:OptIn(ExperimentalResourceApi::class)
package com.github.panpf.sketch.sample.ui.gallery
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.BoxScope
import androidx.comp... | 1 | Kotlin | 307 | 1,998 | 5cb3aaf167f23262c8b9c2e9a7ab8d8f8c0bad5b | 11,551 | sketch | Apache License 2.0 |
kamper/modules/cpu/src/androidTest/kotlin/com/smellouk/kamper/cpu/repository/source/ProcCpuInfoSourceTest.kt | smellouk | 442,266,308 | false | null | package com.smellouk.kamper.cpu.repository.source
import android.os.Process
import com.smellouk.kamper.api.Logger
import com.smellouk.kamper.cpu.repository.CpuInfoDto
import io.mockk.every
import io.mockk.mockk
import io.mockk.mockkObject
import io.mockk.mockkStatic
import io.mockk.unmockkObject
import io.mockk.unmock... | 8 | Kotlin | 0 | 31 | bbc4cad11c11e578a4017b04a1c66f51790a4e88 | 4,262 | kamper | Apache License 2.0 |
pipe-adapter/src/main/kotlin/net/meilcli/pipe/adapter/IPipeAdapter.kt | MeilCli | 287,799,959 | false | null | package net.meilcli.pipe.adapter
import net.meilcli.pipe.IPipe
import net.meilcli.pipe.IPipeItem
interface IPipeAdapter<TItem : IPipeItem> : IPipe<TItem> {
fun set(pipe: IPipe<TItem>)
} | 0 | Kotlin | 0 | 0 | 874ca4ad4f855a2ed569aed9ce02e6e439ab75dc | 192 | recyclerview-pipe | MIT License |
app/src/main/java/pk/sufiishq/app/feature/app/PermissionManager.kt | sufiishq | 427,931,739 | false | {"Kotlin": 950135} | /*
* Copyright 2022-2023 SufiIshq
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 3 | Kotlin | 0 | 2 | 254eeb6c2b1cad21d2f971d8b49ba3327d446bb5 | 2,987 | sufiishq-mobile | Apache License 2.0 |
madman/src/test/java/com/flipkart/madman/validator/DefaultXmlValidatorTest.kt | TrendingTechnology | 236,893,184 | true | {"Kotlin": 350327, "Java": 180798} | package com.flipkart.madman.validator
import com.flipkart.madman.component.model.vmap.AdBreak
import com.flipkart.madman.testutils.VMAPUtil
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robolectric.annotation.Config
/**
* Test for [DefaultXmlValidator]
... | 0 | null | 0 | 0 | ccba9d614dc2329d5db713c5cc2fb16c606aa123 | 2,834 | madman-android | Apache License 2.0 |
module-common/src/main/java/com/huyingbao/module/common/ui/start/view/StartFragment.kt | yangkf1985 | 315,805,344 | true | {"Kotlin": 105678, "Java": 21647, "FreeMarker": 6437} | package com.huyingbao.module.common.ui.start.view
import android.os.Bundle
import com.alibaba.android.arouter.launcher.ARouter
import com.huyingbao.core.base.common.fragment.BaseCommonFragment
import com.huyingbao.core.uitls.AndroidUtils
import com.huyingbao.module.common.R
import com.huyingbao.module.common.app.Commo... | 0 | null | 0 | 0 | bc740ad725934a35ded77c8ed4ad4e4c2579464c | 908 | RxFluxArchitecture | Apache License 2.0 |
node/src/main/kotlin/net/corda/node/internal/checkpoints/FlowManagerRPCOpsImpl.kt | corda | 70,137,417 | false | null | package net.corda.node.internal.checkpoints
import net.corda.core.internal.PLATFORM_VERSION
import net.corda.core.internal.messaging.FlowManagerRPCOps
import net.corda.node.services.rpc.CheckpointDumperImpl
/**
* Implementation of [FlowManagerRPCOps]
*/
internal class FlowManagerRPCOpsImpl(private val checkpointDum... | 233 | Kotlin | 1043 | 3,777 | efaf1549a9a4575c104f6849be494eb1f0186df0 | 576 | corda | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsidentifyremandperiodsapi/relevantremand/model/ChargeRemandStatus.kt | ministryofjustice | 642,301,009 | false | {"Kotlin": 196242, "Dockerfile": 1376} | package uk.gov.justice.digital.hmpps.hmppsidentifyremandperiodsapi.relevantremand.model
enum class ChargeRemandStatus {
APPLICABLE,
INACTIVE,
INTERSECTED_BY_SENTENCE,
INTERSECTED_BY_REMAND,
CASE_NOT_CONCLUDED,
NOT_SENTENCED,
}
| 1 | Kotlin | 0 | 1 | 6dcef63c254055f06923055af304018b808651ea | 240 | hmpps-identify-remand-periods-api | MIT License |
shared/src/main/kotlin/at/yawk/javabrowser/SourceAnnotation.kt | yawkat | 135,326,421 | false | {"Git Config": 1, "Python": 1, "Maven POM": 4, "Text": 1, "Ignore List": 1, "Markdown": 1, "YAML": 2, "Kotlin": 172, "Java": 3, "PLpgSQL": 1, "FreeMarker": 13, "Fluent": 3, "CSS": 7, "JavaScript": 3, "robots.txt": 1, "SVG": 2, "XML": 1, "SQL": 2} | package at.yawk.javabrowser
import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonSubTypes
import com.fasterxml.jackson.annotation.JsonTypeInfo
import com.fasterxml.jackson.annotation.JsonValue
/**
* @author yawkat
*/
@Json... | 17 | Kotlin | 3 | 35 | b9233824bf594bacffaee2efbf12ab9ea941763e | 9,371 | java-browser | Apache License 2.0 |
src/main/kotlin/org/elasticsearch4idea/ui/editor/model/PageModel.kt | ergoz | 286,516,221 | true | {"Kotlin": 235816} | /*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 0 | null | 1 | 0 | b7b923e4f984b53ab00acdc7890998c4c2e7aada | 3,204 | elasticsearch4idea | Apache License 2.0 |
app/src/main/java/com/example/covidtracker/splash/SplashActivity.kt | Ashraf4795 | 259,790,068 | false | null | package com.example.covidtracker.splash
import android.content.Intent
import android.content.IntentFilter
import android.net.ConnectivityManager
import android.os.Bundle
import android.os.Handler
import android.util.Log
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivit... | 0 | null | 1 | 2 | 7cf0b33c9bccab23e1717e3f9a7db2a2663c5943 | 3,990 | Covid19-tracker | MIT License |
data/db/src/main/java/com/komeyama/simple/weather/db/internal/CacheDatabase.kt | Komeyama | 272,177,961 | false | null | package com.komeyama.simple.weather.db.internal
import androidx.room.Database
import androidx.room.RoomDatabase
import com.komeyama.simple.weather.db.internal.dao.*
import com.komeyama.simple.weather.db.internal.dao.ForecastInfoDao
import com.komeyama.simple.weather.db.internal.dao.ForecastMainInfoDao
import com.komey... | 0 | Kotlin | 0 | 0 | d08c80a62b3b26a4b17583ebbd58361fc52f01ff | 967 | simple-weather-forecast | MIT License |
app/src/test/kotlin/no/nav/k9punsj/domenetjenester/mappers/MapPsbTilK9FormatTest.kt | navikt | 216,808,662 | false | null | package no.nav.k9punsj.domenetjenester.mappers
import no.nav.k9.søknad.felles.Feil
import no.nav.k9punsj.rest.web.dto.PeriodeDto
import no.nav.k9punsj.rest.web.dto.PleiepengerSøknadDto
import no.nav.k9punsj.util.PleiepengerSøknadVisningDtoUtils
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter... | 11 | Kotlin | 2 | 1 | 8885f36d61d4a12da79f9375921cdb153b6910a5 | 1,352 | k9-punsj | MIT License |
composeApp/src/commonMain/kotlin/gemini/data/config/resource/ResourceReader.kt | GilbertoPapa | 808,631,367 | false | {"Kotlin": 21571} | package gemini.data.config.resource
interface ResourceReader {
suspend fun readResource(path: String): String
} | 0 | Kotlin | 0 | 0 | ce47525bcd44927392430bc4819b08d7c8eb8b08 | 116 | Gemini | MIT License |
android/schachklub-bingen/app/src/main/java/com/example/schachklubbingen/CustomAdapter.kt | fabianscode | 191,934,673 | false | {"HTML": 163363, "CSS": 10570, "Kotlin": 8288, "JavaScript": 4671, "SCSS": 4446} | package com.example.schachklubbingen
import android.content.Context
import android.system.Os.accept
import android.view.View
import android.view.ViewGroup
import android.widget.LinearLayout
import android.widget.TextView
import androidx.fragment.app.FragmentTransaction
import androidx.recyclerview.widget.RecyclerView
... | 22 | HTML | 0 | 0 | 1ef40e6c30167f9600f85abb2411f16ac415b1c7 | 1,721 | fabianscode.github.io | MIT License |
app/src/main/java/www/fokus/techbytes/utils/DimensionUtils.kt | macmazur | 371,672,539 | false | null | package www.fokus.techbytes.utils
import android.content.res.Resources
import android.graphics.Rect
import android.graphics.RectF
import android.util.DisplayMetrics
import kotlin.math.roundToInt
private val displayMetrics: DisplayMetrics by lazy { Resources.getSystem().displayMetrics }
/**
* Returns boundary of the... | 0 | Kotlin | 0 | 0 | 409cdbb175ce9705203b83a962126d07e8b5c812 | 972 | Apptests | MIT License |
app/src/main/java/com/kssidll/arru/ui/screen/display/shop/ShopViewModel.kt | KSSidll | 655,360,420 | false | null | package com.kssidll.arru.ui.screen.display.shop
import androidx.compose.runtime.*
import androidx.lifecycle.*
import androidx.paging.*
import com.kssidll.arru.data.data.*
import com.kssidll.arru.data.repository.*
import com.kssidll.arru.domain.*
import com.kssidll.arru.domain.data.*
import com.patrykandpatrick.vico.c... | 0 | null | 0 | 4 | ff3f257a0604a6d9e5169dc47753094c9b0c9520 | 3,251 | Arru | BSD 3-Clause Clear License |
kotlinx-serialisation/src/commonMain/kotlin/dev/brella/kotlinx/serialisation/kvon/KvonData.kt | UnderMybrella | 369,903,256 | false | null | package dev.brella.kotlinx.serialisation.kvon
import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.SerializationStrategy
import kotlinx.serialization.StringFormat
import kotlinx.serialization.json.Json
import kotlinx.serialization.j... | 0 | Kotlin | 0 | 0 | 4c4b98b9823a92abe7a2356e447e539aa501383e | 5,690 | kotlinx-serialisation-kvon | MIT License |
mandark-core/src/main/kotlin/dev/jonpoulton/mandark/about/data/GithubApiBuilder.kt | jonapoul | 378,197,473 | false | null | package dev.jonpoulton.mandark.about.data
import com.jakewharton.retrofit2.converter.kotlinx.serialization.asConverterFactory
import dev.jonpoulton.alakazam.http.ApiBuilder
import dev.jonpoulton.alakazam.http.OkHttpClientFactory
import okhttp3.MediaType.Companion.toMediaType
import javax.inject.Inject
internal class ... | 0 | Kotlin | 0 | 0 | 2696c6ba88a623e713a3993d12eeccc9f9723482 | 640 | mandark | Apache License 2.0 |
easyvalidation-toasts/src/main/java/com/wajahatkarim3/easyvalidation/toasts/collection_ktx/EditTextCollectionKtx.kt | muhammad-farhan-bakht | 300,510,038 | true | {"Kotlin": 517049, "Java": 2328} | package com.wajahatkarim3.easyvalidation.toasts.collection_ktx
import android.app.Activity
import android.support.v4.app.Fragment
import android.widget.EditText
import com.wajahatkarim3.easyvalidation.toasts.view_ktx.*
fun Any.nonEmptyListToast(vararg editTextList: EditText, callback: (view: EditText, message: String... | 0 | Kotlin | 0 | 0 | c42ace96712e748f1a39531693ee680a8c69d9f1 | 43,116 | EasyValidation | Apache License 2.0 |
judger/src/main/kotlin/zip/ntoj/judger/Client.kt | ntoj | 660,947,801 | false | {"Kotlin": 192079, "TypeScript": 173011, "Dockerfile": 4185, "Groovy": 1114, "JavaScript": 834, "HTML": 301, "Shell": 84, "SCSS": 75} | package zip.ntoj.judger
import com.fasterxml.jackson.databind.DeserializationFeature
import io.ktor.client.HttpClient
import io.ktor.client.call.body
import io.ktor.client.engine.cio.CIO
import io.ktor.client.plugins.contentnegotiation.ContentNegotiation
import io.ktor.client.request.delete
import io.ktor.client.reque... | 12 | Kotlin | 4 | 5 | e1aee9e6e55d7026bbf4720a614920bf8589eeec | 6,429 | ntoj | MIT License |
game/src/main/kotlin/io/posidon/rpg/client/world/entities/AsteroidNode.kt | zaguragit | 365,525,969 | false | {"Kotlin": 139728, "GLSL": 19421} | package io.posidon.rpg.client.world.entities
import io.posidon.rpg.client.world.Composition
import io.posidon.uranium.mathlib.types.Vec2f
import io.posidon.uranium.Global
import io.posidon.uranium.gfx.assets.invoke
import io.posidon.uranium.gfx.renderer.Renderer
import io.posidon.uranium.gfx.renderer.renderQuad2D
impo... | 0 | Kotlin | 0 | 0 | 4ef6bffe2f857e8ade0cdc34d4c8a59778bafb28 | 2,013 | rpg-engine | Apache License 2.0 |
Lesson-Notes/Week Three - Android Design - Lifecycle - Intent - Backstack/app/src/main/java/com/canerture/weekthree/MainActivity.kt | upschool-classroom | 654,151,353 | false | null | package com.canerture.weekthree
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.canerture.weekthree.databinding.ActivityMainBinding
class MainActivity : AppCompatActivity() {
private lateinit var... | 0 | Kotlin | 0 | 4 | 6cf8396903f049fa0176faae552fd0652d138e62 | 2,296 | AD-3-Bootcamp-Progress | MIT License |
kotlin-math-2/src/main/kotlin/com/baeldung/math/fibonacci/Fibonacci.kt | Baeldung | 260,481,121 | false | {"Kotlin": 1855665, "Java": 48276, "HTML": 4883, "Dockerfile": 292} | package com.baeldung.math.fibonacci
fun fibonacciUsingRecursion(num: Int): Int {
return if (num <= 1) {
num
} else {
fibonacciUsingRecursion(num - 1) + fibonacciUsingRecursion(num - 2)
}
}
fun fibonacciUsingIteration(num: Int): Int {
var a = 0
var b = 1
var tmp: Int
for (i ... | 8 | Kotlin | 294 | 465 | f1ef5d5ded3f7ddc647f1b6119f211068f704577 | 776 | kotlin-tutorials | MIT License |
app/src/main/java/ru/karasevm/privatednstoggle/util/BackupUtils.kt | karasevm | 397,230,660 | false | {"Kotlin": 68270} | package ru.karasevm.privatednstoggle.util
import android.content.SharedPreferences
import com.google.gson.annotations.SerializedName
import ru.karasevm.privatednstoggle.data.DnsServerViewModel
import ru.karasevm.privatednstoggle.model.DnsServer
import ru.karasevm.privatednstoggle.util.PreferenceHelper.AUTO_MODE
import... | 6 | Kotlin | 21 | 348 | fa9d259a21181640f6dbba4be732ffc1e3f3ab80 | 2,751 | PrivateDNSAndroid | MIT License |
clients/android/app/src/test/java/app/lockbook/MigrateDBTest.kt | lockbook | 231,677,385 | false | null | package app.lockbook
import app.lockbook.core.migrateDB
import app.lockbook.model.CoreModel
import app.lockbook.util.*
import com.beust.klaxon.Klaxon
import com.github.michaelbull.result.Result
import com.github.michaelbull.result.unwrap
import org.junit.After
import org.junit.BeforeClass
import org.junit.Test
class ... | 74 | Rust | 0 | 42 | c13a72c20b16c482d0f68a5045d109dc3600ad7c | 1,043 | lockbook | The Unlicense |
redpulsar-jedis/src/test/kotlin/com/himadieiev/redpulsar/jedis/locks/backends/JedisLocksBackendTest.kt | himadieievsv | 735,520,568 | false | {"Kotlin": 209987} | package com.himadieiev.redpulsar.jedis.locks.backends
import TestTags
import equalsTo
import io.mockk.every
import io.mockk.mockk
import io.mockk.verify
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertNull
import org.junit.jupiter.api.BeforeEach
import org.junit.jupit... | 4 | Kotlin | 0 | 2 | 8b2e8641473d6a640a3d9b11d2e5a1b0609755a9 | 8,935 | redpulsar | Apache License 2.0 |
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/photos/methods/PhotosConfirmTag.kt | Anton3 | 159,801,334 | true | {"Kotlin": 1382186} | @file:Suppress("unused", "MemberVisibilityCanBePrivate", "SpellCheckingInspection")
package name.anton3.vkapi.generated.photos.methods
import com.fasterxml.jackson.module.kotlin.jacksonTypeRef
import name.anton3.vkapi.method.UserMethod
import name.anton3.vkapi.method.VkMethod
import name.anton3.vkapi.vktypes.OkRespon... | 2 | Kotlin | 0 | 8 | 773c89751c4382a42f556b6d3c247f83aabec625 | 719 | kotlin-vk-api | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/robomaker/CfnRobotApplicationVersionDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.robomaker
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awsc... | 4 | null | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 2,424 | awscdk-dsl-kotlin | Apache License 2.0 |
threads/src/main/kotlin/pl/edu/pw/ia/threads/infrastructure/token/TokenStoreConfiguration.kt | ERSMS-24L | 768,705,060 | false | {"Kotlin": 152647, "TypeScript": 34841, "HTML": 7540, "Shell": 4360, "JavaScript": 2661, "SCSS": 2602, "CSS": 930, "Dockerfile": 792} | package pl.edu.pw.ia.accounts.infrastructure.query.token
import com.mongodb.client.MongoClient
import org.axonframework.common.transaction.TransactionManager
import org.axonframework.eventhandling.tokenstore.TokenStore
import org.axonframework.extensions.mongo.DefaultMongoTemplate
import org.axonframework.extensions.m... | 28 | Kotlin | 2 | 2 | 450432b4792337debd2f3cb63ee178ba7210d6ec | 949 | ERSMS-24L | MIT License |
src/main/kotlin/dev/turingcomplete/intellijbytecodeplugin/openclassfiles/_internal/ClassFilesFinderService.kt | marcelkliemannel | 371,950,849 | false | {"Kotlin": 373508, "Java": 2479} | package dev.turingcomplete.intellijbytecodeplugin.openclassfiles._internal
import com.intellij.debugger.engine.JVMNameUtil
import com.intellij.ide.highlighter.JavaClassFileType
import com.intellij.openapi.application.ReadAction
import com.intellij.openapi.components.Service
import com.intellij.openapi.components.servi... | 0 | Kotlin | 4 | 35 | ba60f5a986115ec4ee2036ed1ab06ccab519625d | 23,041 | intellij-byte-code-plugin | Apache License 2.0 |
ssjetpackcomposeprogressbutton/src/main/java/com/simform/ssjetpackcomposeprogressbuttonlibrary/Animation.kt | SimformSolutionsPvtLtd | 366,930,914 | false | null | package com.simform.ssjetpackcomposeprogressbuttonlibrary
import androidx.compose.animation.animateColor
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.LinearOutSlowInEasing
import androidx.compose.animation.core.RepeatMode
import androidx.compose.animation.core.VectorConver... | 1 | Kotlin | 5 | 98 | 684babe7a9c469155ab4640603d3cc438b8ed9e6 | 3,025 | SSJetPackComposeProgressButton | Apache License 2.0 |
ClaseS4/app/src/main/java/com/example/clases4/CinemaDetailsActivity.kt | j0rgedev | 859,023,468 | false | {"Kotlin": 110122} | package com.example.clases4
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
class CinemaDetailsActivity: ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(saved... | 0 | Kotlin | 0 | 0 | cc50c374acc2a34fb7e0cb286f53e8420c97da9a | 1,418 | utp-desarrollo-movil | MIT License |
customer/src/main/kotlin/cz/zubal/spring/multimodule/customer/CustomerRepo.kt | mzubal | 123,785,587 | false | null | package cz.zubal.spring.multimodule.customer
import org.springframework.data.repository.CrudRepository
internal interface CustomerRepo : CrudRepository<CustomerEntity, Long> {
fun findByUsername(username: String?): CustomerEntity
}
| 0 | Kotlin | 3 | 26 | 083e6953c7baf5d82c75e3dc2ec555cbf984efcc | 240 | spring-gradle-kotlin-multimodule | MIT License |
app/src/main/java/com/rodgim/news/data/Wrapper.kt | rodgim | 651,249,318 | false | null | package com.rodgim.news.data
import com.rodgim.news.domain.models.Article
import com.rodgim.news.domain.models.Source
import com.rodgim.news.data.api.models.Article as ArticleApi
import com.rodgim.news.data.api.models.Source as SourceApi
import com.rodgim.news.data.db.models.Article as ArticleDb
import com.rodgim.news... | 0 | Kotlin | 0 | 0 | 1ccca0046e0ee6f7ea852d7cc2c7b3fc1a574595 | 1,382 | news | The Unlicense |
app/src/main/java/com/rajubd49/jsonparsing/jsonparsingandroid/Movie.kt | rajubd49 | 135,294,182 | false | {"Kotlin": 28675} | package com.rajubd49.jsonparsing.jsonparsingandroid
/**
* Created by bs195 on 5/29/18.
*/
class Movie (
val results: List<Item>
)
class Item(
val id: Int,
val title: String,
val overview: String,
val poster_path: String
) | 0 | Kotlin | 0 | 1 | c5dc46754d92bf8eb5637f8b139e7e52f13d1f8e | 266 | JSONParsing_Android | MIT License |
src/main/kotlin/me/earthme/mysm/utils/ysm/MD5Utils.kt | Era4FunMC | 701,306,363 | false | {"Kotlin": 119393, "Java": 31228} | package me.earthme.mysm.utils.ysm
import java.security.MessageDigest
object MD5Utils {
private var MD5_DIGEST: MessageDigest? = null
init {
MD5_DIGEST = try {
MessageDigest.getInstance("MD5")
} catch (e: Exception) {
throw RuntimeException(e)
}
}
fun g... | 0 | Kotlin | 3 | 7 | b46fbafaf0d9bb4a006e893aa7da7062154cf3cc | 937 | MyYsmNonFull | MIT License |
service/src/main/kotlin/org/eclipse/keti/acs/attribute/readers/SubjectAttributeReader.kt | anubhavi25 | 137,931,061 | true | {"Kotlin": 1252473, "Shell": 39051, "Gherkin": 8014, "Groovy": 6987} | /*******************************************************************************
* Copyright 2018 General Electric Company
*
* 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:... | 1 | Kotlin | 0 | 0 | 285400fba42c687bb42bf4e537ae6f9eca4bf4df | 1,068 | keti | Apache License 2.0 |
app/src/main/java/com/breezedobieefoods/features/leaveapplynew/ClickonStatus.kt | DebashisINT | 851,530,716 | false | {"Kotlin": 15739059, "Java": 1026627} | package com.breezedobieefoods.features.leaveapplynew
import com.breezedobieefoods.features.addAttendence.model.Leave_list_Response
interface ClickonStatus {
fun OnApprovedclick(obj: Leave_list_Response)
fun OnRejectclick(obj: Leave_list_Response)
} | 0 | Kotlin | 0 | 0 | c8d46e3ee31aa98fb3bc57ac5701cda7c7d1110c | 259 | DobieeFoods | Apache License 2.0 |
plugins/groovy/src/org/jetbrains/plugins/groovy/console/actions/GrSelectModuleAction.kt | weiqiangzheng | 147,818,210 | true | {"Text": 3086, "XML": 4570, "Ant Build System": 17, "Shell": 38, "Markdown": 19, "Ignore List": 30, "Git Attributes": 7, "Batchfile": 31, "Java": 59267, "C++": 14, "HTML": 2671, "Kotlin": 2174, "Gradle": 44, "Java Properties": 88, "Groovy": 2774, "INI": 219, "JFlex": 24, "XSLT": 109, "JavaScript": 180, "CSS": 63, "JSON... | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.groovy.console.actions
import com.intellij.icons.AllIcons
import com.intellij.ide.projectView.ProjectView
import com.intellij.openapi.actionSystem.A... | 0 | null | 0 | 1 | b803c8dc2b996ad983a5d1d4de21c6eae06eec78 | 2,138 | intellij-community | Apache License 2.0 |
src/commonTest/kotlin/SupabaseClientTest.kt | supabase-community | 495,084,592 | false | null | import io.github.jan.supabase.SupabaseClient
import io.github.jan.supabase.SupabaseClientBuilder
import io.github.jan.supabase.createSupabaseClient
import io.github.jan.supabase.plugins.SupabasePlugin
import io.github.jan.supabase.plugins.SupabasePluginProvider
import io.ktor.client.engine.mock.MockEngine
import io.kto... | 2 | Kotlin | 8 | 80 | 1a4d3803201ad4e10a65862b3ef40be66d03e47f | 2,912 | supabase-kt | MIT License |
app/src/main/kotlin/org/andstatus/app/data/converter/Convert24.kt | andstatus | 3,040,264 | false | {"Kotlin": 3385973, "XSLT": 14655, "HTML": 14046, "CSS": 4427, "Shell": 707} | /*
* Copyright (c) 2014 yvolk (Yuri Volkov), http://yurivolkov.com
*
* 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 requ... | 86 | Kotlin | 69 | 306 | 6166aded1f115e6e6a7e66ca3756f39f0434663e | 2,703 | andstatus | Apache License 2.0 |
src/main/kotlin/no/nav/sosialhjelp/modia/soknad/hendelser/HendelseController.kt | navikt | 216,780,859 | false | {"Kotlin": 459845, "Dockerfile": 427} | package no.nav.sosialhjelp.modia.soknad.hendelser
import no.nav.security.token.support.core.api.ProtectedWithClaims
import no.nav.sosialhjelp.modia.tilgang.TilgangskontrollService
import no.nav.sosialhjelp.modia.utils.Ident
import org.springframework.http.HttpHeaders.AUTHORIZATION
import org.springframework.http.HttpM... | 4 | Kotlin | 0 | 1 | 83917077f4c1846777463bab3d358cb6cdd47f76 | 1,515 | sosialhjelp-modia-api | MIT License |
app/src/main/java/com/altice/eteco/course/basic/time/data.kt | fbencosme | 94,599,690 | false | null | package com.altice.eteco.course.basic.time
import android.content.Context
import com.altice.eteco.course.basic.R
import org.joda.time.DateTime
import org.joda.time.Period
import org.joda.time.format.PeriodFormatterBuilder
enum class TimeSource {
From, To, Now
}
fun Pair<DateTime, DateTime>.period(ctx: Context)... | 0 | Kotlin | 0 | 0 | 3cfa27b795711629050f84eaf1c0db82d17010c7 | 1,633 | prj-course-basic | Info-ZIP License |
app/src/main/java/com/panda/pda/app/discovery/TaskReportDetailFragment.kt | Givennn | 402,701,983 | false | null | package com.panda.pda.app.discovery
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.activityViewModels
import by.kirich1409.viewbindingdelegate.viewBinding
import coil.api.load
import com.panda.pda.app.R
import com.panda.pd... | 0 | Kotlin | 0 | 0 | 24f6284eed22b1fe91b5462a0cdd5a466d6531ad | 3,541 | pda | MIT License |
scientific/src/commonTest/kotlin/unit/MolarityUnitTest.kt | splendo | 191,371,940 | false | null | /*
Copyright 2021 Splendo Consulting B.V. The Netherlands
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appli... | 91 | null | 7 | 93 | cd0f3a583efb69464aa020d206f598c6d15a0899 | 5,560 | kaluga | Apache License 2.0 |
app/src/main/java/com/work/challengeyapeapp/features/navigation/AppNavigation.kt | AlexFernandoOsorio | 813,399,089 | false | {"Kotlin": 77540} | package com.work.challengeyapeapp.features.navigation
import androidx.compose.runtime.Composable
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavController
import com.work.challe... | 0 | Kotlin | 0 | 0 | 7370f2798a70cede98b36377f8f6e0c0a53dd039 | 1,695 | CodeChallengeRecipeApp | Apache License 2.0 |
app/src/main/java/apollozhu/github/io/azdmv/Model/Quiz.kt | ApolloZhu | 116,250,749 | false | null | package apollozhu.github.io.azdmv.model
data class Quiz(val question: String,
val imageName: String?,
val reason: String,
val correctAnswerID: Int,
val answers: List<QuizAnswer>) {
val imageURL: String? by lazy {
if (imageName == null) null
... | 0 | Kotlin | 0 | 1 | 82f81d7757a7a4bd796be82539ed5ec0bb82ae42 | 647 | AZDMV-Android | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.