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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
magicmetamodel/src/main/kotlin/org/jetbrains/magicmetamodel/impl/workspacemodel/impl/updaters/transformers/SourcesItemToJavaSourceRootTransformer.kt | JetBrains | 521,228,542 | false | null | package org.jetbrains.plugins.bsp.magicmetamodel.impl.workspacemodel.impl.updaters.transformers
import ch.epfl.scala.bsp4j.BuildTarget
import ch.epfl.scala.bsp4j.SourcesItem
import com.intellij.platform.workspace.jps.entities.SourceRootTypeId
import org.jetbrains.plugins.bsp.magicmetamodel.impl.workspacemodel.JavaSour... | 2 | null | 3 | 8 | 3a01f3f6ce13f2af04c29a46d0c3a54e33b34a8b | 2,277 | intellij-bsp | Apache License 2.0 |
apiTester/src/commonMain/kotlin/com/revenuecat/purchases/kmp/apitester/PurchasesAreCompletedByAPI.kt | RevenueCat | 758,647,648 | false | {"Kotlin": 391318, "Ruby": 17650, "Swift": 594} | package com.revenuecat.purchases.kmp.apitester
import com.revenuecat.purchases.kmp.models.PurchasesAreCompletedBy
import com.revenuecat.purchases.kmp.models.StoreKitVersion
@Suppress("unused", "UNUSED_VARIABLE")
private class PurchasesAreCompletedByAPI {
fun check(mode: PurchasesAreCompletedBy) {
when (mo... | 6 | Kotlin | 3 | 88 | af9d4f70c0af9a7a346f56dcf34d1ca621c41297 | 704 | purchases-kmp | MIT License |
core/src/commonMain/kotlin/com/lehaine/littlekt/graph/node/ViewportCanvasLayer.kt | littlektframework | 442,309,478 | false | {"Kotlin": 2285392} | package com.lehaine.littlekt.graph.node
import com.lehaine.littlekt.graph.SceneGraph
import com.lehaine.littlekt.graph.node.annotation.SceneGraphDslMarker
import com.lehaine.littlekt.graphics.Camera
import com.lehaine.littlekt.graphics.g2d.Batch
import com.lehaine.littlekt.graphics.g2d.shape.ShapeRenderer
import kotli... | 14 | Kotlin | 9 | 291 | 89f372fd18e47998d9b1d3add93ba92e4dcaca6e | 3,073 | littlekt | Apache License 2.0 |
app/src/main/java/com/jdagnogo/welovemarathon/beach/di/BeachModule.kt | jdagnogo | 424,252,162 | false | null | package com.jdagnogo.welovemarathon.beach.di
import com.google.accompanist.pager.ExperimentalPagerApi
import com.google.accompanist.pager.PagerState
import com.jdagnogo.welovemarathon.beach.data.BeachDao
import com.jdagnogo.welovemarathon.beach.data.BeachData
import com.jdagnogo.welovemarathon.beach.data.BeachMapper
i... | 0 | Kotlin | 0 | 0 | b1c202a9afa2e61de8b309d38884401d42350936 | 2,759 | WeLoveMArathon | The Unlicense |
lib/src/integrationTest/kotlin/com/lemonappdev/konsist/core/declaration/kointerface/KoInterfaceDeclarationForKoRepresentsTypeProviderTest.kt | LemonAppDev | 621,181,534 | false | null | package com.lemonappdev.konsist.core.declaration.kointerface
import com.lemonappdev.konsist.TestSnippetProvider.getSnippetKoScope
import org.amshove.kluent.shouldBeEqualTo
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.Arguments.arguments
import org.junit.jupiter.params.prov... | 7 | null | 26 | 995 | 603d19e179f59445c5f4707c1528a438e4595136 | 1,296 | konsist | Apache License 2.0 |
runtime-interfaces/src/main/kotlin/dev/madetobuild/typedconfig/runtime/source/Source.kt | nanodeath | 459,839,621 | false | {"Kotlin": 119406} | package dev.madetobuild.typedconfig.runtime.source
import dev.madetobuild.typedconfig.runtime.key.Key
interface Source {
fun getInt(key: Key<*>): Int?
fun getString(key: Key<*>): String?
fun getDouble(key: Key<*>): Double?
fun getBoolean(key: Key<*>): Boolean?
fun getList(key: Key<*>): List<String... | 5 | Kotlin | 1 | 2 | b5dd75fc0dff037b44379200a899185955f8d2ab | 325 | TypedConfig | Apache License 2.0 |
app/src/main/java/com/example/animeapp/components/favorite/UiState.kt | KevinMartinezC | 639,128,392 | false | null | package com.example.animeapp.components.favorite
data class UiState(
val favoriteAnime: Set<Int> = emptySet()
)
| 0 | Kotlin | 0 | 0 | e38ffa8be3363b8a5dd4a3fe080ec4b849a4d683 | 118 | AnimeApp | MIT License |
fontawesome/src/de/msrd0/fontawesome/icons/FA_LUNGS.kt | msrd0 | 363,665,023 | false | null | /* @generated
*
* This file is part of the FontAwesome Kotlin library.
* https://github.com/msrd0/fontawesome-kt
*
* This library is not affiliated with FontAwesome.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... | 1 | Kotlin | 0 | 0 | 78a076989b741958aea11d1a80d67459735407ae | 2,017 | fontawesome-kt | Apache License 2.0 |
api/testing/test-params/src/main/kotlin/org/rsmod/api/testing/params/TestArgsList.kt | rsmod | 293,875,986 | false | {"Kotlin": 1817705} | package org.rsmod.api.testing.params
public data class TestArgsList(val argsList: List<TestArgs>) : List<TestArgs> by argsList
/**
* Creates a [TestArgsList] containing [TestArgs] for tests with a single parameter, excluding the
* `GameTestState` parameter.
*
* @param args The arguments to be converted into a lis... | 0 | Kotlin | 64 | 95 | 3ba446ed70bcde0870ef431e1a8527efc6837d6c | 575 | rsmod | ISC License |
widget/src/main/java/com/yzq/widget/HorizontalEditView.kt | yuzhiqiang1993 | 140,548,996 | false | {"Kotlin": 368226, "Java": 153913, "CSS": 3721, "JavaScript": 3215, "HTML": 2415} | package com.yzq.widget
import android.annotation.SuppressLint
import android.content.Context
import android.text.InputType
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.View
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.core.graphics.BlendModeColorFi... | 0 | Kotlin | 0 | 0 | f65f96b72df77536925e6f0ef56aa27d404ce206 | 5,626 | kotlinCommon | MIT License |
core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeBackPage.kt | AllanWang | 93,970,224 | false | null | /*
* Copyright 2018 <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... | 5 | null | 27 | 221 | 259345ccb6c28f24de8b945e9aa5a1f25d610f84 | 3,543 | KAU | Apache License 2.0 |
app/src/main/java/com/appvolution/calculatorwithcompose/CalculatorOperations.kt | divye14 | 754,772,948 | false | {"Kotlin": 21346} | package com.appvolution.calculatorwithcompose
sealed class CalculatorOperations(val symbol: String) {
object Add : CalculatorOperations("+")
object Subtract : CalculatorOperations("-")
object Multiply : CalculatorOperations("*")
object Divide : CalculatorOperations("/")
}
| 0 | Kotlin | 0 | 0 | 0adec8459245d3151648fa310e7f2bc373b9b8ae | 290 | CalculatorWithCompose | MIT License |
src/main/kotlin/com/github/djaler/evilbot/handlers/Statistic.kt | Djaler | 202,102,139 | false | null | package com.github.djaler.evilbot.handlers
import com.github.djaler.evilbot.service.ChatService
import com.github.djaler.evilbot.service.UserService
import com.github.djaler.evilbot.utils.getForm
import com.github.djaler.evilbot.utils.getFormByGender
import dev.inmo.tgbotapi.bot.RequestsExecutor
import dev.inmo.tgbota... | 8 | Kotlin | 8 | 11 | f9ec48afe8aab17f5ef9448fbd5a55e5458830da | 3,806 | evil-bot | MIT License |
app/src/main/java/org/string/employees/geofence/GeofenceManagerService.kt | iamareebjamal | 148,318,190 | false | null | package org.string.employees.geofence
import android.annotation.SuppressLint
import android.app.Application
import android.app.PendingIntent
import android.arch.lifecycle.LiveData
import android.arch.lifecycle.MutableLiveData
import android.content.Intent
import android.location.Location
import android.util.Log
import... | 0 | Kotlin | 0 | 2 | e61bca1652e07e616cfa1ad732d1f2e24cfa86a4 | 3,162 | workplace-auto-checkin | Apache License 2.0 |
shared/src/commonMain/kotlin/com/teka/organiks/core/domain/model/TaskType.kt | samAricha | 742,657,034 | false | {"Kotlin": 325336, "Java": 225730, "Shell": 1615, "Assembly": 30} | package com.teka.organiks.core.domain.model
data class TaskType(
val name: String,
val icon: String,
val color: Long,
) {
override fun toString(): String {
return name
}
}
val taskTypes = listOf(
TaskType(
name = "Work",
icon = "work.xml",
color = 0xFF3375fd,
... | 0 | Kotlin | 0 | 15 | 43925a9d661e4a89b78b03fb92acebd20c5f3622 | 636 | Organiks1_KMP_Server | MIT License |
longan/src/main/java/com/dylanc/longan/DeviceInfo.kt | DylanCaiCoding | 299,663,353 | false | null | /*
* Copyright (c) 2021. Dylan Cai
*
* 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 t... | 9 | null | 66 | 539 | c21dd7e9b84e4fd65c424e9cfc524dbf35f9761b | 894 | Longan | Apache License 2.0 |
recyclerview/src/main/java/com/simonmcd/adapterbindings/recyclerview/adapters/BindableViewHolder.kt | simonmcd | 158,950,222 | false | null | package com.simonmcd.adapterbindings.recyclerview.adapters
import androidx.databinding.BaseObservable
import androidx.databinding.ViewDataBinding
import androidx.recyclerview.widget.RecyclerView
import com.simonmcd.adapterbindings.recyclerview.BR
import com.simonmcd.adapterbindings.recyclerview.R
/**
* ViewHolder th... | 0 | Kotlin | 0 | 0 | 894029b85f5547895021e7e4bd80e8672da6c637 | 1,674 | AdapterBindings | MIT License |
funcify-feature-eng-schema/src/test/kotlin/funcify/feature/schema/document/GQLDocumentComposerTest.kt | anticipasean | 458,910,592 | false | {"Kotlin": 2751524, "HTML": 1817} | package funcify.feature.schema.document
import ch.qos.logback.classic.Level
import com.fasterxml.jackson.databind.ObjectMapper
import funcify.feature.error.ServiceError
import funcify.feature.json.JsonObjectMappingConfiguration
import funcify.feature.schema.path.operation.GQLOperationPath
import funcify.feature.tools.... | 0 | Kotlin | 0 | 0 | 851ad6c0e7480ce72df32fd0e3d021909c4536f9 | 18,141 | funcify-feature-eng | Apache License 2.0 |
inappmessaging/src/main/java/com/rakuten/tech/mobile/inappmessaging/runtime/manager/SessionManager.kt | rakutentech | 253,402,688 | false | null | package com.rakuten.tech.mobile.inappmessaging.runtime.manager
import com.rakuten.tech.mobile.inappmessaging.runtime.InAppMessaging
import com.rakuten.tech.mobile.inappmessaging.runtime.data.models.appevents.Event
import com.rakuten.tech.mobile.inappmessaging.runtime.data.repositories.LocalDisplayedMessageRepository
i... | 3 | null | 8 | 5 | 1c94245e72566eaee69c3265613aa04dc81ee5c8 | 2,636 | android-inappmessaging | MIT License |
playground/src/commonMain/kotlin/me/lincolnstuart/funblocks/playground/screens/components/form/SwitchButtonScreen.kt | LincolnStuart | 645,064,211 | false | {"Kotlin": 451042} | package me.lincolnstuart.funblocks.playground.screens.components.form
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import cafe.adriel.voyager.core.scre... | 0 | Kotlin | 0 | 4 | 5a9d60f062132df12a6022530dfa10692fbf6c6d | 1,731 | fun-blocks | MIT License |
app/src/main/java/com/garnegsoft/hubs/ui/common/feedCards/article/ArticleCardStyle.kt | Garneg | 571,994,517 | false | {"Kotlin": 664342} | package com.garnegsoft.hubs.ui.common.feedCards.article
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.ReadOnlyComposable
import androidx.comp... | 0 | Kotlin | 0 | 6 | 5425d404d3d6d3f8e3785a4e0069a78150cd6944 | 4,957 | Hubs | MIT License |
app/src/main/java/com/example/chessgo/frontend/mainmenu/MenuItem.kt | buldosik | 709,015,549 | false | {"Kotlin": 75670} | package com.example.chessgo.frontend.mainmenu
import androidx.compose.ui.graphics.vector.ImageVector
data class MenuItem(
var id: String,
val title: String,
val contentDescription: String,
val icon: ImageVector
)
| 1 | Kotlin | 0 | 0 | e58a65dd3f78eacee6f8cca6f9afb9f524569d87 | 231 | Chess-Go | MIT License |
services/src/main/java/knaufdan/android/services/media/implementation/MediaRequestResolver.kt | DanielKnauf | 219,150,024 | false | null | @file:Suppress("unused")
package knaufdan.android.services.media.implementation
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Build
import android.util.Log
import androidx.activity.result.ActivityResultLauncher
import androidx.activit... | 0 | Kotlin | 0 | 2 | a6bdc7efa3c6d48d6d84f55266c430f99913526e | 7,213 | ArchServices | Apache License 2.0 |
services/src/main/java/knaufdan/android/services/media/implementation/MediaRequestResolver.kt | DanielKnauf | 219,150,024 | false | null | @file:Suppress("unused")
package knaufdan.android.services.media.implementation
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Build
import android.util.Log
import androidx.activity.result.ActivityResultLauncher
import androidx.activit... | 0 | Kotlin | 0 | 2 | a6bdc7efa3c6d48d6d84f55266c430f99913526e | 7,213 | ArchServices | Apache License 2.0 |
src/jsMain/kotlin/baaahs/app/ui/gadgets/slider/AltHandle.kt | baaahs | 174,897,412 | false | null | package baaahs.app.ui.gadgets.slider
import baaahs.app.ui.appContext
import baaahs.ui.unaryPlus
import baaahs.ui.xComponent
import external.react_compound_slider.SliderItem
import kotlinx.css.pct
import kotlinx.css.top
import kotlinx.html.unsafe
import react.*
import react.dom.div
import react.dom.setProp
import react... | 83 | null | 5 | 35 | 51f73a56fda7d5ab04e58cf970155266f9051ca6 | 1,388 | sparklemotion | MIT License |
src/jsMain/kotlin/baaahs/app/ui/gadgets/slider/AltHandle.kt | baaahs | 174,897,412 | false | null | package baaahs.app.ui.gadgets.slider
import baaahs.app.ui.appContext
import baaahs.ui.unaryPlus
import baaahs.ui.xComponent
import external.react_compound_slider.SliderItem
import kotlinx.css.pct
import kotlinx.css.top
import kotlinx.html.unsafe
import react.*
import react.dom.div
import react.dom.setProp
import react... | 83 | null | 5 | 35 | 51f73a56fda7d5ab04e58cf970155266f9051ca6 | 1,388 | sparklemotion | MIT License |
app/src/main/java/com/example/haominwu/countriesinfoapplication/adapter/CountriesAdapter.kt | whmsysu | 158,750,857 | false | null | package com.example.haominwu.countriesinfoapplication.adapter
import android.content.Context
import android.content.Intent
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import android.widget.TextView
import com.example.haominwu.countriesinfo... | 0 | Kotlin | 0 | 0 | 40a35ecc030d7805a5405162db9c6fe3884649af | 1,926 | CountriesInfoApplication | MIT License |
src/main/kotlin/no/nav/helse/spetakkel/GodkjenningsbehovMonitor.kt | navikt | 235,964,031 | false | null | package no.nav.helse.spetakkel
import io.prometheus.client.Counter
import kotliquery.queryOf
import kotliquery.sessionOf
import no.nav.helse.rapids_rivers.*
import org.intellij.lang.annotations.Language
import org.slf4j.LoggerFactory
import java.util.*
import javax.sql.DataSource
internal class GodkjenningsbehovMonit... | 0 | Kotlin | 0 | 0 | 79832230dc5906004204749b7b4dedffecb12d8f | 5,088 | helse-spetakkel | MIT License |
features/src/main/java/com/yodeput/newsapp/feature/utils/Notifier.kt | yodeput | 462,722,968 | false | {"Kotlin": 126781} | /*
* Created by <NAME>
* URL: https://github.com/yodeput
* Copyright (c) 2022 . All rights reserved.
* Last modified 2/23/22, 10:25 PM
*
*/
package com.yodeput.newsapp.feature.utils
import android.app.Activity
import android.app.NotificationChannel
import android.app.NotificationManager
import android.os.Build
... | 0 | Kotlin | 1 | 3 | bd9b587a5b272017b530be2983d8aab81a8a08e7 | 1,429 | jetpack-compose-modular-news-api | Apache License 2.0 |
core/src/commonMain/kotlin/io/github/aeckar/parsing/ParserDefinitions.kt | aeckar | 834,956,853 | false | {"Kotlin": 78817} | package io.github.aeckar.parsing
import io.github.aeckar.parsing.typesafe.*
import io.github.aeckar.parsing.utils.Nameable
import io.github.aeckar.parsing.utils.OnceAssignable
import io.github.aeckar.parsing.utils.unsafeCast
import kotlin.reflect.KProperty
/*
Junctions and sequences between two characters are not... | 0 | Kotlin | 0 | 0 | 2f13ccfd7fee1242eb784f0ce3d4dd7d35412a03 | 12,560 | power-parse | MIT License |
src/main/kotlin/dev/s7a/ktconfig/internal/Content.kt | sya-ri | 557,209,174 | false | {"Kotlin": 161314, "Java": 199} | package dev.s7a.ktconfig.internal
import dev.s7a.ktconfig.KtConfigSerializer
import dev.s7a.ktconfig.exception.TypeMismatchException
import org.bukkit.configuration.ConfigurationSection
import org.bukkit.configuration.serialization.ConfigurationSerializable
import java.math.BigDecimal
import java.math.BigInteger
impor... | 6 | Kotlin | 1 | 9 | c4633240059d7624006b8ff6eb96403481c6ab70 | 15,145 | ktConfig | MIT License |
src/main/kotlin/dev/s7a/ktconfig/internal/Content.kt | sya-ri | 557,209,174 | false | {"Kotlin": 161314, "Java": 199} | package dev.s7a.ktconfig.internal
import dev.s7a.ktconfig.KtConfigSerializer
import dev.s7a.ktconfig.exception.TypeMismatchException
import org.bukkit.configuration.ConfigurationSection
import org.bukkit.configuration.serialization.ConfigurationSerializable
import java.math.BigDecimal
import java.math.BigInteger
impor... | 6 | Kotlin | 1 | 9 | c4633240059d7624006b8ff6eb96403481c6ab70 | 15,145 | ktConfig | MIT License |
src/main/kotlin/com/example/data/model/User.kt | AnkitJain78 | 779,433,281 | false | {"Kotlin": 16686} | package com.example.data.model
import io.ktor.server.auth.*
data class User(val email: String,
val hashPass: String,
val userName: String) : Principal
| 0 | Kotlin | 0 | 0 | 3eed1971506c83ffae916f593ef5d72667b83f0d | 161 | Notes-App-Ktor | MIT License |
src/main/kotlin/no/nav/hm/grunndata/register/series/SeriesSyncRiver.kt | navikt | 572,421,718 | false | {"Kotlin": 209899, "Dockerfile": 136, "Shell": 111} | package no.nav.hm.grunndata.register.series
import com.fasterxml.jackson.databind.ObjectMapper
import io.micronaut.context.annotation.Context
import io.micronaut.context.annotation.Requires
import kotlinx.coroutines.runBlocking
import no.nav.helse.rapids_rivers.JsonMessage
import no.nav.helse.rapids_rivers.KafkaRapid
... | 0 | Kotlin | 0 | 3 | dcf906982bd0fd08cc124b54b0407ece873e5a9d | 3,093 | hm-grunndata-register | MIT License |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/SignalCellular3BarRounded.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3058356, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/SignalCellular3BarRounded")
package mui.icons.material
@JsName("default")
external val SignalCellular3BarRounded: SvgIconComponent
| 0 | Kotlin | 5 | 35 | f8b65644caf9131e020de00a02718f005a84b45d | 214 | mui-kotlin | Apache License 2.0 |
kt/godot-library/src/main/kotlin/godot/gen/godot/MultiplayerAPI.kt | utopia-rise | 289,462,532 | false | {"Kotlin": 1455718, "C++": 480143, "GDScript": 464697, "C#": 10278, "C": 8523, "Shell": 7976, "Java": 2136, "CMake": 939, "Python": 75} | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"Redundan... | 60 | Kotlin | 28 | 412 | fe7379a450ed32ad069f3b672709a2520b86f092 | 10,844 | godot-kotlin-jvm | MIT License |
TodoApp/app/src/main/java/br/com/fiap/todoapp/MainActivity.kt | Rphmelo | 597,932,475 | false | null | package br.com.fiap.todoapp
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import br.com.fiap.todoapp.databinding.ActivityMainBinding
import br.com.fiap.todoapp.databinding.ViewFilterItemBinding
class MainActivity : AppCompatActivity() {
private lateinit var binding: ActivityMainBinding... | 0 | Kotlin | 1 | 6 | 27552cad51770ef7fe43e2de587c7cbfccfb44af | 913 | Android_3SIT_2023 | MIT License |
common/src/commonTest/kotlin/dev/sergiobelda/todometer/common/database/mapper/TaskMapperTest.kt | serbelga | 301,817,067 | false | null | /*
* Copyright 2021 <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... | 8 | null | 7 | 93 | bd39269ff685f0ac1c487becfa106fb7ece2cf1a | 2,402 | ToDometer_Kotlin_Multiplatform | Apache License 2.0 |
clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/GithubScm.kt | oapicf | 90,140,540 | false | null | package org.openapitools.model
import java.util.Objects
import com.fasterxml.jackson.annotation.JsonProperty
import org.openapitools.model.GithubScmlinks
import javax.validation.constraints.DecimalMax
import javax.validation.constraints.DecimalMin
import javax.validation.constraints.Email
import javax.validation.const... | 30 | null | 12 | 19 | 277d791c0d363a4d93832bec8a581d4c01297b18 | 1,329 | swaggy-jenkins | MIT License |
app/src/main/java/com/liflymark/normalschedule/ui/app_widget_week/WeekAppwidgetAppwidget.kt | sasaju | 330,628,610 | false | {"Kotlin": 736981} | package com.liflymark.normalschedule.ui.app_widget_week
import android.content.Context
import android.util.Log
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import androidx.glance.*
import androidx.glance.actio... | 0 | Kotlin | 3 | 14 | 616c6ba075f366e798cfccecd0369990601d1e80 | 8,495 | NormalSchedule | Apache License 2.0 |
cleanableedittextcore/src/main/java/com/ggdsn/cleanableedittextcore/CleanableEditText.kt | gdannyliao | 92,392,141 | false | null | package com.ggdsn.cleanableedittextcore
import android.content.Context
import android.content.res.Resources
import android.graphics.drawable.Drawable
import android.support.v7.widget.AppCompatEditText
import android.util.AttributeSet
import android.util.TypedValue
import android.view.MotionEvent
/**
* Created by Lia... | 0 | Kotlin | 0 | 0 | cd20b82007605704b8076ee7b466dee0144d1a18 | 3,958 | CleanableEditText | MIT License |
app/src/main/java/lijewski/demodb/di/module/MainModule.kt | DawidLijewski | 243,611,467 | false | null | package lijewski.demodb.di.module
import dagger.Module
import dagger.android.ContributesAndroidInjector
import lijewski.demodb.presentation.add.AddEmployeeDialogFragment
import lijewski.demodb.presentation.dashboard.DashboardFragment
import lijewski.demodb.presentation.search.SearchFragment
@Suppress("unused")
@Modul... | 1 | Kotlin | 0 | 0 | cb81bbd1678366f1626ec84b2b733e4234dc6e8c | 730 | demo-android-db | MIT License |
visionforge-threejs/src/main/kotlin/info/laht/threekt/math/Sphere.kt | SciProgCentre | 174,502,624 | false | {"Kotlin": 936916} | /*
* The MIT License
*
* Copyright 2017-2018 <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, modi... | 15 | Kotlin | 6 | 34 | fb12ca8902509914910e8a39c4e525bee5e3fd46 | 1,948 | visionforge | Apache License 2.0 |
app/src/main/java/com/github/pavelkv96/timetable/grsu/data/remote/models/Day.kt | pavelkv96 | 344,794,747 | false | null | /*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | 0 | Kotlin | 0 | 0 | c53b315d4054f0e34d098020671454d569a0f1a3 | 1,058 | GrSU-Schedule | Apache License 2.0 |
android/app/src/main/java/com/tyhoo/android/nba/ui/HomeScreen.kt | cnwutianhao | 800,234,908 | false | {"Kotlin": 39389} | package com.tyhoo.android.nba.ui
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.material3.Icon
import androidx.compose.material3.NavigationBar
import androidx.compose.material3.NavigationBarI... | 0 | Kotlin | 0 | 1 | 71824a5e093e5f541c9a6782b8ced6d4be6d94cb | 3,501 | nba | MIT License |
presentation/src/main/java/com/example/presentation/view/MainActivity.kt | carlosiniesta7 | 238,405,612 | false | null | package com.example.presentation.view
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import com.example.presentation.R
import kotlinx.android.synthetic.main.activity_main.*
import org.koin.androidx.viewmodel.ext.an... | 0 | Kotlin | 0 | 0 | 1ade23717d1a811c9db67f662cb3ce3f34bde4de | 596 | intermedio2-android | Apache License 2.0 |
agp-7.1.0-alpha01/tools/base/build-system/gradle-core/src/test/java/com/android/build/api/component/analytics/AnalyticsEnabledSigningConfigTest.kt | jomof | 502,039,754 | false | {"Java": 35519326, "Kotlin": 22849138, "C++": 2171001, "HTML": 1377915, "Starlark": 915536, "C": 141955, "Shell": 110207, "RenderScript": 58853, "Python": 25635, "CMake": 18109, "Batchfile": 12180, "Perl": 9310, "Dockerfile": 5690, "Makefile": 4535, "CSS": 4148, "JavaScript": 3488, "PureBasic": 2359, "GLSL": 1628, "AID... | /*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 1 | Java | 1 | 0 | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | 3,829 | CppBuildCacheWorkInProgress | Apache License 2.0 |
zowe-zos-tso-for-zowe-sdk/src/jsMain/kotlin/zowe/sdk/zos/tso/doc/IStartStopResponses.kt | lppedd | 761,812,661 | false | {"Kotlin": 1887051} | package zowe.sdk.zos.tso.doc
import zowe.imperative.error.ImperativeError
import zowe.sdk.zos.tso.doc.zosmf.IZosmfTsoResponse
external interface IStartStopResponses {
/**
* True if the command was issued and the responses were collected.
*/
var success: Boolean
/**
* Response from z/OSMF to start rest... | 0 | Kotlin | 0 | 3 | 0f493d3051afa3de2016e5425a708c7a9ed6699a | 794 | kotlin-externals | MIT License |
mobikulOC/src/main/java/webkul/opencart/mobikul/adapterModel/CurrencyAdapterModel.kt | fortunedev223 | 435,488,584 | false | {"Kotlin": 1128789, "Java": 655153} | package webkul.opencart.mobikul.adapterModel
/**
* Webkul Software. *
* @author Webkul
* @Mobikul
* @OpencartMobikul
* @copyright Copyright (c) 2010-2018 Webkul Software Private Limited (https://webkul.com)
* @license https://store.webkul.com/license.html
*/
class CurrencyAdapterModel(var defaultCode: String?... | 0 | Kotlin | 0 | 0 | fe2513dab910dc471810fa37d6c01c848712c295 | 443 | Boutiquey_Android | MIT License |
nrstations/src/iosMain/kotlin/com/intsoftdev/nrstations/viewmodels/NearbyCallbackViewModel.kt | IntSoftDev | 301,235,316 | false | null | package com.intsoftdev.nrstations.viewmodels
import io.github.aakira.napier.Napier
@Suppress("Unused") // Members are called from Swift
class NearbyCallbackViewModel : CallbackSdkViewModel() {
init {
Napier.d("init")
}
override val viewModel = NrNearbyViewModel()
val stations = viewModel.ui... | 0 | Kotlin | 0 | 0 | abaf7685d6183b75ae0cff2208b7398e63f01378 | 714 | NRStationsKMP | Apache License 2.0 |
grooves-core/src/main/kotlin/com/github/rahulsom/grooves/functions/EmptySnapshotProvider.kt | rahulsom | 82,593,452 | false | {"Gradle Kotlin DSL": 12, "INI": 2, "Shell": 1, "Text": 14, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "AsciiDoc": 18, "Java": 74, "Kotlin": 65, "TOML": 1, "Gradle": 4, "Groovy": 34, "XML": 7, "YAML": 3, "JSON": 2, "SVG": 13, "SCSS": 1, "HTML": 3, "CSS": 4, "Java Server Pages": 1, "SQL": 1, "Java Properties":... | package com.github.rahulsom.grooves.functions
import com.github.rahulsom.grooves.logging.Trace
/**
* A snapshot provider that always returns an empty snapshot.
* This can be used to build a snapshot with additional events.
*/
interface EmptySnapshotProvider<Aggregate, Snapshot> {
@Trace
fun invoke(aggregat... | 15 | Java | 5 | 9 | 9bc8a259618188d457616d207adaa389edfafbc5 | 345 | grooves | Apache License 2.0 |
src/main/kotlin/no/nav/pensjon/simulator/tech/security/egress/token/TokenAccessParameter.kt | navikt | 753,551,695 | false | {"Kotlin": 138235, "Dockerfile": 144} | package no.nav.pensjon.simulator.tech.security.egress.token
import no.nav.pensjon.simulator.tech.security.egress.oauth2.AuthorizationGrantType
class TokenAccessParameter(private val type: AuthorizationGrantType, val value: String) {
fun getGrantTypeName(): String = type.value
fun getParameterName(): String ... | 1 | Kotlin | 0 | 0 | 0e3d64f9d0fab00673f65eba78c7c66e6a491b50 | 856 | pensjonssimulator | MIT License |
core-parent/api/src/main/java/love/forte/simbot/core/api/message/Reply.kt | zhls | 318,130,937 | true | {"Kotlin": 503611, "Java": 49841} | /*
* Copyright (c) 2020. ForteScarlet All rights reserved.
* Project parent
* File Reply.kt
*
* You can contact the author through the following channels:
* github https://github.com/ForteScarlet
* gitee https://gitee.com/ForteScarlet
* email ForteScarlet@163.com
* QQ 1149159218
*/
package love.fo... | 0 | null | 0 | 0 | 4b78524833711f6edcc9cbb7a870c8cbde0d3072 | 3,372 | simpler-robot | Apache License 2.0 |
LayoutsCodelab/app/src/main/java/com/codelab/layouts/MyOwnColumn.kt | googlecodelabs | 290,421,574 | false | null | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 15 | null | 188 | 515 | 206f8b2b57955c85fe6e9f0b19ca42c39067ce9c | 2,372 | android-compose-codelabs | Apache License 2.0 |
app/src/test/java/com/intact/moviesbox/ui/movieDetail/MovieDetailViewModelTest.kt | DevAnuragGarg | 177,965,415 | false | {"Kotlin": 195049} | package com.intact.moviesbox.ui.movieDetail
/**
* Created by Anurag Garg on 2019-05-31.
*/
//@RunWith(JUnit4::class)
class MovieDetailViewModelTest {
// // A JUnit Test Rule that swaps the background executor used by the Architecture
// // Components with a different one which executes each task synchronously... | 0 | Kotlin | 5 | 14 | 6cfe0a54ff7936c1539b06130265cf270ad944cb | 2,034 | MovieBox | Apache License 2.0 |
soft-arch-lib/src/main/java/com/softartch_lib/utility/TimeConvertor.kt | Prog-MohamedAbdelnaser | 223,954,056 | false | {"Kotlin": 123748} | package com.agentsapp.naas.softview
import java.text.ParseException
import java.text.SimpleDateFormat
import java.util.*
object TimeConvertor {
const val DATETIME_ShortFormat = "EEE, d MMM GGG hh:mm aaa"
const val DAY_OF_YEAY_Foramt = "yyyy-MM-dd"
const val HOUR_OF_DAY_Format12= "hh:mm aa... | 1 | Kotlin | 1 | 4 | 93348985a1fb8ae5b3e7d58efeae4edcad4cbf71 | 8,950 | location-picker-places-search-lib | MIT License |
src/main/kotlin/io/jrb/labs/songs/config/DemoInitializer.kt | brulejr | 283,062,884 | false | null | package io.jrb.labs.songs.config
import io.jrb.labs.songs.model.SongEntity
import io.jrb.labs.songs.resource.Song
import io.jrb.labs.songs.service.SongService
import mu.KotlinLogging
import org.springframework.boot.context.event.ApplicationReadyEvent
import org.springframework.context.ApplicationListener
import reacto... | 0 | Kotlin | 0 | 0 | 9fa55e468e5870c51f68186a56527d46948b9b3d | 1,282 | songs-r2dbc-microservice | MIT License |
communication/tests/unit/src/com/google/android/libraries/car/communication/messagingsync/MessagingUtilsTest.kt | google | 415,118,653 | false | null | // Copyright 2021 Google LLC
//
// 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 ... | 1 | null | 5 | 18 | 912fd5cff1f08577d679bfaff9fc0666b8093367 | 4,397 | android-auto-companion-android | Apache License 2.0 |
app/src/main/java/com/nullgr/androidcore/adapter/items/ExampleItem2.kt | nullgr | 126,462,193 | false | null | package com.nullgr.androidcore.adapter.items
import com.nullgr.core.adapter.items.ListItem
/**
* @author vchernyshov.
*/
data class ExampleItem2(val icon: String, val text1: String, val text2: String) : ListItem {
override fun getUniqueProperty(): Any = text1
} | 5 | Kotlin | 12 | 24 | 6cb588384090aa76d94f052f32de6c26cbd042e3 | 269 | app-core | MIT License |
waypoints-api/src/main/kotlin/de/md5lukas/waypoints/api/Trackable.kt | Sytm | 211,378,928 | false | null | package de.md5lukas.waypoints.api
import org.bukkit.Location
import java.util.*
/**
* Describes a general trackable location for the pointers to guide towards.
*/
interface Trackable {
/**
* The UUID of this instance to uniquely identify this trackable
*/
val id: UUID
/**
* The location... | 3 | Kotlin | 3 | 12 | 9a69b00457a7308507dea14a54199abb181a6b90 | 689 | waypoints | MIT License |
telegram-bot/src/main/kotlin/eu/vendeli/tgbot/api/media/Sticker.kt | vendelieu | 496,567,172 | false | null | @file:Suppress("MatchingDeclarationName")
package eu.vendeli.tgbot.api.media
import eu.vendeli.tgbot.interfaces.ActionState
import eu.vendeli.tgbot.interfaces.MediaAction
import eu.vendeli.tgbot.interfaces.TgAction
import eu.vendeli.tgbot.interfaces.features.MarkupFeature
import eu.vendeli.tgbot.interfaces.features.O... | 4 | Kotlin | 3 | 92 | 162068369ea2e7881d93f2190e49c6b1b0659719 | 1,714 | telegram-bot | Apache License 2.0 |
code/quantities.kt | kibotu | 79,160,508 | false | null | fun main() {
val a = listOf("a", "b", "c", "d")
val b = listOf("d", "e", "f", "a")
println("a=$a b=$b") // a=[a, b, c, d] b=[d, e, f, a]
println("combined ${a + b}") // combined [a, b, c, d, d, e, f, a]
println("union ${a.union(b)}") // union [a, b, c, d, e, f]
val ab = a.toMutableList()
ab.... | 1 | null | 2 | 2 | 9deaa6b866330f0f7173cab84a9e811e691ee000 | 657 | java-is-like-kotlin | MIT License |
sqlite-open-helper/src/commonMain/kotlin/ru/pixnews/wasm/sqlite/open/helper/internal/cursor/CursorWindow.kt | illarionov | 769,429,996 | false | {"Kotlin": 715773, "C": 64230} | /*
* Copyright 2024, the wasm-sqlite-open-helper project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package ru.pixnews.wasm.sqlite.open.helper.inte... | 0 | Kotlin | 0 | 0 | 8710b053eb5291ae3530e797741dfc09b138b305 | 11,608 | wasm-sqlite-open-helper | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/web/crypto/AesKeyGenParams.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6912722} | // Automatically generated - do not modify!
package web.crypto
import kotlinx.js.JsPlainObject
@JsPlainObject
sealed external interface AesKeyGenParams :
Algorithm {
var length: Short
}
| 0 | Kotlin | 7 | 31 | d1315f1524758eb6883a4f7e0a0da46816152ed8 | 197 | types-kotlin | Apache License 2.0 |
dialog/src/main/java/com/koonny/dialog/base/DialogConfig.kt | jyygithub | 99,698,882 | false | null | package com.koonny.dialog.base
import android.view.Gravity
import androidx.annotation.GravityInt
import androidx.annotation.StyleRes
import com.koonny.dialog.R
class DialogConfig(
@StyleRes
var style: Int = R.style.Theme_Koonny_Dialog,
@androidx.annotation.FloatRange(from = 0.0, to = 1.0)
var width: F... | 1 | Kotlin | 11 | 55 | f0a90e2145f19c32419a0259b8162ec1e509becd | 566 | koonny-dialog | Apache License 2.0 |
app/src/main/kotlin/no/nav/tilbakemeldingsmottak/rest/serviceklage/TaskProcessingRestController.kt | navikt | 397,956,011 | false | {"Kotlin": 315454, "Handlebars": 2765, "Mustache": 1617, "Dockerfile": 200} | package no.nav.tilbakemeldingsmottak.rest.serviceklage
import no.nav.security.token.support.core.api.ProtectedWithClaims
import no.nav.tilbakemeldingsmottak.api.TaskProcessingRestControllerApi
import no.nav.tilbakemeldingsmottak.consumer.oppgave.OppgaveConsumer
import no.nav.tilbakemeldingsmottak.metrics.MetricLabels.... | 6 | Kotlin | 0 | 0 | fc00aa5672a4d932428f78303d24bdc658f9d5f3 | 5,268 | tilbakemeldingsmottak-api | MIT License |
hollowkit/src/main/java/com/funnywolf/hollowkit/view/scroll/behavior/PullRefreshBehavior.kt | liaobude | 305,176,692 | true | {"Kotlin": 191766} | package com.funnywolf.hollowkit.view.scroll.behavior
import android.animation.ValueAnimator
import android.content.Context
import android.util.AttributeSet
import android.view.Gravity
import android.view.MotionEvent
import android.view.View
import android.widget.FrameLayout
import android.widget.ImageView
import andro... | 0 | null | 0 | 0 | 2989f92d34fc961c6442b58371a7240f943e1252 | 5,850 | HollowKit | Apache License 2.0 |
cli_kt/app/src/main/kotlin/net/nanai10a/twomeat/cli/usecases/id/get/IIdGetUsecase.kt | Nanai10a | 330,746,827 | false | null | package net.nanai10a.twomeat.cli.usecases.id.get
interface IIdGetUsecase {
fun handle(input: IdGetInputData)
}
| 1 | Kotlin | 0 | 1 | d28a4e3997958e703af79a8896655d96f06b043e | 116 | 2Meat-4.5th | MIT License |
FluentUI.Demo/src/androidTest/java/com/microsoft/fluentuidemo/demos/V2ShimmerUITest.kt | microsoft | 257,221,908 | false | null | package com.microsoft.fluentuidemo.demos
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.layout.width
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.test.assertHeightIsEqualTo
... | 43 | null | 92 | 574 | 851a4989a4fce5db50a1818aa4121538c1fb4ad9 | 1,734 | fluentui-android | MIT License |
BookKeeper/app/src/main/java/com/example/bookkeeper/SearchResultActivity.kt | akebu6 | 483,008,628 | false | {"Kotlin": 80091, "Java": 35754} | @file:Suppress("DEPRECATION")
package com.example.bookkeeper
import android.app.Activity
import android.app.SearchManager
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.... | 2 | Kotlin | 9 | 17 | 1f14a3b025e46836505a80bc4cb9247631794f67 | 2,975 | Android-Beginner-Projects | MIT License |
app/src/main/java/com/example/surfin/data/localsource/SurfinConverters.kt | Jack01antern | 691,936,043 | false | {"Kotlin": 114809} | package com.example.surfin.data.localsource
import androidx.room.TypeConverter
import com.squareup.moshi.JsonAdapter
import com.squareup.moshi.Moshi
import com.squareup.moshi.Types
import java.nio.charset.Charset
class SurfinConverters {
@TypeConverter
fun convertListToJson(list: List<String>?): String? {
... | 0 | Kotlin | 0 | 0 | 3bcdbdca21e02a47670f64ba9b9dc9011bd6d1f0 | 825 | SurFin | MIT License |
app/src/main/java/com/mycompany/advioo/util/DataConverter.kt | demirelarda | 609,874,629 | false | {"Kotlin": 330942} | package com.mycompany.advioo.util
import androidx.room.TypeConverter
import com.google.firebase.firestore.GeoPoint
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import com.mycompany.advioo.models.MyPair
import com.mycompany.advioo.models.campaign.LatLngPoint
import java.lang.reflect.Type
class ... | 0 | Kotlin | 0 | 0 | b27390784a5903d4ba81249f7b3535ff49c08ab1 | 765 | AdTracker | FSF All Permissive License |
pulsar-app/pulsar-examples/src/main/kotlin/ai/platon/pulsar/examples/SqlManual.kt | platonai | 124,882,400 | false | null | package ai.platon.pulsar.examples
import ai.platon.pulsar.common.sql.ResultSetFormatter
import ai.platon.pulsar.context.withContext
import ai.platon.pulsar.ql.h2.H2MemoryDb
class SqlManual {
private val conn = H2MemoryDb().getRandomConnection()
private val statement = conn.createStatement()
private val ur... | 1 | HTML | 32 | 110 | f93bccf5075009dc7766442d3a23b5268c721f54 | 1,748 | pulsar | Apache License 2.0 |
component-toolkit/src/commonMain/kotlin/com/pablichj/templato/component/core/panel/PanelHeaderView.kt | pablichjenkov | 135,388,611 | false | null | package com.macaosoftware.component.panel
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundati... | 0 | null | 5 | 26 | 578c5b01d9ae1dc8f2de64318d912304bf6116d1 | 1,702 | component-toolkit | The Unlicense |
hybid.demo/src/main/java/net/pubnative/lite/demo/ui/fragments/hybid/HyBidNativeFragment.kt | pubnative | 315,887,000 | false | {"Gemfile.lock": 1, "Gradle": 23, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 22, "Batchfile": 1, "Markdown": 2, "Ruby": 2, "INI": 19, "Proguard": 14, "XML": 205, "Java": 543, "JSON": 2, "Kotlin": 236, "HTML": 2, "SVG": 1, "JavaScript": 3} | // The MIT License (MIT)
//
// Copyright (c) 2018 PubNative GmbH
//
// 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, ... | 1 | Java | 1 | 7 | cb0e1e1724a538b05863195f850491a7457db6da | 7,011 | pubnative-hybid-android-sdk | MIT License |
app/src/main/java/com/tmdb/movie/ui/people/component/PeopleActingBottomSheet.kt | sqsong66 | 703,818,964 | false | {"Kotlin": 899108} | package com.tmdb.movie.ui.people.component
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.WindowInsets
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.c... | 1 | Kotlin | 11 | 24 | 7dfc6aa197d1646773967f06eeef5a998bcda5a3 | 5,556 | TMDB-Movie | Apache License 2.0 |
library/src/main/java/com/github/tutorialsandroid/appxupdater/enums/AppUpdaterError.kt | TutorialsAndroid | 247,255,694 | false | null | package com.github.tutorialsandroid.appxupdater.enums
/**
* @author TutorialsAndroid
*/
enum class AppUpdaterError {
/**
* Google Play returned "Varies by device"
*/
UPDATE_VARIES_BY_DEVICE,
/**
* GitHub user or repo is empty
*/
GITHUB_USER_REPO_INVALID,
/**
* No Internet connection avail... | 0 | null | 7 | 22 | a1c17dae4cbdc87a5e91c138fbe54f44604ecb3b | 631 | AppXUpdater | Apache License 2.0 |
app/src/main/java/ru/iteco/fmhandroid/api/NetworkModule.kt | ivashatunova | 772,556,199 | false | {"Kotlin": 131241, "Java": 32839} | package ru.iteco.fmhandroid.api
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import ru.it... | 1 | Kotlin | 0 | 0 | f4a618c3c25f42980938112c0e1276ca88ecab3d | 5,524 | SecondQADiplomProject | Apache License 2.0 |
src/backend/ci/core/dockerhost/api-dockerhost/src/main/kotlin/com/tencent/devops/dockerhost/pojo/DockerHostLoad.kt | jsntmf | 209,456,951 | true | {"Kotlin": 12026219, "Vue": 3539641, "Java": 1482875, "JavaScript": 905323, "CSS": 428463, "TSQL": 315033, "Lua": 144868, "Go": 134130, "HTML": 45593, "TypeScript": 32681, "Shell": 30653, "Python": 14104, "PLSQL": 2376, "Batchfile": 2202} | package com.tencent.devops.dockerhost.pojo
data class DockerHostLoad(
val usedContainerNum: Int,
val averageCpuLoad: Int,
val averageMemLoad: Int,
val averageDiskLoad: Int,
val averageDiskIOLoad: Int
) | 0 | Kotlin | 0 | 0 | eb5458dd7578c2f56421d9ec4e9e2980cd4691be | 222 | bk-ci | MIT License |
app/src/main/java/com/firstapp/loginapp/TotalSubmission.kt | Vive007 | 728,374,065 | false | {"Kotlin": 39182} | package com.firstapp.loginapp
data class TotalSubmission(
val count: Int,
val difficulty: String,
val submissions: Int
) | 0 | Kotlin | 0 | 0 | f02d8d42c60426fe5975452dbfc13eec515b3fbc | 133 | CODE-CONNECT | MIT License |
library/src/main/java/com/opensource/svgaplayer/bitmap/SVGABitmapUrlDecoder.kt | jarryleo | 762,178,679 | false | {"Kotlin": 167107, "Java": 109364} | package com.opensource.svgaplayer.bitmap
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import java.net.HttpURLConnection
import java.net.URL
/**
* 通过文件解码 Bitmap
*
* Create by im_dsd 2020/7/7 17:50
*/
internal object SVGABitmapUrlDecoder : SVGABitmapDecoder<URL>() {
private const val TIM... | 0 | Kotlin | 0 | 0 | ad0b2d6daeb1cd9e3cffff5a98cd47a1de70efab | 1,232 | SVGAPlayer-Android-Leo | Apache License 2.0 |
ui/features/note/src/main/java/com/example/note/ui/bottom_bar/AddEditBottomBar.kt | City-Zouitel | 576,223,915 | false | null | package com.example.note.ui.bottom_bar
import android.net.Uri
import androidx.activity.compose.ManagedActivityResultLauncher
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.combinedClickable
import androidx.compose.foundation... | 27 | null | 9 | 67 | 3cc5ac34d5422e230061ed0e1ea7cf223afaed9c | 5,843 | JetNote | Apache License 2.0 |
src/main/kotlin/maximo/xyinc/models/POI.kt | gabrielmaximo | 227,923,917 | false | null | package maximo.xyinc.models
import javax.persistence.Entity
import javax.persistence.GeneratedValue
import javax.persistence.Id
@Entity
class POI (@Id @GeneratedValue val id: Long = 0L, val name: String, val x: Int, val y: Int) | 0 | Kotlin | 1 | 0 | 8c268619dc111fcf0752d8e415820411821ea982 | 229 | zup-xy-inc | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsalertsapi/HmppsAlertsApi.kt | ministryofjustice | 750,461,021 | false | {"Kotlin": 676401, "Shell": 1799, "Mermaid": 1398, "Dockerfile": 1387} | package uk.gov.justice.digital.hmpps.hmppsalertsapi
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.boot.runApplication
import uk.gov.justice.digital.hmpps.hmppsalertsapi.config.EventProperti... | 1 | Kotlin | 0 | 0 | ff2c9aee38daa3cc0654b7957a9da0ffca7ceee8 | 498 | hmpps-alerts-api | MIT License |
compose/src/commonMain/kotlin/pro/respawn/flowmvi/compose/dsl/LocalSubscriberLifecycle.kt | respawn-app | 477,143,989 | false | {"Kotlin": 497111} | package pro.respawn.flowmvi.compose.dsl
import androidx.compose.runtime.Composable
import androidx.compose.runtime.CompositionLocalProvider
import androidx.compose.runtime.ProvidableCompositionLocal
import androidx.compose.runtime.remember
import androidx.compose.runtime.staticCompositionLocalOf
import androidx.lifecy... | 10 | Kotlin | 10 | 305 | 80ea0a5eedc948fe50d3f23ddce041d8144f0f23 | 2,268 | FlowMVI | Apache License 2.0 |
src/main/kotlin/net/casual/arcade/items/ItemStackFactory.kt | CasualUHC | 621,955,934 | false | {"Kotlin": 404322, "Java": 61560} | package net.casual.arcade.items
import net.minecraft.world.item.ItemStack
/**
* Functional interface for creating [ItemStack] instances.
*/
public fun interface ItemStackFactory {
/**
* Creates an [ItemStack] instance.
*
* @return The stack instance.
*/
public fun create(): ItemStack
} | 0 | Kotlin | 1 | 1 | 78b4d3fc5192d6416c1f9bcfdf16c8be70a9fb60 | 318 | Arcade | MIT License |
tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/buttons/KeyboardMarkup.kt | InsanusMokrassar | 163,152,024 | false | {"Kotlin": 3243076, "Shell": 373} | package dev.inmo.tgbotapi.types.buttons
import dev.inmo.tgbotapi.utils.internal.ClassCastsIncluded
import kotlinx.serialization.Serializable
@Serializable(KeyboardMarkupSerializer::class)
@ClassCastsIncluded
sealed interface KeyboardMarkup
| 13 | Kotlin | 29 | 358 | 482c375327b7087699a4cb8bb06cb09869f07630 | 242 | ktgbotapi | Apache License 2.0 |
app/src/main/java/com/oxyethylene/easynote/database/convertor/KeywordSetConvertor.kt | PolyOxyethylene | 738,671,054 | false | {"Kotlin": 336864, "Java": 106555, "JavaScript": 10698, "CSS": 1739, "HTML": 414} | package com.oxyethylene.easynote.database.convertor
import androidx.room.TypeConverter
import com.google.gson.reflect.TypeToken
import com.hjq.gson.factory.GsonFactory
import java.util.TreeSet
/**
* Created with IntelliJ IDEA.
* @Project : EasyNote
* @Package : com.oxyethylene.easynote.database.convertor... | 0 | Kotlin | 0 | 1 | 97992bfe8eeb4aa6d4ea69a98971422e8700ec9f | 845 | EasyNote | Apache License 2.0 |
app/src/main/java/edu/swu/xn/app/component/DeptCard.kt | mingzhixian | 652,909,362 | false | null | package edu.swu.xn.app.component
import androidx.compose.foundation.Image
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.paddi... | 0 | Kotlin | 0 | 2 | 53b7eb2aae04491c61aac10e06df003ab025866d | 2,846 | XN_app | MIT License |
src/main/kotlin/no/nav/helse/spout/Routes.kt | navikt | 617,935,079 | false | {"Kotlin": 23973, "HTML": 21107, "CSS": 5993, "JavaScript": 3854, "Dockerfile": 168} | package no.nav.helse.spout
import com.fasterxml.jackson.databind.JsonNode
import com.fasterxml.jackson.databind.node.ArrayNode
import com.fasterxml.jackson.databind.node.ObjectNode
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.se... | 0 | Kotlin | 0 | 0 | ef3efe329725c448745f3177c5f631dbb590ede8 | 8,049 | helse-spout | MIT License |
app/src/test/java/hu/csabapap/seriesreminder/ui/search/TestSearchViewModel.kt | csabapap | 112,928,453 | false | null | package hu.csabapap.seriesreminder.ui.search
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.lifecycle.Observer
import com.nhaarman.mockitokotlin2.any
import com.nhaarman.mockitokotlin2.inOrder
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.whenever
import... | 0 | Kotlin | 0 | 1 | 5e63b26f5ec8a1cf8d19f40f44fcb8a39325f34d | 2,466 | SeriesReminder | MIT License |
src/main/kotlin/me/blzr/aggregator/exception/IllegalRequestException.kt | theaspect | 144,356,632 | false | null | package me.blzr.aggregator.exception
class IllegalRequestException: Exception(), AggregatorException {
override val message: String?
get() = "E_ILLEGAL_REQUEST"
}
| 0 | Kotlin | 0 | 0 | 55ede585a1b811cb783e7879495206b3c4d841e6 | 176 | aggregator | Apache License 2.0 |
buildSrc/src/main/java/Dependencies.kt | mltbnz | 427,881,775 | true | {"Kotlin": 37832, "Swift": 14501, "Ruby": 2044} |
object Versions {
const val kotlin = "1.5.31"
const val kotlinCoroutines = "1.5.2-native-mt"
const val ktor = "1.6.4"
const val kotlinxSerialization = "1.2.2"
const val koin = "3.1.2"
const val lifecycle = "2.2.0-alpha01"
const val compose = "1.0.5"
const val navCompose = "2.4.0-beta02... | 0 | null | 0 | 0 | f942b1bf57f2958beede7d199af61fe7d96c0b67 | 2,294 | bikeshare | Apache License 2.0 |
application/src/test/kotlin/com/dzirbel/kotify/ui/page/artists/ArtistsPageScreenshotTest.kt | dzirbel | 211,595,180 | false | null | package com.dzirbel.kotify.ui.page.artists
import com.dzirbel.kotify.repository.ArtistList
import com.dzirbel.kotify.repository2.artist.ArtistRepository
import com.dzirbel.kotify.repository2.artist.SavedArtistRepository
import com.dzirbel.kotify.repository2.mockLibrary
import com.dzirbel.kotify.repository2.mockStates
... | 2 | Kotlin | 2 | 34 | 00d71ab0191b8be3c98e18453bff392620ed6b2b | 1,218 | kotify | MIT License |
MyNewsApp/app/src/main/java/com/aarush/newsapp/widget/CustomSearchBar.kt | smartinternz02 | 701,630,001 | false | {"Kotlin": 91114} | package com.aarush.newsapp.widget
import android.content.Context
import android.util.AttributeSet
import android.view.View
import android.widget.ImageView
import android.widget.LinearLayout
import androidx.appcompat.widget.SearchView
import com.bumptech.glide.Glide
import com.aarush.newsapp.R
class CustomSearchBar : ... | 0 | Kotlin | 1 | 1 | 87bee9a9d0cf6b72e37c8cc1be78e3b0adf2aaf3 | 3,358 | SI-GuidedProject-587104-1696656485 | MIT License |
src/institution/coordinator/CoordinatorType.kt | DiSSCo | 517,633,705 | false | null | package org.synthesis.institution.coordinator
enum class CoordinatorType {
VA,
TA
}
| 0 | Kotlin | 0 | 0 | a2277d627647d1669c3714da455f37fe6c2e93ae | 93 | elvis-backend | Apache License 2.0 |
buildSrc/src/main/kotlin/Dependencies.kt | bkdevops-projects | 294,058,091 | false | null | object Libs {
const val KotlinStdLib = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${Versions.Kotlin}"
const val KotlinReflectLib = "org.jetbrains.kotlin:kotlin-reflect:${Versions.Kotlin}"
const val KotlinGradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.Kotlin}"
const val SpringBootGrad... | 7 | null | 22 | 27 | cbff03abe5d572b09cbd486830d87cddc91b938b | 1,100 | devops-framework | MIT License |
pagerindicatorview/src/main/java/com/mahdikh/vision/pagerindicatorview/progress/SwapProgress.kt | mahdi-khosravi-sh | 401,919,349 | false | null | package com.mahdikh.vision.pagerindicatorview.progress
import android.graphics.Canvas
import androidx.viewpager.widget.ViewPager
import com.mahdikh.vision.pagerindicatorview.info.IndicatorInfo
import com.mahdikh.vision.pagerindicatorview.util.Paint2
import kotlin.math.abs
class SwapProgress : IndicatorProgress() {
... | 0 | Kotlin | 0 | 0 | c5d1e7f7f9ad2e80368df88408c2cab0d7271b5b | 1,824 | pagerindicatorview | Apache License 2.0 |
workflows/src/main/kotlin/net/corda/samples/reissuance/candies/flows/wrappedReissuanceFlows/RequestCandyCouponReissuanceAndShareRequiredTransactions.kt | corda | 301,998,992 | false | {"Kotlin": 78232} | package net.corda.samples.reissuance.candies.flows.wrappedReissuanceFlows
import co.paralleluniverse.fibers.Suspendable
import com.r3.corda.lib.reissuance.flows.RequestReissuanceAndShareRequiredTransactions
import com.r3.corda.lib.tokens.contracts.commands.IssueTokenCommand
import com.r3.corda.lib.tokens.contracts.sta... | 1 | Kotlin | 3 | 3 | f3a02b2fc2f1fb401a0da9dd7d878930e704651f | 1,778 | reissue-sample-cordapp | Apache License 2.0 |
app/src/main/java/com/training/pagingsample/data/network/MovieAppService.kt | 2307vivek | 285,270,377 | false | null | package com.training.pagingsample.data.network
import com.training.pagingsample.data.model.Result
import com.training.pagingsample.data.network.Api
import com.training.pagingsample.data.network.BaseService
import com.training.pagingsample.data.network.response.MovieListResponse
class MovieAppService(private val api: ... | 2 | Kotlin | 27 | 99 | 2cfa44a109e7895a37d5be372b6abcd1b45fe84f | 484 | Paging-3-Sample | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.