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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
jstruct_processor/src/main/kotlin/com/lingyun/lib/jstrcut/annotation/processor/ElementUtils.kt | lingyun-x | 352,528,086 | false | null | package com.lingyun.lib.jstrcut.annotation.processor
import com.lingyun.lib.jstruct.annotation.Embed
import com.lingyun.lib.jstruct.annotation.Ignore
import javax.annotation.processing.ProcessingEnvironment
import javax.lang.model.element.Element
import javax.lang.model.element.ElementKind
import javax.lang.model.elem... | 0 | Kotlin | 0 | 0 | 0530c8bf93259b556b8b65e92d400611a03efae1 | 3,463 | jstruct_annotation_processer | Apache License 2.0 |
presentation/src/main/kotlin/com/lukelorusso/presentation/ui/preview/Preview.kt | lukelorusso | 277,556,469 | false | {"Kotlin": 168897} | package com.lukelorusso.presentation.ui.preview
import androidx.compose.foundation.*
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.Surface
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import a... | 0 | Kotlin | 2 | 4 | dfc73c9a5286c8a880d3fd238737a09201605058 | 6,065 | ColorBlindClickAndroid | Apache License 2.0 |
agoraui/src/main/kotlin/io/agora/uikit/impl/chat/AgoraUIChatWindow.kt | AgoraIO-Community | 330,886,965 | false | null | package io.agora.uikit.impl.chat
import android.graphics.Color
import android.graphics.Rect
import android.text.TextUtils
import android.util.Log
import android.view.*
import android.view.animation.DecelerateInterpolator
import android.widget.RelativeLayout
import androidx.annotation.UiThread
import androidx.appcompat... | 2 | Kotlin | 10 | 8 | 4dbaa7e4a69dce0078d4126ac866a68352a3847d | 22,601 | CloudClass-Android | MIT License |
sample-compose/app/src/main/java/co/nimblehq/sample/compose/util/ComposableUtil.kt | nimblehq | 101,353,301 | false | {"Kotlin": 387666, "Ruby": 5344, "XSLT": 1824} | package co.nimblehq.sample.compose.util
import android.annotation.SuppressLint
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.ui.graphics.Color
import com.google.accompanist.systemuicontroller.rememberSystemUiController
@SuppressLint("ComposableNaming... | 31 | Kotlin | 23 | 94 | f07941499a70b6144f4280c233edba542ab3e516 | 627 | android-templates | MIT License |
web3lib/src/commonMain/kotlin/com/sonsofcrypto/web3lib/abi/CallRow.kt | sonsofcrypto | 454,978,132 | false | {"Kotlin": 1330889, "Swift": 970782, "Objective-C": 77663, "Jupyter Notebook": 20914, "Go": 20697, "C": 15793, "Java": 12789, "Shell": 4282, "JavaScript": 1718} | package com.sonsofcrypto.web3lib.abi
class CallRow {
var type: String = ""
var value: ByteArray = ByteArray(0)
constructor(input: String) {
type = input
}
} | 1 | Kotlin | 2 | 6 | d86df4845a1f60624dffa179ce6507ede3222186 | 182 | web3wallet | MIT License |
app/src/main/java/com/example/week6_project/FoodApplication.kt | Sentry2703 | 623,241,571 | false | null | package com.example.week6_project
import android.app.Application
class FoodApplication: Application() {
val db by lazy {FoodDatabase.getInstance(this)}
} | 1 | Kotlin | 0 | 0 | bcf9625b013db1793126a9933358350a0893eced | 159 | AND_102_6 | Apache License 2.0 |
app/src/main/java/com/example/zx_art/app/playLine.kt | vito-Z80 | 532,500,197 | false | {"Kotlin": 127534} | package com.example.zx_art.app
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material.Divider
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.runtime.*
import androidx.compose.ui.Modifier
im... | 8 | Kotlin | 0 | 0 | 6dd37b3e8c14602d30e23749c735e84298da84e9 | 2,750 | ZXArt | Apache License 2.0 |
core/model/src/main/java/com/msg/model/param/faq/AddFrequentlyAskedQuestionsParam.kt | School-of-Company | 700,744,250 | false | {"Kotlin": 724178} | package com.msg.model.param.faq
data class AddFrequentlyAskedQuestionsParam(
val question: String,
val answer: String,
)
| 6 | Kotlin | 1 | 22 | 358bf40188fa2fc2baf23aa6b308b039cb3fbc8c | 130 | Bitgoeul-Android | MIT License |
GithubBrowserSample/app/src/main/java/com/android/example/github/util/SingleFlowSource.kt | juanmendez | 169,156,595 | true | {"Kotlin": 402392, "Java": 259031, "Shell": 2979, "RenderScript": 2642} | package com.android.example.github.util
import androidx.lifecycle.LiveData
import androidx.lifecycle.MediatorLiveData
import androidx.lifecycle.asLiveData
import kotlinx.coroutines.flow.Flow
class SingleFlowSource<T> {
private val _mediator = MediatorLiveData<T>()
val asLiveData: LiveData<T>
get() = _... | 0 | Kotlin | 0 | 2 | aee44a77043ba7a920bb65a32ad78bcb836bf635 | 852 | android-architecture-components | Apache License 2.0 |
lookandfeel/src/commonMain/kotlin/com/github/alexzhirkevich/lookandfeel/util/LocalizedStrings.kt | alexzhirkevich | 636,411,288 | false | {"Kotlin": 480229, "Ruby": 1724, "Swift": 571, "Shell": 228} | package com.github.alexzhirkevich.lookandfeel.util
import androidx.compose.runtime.Composable
enum class LocalizedStrings {
Cancel, Search, Back
}
@Composable
expect fun LocalizedStrings.localized() : String | 5 | Kotlin | 14 | 359 | 89f41414e712fc3d75bba4ef3609b04d617f2b19 | 214 | compose-look-and-feel | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/entities/EvmBlockchain.kt | horizontalsystems | 142,825,178 | false | null | package io.horizontalsystems.bankwallet.entities
import android.os.Parcelable
import io.horizontalsystems.bankwallet.R
import io.horizontalsystems.marketkit.models.CoinType
import io.horizontalsystems.marketkit.models.PlatformType
import kotlinx.parcelize.Parcelize
sealed class EvmBlockchain(
val uid: String,
... | 136 | Kotlin | 219 | 402 | 5ce20e6e4e0f75a76496051ba6f78312bc641a51 | 2,559 | unstoppable-wallet-android | MIT License |
marker/src/main/kotlin/com/sourceplusplus/marker/source/mark/api/config/SourceMarkConfiguration.kt | chess-equality | 297,668,044 | false | null | package com.sourceplusplus.marker.source.mark.api.config
import com.sourceplusplus.marker.source.mark.api.component.api.SourceMarkComponentProvider
import com.sourceplusplus.marker.source.mark.api.filter.ApplySourceMarkFilter
/**
* todo: description.
*
* @since 0.0.1
* @author [Brandon Fergerson](mailto:bfergerso... | 0 | Kotlin | 0 | 0 | 7c157711d11b4836d38209daf32d4ee3b3d831de | 528 | SourceMarker-Alpha | Apache License 2.0 |
client-core/src/main/kotlin/org/sinou/pydia/client/ui/system/screens/Settings.kt | bsinou | 434,248,316 | false | {"Kotlin": 2133584, "Java": 10237} | package org.sinou.pydia.client.ui.system.screens
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.wrapContentWidth
import androidx.compose.foundation.rememberScrollState
im... | 0 | Kotlin | 0 | 1 | 51a128c49a24eedef1baf2d4f295f14aa799b5d3 | 9,204 | pydia | Apache License 2.0 |
module/notification/src/main/java/me/pxq/eyepetizer/notification/repository/NotificationRepository.kt | GreatAgain-1990 | 312,707,589 | true | {"Kotlin": 227518, "Java": 19444} | package me.pxq.eyepetizer.notification.repository
import me.pxq.common.Api
import me.pxq.common.ApiService
import me.pxq.network.request
import retrofit2.http.Url
/**
* Description:
* Author : pxq
* Date : 2020/8/23 5:17 PM
*/
class NotificationRepository(private val apiService: Api) {
suspend fun fetchNotif... | 0 | null | 0 | 0 | a73b146fbd007fa92facd306c79d9c5e2bd64ab4 | 428 | eyepetizer-kotlin | Apache License 2.0 |
src/main/kotlin/com/github/mkdika/refactoringspringrestapi/service/PersonServiceImpl.kt | mkdika | 242,126,952 | false | null | package com.github.mkdika.refactoringspringrestapi.service
import com.github.mkdika.refactoringspringrestapi.model.Person
import com.github.mkdika.refactoringspringrestapi.repository.PersonRepository
class PersonServiceImpl(private val repository: PersonRepository) : PersonService {
override fun findById(id: Int... | 0 | Kotlin | 0 | 0 | 19472d3597fc344cd39178ea209c3a5f9a187ef7 | 770 | refactor-spring-rest-api | MIT License |
src/me/anno/ui/base/groups/TablePanel.kt | AntonioNoack | 456,513,348 | false | {"Kotlin": 9955069, "C": 235991, "Java": 6754, "Lua": 4404, "GLSL": 2698} | package me.anno.ui.base.groups
import me.anno.maths.Maths
import me.anno.ui.Panel
import me.anno.ui.Style
import me.anno.ui.base.components.AxisAlignment
import me.anno.utils.structures.arrays.FloatArrayList
import me.anno.utils.structures.arrays.IntArrayList
import kotlin.math.max
import kotlin.math.min
open class T... | 0 | Kotlin | 3 | 21 | e28df04e97033d96a43a2d9ebaa533bf5b4bde81 | 7,218 | RemsEngine | Apache License 2.0 |
Compose Login/Compose_login_reto/app/src/main/java/com/example/compose_login/utils/Constants.kt | Jeanpall | 672,016,160 | false | null | package com.example.proyecto_dashboard.utils
object Constants {
const val channelId = "CanalTienda"
} | 0 | Kotlin | 0 | 0 | 2eb00712a1d8a25ff189c2b0892eaf3ef42906eb | 106 | Proyectos_Kotlin | MIT License |
app/src/main/java/com/github/jorgecastillo/kotlinandroid/io/algebras/ui/Presentation.kt | JorgeCastilloPrz | 83,796,541 | false | null | package com.github.jorgecastillo.kotlinandroid.io.algebras.ui
import android.content.Context
import arrow.Kind
import com.github.jorgecastillo.kotlinandroid.io.algebras.business.getNewsItemDetails
import com.github.jorgecastillo.kotlinandroid.io.algebras.business.getNews
import com.github.jorgecastillo.kotlinandroid.i... | 2 | Kotlin | 37 | 424 | 78f214148e0c949acf845d18b118da32a0a92bcd | 2,696 | ArrowAndroidSamples | Apache License 2.0 |
Chapter6/Exercise06.01/domain/src/test/java/com/clean/domain/usecase/UseCaseTest.kt | PacktPublishing | 440,463,149 | false | {"Kotlin": 629869} | package com.clean.domain.usecase
import com.clean.domain.entity.Result
import com.clean.domain.entity.UseCaseException
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.flowOf
i... | 0 | Kotlin | 19 | 55 | 0230b203b285e992742369dfc3cc24066571935a | 3,354 | Clean-Android-Architecture | MIT License |
app/src/main/java/com/example/vindmoller/data/windturbines/WindTurbineRepository.kt | omarhaweel | 676,250,796 | false | null | package com.example.vindmoller.data.windturbines
import kotlinx.coroutines.flow.Flow
import kotlinx.datetime.Instant
interface WindTurbineRepository {
suspend fun getAllWindTurbines(): List<WindTurbine>
suspend fun getSourceWindTurbines(sourceId: String): List<WindTurbine>
suspend fun getAllWindTurbineSt... | 0 | Kotlin | 0 | 0 | e83e6b420f742ad6822e257187948e571908df8b | 1,190 | kooling | Apache License 2.0 |
app/src/main/java/com/stanroy/pokesearch/data/api/services/PokeService.kt | stanroy | 329,720,911 | false | null | package com.stanroy.pokesearch.data.api.services
import com.stanroy.pokesearch.data.api.responses.main.MainSearchResponse
import com.stanroy.pokesearch.data.api.responses.pokemon.PokemonSearchResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query
interface Poke... | 0 | Kotlin | 0 | 0 | 8d0b32fb3ba5a7975afd1aa8481c1ee406598d74 | 440 | PokeShuffle-Android-App | MIT License |
library/src/test/java/com/jaredrummler/html/DslTest.kt | jaredrummler | 77,140,259 | false | null | /*
* Copyright (C) 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 ... | 3 | Kotlin | 61 | 534 | b38aed837090e2439d328e935fb66ccf3958bfbb | 8,760 | HtmlDsl | Apache License 2.0 |
app/src/main/java/com/krygodev/appforartists/feature_image/presentation/image_details/ImageDetailsViewModel.kt | krygo-dev | 422,322,080 | false | {"Kotlin": 287182} | package com.krygodev.appforartists.feature_image.presentation.image_details
import androidx.compose.runtime.State
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.google.firebase.Timestamp
i... | 0 | Kotlin | 0 | 0 | 7840bddb76687010d5282d106920c236133677e9 | 18,058 | AppForArtists | MIT License |
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/web_event/SetH5ActivityRedDotTimestampRsp.kt | Anime-Game-Servers | 642,871,918 | false | {"Kotlin": 1651536} | package org.anime_game_servers.multi_proto.gi.data.web_event
import org.anime_game_servers.core.base.Version.GI_1_6_0
import org.anime_game_servers.core.base.annotations.AddedIn
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
import org.anime_game_servers.core.base.annotations.proto.ProtoComman... | 0 | Kotlin | 2 | 6 | 7639afe4f546aa5bbd9b4afc9c06c17f9547c588 | 512 | anime-game-multi-proto | MIT License |
shared/src/commonMain/kotlin/data/model/Flags.kt | dominikdoric | 710,466,385 | false | {"Kotlin": 11015, "Swift": 592, "Shell": 228} | package data.model
import kotlinx.serialization.Serializable
@Serializable
data class Flags(
val alt: String,
val png: String,
val svg: String
) | 0 | Kotlin | 0 | 0 | dfd016d694c38df2a6fae8d475e35955cb7701aa | 158 | CountriesApp | Apache License 2.0 |
kommons-uri/src/jvmTest/kotlin/com/bkahlert/kommons/uri/DataURLStreamHandlerTest.kt | bkahlert | 323,048,013 | false | {"Kotlin": 1649529, "JavaScript": 540} | package com.bkahlert.kommons.uri
import com.bkahlert.kommons.test.fixtures.EmojiTextDocumentFixture
import io.kotest.matchers.shouldBe
import org.junit.jupiter.api.Test
import java.net.URL
class DataURLStreamHandlerTest {
private val url get() = URL(EmojiTextDocumentFixture.dataUri.toString())
@Test
fun... | 5 | Kotlin | 0 | 18 | 747cb51cf6e6b729d574396a4938eabafbdac1fe | 672 | kommons | MIT License |
app/src/main/java/com/example/githubviewer/util/Constants.kt | ahmedmaged3k1 | 749,707,365 | false | {"Kotlin": 99529} | package com.example.githubviewer.util
object Constants {
const val USER_SETTINGS = "userSettings"
const val APP_ENTRY = "appEntry"
const val BASE_URL ="https://api.github.com"
} | 0 | Kotlin | 0 | 0 | 173d04920983603a956989caf0701d8b32f51e67 | 190 | GithubViewer | MIT License |
src/main/kotlin/creativeDSLs/chapter_05/classScope/modular.kt | DanielGronau | 521,419,278 | false | {"Kotlin": 132813, "CSS": 27709, "Java": 2033} | package creativeDSLs.chapter_05.classScope
data class Modulus(val modulus: Long) {
init {
require(modulus > 1)
}
@JvmInline
value class Modular(val n: Long)
val Long.m
get() = Modular(remainder(this))
val Int.m
get() = Modular(remainder(this.toLong()))
operator f... | 0 | Kotlin | 0 | 0 | d165ef95d4b75036ce1703880d23899386d11d6e | 2,046 | creativeDSLs | MIT License |
app/src/main/kotlin/com/hana053/micropost/pages/relateduserlist/RelatedUserListService.kt | springboot-angular2-tutorial | 52,337,279 | false | null | package com.hana053.micropost.pages.relateduserlist
import com.hana053.micropost.domain.RelatedUser
import rx.Observable
interface RelatedUserListService {
fun listUsers(userId: Long): Observable<List<RelatedUser>>
fun title(): String
} | 0 | Kotlin | 5 | 11 | c609bfdaa867bd20a29fd4f64ab3a2b159e8c023 | 247 | android-app | MIT License |
framework/src/main/kotlin/com/kuki/framework/projector/ProjectionException.kt | akuchalskij | 649,018,448 | false | null | package com.kuki.framework.projector
sealed class ProjectionException(message: String) : RuntimeException(message) {
data class ProjectionNotFound(override val message: String) : ProjectionException(message)
}
| 0 | Kotlin | 0 | 1 | a72ecdf553a62d7d5b472362f50284e634e44207 | 216 | kotlin-ktor-ddd-es-cqrs | Apache License 2.0 |
fcm-push-service/src/main/kotlin/com/icerockdev/service/fcmpush/NotificationData.kt | icerockdev | 225,309,197 | false | null | /*
* Copyright 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
package com.icerockdev.service.fcmpush
data class NotificationData(
val title: String,
val body: String,
val image: String? = null
) | 0 | Kotlin | 0 | 2 | 584a840581cb7c071da5ddd3e33e2192f03d1a2a | 251 | fcm-push-service | Apache License 2.0 |
data/src/androidTest/java/com/petrulak/cleankotlin/data/source/local/WeatherLocalSourceTest.kt | Petrulak | 104,648,833 | false | null | package com.petrulak.cleankotlin.data.source.local
import android.arch.persistence.room.Room
import android.support.test.InstrumentationRegistry
import com.petrulak.cleankotlin.data.mapper.WeatherEntityMapper
import com.petrulak.cleankotlin.domain.model.Weather
import org.junit.After
import org.junit.Assert
import org... | 0 | Kotlin | 10 | 111 | 51033f30ecdb9573000454f1b8890d20c2438002 | 1,299 | android-kotlin-mvp-clean-architecture | MIT License |
data/RF00026/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF00026"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
1 to 2... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 948 | Rfam-for-RNArtist | MIT License |
app/src/main/java/ir/dunijet/dunibazaar/ui/features/cart/CartScreen.kt | TheOriginalMehrdad | 828,263,870 | false | {"Kotlin": 133957} | package ir.dunijet.dunibazaar.ui.features.cart
import android.content.Intent
import android.content.res.Configuration
import android.net.Uri
import android.widget.Toast
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androi... | 0 | Kotlin | 0 | 0 | 43579156ae5f596f980dc055879463853c4c3fc8 | 15,986 | Store | MIT License |
soil-query-test/src/commonMain/kotlin/soil/query/test/FakeInfiniteQueryKey.kt | soil-kt | 789,648,330 | false | {"Kotlin": 789346, "Makefile": 1014} | // Copyright 2024 Soil Contributors
// SPDX-License-Identifier: Apache-2.0
package soil.query.test
import soil.query.InfiniteQueryKey
import soil.query.QueryReceiver
/**
* Creates a fake infinite query key that returns the result of the given [mock] function.
*/
class FakeInfiniteQueryKey<T, S>(
private val ta... | 0 | Kotlin | 1 | 109 | 25c3fdd81db98ea44afbaf2776421373ed2d3d05 | 585 | soil | Apache License 2.0 |
src/main/kotlin/MainStyles.kt | technical-learn-room | 382,007,951 | false | null | import kotlinx.css.*
import styled.StyleSheet
object MainStyles : StyleSheet("WelcomeStyles", isStatic = true) {
val toDoListTitle by css {
width = 100.vw
height = 10.vh
backgroundColor = rgb(0, 0, 0)
color = rgb(255, 255, 255)
fontSize = 50.px
}
val todoListBody b... | 0 | Kotlin | 0 | 9 | 3fc8dea83dbe1a01cd15dee7102537f5a84f3ed6 | 799 | kotlin-react-learn | MIT License |
build-logic/convention/src/test/kotlin/pl/droidsonroids/composekit/modulegenerator/GenerateComposeModuleTest.kt | DroidsOnRoids | 514,214,122 | false | {"Kotlin": 105234} | package pl.droidsonroids.composekit.modulegenerator
import io.mockk.MockKAnnotations
import io.mockk.every
import io.mockk.impl.annotations.MockK
import org.assertj.core.api.Assertions.assertThat
import org.gradle.api.Project
import org.junit.Before
import org.junit.Rule
import org.junit.Test
import org.junit.rules.Te... | 29 | Kotlin | 0 | 0 | 61097320067374bafc35eb333c38d8e8a4497637 | 6,709 | ComposeKit | MIT License |
src/jvmMain/kotlin/com/github/doyaaaaaken/kotlincsv/client/CsvWriter.kt | jul1u5 | 278,604,278 | true | {"Kotlin": 72584} | package com.github.doyaaaaaken.kotlincsv.client
import com.github.doyaaaaaken.kotlincsv.dsl.context.CsvWriterContext
import com.github.doyaaaaaken.kotlincsv.dsl.context.ICsvWriterContext
import java.io.*
/**
* CSV Writer class, which decides where to write and returns CsvFileWriter class (class for controlling File ... | 0 | null | 0 | 0 | fc1415667946e80d69fbe96c04d1bf257606bb91 | 1,686 | kotlin-csv | Apache License 2.0 |
Framework/src/main/kotlin/net/milosvasic/factory/component/installer/step/certificate/GeneratePrivateKeyCommand.kt | Server-Factory | 326,063,014 | true | {"Kotlin": 470923, "Shell": 188} | package net.milosvasic.factory.component.installer.step.certificate
import net.milosvasic.factory.terminal.TerminalCommand
import net.milosvasic.factory.terminal.command.Commands
import java.nio.file.InvalidPathException
class GeneratePrivateKeyCommand
@Throws(InvalidPathException::class)
constructor(path: String, n... | 0 | Kotlin | 0 | 1 | 7c9a48ac22541c01d56cb7ed404348f9dbcf6d6d | 402 | Core-Framework | Apache License 2.0 |
src/main/java/ru/hollowhorizon/hollowengine/client/screen/widget/action/ProcedureWidget.kt | HollowHorizon | 586,593,959 | false | null | package ru.hollowhorizon.hollowengine.client.screen.widget.action
import com.mojang.blaze3d.matrix.MatrixStack
import com.mojang.blaze3d.systems.RenderSystem
import org.lwjgl.glfw.GLFW
import ru.hollowhorizon.hc.client.screens.widget.HollowWidget
import ru.hollowhorizon.hc.client.utils.mc
import ru.hollowhorizon.hc.cl... | 0 | Kotlin | 0 | 2 | 6cd5561f599ff7afc638417dfbd1582bc37e31a1 | 10,509 | HollowEngine | MIT License |
flux/src/main/java/com/wgw/flux/RxBus.kt | wanggaowan | 172,438,583 | false | null | package com.wgw.flux
import io.reactivex.Observable
import io.reactivex.subjects.PublishSubject
/**
* 发送Action,增加订阅
*
* @author Created by 汪高皖 on 2019/2/21 0021 13:52
*/
internal class RxBus {
private val bus = PublishSubject.create<Any>().toSerialized()
/**
* 发射[Action]
*/
fun post(action... | 0 | Kotlin | 0 | 0 | 698934cdfbdaeb1fc6ecdf3cae735712881c6dcf | 584 | AndroidFluxKotlin | Apache License 2.0 |
mongo-config/src/main/kotlin/it/scoppelletti/mongo/config/MongoConfig.kt | dscoppelletti | 385,976,384 | false | null | /*
* Copyright (C) 2021 <NAME>, <http://www.scoppelletti.it/>.
*
* 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 ... | 0 | Kotlin | 0 | 0 | 7bd27e2d7fd6aa06a4d0b89b3d81aa214e1a0de5 | 4,236 | kb | Apache License 2.0 |
manager/presentation/src/main/java/com/cadrikmdev/manager/presentation/screens/manager_overview/ManagerOverviewViewModel.kt | specure | 873,558,864 | false | {"Kotlin": 183802} | package com.cadrikmdev.manager.presentation.screens.manager_overview
import android.Manifest
import android.content.Context
import android.media.Ringtone
import android.media.RingtoneManager
import android.net.Uri
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.c... | 0 | Kotlin | 0 | 0 | d8312d2a8a947b8fd7e0a36fe0647fb2a5e7a881 | 5,526 | ont-drive-test-tool-manager | Apache License 2.0 |
app/src/main/java/org/p2p/wallet/sdk/facade/model/solend/SolendTokenDepositFeesResponse.kt | p2p-org | 306,035,988 | false | null | package org.p2p.wallet.sdk.facade.model.solend
import com.google.gson.annotations.SerializedName
class SolendTokenDepositFeesResponse(
@SerializedName("fee")
val fee: Long,
@SerializedName("rent")
val rent: Long
)
| 8 | Kotlin | 16 | 28 | 71b282491cdafd26be1ffc412a971daaa9c06c61 | 232 | key-app-android | MIT License |
runtime/observability/telemetry-api/common/src/aws/smithy/kotlin/runtime/telemetry/TelemetryConfig.kt | smithy-lang | 294,823,838 | false | {"Kotlin": 4171610, "Smithy": 122979, "Python": 1215} | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package aws.smithy.kotlin.runtime.telemetry
/**
* Common configuration options for configuring telemetry of a component
*/
public interface TelemetryConfig {
/**
* The [TelemetryProvider] to ... | 36 | Kotlin | 26 | 82 | ad18e2fb043f665df9add82083c17877a23f8610 | 601 | smithy-kotlin | Apache License 2.0 |
sbp-users/src/main/kotlin/io/github/tiscs/sbp/controllers/CurdController.kt | Tiscs | 131,112,310 | false | null | package io.github.tiscs.sbp.controllers
import io.github.tiscs.sbp.models.Page
import io.github.tiscs.sbp.models.Query
import org.springframework.http.ResponseEntity
interface CurdController<M, K> {
fun fetch(query: Query): ResponseEntity<Page<M>>
fun fetch(id: K): ResponseEntity<M>
fun delete(id: K): Res... | 0 | Kotlin | 1 | 5 | b2c675662c098f2a9f6439dbfb8908a7822da2b1 | 428 | spring-cloud-practices | MIT License |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/emr/SpotResizingSpecificationPropertyDsl.kt | F43nd1r | 643,016,506 | false | {"Kotlin": 5482239} | package com.faendir.awscdkkt.generated.services.emr
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.emr.CfnInstanceFleetConfig
@Generated
public fun buildSpotResizingSpecificationProperty(initializer: @AwsCdkDsl
CfnInstanceFleetCo... | 1 | Kotlin | 0 | 4 | f1542b808f0e2cf4fcdd0d84d025a8fbaf09e90d | 546 | aws-cdk-kt | Apache License 2.0 |
src/main/kotlin/bvanseg/kotlincommons/lang/command/CommandDispatchResult.kt | bvanseg | 211,717,677 | false | null | package bvanseg.kotlincommons.lang.command
/**
* @author Boston Vanseghi
* @since 2.10.4
*/
enum class CommandDispatchResult {
COMMAND_FIRING_CANCELLED,
INVALID_INPUT,
UNKNOWN_COMMAND
} | 0 | Kotlin | 0 | 1 | f02d97922c743fffc0c520ed2be30ad6b95dd8a3 | 201 | KotlinCommons | MIT License |
src/main/kotlin/com/ryderbelserion/api/command/builders/args/builder/custom/ChannelArgument.kt | ryderbelserion | 670,341,905 | false | null | package com.ryderbelserion.api.command.builders.args.builder.custom
class ChannelArgument {
} | 0 | Kotlin | 0 | 0 | 0ffa4642dd8341ba42944007aebc20102c7b7f34 | 97 | Krul | MIT License |
app/src/main/java/com/mehedi/tlecevideo/work/RefreshAlarmReceiver.kt | mehedidevs | 798,827,696 | false | {"Kotlin": 34889} | package com.mehedi.tlecevideo.work
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import androidx.work.Constraints
import androidx.work.NetworkType
import androidx.work.OneTimeWorkRequestBuilder
import androidx.work.WorkManager
import kotlinx.coroutines.CoroutineS... | 0 | Kotlin | 3 | 2 | 024219327f7f70c5088bc9997123d1c60e9dd4db | 1,069 | Play-Video-Media3 | MIT License |
guide/example/example-readme-03.kt | nomisRev | 422,942,279 | false | null | // This file was automatically generated from README.md by Knit tool. Do not edit.
package example.exampleReadme03
import arrow.*
import arrow.core.*
import arrow.fx.coroutines.*
import kotlinx.coroutines.*
import io.kotest.matchers.collections.*
import io.kotest.assertions.*
import io.kotest.matchers.*
import io.kote... | 3 | Kotlin | 1 | 13 | e729fa5ec1ac8d24cd95e4490d2e5c4dd1d2edbb | 696 | Continuation | Apache License 2.0 |
app/src/main/java/com/example/lostandfound/HomePage.kt | Atul-AI08 | 570,240,579 | false | {"Kotlin": 62648} | package com.example.lostandfound
import android.content.Intent
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import android.widget.Button
import androidx.appcompat.app.AppCompatActivity
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.ktx.auth
import com.goo... | 0 | Kotlin | 0 | 0 | afee0cd5e24f5337eaf4793d75108e4b10150d47 | 2,367 | Lost_and_Found | MIT License |
app/src/main/java/vn/nms/sample/presentation/utils/ServiceResponseConverter.kt | minhnn2607 | 417,355,816 | false | {"Kotlin": 220688, "Java": 5735} | package vn.nms.sample.presentation.utils
import com.google.gson.Gson
import okhttp3.RequestBody
import okhttp3.ResponseBody
import retrofit2.Converter
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import java.io.IOException
import java.lang.reflect.Type
import kotlin.jvm.Throws
class ... | 0 | Kotlin | 0 | 3 | 59d92211b072e1fbafe3a904883b343554127713 | 1,499 | SampleDataList | Apache License 2.0 |
core/model/src/main/java/com/niyaj/model/Profile.kt | skniyajali | 644,752,474 | false | {"Kotlin": 5076894, "Shell": 16584, "Ruby": 1461, "Java": 232} | /*
* Copyright 2024 <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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 42 | Kotlin | 0 | 1 | a38d8d1551726195cab9c65595de0a4fa34e893b | 2,519 | PoposRoom | Apache License 2.0 |
integration-test/compose/src/jvmTest/kotlin/com/moriatsushi/koject/integrationtest/compose/junit/UITestRunner.kt | mori-atsushi | 605,139,896 | false | null | package com.moriatsushi.koject.integrationtest.compose.junit
import kotlin.reflect.KClass
expect annotation class RunWith(val value: KClass<out Runner>)
expect abstract class Runner
expect class UITestRunner : Runner
| 13 | Kotlin | 2 | 96 | c22286b39a3e6249842d148ff0a22f1fb7d37d47 | 219 | koject | Apache License 2.0 |
compiler-plugin/src/main/kotlin/me/him188/kotlin/jvm/blocking/bridge/compiler/backend/ir/loweringPasses.kt | Him188 | 275,324,436 | false | null | package me.him188.kotlin.jvm.blocking.bridge.compiler.backend.ir
import me.him188.kotlin.jvm.blocking.bridge.compiler.backend.resolve.BlockingBridgeAnalyzeResult
import me.him188.kotlin.jvm.blocking.bridge.compiler.extensions.IBridgeConfiguration
import org.jetbrains.kotlin.backend.common.ClassLoweringPass
import org.... | 0 | Kotlin | 6 | 70 | c9c679a000756464c8508f575b023e8d174d263c | 2,515 | kotlin-jvm-blocking-bridge | Apache License 2.0 |
src/main/kotlin/modelo/Batalla/Batalla.kt | joaqogomez | 646,572,458 | false | null | package modelo.Batalla
import modelo.Excepciones.AtaqueNoPermitidoError
import java.util.*
class Batalla {
private var perdidaAtacante = 0
private var perdidaDefensor = 0
lateinit var resultadoDadoAtacante: ArrayList<Int>
lateinit var resultadoDadoDefensor: ArrayList<Int>
private val minimoAtacan... | 0 | Kotlin | 0 | 0 | 3af2d91168053940f8e9e52994da958a782bb9e8 | 1,888 | 75.31-TDL | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppstier/domain/enums/Mappa.kt | ministryofjustice | 327,621,961 | false | null | package uk.gov.justice.digital.hmpps.hmppstier.domain.enums
private val mappaRelatedTypeCodes = setOf("MAPP", "M1", "M2", "M3")
enum class Mappa(val registerCode: String) {
M1("M1"),
M2("M2"),
M3("M3");
companion object {
fun from(value: String?, typeCode: String?): Mappa? {
return if (!mappaRelated... | 9 | Kotlin | 1 | 0 | da14eb65015db93c817fa477aacdde34ca431178 | 452 | hmpps-tier | MIT License |
markdown-runtime/src/main/kotlin/land/sungbin/markdown/runtime/MarkdownApplier.kt | jisungbin | 815,573,501 | false | {"Kotlin": 15166} | /*
* Developed by Ji Sungbin 2024.
*
* Licensed under the MIT.
* Please see full license: https://github.com/jisungbin/compose-markdown/blob/main/LICENSE
*/
package land.sungbin.markdown.runtime
import androidx.compose.runtime.Applier
import androidx.compose.runtime.collection.MutableVector
import kotlin.contrac... | 1 | Kotlin | 0 | 4 | 316aa2a1ebd9bc01e82d30dd2eea1e4b98b4b45e | 2,937 | compose-markdown | MIT License |
app/src/main/java/com/app/uiComponents/FloatingActionButton.kt | yash786agg | 244,130,702 | false | null | package com.app.uiComponents
import androidx.annotation.DrawableRes
import androidx.compose.Composable
import androidx.ui.core.Modifier
import androidx.ui.core.Text
import androidx.ui.foundation.Border
import androidx.ui.foundation.DrawBorder
import androidx.ui.foundation.shape.corner.CornerSize
import androidx.ui.fou... | 0 | Kotlin | 0 | 0 | 5c2a1f019f84da07490fdc635845306bb00b11d3 | 4,448 | JetPack-Compose | Apache License 2.0 |
tools/network-bootstrapper/src/main/kotlin/net/corda/bootstrapper/cli/CommandParsers.kt | jbeetle | 139,003,490 | true | {"Kotlin": 6449226, "Java": 271846, "CSS": 23489, "Shell": 9940, "Gherkin": 3162, "Groovy": 2129, "Batchfile": 1367, "PowerShell": 660, "Makefile": 569} | package net.corda.bootstrapper.cli
import com.microsoft.azure.management.resources.fluentcore.arm.Region
import net.corda.bootstrapper.Constants
import net.corda.bootstrapper.backends.Backend
import picocli.CommandLine
import picocli.CommandLine.Option
import java.io.File
open class GuiSwitch {
@Option(names = [... | 0 | Kotlin | 0 | 0 | a768904e4ea1c8498e7fa6e4df0353e090f4d02a | 2,234 | corda | Apache License 2.0 |
Smartspend/app/src/main/java/com/example/smartspend/Profile.kt | MarcoMeyer1 | 858,674,435 | false | {"Kotlin": 126588} | package com.example.smartspend
import android.content.SharedPreferences
import android.os.Bundle
import android.util.Log
import android.widget.Button
import android.widget.EditText
import android.widget.Toast
import androidx.activity.enableEdgeToEdge
import androidx.core.view.ViewCompat
import androidx.core.view.Windo... | 0 | Kotlin | 0 | 0 | 756e774497fc99a11a5c0eb0a23bf908cb2d35c5 | 6,134 | SmartSpend | MIT License |
core/network/src/main/java/dev/eury/core/network/calladapter/NetworkResultCallAdapter.kt | euri16 | 644,636,950 | false | null | package dev.eury.core.network.calladapter
import retrofit2.Call
import retrofit2.CallAdapter
import java.lang.reflect.Type
class NetworkResultCallAdapter<T : Any>(
private val successType: Type
) : CallAdapter<T, Call<NetworkResponse<T>>> {
override fun responseType(): Type = successType
override fun ad... | 0 | Kotlin | 0 | 0 | c6bfb4b83c78f56d1635c0d2e48fc1297734dd4a | 413 | github-repository-explorer | MIT License |
app/src/main/java/com/bubelov/coins/dagger/Injector.kt | kartikhimself | 131,604,397 | true | {"Kotlin": 308076} | package com.bubelov.coins.dagger
import android.content.Context
/**
* @author <NAME>
*/
object Injector {
lateinit var appComponent: AppComponent
private set
fun init(context: Context) {
appComponent = DaggerAppComponent.builder().context(context).build()
}
} | 0 | Kotlin | 0 | 0 | 10b9c27ffd62ff89218082ca21701113b6d168d4 | 289 | coins-android | The Unlicense |
app/src/main/java/com/aquispe/wonkainc/data/remote/model/EmployeesResponse.kt | arman-visual | 674,817,363 | false | null | package com.aquispe.wonkainc.data.remote.model
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class EmployeesResponse(
val current: Int,
val results: List<EmployeeApiModel>,
val total: Int
)
| 0 | Kotlin | 0 | 0 | 748ecfcea8999d5f05a8784e114fd60f7c07f06e | 234 | WonkaInc | Apache License 2.0 |
examples/partiql/src/main/kotlin/io/johnedquinn/partiql/parser/PartiQLParser.kt | johnedquinn | 576,195,646 | false | {"Kotlin": 118865} | package io.johnedquinn.partiql.parser
import io.johnedquinn.kanonic.runtime.parse.KanonicParser
import io.johnedquinn.partiql.generated.PartiQLSpecification
import org.partiql.lang.domains.PartiqlAst
import org.partiql.lang.syntax.Parser
object PartiQLParser : Parser {
private val parser = KanonicParser.Builder.... | 13 | Kotlin | 1 | 5 | 9da9e081aee791aa6ec8c2a7aa1906beadfb72aa | 864 | kanonic | Apache License 2.0 |
app/src/main/java/com/kylix/submissionbajp3/ui/adapter/TvShowAdapter.kt | KylixEza | 323,485,823 | false | null | package com.kylix.submissionbajp3.ui.adapter
import android.content.Context
import android.content.Intent
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.kylix.submissionbajp3.R
import ... | 0 | Kotlin | 0 | 3 | 81841574ec752bf40946592ad333b790c5abb933 | 2,213 | Submission-BAJP3-Dicoding | MIT License |
client/client-hci/src/commonMain/kotlin/de/jlnstrk/transit/api/hci/model/him/HciHimMessageEvent.kt | jlnstrk | 229,599,180 | false | {"Kotlin": 729374} | @file:UseSerializers(
HciLocalDateSerializer::class,
HciLocalTimeSerializer::class
)
package de.jlnstrk.transit.api.hci.model.him
import de.jlnstrk.transit.api.hafas.HciModel
import de.jlnstrk.transit.api.hci.serializer.time.HciLocalDateSerializer
import de.jlnstrk.transit.api.hci.serializer.time.HciLocalTime... | 0 | Kotlin | 0 | 0 | 9f700364f78ebc70b015876c34a37b36377f0d9c | 858 | transit | Apache License 2.0 |
app/src/main/java/com/fixeam/icoser/ui/main/fragment/CollectionFragment.kt | qq1790141618 | 748,453,146 | false | {"Kotlin": 378582, "HTML": 2476} | package com.fixeam.icoser.ui.main.fragment
import android.annotation.SuppressLint
import android.content.res.ColorStateList
import android.graphics.Color
import android.graphics.PorterDuff
import android.graphics.PorterDuffColorFilter
import android.graphics.Typeface
import android.os.Bundle
import android.view.Gravit... | 0 | Kotlin | 0 | 0 | 14212926ab851d64cc6f5a157bdea7129837016f | 17,259 | iCoserKT | MIT License |
backend/app/src/main/kotlin/io/tolgee/api/v2/hateoas/translations/TranslationHistoryModel.kt | tolgee | 303,766,501 | false | null | package io.tolgee.api.v2.hateoas.translations
import io.swagger.v3.oas.annotations.media.Schema
import io.tolgee.activity.data.PropertyModification
import io.tolgee.activity.data.RevisionType
import io.tolgee.api.v2.hateoas.user_account.SimpleUserAccountModel
import org.springframework.hateoas.RepresentationModel
impo... | 100 | Kotlin | 40 | 666 | 38c1064783f3ec5d60d0502ec0420698395af539 | 862 | tolgee-platform | Apache License 2.0 |
app/src/main/java/com/exail/archtest/core/Extensions.kt | EduardsDenisjonoks | 193,911,687 | false | null | package com.exail.archtest.core
import android.os.Bundle
import android.view.View
import androidx.annotation.IdRes
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.AppCompatImageView
import androidx.fragment.app.Fragment
import androidx.lifecycle.LiveData
import androidx.lifecycle.Media... | 0 | Kotlin | 0 | 0 | 64308d039a5368eb70d7919fa96ed0ef45b43eac | 3,010 | archtest | Apache License 2.0 |
src/main/java/cn/monshine/commandlibrary/transformer/FloatTransformer.kt | zhusun890 | 852,846,440 | false | {"Kotlin": 27928, "Java": 1766} | package cn.monshine.commandlibrary.transformer
import cn.monshine.commandlibrary.CommandWrapper
import cn.monshine.commandlibrary.ParameterTransformer
import cn.monshine.commandlibrary.colorize
import org.bukkit.command.CommandSender
class FloatTransformer : ParameterTransformer<Float> {
override fun transform(
... | 0 | Kotlin | 0 | 2 | c2e5a627509a16b483c5d0ddbf98518bacf8a547 | 876 | CommandLibrary | MIT License |
engine/src/main/kotlin/fi/thakki/sudokusolver/engine/service/builder/SudokuFile.kt | terohakkarainen | 341,879,304 | false | null | package fi.thakki.sudokusolver.engine.service.builder
import fi.thakki.sudokusolver.engine.model.Cell
import fi.thakki.sudokusolver.engine.model.CellCoordinates
import fi.thakki.sudokusolver.engine.model.Coordinates
import fi.thakki.sudokusolver.engine.model.Dimension
import fi.thakki.sudokusolver.engine.model.Symbol
... | 0 | Kotlin | 0 | 0 | bdc74111cfc4b7425ea2c5383d93b9fdfb2628b5 | 2,416 | sudoku-solver | MIT License |
app/src/main/java/io/embry/hellowordel/presentation/views/Keyboard.kt | poppito | 449,171,717 | false | null | package io.embry.hellowordel.presentation.views
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.size
import androidx.compose.fo... | 0 | Kotlin | 0 | 2 | 5fa1902e2529341b5a25cb4ebfa3d9ada83c83d7 | 1,921 | HelloWordel | MIT License |
src/main/kotlin/org/move/cli/runConfigurations/test/AptosTestRunState.kt | pontem-network | 279,299,159 | false | {"Kotlin": 2186749, "Move": 39898, "Lex": 5509, "HTML": 2114, "Java": 1275} | package org.move.cli.runConfigurations.test
import com.intellij.execution.runners.ExecutionEnvironment
import org.move.cli.runConfigurations.AptosRunStateBase
import org.move.cli.runConfigurations.CommandConfigurationBase
import org.move.cli.runConfigurations.aptos.AptosTestConsoleBuilder
import org.move.cli.runConfig... | 3 | Kotlin | 29 | 69 | 505651ca90cace4ba9f128d81b93d77fe3a0b94f | 1,183 | intellij-move | MIT License |
extensions-compose-experimental/src/commonMain/kotlin/com/arkivanov/decompose/extensions/compose/experimental/BroadcastBackHandler.kt | arkivanov | 437,015,897 | false | {"Kotlin": 700677} | package com.arkivanov.decompose.extensions.compose.experimental
import com.arkivanov.essenty.backhandler.BackCallback
import com.arkivanov.essenty.backhandler.BackEvent
import com.arkivanov.essenty.backhandler.BackHandler
internal class BroadcastBackHandler(
private val delegate: BackHandler,
) : BackCallback(), ... | 2 | Kotlin | 84 | 2,207 | 8af551e8895951a5082a5d2750335713d673f80b | 1,447 | Decompose | Apache License 2.0 |
app/src/main/java/com/example/mychat/presentation/screen/chat/ChatViewModel.kt | userddssilva | 852,473,685 | false | {"Kotlin": 63336} | package com.example.mychat.presentation.screen.chat
import android.util.Log
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.State
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.SavedStateHandle
import androidx.lif... | 0 | Kotlin | 0 | 0 | 4ab54b4631092d26e495de2dd29c24a0a7765476 | 9,300 | my-android-compose-chat | MIT License |
app/src/main/java/com/aregyan/compose/ui/details/DetailsUiState.kt | aregpetrosyan | 482,766,696 | false | {"Kotlin": 24500} | package com.aregyan.compose.ui.details
import com.aregyan.compose.domain.Details
import com.aregyan.compose.util.formatDate
data class DetailsUiState(
val detail: Details = Details(),
val offline: Boolean = false
) {
val formattedUserSince = formatDate(detail.userSince)
} | 0 | Kotlin | 19 | 68 | 0fccc7bfb1d4b0174766f26acf0460149ea74760 | 286 | Jetpack-Compose-Boilerplate | MIT License |
web/src/main/kotlin/org/kotlinacademy/components/SubmitPuzzlerComponent.kt | TheLenon | 126,489,458 | true | {"CSS": 390884, "Kotlin": 188342, "JavaScript": 2417, "HTML": 1708, "Shell": 170} | package org.kotlinacademy.components
import org.kotlinacademy.presentation.puzzler.PuzzlerPresenter
import org.kotlinacademy.presentation.puzzler.PuzzlerView
import org.kotlinacademy.views.errorView
import org.kotlinacademy.views.loadingView
import org.kotlinacademy.views.puzzlerFormView
import org.kotlinacademy.views... | 0 | CSS | 0 | 0 | 359488e94c9b2799e66ce6e58ad7eb212ac37141 | 1,302 | KotlinAcademyApp | Apache License 2.0 |
sample/src/main/java/ru/evolinc/servection/androidsample/MainActivity.kt | nesterenko1pavel | 771,602,079 | false | {"Kotlin": 10043} | package ru.evolinc.servection.androidsample
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import ru.evolinc.servection.R
import ru.evolinc.servection.di.DiContainer
import ru.evolinc.servection.di.RootContainer
import ru.evolinc.servection.di.retainContainer
class Ma... | 0 | Kotlin | 0 | 2 | 2a7d446f4ee67cb1d8e38c1a9b96bd2123ccbfad | 805 | servection | Apache License 2.0 |
domain/src/main/java/dev/zabolotskikh/authguard/domain/model/BarcodeService.kt | kanefron5 | 635,099,229 | false | {"Kotlin": 203749, "Shell": 492} | package dev.zabolotskikh.authguard.domain.model
data class BarcodeService(
val alias: String, val secret: String, val issuer: String
) | 2 | Kotlin | 1 | 1 | 9b61da71f7511b4f27c5edd7c01eaaa6b8beffb1 | 139 | authguard | MIT License |
recyclerviewscreen/shot/src/androidTest/java/com/example/road/to/effective/snapshot/testing/recyclerviewscreen/shot/activity/RecyclerViewActivityWithTestParameterInjectorTest.kt | sergio-sastre | 394,010,429 | false | null | package com.example.road.to.effective.snapshot.testing.recyclerviewscreen.shot.activity
import androidx.test.filters.SdkSuppress
import com.example.road.to.effective.snapshot.testing.recyclerviewscreen.mvvm.RecyclerViewActivity
import com.example.road.to.effective.snapshot.testing.testannotations.HappyPath
import com.... | 3 | Kotlin | 11 | 145 | 56055666226fb1c3ddd8aff7f98c7979ff1aa839 | 2,723 | Android-screenshot-testing-playground | MIT License |
recyclerviewscreen/shot/src/androidTest/java/com/example/road/to/effective/snapshot/testing/recyclerviewscreen/shot/activity/RecyclerViewActivityWithTestParameterInjectorTest.kt | sergio-sastre | 394,010,429 | false | null | package com.example.road.to.effective.snapshot.testing.recyclerviewscreen.shot.activity
import androidx.test.filters.SdkSuppress
import com.example.road.to.effective.snapshot.testing.recyclerviewscreen.mvvm.RecyclerViewActivity
import com.example.road.to.effective.snapshot.testing.testannotations.HappyPath
import com.... | 3 | Kotlin | 11 | 145 | 56055666226fb1c3ddd8aff7f98c7979ff1aa839 | 2,723 | Android-screenshot-testing-playground | MIT License |
src/main/kotlin/ez/db/table/TableEx.kt | rainmanhhh | 150,186,909 | false | null | package ez.db.table
import org.jooq.Configuration
import org.jooq.Record
import org.jooq.RecordMapper
import org.jooq.Table
/**
*
* @receiver Table<RECORD>
* @param pojoClass Class<POJO>
* @param configuration Configuration
* @return RecordMapper<RECORD, POJO>
*/
fun <RECORD : Record, POJO : Any> Table<RECORD>.... | 0 | Kotlin | 0 | 0 | dc9fbd97316ebfc6fd48e68098b22a7bbe92c4df | 486 | ez-spring | MIT License |
app/src/main/java/com/simform/todo/presentation/ui/newtask/NewTaskFragment.kt | nishchal-visavadiya | 572,493,980 | false | null | package com.simform.todo.presentation.ui.newtask
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.simform.todo.databinding.FragmentNewTaskBinding
import com.simform.todo.presentation.ui.alert.Alerter
impo... | 0 | Kotlin | 0 | 4 | 6e6d6a9516988b26f09a109e1819759fc4f56de9 | 2,068 | Sample-Android-App-Clean-architecture | MIT License |
app/src/main/java/com/eajy/materialdesigndemo/activity/AboutActivity.kt | monsoon235 | 169,074,846 | true | {"Kotlin": 89670, "Java": 7432, "HTML": 1112} | package com.eajy.materialdesigndemo.activity
import android.app.Dialog
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.support.design.widget.FloatingActionButton
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.Toolbar
import android.view.Vie... | 0 | Kotlin | 0 | 0 | e91ef13badec4337b5caec64c723f75837643c5c | 4,832 | MaterialDesignDemo | Apache License 2.0 |
src/main/kotlin/com/quid/loan/user/user/UserController.kt | QuiD-0 | 595,016,463 | false | null | package com.quid.loan.user.user
import com.quid.loan.counsel.dto.CounselRequest
import com.quid.loan.counsel.dto.CounselResponse
import com.quid.loan.counsel.dto.CounselUpdateRequest
import com.quid.loan.user.dto.UserCreateRequest
import com.quid.loan.user.dto.UserResponse
import com.quid.loan.user.service.UserService... | 0 | Kotlin | 0 | 0 | 4f927ec547344ef81fd70e685234db286073dbf1 | 1,249 | Loan | MIT License |
src/main/kotlin/com/quid/loan/user/user/UserController.kt | QuiD-0 | 595,016,463 | false | null | package com.quid.loan.user.user
import com.quid.loan.counsel.dto.CounselRequest
import com.quid.loan.counsel.dto.CounselResponse
import com.quid.loan.counsel.dto.CounselUpdateRequest
import com.quid.loan.user.dto.UserCreateRequest
import com.quid.loan.user.dto.UserResponse
import com.quid.loan.user.service.UserService... | 0 | Kotlin | 0 | 0 | 4f927ec547344ef81fd70e685234db286073dbf1 | 1,249 | Loan | MIT License |
bootgraph-core/src/main/kotlin/com/atlassian/bootgraph/api/mapper/ExternalBeanMapper.kt | atlassian-labs | 249,557,725 | false | null | package com.atlassian.bootgraph.api.mapper
import com.atlassian.bootgraph.api.model.Node
import org.springframework.beans.factory.config.BeanDefinition
import org.springframework.context.ConfigurableApplicationContext
import java.util.Optional
/**
* Maps a bean into a simple external graph node using the bean name a... | 2 | Kotlin | 1 | 7 | 8e74c8884719f2145ae80806cab5fb736cb0e5b2 | 716 | bootgraph | Apache License 2.0 |
connection/src/main/java/com/thoughtworks/cconn/comm/base/CommHandler.kt | TW-Smart-CoE | 562,334,431 | false | null | package com.thoughtworks.cconn.comm.base
import com.thoughtworks.cconn.ConnectionState
import com.thoughtworks.cconn.OnConnectionStateChangeListener
import com.thoughtworks.cconn.log.Logger
import com.thoughtworks.cconn.utils.getInt
import java.io.IOException
import java.io.InputStream
import java.io.OutputStream
int... | 3 | Kotlin | 0 | 2 | d3e73b9a4971fe02b7854d67284f70033f82adf6 | 7,362 | cross-connection-android | Apache License 2.0 |
lbcglance/src/main/kotlin/studio/lunabee/compose/glance/extensions/GlanceModifierExt.kt | LunabeeStudio | 472,673,596 | false | {"Kotlin": 247677, "Java": 161408, "Python": 4873} | /*
* Copyright (c) 2024 Lunabee Studio
*
* 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 agree... | 0 | Kotlin | 0 | 10 | 276b02c9abbb6424a9a84f49c24f6bd7be6583a3 | 3,135 | Lunabee_Compose_Android | Apache License 2.0 |
vk-api-generated/src/main/kotlin/name/anton3/vkapi/generated/notifications/objects/Notification.kt | Anton3 | 159,801,334 | true | {"Kotlin": 1382186} | @file:Suppress("unused", "SpellCheckingInspection")
package name.anton3.vkapi.generated.notifications.objects
/**
* No description
*
* @property date Date when the event has been occurred
* @property feedback No description
* @property parent No description
* @property reply No description
* @property type Not... | 2 | Kotlin | 0 | 8 | 773c89751c4382a42f556b6d3c247f83aabec625 | 527 | kotlin-vk-api | MIT License |
app/src/main/java/com/smlnskgmail/jaman/deviceinfo/info/components/system/structure/SystemInfo.kt | DexterDsd | 224,637,905 | true | {"Kotlin": 69371} | package com.smlnskgmail.jaman.deviceinfo.info.components.system.structure
import com.smlnskgmail.jaman.deviceinfo.info.defaultdata.FakeInfoStringResult
interface SystemInfo {
fun model(): String
fun product(): String
fun brand(): String
fun type(): String
fun manufacturer(): String
fun board(... | 0 | null | 0 | 0 | dee2b0d1dbf18d6c2f290ed715fed9e853f78156 | 1,642 | android-device-info | The Unlicense |
src/test/kotlin/no/nav/eessi/pensjon/integrasjonstest/saksflyt/PBuc05IntegrationTest.kt | mammut89 | 326,490,563 | true | {"Kotlin": 644016, "Shell": 603, "Dockerfile": 254} | package no.nav.eessi.pensjon.integrasjonstest.saksflyt
import no.nav.eessi.pensjon.models.Enhet.AUTOMATISK_JOURNALFORING
import no.nav.eessi.pensjon.models.Enhet.ID_OG_FORDELING
import no.nav.eessi.pensjon.models.Enhet.NFP_UTLAND_AALESUND
import no.nav.eessi.pensjon.models.Enhet.PENSJON_UTLAND
import no.nav.eessi.pens... | 0 | Kotlin | 0 | 0 | ef973a5cc34f32fbd355fd86f5c6f318496d1d64 | 28,660 | eessi-pensjon-journalforing | MIT License |
app/src/main/java/com/fruitable/Fruitable/MainActivity.kt | ApptiveDev | 535,231,127 | false | {"Kotlin": 234453} | package com.fruitable.Fruitable
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.Window
import android.view.WindowManager
import androidx.activity.compose.setContent
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.material.MaterialTheme
imp... | 0 | Kotlin | 3 | 3 | 70217aa3ebcf0a278fe2cb9fa9791e2621fd8f4f | 1,162 | apptive-17th-fruitable-frontend | MIT License |
app/src/main/java/com/example/myapplication/GLES3JNILib.kt | s094392 | 365,131,098 | false | {"C++": 6271103, "C": 723497, "Kotlin": 5838, "CMake": 2706, "Objective-C": 1343} | /*
* Copyright 2013 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 applica... | 0 | C++ | 0 | 0 | 28c10d6819296bb74d6de3968638e9cb03ef8bde | 930 | Android-particle-collision | MIT License |
src/commonMain/kotlin/com/ianrumac/redukks/actions/Dispatcher.kt | ianrumac | 622,615,704 | false | null | package com.ianrumac.redukks.actions
import com.ianrumac.redukks.ActionDSL
/**
* A [Dispatcher] is a contract that allows for the dispatching of actions, implemented by the likes
* of [ReduxViewModel] and [DefaultActionDispatcher].
*/
interface Dispatcher<Actions> {
@ActionDSL fun dispatch(value: Actions)
}
| 0 | Kotlin | 1 | 27 | b8e2895bd712954f5e48da332c4cf0b5e20e14e3 | 316 | redukks | MIT License |
src/test/kotlin/com/adrielm/aoc2020/solutions/day12/Day12Test.kt | Adriel-M | 318,860,784 | false | null | package com.adrielm.aoc2020.solutions.day12
import com.adrielm.aoc2020.common.FileUtils
import com.adrielm.aoc2020.test_utils.BaseTest
import org.assertj.core.api.Assertions.assertThat
import org.koin.test.inject
class Day12Test : BaseTest() {
private val day12: Day12 by inject()
private val instructionParser... | 0 | Kotlin | 0 | 0 | 8984378d0297f7bc75c5e41a80424d091ac08ad0 | 1,453 | advent-of-code-2020 | MIT License |
app/src/main/java/ru/ilyasekunov/officeapp/navigation/IdeaAuthorScreenNavigation.kt | IlyaSekunov | 744,587,168 | false | {"Kotlin": 649242} | package ru.ilyasekunov.officeapp.navigation
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.navigation.NavController
import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavOptions
import an... | 0 | Kotlin | 0 | 0 | 4568ac889ce6054f2384585c47b2f203634b3ced | 2,768 | office-app | Apache License 2.0 |
travelmaker_android/app/src/main/java/com/gumibom/travelmaker/data/repository/myPage/MyPageRepository.kt | Leewoogun | 767,396,774 | false | {"Kotlin": 481004, "Java": 174550, "HTML": 4622, "Dockerfile": 516} | package com.gumibom.travelmaker.data.repository.myPage
import com.gumibom.travelmaker.data.dto.response.UserResponseDTO
import retrofit2.Response
interface MyPageRepository {
suspend fun getMyUserInfo() : Response<UserResponseDTO>
suspend fun deleteMyInfo()
} | 0 | Kotlin | 0 | 0 | 04e4d7a7a2b613db4a4c9181d015b23b58ea7f70 | 269 | TravelMaker | Apache License 1.1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.