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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
publishing-example-app/src/main/java/com/ably/tracking/example/publisher/PublisherService.kt | ably | 313,556,297 | false | null | package com.ably.tracking.example.publisher
import android.Manifest
import android.app.Notification
import android.app.Service
import android.content.Intent
import android.os.IBinder
import androidx.annotation.RequiresPermission
import androidx.core.app.NotificationCompat
import com.ably.tracking.Resolution
import com... | 83 | null | 6 | 9 | dca56bac165ebc1474cf2afb863728c2aad4aeb4 | 6,161 | ably-asset-tracking-android | Apache License 2.0 |
desktop/src/main/java/org/ergoplatform/desktop/wallet/WalletListScreen.kt | ergoplatform | 376,102,125 | false | null | package org.ergoplatform.desktop.wallet
import androidx.compose.foundation.VerticalScrollbar
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.LazyListState
import androidx.compose.foundation.rememberScrollState
import androidx.compos... | 16 | Kotlin | 35 | 94 | b5f6e5176cf780a7437eb3c8447820bd9409c8ac | 2,553 | ergo-wallet-app | Apache License 2.0 |
src/main/kotlin/dev/ostara/agent/filter/AgentAuthenticationFilter.kt | krud-dev | 664,954,220 | false | {"Kotlin": 49623, "Dockerfile": 453} | package dev.ostara.agent.filter
import dev.ostara.agent.config.AgentProperties
import dev.ostara.agent.util.AGENT_KEY_HEADER
import jakarta.servlet.FilterChain
import jakarta.servlet.http.HttpServletRequest
import jakarta.servlet.http.HttpServletResponse
import org.springframework.http.HttpStatus
import org.springfram... | 11 | Kotlin | 1 | 0 | 21a453757c862864e56625c644eac4932a7d57e8 | 1,358 | ostara-agent | Apache License 2.0 |
src/main/kotlin/eu/europa/ec/eudi/verifier/endpoint/adapter/out/mso/DeviceResponseValidator.kt | eu-digital-identity-wallet | 642,351,759 | false | {"Kotlin": 332128, "HTML": 1598} | /*
* Copyright (c) 2023 European Commission
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 3 | Kotlin | 15 | 12 | 2020868ffb7943c0936f699cb121b0ddca52db54 | 3,473 | eudi-srv-web-verifier-endpoint-23220-4-kt | Apache License 2.0 |
src/main/kotlin/me/imtoggle/barhud/hud/HotBar.kt | ImToggle | 738,141,756 | false | {"Kotlin": 22772, "Java": 5038} | package me.imtoggle.barhud.hud
import cc.polyfrost.oneconfig.config.annotations.Color
import cc.polyfrost.oneconfig.config.annotations.HUD
import cc.polyfrost.oneconfig.config.annotations.Slider
import cc.polyfrost.oneconfig.config.core.OneColor
import cc.polyfrost.oneconfig.config.elements.SubConfig
import cc.polyfro... | 0 | Kotlin | 0 | 0 | 53e31c0c976b71f729e130fcda354299637dc1b9 | 6,930 | BarHud | The Unlicense |
build-scan-notifier-agent/src/test/kotlin/dev/erichaag/NotifierAgentApplicationTests.kt | erichaagdev | 606,245,678 | false | {"Kotlin": 12541} | package dev.erichaag
import org.junit.jupiter.api.Test
class NotifierAgentApplicationTests {
@Test
fun test() {
}
}
| 0 | Kotlin | 0 | 0 | 57bb109c1d559818edcb2f06808597319410d1e8 | 126 | gradle-enterprise-build-scan-notifier | MIT License |
app/src/main/java/com/srtp/assistant/ui/work/WorkViewModel.kt | FallingStars-5 | 359,435,558 | false | null | package com.srtp.assistant.ui.work
import android.content.Context
import androidx.lifecycle.ViewModel
import com.srtp.assistant.logic.Repository
import com.srtp.assistant.logic.model.WorkSettings
class WorkViewModel:ViewModel() {
var workSetting = WorkSettings()
var workList = Repository.findAllNotCompleted... | 0 | Kotlin | 1 | 1 | ec1c0a9409b44b5d4a58d5e0cf4912b6bf74cdf4 | 899 | UniversityStudentAssistant | Apache License 2.0 |
ant-viewver/src/main/java/com/antourage/weaverlib/other/networking/Status.kt | antourage | 381,353,643 | false | null | package com.antourage.weaverlib.other.networking
internal sealed class Status<T> {
class Loading<T> : Status<T>()
data class Failure<T>(val errorMessage: String, val errorCode: Int?) : Status<T>()
data class CachedData<T>(val data: T?) : Status<T>()
data class Success<T>(val data: T?) : Status<T>()
}
| 1 | Kotlin | 0 | 0 | 57263ef0c3174355d1dde62291a025b242087de0 | 319 | viewer-sdk-android | MIT License |
ant-viewver/src/main/java/com/antourage/weaverlib/other/networking/Status.kt | antourage | 381,353,643 | false | null | package com.antourage.weaverlib.other.networking
internal sealed class Status<T> {
class Loading<T> : Status<T>()
data class Failure<T>(val errorMessage: String, val errorCode: Int?) : Status<T>()
data class CachedData<T>(val data: T?) : Status<T>()
data class Success<T>(val data: T?) : Status<T>()
}
| 1 | Kotlin | 0 | 0 | 57263ef0c3174355d1dde62291a025b242087de0 | 319 | viewer-sdk-android | MIT License |
app/src/main/java/io/homeassistant/companion/android/lock/LockView.kt | grote | 250,287,852 | true | null | package io.homeassistant.companion.android.lock
interface LockView {
fun displayWebview()
}
| 0 | null | 0 | 12 | f6618527d4f5f1233e7e0515f9816eb3ac282e5b | 97 | home-assistant-android | Apache License 2.0 |
app/src/main/kotlin/pe/aioo/openmoa/view/keytouchlistener/CrossKeyTouchListener.kt | AiOO | 556,034,007 | false | {"Kotlin": 91457} | package pe.aioo.openmoa.view.keytouchlistener
import android.annotation.SuppressLint
import android.content.Context
import android.view.MotionEvent
import android.view.View
import pe.aioo.openmoa.view.message.BaseKeyMessage
import kotlin.math.*
class CrossKeyTouchListener(
context: Context,
private val keyLis... | 2 | Kotlin | 2 | 14 | 707e30d6eb02372dc6a8f89c9e4a6867764768c2 | 1,733 | OpenMoa | MIT License |
src/main/kotlin/org/teamvoided/shippost/TheShippostMod.kt | TeamVoided | 648,231,566 | false | null | package org.teamvoided.shippost
import net.fabricmc.api.ModInitializer
import net.minecraft.block.Block
import net.minecraft.item.Item
import net.minecraft.registry.Registries
import net.minecraft.util.Identifier
import org.slf4j.LoggerFactory
import org.teamvoided.shippost.registries.SpBlocks
import org.teamvoided.sh... | 0 | Kotlin | 0 | 2 | bd8eca7f5ea4247cdc2bdecfadbd13e6abb67428 | 899 | TheShippostMod | MIT License |
support/src/main/java/com/landside/support/extensions/ToastExt.kt | landscapeside | 350,730,923 | false | null | package com.landside.support.extensions
import android.app.Dialog
import android.content.Context
import android.widget.Toast
import androidx.annotation.StringRes
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
fun Context.toast(value: String) = toast { value }
fun FragmentActivity... | 0 | Kotlin | 0 | 0 | 75829542431d5b2e53facf4bfd1e13076e5661d8 | 1,186 | support | MIT License |
kotlin-examples/src/main/kotlin/top/viclau/magicbox/kotlin/examples/sdk/experimental/MeasureTime.kt | xingyuli | 578,005,859 | false | null | /*
* Copyright (c) 2022 Vic Lau
*
* Distributed under MIT license.
* See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
package top.viclau.magicbox.kotlin.examples.sdk.experimental
import kotlin.time.ExperimentalTime
import kotlin.time.TimeSource
import kotlin.time.measureTimedValue
@... | 0 | Kotlin | 0 | 0 | b1c702f3cfd1c64ccd37a3465a8ce42b3f346ba3 | 826 | magicbox | MIT License |
app/src/main/java/app/klimatic/ui/search/presentation/viewmodel/SearchViewModel.kt | developer-shivam | 374,342,429 | false | null | package app.klimatic.ui.search.presentation.viewmodel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import app.klimatic.data.model.weather.Location
import app.klimatic.data.pref.AppSharedPreferences
import app.klimatic.data.response.Response
import app.klimatic.ui.base.BaseCurrentSelecte... | 0 | Kotlin | 2 | 34 | a46582676223c4faaba5e8dad436dbc46da70f8b | 1,944 | Klimatic | Apache License 2.0 |
app/src/main/java/com/softvision/mvi_mvrx_hilt_kotlin/viewmodel/TVShowsViewModel.kt | blavi | 338,291,420 | false | null | package com.softvision.mvi_mvrx_hilt_kotlin.viewmodel
import com.airbnb.mvrx.*
import com.softvision.domain.base.BaseFetchGenresUseCase
import com.softvision.domain.base.BaseFetchItemsUseCase
import com.softvision.domain.di.TvShowGenresInteractor
import com.softvision.domain.di.TvShowsByGenreInteractor
import com.soft... | 0 | Kotlin | 1 | 0 | e7cdb5955017eaed7e63d5283fdcd95ae949cfdb | 3,673 | MVI-MvRx-Hilt-Kotlin | Apache License 2.0 |
src/main/kotlin/com/petitcl/fddd4k/domain/products/Product.kt | petitcl | 699,501,534 | false | {"Kotlin": 12222} | package com.petitcl.fddd4k.domain.products
import com.petitcl.fddd4k.domain.common.Money
import java.util.UUID
@JvmInline
value class ProductId(val value: UUID) {
companion object {
fun new(): ProductId = ProductId(UUID.randomUUID())
}
}
@JvmInline
value class ProductName(val value: String) {
ini... | 0 | Kotlin | 0 | 0 | 8359c1f31110668056c21cb7a2467dcb8c91b26f | 541 | fddd4k-spring-sample | Apache License 2.0 |
core/src/main/java/com/kienht/dagger/hilt/core/di/ActivityViewModelModule.kt | hantrungkien | 295,121,449 | false | null | package com.viswa.core.di
import android.app.Activity
import android.app.Application
import androidx.hilt.lifecycle.ViewModelAssistedFactory
import androidx.lifecycle.SavedStateViewModelFactory
import androidx.lifecycle.ViewModel
import androidx.savedstate.SavedStateRegistryOwner
import com.viswa.core.DFMSavedStateVie... | 1 | null | 4 | 22 | 481c51b0ec971dd590e1232e99ccf612526405a8 | 1,183 | Dagger-Hilt-DFM | Apache License 2.0 |
libs/serialization/serialization-amqp/src/test/kotlin/net/corda/internal/serialization/amqp/UuidTest.kt | corda | 346,070,752 | false | {"Kotlin": 20585393, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244} | package net.corda.internal.serialization.amqp
import net.corda.internal.serialization.amqp.ReusableSerialiseDeserializeAssert.Companion.serializeDeserializeAssert
import net.corda.v5.base.annotations.CordaSerializable
import org.junit.jupiter.api.Test
import java.util.UUID
class UuidTest {
@Test
fun random() ... | 14 | Kotlin | 27 | 69 | 0766222eb6284c01ba321633e12b70f1a93ca04e | 566 | corda-runtime-os | Apache License 2.0 |
common/di/src/main/java/com/quintallabs/common/di/database/DrinkDatabaseModule.kt | thiagoalexb | 739,844,654 | false | {"Kotlin": 77090} | package com.quintallabs.common.di.database
import com.quintallabs.repository.datasource.db.DrinkDatabase
import org.koin.dsl.module
val drinkDatabaseModule = module {
factory { DrinkDatabase() }
} | 0 | Kotlin | 0 | 0 | e139dd7beefd6cef3d7cc2ee6b49ca6a5e06475f | 201 | randomDrink | Apache License 2.0 |
src/main/kotlin/com/tradeshift/blayze/features/Multinomial.kt | Bhanditz | 168,971,373 | true | {"Kotlin": 65750} | package com.tradeshift.blayze.features
import com.tradeshift.blayze.Protos
import com.tradeshift.blayze.collection.Counter
import com.tradeshift.blayze.collection.SparseIntVector
import com.tradeshift.blayze.dto.Outcome
import com.tradeshift.blayze.logBeta
import java.lang.Math.log
import kotlin.math.pow
class Multin... | 0 | Kotlin | 0 | 0 | cdd3cd6f17587c34bb24df51f2a768a7a0d9ff0a | 6,627 | blayze | MIT License |
app/src/main/java/com/github/skytoph/simpleweather/core/presentation/adapter/BaseDiffUtil.kt | skytoph | 482,520,275 | false | {"Kotlin": 386525} | package com.github.skytoph.simpleweather.core.presentation.adapter
import androidx.recyclerview.widget.DiffUtil
import com.github.skytoph.simpleweather.core.Matcher
abstract class BaseDiffUtil<T : Matcher<T>> : DiffUtil.ItemCallback<T>() {
override fun areItemsTheSame(oldItem: T, newItem: T): Boolean =
ol... | 0 | Kotlin | 0 | 0 | 4bb138a54ffb3e09be89302e9da3ccd439bebee6 | 456 | SimpleWeather | MIT License |
src/app/src/main/java/com/example/dummyjson_products/common/RetrofitInstance.kt | Hasuk1 | 768,593,694 | false | {"Kotlin": 21324} | package com.example.dummyjson_products.common
import com.example.dummyjson_products.data.DummyJsonApi
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
object RetrofitInstance {
private val interceptor: HttpLoggin... | 0 | Kotlin | 0 | 0 | 1299b8b9c0338a1e2f99cf418cef60d885ff7ab6 | 735 | dummyjson_products | MIT License |
dataforge-context/src/jsMain/kotlin/space/kscience/dataforge/context/loggingJs.kt | SciProgCentre | 148,831,678 | false | {"Kotlin": 408170} | package space.kscience.dataforge.context
import space.kscience.dataforge.meta.Meta
import space.kscience.dataforge.names.Name
public class ConsoleLogManager : AbstractPlugin(), LogManager {
override fun logger(name: Name): Logger = Logger { tag, body ->
val message: String = body.safe
when (tag)... | 14 | Kotlin | 3 | 25 | d80846d5fbd4d232b7506f5b4124cddfdc61d17e | 1,325 | dataforge-core | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/twotone/Menu.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.twotone
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 3,846 | VuesaxIcons | MIT License |
app/src/main/java/com/adman/shadman/naqashishoo/ui/image_editore/TextEditorDialogFragment.kt | shadmanadman | 267,569,081 | false | null | package com.adman.shadman.naqashishoo.ui.image_editore
import android.app.Dialog
import android.content.Context
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.text.TextUtils
import android.view.LayoutInflater
import android.view.View
import android.... | 0 | Kotlin | 0 | 1 | 7a3f3efaaf983bb058282047640aa66e66cd8db9 | 5,264 | naqashi_shoo | MIT License |
app/src/main/java/com/adman/shadman/naqashishoo/ui/image_editore/TextEditorDialogFragment.kt | shadmanadman | 267,569,081 | false | null | package com.adman.shadman.naqashishoo.ui.image_editore
import android.app.Dialog
import android.content.Context
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.text.TextUtils
import android.view.LayoutInflater
import android.view.View
import android.... | 0 | Kotlin | 0 | 1 | 7a3f3efaaf983bb058282047640aa66e66cd8db9 | 5,264 | naqashi_shoo | MIT License |
app/src/main/java/tam/howard/appListingCompose/App.kt | howardtamhk | 343,152,141 | false | null | package tam.howard.appListingCompose
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class App: Application() {
} | 0 | Kotlin | 0 | 0 | cffcc294c0e63067e8f6f471b57d2f56ec9fd95a | 156 | app-listing-compose | Apache License 2.0 |
app/src/main/java/com/lucasginard/dolarpy/DolarApp.kt | LucasGinard | 363,320,589 | false | {"Kotlin": 62260} | package com.lucasginard.dolarpy
import android.app.Application
import androidx.room.Room
import com.google.firebase.crashlytics.FirebaseCrashlytics
import com.lucasginard.dolarpy.database.DolarDatabase
import com.lucasginard.dolarpy.database.SharedPref
class DolarApp : Application() {
companion object {
... | 0 | Kotlin | 0 | 5 | 506663ef49e929288cb4b16df4245828c1df36b0 | 743 | DolarPy-Android-Kotlin | Apache License 2.0 |
src/nativeTest/kotlin/commands/CloseTest.kt | ACINQ | 653,627,568 | false | null | package commands
import api.IEclairClientBuilder
import kotlinx.cli.ArgParser
import kotlinx.cli.ExperimentalCli
import kotlinx.serialization.json.Json
import mocks.DummyEclairClient
import mocks.DummyResultWriter
import mocks.FailingEclairClient
import types.ApiError
import kotlin.test.*
class CloseCommandTest {
... | 1 | Kotlin | 2 | 3 | 78ac5ed1fc6fbe9facf3205d3ca0832cf96fea8d | 2,003 | eclair-cli | Apache License 2.0 |
src/main/kotlin/kr/co/redbrush/microservice/app/service/AccountService.kt | sirius2k | 178,282,907 | false | null | package kr.co.redbrush.microservice.app.service
import kr.co.redbrush.microservice.app.data.Account
import reactor.core.publisher.Flux
import reactor.core.publisher.Mono
interface AccountService {
fun getAccount(id: String) : Mono<Account>
fun createAccount(accountMono: Mono<Account>) : Mono<Account>
fun ... | 3 | Kotlin | 0 | 0 | 7cfbe3d38a56910c2d0c688d28a9073f8609fdd9 | 498 | kotlin-microservice-demo | MIT License |
remote-robot/src/main/kotlin/com/intellij/remoterobot/encryption/Encryptor.kt | JetBrains | 301,411,608 | false | {"Kotlin": 357031, "TypeScript": 41008, "Java": 15662, "JavaScript": 11434, "CSS": 1091} | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.remoterobot.encryption
interface Encryptor {
fun encrypt(text: String): String
fun decrypt(text: String): String
} | 26 | Kotlin | 27 | 98 | f89c6eb1976a10dbb9feff72fcb778716649c8f5 | 286 | intellij-ui-test-robot | Apache License 2.0 |
mottak/src/main/kotlin/no/nav/melosys/soknadmottak/Application.kt | navikt | 237,944,590 | false | null | package no.nav.melosys.soknadmottak
import no.nav.melosys.soknadmottak.common.Metrikker
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.context.properties.ConfigurationPropertiesScan
import org.springframework.boot.runApplication
import org.springframework.scheduling... | 6 | Kotlin | 0 | 2 | 02e53c3b1c481c541fae0fcefd36c4c1e4c8cae2 | 744 | melosys-soknad-mottak | MIT License |
Android Client/app/src/main/java/pedromalta/portinari/home/features/config/ConfigReceiver.kt | pedromalta | 158,980,232 | false | null | package pedromalta.portinari.home.features.config
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
internal class ConfigReceiver : BroadcastReceiver() {
private val configNumber = "*#123456#"
override fun onReceive(context: Context, intent: Intent) {
... | 0 | Kotlin | 0 | 3 | a599306577eccc959b97bc1457ac63f8f985f92d | 659 | PortinariGreenGarden | MIT License |
app/src/main/java/com/dimowner/simpleweather/ui/main/WeatherDetailsFragment.kt | Dimowner | 125,285,958 | false | null | /*
* Copyright 2018 <NAME>
*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. The ASF licenses this
* file to you under the Apache License, Version ... | 0 | Kotlin | 2 | 1 | 62d9647348d866da30a5138167e51920821060ce | 4,042 | SimpleWeather | Apache License 2.0 |
deferred-resources-compose-adapter/src/androidTest/java/com/backbase/deferredresources/compose/DeferredDimensionAdapterTest.kt | Backbase | 262,352,092 | false | null | /*
* Copyright 2021 Backbase R&D B.V.
*
* 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 agre... | 0 | Kotlin | 3 | 98 | 48f647d87de7cc822c4f6447fc0a14b7f0da6a38 | 1,774 | DeferredResources | Apache License 2.0 |
minih-rocketmq/src/main/kotlin/cn/minih/rocketmq/client/RocketClient.kt | minih-git | 663,073,996 | false | {"Kotlin": 202781} | package cn.minih.rocketmq.client
import cn.minih.common.exception.MinihException
import cn.minih.common.util.Assert
import cn.minih.common.util.getConfig
import cn.minih.rocketmq.config.RocketConfig
import org.apache.rocketmq.client.apis.ClientConfigurationBuilder
import org.apache.rocketmq.client.apis.producer.Produc... | 0 | Kotlin | 0 | 2 | fff3b3aee4c812406a1ae34b0791992c0b7ed3a2 | 946 | minih-vertx | Apache License 2.0 |
docs/src/m07comentarios/1_comentarios_una.kt | gilpgdam | 404,339,430 | false | {"HTML": 205717, "JavaScript": 22429, "Kotlin": 9268, "PHP": 21} | fun main() {
// Muestra Hola.
println("Hola");
println("t"); //Muestra t.
} | 0 | HTML | 0 | 0 | e1b6209c19dc9ad8873a57b2248549d2cfba3eac | 78 | gilpgdam.github.io | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/jshvarts/notespaging/domain/AddNoteUseCase.kt | jshvarts | 149,038,970 | false | null | package com.jshvarts.notespaging.domain
import io.reactivex.Completable
import javax.inject.Inject
class AddNoteUseCase @Inject constructor(private val notesRepo: NotesRepository) {
fun addNote(note: Note): Completable = notesRepo.insert(note)
} | 3 | Kotlin | 20 | 144 | d89f0fed222f6673db078fb48d83e8402c4df48e | 251 | PagingRoom | Apache License 2.0 |
android/src/main/java/com/chrynan/video/utils/ContextUtils.kt | chRyNaN | 174,161,260 | false | null | package com.chrynan.video.utils
import android.content.Context
import android.content.res.Configuration
import android.content.res.Resources
typealias ApplicationContext = Context
typealias ActivityContext = Context
val Resources.isOrientationLandscape: Boolean
get() = configuration.orientation == Configuration.... | 0 | Kotlin | 0 | 8 | 63456dcfdd57dbee9ff02b2155b7e1ec5761db81 | 641 | Video | Apache License 2.0 |
src/commonMain/kotlin/org/bubenheimer/rulez/state/FactState.kt | bubenheimer | 288,049,679 | false | null | /*
* Copyright (c) 2015-2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 0 | Kotlin | 1 | 1 | d2fbe3e08e948a90e8792c86e40b57434a05490f | 2,155 | kotlinrulez | Apache License 2.0 |
app/src/androidTest/java/com/acetylsalicylsaeure/platten/ExerciseViewModelTest.kt | Acetylsalicylsaeure | 857,687,109 | false | {"Kotlin": 117534} | package com.acetylsalicylsaeure.platten
import android.app.Application
import androidx.test.core.app.ApplicationProvider
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.acetylsalicylsaeure.platten.data.ExerciseLog
import com.acetylsalicylsaeure.platten.ui.components.calculateEstimatedOneRM
import com.a... | 0 | Kotlin | 0 | 1 | 89a3fd2b5f3997f27ad9801150f13979b57dad29 | 4,650 | Platten | MIT License |
src/main/kotlin/lgp/lib/BaseInstructionGenerator.kt | skalarproduktraum | 162,332,007 | true | {"Kotlin": 288387, "Java": 11775, "Shell": 968} | package lgp.lib
import lgp.core.environment.Environment
import lgp.core.program.instructions.Instruction
import lgp.core.program.instructions.InstructionGenerator
import lgp.core.program.instructions.Operation
import lgp.core.program.instructions.RegisterIndex
import lgp.core.evolution.operators.choice
import lgp.core... | 0 | Kotlin | 0 | 0 | 31e443866b0aacc5f82f57f538a194f334890944 | 3,989 | LGP | MIT License |
src/main/kotlin/lgp/lib/BaseInstructionGenerator.kt | skalarproduktraum | 162,332,007 | true | {"Kotlin": 288387, "Java": 11775, "Shell": 968} | package lgp.lib
import lgp.core.environment.Environment
import lgp.core.program.instructions.Instruction
import lgp.core.program.instructions.InstructionGenerator
import lgp.core.program.instructions.Operation
import lgp.core.program.instructions.RegisterIndex
import lgp.core.evolution.operators.choice
import lgp.core... | 0 | Kotlin | 0 | 0 | 31e443866b0aacc5f82f57f538a194f334890944 | 3,989 | LGP | MIT License |
graphql-kotlin-schema-generator/src/test/kotlin/com/expedia/graphql/generator/extensions/KPropertyExtensionsKtTest.kt | vboiteau | 202,399,075 | true | {"Kotlin": 398671, "HTML": 20063, "Shell": 2887} | package com.expedia.graphql.generator.extensions
import com.expedia.graphql.annotations.GraphQLDescription
import com.expedia.graphql.annotations.GraphQLID
import com.expedia.graphql.annotations.GraphQLIgnore
import com.expedia.graphql.annotations.GraphQLName
import org.junit.jupiter.api.Test
import kotlin.test.assert... | 0 | Kotlin | 0 | 0 | 42b222157f78daae82dea19983a31733167459ca | 2,946 | graphql-kotlin | Apache License 2.0 |
app/src/main/java/com/comicreader/comicray/data/models/comicDetails/Issue.kt | Comic-Ray | 399,188,798 | false | null | package com.comicreader.comicray.data.models.comicDetails
data class Issue(
val date: String,
val rawName: String,
val title: String,
val url: String
) | 0 | Kotlin | 1 | 0 | 86ccfe98a883a8e16f0f2d87f00c1bb05b2c9bf1 | 168 | comicray-android | Apache License 2.0 |
app/src/main/kotlin/net/ketc/numeri/domain/service/TweetsDisplayService.kt | KetcKtsD | 75,272,615 | false | null | package net.ketc.numeri.domain.service
import net.ketc.numeri.domain.entity.*
import net.ketc.numeri.util.copy
import net.ketc.numeri.util.ormlite.Transaction
import net.ketc.numeri.util.ormlite.delete
import net.ketc.numeri.util.ormlite.transaction
import java.util.*
interface TweetsDisplayService {
fun createG... | 0 | Kotlin | 0 | 0 | ea3b007ab7875ea6d1bc1c5c1cec871eee2685a5 | 4,765 | numeri3 | MIT License |
app/src/main/java/com/example/bvm/logic/book/network/BookNetwork.kt | Liuwq-bit | 431,728,147 | false | null | package com.example.bvm.logic.book.network
import retrofit2.Call
import retrofit2.Callback
import retrofit2.Response
import java.lang.RuntimeException
import kotlin.coroutines.resume
import kotlin.coroutines.resumeWithException
import kotlin.coroutines.suspendCoroutine
/*
书籍网络数据源访问入口
*/
//object BookNetwork {
/... | 0 | Kotlin | 0 | 1 | aed83fcabe475d01faed5ed35e7a4892ffde05f1 | 1,182 | BVM | Apache License 2.0 |
app/src/main/java/com/vpr/scheduleapp/data/api/dto/schedule_between/CarrierDTO.kt | v1p3rrr | 544,626,284 | false | {"Kotlin": 70700} | package com.vpr.scheduleapp.data.api.dto.schedule_between
data class CarrierDTO(
val address: String,
val code: Int,
val codes: CodesDTO,
val contacts: String,
val email: String,
val logo: String,
val logo_svg: String,
val phone: String,
val title: String,
val url: String
) | 0 | Kotlin | 0 | 1 | 3cd08a8424b5e613f3ab9c7c915b386a4d685d56 | 315 | ScheduleApp | MIT License |
app/src/main/java/com/kpstv/yts/data/models/TorrentJob.kt | KaustubhPatange | 248,727,800 | false | null | package com.kpstv.yts.data.models
import com.kpstv.bindings.AutoGenerateConverter
import com.kpstv.bindings.ConverterType
import java.io.Serializable
@AutoGenerateConverter(using = ConverterType.GSON)
data class TorrentJob (
val title: String,
val bannerUrl: String,
val progress: Int,
val seeds: Int,
... | 3 | Kotlin | 34 | 211 | dd9aa97ef9aa1b864d17898a54172ab23c7b04e3 | 1,060 | Moviesy | Apache License 2.0 |
mui-kotlin/src/jsMain/kotlin/mui/material/FormLabel.ext.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3038356, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
package mui.material
typealias FormLabelBaseProps = react.dom.html.LabelHTMLAttributes<web.html.HTMLLabelElement>
@Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
// language=JavaScript
@JsName("""(/*union*/{primary: 'primary', seco... | 0 | Kotlin | 5 | 34 | a5270a395943b069d41891c29e904d4d2f776789 | 711 | mui-kotlin | Apache License 2.0 |
app/src/main/java/com/davedevab/spotifyuiclone/home/Home.kt | DaveDeveloper117 | 690,739,458 | false | {"Kotlin": 20497} | package com.davedevab.spotifyuiclone.home
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.fragment.app.Fragment
import com.davedevab.spotifyuiclone.R
import com.davedevab.spotifyuiclone.databinding.ActivityHomeBinding
import com.davedevab.spotifyuiclone.home.content.Home
import... | 0 | Kotlin | 0 | 0 | cfcc1754dbc4ae9b1e97ba0931a09f82680ae65c | 1,403 | Spotify_UI_Clone | MIT License |
app/src/main/java/com/davedevab/spotifyuiclone/home/Home.kt | DaveDeveloper117 | 690,739,458 | false | {"Kotlin": 20497} | package com.davedevab.spotifyuiclone.home
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.fragment.app.Fragment
import com.davedevab.spotifyuiclone.R
import com.davedevab.spotifyuiclone.databinding.ActivityHomeBinding
import com.davedevab.spotifyuiclone.home.content.Home
import... | 0 | Kotlin | 0 | 0 | cfcc1754dbc4ae9b1e97ba0931a09f82680ae65c | 1,403 | Spotify_UI_Clone | MIT License |
common/src/main/kotlin/com/daylifecraft/common/exception/EnvironmentVariableNullException.kt | daylifecraft | 786,506,082 | false | {"Kotlin": 565827, "Java": 16608, "Dockerfile": 751} | package com.daylifecraft.common.exception
import com.daylifecraft.common.variable.Variable
class EnvironmentVariableNullException(variable: Variable) : RuntimeException("Environment variable <" + variable.name + "> is not assigned")
| 1 | Kotlin | 1 | 6 | 60ce20adc7005c2f4fae9175600e58c14992a782 | 235 | minigames | Apache License 2.0 |
mpp-library/feature/article/src/commonMain/kotlin/org/example/library/feature/article/presentation/ArticleViewModel.kt | RezMike | 284,020,863 | false | null | /*
* Copyright 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
package org.example.library.feature.article.presentation
import dev.icerock.moko.mvvm.State
import dev.icerock.moko.mvvm.asState
import dev.icerock.moko.mvvm.livedata.LiveData
import dev.icerock.moko.mvvm.livedata... | 0 | Kotlin | 0 | 0 | 1cbf25cbf044795dd6d98a9f3ae1794792e10846 | 1,723 | MokoTestProject | Apache License 2.0 |
app/src/main/java/com/hms/quickline/ui/contacts/ContactsAdapter.kt | Explore-In-HMS | 519,198,080 | false | {"Kotlin": 190120, "Java": 6564} | /*
* 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 applic... | 0 | Kotlin | 1 | 5 | 5711f868442a1ca52259419a0e87c2761e051ded | 4,345 | QuickLine | Apache License 2.0 |
src/main/kotlin/org/move/lang/core/types/infer/TypeDeclarations.kt | pontem-network | 279,299,159 | false | null | package org.move.lang.core.types.infer
import com.intellij.psi.util.parentOfType
import org.move.ide.annotator.INTEGER_TYPE_IDENTIFIERS
import org.move.ide.annotator.SPEC_INTEGER_TYPE_IDENTIFIERS
import org.move.lang.core.psi.*
import org.move.lang.core.psi.ext.mutable
import org.move.lang.core.psi.ext.typeArguments
i... | 4 | Kotlin | 11 | 47 | 53ddd0e698722532aa8a9a080cc06b948f98473d | 3,231 | intellij-move | MIT License |
ktor-server-app/src/main/kotlin/io/architecture/playground/Application.kt | vitaliystoyanov | 750,598,499 | false | {"Kotlin": 134187, "Java": 390} | package io.architecture.playground
import io.architecture.network.websocket.api.model.NetworkClientTime
import io.architecture.playground.modules.LOGGER
import io.architecture.playground.modules.configureSockets
import io.ktor.server.application.Application
import io.ktor.server.application.install
import io.ktor.serv... | 3 | Kotlin | 0 | 1 | 918a551b8abc1d557a8b81569c36df8fc3345a72 | 1,570 | trace-node-tracking-playground | MIT License |
ktor-server-app/src/main/kotlin/io/architecture/playground/Application.kt | vitaliystoyanov | 750,598,499 | false | {"Kotlin": 134187, "Java": 390} | package io.architecture.playground
import io.architecture.network.websocket.api.model.NetworkClientTime
import io.architecture.playground.modules.LOGGER
import io.architecture.playground.modules.configureSockets
import io.ktor.server.application.Application
import io.ktor.server.application.install
import io.ktor.serv... | 3 | Kotlin | 0 | 1 | 918a551b8abc1d557a8b81569c36df8fc3345a72 | 1,570 | trace-node-tracking-playground | MIT License |
backend/src/main/kotlin/es/guillermoorellana/keynotedex/backend/data/sessions/Session.kt | wiyarmir | 116,376,394 | false | null | package es.guillermoorellana.keynotedex.backend.data.sessions
import es.guillermoorellana.keynotedex.backend.data.hashids
import es.guillermoorellana.keynotedex.datasource.dto.SessionVisibility
import es.guillermoorellana.keynotedex.datasource.requests.SessionCreateRequest
import es.guillermoorellana.keynotedex.dataso... | 6 | Kotlin | 3 | 51 | ec6d7e50d5c7285e6d26f06caaca03a279af38c6 | 980 | keynotedex | Apache License 2.0 |
app/src/main/java/com/vhontar/reviewimagesapp/business/utils/AppConstants.kt | vhontar | 529,318,348 | false | {"Kotlin": 58809, "Java": 544} | package com.vhontar.reviewimagesapp.business.utils
object AppConstants {
const val DEFAULT_PAGE_INDEX = 1
const val DEFAULT_IMAGES_PER_PAGE = 20
const val DATABASE_NAME = "images.db"
const val DEFAULT_REQUEST = "fruits"
} | 0 | Kotlin | 0 | 0 | 0b124971af7120e9e851d083b47fbb03b96158d6 | 239 | review-images-app | Apache License 2.0 |
dataforge-meta/src/commonMain/kotlin/space/kscience/dataforge/meta/descriptors/schemeDescriptor.kt | SciProgCentre | 148,831,678 | false | {"Kotlin": 408170} | package space.kscience.dataforge.meta.descriptors
import space.kscience.dataforge.meta.Scheme
import space.kscience.dataforge.meta.SchemeSpec
import space.kscience.dataforge.meta.ValueType
import kotlin.reflect.KProperty1
import kotlin.reflect.typeOf
/**
* Add a value item to a [MetaDescriptor] inferring some of its... | 14 | Kotlin | 3 | 25 | d80846d5fbd4d232b7506f5b4124cddfdc61d17e | 1,925 | dataforge-core | Apache License 2.0 |
server/engine/src/main/kotlin/io/rsbox/server/engine/service/serializer/JsonPlayerSerializer.kt | rsbox | 704,269,853 | false | {"Java": 2428938, "Kotlin": 633136} | package io.rsbox.server.engine.service.serializer
import io.rsbox.server.engine.model.Appearance
import io.rsbox.server.engine.model.Privilege
import io.rsbox.server.engine.model.coord.Tile
import io.rsbox.server.engine.model.entity.Player
import io.rsbox.server.engine.model.ui.DisplayMode
import io.rsbox.server.engin... | 1 | null | 1 | 1 | 187049de600faa9d8de244ee2ed14785d9123475 | 3,656 | rsbox | Apache License 2.0 |
kool-core/src/desktopMain/kotlin/de/fabmax/kool/pipeline/backend/vk/OnScreenRenderPass.kt | kool-engine | 81,503,047 | false | {"Kotlin": 5929566, "C++": 3256, "CMake": 1870, "HTML": 1464, "JavaScript": 597} | package de.fabmax.kool.pipeline.backend.vk
import de.fabmax.kool.util.logD
import de.fabmax.kool.util.logE
import de.fabmax.kool.util.memStack
import org.lwjgl.vulkan.KHRSwapchain.VK_IMAGE_LAYOUT_PRESENT_SRC_KHR
import org.lwjgl.vulkan.VK10.*
import org.lwjgl.vulkan.VkCommandBuffer
class OnScreenRenderPass(val swapCh... | 12 | Kotlin | 20 | 303 | 8d05acd3e72ff2fc115d0939bf021a5f421469a5 | 6,145 | kool | Apache License 2.0 |
src/main/kotlin/ui/TimeInput.kt | dangari | 347,605,683 | false | null | package ui
import controller.Store
import javafx.beans.property.SimpleObjectProperty
import tornadofx.*
import java.time.LocalDate
class TimeInput: View() {
private val store: Store by inject()
private val date = SimpleObjectProperty<LocalDate>()
override val root = vbox {
label("Time Entry")
... | 0 | Kotlin | 0 | 0 | 73cc52e96e3775d42f3e9bcf349b048581c20aa4 | 635 | TimeKeeper | MIT License |
app/src/main/java/com/astroscoding/jokesapp/presentation/core/component/JokesState.kt | Astroa7m | 459,685,492 | false | {"Kotlin": 134726} | package com.astroscoding.jokesapp.presentation.core.component
import com.astroscoding.jokesapp.domain.model.Joke
data class JokesState(
val isLoading: Boolean = false,
val jokes: List<Joke> = emptyList(),
val errorMessage: String = ""
)
| 0 | Kotlin | 2 | 5 | 691a420baf3b7be90d24f1bfdd988d944837a8d4 | 251 | clean_architecture_mvvm_jokes_app | MIT License |
src/main/kotlin/com/faforever/palantir/model/UserModel.kt | FAForever | 815,962,809 | false | {"Kotlin": 20685, "HTML": 20544} | package com.faforever.palantir.model
import com.fasterxml.jackson.annotation.JsonEnumDefaultValue
import java.time.Instant
@JvmRecord
data class UserModel(
val name: String,
val id: Int,
val email: String,
val accountLinks: List<AccountLink>,
val ipAddress: String?,
val registeredAt: Instant,
... | 0 | Kotlin | 0 | 1 | b69b24177fcbaa26f3b5114fc5a363f649ad06de | 1,111 | faf-palantir | MIT License |
app/src/main/java/com/cobeisfresh/azil/data/request/UserRequest.kt | vejathegreat | 162,910,055 | false | null | package com.cobeisfresh.azil.data.request
/**
* Created by <NAME> on 22/08/2017.
*/
data class UserRequest(var name: String = "") | 0 | Kotlin | 0 | 0 | 174c15f617b5766bd2f093a7780c7d090b632d40 | 133 | Azil-Osijek-Android | The Unlicense |
app/src/main/kotlin/com/dmko/bulldogvods/features/vods/presentation/recycler/vods/VodItemsAdapter.kt | dmitrykochanov | 477,314,891 | false | null | package com.dmko.bulldogvods.features.vods.presentation.recycler.vods
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.paging.PagingDataAdapter
import com.dmko.bulldogvods.app.common.image.loader.ImageLoader
import com.dmko.bulldogvods.databinding.ListItemVodBinding
import com.dmko.bull... | 0 | Kotlin | 0 | 1 | 0aa6ec12113a0366c81c236cc6288e72ed15798c | 1,263 | BulldogVods | MIT License |
app/src/main/java/com/example/custom_keyboard_example/MainActivity.kt | KotlinKing | 469,885,506 | false | {"Kotlin": 16715} | package com.example.custom_keyboard_example
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.InputType
import android.view.View
import android.view.inputmethod.EditorInfo
import androidx.databinding.DataBindingUtil
import com.example.custom_keyboard_example.R
import com.exam... | 0 | Kotlin | 0 | 0 | 1923f45f7136182818c75aa1093213100b82bc3c | 1,154 | Custom_Keyboard_Example | MIT License |
app/src/main/java/tech/acruxsolutions/atomnote/adapters/LabelsAdapter.kt | manhnvacrux | 287,846,541 | false | null | package tech.acruxsolutions.atomnote.adapters
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import tech.acruxsolutions.atomenote.databinding.LabelItemBinding
import tech.acruxs... | 0 | Kotlin | 0 | 0 | 7ac7c03b8652ec0a6d684466f920ceb36c31d889 | 1,408 | atom-note | MIT License |
libwoff2dec/src/androidTest/java/com/github/khoben/libwoff2dec/BaseTest.kt | khoben | 527,465,175 | false | {"Kotlin": 18857, "Python": 6179, "C++": 2710, "CMake": 1527} | package com.github.khoben.libwoff2dec
import android.content.Context
import android.content.res.AssetManager
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import org.junit.runner.RunWith
import java.io.File
@RunWith(AndroidJUnit4::class)
abstract class ... | 0 | Kotlin | 1 | 1 | 370ea786df6b597ef6bacca85f8321ab00d48c9b | 865 | woff2-android | Apache License 2.0 |
octicons/src/commonMain/kotlin/compose/icons/octicons/Sync16.kt | DevSrSouza | 311,134,756 | false | null | package compose.icons.octicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
import a... | 17 | null | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 2,726 | compose-icons | MIT License |
app/src/main/java/ffeltrinelli/textualclock/domain/Randomizer.kt | ffeltrinelli | 838,364,681 | false | {"Kotlin": 31589} | package ffeltrinelli.textualclock.domain
import kotlin.random.Random
class Randomizer(private val random: Random) {
fun nextLetter() = random.nextInt('a'.code, 'z'.code + 1).toChar()
}
| 0 | Kotlin | 0 | 0 | 87c9c7735d0bed8735adf655cef97dfca8531b38 | 191 | textual-clock-android | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/hmpps/architecture/model/TokenVerificationApi.kt | ministryofjustice | 272,753,130 | false | {"Kotlin": 197063, "Shell": 1167} | package uk.gov.justice.hmpps.architecture.model
import com.structurizr.model.Container
import com.structurizr.model.Model
import com.structurizr.model.SoftwareSystem
import com.structurizr.view.ViewSet
import uk.gov.justice.hmpps.architecture.HMPPSSoftwareSystem
import uk.gov.justice.hmpps.architecture.annotations.Cap... | 5 | Kotlin | 3 | 17 | a18f85184c43e37bec36f758effb662a3d068ece | 1,283 | hmpps-architecture-as-code | MIT License |
compiler-plugin/src/main/java/com/anatawa12/autoVisitor/compiler/visitor/UserDatas.kt | anatawa12 | 334,377,620 | false | null | package com.anatawa12.autoVisitor.compiler.visitor
import org.jetbrains.kotlin.descriptors.CallableDescriptor
import org.jetbrains.kotlin.descriptors.ClassDescriptor
data class VisitMethodData(
val superClass: ClassDescriptor?,
val name: String?,
) {
companion object : CallableDescriptor.UserDataKey<Visit... | 9 | Kotlin | 1 | 2 | 55cb569955ea0bec42c58291da733bf5bfa604f2 | 334 | auto-visitor | MIT License |
presentation/mate/src/main/java/com/depromeet/threedays/mate/ClapAdapter.kt | depromeet12th | 548,194,728 | false | null | package com.depromeet.threedays.mate
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import com.depromeet.threedays.mate.model.StampUI
class ClapAdapter : ListAdapter<StampUI, ClapViewHolder>(DIFF_UTIL) {
override fun onCreateViewHolder(p... | 0 | Kotlin | 1 | 15 | 1cc08fcf2b038924ab0fe5feaaff548974f40f4d | 1,139 | three-days-android | MIT License |
app/src/main/java/com/arpadfodor/android/chain_reaction/presenter/IMainView.kt | aaronfodor | 175,170,645 | false | null | package com.arpadfodor.android.chain_reaction.presenter
import com.google.firebase.auth.FirebaseUser
interface IMainView {
/**
* Notifies the user about AI loading result
*
* @param isLoaded True if loaded, false otherwise
*/
fun loadedAI(isLoaded: Boolean)
/**
* Notifies t... | 0 | Kotlin | 0 | 0 | c76abf247016cfb1837d7e2ee3beff733e4ab895 | 608 | ChainReaction | MIT License |
src/main/java/com/metriql/service/suggestion/SuggestionCacheService.kt | metriql | 370,169,788 | false | null | package com.metriql.service.suggestion
import com.metriql.service.auth.ProjectAuth
import com.metriql.service.dataset.DatasetName
import com.metriql.service.dataset.DimensionName
import java.time.Instant
interface SuggestionCacheService {
fun getCommon(auth: ProjectAuth, datasetName: DatasetName, dimensionName: D... | 30 | Kotlin | 19 | 253 | 10fa42434c19d1dbfb9a3d04becea679bb82d0f1 | 655 | metriql | Apache License 2.0 |
integration-test/android/src/main/kotlin/com/moriatsushi/koject/integrationtest/android/viewmodel/ContextViewModel.kt | mori-atsushi | 605,139,896 | false | null | package com.moriatsushi.koject.integrationtest.android.viewmodel
import android.annotation.SuppressLint
import android.content.Context
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import com.moriatsushi.koject.Provides
import com.moriatsushi.koject.android.viewmodel.ViewModelComponent... | 13 | Kotlin | 2 | 96 | c22286b39a3e6249842d148ff0a22f1fb7d37d47 | 639 | koject | Apache License 2.0 |
generator/src/test/kotlin/com/google/api/kotlin/KotlinClientGeneratorTest.kt | JasonFoxTrot | 169,916,879 | true | {"Kotlin": 450799, "Shell": 6394, "Dockerfile": 3353} | /*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | Kotlin | 0 | 0 | eca06217f013f0ecc318dcca5eb9b6d95d7801d6 | 5,978 | gapic-generator-kotlin | Apache License 2.0 |
falkon-dao/src/main/kotlin/com/jayrave/falkon/dao/DaoImpl.kt | jayrave | 65,279,209 | false | null | package com.jayrave.falkon.dao
import com.jayrave.falkon.dao.delete.DeleteBuilder
import com.jayrave.falkon.dao.delete.DeleteBuilderImpl
import com.jayrave.falkon.dao.insert.InsertBuilder
import com.jayrave.falkon.dao.insert.InsertBuilderImpl
import com.jayrave.falkon.dao.insertOrReplace.InsertOrReplaceBuilder
import ... | 6 | Kotlin | 2 | 12 | ce42d553c578cd8e509bbfd7effc5d56bf3cdedd | 2,467 | falkon | Apache License 2.0 |
app/src/main/java/com/example/marvel/app/api/responses/CharacterResponse.kt | ahmeddyounes | 842,107,601 | false | {"Kotlin": 155384} | package com.example.marvel.app.api.responses
data class CharacterResponse(
val id: Int,
val name: String,
val description: String,
val thumbnail: ThumbnailResponse
) | 0 | Kotlin | 0 | 0 | b03e737a6e2edbc86e1cfba7c58a8a3b4b273eeb | 182 | Marvel | MIT License |
app/src/main/java/br/com/kaiki/devhub/network/model/GitHubRepositoryWeb.kt | Kaiki098 | 791,865,247 | false | {"Kotlin": 23327} | package br.com.kaiki.devhub.network.model
import br.com.kaiki.devhub.model.GitHubRepository
data class GitHubRepositoryWeb (
val name: String,
val description: String?
)
fun GitHubRepositoryWeb.toGitHubRepository() = GitHubRepository (
name = name,
description = description ?: ""
) | 0 | Kotlin | 0 | 1 | 6b593e287cb65d8a15901735ad19d6487a3ceb20 | 301 | DevHub | MIT License |
core/src/main/java/org/futo/circles/core/feature/room/update/UpdateRoomDialogFragment.kt | circles-project | 615,347,618 | false | {"Kotlin": 1307644, "C": 137821, "C++": 12364, "Shell": 3202, "CMake": 1680, "Ruby": 922} | package org.futo.circles.core.feature.room.update
import android.os.Bundle
import android.view.View
import android.widget.AdapterView
import android.widget.AdapterView.OnItemSelectedListener
import android.widget.ArrayAdapter
import androidx.core.widget.doAfterTextChanged
import androidx.fragment.app.Fragment
import a... | 8 | Kotlin | 4 | 29 | 7edec708f9c491a7b6f139fc2f2aa3e2b7149112 | 6,506 | circles-android | Apache License 2.0 |
core/src/main/java/org/futo/circles/core/feature/room/update/UpdateRoomDialogFragment.kt | circles-project | 615,347,618 | false | {"Kotlin": 1307644, "C": 137821, "C++": 12364, "Shell": 3202, "CMake": 1680, "Ruby": 922} | package org.futo.circles.core.feature.room.update
import android.os.Bundle
import android.view.View
import android.widget.AdapterView
import android.widget.AdapterView.OnItemSelectedListener
import android.widget.ArrayAdapter
import androidx.core.widget.doAfterTextChanged
import androidx.fragment.app.Fragment
import a... | 8 | Kotlin | 4 | 29 | 7edec708f9c491a7b6f139fc2f2aa3e2b7149112 | 6,506 | circles-android | Apache License 2.0 |
feature-weighbridge/src/test/java/android/template/feature/weighbridge/ui/detail/DetailWeighedItemViewModelTest.kt | CrulQRL | 814,083,445 | false | {"Kotlin": 113475, "Shell": 3210} | package android.template.feature.weighbridge.ui.detail
import android.template.feature.weighbridge.FakeWeighedItemRepository
import androidx.lifecycle.SavedStateHandle
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.test.runTest
import org.junit.Assert... | 0 | Kotlin | 0 | 0 | ec9b16835d8b4d5dae53038d7613b6598814f865 | 855 | WeighBridge | Apache License 2.0 |
app/src/main/java/com/media/dmitry68/callrecorder/receiver/CallReceiver.kt | dmisuvorov | 158,179,357 | false | null | package com.media.dmitry68.callrecorder.receiver
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.support.v4.content.LocalBroadcastManager
import android.telephony.TelephonyManager
import android.util.Log
import com.media.dmitry68.callrecorder.prefere... | 0 | Kotlin | 0 | 0 | 34414f28a9c41aa39c4c05c8af073d3b564148a5 | 6,267 | CallRecorder | Apache License 2.0 |
linea/src/commonMain/kotlin/compose/icons/lineaicons/arrows/DragDownDashed.kt | DevSrSouza | 311,134,756 | false | {"Kotlin": 36719092} | package compose.icons.lineaicons.arrows
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.g... | 17 | Kotlin | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 2,454 | compose-icons | MIT License |
src/main/kotlin/com/glancebar/apiboilerplate/exceptions/ParamsException.kt | yisen-cai | 575,810,398 | false | null | package com.glancebar.apiboilerplate.exceptions
import com.glancebar.apiboilerplate.utils.ErrResult
/**
*
* @author YISEN
* @date 2020/12/15
*/
class ParamsException(
errResult: ErrResult = ErrResult("参数错误", 1, null)
) :
APIException(errResult)
| 0 | Kotlin | 0 | 0 | edae30dfdac4a547fcbee3245ae1cd81993220a8 | 255 | api-boilerplate | Apache License 2.0 |
server/src/main/kotlin/dev/chargedbyte/reaktor_summer_2022/feature/game/routing/GamesPagedResponse.kt | ChargedByte | 448,422,989 | false | null | package dev.chargedbyte.reaktor_summer_2022.feature.game.routing
import dev.chargedbyte.reaktor_summer_2022.feature.game.GameDto
data class GamesPagedResponse(val totalPages: Long, val games: List<GameDto>)
| 0 | Kotlin | 0 | 0 | 9e518e2b52be1b4e32b0cc4a8bc0a46db46a3544 | 209 | reaktor-summer-2022 | MIT License |
app/src/main/java/com/cogitator/justnavigation/MainActivity.kt | AnkitDroidGit | 151,366,321 | false | null | package com.cogitator.justnavigation
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.GravityCompat
import androidx.navigation.Navigation.findNavController
import androidx.navigation.ui.NavigationUI.*
import kotlinx.android.synthetic.main.activity_main.*
/**
* @autho... | 0 | Kotlin | 1 | 3 | d319f418606afb6318ff28798fd9e9082f2d8980 | 1,550 | JustNavigation | Apache License 2.0 |
fcl/src/main/java/com/portto/fcl/model/signable/Roles.kt | portto | 505,659,431 | false | null | package com.portto.fcl.model.signable
import kotlinx.serialization.Serializable
@Serializable
data class Roles(
var authorizer: Boolean = false,
var payer: Boolean = false,
var proposer: Boolean = false
) {
fun merge(role: Roles) {
proposer = proposer || role.proposer
authorizer = auth... | 0 | Kotlin | 3 | 21 | 48526162272dc07fec5774762d83a47dabfe5a1f | 390 | fcl-android | MIT License |
src/main/kotlin/jsonsql/functions/Function.kt | tim-patterson | 131,454,972 | false | null | package jsonsql.functions;
sealed class Function {
abstract fun validateParameterCount(count: Int) : Boolean
abstract class ScalarFunction: Function() {
abstract fun execute(args: List<Any?>): Any?
}
abstract class AggregateFunction: Function() {
abstract fun executor(): AggregateFunc... | 1 | Kotlin | 1 | 3 | 1fc28152476ad9ebcc2b1aefce1c2c6636a98083 | 1,184 | jsonsql | MIT License |
app/src/main/java/com/disfluency/model/Paciente.kt | UTN-FRBA-Mobile | 638,009,160 | false | null | package com.disfluency.model
import java.time.LocalDate
import java.time.Period
data class Paciente(val name: String, val lastName: String, val dateOfBirth: LocalDate, val id: Int, val account: String, val joinedSince: LocalDate, val profilePic: Int){
fun initials(): String {
return (name.first().toString... | 2 | Kotlin | 0 | 0 | 23662f8f39ada8ec2e5180d54b21fb021b03b8ca | 644 | Disfluency | MIT License |
idea/tests/testData/structuralsearch/binaryExpression/binaryRem.kt | JetBrains | 278,369,660 | false | null | val a = <warning descr="SSR">1 % 2</warning>
val b = <warning descr="SSR">1.rem(2)</warning>
val c = 1 % 3
val d = 1.rem(3) | 0 | Kotlin | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 126 | intellij-kotlin | Apache License 2.0 |
utils-android/src/main/java/io/github/boopited/droidutils/listeners/SimpleAnimatorListener.kt | boopited | 217,223,466 | false | null | package io.github.boopited.droidutils.listeners
import android.animation.Animator
interface SimpleAnimatorListener: Animator.AnimatorListener {
override fun onAnimationRepeat(animator: Animator) {
// Extender only need override necessary method
}
override fun onAnimationEnd(animator: Animator) {
... | 0 | Kotlin | 0 | 0 | 0ad6a2b069f8e9503be7ac569cf22884c24c7ca4 | 622 | utils-android | Apache License 2.0 |
app/src/main/java/com/oscarliang/knews/di/FragmentBuildersModule.kt | iamoscarliang | 761,140,560 | false | {"Kotlin": 151931} | package com.oscarliang.knews.di
import com.oscarliang.knews.ui.bookmarks.BookmarksFragment
import com.oscarliang.knews.ui.breakingnews.BreakingNewsFragment
import com.oscarliang.knews.ui.newsdetail.NewsDetailFragment
import com.oscarliang.knews.ui.search.SearchFragment
import dagger.Module
import dagger.android.Contri... | 0 | Kotlin | 0 | 0 | c03764f4d80338cff8fa98bc59a72ecbd892af6d | 790 | k-news | MIT License |
android/app/src/main/kotlin/com/example/carousel_app_scaffold/MainActivity.kt | henlamk | 288,693,361 | false | {"Dart": 26409, "Swift": 404, "Kotlin": 138, "Objective-C": 38} | package com.example.carousel_app_scaffold
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | a7daf2214965e84998c0ebc4538d0208b898faf6 | 138 | carousel_app_scaffold | MIT License |
rx-location-manager-nmea/src/test/kotlin/net/samystudio/rxlocationmanager/nmea/GLLTest.kt | balao7 | 241,983,601 | true | {"Kotlin": 108910, "Shell": 949} | package net.samystudio.rxlocationmanager.nmea
import org.junit.Assert.assertEquals
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robolectric.annotation.Config
@RunWith(RobolectricTestRunner::class)
@Config(manifest = Config.NONE)
class GLLTest {
@Tes... | 0 | null | 0 | 0 | 8e909fa7a63755686b81977c6f7607ba64f51e37 | 4,991 | RxLocationManager-1 | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.