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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/main/kotlin/org/quiltmc/loader/api/LoaderValue.kt | KiltMC | 763,325,301 | false | {"Kotlin": 78977, "Java": 848} | package org.quiltmc.loader.api
import net.fabricmc.loader.api.metadata.CustomValue
import xyz.bluspring.argyle.wrappers.QuiltLoaderValueArrayWrapper
import xyz.bluspring.argyle.wrappers.QuiltLoaderValueObjectWrapper
interface LoaderValue : CustomValue {
fun type(): LType?
fun location(): String?
fun asOb... | 0 | Kotlin | 0 | 2 | 7c65fe265935b98534e3d1a36d6600df1a8f93bf | 1,524 | Argyle | Apache License 2.0 |
shared/domain/seasons/api/src/commonMain/kotlin/com/thomaskioko/tvmaniac/seasons/api/SeasonsRepository.kt | c0de-wizard | 361,393,353 | false | null | package com.thomaskioko.tvmaniac.seasons.api
import com.thomaskioko.tvmaniac.core.db.SelectSeasonsByShowId
import com.thomaskioko.tvmaniac.core.util.network.Resource
import kotlinx.coroutines.flow.Flow
interface SeasonsRepository {
fun observeShowSeasons(traktId: Int): Flow<Resource<List<SelectSeasonsByShowId>>>... | 3 | Kotlin | 8 | 81 | 9df7429257c4cff0346734392c89b8017b90bd45 | 323 | tv-maniac | Apache License 2.0 |
hr-worker/src/main/kotlin/com/almeida/hrworker/HrWorkerApplication.kt | luc4salmeida | 341,186,311 | false | {"Kotlin": 24253} | package com.almeida.hrworker
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cloud.netflix.eureka.EnableEurekaClient
@EnableEurekaClient
@SpringBootApplication
class HrWorkerApplication
fun main(args: Array<String>) {
runA... | 0 | Kotlin | 0 | 0 | 91850bb66a5fc3ce8d734329d485d30edd1a1737 | 361 | ms-spring | MIT License |
walletconnectv2/src/main/kotlin/com/walletconnect/walletconnectv2/core/model/vo/sequence/SessionVO.kt | mobilekosmos | 440,628,145 | true | {"Kotlin": 442588} | package com.walletconnect.walletconnectv2.core.model.vo.sequence
import com.walletconnect.walletconnectv2.core.model.type.Sequence
import com.walletconnect.walletconnectv2.core.model.vo.ExpiryVO
import com.walletconnect.walletconnectv2.core.model.vo.PublicKey
import com.walletconnect.walletconnectv2.core.model.vo.Topi... | 0 | Kotlin | 0 | 0 | e5b22bf3dea35cfa4c2c89c56e402bf97e7297bd | 3,768 | WalletConnectKotlinV2-1 | Apache License 2.0 |
trixnity-core/src/commonMain/kotlin/net/folivo/trixnity/core/serialization/events/EventTypeSerializer.kt | benkuly | 330,904,570 | false | {"Kotlin": 4242169, "JavaScript": 5352, "TypeScript": 2906, "CSS": 1454} | package net.folivo.trixnity.core.serialization.events
import kotlinx.serialization.KSerializer
import kotlinx.serialization.descriptors.PrimitiveKind
import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serialization.encoding.Decode... | 0 | Kotlin | 3 | 30 | 96c656e1c20d60518b61884efe88ceaa9e899d75 | 1,296 | trixnity | Apache License 2.0 |
app/src/main/java/me/pblinux/tvmaze/ui/theme/Theme.kt | pblinux | 374,239,080 | false | null | package me.pblinux.tvmaze.ui.theme
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material.MaterialTheme
import androidx.compose.material.darkColors
import androidx.compose.material.lightColors
import androidx.compose.runtime.Composable
import androidx.compose.runtime.SideEffect
import ... | 0 | Kotlin | 0 | 0 | 4f5644cb8fce8f97992df0d9ef96424f8780cffc | 1,479 | tvmaze | MIT License |
implementation/src/main/java/pcb/uwu/unit/base/OunceUnit.kt | pedro-borges | 105,442,770 | false | {"Kotlin": 295141} | package pcb.uwu.unit.base
import pcb.uwu.unit.base.OunceUnit.CONVERT
object OunceUnit
: MassUnit(symbol = "oz",
singularName = "ounce",
pluralName = "ounces",
translationToCanonical = { it * CONVERT },
translationFromCanonical = { it / CONVERT })
{
c... | 10 | Kotlin | 0 | 2 | 4a2e79272dd83e3d47d8fac6677471add4be02ad | 354 | units | Apache License 2.0 |
authorization/src/main/java/com/fitless/authorization/registration/registration/domain/model/PasswordStatus.kt | SultanS1 | 767,628,796 | false | {"Kotlin": 76907} | package com.fitless.authorization.registration.registration.domain.model
enum class PasswordStatus {
TOO_SHORT,
OK,
} | 0 | Kotlin | 0 | 0 | 1db95bc29e02cfa548dac4c8dd51524daa6bac9a | 126 | FitnesX | MIT License |
app/src/main/java/mil/nga/msi/datasource/port/PortMapItem.kt | ngageoint | 588,211,646 | false | null | package mil.nga.msi.datasource.port
import androidx.room.ColumnInfo
data class PortMapItem(
@ColumnInfo(name = "port_number") val portNumber: Int,
@ColumnInfo(name = "latitude") val latitude: Double,
@ColumnInfo(name = "longitude") val longitude: Double
) | 0 | Kotlin | 0 | 0 | 233fec1388f5036c17ae5d99b8c0372e22630240 | 266 | marlin-android | MIT License |
app/src/main/java/com/dnnt/touch/ui/chat/ChatAdapter.kt | zhoujucheng | 119,154,071 | false | null | package com.dnnt.touch.ui.chat
import android.databinding.DataBindingUtil
import android.databinding.ViewDataBinding
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.dnnt.touch.BR
import com.dnnt.touch.MyApplication
import com.dnnt.touch.R
import com.dnnt.touch.been.... | 0 | Kotlin | 0 | 1 | b7a85731b95beb93c5f6f18482f4efbe38935d7d | 2,217 | Touch | Apache License 2.0 |
src/main/kotlin/com/atlassian/performance/tools/aws/api/Resource.kt | atlassian-labs | 314,701,354 | false | {"Kotlin": 143884} | package com.atlassian.performance.tools.aws.api
import java.util.concurrent.CompletableFuture
/**
* We need to [release] unnecessary AWS resources to keep our bills sustainable.
* Code, which allocates these resources should release them after the resources are no longer necessary.
* However, every process can fai... | 0 | Kotlin | 1 | 2 | aa41e0843b6beaf4e4f711f5cce6839a1deffa82 | 604 | aws-resources | Apache License 2.0 |
kotlin-mui-icons/src/main/generated/mui/icons/material/BurstModeTwoTone.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/BurstModeTwoTone")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val BurstModeTwoTone: SvgIconComponent
| 10 | Kotlin | 145 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 214 | kotlin-wrappers | Apache License 2.0 |
smash-ranks-android/app/src/androidTest/java/com/garpr/android/features/deepLink/DeepLinkViewModelTest.kt | charlesmadere | 41,832,700 | true | null | package com.garpr.android.features.deepLink
import com.garpr.android.data.models.Endpoint
import com.garpr.android.data.models.Region
import com.garpr.android.data.models.RegionsBundle
import com.garpr.android.extensions.require
import com.garpr.android.features.common.viewModels.BaseViewModelTest
import com.garpr.and... | 0 | Kotlin | 0 | 9 | 151b2a0f9b4d38be60c3f73344ca444f17810bfd | 16,492 | smash-ranks-android | The Unlicense |
java/io/jackbradshaw/otter/engine/core/EngineCoreModule.kt | jack-bradshaw | 468,854,318 | false | null | package io.jackbradshaw.otter.engine.core
import dagger.Binds
import dagger.Module
@Module
interface EngineCoreModule {
@Binds fun bindEngine(impl: EngineCoreImpl): EngineCore
}
| 4 | Kotlin | 0 | 7 | 1c132a27263a53828253ab76a35c8cd8fecce0ec | 182 | monorepo | MIT License |
composeApp/src/desktopMain/kotlin/me/gustavolopezxyz/desktop/services/BackupService.kt | gusaln | 736,062,721 | false | {"Kotlin": 304914} | /*
* Copyright (c) 2023. <NAME>. All rights reserved.
*/
package me.gustavolopezxyz.desktop.services
import kotlinx.coroutines.DelicateCoroutinesApi
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.launch
import kotlinx.datetime.Clock
import kotlinx.datetime.Loca... | 0 | Kotlin | 0 | 1 | d1e56bb6dce4a0d9c430a8d4f6bcf67b1249ea52 | 3,651 | wimm | MIT License |
Fiber-Node/src/main/kotlin/app/fiber/project/node/configuration/RunConfiguration.kt | fiber-cloud | 186,826,312 | false | null | package app.fiber.project.node.configuration
import app.fiber.project.node.software.proxy.ProxyGroupRegistry
import app.fiber.project.node.software.server.ServerGroupRegistry
data class RunConfiguration(
val name: String,
val proxyGroupRegistry: ProxyGroupRegistry,
val serverGroupRegistry: ServerGroupRegi... | 0 | Kotlin | 2 | 7 | 65ba7b647f2bdd13ee0259555aaf45c7efc03f52 | 326 | Fiber | MIT License |
src/commonMain/kotlin/msw/extras/kxsmine/tree/decoding/tag/LongArrayTagDecoder.kt | RaphaelTarita | 339,542,946 | false | null | package msw.extras.kxsmine.tree.decoding.tag
import msw.extras.kxsmine.tree.TagType
import msw.extras.kxsmine.tree.decoding.payload.LongArrayPayloadDecoder
import msw.extras.kxsmine.tree.decoding.payload.PayloadDecoder
import msw.extras.kxsmine.tree.node.tag.LongArrayTagNode
import msw.extras.kxsmine.tree.node.tag.Tag... | 0 | Kotlin | 0 | 4 | a4ee46c03114463787a0573c41395d02afb468ef | 619 | KXSmine | MIT License |
core/src/main/java/com/depromeet/threedays/core/analytics/AnalyticsSdk.kt | depromeet12th | 548,194,728 | false | null | package com.depromeet.threedays.core.analytics
import android.content.Context
interface AnalyticsSdk {
fun init(context: Context)
fun isInitialized(): Boolean
fun event(name:String, properties: Map<String, Any>)
}
| 0 | Kotlin | 1 | 15 | 1cc08fcf2b038924ab0fe5feaaff548974f40f4d | 228 | three-days-android | MIT License |
app/src/main/java/com/example/android/newsupdate/activity/TechActivity.kt | PrincePandey1 | 389,986,595 | false | null | package com.example.android.newsupdate.activity
import Adapter.HealthAdapter
import Adapter.TechAdapter
import android.content.Intent
import android.graphics.Color
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import androidx.recyclerview.widget.LinearLayoutManager
im... | 0 | Kotlin | 0 | 0 | 673f505e16ddb9ecbe9a9a92b91169df9c029e88 | 2,862 | NewsUpdate | Apache License 2.0 |
src/test/kotlin/test_env/features/feature3/Feature3.kt | MobileUpLLC | 499,206,031 | false | {"Kotlin": 27728} | package test_env.features.feature3
import test_env.features.cycle.Cycle
class Feature3 {
val a = Cycle()
} | 0 | Kotlin | 0 | 4 | 9036d9987898ec821caed2da236a1a9e6925c280 | 113 | Module-Graph-Gradle-Plugin | MIT License |
composeApp/src/commonMain/kotlin/org/sam/app/domain/model/MoviesModel.kt | Usama-Aman | 737,119,593 | false | {"Kotlin": 52440, "Swift": 532, "JavaScript": 475, "HTML": 280} | package org.sam.app.domain.model
import org.sam.app.common.Constants
data class MoviesModel(
var adult: Boolean? = null,
var genreIds: List<Int?>? = null,
var id: Int = -1,
var originalLanguage: String? = null,
var originalTitle: String? = null,
var overview: String? = null,
var posterPat... | 0 | Kotlin | 0 | 0 | 98f3f06134bac50f7c502aebf2cc5f2e8332a924 | 473 | compose-multiplatform-movies-app | Apache License 2.0 |
app/src/main/java/com/bed/seller/data/repositories/StorageRepositoryImpl.kt | bed72 | 674,410,644 | false | {"Kotlin": 172874} | package com.bed.seller.data.repositories
import javax.inject.Inject
import kotlinx.coroutines.flow.Flow
import com.bed.seller.data.datasources.StorageDatasource
interface StorageRepository {
suspend fun get(value: String): Flow<String>
suspend fun save(value: Pair<String, String>)
}
class StorageRepositor... | 0 | Kotlin | 0 | 1 | c17673d01f564400ee17d456315d3437ce078396 | 589 | Hogwarts | MIT License |
jvm/jvm-analysis-kotlin-tests/testData/codeInspection/junit5assertionsconverter/AssertThat.after.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
import org.junit.Assert.*
import org.hamcrest.Matcher
import org.hamcrest.MatcherAssert
import org.junit.jupiter.api.Test
internal class Test1 {
@Test
f... | 191 | null | 4372 | 13,319 | 4d19d247824d8005662f7bd0c03f88ae81d5364b | 428 | intellij-community | Apache License 2.0 |
node-kotlin/src/jsMain/kotlin/node/childProcess/ExecFileSyncOptionsWithStringEncoding.kt | karakum-team | 393,199,102 | false | {"Kotlin": 7083457} | // Automatically generated - do not modify!
package node.childProcess
sealed external interface ExecFileSyncOptionsWithStringEncoding : ExecFileSyncOptions {
override var encoding: Any? /* BufferEncoding */
}
| 0 | Kotlin | 6 | 26 | 3ca49a8f44fc8b46e393ffe66fbd81f8b4943c18 | 215 | types-kotlin | Apache License 2.0 |
app/src/main/java/com/mnnit/moticlubs/ui/components/channelscreen/PostGuidanceDialog.kt | CC-MNNIT | 576,708,897 | false | {"Kotlin": 563214, "Shell": 212} | package com.mnnit.moticlubs.ui.components.channelscreen
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.heightIn
import androidx.... | 0 | Kotlin | 1 | 1 | 6be5e334b94b0bc89c3f33bd6f581fd739e14786 | 3,614 | MotiClubs | MIT License |
gradle-plugins/core/src/main/kotlin/com/varabyte/kobweb/gradle/core/kmp/MultiplatformExtensions.kt | varabyte | 389,223,226 | false | null | package com.varabyte.kobweb.gradle.core.kmp
import org.gradle.api.Action
import org.gradle.api.NamedDomainObjectCollection
import org.gradle.api.NamedDomainObjectContainer
import org.gradle.api.Project
import org.gradle.api.plugins.ExtensionAware
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
impo... | 100 | Kotlin | 31 | 771 | fcda655ef9ba10512377c925ccde758517bf12ea | 955 | kobweb | Apache License 2.0 |
Android/app/src/main/java/ru/alexskvortsov/policlinic/domain/states/records/list/Record.kt | AlexSkvor | 244,438,301 | false | null | package ru.alexskvortsov.policlinic.domain.states.records.list
import org.threeten.bp.LocalDateTime
import ru.alexskvortsov.policlinic.data.storage.database.entities.*
data class Record(
val consultationId: String,
val doctorEntity: DoctorEntity,
val patientEntity: PatientEntity,
val competenceEntity:... | 0 | Kotlin | 0 | 0 | 5cc6a10a1399ee08643e69308afd4626938882b0 | 726 | polyclinic | Apache License 2.0 |
githubuserfavoriteapps/src/main/java/com/ferdyhaspin/githubuserfavoriteapps/User.kt | ferdyhaspin | 262,837,173 | false | null | package com.ferdyhaspin.githubuserfavoriteapps
/**
* Created by ferdyhaspin on 22/05/20.
* Copyright (c) 2020 Github User Apps All rights reserved.
*/
data class User(
val image: String,
val username: String
) | 0 | Kotlin | 0 | 0 | d129fbec737258e0582bb5abe01e54b54916fad0 | 221 | github-user | Apache License 2.0 |
src/main/kotlin/de/mbdevelopment/adventofcode/year2021/solvers/day8/Day8Puzzle1.kt | Any1s | 433,954,562 | false | {"Kotlin": 96683} | package de.mbdevelopment.adventofcode.year2021.solvers.day8
import de.mbdevelopment.adventofcode.year2021.solvers.PuzzleSolver
class Day8Puzzle1 : PuzzleSolver {
companion object {
private val uniqueNumbersOfSegments = setOf(
2, // Digit 1
3, // Digit 7
4, // Digit 4
... | 0 | Kotlin | 0 | 0 | 21d3a0e69d39a643ca1fe22771099144e580f30e | 869 | AdventOfCode2021 | Apache License 2.0 |
vertx-pac4j-async-demo/src/test/kotlin/org/pac4j/async/vertx/authserver/DummyAuthServer.kt | millross | 77,838,408 | false | {"Java": 588457, "Kotlin": 44532, "HTML": 448} | package org.pac4j.async.vertx.authserver
import io.vertx.core.Vertx
import io.vertx.core.http.HttpMethod
import io.vertx.core.http.HttpServer
import io.vertx.ext.web.Router
import io.vertx.kotlin.coroutines.awaitResult
import org.pac4j.async.vertx.AUTH_SERVER_PROFILE_ENDPOINT
import org.pac4j.async.vertx.AUTH_SERVER_T... | 1 | null | 1 | 1 | bb4a5e03f279b2e50f228340b9607d1f1a3901a7 | 1,243 | pac4j-async | Apache License 2.0 |
ServerChat/src/Server.kt | miroso22 | 326,056,790 | false | {"Kotlin": 10361} | import java.net.ServerSocket
private const val port = 6667
private val server = ServerSocket(port)
val clients = ArrayList<Client>()
fun main() {
while (true) {
val client = server.accept()
clients.add(Client(client))
}
}
| 0 | Kotlin | 0 | 1 | 8c108b206cf0c2f3a0b28086cf309966a4fe2213 | 248 | Chat_Kotlin | MIT License |
app/src/main/java/com/dicoding/submission/githubuser/others/DataStorePreferences.kt | muhammadhassan3 | 405,538,513 | false | null | package com.dicoding.submission.githubuser.others
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.core.booleanPreferencesKey
import androidx.datastore.preferences.core.edit
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutine... | 0 | Kotlin | 0 | 0 | c5434dc97345178d32fe4cace4502a67f5b19934 | 1,197 | github-api-example | MIT License |
app/src/main/java/com/github/drewstephensdesigns/astrofeed/ui/about/AboutFragment.kt | drewstephensdesigns | 742,485,540 | false | {"Kotlin": 126788} | package com.github.drewstephensdesigns.astrofeed.ui.about
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.github.drewstephensdesigns.astrofeed.R
impo... | 0 | Kotlin | 0 | 0 | a343890d6917abd5d9e7ad9362b35501264e80c6 | 1,723 | AstroFeed | MIT License |
src/main/kotlin/com/github/w0819/game/uhc/recipes/Bloodlust.kt | w0819 | 418,112,809 | false | {"Kotlin": 174492} | package com.github.w0819.game.uhc.recipes
import com.github.w0819.game.util.ExtraUltimates
import org.bukkit.Material
import org.bukkit.NamespacedKey
import org.bukkit.inventory.ItemStack
object Bloodlust : ExtraUltimates(
NamespacedKey.minecraft("bloodlust"),
Bloodlust,
100000,
"BloodCraft","Inventio... | 0 | Kotlin | 2 | 3 | d3aa47c6be6330a10e6689ff89f161eccee25563 | 704 | UHC_System | MIT License |
core/src/main/kotlin/com/weedow/spring/data/search/descriptor/SearchDescriptorRegistry.kt | gitter-badger | 310,432,814 | true | {"Kotlin": 400259, "Java": 16661, "ANTLR": 2692} | package com.weedow.spring.data.search.descriptor
/**
* Register the [SearchDescriptor]s.
*/
interface SearchDescriptorRegistry {
/**
* Adds a [SearchDescriptor] in the registry.
*
* @param searchDescriptor [SearchDescriptor] to be added
*/
fun addSearchDescriptor(searchDescriptor: Search... | 0 | null | 0 | 0 | d6a214fa822bd2b694625358c157d2bf715de27e | 337 | spring-data-search | MIT License |
foregroundsdk/src/main/java/com/rotemati/foregroundsdk/internal/connectivity/ConnectivityHandler.kt | ironSource | 302,076,724 | false | null | package com.rotemati.foregroundsdk.internal.connectivity
import android.content.Context
import com.rotemati.foregroundsdk.internal.extensions.getConnectivityManager
internal interface ConnectivityHandler {
fun register(context: Context)
fun unregister(context: Context)
val connected: Boolean
val blocked: Bool... | 1 | Kotlin | 0 | 19 | 01a38f1f30a705a03b24731bac1909bcb16d1d75 | 738 | alleviate | The Unlicense |
app/src/main/java/com/example/napasin/SettingActivity.kt | iqbalanandra | 816,686,689 | false | {"Kotlin": 59322} | package com.example.napasin
import android.content.Intent
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.animation.core.tween
import... | 0 | Kotlin | 0 | 0 | 1e74eb4654487612a15e4d5f3c937cacdd05df47 | 12,949 | napasin | MIT License |
microapp/gamepage/src/main/java/bruhcollective/itaysonlab/microapp/gamepage/ui/components/GamePeriodicChallengesCards.kt | iTaysonLab | 525,967,051 | false | {"Kotlin": 203833} | package bruhcollective.itaysonlab.microapp.gamepage.ui.components
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.comp... | 0 | Kotlin | 0 | 13 | f651cfc692852c378c9cd3b4e41d8aa1b5a76eb5 | 1,581 | jetisoft | Apache License 2.0 |
src/main/kotlin/me/peckb/aoc/_2018/calendar/day11/Day11.kt | peckb1 | 433,943,215 | false | {"Kotlin": 818902} | package me.peckb.aoc._2018.calendar.day11
import javax.inject.Inject
import me.peckb.aoc.generators.InputGenerator.InputGeneratorFactory
import kotlin.Int.Companion.MIN_VALUE
class Day11 @Inject constructor(private val generatorFactory: InputGeneratorFactory) {
fun partOne(filename: String) = generatorFactory.forF... | 0 | Kotlin | 1 | 4 | 5507219c37a97500eed6e455520038549237b504 | 2,639 | advent-of-code | MIT License |
kminiorm/src/jvmMain/kotlin/com/soywiz/kminiorm/typer/Typer.kt | korlibs | 211,091,810 | false | {"Kotlin": 204714} | package com.soywiz.kminiorm.typer
import com.soywiz.kminiorm.*
import com.soywiz.kminiorm.convert.*
import com.soywiz.kminiorm.internal.*
import java.math.*
import java.time.*
import java.util.*
import kotlin.collections.ArrayList
import kotlin.collections.HashMap
import kotlin.collections.LinkedHashMap
import kotlin.... | 1 | Kotlin | 1 | 9 | 66a7accee207e8bbacfc9feee421d489e9d4a5e7 | 16,254 | kminiorm | MIT License |
TestGeopagos/app/src/main/java/com/rest/testgeopagos/view/adapters/InstallmentsAdapter.kt | restriglio | 235,801,044 | false | {"Markdown": 16, "Text": 1, "Ignore List": 18, "Java Properties": 21, "Gradle": 49, "Shell": 16, "Batchfile": 16, "YAML": 15, "Proguard": 9, "XML": 321, "Java": 94, "INI": 8, "Kotlin": 121, "JSON": 1} | package com.rest.testgeopagos.view.adapters
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.rest.testgeopagos.databinding.PartialInstallmentItemBinding
import com.rest.testgeopagos.model... | 1 | null | 1 | 1 | 8f5a3bcbb3b191143c598e9627bc2f881dda6a0b | 1,725 | views-widgets-samples | Apache License 2.0 |
androidext/src/test/java/com/david/hackro/androidext/ExampleUnitTest.kt | David-Hackro | 260,338,201 | false | null | package com.david.hackro.androidext
| 0 | Kotlin | 4 | 24 | 09ca20d311cc9a770013123dc91d5e0802242e45 | 36 | Covid | MIT License |
platform/workspaceModel/storage/testEntities/testSrc/com/intellij/workspaceModel/storage/entities/test/api/SampleEntity.kt | Maccimo | 18,582,736 | false | null | package com.intellij.workspaceModel.storage.entities.test.api
import com.intellij.workspaceModel.storage.*
import com.intellij.workspaceModel.storage.url.VirtualFileUrl
import org.jetbrains.deft.ObjBuilder
import org.jetbrains.deft.Type
import org.jetbrains.deft.annotations.Child
import com.intellij.workspaceModel.sto... | 1 | null | 1 | 1 | aa7852d5f99bd8dcd44f6cb430e4e9b94eb96dd1 | 7,820 | intellij-community | Apache License 2.0 |
framework/src/main/java/com/addeeandra/akm/framework/util/MessageBag.kt | addeeandra | 314,520,818 | false | null | package com.addeeandra.akm.framework.util
import android.content.Context
import android.view.View
import android.widget.Toast
import androidx.annotation.IntDef
/**
* WIP
*/
class MessageBag {
private var mSnackbarContainer: View? = null
private var mTitle: String? = null
private var mMessage: String? ... | 0 | Kotlin | 0 | 2 | 2f870c40f7ed43265e6bbe69846f96dae518da5b | 3,710 | akm-framework | MIT License |
library/src/test/java/com/shopapp/shopify/api/adapter/CategoryListAdapterTest.kt | rubygarage | 121,784,219 | false | null | package com.shopapp.shopify.api.adapter
import com.shopapp.shopify.JodaTimeAndroidRule
import com.shopapp.shopify.StorefrontMockInstantiator
import org.junit.Assert.assertEquals
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.junit.MockitoJUnitRunner
@RunWith(MockitoJUni... | 4 | Kotlin | 31 | 51 | 33d10ee580d12ad94042566677a4607ab21d236b | 737 | shopapp-shopify-android | Apache License 2.0 |
json-schema-validator/src/commonMain/kotlin/io/github/optimumcode/json/schema/extension/ExternalAssertionContext.kt | OptimumCode | 665,024,908 | false | {"Kotlin": 701490, "Shell": 919} | package io.github.optimumcode.json.schema.extension
import io.github.optimumcode.json.pointer.JsonPointer
import io.github.optimumcode.json.schema.ExperimentalApi
@ExperimentalApi
public interface ExternalAssertionContext {
/**
* A JSON pointer to the currently validating element in the object that is being vali... | 7 | Kotlin | 3 | 33 | 20ad6e2e642ad7c98554c1788392bbbfc423c068 | 529 | json-schema-validator | MIT License |
app/src/main/kotlin/com/kondenko/pocketwaka/screens/stats/model/TabsElevationState.kt | Kondenko | 95,912,101 | false | null | package com.kondenko.pocketwaka.screens.stats.model
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
data class TabsElevationState(
private val elevationStates: MutableMap<Int, Boolean> = mutableMapOf(),
var currentTabIndex: Int = 0
) : Parcelable {
var isElevated: ... | 2 | null | 7 | 58 | 6f1423415e2a23f12626ac67c9afb25f2df9e302 | 472 | pocketwaka | MIT License |
app/src/main/kotlin/com/kondenko/pocketwaka/screens/stats/model/TabsElevationState.kt | Kondenko | 95,912,101 | false | null | package com.kondenko.pocketwaka.screens.stats.model
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
data class TabsElevationState(
private val elevationStates: MutableMap<Int, Boolean> = mutableMapOf(),
var currentTabIndex: Int = 0
) : Parcelable {
var isElevated: ... | 2 | null | 7 | 58 | 6f1423415e2a23f12626ac67c9afb25f2df9e302 | 472 | pocketwaka | MIT License |
intellij.tools.ide.starter.junit5/src/com/intellij/ide/starter/junit5/config/LogEnvironmentVariables.kt | JetBrains | 499,194,001 | false | {"Kotlin": 555547, "C++": 3610, "Makefile": 713} | package com.intellij.ide.starter.junit5.config
import com.intellij.ide.starter.ci.CIServer
import com.intellij.ide.starter.config.ConfigurationStorage
import com.intellij.ide.starter.config.logEnvironmentVariables
import org.junit.jupiter.api.extension.BeforeAllCallback
import org.junit.jupiter.api.extension.BeforeEac... | 0 | Kotlin | 6 | 17 | 63ca6f3a1d55ea46c3d2e55521a37831f9cb2a56 | 742 | intellij-ide-starter | Apache License 2.0 |
app/src/main/java/com/breezesalesoriplast/features/location/api/LocationRepo.kt | DebashisINT | 630,052,678 | false | {"Kotlin": 15891731, "Java": 1030472} | package com.breezesalesoriplast.features.location.api
import com.breezesalesoriplast.app.Pref
import com.breezesalesoriplast.base.BaseResponse
import com.breezesalesoriplast.features.location.model.AppInfoInputModel
import com.breezesalesoriplast.features.location.model.AppInfoResponseModel
import com.breezesalesoripl... | 0 | Kotlin | 0 | 0 | 45469c2142f48f7fbf2796e3f63cd80b41b1662c | 1,048 | Oriplast | Apache License 2.0 |
src/test/kotlin/dev/fakek/fakes/FakeEmailAddressTest.kt | CodyEngel | 226,218,138 | false | null | package dev.fakek.fakes
import org.junit.jupiter.api.Test
import strikt.api.expectThat
import strikt.assertions.endsWith
import strikt.assertions.startsWith
internal class FakeEmailAddressTest {
private val fakeName by lazy {
FakeName(
firstName = "First",
middleName = "",
... | 6 | Kotlin | 7 | 7 | e3d1442059b1196a020c71fb9424266bf12fe1a1 | 708 | fakek | Apache License 2.0 |
Lab_01-02/app/src/main/java/com/example/myapplication/MainActivity.kt | diable201 | 462,816,171 | false | {"Kotlin": 72994} | package com.example.myapplication
import android.os.Bundle
import android.view.View
import android.widget.Button
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.ViewModelProvider
class MainActivity : AppCompatActivity() {
private lateinit var viewModel: Br... | 0 | Kotlin | 0 | 0 | 673cade0f8d35664c697c1b5baa1046df6a85a15 | 938 | AndroidDevelopment | MIT License |
app/src/main/java/com/example/studioghiblilist/framework/viewmodel/AnimeViewModel.kt | matheusdelnero | 569,841,082 | false | null | package com.example.studioghiblilist.viewmodel
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.example.studioghiblilist.api.AnimeRestApiTask
import com.example.studioghiblilist.data.AnimeDataSource
import com.example.st... | 0 | Kotlin | 0 | 0 | 1d1a14b1be36bc4ee548d89064635ae2e0b419bd | 1,384 | Animes_StudioGhibli | MIT License |
src/test/kotlin/org/web3kt/core/protocol/Web3Test.kt | web3kt | 828,453,056 | false | {"Kotlin": 192188} | package org.web3kt.core.protocol
import kotlinx.coroutines.runBlocking
import kotlin.test.Test
import kotlin.test.assertEquals
class Web3Test {
private val web3 = Web3(Fixture.jsonRpc)
@Test
fun clientVersion(): Unit = runBlocking { web3.clientVersion() }
@Test
fun sha3(): Unit =
runBloc... | 0 | Kotlin | 0 | 0 | b4ddabf6dc6225bf06136ea333532b15bf34047a | 541 | web3.kt | MIT License |
src/test/kotlin/org/web3kt/core/protocol/Web3Test.kt | web3kt | 828,453,056 | false | {"Kotlin": 192188} | package org.web3kt.core.protocol
import kotlinx.coroutines.runBlocking
import kotlin.test.Test
import kotlin.test.assertEquals
class Web3Test {
private val web3 = Web3(Fixture.jsonRpc)
@Test
fun clientVersion(): Unit = runBlocking { web3.clientVersion() }
@Test
fun sha3(): Unit =
runBloc... | 0 | Kotlin | 0 | 0 | b4ddabf6dc6225bf06136ea333532b15bf34047a | 541 | web3.kt | MIT License |
app/src/androidTest/kotlin/ir/fallahpoor/releasetracker/libraries/view/composables/SearchBarTest.kt | MasoodFallahpoor | 298,668,650 | false | null | package ir.fallahpoor.releasetracker.libraries.view.composables
import android.content.Context
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.compose.ui.test.*
import androidx.compose.ui.test.junit4.createComposeRule
impo... | 4 | Kotlin | 2 | 4 | 64406d7c5688fca2ca600c8f76d6d89e7bd23ed6 | 4,865 | ReleaseTracker | Apache License 2.0 |
library/src/main/java/ru/yoo/sdk/kassa/payments/impl/paymentOptionInfo/PaymentOptionInfoPresenter.kt | ilnur21748 | 340,495,560 | true | {"Kotlin": 982108, "HTML": 1425} | /*
* The MIT License (MIT)
* Copyright © 2020 NBCO YooMoney LLC
*
* 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, co... | 0 | null | 0 | 0 | 665a71ef687bc3c7b779398290da373d67a61bf5 | 3,563 | yookassa-android-sdk | MIT License |
klogx/core/src/main/kotlin/com/mohsenoid/klogx/KLogLevel.kt | mohsenoid | 861,233,292 | false | {"Kotlin": 20133} | package com.mohsenoid.klogx
/**
* The log priorities that map to [android.util.Log] priority
*/
enum class KLogLevel(val priority: Int) {
VERBOSE(priority = 2),
DEBUG(priority = 3),
INFO(priority = 4),
WARN(priority = 5),
ERROR(priority = 6),
ASSERT(priority = 7),
}
| 0 | Kotlin | 1 | 6 | 24c90ccd239f8c473c4237446167ff2fce2f37e5 | 294 | KLogX | Apache License 2.0 |
HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/editor/authentication/AuthenticationViewModel.kt | Waboodoo | 34,525,124 | false | null | package ch.rmy.android.http_shortcuts.activities.editor.authentication
import android.app.Application
import android.net.Uri
import android.text.InputType
import ch.rmy.android.framework.extensions.attachTo
import ch.rmy.android.framework.viewmodel.BaseViewModel
import ch.rmy.android.framework.viewmodel.WithDialog
imp... | 34 | Kotlin | 87 | 547 | 09eaa8438d452f95e73d57183b198c4b52d05789 | 7,327 | HTTP-Shortcuts | MIT License |
app/src/main/java/com/google/firebase/ml/md/kotlin/barcodedetection/BarcodeProcessor.kt | Anand0581 | 406,074,524 | false | null | /**
* Created by <NAME> on 19,July,2020
*/
package com.google.firebase.ml.md.kotlin.barcodedetection
import android.animation.ValueAnimator
import android.util.Log
import androidx.annotation.MainThread
import com.google.android.gms.tasks.Task
import com.google.firebase.ml.md.kotlin.camera.CameraReticleAnimator
impo... | 1 | null | 1 | 1 | 9b7b3dd53423fc8489eaa3afd30bfe19357a06ea | 4,572 | Barcode-Scanner | Apache License 2.0 |
app/src/main/java/com/aias/aias/MainActivity.kt | old-pj-aias | 290,510,190 | false | null | package com.aias.aias
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import kotlin.concurrent.thread
class MainActivity : AppCompatActivity(), View.OnClickListener {
override f... | 0 | Kotlin | 0 | 1 | f48c87bf6f085a95d1904ffdd9b0ac7982b884fc | 1,406 | aias-app-android | MIT License |
core/src/main/java/com/atech/core/usecase/SyllabusUseCase.kt | aiyu-ayaan | 489,575,997 | false | {"Kotlin": 824684} | /*
* Created by aiyu
* Copyright (c) 2021 . All rights reserved.
* BIT App
*
*/
package com.atech.core.usecase
import androidx.annotation.Keep
import androidx.paging.Pager
import androidx.paging.PagingConfig
import androidx.paging.PagingData
import androidx.paging.map
import com.atech.core.datasource.retrofit... | 9 | Kotlin | 5 | 17 | 2dcf9ccf6de5a3b4cb11f8edac88822296251500 | 5,191 | BIT-App | MIT License |
app/src/main/java/br/com/andreikeda/example/villageresourcemanagement/ui/village/VillagePresenter.kt | andreikeda | 653,666,949 | false | null | package br.com.andreikeda.example.villageresourcemanagement.ui.village
import br.com.andreikeda.example.villageresourcemanagement.domain.models.Game
import br.com.andreikeda.example.villageresourcemanagement.domain.models.Game.Status.*
import br.com.andreikeda.example.villageresourcemanagement.ui.home.HomeContract
cl... | 0 | Kotlin | 0 | 0 | 72b82d8e73b06227ecdadb4151e41f4ada4ec15e | 622 | village-resource-management-example | MIT License |
src/jvmMain/kotlin/matt/file/commons/lcommons/lcommons.kt | mgroth0 | 513,680,528 | false | null | package matt.file.commons.lcommons
import matt.file.CaseSensitivity.CaseSensitive
import matt.file.MFile
import matt.file.commons.CACHE_FOLDER
import matt.file.commons.DATA_FOLDER
import matt.file.commons.REGISTERED_FOLDER
import matt.file.construct.mFile
import matt.file.context.ComputeContextFiles
import matt.model.... | 0 | Kotlin | 0 | 0 | 60e731e48bdf820ce9b51e82c20f86bbe0360f4c | 953 | file | MIT License |
app/src/main/java/com/danefinlay/ttsutil/ui/ActivityFragmentInterfaces.kt | Danesprite | 220,346,944 | false | null | /*
* TTS Util
*
* Authors: <NAME> <<EMAIL>>
*
* Copyright (C) 2019 <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
*
* U... | 9 | null | 8 | 27 | ee610c96270733a2a6ffd2812537f80b4e960b83 | 1,914 | tts-util-app | Apache License 2.0 |
src/main/kotlin/com/skillw/asahi/api/member/ast/expr/compound/Ternary.kt | Skillw | 583,251,101 | false | {"Kotlin": 94989, "Java": 4431} | package com.skillw.asahi.api.member.ast.expr.compound
import com.skillw.asahi.api.member.ast.Expression
import com.skillw.asahi.api.member.ast.TokenBased
import com.skillw.asahi.api.member.tokenizer.Token
import com.skillw.asahi.api.member.tokenizer.source.SourceHolder
/**
* @className Unary
*
* @author Glom
* @d... | 0 | Kotlin | 1 | 7 | a78bce9a19c066bd318ec81450fdfdd7dccfc831 | 869 | Asahi | Creative Commons Zero v1.0 Universal |
samples/demo-app/app/src/main/java/cash/z/wallet/sdk/demoapp/demos/send/SendFragment.kt | benzcash | 257,942,797 | true | {"Kotlin": 336630, "Rust": 82586, "Dockerfile": 1729} | package cash.z.ecc.android.sdk.demoapp.demos.send
import android.view.LayoutInflater
import android.view.View
import android.widget.TextView
import androidx.lifecycle.lifecycleScope
import cash.z.ecc.android.sdk.Initializer
import cash.z.ecc.android.sdk.Synchronizer
import cash.z.ecc.android.sdk.block.CompactBlockProc... | 0 | Kotlin | 0 | 0 | fb7cf0e8eb7092d693472c8742dfeceb0dbe6b67 | 7,247 | zcash-android-wallet-sdk | Apache License 2.0 |
app/src/main/java/com/fabiel/casas/amazon_products/MainActivity.kt | fabiel-casas | 284,458,709 | false | {"Kotlin": 11920} | package com.fabiel.casas.amazon_products
import android.app.SearchManager
import android.content.Context
import android.os.Bundle
import android.view.*
import android.widget.ImageView
import android.widget.TextView
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.appc... | 0 | Kotlin | 0 | 0 | 87638476645fe7aad65b4606213c643bb829f76e | 3,075 | Amazon-Products | Apache License 2.0 |
core/src/main/kotlin/org/bastanchu/churiservices/core/api/model/orders/OrderLinePricingCondition.kt | vellebue | 723,669,515 | false | {"Kotlin": 222568} | package org.bastanchu.churiservices.core.api.model.orders
import org.bastanchu.churiservices.core.api.model.article.ArticlePricingCondition
import java.math.BigDecimal
data class OrderLinePricingCondition(var type : ArticlePricingCondition.PricingConditionType = ArticlePricingCondition.PricingConditionType.FARE,
... | 0 | Kotlin | 0 | 0 | 0c5f47ae51faa216d0b19e9cf1827865fb5af059 | 927 | churiservices | Apache License 2.0 |
libs/ui-modal/src/main/kotlin/mono/html/modal/compose/DropDownMenu.kt | tuanchauict | 325,686,408 | false | {"Kotlin": 614290, "SCSS": 33498, "Python": 1834, "Shell": 935, "HTML": 885, "CSS": 728} | /*
* Copyright (c) 2023, tuanchauict
*/
@file:Suppress("FunctionName")
package mono.html.modal.compose
import androidx.compose.runtime.Composable
import kotlinx.browser.document
import mono.html.px
import mono.html.style
import org.jetbrains.compose.web.dom.Li
import org.jetbrains.compose.web.dom.Text
import org.j... | 15 | Kotlin | 9 | 376 | fb4c99a23173768bf935992f09692715c908cdae | 2,537 | MonoSketch | Apache License 2.0 |
payments-ui-core/src/main/java/com/stripe/android/ui/core/BillingDetailsCollectionConfiguration.kt | stripe | 6,926,049 | false | null | package com.stripe.android.ui.core
import android.os.Parcelable
import androidx.annotation.RestrictTo
import kotlinx.parcelize.Parcelize
/**
* Configuration for how billing details are collected during checkout.
*/
@Parcelize
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
data class BillingDetailsCollectionConfigurati... | 86 | Kotlin | 584 | 1,078 | 74bf7263f56d53aff2d0035127d84dd40609403d | 2,449 | stripe-android | MIT License |
presentation/src/main/kotlin/ir/cafebazzar/nearby/di/app/AppComponent.kt | mohsenuix | 170,470,285 | false | {"Gradle": 8, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Markdown": 1, "Kotlin": 54, "Java": 6, "Proguard": 1, "XML": 24} | package ir.cafebazzar.nearby.di.app
import dagger.BindsInstance
import dagger.Component
import dagger.android.AndroidInjector
import dagger.android.support.AndroidSupportInjectionModule
import ir.cafebazzar.nearby.App
import ir.cafebazzar.nearby.data.DataLayerModule
import ir.cafebazzar.nearby.di.viewmodel.ViewModelMo... | 1 | null | 1 | 1 | 808ae3db5aed4a44daec8178fed8a55eefb65428 | 775 | nearby | MIT License |
app/src/main/java/com/dubedivine/samples/injection/module/ApplicationModule.kt | dubeboy | 102,972,979 | false | null | package com.dubedivine.samples.injection.module
import android.app.Application
import android.content.Context
import com.dubedivine.samples.data.local.PreferencesHelper
import com.dubedivine.samples.data.remote.MvpStarterService
import com.dubedivine.samples.data.remote.MvpStarterServiceFactory
import com.dubedivine.s... | 0 | Kotlin | 1 | 1 | 0dccd66d69fc3f1ae7cbecbab397d8de6f29cc5c | 1,033 | Peerlink-mobile | The Unlicense |
app/src/main/java/com/github/lion4ik/ui/ForecastsFragment.kt | lion4ik | 154,719,120 | false | null | package com.github.lion4ik.ui
import android.arch.lifecycle.ViewModelProviders
import android.os.Bundle
import android.support.v7.widget.DividerItemDecoration
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.support.v7.widget.Toolbar
import android.view.... | 0 | Kotlin | 0 | 2 | b837a78240a1be17504f52847faf4573cf8cdd9c | 3,045 | WeatherApp | MIT License |
app/src/main/java/com/example/camera2basicjetpackcompose/MainActivity.kt | videlanicolas | 832,437,632 | false | {"Kotlin": 19388} | package com.example.camera2basicjetpackcompose
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import com.example.camera2basicjetpackcompose.ui.theme.Camera2BasicJetpackComposeTheme
// Main entrypoint for the app... | 0 | Kotlin | 0 | 0 | e712adbe713d8e3acb8a3eb8b3fd2b422784dab6 | 803 | camera2_jetpack_compose_example | The Unlicense |
src/main/kotlin/com.franzmandl.fileadmin/security/ShutdownService.kt | franzmandl | 570,884,978 | false | null | package com.franzmandl.fileadmin.security
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.context.ApplicationContext
import org.springframework.context.ApplicationContextAware
import org.springframework.context.ConfigurableApplicationContext
import org.springframework.stereotype.Servi... | 0 | Kotlin | 0 | 0 | 9e7a3f2876688627b24a98a2fe58027b4d733ce2 | 824 | fileadmin-server | MIT License |
app/src/main/java/com/quickbirdstudios/mvvmtalk/MyModule.kt | quickbirdstudios | 129,719,136 | false | null | package com.quickbirdstudios.mvvmtalk
import android.arch.lifecycle.ViewModel
import com.quickbirdstudios.quickboot.di.ViewModelKey
import dagger.Binds
import dagger.Module
import dagger.multibindings.IntoMap
import javax.inject.Singleton
/**
* Created by <NAME> on 10/04/2018.
*/
@Singleton
@Module
abstract class ... | 1 | Kotlin | 1 | 15 | 9e15947f5098b46e0231ec11d30eb2f5c71947b2 | 507 | platform-independent-mvvm-android | Apache License 2.0 |
app/src/test/java/com/desarrollodroide/simplecleancode/ui/MainViewModelTest.kt | DesarrolloAntonio | 281,364,477 | false | null | package com.desarrollodroide.simplecleancode.ui
import android.util.Log
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.lifecycle.Observer
import com.desarrollodroide.simplecleancode.domain.DummyObjectRepository
import com.desarrollodroide.simplecleancode.model.DummyObject
import com... | 0 | Kotlin | 1 | 0 | cad3904d77c5a73f5d8dafeaeba9be51cd71e430 | 3,624 | SimpleCleanCode | Apache License 2.0 |
core/src/test/java/de/maibornwolff/domainchoreograph/scenarios/supermarket/DomainDefinitionsWithInterfacesTests.kt | MaibornWolff | 139,985,029 | false | {"Kotlin": 168533, "TypeScript": 132987, "JavaScript": 5400, "HTML": 1174, "Dockerfile": 390} | package de.maibornwolff.domainchoreograph.scenarios.supermarket
import de.maibornwolff.domainchoreograph.core.api.DomainEnvironment
import de.maibornwolff.domainchoreograph.scenarios.supermarket.choreographies.Cashier
import de.maibornwolff.domainchoreograph.scenarios.supermarket.domaindefinitions.Article
import de.ma... | 16 | Kotlin | 0 | 1 | 863441f0df267dcbf9874c92771e104a8f60fe37 | 1,215 | domainchoreograph | Apache License 2.0 |
arrangement/src/main/java/com/fang/arrangement/ui/screen/btmnav/money/loan/MLoan.kt | 7ANG2C | 794,384,998 | false | {"Kotlin": 425333} | package com.fang.arrangement.ui.screen.btmnav.money.loan
import com.fang.arrangement.definition.Employee
import com.fang.arrangement.definition.Record
internal data class MLoan(
val id: Long,
val employee: Employee,
val loan: Int,
val millis: Long,
val records: List<Record>,
val remark: String... | 0 | Kotlin | 0 | 0 | d820ad78b7eea6142da8f94c68af7b16cc0e583c | 421 | FANG | Apache License 2.0 |
src/main/kotlin/gay/pizza/pkg/apk/file/ApkFsTreeEntry.kt | azenla | 590,581,912 | false | null | package gay.pizza.pkg.apk.file
class ApkFsTreeEntry(
var parent: ApkFsTreeEntry? = null,
val entity: ApkFsEntity,
val children: MutableMap<String, ApkFsTreeEntry> = mutableMapOf()
) {
fun addChild(entity: ApkFsEntity): ApkFsTreeEntry {
val entry = ApkFsTreeEntry(
parent = this,
entity = entity
... | 0 | Kotlin | 0 | 4 | 74d43db44188fe825f723571533303da62a81b16 | 682 | apk-tools | MIT License |
feature_view_recyclerview_adapter_sample/src/main/java/com/mercandalli/android/apps/view_recyclerview_adapter_sample/cat_row_view/CatRowView.kt | Mercandj | 788,910,223 | false | {"Kotlin": 44015} | package com.mercandalli.android.apps.view_recyclerview_adapter_sample.cat_row_view
import android.content.Context
import android.util.AttributeSet
import android.view.View
import android.widget.FrameLayout
import android.widget.TextView
import androidx.annotation.IdRes
import com.mercandalli.android.apps.view_recycler... | 0 | Kotlin | 0 | 0 | f573a1804ca13b730234c6a41971292185d9eca8 | 1,445 | recyclerview-adapter | MIT License |
src/main/kotlin/de/gianttree/discord/w2g/logging/W2GFormatter.kt | GiantTreeLP | 326,642,252 | false | {"Kotlin": 32952} | package de.gianttree.discord.w2g.logging
import java.io.PrintWriter
import java.io.StringWriter
import java.time.Instant
import java.time.ZoneId
import java.time.format.DateTimeFormatter
import java.util.logging.LogRecord
import java.util.logging.SimpleFormatter
class W2GFormatter : SimpleFormatter() {
private va... | 1 | Kotlin | 0 | 4 | 13e3a680d0bc07cba01dba49ad512fda83db88da | 1,046 | w2g-bot | MIT License |
demo/src/main/java/co/zsmb/rainbowcake/demo/ui/viewbinding/ViewBindingSampleFragment.kt | rainbowcake | 185,018,634 | false | null | package co.zsmb.rainbowcake.demo.ui.viewbinding
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import co.zsmb.rainbowcake.base.RainbowCakeFragment
import co.zsmb.rainbowcake.dagger.getViewModelFromFactory
import co.zsmb.rainbowcake.demo.databinding.Fr... | 3 | Kotlin | 24 | 258 | 57e91273a319a5e5b92e853b4e6ad9b3564ce60a | 1,267 | rainbowcake | Apache License 2.0 |
app/src/main/kotlin/com/resurtm/aoc2023/day14/Solution.kt | resurtm | 726,078,755 | false | {"Kotlin": 119665} | package com.resurtm.aoc2023.day14
fun launchDay14(testCase: String) {
launchPart1(testCase)
launchPart2(testCase)
}
private fun launchPart1(testCase: String) {
val input = readInput(testCase)
tiltNorth(input)
println("Day 14, part 1: ${calcSum(input)}")
}
private fun launchPart2(testCase: String)... | 0 | Kotlin | 0 | 0 | fb8da6c246b0e2ffadb046401502f945a82cfed9 | 4,056 | advent-of-code-2023 | MIT License |
CoordinatorSample/app/src/main/kotlin/open/aqrlei/com/coordinatorsample/MainActivity.kt | AqrLei | 156,317,408 | false | null | package open.aqrlei.com.coordinatorsample
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_main.*
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
... | 0 | Kotlin | 0 | 0 | f69ed362beb1158880a94b769ba03227d5af439a | 468 | AndroidDemo | Apache License 2.0 |
bm_hw_android/app/src/main/java/steffen/de/bm_hw_android/View/MainActivity.kt | colinsteffen | 135,430,328 | false | null | package steffen.de.bm_hw_android.View
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import steffen.de.bm_hw_android.R
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
println("Time: Start")
val startTime = System.nanoTime()... | 1 | null | 1 | 1 | 90e57cb9e758a12056c09ca72f1916963a78ca5b | 530 | ba-xamarin-android | Apache License 2.0 |
core/src/commonMain/kotlin/work/socialhub/kslack/api/methods/request/reminders/RemindersListRequest.kt | uakihir0 | 794,979,552 | false | {"Kotlin": 1210021, "Ruby": 2164, "Shell": 2095, "Makefile": 316} | package com.github.seratch.jslack.api.methods.request.reminders
import com.github.seratch.jslack.api.methods.SlackApiRequest
class RemindersListRequest internal constructor(
/**
* Authentication token. Requires scope: `reminders:read`
*/
override var token: String?
) : SlackApiRequest {
class Re... | 5 | Kotlin | 0 | 0 | 4d1299164adc8b8e638b02e0ca7e46afb10709f8 | 944 | kslack | MIT License |
Storage/src/main/java/com/vini/storage/StorageModule.kt | vinioliveirasilva | 776,456,665 | false | {"Kotlin": 54838} | package com.vini.storage
import org.koin.core.module.dsl.factoryOf
import org.koin.dsl.module
val StorageModule = module {
factoryOf(::SecureStorage)
factoryOf(::LocalStorage)
} | 0 | Kotlin | 0 | 0 | 3209698be4cb6c2f5c56fdc812e7a7a9ab6a06f8 | 187 | ViniBank | MIT License |
storage/src/main/java/app/glucostats/storage/domain/model/Token.kt | vapoyan | 875,236,683 | false | {"Kotlin": 43557} | package app.glucostats.storage.domain.model
/**
* Data class representing an access and refresh token pair.
*
* @property accessToken The access token used for API authentication.
* @property refreshToken The refresh token used to obtain a new access
* token when the current one expires.
*/
data class Token(
... | 0 | Kotlin | 0 | 0 | 178b72fd5e6d9cba8059b912f9c11469c14737d3 | 376 | Glucostats | FSF All Permissive License |
gamedetail/src/main/java/com/oscarg798/amiibowiki/gamedetail/mvi/GameDetailReducer.kt | aliceresponde | 296,732,120 | true | {"Kotlin": 870948, "Shell": 3484} | /*
* Copyright 2020 <NAME>
*
* 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, distribute, subl... | 0 | null | 0 | 0 | d2d0a1c4edaa4031b3fa89af93c3d93a79ffb016 | 2,572 | AmiiboWiki | MIT License |
app/src/main/java/com/cesarwillymc/mbcgroup/presentation/home/viewmodel/DetailSurveyViewModel.kt | cesarwillymc | 719,282,528 | false | {"Kotlin": 161270} | package com.cesarwillymc.mbcgroup.presentation.home.viewmodel
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import com.cesarwillymc.mbcgroup.presentation.home.state.DetailSurveyUiState
import com.cesarwillymc.mbcgroup.ui.navigation.route.MainRoute
import com.cesarwillymc.mbcgroup.util.... | 0 | Kotlin | 0 | 1 | 603cc1d2c24c22dd833121b8430e8dd4841e91a1 | 1,077 | MBCGroup | Apache License 2.0 |
libraries/kitsu/library/src/main/java/com/chesire/nekome/kitsu/library/KitsuLibrary.kt | Chesire | 223,272,337 | false | {"Kotlin": 740322, "Ruby": 1682} | package com.chesire.nekome.kitsu.library
import com.chesire.nekome.core.flags.UserSeriesStatus
import com.chesire.nekome.core.models.ErrorDomain
import com.chesire.nekome.datasource.series.SeriesDomain
import com.chesire.nekome.datasource.series.remote.SeriesApi
import com.chesire.nekome.kitsu.asError
import com.chesi... | 24 | Kotlin | 42 | 471 | 191def4011f659972951d3766bfb4e5af4076ab1 | 6,268 | Nekome | Apache License 2.0 |
src/main/kotlin/dev/mbo/linkshortener2/domain/url/UrlCreateDto.kt | mbogner | 679,798,073 | false | null | /*
* Copyright (c) 2023.
*
* 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 writ... | 0 | Kotlin | 0 | 0 | 7b5b07821698196c1dd0c0b16ece08c7e43a6d86 | 767 | link-shortener2 | Apache License 2.0 |
fields/src/commonMain/kotlin/geo/AddressManager.kt | aSoft-Ltd | 695,480,107 | false | {"Kotlin": 18492} | package geo
import symphony.BaseField
import kollections.List
interface AddressManager {
fun entries(country: Country?): List<BaseField<String>>
fun labels(country: Country) : List<String>
} | 0 | Kotlin | 0 | 0 | b7c5704b364663fdafefdfe6a055f273eb0bd204 | 202 | geo-client | MIT License |
app/src/main/java/id/yanuar/weather/mvp/CompositeDisposablePresenter.kt | januaripin | 146,331,939 | false | null | package id.yanuar.weather.mvp
import io.reactivex.disposables.CompositeDisposable
/**
* Created by Yanuar Arifin
* halo@yanuar.id
*/
open class CompositeDisposablePresenter<V : MvpView> : MvpPresenter<V>() {
var compositeDisposable = CompositeDisposable()
override fun detachView() {
super.detachVi... | 0 | Kotlin | 0 | 0 | bebf7539c84a5ce9c063d7a4faa5a78e8f9c8c73 | 412 | weather | MIT License |
app/src/main/java/com/huhx0015/androidbooster/architecture/mvi/BaseViewModel.kt | huhx0015 | 95,202,520 | false | null | package com.huhx0015.androidbooster.architecture.mvi
interface BaseViewModel<T> | 0 | Kotlin | 3 | 4 | 19c5b41eab5efedf4f404f660cc15e612bb5edb1 | 80 | AndroidBooster | Apache License 2.0 |
app/src/main/java/com/ningsk/zrdc/ui/main/query/adapter/QueryShowFieldSelectAdapter.kt | kicker315 | 334,635,124 | false | null | package com.ningsk.zrdc.ui.main.query.adapter
import android.widget.CheckBox
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.ningsk.zrdc.R
import com.ningsk.zrdc.entity.bean.IField
/**
* =======================================
* 属性值多选适... | 0 | null | 0 | 0 | b82990a7edac9ccef42ff0ad69520a8a3d14819b | 846 | gis | Apache License 2.0 |
fabric/src/main/kotlin/com/your_name/mod/your_mod_id/fabric/FabricCommon.kt | A11v1r15 | 815,434,363 | false | {"Kotlin": 866} | package com.your_name.mod.your_mod_id.fabric
import com.your_name.mod.your_mod_id.YourMod
import net.fabricmc.api.ModInitializer
class FabricCommon : ModInitializer {
override fun onInitialize() {
YourMod.initialize()
}
} | 0 | Kotlin | 0 | 0 | 7688fc2f2a5d82a0971c982b931f7b7d18fc2868 | 239 | Vanilla-Apricorn | MIT License |
canvas_lp/src/main/java/com/angcyo/canvas/laser/pecker/dslitem/TypefaceItem.kt | angcyo | 229,037,684 | false | null | package com.angcyo.canvas.laser.pecker.dslitem
import android.graphics.Typeface
import com.angcyo.dsladapter.DslAdapterItem
import com.angcyo.canvas.laser.pecker.R
import com.angcyo.widget.DslViewHolder
/**
* 字体展示的item
* @author <a href="mailto:angcyo@126.com">angcyo</a>
* @since 2022/04/18
*/
class TypefaceItem ... | 0 | Kotlin | 4 | 3 | 13dc66c06abd72995fb8393655bb69544c259248 | 1,114 | UICoreEx | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.