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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
gradlePlugin/src/main/kotlin/pw/binom/gradle/MogotExtension.kt | caffeine-mgn | 223,796,620 | false | null | package pw.binom.gradle
import java.io.File
open class MogotExtension {
var assets: File? = null
fun assets(file: File) {
this.assets = file
}
} | 6 | Kotlin | 0 | 4 | e673acfcb20e2d62d8e68c43d395731bd9d9d882 | 166 | mogot | Apache License 2.0 |
k5-compose/src/main/kotlin/K5.kt | CuriousNikhil | 415,380,983 | false | null |
import androidx.compose.animation.core.withInfiniteAnimationFrameMillis
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx... | 1 | Kotlin | 6 | 99 | 106deec4165a44c3590c6c9ea335b97d29e54cf5 | 7,403 | k5-compose | Apache License 2.0 |
app/src/main/java/com/mongodb/moodlogger/views/MoodDialog.kt | mongodb-developer | 416,011,359 | false | {"Kotlin": 16723} | package com.mongodb.moodlogger.views
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.found... | 0 | Kotlin | 0 | 3 | 955d3bfab75bb307fad3d795baeab1a384de8721 | 2,847 | MoodLoggerAndroid | Apache License 2.0 |
xnet_android/src/main/java/com/gfms/xnet_android/discovery/nearservice/NearAndroidImpl.kt | r3tr056 | 875,356,073 | false | {"Kotlin": 382790, "C++": 177456, "C": 140193, "CMake": 3494} | package com.gfms.xnet_android.discovery.nearservice
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.ServiceConnection
import android.os.Handler
import android.os.IBinder
import android.os.Looper
import com.gfms.xnet.xpeer.XPeer
import java.net.In... | 0 | Kotlin | 0 | 0 | d76c8c1f2c9a426354d88065f37c15e1c6a51b02 | 5,609 | koinoor | MIT License |
xnet_android/src/main/java/com/gfms/xnet_android/discovery/nearservice/NearAndroidImpl.kt | r3tr056 | 875,356,073 | false | {"Kotlin": 382790, "C++": 177456, "C": 140193, "CMake": 3494} | package com.gfms.xnet_android.discovery.nearservice
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.ServiceConnection
import android.os.Handler
import android.os.IBinder
import android.os.Looper
import com.gfms.xnet.xpeer.XPeer
import java.net.In... | 0 | Kotlin | 0 | 0 | d76c8c1f2c9a426354d88065f37c15e1c6a51b02 | 5,609 | koinoor | MIT License |
app/src/main/java/com/loc/newsapp/presentation/search/SearchViewModel.kt | xidsyed | 809,749,440 | false | {"Kotlin": 90629} | package com.loc.newsapp.presentation.search
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.cachedIn
import com.loc.newsapp.domain.usecases.news.NewsUseCases
import com.loc.newsapp.util.Constants.SOURCES
import dagger.hilt.android.lifecycle.HiltViewModel
import kotli... | 0 | Kotlin | 0 | 1 | 57c5fbf7792b2a26d2a307d811be626fa7616a00 | 1,165 | NewsBasket | MIT License |
props/stubs/src/Stubs.kt | team55 | 29,602,286 | true | {"Kotlin": 484392, "Java": 9672, "Shell": 175} | package kotlinx.android.koan
import android.widget.LinearLayout
import android.content.Context
class _LinearLayout(ctx: Context) : LinearLayout(ctx) | 0 | Kotlin | 0 | 0 | 68886b864e19d6523b77151d34450b802eb2e6e7 | 150 | koan | Apache License 2.0 |
.space.kts | JetBrains-Research | 290,508,461 | false | {"Kotlin": 68437} | val image = "registry.jetbrains.team/p/ki/containers-ci/ci-corretto-17-firefox:1.0.1"
job("Build") {
container(image) {
shellScript {
content = """
./gradlew build
"""
}
}
}
job("Test") {
container(image) {
shellScript {
content = "... | 0 | Kotlin | 2 | 3 | 42f876bb6bb22f2447357e3c18108a1fb89ca0c6 | 731 | kinference-primitives | Apache License 2.0 |
app/src/test/java/com/guillaumewilmot/swoleai/util/validation/FieldValidatorTest.kt | Poncholay | 470,056,464 | false | null | package com.guillaumewilmot.swoleai.util.validation
import com.guillaumewilmot.swoleai.BaseUnitTest
import com.guillaumewilmot.swoleai.R
import com.guillaumewilmot.swoleai.RxImmediateSchedulerRule
import com.guillaumewilmot.swoleai.model.Nullable
import io.mockk.every
import io.mockk.verifySequence
import kotlinx.coro... | 0 | Kotlin | 0 | 0 | 3c091da3533dd032553df9006703c7ef8a767be6 | 12,794 | SwoleAI | Apache License 2.0 |
module_video/src/main/java/com/knight/kotlin/module_video/entity/VideoPreLoaderEntity.kt | KnightAndroid | 438,567,015 | false | {"Kotlin": 1817006, "Java": 294277, "HTML": 46741, "C": 31605, "C++": 14920, "CMake": 5510} | package com.knight.kotlin.module_video.entity
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
/**
* Author:Knight
* Time:2024/4/7 10:29
* Description:VideoPreLoaderEntity
*/
@Parcelize
data class VideoPreLoaderEntity (
val originalUrl:String,
val proxyUrl:String,
val preLoadBytes:Long... | 0 | Kotlin | 3 | 6 | d423c9cf863afe8e290c183b250950bf155d1f84 | 349 | wanandroidByKotlin | Apache License 2.0 |
src/main/kotlin/com/github/erotourtes/harpoon/actions/OpenFileAction.kt | erotourtes | 628,287,419 | false | {"Kotlin": 33326} | package com.github.erotourtes.harpoon.actions
import com.github.erotourtes.harpoon.utils.notify
import com.github.erotourtes.harpoon.services.HarpoonService
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.components.service
abstract ... | 1 | Kotlin | 0 | 8 | ea6ede205165287be714e518249536fd7364e20a | 1,516 | Harpooner | Apache License 2.0 |
app/src/main/java/com/example/mpgsandroidapp/activities/MainActivity.kt | AbdelkarimAtef | 285,588,604 | false | null | package com.example.mpgsandroidapp.activities
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.mpgsandroidapp.R
import com.google.gson.GsonBuilder
import com.mastercard.gateway.android.sdk.Gateway
import com.mastercard.gateway.android.sdk.GatewayCallback
import com.mastercard... | 0 | Kotlin | 0 | 0 | 257914a039ce2af4131ccad4336d21e28d3a3301 | 4,324 | MPGSAndroidApp | Apache License 2.0 |
src/main/kotlin/org/misarch/returns/graphql/model/connection/OrderItemConnection.kt | MiSArch | 771,890,143 | false | {"Kotlin": 62793, "PLpgSQL": 2884, "Shell": 636, "Dockerfile": 219} | package org.misarch.returns.graphql.model.connection
import com.expediagroup.graphql.generator.annotations.GraphQLDescription
import com.expediagroup.graphql.generator.federation.directives.ShareableDirective
import com.querydsl.core.types.dsl.BooleanExpression
import com.querydsl.core.types.dsl.ComparableExpression
i... | 0 | Kotlin | 0 | 0 | e6b7fa01eb461cddf40af6345ce00aff03a93fd0 | 1,834 | return | MIT License |
app/src/main/java/ru/tech/easysearch/database/bookmarks/dao/BookmarkDao.kt | T8RIN | 435,128,550 | false | {"Kotlin": 257847} | package ru.tech.easysearch.database.bookmarks.dao
import androidx.lifecycle.LiveData
import androidx.room.*
import ru.tech.easysearch.database.bookmarks.Bookmark
@Dao
interface BookmarkDao {
@Insert(onConflict = OnConflictStrategy.IGNORE)
fun insert(bookmark: Bookmark)
@Insert(onConflict = OnConflictStr... | 0 | Kotlin | 3 | 42 | 663e829d8b9e95dcbd3b19582265517d134dc7ea | 688 | ESearch | Apache License 2.0 |
app/src/main/java/com/example/lirboyoapp/activities/DetailActivity.kt | ziyanmuzakky | 454,677,730 | false | null | package com.example.lirboyoapp.activities
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.core.text.HtmlCompat
import com.bumptech.glide.Glide
import com.example.lirboyoapp.databinding.ActivityDetailBinding
class DetailActivity : AppCompatActivity() {
private lateinit var ... | 0 | Kotlin | 0 | 0 | dbf484e90ec3d14ed0b5a573f8ae95db6e459a4c | 1,132 | LirboyoApp | Apache License 2.0 |
app/src/main/java/it/sephiroth/android/app/appunti/widget/MySearchView.kt | sephiroth74 | 167,976,451 | false | null | package com.lapism.searchview.widget
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.drawable.Drawable
import android.os.Parcelable
import android.text.TextUtils
import android.util.AttributeSet
import android.view.*
import android.widget.Filter
import android.widget.Filte... | 0 | Kotlin | 3 | 9 | 3e7929be96504dd68533042b8688d0be41096b53 | 19,380 | Appunti | The Unlicense |
app/src/main/java/it/sephiroth/android/app/appunti/widget/MySearchView.kt | sephiroth74 | 167,976,451 | false | null | package com.lapism.searchview.widget
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.drawable.Drawable
import android.os.Parcelable
import android.text.TextUtils
import android.util.AttributeSet
import android.view.*
import android.widget.Filter
import android.widget.Filte... | 0 | Kotlin | 3 | 9 | 3e7929be96504dd68533042b8688d0be41096b53 | 19,380 | Appunti | The Unlicense |
src/main/kotlin/mixit/model/User.kt | obs3rver | 79,236,155 | true | {"Kotlin": 52015, "Java": 9070, "HTML": 3874, "JavaScript": 1319, "CSS": 282} | package mixit.model
import org.springframework.data.annotation.Id
import org.springframework.data.mongodb.core.mapping.Document
@Document
data class User(
@Id val login: String,
val firstname: String,
val lastname: String,
val email: String,
val company: String? = null,
... | 0 | Kotlin | 0 | 0 | 8fa4da25fe17be8a9842226b999f315e49006930 | 646 | mixit | Apache License 2.0 |
src/main/kotlin/com/github/plombardi89/kocean/model/ModelExtensions.kt | plombardi89 | 39,917,602 | false | null | package com.github.plombardi89.kocean.model
import com.eclipsesource.json.JsonObject
private fun <T> ModelFactory<T>.readMetaAndLinksData(json: JsonObject): Pair<Meta, Links> {
return Pair(Meta(json.get("meta").asObject()), Links(json.get("links").asObject()))
}
| 0 | Kotlin | 0 | 0 | c56a4863ebb97a095e115c66a29f29a67df031c2 | 268 | KOcean | MIT License |
app/src/main/java/com/monitor/MainActivity.kt | tiagocasemiro | 240,608,365 | false | null | package com.monitor
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_main.*
import java.lang.Exception
class MainActivity : AppCompatActivity() {
companion object {
var intervalInMinutes = 10 * 60 * 1000L... | 0 | Kotlin | 0 | 0 | 3f25379249a628c7f5153660a173cdaa710115e4 | 1,049 | Monitor | Apache License 2.0 |
src/Atmcomplaint.kt | spandey1296 | 269,556,751 | false | null | import java.io.BufferedReader
import java.io.File
import java.io.InputStreamReader
class Atmcomplaint {
companion object
{
fun atm_complaint(){
println("Welcome to The Facility of Customer Grievence Cell")
Dateandtime.dateandtime()
val fileName = "src/resources/m... | 0 | Kotlin | 3 | 9 | a94e2f3458844ff2c84caa7b7e34f6f067f48702 | 425 | ModernBanking-Management-System | MIT License |
smartAd/src/main/java/com/smartad/adapters/custom/huaweiadsadapter/SASHuaweiBannerBidderAdapter.kt | Explore-In-HMS | 447,891,536 | false | {"Kotlin": 45780} | /*
* Copyright 2022. Explore in HMS. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Kotlin | 0 | 3 | 656eb81bda27e217146753ff4a5f8d27952bd297 | 5,039 | huawei.ads.smartad.headerbidding | Apache License 2.0 |
app/src/main/java/com/andlill/composenotes/app/home/composables/Drawer.kt | AndreasLill | 450,794,769 | false | {"Kotlin": 190183} | package com.andlill.composenotes.app.home.composables
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.*
import androidx.compose.mater... | 0 | Kotlin | 0 | 0 | 2e52901c0e4118e3bcc90c8bbad861ecab25f0b4 | 6,119 | ComposeNotes | Apache License 2.0 |
src/main/kotlin/no/njoh/pulseengine/modules/graphics/Graphics.kt | NiklasJohansen | 239,208,354 | false | null | package no.njoh.pulseengine.modules.graphics
import no.njoh.pulseengine.data.assets.Texture
interface Graphics
{
val mainCamera: CameraInterface
val mainSurface: Surface2D
fun createSurface(name: String, zOrder: Int? = null, camera: CameraInterface? = null): Surface2D
fun getSurfaceOrDefault(name: St... | 0 | Kotlin | 0 | 0 | d2c0d09732fed1f2221ee17e5a28f0e50857b333 | 903 | PulseEngine | MIT License |
yc-app-cli/src/main/kotlin/mikufan/cx/yc/cliapp/config/WebClientBuilderCustomizer.kt | CXwudi | 556,059,867 | false | null | package mikufan.cx.yc.cliapp.config
import io.netty.handler.logging.LogLevel
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.boot.web.reactive.function.client.WebClientCustomizer
import org.springframework.http.HttpHeaders
import org.springframework.http.client.rea... | 5 | Kotlin | 0 | 0 | 75928ac6107c22323029c3517f256508cbaa59f7 | 1,677 | youcal | MIT License |
library-store-coroutines/src/test/java/ru/fabit/storecoroutines/TestEvent.kt | FabitMobile | 456,836,220 | false | null | package ru.fabit.storecoroutines
sealed class TestEvent {
object Event : TestEvent() {
override fun toString(): String {
return "TestEvent.Event"
}
}
object Event2 : TestEvent() {
override fun toString(): String {
return "TestEvent.Event2"
}
}
... | 0 | Kotlin | 0 | 0 | 84f012d86329283c645da21d0e99dd94bb15bd3d | 374 | store-coroutines | MIT License |
app/src/main/java/com/sombrero/cryptocap/features/ticker/list/TickerAdapter.kt | tonihuotari | 145,533,443 | false | null | package com.sombrero.cryptocap.features.ticker.list
import android.support.v7.widget.RecyclerView
import android.view.ViewGroup
import com.sombrero.cryptocap.common.ActivityNavigator
import com.sombrero.cryptomodel.ticker.TickerCoin
class TickerAdapter : RecyclerView.Adapter<TickerViewHolder>() {
private val HEAD... | 0 | Kotlin | 0 | 0 | 87a64568167f481abb100447a901af433eea9ca3 | 1,453 | crypto-cap | Apache License 2.0 |
part-1.ws.kts | shyzus | 733,207,050 | false | {"Kotlin": 1232} | import java.io.File
import java.lang.IndexOutOfBoundsException
import kotlin.system.exitProcess
File("input.txt").useLines { lines ->
val parsedLines = ArrayList<HashMap<Int, String>>()
lines.forEachIndexed { index, line ->
if( index > 3) {
return@forEachIndexed
}
val buf... | 0 | Kotlin | 0 | 0 | c9ccce73232d2d6a0d5c4c73800d0032bec36ed3 | 1,232 | AoC2023-Day-3 | MIT License |
data/api/src/commonMain/kotlin/io/github/droidkaigi/feeder/data/request/DevicePostRequest.kt | DroidKaigi | 283,062,475 | false | null | package io.github.droidkaigi.feeder.data.request
import kotlinx.serialization.Serializable
@Serializable
data class DevicePostRequest(
val osName: String,
)
expect fun platform(): String
| 45 | Kotlin | 189 | 633 | 3fb47a7b7b245e5a7c7c66d6c18cb7d2a7b295f2 | 194 | conference-app-2021 | Apache License 2.0 |
predict/src/test/kotlin/com/hellena/predict/HellenaApplicationTests.kt | IvanGavlik | 415,026,862 | false | {"Kotlin": 74020} | package com.hellena.predict
import org.junit.jupiter.api.Test
import org.springframework.boot.test.context.SpringBootTest
@SpringBootTest
class HellenaApplicationTests {
@Test
fun contextLoads() {
}
}
| 0 | Kotlin | 0 | 0 | e7f120ba04d71248c62591b42f82fc2dae5f135f | 208 | Hellena | Apache License 2.0 |
src/main/kotlin/org/t3m8ch/budgettelegrambot/services/impl/ExpenseServiceImpl.kt | t3m8ch | 565,573,339 | false | null | package org.t3m8ch.budgettelegrambot.services.impl
import org.springframework.stereotype.Service
import org.t3m8ch.budgettelegrambot.models.ExpenseModel
import org.t3m8ch.budgettelegrambot.repositories.ExpenseRepository
import org.t3m8ch.budgettelegrambot.services.ExpenseService
import java.math.BigDecimal
@Service
c... | 0 | Kotlin | 0 | 0 | 5ceabda338bce892c8743e26bc76980afe083a3d | 587 | budget-telegram-bot | MIT License |
work-managers/src/main/java/com/aetherinsight/work_managers/Constants.kt | OdisBy | 828,176,452 | false | {"Kotlin": 188880, "Ruby": 6392} | package com.aetherinsight.work_managers
object Constants {
const val NOTIFICATION_TITLE_KEY = "NOTIFICATION_TITLE_KEY"
const val NOTIFICATION_CONTENT_KEY = "NOTIFICATION_CONTENT_KEY"
const val NOTIFICATION_TIMEOUT = "NOTIFICATION_TIMEOUT"
const val NOTIFICATION_TAG = "MOVIE_NOTIFICATION_TAG"
const ... | 1 | Kotlin | 0 | 1 | 7576077a60a27ffaede5b2c62b29f7a8194406f0 | 485 | Golden-Movies | MIT License |
year2019/day21/part1/src/test/kotlin/com/curtislb/adventofcode/year2019/day21/part1/Year2019Day21Part1Test.kt | curtislb | 226,797,689 | false | {"Kotlin": 1905641} | package com.curtislb.adventofcode.year2019.day21.part1
import java.math.BigInteger
import kotlin.test.assertEquals
import org.junit.jupiter.api.Test
/**
* Tests the solution to the puzzle for 2019, day 21, part 1.
*/
class Year2019Day21Part1Test {
@Test
fun testSolutionWithRealInput() {
assertEquals... | 0 | Kotlin | 1 | 1 | addf5ae8d002d30abf1ab816e23502a296debc4e | 362 | AdventOfCode | MIT License |
src/main/kotlin/no/nav/tilleggsstonader/sak/vilkår/InngangsvilkårSteg.kt | navikt | 685,490,225 | false | {"Kotlin": 1741278, "Gherkin": 41585, "HTML": 39172, "Shell": 924, "Dockerfile": 164} | package no.nav.tilleggsstonader.sak.vilkår
import no.nav.tilleggsstonader.sak.behandling.BehandlingService
import no.nav.tilleggsstonader.sak.behandling.domain.BehandlingStatus
import no.nav.tilleggsstonader.sak.behandling.domain.Saksbehandling
import no.nav.tilleggsstonader.sak.behandlingsflyt.BehandlingSteg
import n... | 2 | Kotlin | 1 | 0 | c998bb4541f32e53252b208e947ca1529c5184a2 | 1,249 | tilleggsstonader-sak | MIT License |
jetpackmvvm/src/main/java/com/simplation/mvvm/data/model/enums/CollectType.kt | Simplation | 324,966,218 | false | null | package com.simplation.mvvm.data.model.enums
/**
* Collect type
*
* @property type
* @constructor Create empty Collect type
*/
enum class CollectType(val type: Int) {
// 0.文章
Article(0),
// 1.网址
Url(1)
}
| 0 | Kotlin | 0 | 2 | 9ff56c255a2f0e28791017ed528650de680a13b6 | 228 | LearnJetpack | Apache License 2.0 |
src/main/kotlin/briscola/model/StartingPlayerOption.kt | andreazammarchi3 | 800,911,826 | false | {"Kotlin": 62663, "ASL": 12678, "CSS": 1597} | package briscola.model
/**
* Enum class representing the possible options for the starting player.
* - RANDOM: the starting player is randomly chosen.
* - PLAYER: the starting player is the human player.
* - PLAYER2: the starting player is the bot.
*/
enum class StartingPlayerOption {
RANDOM, PLAYER, BOT;
... | 0 | Kotlin | 0 | 0 | 922b34b744ee22a60781a1ae3d279b7d434389f9 | 865 | intelligent-briscola | MIT License |
client-core/src/main/kotlin/org/sinou/pydia/client/ui/models/AppState.kt | bsinou | 434,248,316 | false | {"Kotlin": 2133584, "Java": 10237} | package org.sinou.pydia.client.ui.models
import org.sinou.pydia.sdk.transport.StateID
class AppState(
stateID: StateID,
val intentID: String?,
val route: String?,
val context: String?,
) {
// We rather rely on the string version of the StateID so that AppState is serializable by default
privat... | 0 | Kotlin | 0 | 1 | 51a128c49a24eedef1baf2d4f295f14aa799b5d3 | 656 | pydia | Apache License 2.0 |
app/src/main/java/com/example/online_health_app/screens/SearchActivity.kt | lebelokamogelo | 723,664,718 | false | {"Kotlin": 140820} | package com.example.online_health_app.screens
import android.os.Bundle
import android.view.View
import android.widget.SearchView
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.example.online_health_app.ad... | 0 | Kotlin | 0 | 0 | 133fc341c7d10a29242322cb05e75e9bc986659e | 4,027 | health-app | MIT License |
impl-coroutine/ktor-http/src/main/kotlin/playwrigkt/skript/stagemanager/KtorHttpClientStageManager.kt | playwrigkt | 125,693,206 | false | null | package playwrigkt.skript.stagemanager
import io.ktor.client.HttpClient
import io.ktor.client.engine.apache.Apache
import playwrigkt.skript.coroutine.runAsync
import playwrigkt.skript.result.AsyncResult
import playwrigkt.skript.troupe.KtorHttpClientTroupe
class KtorHttpClientStageManager : StageManager<KtorHttpClient... | 6 | Kotlin | 1 | 1 | da3714fd4e6e4910424a15feb7c383b9e961b360 | 571 | skript | Apache License 2.0 |
src/main/kotlin/com/helltar/artific_intellig_bot/commands/ChatGPTCommand.kt | Helltar | 591,327,331 | false | null | package com.helltar.artific_intellig_bot.commands
import com.annimon.tgbotsmodule.commands.context.MessageContext
import com.github.kittinunf.fuel.core.ResponseResultOf
import com.github.kittinunf.fuel.core.extensions.jsonBody
import com.github.kittinunf.fuel.core.isSuccessful
import com.github.kittinunf.fuel.httpPost... | 0 | Kotlin | 2 | 9 | 7800751afbf6446b8d2b13b8817053205c4ab636 | 7,414 | artific_intellig_bot | MIT License |
app/router/src/main/java/com/gmail/jiangyang5157/router/fragment/mapping/FragmentMap.kt | jiangyang5157 | 95,332,458 | false | null | package com.gmail.jiangyang5157.router.fragment.mapping
import androidx.fragment.app.Fragment
import com.gmail.jiangyang5157.kit.data.Key
import com.gmail.jiangyang5157.router.core.KeyRoute
import com.gmail.jiangyang5157.router.fragment.FragmentElementImpl
import com.gmail.jiangyang5157.router.fragment.FragmentRoute
i... | 0 | Kotlin | 0 | 0 | 2487085d73192e25565ae4fe0b430e46df7cd566 | 842 | kotlin-android | Apache License 2.0 |
src/main/kotlin/io/bvalentino/forum/dto/UserCredentials.kt | brunovalentino-dev | 792,003,539 | false | {"Kotlin": 39237, "HTML": 1121, "Dockerfile": 156, "Shell": 89, "Procfile": 88} | package io.bvalentino.forum.dto
data class UserCredentials(
val username: String,
val password: String
) | 0 | Kotlin | 0 | 0 | d8f0a1ef5b043483494f6af4435f759da5b58624 | 113 | forum | Apache License 2.0 |
library/src/main/java/com/trendyol/showcase/ui/slidablecontent/SlidableContentAdapter.kt | bilgehankalkan | 191,935,274 | false | null | package com.trendyol.showcase.ui.slidablecontent
import android.graphics.Typeface
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.core.view.isVisible
import androidx.recyclerview.widget.RecyclerView
import com.trendyol.showcase.databinding.ItemSlidableContentBinding
import com.trendyol... | 0 | Kotlin | 10 | 8 | fa998c9760e229d5b9378e7b511ae0a3e7528edb | 2,677 | showcase | Apache License 2.0 |
library/inspector/src/test/java/io/mehow/laboratory/inspector/SearchViewModelSpec.kt | MiSikora | 271,023,663 | false | {"Kotlin": 293428, "Shell": 2768, "HTML": 261, "CSS": 188} | package io.mehow.laboratory.inspector
import app.cash.turbine.FlowTurbine
import app.cash.turbine.test
import io.kotest.core.spec.style.DescribeSpec
import io.kotest.matchers.shouldBe
import io.mehow.laboratory.inspector.SearchMode.Active
import io.mehow.laboratory.inspector.SearchMode.Idle
import io.mehow.laboratory.... | 12 | Kotlin | 3 | 75 | 4053b2e2e9e5c1500e0e33b44713c9be11300993 | 2,356 | laboratory | Apache License 2.0 |
lib/setting/src/test/kotlin/moe/pine/meteorshower/setting/repositories/UserOptionRepositoryTest.kt | pine | 177,103,749 | false | null | package moe.pine.meteorshower.setting.repositories
import moe.pine.meteorshower.setting.models.UserOption
import org.junit.Assert.*
import org.junit.Before
import org.junit.Test
class UserOptionRepositoryTest : TestBase() {
private lateinit var userOptionRepository: UserOptionRepository
@Before
override ... | 0 | Kotlin | 0 | 0 | 0f9bffd7066283fa8cb63275378ce30eaef30e0d | 2,689 | meteorshower-server | MIT License |
app/src/main/kotlin/example/maester/utils/SharedPreferencesHelper.kt | leonardis | 129,817,643 | false | null | package example.maester.utils
import android.content.SharedPreferences
import com.google.gson.Gson
class SharedPreferencesHelper constructor(var sharedPreferences: SharedPreferences, var gson: Gson) {
private var editor: SharedPreferences.Editor = sharedPreferences.edit()
@Synchronized
fun setSuggestion... | 0 | Kotlin | 1 | 0 | dbfde5ea9155c0d0f3f773c74a7c2e9252501886 | 1,728 | maester | Apache License 2.0 |
sdk/src/commonMain/kotlin/io/timemates/sdk/authorization/email/requests/ConfigureNewAccountRequest.kt | timemates | 575,534,072 | false | {"Kotlin": 150561} | package io.timemates.sdk.authorization.email.requests
import io.timemates.sdk.authorization.email.types.value.VerificationHash
import io.timemates.sdk.authorization.sessions.types.Authorization
import io.timemates.sdk.common.types.TimeMatesEntity
import io.timemates.sdk.common.types.TimeMatesRequest
import io.timemate... | 2 | Kotlin | 0 | 9 | 8d542c313773fbda8127ed8e1dc2d20a70107b19 | 863 | sdk | MIT License |
watari-discovery-gateway/src/main/kotlin/tv/dotstart/watari/discovery/gateway/registry/GatewayDiscoveryServiceRegistry.kt | dotStart | 517,175,816 | false | null | /*
* Copyright 2022 Johannes Donath <johannesd@torchmind.com>
* and other copyright owners as documented in the project's IP log.
*
* 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
*
* ... | 0 | Kotlin | 0 | 0 | 13214a53df9d144c6e0c81e543b4f2a0326bc6c8 | 1,948 | watari | Apache License 2.0 |
app/src/main/java/com/eroom/erooja/feature/ongoingGoal/OngoingGoalContract.kt | YAPP-16th | 235,351,786 | false | null | package com.eroom.erooja.feature.ongoingGoal
import com.eroom.data.entity.MinimalTodoListDetail
import com.eroom.data.request.GoalAbandonedRequest
import com.eroom.data.response.GoalDetailResponse
interface OngoingGoalContract {
interface View {
fun setGoalData(goalData: GoalDetailResponse)
fun se... | 15 | Kotlin | 5 | 14 | c762fbf4ff35bfe7a2d4a0cfc4ffb11a23fb86c0 | 953 | Team_Android_1_Client | Apache License 2.0 |
TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/subsystem/output/drivetrain/OutputMotorGroup.kt | sollyucko | 215,169,829 | false | {"Java": 40541, "Kotlin": 35158, "Python": 32910} | package org.firstinspires.ftc.teamcode.subsystem.output.drivetrain
import com.qualcomm.robotcore.hardware.DcMotor
import com.qualcomm.robotcore.hardware.DcMotorSimple
import org.firstinspires.ftc.teamcode.math.AngularVelocity
import org.firstinspires.ftc.teamcode.math.TickCount
import org.firstinspires.ftc.teamcode.ma... | 1 | null | 1 | 1 | 7ff516d0fafa69df25055b94a26072e85e15bff8 | 2,321 | ftc_app | MIT License |
role-admin/src/test/java/org/rfcx/guardian/admin/comms/swm/SwmApiCSTest.kt | rfcx | 7,535,854 | false | {"Gradle": 11, "Java Properties": 2, "Shell": 67, "Text": 29, "Ignore List": 10, "Batchfile": 2, "Markdown": 4, "INI": 1, "JSON": 37, "Proguard": 7, "Kotlin": 66, "XML": 159, "Java": 238, "Makefile": 170, "C": 541, "Python": 13, "Perl": 7, "Roff Manpage": 7, "Public Key": 1, "HTML": 165, "JavaScript": 4, "C++": 20, "M4... | package org.rfcx.guardian.admin.comms.swm
import org.junit.Test
import org.rfcx.guardian.admin.comms.swm.api.SwmApi
import org.rfcx.guardian.admin.comms.swm.api.SwmConnection
import kotlin.test.assertEquals
import kotlin.test.assertNotNull
class SwmApiCSTest {
@Test
fun canGetSwarmId() {
// Arrange
... | 21 | C | 0 | 0 | 627594651e0665b17f2990187c1c5d86ced1c199 | 601 | rfcx-guardian-android | Apache License 2.0 |
src/main/kotlin/dev/afonsogarcia/pbxmanager/handler/GetCallHistoryHandler.kt | PBX-Manager | 612,347,113 | false | null | package dev.afonsogarcia.pbxmanager.handler
import dev.afonsogarcia.pbxmanager.service.CallHistoryService
import org.springframework.stereotype.Component
import org.springframework.web.reactive.function.server.ServerRequest
import org.springframework.web.reactive.function.server.ServerResponse
import org.springframewo... | 2 | Kotlin | 0 | 1 | 1dbbfe4a9db76100a59ac7c7726099105582ebc0 | 686 | pbx-manager | MIT License |
app/src/main/java/ru/lopatin/mvvm_pattern_kotlin/ui/fragments/BulgakovFragment.kt | MyAndroidProjects | 267,484,590 | false | null | package ru.lopatin.mvvm_pattern_kotlin.ui.fragments
import androidx.lifecycle.ViewModelProviders
import androidx.databinding.DataBindingUtil
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
i... | 0 | Kotlin | 0 | 0 | 0bd6fbd1fbf724790506c294b3862fa636f4f58b | 2,510 | MVVMBookReaderImitation | MIT License |
vk-api/src/main/kotlin/name/alatushkin/api/vk/generated/pages/WikipageVersion.kt | alatushkin | 156,866,851 | false | null | package name.alatushkin.api.vk.generated.pages
open class WikipageVersion(
val id: Long? = null,
val length: Long? = null,
val edited: Long? = null,
val editorId: Long? = null,
val editorName: String? = null
) | 2 | Kotlin | 3 | 10 | 123bd61b24be70f9bbf044328b98a3901523cb1b | 231 | kotlin-vk-api | MIT License |
ret-plugin/src/test/kotlin/io/rabobank/ret/commands/PluginConfigureCommandTest.kt | rabobank | 626,324,322 | false | {"Kotlin": 81181, "Shell": 11977, "Java": 7849, "Dockerfile": 516} | package io.rabobank.ret.commands
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.fasterxml.jackson.module.kotlin.readValue
import io.mockk.every
import io.mockk.mockk
import io.rabobank.ret.RetConsole
import io.rabobank.ret.configuration.version.VersionProperties
import org.apache.commons.io.... | 1 | Kotlin | 2 | 16 | 1e2e26f9c770d3106a55a9b782b8b934a5dfaf60 | 3,997 | ret-engineering-tools | MIT License |
app/src/main/java/com/adyen/testcards/domain/PaymentMethods.kt | Adyen | 865,958,261 | false | {"Kotlin": 112287, "Shell": 536} | package com.adyen.testcards.domain
data class PaymentMethods(
val creditCards: List<CreditCardGroup> = emptyList(),
val giftCards: List<GiftCard> = emptyList(),
val ibans: List<IBAN> = emptyList(),
val upis: List<UPI> = emptyList(),
val usernamePasswords: List<UsernamePassword> = emptyList(),
) {
... | 4 | Kotlin | 0 | 2 | 9dc3c55092c8c192580412ecc8b99f914e87f40f | 1,674 | adyen-testcards-android | MIT License |
mobile/Stockii/app/src/main/java/me/vidrox/stockii/listeners/RequestListener.kt | VidroX | 218,940,779 | false | {"TypeScript": 344534, "Kotlin": 90669, "Python": 88408, "Dockerfile": 959, "HTML": 857, "CSS": 714, "Shell": 622} | package me.vidrox.stockii.listeners
interface RequestListener<T: Any> {
fun onRequest()
fun onSuccess(result: T?)
fun onError(responseCode: Int, errorCode: Int, errorMessage: String)
} | 0 | TypeScript | 0 | 0 | 237f30aa4b3b061bc0e9a1362c7ab66375feb59e | 199 | stockii | Apache License 2.0 |
lib_character_search/src/main/java/com/ezike/tobenna/starwarssearch/lib_character_search/domain/model/Specie.kt | Ezike | 294,171,829 | false | null | package com.ezike.tobenna.starwarssearch.lib_character_search.domain.model
data class Specie(
val name: String,
val language: String,
val homeWorld: String
)
| 0 | Kotlin | 28 | 172 | 792caabf5a29b8bb4698c36c3257916a1cf6611d | 171 | StarWarsSearch-MVI | Apache License 2.0 |
common/src/main/java/com/pt/common/mutual/adapter/GlobalAdapterLong.kt | OmAr-Kader | 674,357,483 | false | {"Kotlin": 2780433} | package com.pt.common.mutual.adapter
abstract class GlobalAdapterLong<VB : androidx.viewbinding.ViewBinding, I>(
protected val binder: VB
) : GlobalAdapt<I>(binder.root as android.view.ViewGroup), android.view.View.OnLongClickListener {
@com.pt.common.global.UiAnn
override fun bind() {
binder.bind... | 0 | Kotlin | 0 | 0 | fe57fe5a4029119ac287ab8d3d4b5ccfc05af3a0 | 1,108 | PT-All-Pro | Apache License 2.0 |
src/main/kotlin/de/sirywell/handlehints/dfa/MethodHandleTypeResolver.kt | SirYwell | 551,940,996 | false | {"Kotlin": 142648, "Java": 19299, "HTML": 268} | package de.sirywell.handlehints.dfa
import com.intellij.openapi.util.RecursionManager.doPreventingRecursion
import com.intellij.psi.*
import com.intellij.psi.util.childrenOfType
import de.sirywell.handlehints.type.BotSignature
import de.sirywell.handlehints.type.MethodHandleType
class MethodHandleTypeResolver(private... | 18 | Kotlin | 0 | 5 | 5f40947adb1c64a5b951a9c9511687eeaddc4f92 | 1,921 | HandleHints | MIT License |
src/main/kotlin/AslCaller.kt | nikolasrist | 445,562,081 | false | {"Kotlin": 13656, "Shell": 6380, "Batchfile": 2938} | class AslCaller private constructor(
val input: String?,
val output: String?,
val mask: String?,
val spatial: String?,
val whitePaperMode: String?,
val motionCorrection: String?,
val infert1: String?,
val iaf: String?, // <diff, tc, ct>
val ibf: String?, // <rpt,tis>
val casl: St... | 0 | Kotlin | 0 | 0 | a39761061faf00d5af6afec35822b9d08b62d6aa | 10,093 | asl-multi | MIT License |
Common/src/main/java/ram/talia/moreiotas/common/casting/actions/strings/OpLenString.kt | Talia-12 | 565,479,446 | false | null | package ram.talia.moreiotas.common.casting.actions.strings
import at.petrak.hexcasting.api.spell.ConstMediaAction
import at.petrak.hexcasting.api.spell.asActionResult
import at.petrak.hexcasting.api.spell.casting.CastingContext
import at.petrak.hexcasting.api.spell.iota.Iota
import ram.talia.moreiotas.api.getString
o... | 5 | Kotlin | 4 | 1 | 3dd3c0ccc1933cbd5dcb4b60aabfd2a6e911b940 | 532 | MoreIotas | MIT License |
app/src/main/java/com/omongole/fred/yomovieapp/domain/model/shows/Show.kt | EngFred | 724,071,728 | false | {"Kotlin": 244248} | package com.omongole.fred.yomovieapp.domain.model.shows
data class Show(
val id: Int,
val name:String,
val posterPath: String,
val rating: Double,
val firstAirDate: String
)
| 0 | Kotlin | 0 | 0 | 8a1a747c8edde86fe63595f318e157f3bd6de630 | 195 | Cinema-app | MIT License |
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/Typewriter.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,332 | icons | MIT License |
app/src/main/java/top/jowanxu/coroutines/bean/LoginResultResponse.kt | wangzailfm | 112,585,342 | false | null | package top.jowanxu.coroutines.bean
/**
* 登录返回result
* token 用户登录生成的token
* uid 用户Id
*/
data class LoginResultResponse(val token: String, val uid: String) | 0 | Kotlin | 0 | 4 | e16d5e8e33321290180cd5e11838392a9f0a9baa | 159 | KotlinCoroutines | Apache License 2.0 |
app/src/main/java/ru/aleshi/letsplaycities/service/ServiceModule.kt | AlexanderShirokih | 195,569,812 | false | null | package ru.aleshi.letsplaycities.service
import dagger.Module
import dagger.android.ContributesAndroidInjector
import ru.aleshi.letsplaycities.network.LpsRepositoryModule
@Module(includes = [LpsRepositoryModule::class])
interface ServiceModule {
@ContributesAndroidInjector
fun injectFirebaseService(): MyFire... | 0 | Kotlin | 0 | 1 | 19a3153b804b0aceafc94ef764193ad2d1a551bf | 343 | letsplaycities2_android | MIT License |
ui/view/src/main/kotlin/me/gegenbauer/catspy/view/button/CloseButton.kt | Gegenbauer | 609,809,576 | false | {"Kotlin": 652879} | package me.gegenbauer.catspy.view.button
import com.github.weisj.darklaf.iconset.AllIcons
import me.gegenbauer.catspy.utils.setBorderless
import java.awt.Dimension
import java.awt.event.MouseAdapter
import java.awt.event.MouseEvent
import javax.swing.Icon
import javax.swing.JButton
class CloseButton(private val onClo... | 0 | Kotlin | 1 | 7 | 70d905761d3cb0cb2e5ee9b80ceec72fca46ee52 | 1,242 | CatSpy | Apache License 2.0 |
ui/view/src/main/kotlin/me/gegenbauer/catspy/view/button/CloseButton.kt | Gegenbauer | 609,809,576 | false | {"Kotlin": 652879} | package me.gegenbauer.catspy.view.button
import com.github.weisj.darklaf.iconset.AllIcons
import me.gegenbauer.catspy.utils.setBorderless
import java.awt.Dimension
import java.awt.event.MouseAdapter
import java.awt.event.MouseEvent
import javax.swing.Icon
import javax.swing.JButton
class CloseButton(private val onClo... | 0 | Kotlin | 1 | 7 | 70d905761d3cb0cb2e5ee9b80ceec72fca46ee52 | 1,242 | CatSpy | Apache License 2.0 |
z2-kotlin-plugin/testData/notready/rui/success/OnlyExternal.kt | spxbhuhb | 665,463,766 | false | {"Kotlin": 1381124, "CSS": 165882, "Java": 7121, "HTML": 1560, "JavaScript": 975} | /*
* Copyright © 2020-2021, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package hu.simplexion.z2.kotlin.adaptive.success
import hu.simplexion.z2.adaptive.Rui
import hu.simplexion.z2.adaptive.rui
import hu.simplexion.z2.adaptive.RuiAdapterRegistry
import hu.... | 6 | Kotlin | 0 | 1 | 204f26074a796495a838f00adc3dbde1fb0fc9b0 | 765 | z2 | Apache License 2.0 |
app/src/test/java/com/whl/mvvm/ExampleUnitTest.kt | honglei92 | 398,157,044 | false | null | package com.whl.mvvm
import org.junit.Test
import org.junit.Assert.*
/**
* Example local unit test, which will execute on the development machine (host).
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
class ExampleUnitTest {
@Test
fun addition_isCorrect() {
assertEquals(4... | 0 | Kotlin | 0 | 1 | b8fdef077e64ced109c672f03d5c0fb2e22c10d2 | 507 | MVVM | Apache License 2.0 |
src/jvmMain/kotlin/org/github/anisch/routing/Person.kt | anisch | 612,110,087 | false | {"Kotlin": 21031} | package org.github.anisch.routing
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.request.*
import io.ktor.server.resources.delete
import io.ktor.server.resources.get
import io.ktor.server.resources.post
import io.ktor.server.resources.put
import io.ktor.server.response.*
import io.ktor... | 0 | Kotlin | 0 | 0 | b1bf4afc01f090a32436f6f22512bc5523abec15 | 1,679 | kotlin-multiplatform-demo | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/makerecalldecisionapi/controller/PrisonApiController.kt | ministryofjustice | 478,614,213 | false | {"Kotlin": 1302200, "Shell": 18492, "Mustache": 1801, "Dockerfile": 1124, "Ruby": 229} | package uk.gov.justice.digital.hmpps.makerecalldecisionapi.controller
import io.swagger.v3.oas.annotations.Operation
import org.springframework.http.MediaType
import org.springframework.security.access.prepost.PreAuthorize
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.a... | 1 | Kotlin | 1 | 1 | 87de9555a27b0c7198a487a6981b31d3cfec04e8 | 1,352 | make-recall-decision-api | MIT License |
src/main/kotlin/ru/tikhonovdo/enrichment/batch/matching/account/AccountMatchingStepProcessor.kt | tikhonovdo | 578,711,174 | false | {"Kotlin": 272462, "Java": 11305, "HTML": 8429, "JavaScript": 4858, "Dockerfile": 643} | package ru.tikhonovdo.enrichment.batch.matching.account
import org.springframework.batch.core.StepExecution
import org.springframework.batch.core.StepExecutionListener
import org.springframework.batch.item.ItemProcessor
import ru.tikhonovdo.enrichment.domain.enitity.AccountMatching
import ru.tikhonovdo.enrichment.repo... | 0 | Kotlin | 0 | 0 | e72e0933751d1fa7d498df4384576c446dc3154f | 1,088 | enrichment | MIT License |
fontawesome/src/de/msrd0/fontawesome/icons/FA_POOP.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... | 0 | Kotlin | 0 | 0 | 1358935395f9254cab27852457e2aa6c58902e16 | 1,708 | fontawesome-kt | Apache License 2.0 |
ktorm-core/src/test/kotlin/org/ktorm/entity/EntityTest.kt | kotlin-orm | 159,785,192 | false | {"Kotlin": 1287281, "Java": 1980} | package org.ktorm.entity
import org.junit.Test
import org.ktorm.BaseTest
import org.ktorm.database.Database
import org.ktorm.dsl.*
import org.ktorm.schema.*
import java.io.ByteArrayInputStream
import java.io.ByteArrayOutputStream
import java.io.ObjectInputStream
import java.io.ObjectOutputStream
import java.time.Local... | 84 | Kotlin | 143 | 2,023 | f59e40695218ae370401d1c27a9134f2b944364a | 23,245 | ktorm | Apache License 2.0 |
src/main/java/com/kenza/discholder/block/DiscHolderBlockEntityGuiDescription.kt | dmkenza | 452,655,607 | false | {"Kotlin": 47916, "Java": 9021, "PHP": 1627} | package com.kenza.discholder.block
import com.kenza.discholder.DiscHolderMod.Companion.DISC_BLOCKENTITY_GUI_HANDLER_TYPE
import net.minecraft.entity.player.PlayerInventory
import net.minecraft.screen.ScreenHandlerContext
import io.github.cottonmc.cotton.gui.SyncedGuiDescription
import io.github.cottonmc.cotton.gui.Val... | 1 | Kotlin | 0 | 0 | 66351560241de532347bddfa0b2a458f5ffef7ad | 3,596 | DiscHolder_Fabric | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/yigitbal/weatherapp/viewmodel/WeatherViewModel.kt | yigitbalbasi | 672,211,006 | false | null | package com.yigitbal.weatherapp.viewmodel
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.yigitbal.weatherapp.Weather
import com.yigitbal.weatherapp.repository.WeatherRepository
... | 0 | Kotlin | 0 | 0 | 5f99f5409b88f0efbeaa8404fef0de1b59f240b3 | 1,034 | WeatherApp | Apache License 2.0 |
PrimFastKotlin/KotlinAction/app/src/main/java/com/prim/gkapp/ui/home/NavItem.kt | annocjx | 248,767,646 | true | {"Python": 628830, "Java": 293115, "HTML": 159403, "JavaScript": 157080, "Kotlin": 131915, "CSS": 45863, "Dart": 39473, "Objective-C": 5647, "Shell": 3784, "PHP": 2469, "CMake": 1603} | package com.prim.gkapp.ui.home
import android.app.Activity
import android.os.Bundle
import androidx.annotation.IdRes
import androidx.fragment.app.Fragment
import com.prim.gkapp.R.id
import com.prim.gkapp.ui.feeds.EventsFragment
import com.prim.gkapp.ui.feeds.IssuesFragment
import com.prim.gkapp.ui.repos.ReposFragment
... | 0 | null | 0 | 0 | b435ca4bd2d0c682c7b40f2b856d7b36af8da7c9 | 3,159 | Awsome-Android-Advanced | Apache License 2.0 |
src/main/kotlin/org/botellier/server/Client.kt | danielrs | 88,327,994 | false | null | package org.botellier.server
import org.botellier.command.CommandParser
import org.botellier.value.Lexer
import org.botellier.value.LexerException
import org.botellier.value.ParserException
import org.botellier.value.toList
import java.net.Socket
import java.net.SocketException
import java.net.SocketTimeoutException
... | 0 | Kotlin | 1 | 10 | 5a52a4cd00b0d0fde429917d649da17c5b0481c6 | 2,691 | botellier | MIT License |
src/test/kotlin/tutorial/basic/AirplaneMode1.kt | ldi-github | 538,873,481 | false | {"Kotlin": 3794937, "JavaScript": 12703, "CSS": 5215} | package tutorial.basic
import org.junit.jupiter.api.Order
import org.junit.jupiter.api.Test
import shirates.core.configuration.Testrun
import shirates.core.driver.commandextension.*
import shirates.core.testcode.UITest
@Testrun("testConfig/android/androidSettings/testrun.properties")
class AirplaneMode1 : UITest() {
... | 0 | Kotlin | 0 | 8 | 36de66a32862af904f97052aac8bd022e28da1ea | 1,037 | shirates-core | Apache License 2.0 |
src/main/java/kotlinremotelibrary/KotlinRemoteLibraryServer.kt | MarketSquare | 236,125,361 | false | {"RobotFramework": 3400, "Shell": 1912, "Kotlin": 1083} | package kotlinremotelibrary
import org.robotframework.javalib.library.AnnotationLibrary
import org.robotframework.remoteserver.RemoteServer
class KotlinRemoteLibraryServer:AnnotationLibrary("kotlinremotelibrary/keywords/*Keywords.class") {
override fun getKeywordDocumentation(keywordName:String):String {
if (key... | 3 | RobotFramework | 0 | 0 | f7d9f3bbae7c9acac60e933f85dac95b58694417 | 707 | robotframework-kotlin-remote-library | MIT License |
app/src/main/java/com/example/pianoanalytics/AnimalActivity.kt | at-internet | 477,609,545 | false | {"Kotlin": 188354, "Java": 404} | package com.example.pianoanalytics
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import by.kirich1409.viewbindingdelegate.viewBinding
import com.example.pianoanalytics.databinding.ActivityAnimalBinding
import io.piano.android.analytics.PianoAnalytics
import io.piano.android.analytics.model.E... | 1 | Kotlin | 5 | 4 | 267fbd47f0f8abc4362576fd5cffff4e732cadc4 | 1,366 | piano-analytics-android | MIT License |
packages/app/core/data/src/main/java/com/posttrip/journeydex/core/data/model/travel/CourseDetail.kt | Woo-Dong93 | 821,739,845 | false | {"Kotlin": 279139, "TypeScript": 73819} | package com.posttrip.journeydex.core.data.model.travel
import kotlinx.serialization.Serializable
@Serializable
data class CourseDetail(
val data: Course
)
| 3 | Kotlin | 0 | 0 | a312f4989677cf24ca1c945058e6fdadec019c93 | 161 | PostTrip | MIT License |
funcify-feature-eng-spring-webflux/src/main/kotlin/funcify/feature/spring/router/GraphiQLWebFluxHandlerFunction.kt | anticipasean | 458,910,592 | false | {"Kotlin": 2751524, "HTML": 1817} | package funcify.feature.spring.router
import funcify.feature.tools.extensions.LoggerExtensions.loggerFor
import org.slf4j.Logger
import org.springframework.core.io.ClassPathResource
import org.springframework.http.MediaType
import org.springframework.web.reactive.function.server.HandlerFunction
import org.springframew... | 0 | Kotlin | 0 | 0 | 284b941de10a5b85b9ba1b5236a1d57289e10492 | 1,975 | funcify-feature-eng | Apache License 2.0 |
app/src/main/java/com/revature/findlawyer/data/repository/UserRetrofitHelp.kt | Gale6 | 473,278,613 | false | {"Kotlin": 159194} | package com.revature.findlawyer.data.repository
import com.jakewharton.retrofit2.adapter.kotlin.coroutines.CoroutineCallAdapterFactory
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import java.util.concurrent.Tim... | 0 | Kotlin | 0 | 0 | 6f4c4325f0bbe9b40ffc8088e5573df3f4448434 | 1,342 | FindLawyer | Apache License 2.0 |
common/src/main/java/io/github/kunal26das/common/compose/LocalComposition.kt | kunal26das | 283,553,926 | false | {"Kotlin": 125792} | package io.github.kunal26das.common.compose
import androidx.compose.runtime.compositionLocalOf
val LocalShimmer = compositionLocalOf<Shimmer> {
error("No active shimmer found!")
}
val LocalShimmerAnimation = compositionLocalOf<ShimmerAnimation> {
error("No active shimmer animation found!")
} | 1 | Kotlin | 0 | 2 | b8f5b68fac6180bdee6289169a5ff637d2dd8798 | 303 | yify | Apache License 2.0 |
wallpaperapp/src/main/java/com/doctoror/particleswallpaper/presentation/App.kt | smred | 120,305,786 | true | {"Kotlin": 192474, "Java": 1291, "IDL": 1203, "Prolog": 716} | package com.doctoror.particleswallpaper.presentation
import android.app.Application
import com.doctoror.particleswallpaper.BuildConfig
import com.doctoror.particleswallpaper.presentation.di.Injector
import com.doctoror.particleswallpaper.presentation.di.components.DaggerConfigComponent
import com.doctoror.particleswal... | 0 | Kotlin | 0 | 0 | 92594a3cee7cc9a897d12f57d95a0e02097e2135 | 1,161 | ParticlesDrawable | Apache License 2.0 |
app/src/main/java/com/fbiego/dt78/app/MainApplication.kt | fbiego | 285,092,125 | false | {"Kotlin": 627720, "HTML": 28744, "Batchfile": 180} | /*
*
* MIT License
*
* Copyright (c) 2021 Felix Biego
*
* 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, m... | 4 | Kotlin | 21 | 41 | 5c694fa0e09d2a64ad40ff000b989525a264ec5c | 1,950 | DT78-App-Android | MIT License |
data/src/main/kotlin/com/joeloewi/croissant/data/entity/remote/GameRecordEntity.kt | joeloewi7178 | 489,906,155 | false | {"Kotlin": 707165} | package com.joeloewi.croissant.data.entity.remote
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class GameRecordEntity(
@Json(name = "has_role")
val hasRole: Boolean = false,
@Json(name = "game_id")
val gameId: Int = INVALID_GAME_ID,
@Js... | 12 | Kotlin | 0 | 9 | d948faddca04e74db99c277897b7df03a495e6f8 | 726 | Croissant | Apache License 2.0 |
src/main/java/com/thecout/cpg/Passes/Queries/AddIDFGEdge.kt | SAP-samples | 610,187,569 | false | null | package com.thecout.cpg.Passes.Queries
class AddIDFGEdge(val callId: List<Long>, val fileNames: List<String> = emptyList()) : Query {
override fun getQuery(): String {
var queryModifier = ""
if (fileNames.isNotEmpty()) {
val fileNameString = fileNames.map { "\"$it\"" }.joinToString(sep... | 0 | C | 0 | 11 | d3f79436e7f99fa149903f09ff0f1bee79fc2eff | 964 | security-research-taintgraphs | Apache License 2.0 |
app/src/main/java/com/davidfadare/notes/DrawingActivity.kt | offad | 414,578,202 | false | {"Kotlin": 306364, "Java": 137048} | package com.davidfadare.notes
import android.annotation.SuppressLint
import android.app.Activity
import android.content.Context
import android.content.DialogInterface
import android.content.Intent
import android.content.pm.PackageManager
import android.content.res.Configuration
import android.graphics.*
import android... | 0 | Kotlin | 0 | 1 | f072e801b3555a18709052a1e9f7dfff435d8535 | 12,835 | stylepad | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/pecs/jpc/service/spreadsheet/outbound/LockoutMovesSheet.kt | ministryofjustice | 292,861,912 | false | null | package uk.gov.justice.digital.hmpps.pecs.jpc.service.spreadsheet.outbound
import org.apache.poi.ss.usermodel.Workbook
import uk.gov.justice.digital.hmpps.pecs.jpc.domain.move.Move
import uk.gov.justice.digital.hmpps.pecs.jpc.service.spreadsheet.outbound.PriceSheet.DataColumn.CONTRACTOR_BILLABLE
import uk.gov.justice.... | 1 | Kotlin | 2 | 1 | 4a01db5b169a4083509c2b7f7f5279f600085217 | 2,151 | calculate-journey-variable-payments | MIT License |
shared/src/commonMain/kotlin/com/ramitsuri/choresclient/model/enums/CreateType.kt | ramitsuri | 426,858,599 | false | {"Kotlin": 404799, "Shell": 8337, "Ruby": 1624, "Swift": 1574} | package com.ramitsuri.choresclient.model.enums
enum class CreateType(val key: Int) {
UNKNOWN(0),
MANUAL(1),
AUTO(2);
companion object {
fun fromKey(key: Int): CreateType {
for (value in values()) {
if (value.key == key) {
return value
... | 0 | Kotlin | 0 | 2 | 6c5fe6165b5705e4597c588e40c7b0ad3db8d4c7 | 385 | chores-client | MIT License |
src/main/kotlin/databaseclient/DatabaseClientRunner.kt | BAC2-Graf-Rohatynski | 208,084,264 | false | null | package databaseclient
import databaseclient.command.CommandSocketHandler
import enumstorage.update.ApplicationName
import org.json.JSONObject
import org.slf4j.Logger
import org.slf4j.LoggerFactory
object DatabaseClientRunner {
private val logger: Logger = LoggerFactory.getLogger(DatabaseClientRunner::class.java)... | 0 | Kotlin | 0 | 0 | b7b0df65dbce5ba37b70b49e1cbb420b1a5899cf | 714 | DatabaseClient | MIT License |
ok-tasktracker-be-common/src/main/kotlin/com/polyakovworkbox/tasktracker/backend/common/repositories/TaskIdRequest.kt | otuskotlin | 377,711,514 | false | null | package com.polyakovworkbox.tasktracker.backend.common.repositories
import com.polyakovworkbox.tasktracker.backend.common.models.task.TaskIdReference
import java.util.*
data class TaskIdRequest(
val id: String = ""
): ITaskRepoRequest {
companion object {
fun getRandom(): TaskIdRequest = TaskIdReques... | 0 | Kotlin | 1 | 1 | 4ca55a569558ce9950c087bb299b17f667ac7cef | 468 | ok-202105-tasktracker-dp | MIT License |
app/src/main/java/ch/lock/android/networkinfo/ui/base/viewmodel/BaseViewModel.kt | lock-user | 743,121,750 | false | {"Kotlin": 15139} | package ch.lock.android.networkinfo.ui.base.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import ch.lock.android.networkinfo.utils.base.flow.EventFlow
import ch.lock.android.networkinfo.utils.base.flow.MutableEventFlow
import kotlinx.coroutines.launch
abstract class BaseViewMo... | 0 | Kotlin | 0 | 0 | 4fdced287ea039ebaaa249d6cacb84bbb6f6a550 | 812 | network-info-android | MIT License |
shared-src/reflect/protokt/v1/reflect/FieldType.kt | open-toast | 231,140,493 | false | {"Kotlin": 1046958, "Shell": 346} | /*
* Copyright (c) 2020 Toast, Inc.
*
* 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 ... | 26 | Kotlin | 14 | 154 | 2130b98a50f233cbb436d8e06a600e157e33a8b8 | 4,161 | protokt | Apache License 2.0 |
client/app/src/main/java/com/microsoft/research/karya/database/models/LanguageRecord.kt | navana-tech | 394,535,166 | true | {"TypeScript": 729546, "Kotlin": 312743, "Java": 32041, "JavaScript": 6753, "CSS": 1987, "HTML": 1428} | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
/**
* This file was auto-generated using specs and scripts in the db-schema
* repository. DO NOT EDIT DIRECTLY.
*/
package com.microsoft.research.karya.database.models
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.g... | 0 | null | 0 | 0 | 66d97154bc39d3107a0cd0f0694a68a81bd7b251 | 827 | rural-crowdsourcing-toolkit | MIT License |
app/src/main/java/cz/airbank/airbankapplication/model/TransactionDetailWrapper.kt | ivochvojka | 151,829,533 | false | null | package cz.airbank.airbankapplication.model
/**
* Wrapper for transaction detail.
*
* @author <NAME>
*/
class TransactionDetailWrapper(val contraAccount: TransactionDetail) | 0 | Kotlin | 0 | 0 | 60b881f3b0de30bbbda6992073a82cbe2e402f24 | 177 | airbank | MIT License |
app/src/main/kotlin/no/nav/tiltakspenger/vedtak/repository/søknad/SpmFunctions.kt | navikt | 487,246,438 | false | {"Kotlin": 978138, "Dockerfile": 495, "Shell": 150, "HTML": 45} | package no.nav.tiltakspenger.vedtak.repository.søknad
import kotliquery.Row
import no.nav.tiltakspenger.felles.Periode
import no.nav.tiltakspenger.vedtak.Søknad
import no.nav.tiltakspenger.vedtak.db.booleanOrNull
private const val JA = "JA"
private const val NEI = "NEI"
private const val IKKE_RELEVANT = "IKKE_RELEVAN... | 6 | Kotlin | 0 | 2 | 46302b321b65cd094c35c01319ff2781a511ba6c | 7,205 | tiltakspenger-vedtak | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.