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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
vico/core/src/main/java/com/patrykandpatryk/vico/core/chart/values/MutableChartValues.kt | ThaiCao | 652,554,705 | false | null | /*
* Copyright 2022 Patryk Goworowski and Patryk Michalik
*
* 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 ap... | 0 | Kotlin | 0 | 0 | 58b9b16f786f24b6570ed0252d5785cfe831c906 | 3,059 | vico-chart | Apache License 2.0 |
common/src/main/kotlin/io/nichijou/tujian/common/appwidget/BingAppWidgetConfig.kt | david082321 | 244,025,265 | true | {"Kotlin": 379481} | package io.nichijou.tujian.common.appwidget
import com.chibatching.kotpref.KotprefModel
object BingAppWidgetConfig : KotprefModel() {
var notification: Boolean by booleanPref(true)
var requiresBatteryNotLow: Boolean by booleanPref(false)
var requiresCharging: Boolean by booleanPref(false)
var requiresStorageN... | 0 | null | 0 | 0 | 2f46fe5040665975403f25f75507af0bdef6393c | 746 | tujian-kt | MIT License |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/MapCheck.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.tabler.tabler.outline
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
im... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 2,901 | compose-icon-collections | MIT License |
src/main/kotlin/com/nikichxp/tgbot/dto/BotCommand.kt | NikichXP | 395,716,371 | false | {"Kotlin": 150225, "Dockerfile": 242} | package com.nikichxp.tgbot.dto
data class BotCommand(
val command: String,
val description: String
)
| 2 | Kotlin | 0 | 1 | c93dd6edcb12c5c45651ea49aaf68af6619051d1 | 110 | tgbot | Apache License 2.0 |
app/src/main/java/com/thread0/weather/data/model/Location.kt | wuzelong | 384,625,570 | false | null | package com.thread0.weather.data.model
import com.google.gson.annotations.SerializedName
data class Location(
val id: String,
val name: String,
val country: String,
val path: String,
val timezone: String,
@SerializedName("timezone_offset")
val timezoneOffset: String
)
data class LocationR... | 0 | Kotlin | 0 | 1 | 00f93f0c656d3734c4d3bb10c66ec94f6e030d7e | 361 | weather | Apache License 2.0 |
stdlib/src/commonMain/kotlin/com/sunnychung/lib/multiplatform/kotlite/stdlib/kdatetime/KInstantValue.kt | sunny-chung | 783,528,970 | false | {"Kotlin": 1602007} | package com.sunnychung.lib.multiplatform.kotlite.stdlib.kdatetime
import com.sunnychung.lib.multiplatform.kdatetime.KInstant
import com.sunnychung.lib.multiplatform.kotlite.model.CustomFunctionParameter
import com.sunnychung.lib.multiplatform.kotlite.model.DelegatedValue
import com.sunnychung.lib.multiplatform.kotlite... | 0 | Kotlin | 0 | 0 | 7f8e39806b03ed3946457fa3799d7544abc98031 | 1,375 | kotlite | MIT License |
common/src/main/kotlin/com/dr10/common/models/SelectedConfigHistoryModel.kt | Daniel0110000 | 702,220,698 | false | {"Kotlin": 250956, "Lex": 15630} | package com.dr10.common.models
data class SelectedConfigHistoryModel(
val uniqueId: String,
val optionName: String,
val className: String,
val asmFilePath: String
)
| 1 | Kotlin | 3 | 30 | 5114314c76455ddedce4af0762b37ca7730a598f | 182 | DeepCodeStudio | Apache License 2.0 |
app/src/main/java/io/github/samueljarosinski/ambilight/permission/ActivityScreenCapturePermission.kt | samueljarosinski | 192,970,530 | false | null | package io.github.samueljarosinski.ambilight.permission
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.media.projection.MediaProjectionManager
import android.os.Bundle
import androidx.core.content.getSystemService
import timber.log.Timber
class ActivityScreenCa... | 0 | Kotlin | 0 | 0 | 300ea1579f59b3b3c43e7cdd5b53c12a9eae4ab1 | 2,142 | Ambilight | MIT License |
privacy-protections-popup/privacy-protections-popup-impl/src/main/java/com/duckduckgo/privacyprotectionspopup/impl/PrivacyProtectionsPopupPixelName.kt | hojat72elect | 822,396,044 | false | {"Kotlin": 11626231, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784} | package com.duckduckgo.privacyprotectionspopup.impl
import com.duckduckgo.app.statistics.pixels.Pixel.PixelName
import com.duckduckgo.app.statistics.pixels.Pixel.PixelType
enum class PrivacyProtectionsPopupPixelName(
override val pixelName: String,
val type: PixelType,
) : PixelName
| 0 | Kotlin | 0 | 0 | b89591136b60933d6a03fac43a38ee183116b7f8 | 294 | DuckDuckGo | Apache License 2.0 |
app/src/main/java/top/roy1994/bilimusic/data/objects/music/MusicEntity.kt | MoveCloudROY | 583,275,245 | false | {"Kotlin": 217608} | package top.roy1994.bilimusic.data.objects.music
import androidx.compose.ui.graphics.painter.Painter
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
@Entity
data class MusicEntity(
@PrimaryKey(autoGenerate = true) var music_id: Int = 0,
val bvid: String,
val part: I... | 1 | Kotlin | 1 | 5 | dc60ebde773a810c646328f17b21fa3d71ac1f23 | 1,151 | BiliMusic | MIT License |
upjoin_android_view/src/main/kotlin/de/upjoin/android/view/modules/AbstractSplashModule.kt | upjoin | 280,871,994 | false | null | package de.upjoin.android.view.modules
import android.content.Context
import android.content.Intent
import de.upjoin.android.core.application.ModulizedApplication
import de.upjoin.android.core.modules.ModuleLiveCycle
import de.upjoin.android.view.splash.SplashActivity
abstract class AbstractSplashModule: SplashModule... | 0 | Kotlin | 0 | 0 | 0ccdce055876235c695b2955f23ed3165deb7654 | 647 | upjoin_android | Apache License 2.0 |
app/src/main/java/com/example/marsphotos/data/MarsPhotosRepository.kt | pol1612 | 868,484,701 | false | {"Kotlin": 18733} | package com.example.marsphotos.data
interface MarsPhotosRepository {
suspend fun getMarsPhotos(): List<MarsPhoto>
}
class NetworkMarsPhotosRepository(
private val marsApiService: MarsApiService
): MarsPhotosRepository {
override suspend fun getMarsPhotos(): List<MarsPhoto> {
return marsApiService.... | 0 | Kotlin | 0 | 0 | fbfb30dbee3608bb4a61f224dd0d8811aa0cdf8a | 340 | basic-android-kotlin-compose-training-mars-photos | Apache License 2.0 |
src/main/kotlin/com/chatandpay/api/service/LogService.kt | f-lab-edu | 634,472,358 | false | null | package com.chatandpay.api.service
import com.chatandpay.api.domain.Log
import com.chatandpay.api.repository.LogRepository
import org.springframework.stereotype.Component
@Component
class LogService(private val logRepository: LogRepository) {
fun saveLog(log: Log) {
logRepository.save(log)
}
} | 3 | Kotlin | 1 | 2 | 496222f0f797e78589149ab165a599c6f62821eb | 314 | chatAndPay-API | MIT License |
domain/src/main/java/com/ujizin/leafy/domain/usecase/plant/add/AddDraftPlantUseCaseImpl.kt | ujizin | 442,024,281 | false | {"Kotlin": 349427} | package com.ujizin.leafy.domain.usecase.plant.add
import com.ujizin.leafy.domain.repository.PlantRepository
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flatMapConcat
import kotlinx.coroutines.flow.map
import java.io.File
internal class AddDraf... | 3 | Kotlin | 1 | 4 | 27e28e5984a0fef94d3aa8d7c813ba1851cfd4f3 | 901 | Leafy | Apache License 2.0 |
apple/green/src/main/kotlin/net/tjalp/peach/apple/green/LaunchServer.kt | tjalp | 421,781,027 | false | null | package net.tjalp.peach.apple.green
import net.minestom.server.Bootstrap
import net.minestom.server.extras.selfmodification.MinestomRootClassLoader
fun main(args: Array<String>) {
// Allow mixins without removing arguments (BROKEN)
// String[] argsWithMixins = new String[args.length+2];
// System.a... | 0 | Kotlin | 0 | 0 | 0d74c084b3e83dfaaec7a2bf52f056de7a5f6a08 | 786 | peach | MIT License |
app/src/main/java/com/hackathon/navigation/NavGraph.kt | ShivarajMbhagoji | 840,589,414 | false | {"Kotlin": 113087} | package com.hackathon.navigation
import android.os.Build
import androidx.annotation.RequiresApi
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.navigation.NavHostController
import androidx.navigation.compose.NavHost
i... | 0 | Kotlin | 1 | 0 | 12cb94f302007c4c298324407568d43766957383 | 3,310 | CodeFury_7.0 | MIT License |
src/test/kotlin/_50to100/Task54Test.kt | embuc | 735,933,359 | false | {"Kotlin": 89867, "Java": 48265} | package _50to100
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
import se.embuc._50to100.Task54
// Poker hands
class Task54Test {
@Test
fun solve() {
assertEquals(376, Task54().solve())
assertEquals(376, JTask54().solve())
}
@Test
fun shouldEvaluate() {
// pair of ... | 0 | Kotlin | 0 | 1 | fc5db842ba250ba4e45af549684b1f845bcab770 | 1,149 | projecteuler | MIT License |
app/src/main/java/com/indisparte/moovaride/di/module/BluetoothModule.kt | iamantoniodinuzzo | 698,121,364 | false | {"Kotlin": 170845} | package com.indisparte.moovaride.di.module
import android.bluetooth.BluetoothAdapter
import android.bluetooth.BluetoothManager
import android.content.Context
import android.os.Build
import androidx.annotation.RequiresApi
import com.indisparte.moovaride.data.bleScanner.BLEReceiverManager
import com.indisparte.moovaride... | 2 | Kotlin | 0 | 0 | ece192351030418549c8f01c11a684d555a66007 | 1,520 | MoovaRide | Apache License 2.0 |
src/main/kotlin/no/nav/familie/ks/sak/kjerne/tilbakekreving/TilbakekrevingsbehandlingHentService.kt | navikt | 533,308,075 | false | null | package no.nav.familie.ks.sak.kjerne.tilbakekreving
import no.nav.familie.ks.sak.common.exception.Feil
import no.nav.familie.ks.sak.integrasjon.tilbakekreving.TilbakekrevingKlient
import no.nav.familie.ks.sak.kjerne.tilbakekreving.domene.TilbakekrevingRepository
import org.springframework.stereotype.Service
// Oppret... | 3 | Kotlin | 0 | 2 | 4d7304873304929bf83e5bde3254b45a94051a5a | 859 | familie-ks-sak | MIT License |
app/src/main/kotlin/com/skyline/msgbot/reflow/event/EventBase.kt | SkyLineLab | 451,012,446 | false | null | package com.skyline.msgbot.reflow.event
interface EventBase {
val isTrusted: Boolean
val type: String
val timeStamp: Long
val defaultPrevented: Boolean
val scope: String
} | 4 | Kotlin | 1 | 9 | 9e9324e269c729f45f7c86f4939932fd72669355 | 192 | SkyLine | MIT License |
app/src/main/java/com/timilehinaregbesola/mathalarm/presentation/alarmsettings/components/AlarmBottomSheet.kt | t-regbs | 223,649,248 | false | {"Kotlin": 283958} | package com.timilehinaregbesola.mathalarm.presentation.alarmsettings.components
import android.app.Activity
import android.media.RingtoneManager
import android.net.Uri
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.compose.foundation.clickable
import androidx.compose.foundation.gest... | 2 | Kotlin | 2 | 15 | 1cc000f3c8345209b0494efed3274f2a3f8a4373 | 22,270 | MathAlarm | MIT License |
app/src/main/java/com/example/dropy/network/models/ongoingjobs/DeliveryMethod.kt | dropyProd | 705,360,878 | false | {"Kotlin": 3916897, "Java": 20617} | package com.example.dropy.network.models.ongoingjobs
data class DeliveryMethod(
val method_name: String?
) | 0 | Kotlin | 0 | 0 | 6d994c9c61207bac28c49717b6c250656fe4ae6b | 111 | DropyLateNights | Apache License 2.0 |
src/main/kotlin/com/icosillion/pine/validator/Rule.kt | icosillion | 89,846,161 | false | null | package com.icosillion.pine.validator
import com.google.gson.JsonElement
class Rule {
protected var optional = false
protected var nullable = false
private val rules = hashMapOf<String, (Any) -> Boolean>()
//Rules
fun string(): Rule {
rules.put("string") { value ->
if(value i... | 0 | Kotlin | 0 | 4 | 14d79db813fe2c89a2c002abf3c84e1c4a42f6a6 | 6,351 | pine | MIT License |
zeapp/desktop/src/main/kotlin/de/berlindroid/zekompanion/desktop/ZeBadgeKompanion.kt | gdg-berlin-android | 636,343,114 | false | {"Kotlin": 251126, "Python": 41102, "JavaScript": 4816, "HTML": 2584, "Shell": 74} | @file:JvmName("ZeBadgeKompanion")
package de.berlindroid.zekompanion.desktop
import androidx.compose.material.MaterialTheme
import androidx.compose.ui.awt.ComposePanel
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.window.Window
import androidx.compose.ui.window.application
import de.berli... | 17 | Kotlin | 105 | 48 | e06da6dd31962a340427556c40357cfd2fef1b2c | 6,242 | ZeBadge | Apache License 2.0 |
src/main/kotlin/cn/lnkdoc/sdk/uia/instance/github/GithubSdkInstance.kt | langkye | 615,896,447 | false | {"Kotlin": 398542, "Java": 196} | package cn.lnkdoc.sdk.uia.instance.github
import cn.lnkdoc.sdk.uia.common.request.IUiaRequest
import cn.lnkdoc.sdk.uia.common.response.UiaResponse
import cn.lnkdoc.sdk.uia.instance.AbstractInstance
import cn.lnkdoc.sdk.uia.instance.ISdkInstance
import cn.lnkdoc.sdk.uia.instance.github.request.AccessTokenRequest
import... | 0 | Kotlin | 0 | 1 | a0d45b63a1fb6f66df77934c5c0ed65deca215a5 | 1,228 | awesome-uia-sdk | Apache License 2.0 |
src/test/resources/examples/inLinedObject/models/SecondInlineObjectGeneration.kt | cjbooms | 229,844,927 | false | {"Kotlin": 874094, "Handlebars": 4874} | package examples.inLinedObject.models
import com.fasterxml.jackson.`annotation`.JsonProperty
import javax.validation.Valid
import kotlin.String
public data class SecondInlineObjectGeneration(
@param:JsonProperty("call_home")
@get:JsonProperty("call_home")
@get:Valid
public val callHome: SecondInlineObjectCall... | 33 | Kotlin | 41 | 154 | b95cb5bd8bb81e59eca71e467118cd61a1848b3f | 591 | fabrikt | Apache License 2.0 |
PennMobile/src/main/java/com/pennapps/labs/pennmobile/adapters/FitnessHeaderAdapter.kt | pennlabs | 16,791,473 | false | {"Kotlin": 618643, "Java": 96504, "HTML": 1719} | package com.pennapps.labs.pennmobile.adapters
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.pennapps.labs.pennmobile.R
class FitnessHeaderAdapter(
private val text: String,
) : Re... | 0 | Kotlin | 5 | 34 | 661a90384e308119f285ebe6c75109d6b2686497 | 1,085 | penn-mobile-android | MIT License |
AS/NetworkImageView/app/src/main/java/com/josericardojr/networkimageview/datamodel/PixabayResult.kt | josericardojr | 683,865,030 | false | {"Kotlin": 70283} | package com.josericardojr.networkimageview.datamodel
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class PixabayResult (
@SerialName("total" ) var total : Int? = null,
@SerialName("totalHits" ) var totalHits : Int? = null,
@Se... | 0 | Kotlin | 0 | 0 | 86f039657bfa4ad2449a7a7001a8073003e8b17b | 393 | AndroidKotlin | Apache License 2.0 |
typescript/ts-nodes/src/org/jetbrains/dukat/ast/model/nodes/MethodNodeMeta.kt | posix-dev | 270,574,458 | true | {"Kotlin": 2679797, "WebIDL": 323303, "TypeScript": 126912, "JavaScript": 15989, "ANTLR": 11333} | package org.jetbrains.dukat.ast.model.nodes
data class MethodNodeMeta(
val generated: Boolean
)
| 0 | null | 0 | 0 | 2a843bb20614e02c011b33ddb8bbe84c4755c107 | 101 | dukat | Apache License 2.0 |
kotlin-electron/src/jsMain/generated/electron/renderer/WebviewTagPrintOptions.kt | JetBrains | 93,250,841 | false | {"Kotlin": 11411371, "JavaScript": 154302} | package electron.renderer
typealias WebviewTagPrintOptions = electron.core.WebviewTagPrintOptions
| 28 | Kotlin | 173 | 1,250 | 9e9dda28cf74f68b42a712c27f2e97d63af17628 | 100 | kotlin-wrappers | Apache License 2.0 |
library/src/main/java/com/shopapp/shopify/api/adapter/ProductAdapter.kt | rubygarage | 121,784,219 | false | null | package com.shopapp.shopify.api.adapter
import com.shopapp.gateway.entity.Image
import com.shopapp.gateway.entity.Product
import com.shopapp.gateway.entity.ProductVariant
import com.shopapp.shopify.api.ext.isSingleOptions
import com.shopapp.shopify.constant.Constant.DEFAULT_STRING
import com.shopify.buy3.Storefront
im... | 4 | Kotlin | 31 | 51 | 33d10ee580d12ad94042566677a4607ab21d236b | 3,077 | shopapp-shopify-android | Apache License 2.0 |
app/src/main/java/com/tonia/githubandroidtrending/repodetails/RepoDetailsFragment.kt | lomza | 162,416,049 | false | null | package com.tonia.githubandroidtrending.repodetails
import android.content.Intent
import android.os.Bundle
import android.view.Menu
import android.view.MenuInflater
import android.view.View
import androidx.annotation.NonNull
import androidx.appcompat.app.AppCompatActivity
import com.tonia.githubandroidtrending.BaseFra... | 0 | Kotlin | 0 | 0 | 5db284805ed42822a7201f339984ada198000c3a | 4,893 | github-android-trending | MIT License |
app/src/main/java/top/jowanxu/wanandroidclient/view/CommonUseFragmentView.kt | fyhtosky | 138,373,682 | false | {"Kotlin": 157771} | package top.jowanxu.wanandroidclient.view
import top.jowanxu.wanandroidclient.bean.FriendListResponse
import top.jowanxu.wanandroidclient.bean.HotKeyResponse
/**
* CommonUse Fragment View interface
*/
interface CommonUseFragmentView {
/**
* get Friend list Success
*/
fun getFriendListSuccess(bookm... | 0 | Kotlin | 0 | 0 | 2e4b9fd04da815093b9f68372b7cf552c5d6247e | 599 | WanAndroidClient | Apache License 2.0 |
kotlin/graphs/shortestpaths/DijkstraHeap.kt | polydisc | 281,633,906 | true | {"Java": 540473, "Kotlin": 515759, "C++": 265630, "CMake": 571} | package graphs.shortestpaths
import java.util.stream.Stream
// https://en.wikipedia.org/wiki/Dijkstra's_algorithm
object DijkstraHeap {
// calculate shortest paths in O(E*log(V)) time and O(E) memory
fun shortestPaths(edges: Array<List<Edge>>, s: Int, prio: IntArray, pred: IntArray) {
Arrays.fill(pred... | 1 | Java | 0 | 0 | 4566f3145be72827d72cb93abca8bfd93f1c58df | 1,847 | codelibrary | The Unlicense |
app/src/main/kotlin/io/github/shadow578/yodel/ui/splash/SplashScreenActivity.kt | shadow578 | 387,132,583 | false | null | package io.github.shadow578.yodel.ui.splash
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import io.github.shadow578.yodel.ui.main.MainActivity
import io.github.shadow578.yodel.util.launchMain
import kotlinx.coroutines.delay
/**
* basic splash- screen activity... | 0 | Kotlin | 0 | 9 | 132f0178422fc3e900348437456d05ee15481bae | 723 | Yodel | Apache License 2.0 |
app/src/main/java/com/dede/android_eggs/main/entity/Egg.kt | user0-07161 | 691,672,633 | false | {"Java Properties": 4, "YAML": 7, "Gradle Kotlin DSL": 6, "Markdown": 9, "Shell": 1, "Batchfile": 1, "Text": 31, "Ruby": 2, "Gemfile.lock": 1, "Ignore List": 22, "SVG": 5, "XML": 818, "Kotlin": 117, "TOML": 1, "Python": 4, "JSON": 2, "Dotenv": 1, "Proguard": 17, "Java": 1609, "Gradle": 15, "JAR Manifest": 1, "Maven POM... | package com.dede.android_eggs.main.entity
import android.app.Activity
import android.content.Context
import android.graphics.drawable.Drawable
import android.os.Bundle
import android.text.SpannableStringBuilder
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import com.dede.android_eggs.R
i... | 1 | null | 1 | 1 | eb428446eef024622f00b3a22f728d5f56368861 | 2,953 | AndroidEasterEggs | Apache License 2.0 |
home-service/src/main/kotlin/ru/handh/homeservice/controller/HomeController.kt | mBayzigitov | 759,726,460 | false | {"Kotlin": 147151, "Java": 847} | package ru.handh.homeservice.controller
import org.springframework.validation.annotation.Validated
import org.springframework.web.bind.annotation.DeleteMapping
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.PathVariable
import org.springframework.web.bind.annot... | 0 | Kotlin | 0 | 0 | bf1fc71d6b4c1feb48fbc770d782cea2ebd6df6d | 1,588 | smart-devices-microservice | MIT License |
wearable-support/src/main/java/healthstack/wearable/support/viewmodel/EcgMainViewModel.kt | S-HealthStack | 520,365,275 | false | {"Kotlin": 900773} | package healthstack.wearable.support.viewmodel
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import healthstack.wearable.support.data.pref.TrackMeasureTimePref
import dagger... | 5 | Kotlin | 19 | 25 | a8fc44c65b482e53e4ef3fb8f539ec731ef59230 | 1,788 | app-sdk | Apache License 2.0 |
app/src/main/java/com/wpf/app/quick/demo/http/TestService.kt | walgr | 487,438,913 | false | {"Kotlin": 427396, "Java": 106045, "Shell": 404} | package com.wpf.app.quick.demo.http
import com.wpf.app.quicknetwork.base.*
import com.wpf.app.quicknetwork.call.RealCall
import com.wpf.app.quicknetwork.helper.RetrofitCreateHelper
inline fun <Data, Fail> request(context: RequestCoroutineScope? = null, run: TestApi.() -> RealCall<Data, Fail>): BaseRequest<Data, Fail>... | 0 | Kotlin | 1 | 6 | ee509f62288fc6a926c2e1b1f944857ed32ef548 | 416 | Quick | MIT License |
src/day25/Code.kt | fcolasuonno | 221,697,249 | false | null | package day25
import java.io.File
fun main() {
val name = if (false) "test.txt" else "input.txt"
val dir = ::main::class.java.`package`.name
val input = File("src/$dir/$name").readLines()
val parsed = parse(input)
println("Part 1 = ${part1(parsed.toMutableList())}")
}
val output = mutableListOf<L... | 0 | Kotlin | 0 | 0 | 73110eb4b40f474e91e53a1569b9a24455984900 | 3,485 | AOC2016 | MIT License |
mobile/shared/src/main/java/dev/trotrohailer/shared/util/location/live/LiveLocationUpdate.kt | quabynah-bilson | 204,245,589 | false | null | package dev.trotrohailer.shared.util.location.live
import android.location.Location
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.*
import com.google.android.gms.common.ConnectionResult
import com.google.android.gms.common.api.GoogleApiClient
import com.google.andro... | 5 | Kotlin | 1 | 0 | fb347931d9ecefe1566f8662028bcf0187de468f | 2,468 | project-trotro-hailer | Apache License 2.0 |
sources/naf_presentation_layer/library/src/androidTest/java/com/github/nikolaymenzhulin/naf_presentation_layer/android_test/presentation/view/fragment/test_data/fragment/view_binding/base/TestViewBindingFragment.kt | NikolayMenzhulin | 360,942,326 | false | null | /*
Copyright © 2021 Nikolay Menzhulin.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... | 0 | Kotlin | 0 | 0 | 5e478b4c0f527913f3f0cc3aa952e120c9275ae3 | 1,792 | NAF | Apache License 2.0 |
shardis-web/src/main/kotlin/com/shardis/config/JpaConfig.kt | dkul108 | 92,852,566 | true | {"Kotlin": 47845, "TypeScript": 38849, "HTML": 2879, "JavaScript": 2024, "Batchfile": 748, "Shell": 659, "CSS": 80} | package com.shardis.config
import com.shardis.support.security.SecurityUtils
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.data.domain.AuditorAware
import org.springframework.data.jpa.repository.config.EnableJpaAuditing
@Confi... | 0 | Kotlin | 0 | 0 | 95585b7c47579a2c66a3e5fbeb0b232ebf02e536 | 586 | shardis | Apache License 2.0 |
src/commonMain/kotlin/Container.kt | tomuvak | 504,971,567 | false | {"Kotlin": 52872, "Shell": 643} | package com.tomuvak.optional
import com.tomuvak.optional.Optional.None
import com.tomuvak.optional.Optional.Value
fun <T, R> Optional<T>.map(transform: (T) -> R): Optional<R> = switch(None) { Value(transform(it)) }
fun <T, R> Optional<T>.flatMap(transform: (T) -> Optional<R>): Optional<R> = switch(None, transform)
fu... | 0 | Kotlin | 0 | 0 | 367dae6e8bcc393309f381968de0fbfcff6db63f | 1,094 | optional | MIT License |
app/src/main/java/datanapps/recycleviewexample/utils/LayoutUtils.kt | datanapps | 398,742,055 | false | null | package datanapps.example.utils
import android.graphics.Bitmap
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.core.content.ContextCompat
import androidx.palette.graphics.Palette
import datanapps.recycleviewexample.R
import android.graphics.drawable.BitmapDrawable
import android.graphics.drawa... | 0 | Kotlin | 0 | 2 | 621ccafc680604560d9023469ed17f5762608ea0 | 809 | RecycleViewExample | Apache License 2.0 |
wear/src/main/java/audio/omgsoundboard/presentation/ui/main/MainScreen.kt | OMGSoundboard | 72,438,238 | false | {"Kotlin": 214441, "HTML": 30981, "Dockerfile": 709} | package audio.omgsoundboard.presentation.ui.main
import android.widget.Toast
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
import... | 3 | Kotlin | 4 | 21 | 0faef380ed935dcbe5e7fb87f5a3f601388f51d8 | 2,548 | android-app | Apache License 2.0 |
app/src/main/java/my/nanihadesuka/lazycolumnscrollbar/MainActivity.kt | nanihadesuka | 400,096,135 | false | {"Kotlin": 101407} | package my.nanihadesuka.lazycolumnscrollbar
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import android... | 4 | Kotlin | 12 | 97 | 98962054315d25bd4df9a877ce15ef3154eff0c2 | 8,752 | LazyColumnScrollbar | MIT License |
app/src/main/java/ru/ekbtrees/treemap/ui/TreeTapListener.kt | dienyaaa | 355,126,052 | true | {"Kotlin": 8056} | package ru.ekbtrees.treemap.ui
import android.widget.Toast
import com.yandex.mapkit.geometry.Point
import com.yandex.mapkit.map.MapObject
import com.yandex.mapkit.map.MapObjectTapListener
class TreeTapListener : MapObjectTapListener{
override fun onMapObjectTap(p0: MapObject, p1: Point): Boolean {
val dat... | 0 | Kotlin | 0 | 0 | c6097eea7daf2e51906453c39fdca25029c98b97 | 701 | ekbtrees-android | MIT License |
app/src/main/java/com/hci/tom/android/network/SendExerciseDataWorker.kt | TOM-Platform | 837,201,728 | false | {"Kotlin": 154904} | package com.hci.tom.android.network
import ExerciseWearOsDataOuterClass
import android.content.Context
import android.util.Log
import androidx.work.Worker
import androidx.work.WorkerParameters
import com.google.protobuf.ByteString
import com.google.protobuf.MessageLite
import com.hci.tom.android.db.ExerciseData
import... | 0 | Kotlin | 0 | 1 | baa0ffa4d3fb4e16490f2860f54b18247dbc5a8c | 7,154 | TOM-Client-WearOS | MIT License |
responses/src/commonMain/kotlin/ru/krindra/vkkt/responses/messages/MessagesMarkAsImportantDeprecatedResponse.kt | krindra | 780,080,411 | false | {"Kotlin": 1336107} | package ru.krindra.vkkt.responses.messages
import ru.krindra.vkkt.objects.messages.*
typealias MessagesMarkAsImportantDeprecatedResponse = List<Int>
| 0 | Kotlin | 0 | 1 | 58407ea02fc9d971f86702f3b822b33df65dd3be | 151 | VKKT | MIT License |
gara-photo-app-server/src/main/kotlin/org/contourgara/garaphotospringboot/infrastructure/PhotoRepositoryImpl.kt | contour-gara | 783,416,988 | false | {"Kotlin": 67535, "Dockerfile": 808, "Shell": 611} | package org.contourgara.garaphotospringboot.infrastructure
import org.contourgara.garaphotospringboot.domain.Media
import org.contourgara.garaphotospringboot.domain.infrastructure.PhotoRepository
import org.springframework.core.io.support.PathMatchingResourcePatternResolver
import org.springframework.stereotype.Compon... | 0 | Kotlin | 0 | 1 | 6f43844b0d3cbc1d0d52920dfc37fb6445db7d99 | 561 | gara-photo-spring-boot | Creative Commons Zero v1.0 Universal |
spring-web/src/main/kotlin/us/venky/library/springweb/services/MemberService.kt | ramana-git | 580,225,190 | false | null | package us.venky.library.springweb.services
import org.springframework.stereotype.Service
import us.venky.library.springweb.entities.Member
import us.venky.library.springweb.repository.MemberRepository
import java.util.*
@Service
class MemberService(private val repo: MemberRepository) {
fun get(): List<Member> {
... | 0 | Kotlin | 0 | 0 | 782005f51cf583445281ea20e37160951d52843b | 1,291 | library | MIT License |
app/src/main/java/com/wzz/firstlinecode/chapter09/kotlin/infix.kt | weigg520 | 489,902,751 | false | null | package com.wzz.firstlinecode.chapter09.kotlin
import androidx.core.content.contentValuesOf
/**
* @ClassName infix
* @Description TODO
* @Author Lenovo
* @Date 2022/7/4 14:58
* @Version 1.0
*/
infix fun String.beginsWith(prefix : String) = startsWith(prefix)
infix fun <T> Collection<T>.has(element:T) = contains... | 0 | Kotlin | 0 | 0 | 7a10fe1d876f8a7f7ec55ad414c1823e24400b2b | 556 | FirsLineCode | Apache License 2.0 |
tl/src/main/kotlin/com/github/badoualy/telegram/tl/api/updates/TLAbsChannelDifference.kt | Miha-x64 | 436,587,061 | true | {"Kotlin": 3919807, "Java": 75352} | package com.github.badoualy.telegram.tl.api.updates
import com.github.badoualy.telegram.tl.core.TLObject
/**
* Abstraction level for the following constructors:
* * [updates.channelDifference#2064674e][TLChannelDifference]
* * [updates.channelDifferenceEmpty#3e11affb][TLChannelDifferenceEmpty]
* * [updates.channe... | 1 | Kotlin | 2 | 3 | 1a8963dce921c1e9ef05b9d1e56d8fbcb1ea1c4b | 626 | kotlogram-resurrected | MIT License |
app/src/main/java/io/cricket/app/data/database/database_tables/Tables.kt | amirishaque | 375,128,729 | false | null | package io.cricket.app.data.database.database_tables
import android.os.Parcelable
import androidx.room.Entity
import androidx.room.PrimaryKey
import io.cricket.app.data.database.*
import io.cricket.app.utils.Constants.CAN_UNDO_STATUS
import io.cricket.app.utils.Constants.NOT_OUT
import kotlinx.android.parcel.Parcelize... | 0 | Kotlin | 0 | 0 | 42808ddd775b5ac6f7bff0d8cf518091588df844 | 4,120 | Cricklub_livecode | MIT License |
app/src/main/java/net/rolodophone/covidsim/Player.kt | Rolodophone | 260,254,346 | false | null | package net.rolodophone.covidsim
import android.graphics.Bitmap
import android.graphics.RectF
import android.os.SystemClock
import net.rolodophone.core.*
import kotlin.math.abs
import kotlin.math.atan
import kotlin.math.pow
import kotlin.math.sqrt
class Player(override val window: GameWindow) : Object {
override ... | 0 | Kotlin | 0 | 0 | 1b280f30369f2c09fcaabae564a4ed7919bdceba | 9,024 | bog-roll-run | Creative Commons Attribution 4.0 International |
app/src/main/java/net/rolodophone/covidsim/Player.kt | Rolodophone | 260,254,346 | false | null | package net.rolodophone.covidsim
import android.graphics.Bitmap
import android.graphics.RectF
import android.os.SystemClock
import net.rolodophone.core.*
import kotlin.math.abs
import kotlin.math.atan
import kotlin.math.pow
import kotlin.math.sqrt
class Player(override val window: GameWindow) : Object {
override ... | 0 | Kotlin | 0 | 0 | 1b280f30369f2c09fcaabae564a4ed7919bdceba | 9,024 | bog-roll-run | Creative Commons Attribution 4.0 International |
src/main/kotlin/nl/nielsvanhove/githistoricalstats/measurements/ClocExecutor.kt | nielsz | 390,751,207 | false | null | package nl.nielsvanhove.githistoricalstats.measurements
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonObject
import kotlinx.serialization.json.jsonPrimitive
import nl.nielsvanhove.githistoricalstats.core.CommandExecutor
import nl.nielsvanhove.githistoricalstats.measurements.MeasurementCo... | 0 | Kotlin | 0 | 5 | bd3254f18bcdcd119a17a197153a1db3a5c7fb6e | 1,212 | git-historical-stats | MIT License |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/filled/CircleNumber3.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.tabler.tabler.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.S... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,707 | compose-icon-collections | MIT License |
compiler-ksp/src/main/java/com/bennyhuo/tieguanyin/compiler/ksp/utils/Extensions.kt | bennyhuo | 119,345,142 | false | {"Kotlin": 186984, "Java": 138272, "Shell": 724, "PowerShell": 417} | package com.bennyhuo.tieguanyin.compiler.ksp.utils
import com.bennyhuo.tieguanyin.annotations.PendingTransition
fun PendingTransition.isDefault(): Boolean {
return enterAnim == PendingTransition.DEFAULT && exitAnim == PendingTransition.DEFAULT
}
| 0 | Kotlin | 27 | 183 | 74cfc86f2cdf4bbb5ab6dd82bc3c568d78386d29 | 252 | TieGuanYin | Apache License 2.0 |
utbot-framework/src/main/kotlin/org/utbot/framework/context/custom/RerunningConcreteExecutionContext.kt | UnitTestBot | 480,810,501 | false | {"Kotlin": 6538839, "Java": 2209528, "Python": 174619, "Go": 99696, "C#": 80947, "JavaScript": 42483, "Shell": 15961, "HTML": 8704, "Batchfile": 8586, "Dockerfile": 2059} | package org.utbot.framework.context.custom
import kotlinx.coroutines.runBlocking
import mu.KotlinLogging
import org.utbot.engine.executeConcretely
import org.utbot.framework.UtSettings
import org.utbot.framework.context.ConcreteExecutionContext
import org.utbot.framework.plugin.api.ExecutableId
import org.utbot.framew... | 415 | Kotlin | 38 | 131 | 2b37f0736eabf4444a9e86be2a9a424dbc2bb111 | 2,859 | UTBotJava | Apache License 2.0 |
domain/tmdb-shows/src/main/java/io/filmtime/domain/tmdb/shows/impl/GetEpisodesBySeasonUseCaseImpl.kt | moallemi | 633,160,161 | false | {"Kotlin": 522936, "Shell": 3102} | package io.filmtime.domain.tmdb.shows.impl
import io.filmtime.data.model.EpisodeThumbnail
import io.filmtime.data.model.GeneralError
import io.filmtime.data.model.Result
import io.filmtime.data.tmdb.shows.TmdbShowsRepository
import io.filmtime.domain.tmdb.shows.GetEpisodesBySeasonUseCase
import javax.inject.Inject
in... | 21 | Kotlin | 14 | 87 | ad3eeed30bed20216a9fa12e34f06e43b70a74cc | 642 | Film-Time | MIT License |
src/main/kotlin/eZmaxApi/apis/ObjectEzsigntemplatesignerApi.kt | eZmaxinc | 271,950,932 | false | null | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package eZmaxApi.apis
import java.io.IOExceptio... | 0 | Kotlin | 0 | 0 | 775bfa1e6452d8ba1c6c4d7e1781b0977f5301b0 | 19,500 | eZmax-SDK-kotlin | MIT License |
app/src/main/java/com/thenishchalraj/jetpackcomposelivestream/model/CommentsData.kt | thenishchalraj | 595,458,531 | false | null | package com.thenishchalraj.jetpackcomposelivestream.model
data class CommentsData(
val avatar: Int,
val name: String,
val comment: String
)
| 0 | Kotlin | 0 | 1 | 2d17cc386084f5dbcc34830b6bae22ee41ab9517 | 153 | Jetpack-Compose-LIVE-Stream | Apache License 2.0 |
web/src/main/kotlin/top/bettercode/summer/web/error/CustomErrorController.kt | top-bettercode | 387,652,015 | false | {"Kotlin": 3010960, "Java": 24119, "JavaScript": 22541, "CSS": 22336, "HTML": 15833} | package top.bettercode.summer.web.error
import org.slf4j.LoggerFactory
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.beans.factory.annotation.Qualifier
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
import org.springframework.boot.autoconfigu... | 0 | Kotlin | 0 | 1 | 98b2b930bcf4addab63ec219c7cca4d4f39d9861 | 4,314 | summer | Apache License 2.0 |
src/main/kotlin/app/web/drjacky/anticaptcha/api/RecaptchaV3EnterpriseProxyless.kt | Drjacky | 531,616,505 | false | {"Kotlin": 92433} | package app.web.drjacky.anticaptcha.api
import app.web.drjacky.anticaptcha.apiresponse.TaskResultResponse
import app.web.drjacky.anticaptcha.helper.DebugHelper
import org.json.JSONException
import org.json.JSONObject
class RecaptchaV3EnterpriseProxyless : RecaptchaV3Proxyless() {
override fun getPostData(): JSON... | 0 | Kotlin | 2 | 3 | 41bf9cc2ee324230f0f83adbef98086fc0f4c324 | 732 | anticaptcha-kotlin | MIT License |
app/src/main/java/com/example/pokemongo/model/ItemLib.kt | FarmBera | 715,438,873 | false | {"Kotlin": 35431} | package com.example.pokemongo.model
data class ItemLib(val imageUrl: String, val bool: Boolean) {
} | 0 | Kotlin | 0 | 0 | b7b1b29adfc5d1a70184b2c1e00618bfca797d91 | 101 | PokemonGo | MIT License |
json/src/main/java/de/markusressel/kodehighlighter/language/json/rule/NumericRule.kt | markusressel | 167,466,321 | false | {"Kotlin": 113203, "Python": 19475, "OCaml": 10026, "Shell": 2354, "Makefile": 156} | package de.markusressel.kodehighlighter.language.json.rule
import de.markusressel.kodehighlighter.core.rule.LanguageRule
import de.markusressel.kodehighlighter.core.rule.RuleHelper
import de.markusressel.kodehighlighter.core.rule.RuleMatch
class NumericRule : LanguageRule {
override fun findMatches(text: CharSeq... | 12 | Kotlin | 3 | 19 | 8811982b1f35ff3b43d4885b01b2781e1e30815b | 524 | KodeHighlighter | MIT License |
app/src/main/java/com/gcc/gccapplication/ui/activity/LoginActivity.kt | hanyarui | 836,702,073 | false | {"Kotlin": 193146} | package com.gcc.gccapplication.ui.activity
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.widget.Toast
import androidx.activity.enableEdgeToEdge
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import com.gcc.gccapplication.data.local.Us... | 0 | Kotlin | 0 | 0 | 0afd0e392d550506ba318fadac7d0d21637c56b3 | 3,572 | GCC-Application | MIT License |
server/src/test/kotlin/io/rippledown/model/rule/IsNumericSuggestionTest.kt | TimLavers | 513,037,911 | false | {"Kotlin": 1309914, "Gherkin": 117611} | package io.rippledown.model.rule
import io.kotest.matchers.shouldBe
import io.rippledown.model.condition.isNumeric
import io.rippledown.model.condition.rr
import io.rippledown.model.condition.tr
import kotlin.test.Test
class IsNumericSuggestionTest: ConditionFactoryTestBase() {
@Test
fun suggestion() {
... | 0 | Kotlin | 0 | 0 | 4d3a0820aa4d27b84e9e07159e877fe9ada47bdb | 688 | OpenRDR | MIT License |
Chapter03/src/main/kotlin/com/rivuchk/packtpub/reactivekotlin/chapter03/SubscribeExmpl.kt | tymicki | 175,694,440 | true | {"Kotlin": 121444} | package com.rivuchk.packtpub.reactivekotlin.chapter03
import io.reactivex.Observable
import io.reactivex.Observer
import io.reactivex.disposables.Disposable
fun main() {
val observable: Observable<Int> = Observable.range(1, 5)//1
observable.subscribe({
//2
//onNext method
println("Nex... | 0 | Kotlin | 0 | 0 | 143e1bd1473c6da3fb3fe1b9373124052f87874d | 962 | Reactive-Programming-in-Kotlin | MIT License |
app/src/main/java/com/example/ingressolive/Adapter/AdapterProduto.kt | joaopedrovr91 | 480,575,322 | false | {"Kotlin": 4217} | package com.example.ingressolive.Adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.example.ingressolive.R
import com... | 0 | Kotlin | 0 | 0 | a3bc66462b40a2f50afbd9d666ac5770ee806f75 | 1,624 | Layout_ingressolive | RSA Message-Digest License |
transport/src/androidTest/kotlin/com/genesys/cloud/messenger/transport/core/MessageExtensionTest.kt | MyPureCloud | 425,920,457 | false | {"Kotlin": 651315, "Swift": 113325, "Shell": 5872, "Ruby": 4062} | package com.genesys.cloud.messenger.transport.core
import assertk.assertThat
import assertk.assertions.containsExactly
import assertk.assertions.isEmpty
import assertk.assertions.isEqualTo
import assertk.assertions.isFalse
import assertk.assertions.isNull
import assertk.assertions.isTrue
import com.genesys.cloud.messe... | 2 | Kotlin | 6 | 9 | 62ae0018724192357dbfa337153f425c7c792511 | 25,543 | genesys-messenger-transport-mobile-sdk | MIT License |
app/src/main/kotlin/com/gunkel/android/drift/DriftApp.kt | FabioGunkel | 587,782,229 | false | {"Kotlin": 12005} | package com.gunkel.android.drift
import android.app.Application
class DriftApp : Application() {
init {
}
} | 3 | Kotlin | 0 | 0 | a1f9ad44b3fac0b1ea0d1363f8531a024c94b02a | 119 | drift | Apache License 2.0 |
app/src/main/java/com/example/urbancart/home/list/UiProductEpoxyModel.kt | preetishsrivastav | 732,448,084 | false | {"Kotlin": 73235} | package com.example.urbancart.home.list
import androidx.core.view.isGone
import androidx.core.view.isInvisible
import androidx.core.view.isVisible
import coil.load
import com.example.urbancart.R
import com.example.urbancart.databinding.EpoxyModelProductItemBinding
import com.example.urbancart.epoxy.ViewBindingKotlinMo... | 0 | Kotlin | 0 | 1 | 82d1917c13c15bf633169e682993e9ddfab960db | 2,674 | UrbanCart | MIT License |
BaseStudy/app/src/main/java/com/gredicer/basestudy/ui/LaunchActivity.kt | Gredicer | 447,598,319 | false | null | package com.gredicer.basestudy.ui
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.gredicer.basestudy.MainActivity
import com.gredicer.basestudy.base.BaseBindingActivity
import com.gredicer.basestudy.databinding.ActivityLaunchBinding
class LaunchActivit... | 0 | Kotlin | 0 | 0 | 62a25689607d2342b76b41250864bb20caee251f | 732 | AndroidStudy | Apache License 2.0 |
app/src/main/java/info/degirona/creativelab/node/experiment/ExperimentNode.kt | manuel-martos | 576,757,261 | false | null | package info.degirona.creativelab.node.experiment
import com.bumble.appyx.core.modality.BuildContext
import com.bumble.appyx.core.node.Node
import com.bumble.appyx.interop.rx2.connectable.Connectable
import com.bumble.appyx.interop.rx2.connectable.NodeConnector
internal class ExperimentNode(
buildContext: BuildCo... | 0 | Kotlin | 5 | 98 | 80ab274cbd87b864da95fa22cb623628d77fa848 | 514 | creative-lab | MIT License |
androidauto/src/main/java/com/mapbox/navigation/ui/androidauto/navigation/speedlimit/CarSpeedLimitRenderer.kt | mapbox | 87,455,763 | false | {"Kotlin": 8885438, "Makefile": 8762, "Python": 7925, "Java": 4624} | package com.mapbox.navigation.ui.androidauto.navigation.speedlimit
import android.graphics.Rect
import androidx.annotation.VisibleForTesting
import com.mapbox.maps.EdgeInsets
import com.mapbox.maps.MapboxExperimental
import com.mapbox.maps.extension.androidauto.MapboxCarMapObserver
import com.mapbox.maps.extension.and... | 508 | Kotlin | 318 | 621 | 88163ae3d7e34948369d6945d5b78a72bdd68d7c | 7,528 | mapbox-navigation-android | Apache License 2.0 |
app/src/main/java/com/github/ferum_bot/bookreuse/ui/activity/CreatingNewStuffActivity.kt | Ferum-bot | 337,029,384 | false | null | package com.github.ferum_bot.bookreuse.ui.activity
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.github.ferum_bot.bookreuse.R
/**
* Created by <NAME>.
* Date: 25.02.2021
* Time: 23:28
* Project: BookReuse
*/
class CreatingNewStuffActivity: AppCompatActivity() {
override... | 0 | Kotlin | 0 | 0 | cd3344d5f4d971595f99eb519ed3859df0325f6a | 476 | BookReuse | Apache License 2.0 |
health-services/PassiveDataCompose/app/src/main/java/com/example/passivedatacompose/presentation/HeartRateCard.kt | android | 368,660,859 | false | {"Kotlin": 597723} | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 25 | Kotlin | 147 | 262 | 74624d210086d1198953b089688794704254304e | 2,719 | health-samples | Apache License 2.0 |
Section 3/SelectCategoriesActivity.kt | PacktPublishing | 187,827,530 | false | null | package com.markodevcic.newsreader.categories
import android.app.Activity
import android.os.Bundle
import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
import com.markodevcic.newsreader.R
import com.markodevcic.newsreader.injection.Injector
import kotlinx.android.synthetic.main.layout_ca... | 0 | Kotlin | 2 | 7 | c7e5ab27b6747915fdeb03c925ba0582a3caa693 | 1,319 | Kotlin-in-Practice | MIT License |
src/main/kotlin/com.highthunder.kotlr/types/Colors.kt | Emamatcyber90 | 189,778,198 | true | {"Kotlin": 500099} | package com.highthunder.kotlr.types
import com.squareup.moshi.JsonClass
/**
* Colors - TODO: Documentation
*
* TODO: Figure out how to use an adapter to back this with an array.
* @author highthunder
* @since 10/27/18
* @version 1.0.0
*/
@JsonClass(generateAdapter = true)
data class Colors(
var c0: Str... | 0 | Kotlin | 0 | 0 | 5d7a671ac9fe68f061a52d19bf0ff7ef8e3dc7c8 | 622 | kotlr | MIT License |
app/src/main/java/com/architectcoders/aacboard/ui/activities/MainNavHostActivity.kt | fesave | 616,599,477 | false | null | package com.architectcoders.aacboard.ui.activities
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.AppBarConfiguration
import androidx.navigation.ui.setupWithNavController
import com.architectcoders.aacboard.R
im... | 7 | Kotlin | 0 | 0 | e76c7eb9e9ae08e85ab6daa5126707eda6b747be | 1,090 | AAC-Board | Apache License 2.0 |
lib/src/main/kotlin/com/vinaysshenoy/oklognet/db/NetLogDao.kt | vinaysshenoy | 117,660,281 | false | null | package com.vinaysshenoy.oklognet.db
import android.arch.persistence.room.Dao
import android.arch.persistence.room.Insert
import android.arch.persistence.room.OnConflictStrategy
import android.arch.persistence.room.Query
/**
* Created by vinaysshenoy on 16/01/18.
*/
@Dao
internal interface NetLogDao {
@Insert(... | 0 | Kotlin | 0 | 0 | 4d4f57a060adf89fc071ac5df546ebee89e79f37 | 476 | OkLogNet | Apache License 2.0 |
core/utils/src/main/java/com/griffin/core/utils/mmkv/BaseMV.kt | Chen-Xi-g | 769,860,561 | false | {"Kotlin": 241849} | package com.griffin.core.utils.mmkv
/**
* 持久化数据
*/
object BaseMV {
object System: Delegates(){
override fun zoneId(): String {
return "system"
}
/**
* 是否第一次启动
*/
var isFirst by boolean(true)
}
object User: Delegates(){
override fun... | 0 | Kotlin | 0 | 1 | ab3507211daafe8c117bac67d6eedf03473821d4 | 456 | VerveLedger | MIT License |
app/src/main/java/dev/dai/bloom/data/PlantTheme.kt | Dai1678 | 347,076,603 | false | null | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | da7bad378623fd2c0aca689488d4c6df7f87ff0a | 1,101 | Bloom | Apache License 2.0 |
src/main/kotlin/com/myapp/repository/RelatedUserRepositoryImpl.kt | springboot-angular2-tutorial | 46,042,914 | false | null | package com.myapp.repository
import com.myapp.domain.RelatedUser
import com.myapp.domain.UserStats
import com.myapp.dto.request.PageParams
import com.myapp.generated.tables.Relationship.RELATIONSHIP
import com.myapp.generated.tables.User.USER
import com.myapp.generated.tables.UserStats.USER_STATS
import org.jooq.DSLCo... | 2 | Kotlin | 46 | 115 | c6daf1df3dcb06813bbeb9096e5a5672c58481a7 | 2,079 | boot-app | MIT License |
app/src/main/java/com/app/lingcompanion/ui/home/HomeFragment.kt | nuochka | 772,680,081 | false | {"Kotlin": 82244} | package com.app.lingcompanion.ui.home
import android.content.Context
import android.content.SharedPreferences
import android.graphics.Color
import android.os.AsyncTask
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import ... | 0 | Kotlin | 0 | 0 | ff8039911342124583cf8cd76215822766fe696e | 8,382 | LingCompanion | Apache License 2.0 |
app/src/main/java/com/ingoox/clicktochat/MainActivity.kt | pabloks97 | 368,352,351 | false | {"Kotlin": 10888} | package com.ingoox.clicktochat
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.animation.animateContentSize
import androidx.compose.foundation.layo... | 0 | Kotlin | 0 | 1 | 5316b6229226738f71e501824d823af5a1d5250a | 7,456 | click-to-chat | MIT License |
HorizontalCalendarX/src/main/java/io/github/binishmanandhar23/horizontalcalendarx/utils/SnapToBlock.kt | binishmanandhar23 | 370,451,127 | false | null | package io.github.binishmanandhar23.horizontalcalendarx.utils
import android.util.DisplayMetrics
import android.util.Log
import android.view.View
import android.view.animation.Interpolator
import android.widget.Scroller
import androidx.core.view.ViewCompat
import androidx.recyclerview.widget.*
import kotlin.math.abs
i... | 0 | Kotlin | 0 | 0 | 92a22c83a9da8bd8f43322390be986ebd82016fc | 13,879 | HorizontalCalendarX | Apache License 2.0 |
src/main/kotlin/core/component/physics/CircleCollisionBoxComponent.kt | nflsilva | 521,306,727 | false | {"Kotlin": 72548, "GLSL": 3784} | package core.component.physics
import core.BaseEntity
import core.component.BaseComponent
import core.dto.UpdateContext
import physics.dto.CircleCollisionBox
import physics.dto.CollisionContext
import java.util.*
class CircleCollisionBoxComponent(entityId: UUID, private val centered: Boolean = true): BaseComponent(en... | 0 | Kotlin | 0 | 0 | 5047a234767efda80c0afec990bf27aec5b8effd | 852 | 2DGT | MIT License |
KotlinTest/app/src/test/java/com/example/kotlintest/SampleServiceForStringSpecTest.kt | sahara-ooga | 217,847,767 | false | null | package com.example.kotlintest
import io.kotlintest.matchers.shouldBe
import io.kotlintest.specs.StringSpec
class SampleServiceForStringSpecTest: StringSpec() {
init {
val service = SampleService()
"executeでparamが1の場合oneが返る" {
service.execute(1) shouldBe "one"
}
}
}
| 0 | Kotlin | 0 | 0 | 7ef68447df638bbd230bd298d6c3e456fbe4a203 | 315 | Kotlin-Sample | MIT License |
src/main/kotlin/com/davideagostini/di/MainModule.kt | davideagostini | 433,145,293 | false | {"Kotlin": 37112} | package com.davideagostini.di
import com.davideagostini.data.repository.category.CategoryRepository
import com.davideagostini.data.repository.category.CategoryRepositoryImpl
import com.davideagostini.data.repository.note.NoteRepository
import com.davideagostini.data.repository.note.NoteRepositoryImpl
import com.davide... | 0 | Kotlin | 0 | 3 | f8a1eafcc796f4e0e442caccc41e3c33f7c38340 | 1,265 | notyze | Apache License 2.0 |
app/src/main/java/com/solocatapps/mvvmproductlistapp/service/ProductApi.kt | abdurrahimkizilkaya | 624,117,768 | false | null | package com.solocatapps.mvvmproductlistapp.service
import com.solocatapps.mvvmproductlistapp.model.ProductResponse
import com.solocatapps.mvvmproductlistapp.util.Constants.GET_ALL_PRODUCTS
import io.reactivex.rxjava3.core.Single
import retrofit2.http.GET
interface ProductApi {
@GET(GET_ALL_PRODUCTS)
fun getA... | 0 | Kotlin | 0 | 0 | bd8ce0b4f02b6728cd6a82dc716af084c2957bc2 | 360 | MVVM_Retrofit_RxJava_ProductApp | MIT License |
androidApp/src/main/java/com/amsavarthan/note/android/screens/notesList/NotesListScreen.kt | amsavarthan | 574,365,043 | false | {"Kotlin": 43830, "Swift": 10071} | package com.amsavarthan.note.android.screens.notesList
import android.annotation.SuppressLint
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
impo... | 0 | Kotlin | 1 | 3 | 7cdcf6564c712e345a3f3d8f29324490bfb8dcb4 | 4,065 | NotesKmm | MIT License |
src/main/kotlin/CEffectLightning.kt | argcc | 777,572,651 | false | {"Kotlin": 451601} | package org.example
class CEffectLightning : CEffect() {
override fun GetTypeId(): UInt {
return 0x4du
}
} | 0 | Kotlin | 0 | 0 | 7e58b1b74515577b14423443009bc2d04594184a | 124 | ei_reverse_consp | MIT License |
me-api/src/main/kotlin/shop/hyeonme/domain/exercise/service/ExerciseService.kt | TEAM-hyeonme | 776,784,109 | false | {"Kotlin": 120635, "Dockerfile": 204} | package shop.hyeonme.domain.exercise.service
import shop.hyeonme.common.annotation.FacadeService
@FacadeService
class ExerciseService(
commandExerciseService: CommandExerciseService,
queryExerciseService: QueryExerciseService
) : CommandExerciseService by commandExerciseService,
QueryExerciseService by qu... | 0 | Kotlin | 0 | 0 | 646621f5577418523de44ed3a229d19879ee7193 | 338 | ME-server | MIT License |
core/src/main/kotlin/project/ProjectStorage.kt | amplitude | 519,022,661 | false | {"Kotlin": 112962, "Makefile": 531, "Dockerfile": 342} | package com.amplitude.project
import com.amplitude.RedisConfiguration
import com.amplitude.util.RedisConnection
import com.amplitude.util.RedisKey
import kotlinx.coroutines.channels.BufferOverflow
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.sync.Mutex
... | 0 | Kotlin | 1 | 0 | 7cb7f042beabb60cb61b48940cf72a46f1278216 | 2,366 | evaluation-proxy | MIT License |
app/src/main/java/com/theapache64/reky/data/local/model/Contact.kt | theapache64 | 371,929,313 | false | null | package com.theapache64.reky.data.local.model
/**
* Created by theapache64 : May 31 Mon,2021 @ 02:47
*/
data class Contact(
val id: String?,
val name: String,
val number: String?
)
| 1 | Kotlin | 2 | 12 | 2200ff8061809c012d7f018fc602dd9f757592d8 | 196 | reky | Apache License 2.0 |
src/test/kotlin/io/taff/spek/expekt/iterable/ContainSpek.kt | tpasipanodya | 352,117,533 | false | {"Kotlin": 45617, "Shell": 426} | package io.taff.spek.expekt.iterable
import io.taff.spek.expekt.should
import io.taff.spek.expekt.shouldNot
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.specification.describe
object ContainSpek : Spek({
val actual by memoized { listOf(1, 2) }
val expected by memoized { listOf(1, ... | 0 | Kotlin | 0 | 1 | 76230f7ddc4796dc67e492fd1f58f07d84bcd035 | 3,559 | spek-expekt | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.