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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/techflow/materialcolor/activity/CustomColorActivity.kt | dilipsuthar97 | 199,159,898 | false | null | package com.techflow.materialcolor.activity
import android.graphics.Color
import android.os.Bundle
import android.view.MenuItem
import android.widget.SeekBar
import androidx.databinding.DataBindingUtil
import com.google.android.material.appbar.MaterialToolbar
import com.techflow.materialcolor.MaterialColor
import com.... | 0 | Kotlin | 0 | 2 | 6bf777391ba70869507b1f57a2486c7c00170abf | 6,762 | MaterialColor | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Cocktail.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,603 | icons | MIT License |
src/main/kotlin/ch/sourcemotion/vertx/gradle/hermes/generate/messagecodec/MessageCodecGeneratorException.kt | wem | 394,379,123 | false | null | package ch.sourcemotion.vertx.gradle.hermes.generate.messagecodec
import ch.sourcemotion.vertx.gradle.hermes.plugin.HermesException
class MessageCodecGeneratorException(message: String, cause: Throwable? = null) : HermesException(message, cause) | 2 | Kotlin | 0 | 0 | 1a65a5e7754272b361a4c23e63801b464cc87309 | 247 | vertx-hermes-gradle-plugin | MIT License |
app/src/main/java/com/example/tentanganak/items_menu/KonsultasiActivity.kt | NugrahAnggara | 744,368,049 | false | {"Kotlin": 29177} | package com.example.tentanganak.items_menu
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.tentanganak.R
class KonsultasiActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentVi... | 0 | Kotlin | 0 | 6 | 476eacb66233983108c70df943d79144ffadce43 | 360 | Tentang-Anak | MIT License |
modules/domain_app_settings/src/main/java/kekmech/ru/domain_app_settings/AppSettings.kt | alexberdreal | 312,900,118 | true | {"Kotlin": 408124, "Shell": 46} | package kekmech.ru.domain_app_settings
interface AppSettings {
// all app
val isDarkThemeEnabled: Boolean
val isSnowEnabled: Boolean
// schedule
val changeDayAfterChangeWeek: Boolean
// map
val autoHideBottomSheet: Boolean
} | 0 | null | 0 | 0 | 44324701b5e121bfca3fc854d3f84dffbe8ae90c | 255 | mpeiapp | MIT License |
colleges/rutgers/src/jvmMain/kotlin/io/github/opletter/courseevals/rutgers/data/soc/SOCData.kt | opLetter | 597,896,755 | false | {"Kotlin": 390993} | package io.github.opletter.courseevals.rutgers.data.soc
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class SOCData(
val buildings: List<Building>,
val coreCodes: List<CoreCodeSimple>,
val currentTermDate: CurrentTermDate,
val subjects: List<Desc... | 0 | Kotlin | 1 | 7 | 76721f932a99a0ce5803c8ef880705e0bb2e3481 | 396 | course-evals | MIT License |
src/test/kotlin/org/cryptobiotic/verificabitur/reader/PoSCommitmentTest.kt | JohnLCaron | 754,705,115 | false | {"Kotlin": 363510, "Java": 246365, "Shell": 7749, "C": 5751, "JavaScript": 2517} | package org.cryptobiotic.verificabitur.reader
import electionguard.core.*
import kotlin.test.Test
import kotlin.test.assertEquals
class PoSCommitmentTest {
val inputDir = "src/test/data/working/bb/vf/mix1/proofs"
val group = productionGroup()
@Test
fun testReadPoSCommitment1() {
val pc = rea... | 0 | Kotlin | 0 | 0 | 63de19eb8ca2fb2b2d3286213b71c71097ab1d85 | 408 | egk-mixnet-vmn | MIT License |
imagepickerlibrary/src/main/java/com/app/imagepickerlibrary/ui/adapter/FolderAdapter.kt | SimformSolutionsPvtLtd | 346,382,920 | false | {"Kotlin": 103454} | package com.app.imagepickerlibrary.ui.adapter
import androidx.databinding.ViewDataBinding
import com.app.imagepickerlibrary.R
import com.app.imagepickerlibrary.databinding.ListItemFolderBinding
import com.app.imagepickerlibrary.listener.ItemClickListener
import com.app.imagepickerlibrary.model.Folder
/**
* FolderAda... | 3 | Kotlin | 35 | 279 | 58308d1a9cda7e8880883992df28bc6cfb11f000 | 808 | SSImagePicker | Apache License 2.0 |
react-native/src/jsTest/kotlin/CacheAsyncStorageTest.kt | aSoft-Ltd | 629,808,228 | false | {"Kotlin": 21759} | import keep.CacheAsyncStorage
import keep.internal.AbstractCacheTest
import kommander.expect
import kotlin.test.Test
class CacheAsyncStorageTest : AbstractCacheTest(CacheAsyncStorage()) {
@Test
fun should_be_using_an_async_storage_cache() {
expect(cache.toString()).toBe("CacheAsyncStorage(namespace=a... | 0 | Kotlin | 0 | 0 | dc9c1f4db2bebe237978fb1094ddca420bdd8997 | 333 | keep | MIT License |
src/commonMain/kotlin/com/ogm/kotlin/discriminatedunion/IQuadDiscriminatedUnion.kt | ogmaresca | 707,885,286 | false | {"Kotlin": 266889} | package com.ogm.kotlin.discriminatedunion
/**
* A discriminated union with 3 possible types
* @see <a href="https://en.wikipedia.org/wiki/Tagged_union">Tagged Union</a>
* @see [TriDiscriminatedUnion] for the implementation
*/
interface IQuadDiscriminatedUnion<T1, T2, T3, T4> : ITriDiscriminatedUnion<T1, T2, T3> {
... | 0 | Kotlin | 0 | 0 | 23ab1a730e1382bfc2903a01198ddc16c8098658 | 1,311 | kotlin-discriminated-union | MIT License |
internal-project-plugins/multiplatform-plugin/src/main/kotlin/com/bselzer/gradle/internal/multiplatform/plugin/MultiplatformPlugin.kt | Woody230 | 638,902,833 | false | {"Kotlin": 80247} | package com.bselzer.gradle.internal.multiplatform.plugin
import com.bselzer.gradle.function.toInt
import com.bselzer.gradle.function.toNumericString
import com.bselzer.gradle.multiplatform.kotlinMultiplatformExtension
import org.gradle.api.JavaVersion
import org.gradle.api.Plugin
import org.gradle.api.Project
class M... | 0 | Kotlin | 0 | 0 | 420226a7409d19a056831908280aac27c613993d | 1,238 | GradleExtensions | Apache License 2.0 |
app/src/main/java/com/stavro_xhardha/producerdemo/FakeRepository.kt | coroutineDispatcher | 223,039,658 | false | null | package com.stavro_xhardha.producerdemo
class FakeRepository {
} | 0 | Kotlin | 0 | 2 | 02d00b3cc0302fb1ec96525c92914a866828928c | 65 | producer | Apache License 2.0 |
archimedes-data-jdbc/src/main/kotlin/io/archimedesfw/data/jdbc/RowMapper.kt | archimedes-projects | 362,401,748 | false | {"Kotlin": 278527, "PLpgSQL": 3068} | package io.archimedesfw.data.jdbc
import java.sql.ResultSet
fun interface RowMapper<T> {
fun mapRow(rs: ResultSet, rowIndex: Int): T
}
| 1 | Kotlin | 5 | 26 | 53088b3788e3dbe878a7b330214c3b3142e47650 | 143 | archimedes-jvm | Apache License 2.0 |
archimedes-data-jdbc/src/main/kotlin/io/archimedesfw/data/jdbc/RowMapper.kt | archimedes-projects | 362,401,748 | false | {"Kotlin": 278527, "PLpgSQL": 3068} | package io.archimedesfw.data.jdbc
import java.sql.ResultSet
fun interface RowMapper<T> {
fun mapRow(rs: ResultSet, rowIndex: Int): T
}
| 1 | Kotlin | 5 | 26 | 53088b3788e3dbe878a7b330214c3b3142e47650 | 143 | archimedes-jvm | Apache License 2.0 |
common/src/test/kotlin/researchstack/data/local/file/FileRepositoryTest.kt | S-ResearchStack | 520,365,275 | false | {"Kotlin": 178868, "AIDL": 4785} | package researchstack.data.local.file
import android.content.Context
import io.mockk.every
import io.mockk.mockk
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertNotNull
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.BeforeEach
import o... | 0 | Kotlin | 20 | 26 | 58b4b9b64623a7d2a0865307d490a59a7538d7cd | 2,860 | app-sdk | Apache License 2.0 |
infrastructure/src/main/kotlin/com/lukinhasssss/catalogo/infrastructure/castmember/models/CastMemberEvent.kt | Lukinhasssss | 643,341,523 | false | {"Kotlin": 179428, "Shell": 669} | package com.lukinhasssss.catalogo.infrastructure.castmember.models
import com.fasterxml.jackson.annotation.JsonProperty
import com.lukinhasssss.catalogo.domain.castmember.CastMember
import com.lukinhasssss.catalogo.domain.castmember.CastMemberType
import java.time.Instant
data class CastMemberEvent(
@JsonProperty... | 1 | Kotlin | 0 | 0 | fef7c7701656298a857cbd157ce0090b6da0106e | 1,270 | catalogo-de-videos | MIT License |
app/src/main/java/com/book/chore/data/Doer/Comment.kt | monil-panchal | 281,424,577 | false | null | package com.book.chore.data.Doer
// data model for Comments
class Comment{
var comment: String = ""
var rating: String = ""
var photo: String = ""
var date: String = ""
var user_name: String = ""
}
| 0 | Kotlin | 0 | 0 | 428177940d8c1c7be6384c5277f622ebc8d2c9b0 | 219 | BookMyChore | MIT License |
wear/src/main/java/com/vlad1m1r/watchface/settings/colorpicker/Colors.kt | VladimirWrites | 153,897,525 | false | null | package com.vlad1m1r.watchface.settings.colorpicker
import androidx.annotation.ColorInt
data class Colors(
@ColorInt val firstColor: Int?,
@ColorInt val secondColor: Int,
@ColorInt val thirdColor: Int
) | 5 | Kotlin | 21 | 99 | 0d54c556bffd7bb3e91fde670ff3baf05b6633bf | 216 | AnalogWatchFace | Apache License 2.0 |
infrastructure/src/main/kotlin/io/github/carlomicieli/roundhouse/infrastructure/persistence/catalog/converters/BrandIdConverter.kt | CarloMicieli | 511,260,517 | false | {"Kotlin": 486217, "Shell": 559} | /*
* Copyright (c) 2021-2022 (C) <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 unde... | 0 | Kotlin | 0 | 0 | 6120f84279a9528ee425c82bac12c84039a82bc3 | 1,520 | roundhouse-kt | Apache License 2.0 |
app/src/main/java/com/chronoclock/animation/Animations.kt | er-khushee | 345,966,139 | false | null | package com.chronoclock.animation
import androidx.compose.animation.animateColor
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.animateFloat
import androidx.compose.animation.core.tween
import androidx.compose.animation.core.updateTransition
import androidx.compose.runtime.C... | 0 | Kotlin | 0 | 0 | 224d830078b703ad764bb4cdac138f5a7f8ad759 | 1,365 | chronoclock | Apache License 2.0 |
src/main/kotlin/kitowashere/boiled_witchcraft/common/data/handler/glyph/composing/IGlyphComposingHandler.kt | AugustoMegener | 750,093,937 | false | {"Kotlin": 73290} | package kitowashere.boiled_witchcraft.common.data.handler.glyph.composing
import kitowashere.boiled_witchcraft.common.world.glyph.GlyphCanvas
interface IGlyphComposingHandler {
fun withComposing(action: (GlyphCanvas) -> Unit)
} | 1 | Kotlin | 0 | 2 | 78bde605e1b03374e0246a60c25641ec2ca5a049 | 233 | boiled_witchcraft | MIT License |
src/test/kotlin/no/nav/hm/grunndata/media/model/MediaUriRepositoryTest.kt | navikt | 600,005,685 | false | {"Kotlin": 44442, "Dockerfile": 98, "Shell": 53} | package no.nav.hm.grunndata.media.model
import io.kotest.matchers.nulls.shouldNotBeNull
import io.kotest.matchers.shouldBe
import io.micronaut.test.extensions.junit5.annotation.MicronautTest
import kotlinx.coroutines.runBlocking
import no.nav.hm.grunndata.rapid.dto.MediaSourceType
import no.nav.hm.grunndata.rapid.dto.... | 0 | Kotlin | 0 | 1 | 4403047e22b476577616a24cb60842ec15d2b5a5 | 1,544 | hm-grunndata-media | MIT License |
src/main/kotlin/io/github/fablinmc/fablin/CompoundTag.kt | pluiedev | 332,969,216 | true | {"Kotlin": 6647} | package io.github.fablinmc.fablin
import net.minecraft.nbt.*
import net.minecraft.nbt.CompoundTag
import net.minecraft.nbt.ListTag as VListTag
@NbtDslMarker
class CompoundTagScope(internal val underlying: CompoundTag): StructureTagExt {
infix fun String.to(tag: Tag) {
underlying[this] = tag
}
inf... | 0 | Kotlin | 0 | 0 | b562f3b8d90621efcf26426c2bd8a134926cd5f1 | 2,227 | FablinAPI | Apache License 2.0 |
app/src/main/java/com/do55anto5/composenavigationlegacy/screens/ProductListScreen.kt | do5-5anto5 | 847,057,651 | false | {"Kotlin": 10791} | package com.do55anto5.composenavigationlegacy.screens
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import andr... | 0 | Kotlin | 0 | 0 | d5a2e12041b8eefe181fa7279443d10e747c0635 | 1,528 | ComposeNavigationLegacy | MIT License |
app/src/main/java/com/developersancho/rortycompose/app/tools/FirebaseAnalytic.kt | developersancho | 479,849,006 | false | {"Kotlin": 625294, "Shell": 692} | package com.developersancho.rortycompose.app.tools
import androidx.compose.runtime.Composable
import androidx.compose.runtime.SideEffect
import androidx.compose.runtime.remember
import androidx.compose.ui.platform.LocalContext
import com.developersancho.framework.extension.deviceId
import com.google.firebase.analytics... | 3 | Kotlin | 22 | 148 | 005bc74f4affab957ec8b671d56af26da4a8e737 | 992 | RortyCompose.V2 | Apache License 2.0 |
cipackageinstaller/src/main/java/dev/atsushieno/cipackageinstaller/AppModel.kt | atsushieno | 590,139,176 | false | null | package dev.atsushieno.cipackageinstaller
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.net.Uri
import android.os.Build
import android.os.FileUtils
import android.provider.Settings
import androidx.core.content.FileProvid... | 1 | Kotlin | 1 | 5 | 30f5354a16cedf25972327def85e11c006ff9dcd | 6,423 | android-ci-package-installer | MIT License |
src/main/kotlin/de/flapdoodle/tab/io/adapter/TypeMapper.kt | flapdoodle-oss | 237,231,857 | false | {"Kotlin": 319824, "CSS": 7557, "Shell": 80} | package de.flapdoodle.tab.io.adapter
import de.flapdoodle.reflection.TypeInfo
import kotlin.reflect.KClass
interface TypeMapper {
fun toFile(type: TypeInfo<out Any>): String
fun toModel(type: String): TypeInfo<out Any>
} | 0 | Kotlin | 1 | 0 | 8fd4799af5d66931a0631f026cecd8ea395d1549 | 230 | tab | Apache License 2.0 |
src/main/kotlin/io/github/gdrfgdrf/cutetranslationapi/command/SetLanguageCommand.kt | gdrfgdrf | 831,351,566 | false | {"Kotlin": 54752, "Java": 5006} | package io.github.gdrfgdrf.cutetranslationapi.command
import com.mojang.brigadier.arguments.StringArgumentType
import io.github.gdrfgdrf.cutetranslationapi.command.suggest.LanguageSuggestProvider
import io.github.gdrfgdrf.cutetranslationapi.command.suggest.ModIdSuggestProvider
import io.github.gdrfgdrf.cutetranslation... | 0 | Kotlin | 0 | 0 | 33e17a7e67e7709a25b3041857802a9287d69e5e | 3,797 | CuteTranslationAPI | Apache License 2.0 |
src/main/kotlin/org/hexworks/cavesofzircon/commands/MoveTo.kt | lesbiangunshow | 273,309,498 | false | null | package org.hexworks.cavesofzircon.commands
import org.hexworks.amethyst.api.entity.EntityType
import org.hexworks.cavesofzircon.extensions.GameCommand
import org.hexworks.cavesofzircon.extensions.GameEntity
import org.hexworks.cavesofzircon.world.GameContext
import org.hexworks.zircon.api.data.impl.Position3D
data c... | 0 | Kotlin | 0 | 0 | 61c89fa99e5ecf61c75f1231eff446e9f6401865 | 477 | cavesoflife | Apache License 2.0 |
visionforge-threejs/src/jsMain/kotlin/space/kscience/visionforge/solid/three/ThreeAxesFactory.kt | SciProgCentre | 174,502,624 | false | {"Kotlin": 936916} | package space.kscience.visionforge.solid.three
import space.kscience.visionforge.onPropertyChange
import space.kscience.visionforge.solid.AxesSolid
import three.helpers.AxesHelper
import kotlin.reflect.KClass
public object ThreeAxesFactory : ThreeFactory<AxesSolid> {
override val type: KClass<in AxesSolid> get() ... | 15 | Kotlin | 6 | 34 | 7e6e2162b3ab00eafd34942d48a8c2851c9afa02 | 693 | visionforge | Apache License 2.0 |
src/main/kotlin/dev/sarquella/plugin/configs/CredentialsConfiguration.kt | Sarquella | 358,213,003 | false | null | package dev.sarquella.plugin.configs
import dev.sarquella.plugin.configs.base.Configuration
import dev.sarquella.plugin.helper.extensions.params
import org.gradle.api.Project
import java.util.*
object CredentialsConfiguration: Configuration {
private const val DEFAULT_FILE = "local.properties"
override fun ... | 1 | Kotlin | 0 | 0 | a0d9cd757d6a59fb5babb24f443d10492b4d86b2 | 1,098 | MavenCentral-Publisher | Apache License 2.0 |
PinWeather/app/src/main/java/com/marcomarino/pinweather/viewmodels/SignUpViewModel.kt | marcomarinodev | 463,862,706 | false | null | package com.marcomarino.pinweather.viewmodels
import android.content.Context
import android.content.Intent
import android.util.Log
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecyc... | 0 | Kotlin | 0 | 0 | 5191bd4ee9f12d492cbe80421054bd79aff43da6 | 3,359 | pin-weather | MIT License |
app/src/main/java/com/mbh/moviebrowser/features/movieListGrid/MovieListGridFragment.kt | pricsko | 481,114,740 | false | null | package com.mbh.moviebrowser.features.movieListGrid
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.navigation.Navigator
import androidx.navigation.fragment.findNavController
import androidx.recyclerview.widget.GridLayoutManager
import ... | 0 | Kotlin | 0 | 0 | 2ffd8ab2d2de1d3b1c4967a568da76e4d6cf2abc | 4,155 | MovieBrowser | Apache License 2.0 |
app/src/main/java/com/ibrahimcanerdogan/turkishairlinesassistant/model/available/domestic/response/Message.kt | icanerdogan | 727,407,042 | false | {"Kotlin": 412038, "HTML": 7398} | package com.ibrahimcanerdogan.turkishairlinesassistant.model.available.domestic.response
data class Message(
val code: String,
val description: String
) | 0 | Kotlin | 0 | 1 | 6564a9cf8589028e9ced03a855a6b7eb07f7a5de | 161 | TurkishAirlinesAssistantApp | MIT License |
app/src/main/java/com/justai/aimybox/assistant/tasker/bot/ListenActivityAction.kt | sriramsv | 413,040,371 | true | {"Kotlin": 81257} | package com.justai.aimybox.assistant.tasker.bot
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import androidx.core.content.ContextCompat.startActivity
import com.joaomgcd.taskerpluginlibrary.action.TaskerPluginRunnerActionNoOutp... | 0 | Kotlin | 0 | 0 | 7968a915b1a82e17904621eb64b16396b6c0b585 | 1,774 | aimybox-android-assistant | Apache License 2.0 |
app/src/main/java/com/example/fallingaccident/di/main/MainModule.kt | hadion82 | 591,384,889 | false | null | package com.example.fallingaccident.di.main
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import com.example.fallingaccident.ui.main.MainActionDispatcher
import com.example.fallingaccident.ui.main.MainActionDispatcherImpl
import com.example.fa... | 0 | Kotlin | 0 | 0 | fc732bdd3a2f6557fcd85c335578fc7e2a3655a4 | 883 | FallingAccident | Apache License 2.0 |
wci-module-spring/src/main/kotlin/com/luggsoft/wci/module/spring/v2/process/WciProcessApplicationConfiguration.kt | dan-lugg | 724,463,915 | false | {"Kotlin": 85996, "TypeScript": 64763, "Java": 6199, "JavaScript": 1433, "SCSS": 444, "HTML": 364, "Markdown": 361, "Gherkin": 344} | package com.luggsoft.wci.module.spring.v2.process
import org.springframework.context.EnvironmentAware
import org.springframework.context.annotation.ComponentScan
import org.springframework.context.annotation.Configuration
import org.springframework.context.annotation.ImportBeanDefinitionRegistrar
import org.springfram... | 1 | Kotlin | 0 | 1 | 76c3cd23a0cebe41a667c45e5c3952a8d3098fae | 696 | luggsoft-wci | MIT License |
common/src/commonMain/kotlin/com/lt/Lazy_people_http/common/UserBean.kt | ltttttttttttt | 611,114,818 | false | {"Kotlin": 75815, "Swift": 480, "HTML": 339, "CSS": 108, "Ruby": 95} | package com.lt.lazy_people_http.common
/**
* creator: lt 2023/3/11 <EMAIL>
* effect :
* warning:
*/
@kotlinx.serialization.Serializable
class UserBean(
val name: String,
val id: Int,
val nickname: String,
) | 0 | Kotlin | 1 | 4 | f6f0f841ea0d1a0f0e6c6073c8ed79e0e7b5006f | 225 | LazyPeopleHttp | Apache License 2.0 |
corellium/adapter/src/main/kotlin/flank/corellium/adapter/InstallAndroidApps.kt | asadsalman | 363,759,385 | true | {"Kotlin": 1730445, "Java": 445714, "Swift": 50324, "Shell": 11210, "Objective-C": 10006, "Dart": 9705, "HTML": 7235, "Gherkin": 4210, "TypeScript": 2717, "Ruby": 2272, "JavaScript": 1764, "SCSS": 1365, "Batchfile": 1319, "EJS": 1061, "Go": 159} | package flank.corellium.adapter
import flank.corellium.api.AndroidApps
import flank.corellium.client.agent.disconnect
import flank.corellium.client.agent.uploadFile
import flank.corellium.client.console.close
import flank.corellium.client.console.sendCommand
import flank.corellium.client.core.connectAgent
import flank... | 0 | Kotlin | 0 | 0 | 60be7a8187a756eb6c19c3f02d27a706c94e97a6 | 2,366 | flank | Apache License 2.0 |
app/src/main/java/com/fxn/models/ColorGenerator.kt | akshay2211 | 139,300,503 | false | {"Kotlin": 20679} | package com.fxn.models
import android.content.Context
import android.support.v4.content.ContextCompat
import com.fxn.lineup.R
import java.io.Serializable
/**
* Created by akshay on 25/06/18.
*/
class ColorGenerator(var type: Int) : Serializable {
companion object {
var GREY: Int = 0
var RED: I... | 0 | Kotlin | 1 | 6 | db65d248088b1569fafb1706ec70e8c1ff3e2947 | 1,719 | LineUp | Apache License 2.0 |
app/src/main/java/com/wiliamks/temaqui/ui/cart/repository/CartRepositoryImpl.kt | wiliamks | 658,372,597 | false | null | package com.wiliamks.temaqui.ui.cart.repository
import com.wiliamks.temaqui.commons.Session
import com.wiliamks.temaqui.ui.cart.model.FinishBuyRequest
class CartRepositoryImpl : CartRepository {
override suspend fun finishBuy(body: FinishBuyRequest) {
Session.cartSelection.clear()
}
override suspe... | 0 | Kotlin | 0 | 0 | dfdda9b0fff73ee6133e266574129fa1a52a31c9 | 895 | temaqui | MIT License |
app/src/main/java/com/victor/clips/ui/widget/ColorTextView.kt | Victor2018 | 152,215,979 | false | null | package com.victor.clips.ui.widget
import android.content.Context
import android.content.res.Resources
import android.util.AttributeSet
import android.widget.TextView
import com.victor.clips.interfaces.ColorUiInterface
import com.victor.clips.util.ViewAttributeUtil
import android.util.Log
import android.view.View
/*... | 0 | Kotlin | 13 | 45 | ebd31401c63ec5641e69427bd25e41c60f0fa9fd | 1,929 | FunnyClips | Apache License 2.0 |
app/src/main/java/pp/facerecognizer/FaceRecognizerApplication.kt | kemalmaulana | 281,747,288 | false | {"C++": 384920, "Java": 120500, "CMake": 17004, "Kotlin": 9775, "C": 8020} | package pp.facerecognizer
import android.app.Application
class FaceRecognizerApplication: Application() {
override fun onCreate() {
super.onCreate()
}
} | 0 | C++ | 0 | 0 | 6eeb797e810099670343400165ba2dcc47d5a4fd | 172 | Face-Recognizer | Apache License 2.0 |
app/src/main/java/me/lazy_assedninja/demo/domain/demo/GetDemoList.kt | henryhuang1219 | 357,838,778 | false | null | package me.lazy_assedninja.demo.domain.demo
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.withContext
import me.lazy_assedninja.demo.data.Resource
import me.lazy_assedninja.demo.data.repository.DemoRepository
import me.lazy_assedninja.demo.di.IODispatcher
import me.lazy_assedninja.demo.librar... | 0 | Kotlin | 1 | 2 | 2f5a79974f8d6b6af516a8959824558324bab8ce | 770 | Android-Demo | Apache License 2.0 |
app/src/main/java/com/example/diapplication/data/prefs/CityStore.kt | rendivy | 661,304,960 | false | {"Kotlin": 104188} | package com.example.diapplication.data.prefs
import android.content.SharedPreferences
import javax.inject.Inject
class CityStore @Inject constructor (private val sharedPreferences: SharedPreferences) {
fun saveCity(city: String) {
sharedPreferences.edit().putString("currentPlace", city).apply()
}
... | 1 | Kotlin | 0 | 0 | 7c7964c70284d7c2537d6f3fd81fdd1dd9906f8b | 609 | MonoWeather | MIT License |
feature/weather/src/main/java/com/komeyama/simple/weather/weather_list/SearchPlacesFragment.kt | Komeyama | 272,177,961 | false | null | package com.komeyama.simple.weather.weather_list
import android.os.Build
import android.os.Bundle
import android.view.*
import android.widget.TextView
import androidx.annotation.RequiresApi
import androidx.appcompat.widget.SearchView
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.LiveData
import an... | 0 | Kotlin | 0 | 0 | d08c80a62b3b26a4b17583ebbd58361fc52f01ff | 5,889 | simple-weather-forecast | MIT License |
binaryFormat/src/main/kotlin/org/jetbrains/mutrace/format/BinaryFormatCommons.kt | semoro | 202,762,800 | false | null | package org.jetbrains.mutrace.format
data class FormatVersion(val high: Int, val low: Int) {
companion object {
val CURRENT = FormatVersion(1, 1)
}
}
data class Header(val version: FormatVersion, val pid: Long)
data class TraceDataHeader(val internerData: InternerData, val eventBuffersHeader: EventBuf... | 0 | Kotlin | 0 | 0 | cb8622f68da777e39f9132adb09f77f03132147c | 863 | muTrace | Apache License 2.0 |
app/src/main/kotlin/com/chipcerio/moovy/data/Movie.kt | chipcerio | 104,817,992 | false | {"Gradle": 3, "Markdown": 3, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Java Properties": 1, "Proguard": 1, "Kotlin": 36, "XML": 13, "Java": 1} | package com.chipcerio.moovy.data
import android.annotation.SuppressLint
import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parcelize
@SuppressLint("ParcelCreator")
@Parcelize
data class Movie (
val id: Int,
@SerializedName("vote_count")
val voteC... | 0 | Kotlin | 0 | 0 | 4879bb7fe8194cd0825e8d03adfed35a461ab658 | 948 | moovy | Apache License 2.0 |
core/src/org/ajm/laforkids/Adapter.kt | Korkemoms | 61,200,135 | false | {"Gradle": 5, "INI": 1, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Text": 3, "Markdown": 3, "XML": 4, "Kotlin": 28, "Java": 3, "Java Properties": 2, "JSON": 2, "SVG": 1} | package org.ajm.laforkids
import com.badlogic.gdx.ApplicationAdapter
class Adapter : ApplicationAdapter {
var main: Main? = null
constructor() {
}
override fun create() {
main = Main()
}
override fun resize(width: Int, height: Int) {
main!!.resize()
}
override fu... | 1 | null | 1 | 1 | 15ecf19aaa14c97a380054fb5b3a1935aced30c2 | 426 | Matrix-Multiplication | Apache License 2.0 |
src/main/java/ink/anur/io/common/ShutDownHooker.kt | anurnomeru | 242,305,129 | false | null | package ink.anur.io.common
import org.slf4j.LoggerFactory
import javax.annotation.concurrent.ThreadSafe
/**
* Created by Anur IjuoKaruKas on 2020/2/22
*
* 可注册结束事件的钩子
*/
@ThreadSafe
class ShutDownHooker(val shutDownMsg: String? = null) {
private val logger = LoggerFactory.getLogger(this::class.java)
@Vol... | 1 | Kotlin | 1 | 5 | 27db6442ef9d4abc594d7e7719a8c772f03e61b6 | 1,081 | kanashi | MIT License |
src/main/kotlin/ru/krindra/vknorthtypes/base/BaseLinkApplication.kt | kravandir | 745,597,090 | false | {"Kotlin": 633233} | package ru.krindra.vknorthtypes.base
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class BaseLinkApplication (
@SerialName("store") val store: BaseLinkApplicationStore? = null,
@SerialName("app_id") val appId: Double? = null,
)
| 0 | Kotlin | 0 | 0 | 508d2d1d59c4606a99af60b924c6509cfec6ef6c | 293 | VkNorthTypes | MIT License |
app/src/main/java/org/p2p/wallet/history/ui/historylist/HistoryListViewType.kt | p2p-org | 306,035,988 | false | null | package org.p2p.wallet.history.ui.historylist
import org.p2p.core.utils.Constants
import org.p2p.wallet.utils.Base58String
import org.p2p.wallet.utils.toBase58Instance
sealed class HistoryListViewType(val mintAddress: Base58String) {
object AllHistory : HistoryListViewType(Constants.WRAPPED_SOL_MINT.toBase58Insta... | 8 | Kotlin | 16 | 28 | 71b282491cdafd26be1ffc412a971daaa9c06c61 | 417 | key-app-android | MIT License |
app/src/main/java/com/gmail/jiangyang5157/sudoku/ui/SudokuFragment.kt | jiangyang5157 | 95,961,752 | false | null | package com.gmail.jiangyang5157.sudoku.ui
import android.os.Bundle
import android.support.v4.app.Fragment
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.gmail.jiangyang5157.sudoku.R
import com.gmail.jiangyang5157.sudoku.widget.KeypadView
imp... | 0 | Kotlin | 0 | 0 | d104dcc1564192e8255cac3a4e813fd30e3cc600 | 4,447 | sudoku-android | MIT License |
src/main/kotlin/com/bugsnag/android/gradle/BugsnagGenerateNdkSoMappingTask.kt | EmielVandeloo | 337,818,645 | false | null | package com.bugsnag.android.gradle
import com.android.build.gradle.api.ApkVariantOutput
import com.bugsnag.android.gradle.internal.GradleVersions
import com.bugsnag.android.gradle.internal.NDK_SO_MAPPING_DIR
import com.bugsnag.android.gradle.internal.clearDir
import com.bugsnag.android.gradle.internal.includesAbi
impo... | 1 | null | 1 | 1 | 7ab8cdf2fe4d4a50704a3aa988678c9166cadc95 | 6,226 | bugsnag-android-gradle-plugin | MIT License |
ui/src/main/java/tech/rollw/player/ui/Typography.kt | Roll-W | 743,429,922 | false | {"Kotlin": 266388, "Java": 5904, "C++": 5744, "CMake": 1974, "C": 926} | /*
* Copyright (C) 2024 RollW
*
* 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... | 0 | Kotlin | 0 | 1 | 3094c637238baba42eeb4d5b2f90a265966d8e29 | 4,954 | sound-source-player | Apache License 2.0 |
app/src/main/kotlin/de/nickbw2003/stopinfo/departures/data/models/Line.kt | nickbw2003 | 169,991,061 | false | null | package de.nickbw2003.stopinfo.departures.data.models
data class Line(val direction: String, val directionFrom: String, val symbol: String, val routeDetails: String?) | 0 | Kotlin | 0 | 4 | b22c4c3ac29338cab65a6061474020b03f653260 | 167 | stop-info-android | MIT License |
common-kafka/src/test/kotlin/fund/cyber/common/kafka/BrokerUtils.kt | KevinLiLu | 141,660,908 | true | {"Kotlin": 576953, "Dockerfile": 1315, "Shell": 168} | package fund.cyber.common.kafka
import org.apache.kafka.clients.admin.AdminClient
import org.apache.kafka.clients.admin.Config
import org.apache.kafka.clients.consumer.ConsumerConfig
import org.apache.kafka.common.config.ConfigResource
import org.apache.kafka.common.config.ConfigResource.Type.TOPIC
import java.util.*
... | 0 | Kotlin | 0 | 0 | d5f015ac97bd21ce964090167fa7f78b02f6a02f | 679 | cyber-search | MIT License |
lib/src/main/java/github/xuqk/kdpager/KdPagerState.kt | XuQK | 558,295,936 | false | null | package github.xuqk.kdpager
import androidx.annotation.FloatRange
import androidx.annotation.IntRange
import androidx.compose.animation.core.Animatable
import androidx.compose.animation.core.Spring
import androidx.compose.animation.core.spring
import androidx.compose.foundation.MutatePriority
import androidx.compose.f... | 0 | Kotlin | 0 | 7 | 2486e6c967f1b9b90ae49fe791001a5ed30ef843 | 6,361 | KdPager | MIT License |
SharedCode/src/commonMain/kotlin/PokemonService.kt | RodriguezMauro94 | 242,353,461 | false | {"Swift": 6536, "Kotlin": 5404} | package com.jetbrains.handson.mpp.mobile
class PokemonService {
private val repository: PokemonRepository = PokemonRepository()
fun obtainPokemons(): List<PokemonDto> {
return repository.getPokemons().sortedBy { it.name }
}
}
| 0 | Swift | 0 | 0 | 74e7cd37b0cdada9fb81edc7606be495d13f79a3 | 248 | Kt-Shared-MP-Lib | Apache License 2.0 |
app/src/main/java/com/numero/material_gallery/components/textfield/TextFieldFragment.kt | motochika1 | 298,716,554 | true | {"Kotlin": 101443, "Ruby": 2535} | package com.numero.material_gallery.components.textfield
import android.os.Bundle
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.view.View
import android.widget.ArrayAdapter
import android.widget.Toast
import androidx.navigation.fragment.findNavController
import c... | 0 | null | 0 | 0 | 2190e6a88ebc6714ce1ed9fc2eb9442987b719ee | 2,251 | MaterialGallery-android | MIT License |
app/src/main/java/com/androidproject/githubuserapp/adapter/SearchRepoAdapter.kt | Biswajeet-23 | 597,825,743 | false | null | package com.androidproject.githubuserapp.adapter
import android.content.Context
import android.content.Intent
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.ImageView
import androidx.core.content.ContextCompat.startActivity
import androidx.recyclerview.widget.RecyclerView
import... | 0 | Kotlin | 0 | 1 | ac40d5d5533ca2d89e9b9cade3b5ef66f7ad0eb6 | 3,036 | Github-Search-Api | MIT License |
sharedData/src/main/java/ru/nekit/android/data/Counter.kt | ru-nekit-android | 126,668,350 | false | null | package ru.nekit.android.data
import android.content.SharedPreferences
import ru.nekit.android.domain.repository.ICounter
class Counter(sharedPreferences: SharedPreferences,
private val name: String) : ICounter {
private val intStore = StringKeyIntValueStore(sharedPreferences)
override var sta... | 0 | Kotlin | 0 | 1 | 37a2037be2ecdbe19607b5fbb9e5f7852320a5a0 | 1,204 | QuestLockScreen | Apache License 2.0 |
libraries/keyboard/src/js/KeyEventProducer.kt | featurea | 407,517,337 | false | null | package featurea.keyboard
import featurea.breakpoint
import featurea.runtime.Component
import featurea.runtime.Module
import featurea.runtime.import
import org.w3c.dom.HTMLInputElement
import org.w3c.dom.events.Event
import org.w3c.dom.events.KeyboardEvent
import org.w3c.dom.events.EventListener as JsEventListener
pr... | 24 | Kotlin | 1 | 6 | 07074dc37a838f16ece90c19a4e8d45e743013d3 | 1,568 | engine | MIT License |
app/src/main/java/org/fdroid/fdroid/privileged/PrivilegedService.kt | depau | 551,115,079 | false | {"Kotlin": 31219, "Shell": 8878, "AIDL": 3494, "Java": 2541, "Makefile": 786, "Python": 326} | /*
* Copyright (C) 2015-2016 <NAME> <<EMAIL>>
* Copyright 2007, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses... | 2 | Kotlin | 1 | 41 | 99e6ae3a040d33a3f0a46304427e9dcdd3400a7a | 13,381 | fdroid_shizuku_privileged_extension | Apache License 2.0 |
advent/src/test/kotlin/org/elwaxoro/advent/y2023/Dec19.kt | elwaxoro | 328,044,882 | false | {"Kotlin": 451310} | package org.elwaxoro.advent.y2023
import org.elwaxoro.advent.PuzzleDayTester
/**
* Aplenty
*/
class Dec19 : PuzzleDayTester(19, 2023) {
/**
* 449531
*/
override fun part1(): Any = loader().let { (map, parts) ->
parts.map { part ->
var key = "in"
val history = mutab... | 0 | Kotlin | 4 | 0 | 1b424daee966c284b87455a938da33c4589e25d0 | 6,467 | advent-of-code | MIT License |
src/main/kotlin/kui/Props.kt | juggernaut0 | 146,204,158 | false | null | package kui
import org.w3c.dom.events.Event
data class Props(
val id: String? = null,
val classes: List<String> = emptyList(),
val title: String? = null,
val disabled: Boolean = false,
val tabIndex: Int? = null,
val attrs: Map<String, String> = emptyMap(),
// e... | 0 | Kotlin | 1 | 3 | 7b27185498870b2b8c8b69bd25600194d59ce6ac | 1,023 | kui | MIT License |
app/src/main/java/com/github/skytoph/taski/presentation/nav/RememberDismissState.kt | skytoph | 708,362,840 | false | {"Kotlin": 602263} | @file:OptIn(ExperimentalMaterial3Api::class)
package com.github.skytoph.taski.presentation.nav
import androidx.compose.material3.DismissState
import androidx.compose.material3.DismissValue
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.SnackbarHostState
import androidx.co... | 0 | Kotlin | 0 | 1 | 6639c40403f384c2125b6370499fcd6a0120a72b | 689 | HabitMate | The Unlicense |
src/main/kotlin/me/fzzyhmstrs/amethyst_core/entity/ModifiableEffect.kt | fzzyhmstrs | 507,177,454 | false | null | package me.fzzyhmstrs.amethyst_core.entity
import me.fzzyhmstrs.amethyst_core.AC
import me.fzzyhmstrs.amethyst_core.augments.paired.ProcessContext
import net.fabricmc.fabric.api.event.registry.FabricRegistryBuilder
import net.minecraft.entity.Entity
import net.minecraft.nbt.NbtCompound
import net.minecraft.nbt.NbtElem... | 2 | Kotlin | 1 | 0 | cc8996058361482b7eb2075c1613d44d7ebdfde7 | 1,971 | ac | MIT License |
wrapper/godot-library/src/main/kotlin/godot/generated/VSeparator.kt | payload | 189,718,948 | true | {"Kotlin": 3888394, "C": 6051, "Batchfile": 714, "Shell": 574} | @file:Suppress("unused", "ClassName", "EnumEntryName", "FunctionName", "SpellCheckingInspection", "PARAMETER_NAME_CHANGED_ON_OVERRIDE", "UnusedImport", "PackageDirectoryMismatch")
package godot
import godot.gdnative.*
import godot.core.*
import godot.utils.*
import godot.icalls.*
import kotlinx.cinterop.*
// NOTE: T... | 0 | Kotlin | 1 | 2 | 70473f9b9a0de08d82222b735e7f9b07bbe91700 | 1,429 | kotlin-godot-wrapper | Apache License 2.0 |
base/media/medialib/src/main/kotlin/com/flammky/common/media/audio/meta_tag/tag/mp4/field/Mp4TagReverseDnsField.kt | flammky | 462,795,948 | false | {"Kotlin": 5222947} | package com.flammky.musicplayer.common.media.audio.meta_tag.tag.mp4.field
import com.flammky.musicplayer.common.media.audio.meta_tag.audio.generic.Utils.getSizeBEInt32
import com.flammky.musicplayer.common.media.audio.meta_tag.audio.mp4.atom.Mp4BoxHeader
import com.flammky.musicplayer.common.media.audio.meta_tag.loggi... | 0 | Kotlin | 6 | 56 | a452c453815851257462623be704559d306fb383 | 7,492 | Music-Player | Apache License 2.0 |
app/src/main/java/com/example/achadin/repositories/ClientRepository.kt | Francisco-Jean | 798,323,342 | false | {"Kotlin": 361718, "Java": 455} | package com.example.achadin.repositories
import android.util.Log
import com.example.achadin.models.ClientModel
import com.example.achadin.utils.StorageUtils
import com.google.firebase.database.DataSnapshot
import com.google.firebase.database.DatabaseError
import com.google.firebase.database.FirebaseDatabase
import co... | 0 | Kotlin | 0 | 5 | acf7d6545abd9b10abbd6054ea92c653904f23e3 | 3,651 | AchadinApp | MIT License |
android/src/main/java/id/animo/secure/environment/ExpoSecureEnvironmentModule.kt | animo | 833,584,636 | false | {"Kotlin": 8093, "Swift": 4564, "TypeScript": 3398, "JavaScript": 1440, "Ruby": 821} | package id.animo.secure.environment
import android.os.Build
import androidx.annotation.RequiresApi
import expo.modules.kotlin.Promise
import expo.modules.kotlin.modules.Module
import expo.modules.kotlin.modules.ModuleDefinition
class ExpoSecureEnvironmentModule : Module() {
@RequiresApi(Build.VERSION_CODES.R)
... | 0 | Kotlin | 0 | 0 | dadf4e6f746ae19968716a59700dac6727efc678 | 954 | expo-secure-environment | Apache License 2.0 |
app/src/main/kotlin/io/orangebuffalo/simpleaccounting/business/incomes/impl/IncomesRepositoryExtImpl.kt | orange-buffalo | 154,902,725 | false | {"Kotlin": 1125040, "TypeScript": 575303, "Vue": 277186, "SCSS": 30742, "JavaScript": 6817, "HTML": 633, "CSS": 10} | package io.orangebuffalo.simpleaccounting.business.incomes.impl
import io.orangebuffalo.simpleaccounting.business.incomes.IncomeStatus
import io.orangebuffalo.simpleaccounting.business.workspaces.Workspace
import io.orangebuffalo.simpleaccounting.infra.jooq.fetchListOf
import io.orangebuffalo.simpleaccounting.infra.jo... | 67 | Kotlin | 0 | 1 | 843c0ee711610b0327f840ed3b11a0622c8fda8a | 2,997 | simple-accounting | Creative Commons Attribution 3.0 Unported |
app/src/main/java/com/keeppieces/android/ui/viewpager/SwipeControllableViewPager.kt | Thooooor | 300,121,083 | false | null | package com.keeppieces.android.ui.viewpager
import android.content.Context
import android.util.AttributeSet
import android.view.MotionEvent
import android.view.animation.Interpolator
import android.widget.Scroller
import androidx.interpolator.view.animation.FastOutSlowInInterpolator
import androidx.viewpager.widget.Vi... | 0 | Kotlin | 3 | 4 | 8342e7527eda71b10128d07948274a4258eee2f4 | 1,291 | KeepPieces | MIT License |
data/local/src/main/java/com/jojalvo/local/converter/StringListConverter.kt | jose-ojalvo | 619,971,179 | false | null | package com.jojalvo.local.converter
import androidx.room.TypeConverter
import com.jojalvo.utils.extension.fromJson
import com.jojalvo.utils.extension.toJson
/**
* @author jojalvo
* @since 26/4/23
* @email josealejandro025@gmail.com
*/
class StringListConverter {
@TypeConverter
fun toListOfStrings(s... | 0 | Kotlin | 0 | 0 | 1e8528c9868aec7d08e6c3bee5ffbae07d0c769e | 531 | MobileChallenge | Apache License 2.0 |
MOBA1/00_Projekt/Dateien/Praktikum 05/app/src/main/java/com/example/myapplication/SecondFragment.kt | zosslizoss | 506,644,037 | false | null | package com.example.myapplication
import android.os.Bundle
import android.util.Log
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.navigation.fragment.findNavController
import com.example.myapplication.databinding.FragmentS... | 0 | Kotlin | 0 | 0 | 6b9d8d0c7590b95dfc7aadb8cf732b1adef13991 | 4,695 | Mobile-Application | MIT License |
app/src/main/java/com/dimowner/goodweather/data/remote/model/WeatherResponse.kt | Dimowner | 115,884,832 | false | null | /*
* Copyright 2019 <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 2.0 (... | 0 | Kotlin | 2 | 3 | 48f81a170cc020307ae0555bd9baac8c9acb4e3a | 1,570 | GoodWeather | Apache License 2.0 |
android/quash-sdk-features/src/main/java/com/quash/bugs/features/shake/QuashShakeDetector.kt | Oscorp-HQ | 816,823,332 | false | {"TypeScript": 500449, "Kotlin": 458549, "Java": 363078, "CSS": 86401, "HTML": 18908, "Shell": 3999, "JavaScript": 3387, "Dockerfile": 584} | /*
* Copyright (c) 2024 Quash.
*
* Licensed under the MIT License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed to in writing, software
* distributed under... | 22 | TypeScript | 6 | 22 | 6367e1a04d0b3e0c03c9bedec71a9da2067dbd4e | 3,374 | quash-max | MIT License |
automotive/src/main/java/com/volvocars/wearablemonitor/presentation/wearablemonitor/WearableMonitorViewModel.kt | volvo-cars | 309,467,507 | false | {"Kotlin": 127151, "HTML": 36742} | package com.volvocars.wearablemonitor.presentation.wearablemonitor
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.work.PeriodicWorkRequest
import com.volvocars.wearablemonitor.domain.usecase.FetchGlucoseValues
import com.volvocars.wearablemonitor.domain.usecase.GetBaseUrl
... | 0 | Kotlin | 0 | 6 | 78ef44a021208c4b1f6f181511d1e79d97648233 | 2,465 | sample-android-automotive-wearable-monitoring | Apache License 2.0 |
src/main/kotlin/no/nav/familie/ef/sak/beregning/barnetilsyn/BeregningBarnetilsynRequest.kt | navikt | 206,805,010 | false | null | package no.nav.familie.ef.sak.beregning.barnetilsyn
import no.nav.familie.ef.sak.vedtak.dto.PeriodeMedBeløpDto
import no.nav.familie.ef.sak.vedtak.dto.UtgiftsperiodeDto
import java.math.BigDecimal
import java.time.YearMonth
import java.util.UUID
data class BeregningBarnetilsynRequest(
val utgiftsperioder: Lis... | 7 | Kotlin | 2 | 0 | 79833410b98739f78b0c6019445e6502249cb0b2 | 1,691 | familie-ef-sak | MIT License |
app/src/main/java/com/keithsmyth/ecommerce/ui/navigation/EcommerceNavHost.kt | keithsmyth | 610,826,987 | false | null | package com.keithsmyth.ecommerce.ui.navigation
import androidx.compose.runtime.Composable
import androidx.navigation.NavHostController
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavController
import com.keithsmyth.ecommerce.ui.hom... | 0 | Kotlin | 0 | 0 | fe7c3b6bfd29bdbfb90dced8fc0da293ed6234ed | 1,350 | Ecommerce | Apache License 2.0 |
app/src/main/java/com/harukeyua/fintrack/data/FinDatabase.kt | HarukeyUA | 354,045,590 | false | null | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 0 | Kotlin | 0 | 0 | f9f3ebff36668e96f3db3342367fdb182a9d640f | 1,650 | FinTrack | Apache License 2.0 |
app/src/main/java/ru/magomedcoder/chatgpt/Constants.kt | magomedcoder | 613,752,570 | false | null | package ru.magomedcoder.chatgpt
import android.annotation.SuppressLint
import ru.magomedcoder.chatgpt.utils.persistence.Preference
object Constants {
const val BASE_URL = "https://api.openai.com/"
const val DATABASE_NAME = "chatgpt_db"
const val PREFERENCE_NAME = "chatgpt"
const val API_KEY = "api_key... | 0 | Kotlin | 0 | 1 | 35bcb4a2287ec879b20d7b0ba5d21eb33a732d1c | 560 | chatgpt-android | MIT License |
app/src/main/kotlin/com/ashish/movieguide/ui/widget/FontTextView.kt | AshishKayastha | 82,365,723 | false | null | package com.ashish.movieguide.ui.widget
import android.content.Context
import android.support.v7.widget.AppCompatTextView
import android.util.AttributeSet
import com.ashish.movieguide.utils.FontUtils
/**
* Created by Ashish on Dec 29.
*/
class FontTextView : AppCompatTextView {
constructor(context: Context, a... | 5 | Kotlin | 5 | 16 | f455e468b917491fd1e35b07f70e9e9e2d00649d | 584 | Movie-Guide | Apache License 2.0 |
src/main/kotlin/com/glinboy/biller/repository/BillRepository.kt | GLinBoy | 478,635,114 | false | {"Kotlin": 5399} | package com.glinboy.biller.repository
import com.glinboy.biller.entity.Bill
import org.springframework.data.mongodb.repository.MongoRepository
interface BillRepository : MongoRepository<Bill, String> {
}
| 63 | Kotlin | 0 | 1 | dd3794dbcba9e541a1066a46067d3549ae6f724c | 206 | biller | MIT License |
sphinx/activity/main/activitymain/src/main/java/chat/sphinx/activitymain/navigation/navigators/primary/VideoScreenNavigatorImpl.kt | stakwork | 340,103,148 | false | null | package chat.sphinx.activitymain.navigation.navigators.primary
import chat.sphinx.activitymain.navigation.drivers.DetailNavigationDriver
import chat.sphinx.activitymain.navigation.drivers.PrimaryNavigationDriver
import chat.sphinx.video_screen.navigation.VideoScreenNavigator
import javax.inject.Inject
internal class ... | 55 | Kotlin | 5 | 17 | 3c8d86fe0417a82fde5ecf4e37be5e894d3265cb | 586 | sphinx-kotlin | MIT License |
xesar-connect/src/main/kotlin/com/open200/xesar/connect/messages/event/CodingStationChanged.kt | open200 | 684,928,079 | false | {"Kotlin": 438614} | package com.open200.xesar.connect.messages.event
import com.open200.xesar.connect.utils.UUIDSerializer
import java.util.*
import kotlinx.serialization.Serializable
/**
* Represents an event POJO as a response of a command to change a calendar.
*
* @param name The name of the calendar.
* @param description The des... | 18 | Kotlin | 1 | 9 | 2ded0fbbe8a5df74065c141f5afe1b20c72022c6 | 584 | xesar-connect | Apache License 2.0 |
frogoconsumeapi/src/main/java/com/frogobox/api/movie/model/PeopleTranslation.kt | frogobox | 389,577,716 | false | null | package com.frogobox.api.movie.model
data class PeopleTranslation(
val `data`: PeopleTranslationData?,
val english_name: String?,
val iso_3166_1: String?,
val iso_639_1: String?,
val name: String?
) | 0 | Kotlin | 1 | 6 | 79d274ef72381fe87f02a3c9d16f29bb23fda051 | 219 | frogo-consume-api | Apache License 2.0 |
src/main/kotlin/no/nav/amt_enhetsregister/controller/EnhetController.kt | navikt | 424,866,511 | false | {"Kotlin": 81477, "PLpgSQL": 635, "Dockerfile": 156} | package no.nav.amt_enhetsregister.controller
import no.nav.amt_enhetsregister.controller.dto.EnhetDto
import no.nav.amt_enhetsregister.controller.dto.tilDto
import no.nav.amt_enhetsregister.service.EnhetService
import no.nav.security.token.support.core.api.Protected
import org.springframework.web.bind.annotation.GetMa... | 2 | Kotlin | 1 | 0 | 4dd75ed217fee26bf5416061e5a12766fb7d1098 | 1,256 | amt-enhetsregister | MIT License |
src/main/kotlin/shirates/stub/commons/controllers/StubController.kt | ldi-github | 538,873,941 | false | {"Kotlin": 112452, "JavaScript": 16642, "HTML": 10340, "CSS": 1567} | package shirates.stub.commons.controllers
import org.springframework.web.bind.annotation.RestController
import org.springframework.web.client.RestTemplate
import qmtest.stub.commons.extensions.getAgentId
import shirates.stub.commons.annotaions.StubServer
import shirates.stub.commons.logging.Logger
import shirates.stub... | 0 | Kotlin | 0 | 1 | b71d6597569768b8dcc317d04bee0de5e775618b | 1,877 | shirates-stub | Apache License 2.0 |
app/src/androidTest/java/com/messiasjunior/codewarsv2/presentation/home/HomeActionBarTest.kt | MessiasLima | 292,399,664 | false | null | package com.messiasjunior.codewarsv2.presentation.home
import android.view.KeyEvent
import android.widget.AutoCompleteTextView
import androidx.appcompat.widget.AppCompatTextView
import androidx.appcompat.widget.Toolbar
import androidx.core.widget.ContentLoadingProgressBar
import androidx.test.core.app.ApplicationProvi... | 0 | Kotlin | 0 | 0 | 49feaf985552c82dd2ee7fa042e3a4077fe43a66 | 4,806 | codewars-v2 | MIT License |
src/main/kotlin/io/axoniq/demo/gcwebinar/query/api.kt | kumar-sundaram | 221,786,251 | false | {"Java": 8302, "Kotlin": 1003, "Dockerfile": 161} | package io.axoniq.demo.gcwebinar.query
import javax.persistence.Entity
import javax.persistence.Id
data class DataQuery(val offset: Int, val limit: Int)
class SizeQuery
@Entity
data class CardSummary(
@Id var id: String? = null,
var initialBalance: Int? = 0,
var remainingBalance: Int? = 0
) | 1 | Java | 1 | 0 | 857af55cc589595db40d232bd2fa3f35008b7498 | 318 | gc-webinar | Apache License 2.0 |
src/main/kotlin/utils/docs/markdown/MarkdownBuildConfig.kt | szkug | 716,392,221 | false | {"Kotlin": 15983, "CSS": 966} | package utils.docs.markdown
import org.intellij.markdown.ast.ASTNode
import org.intellij.markdown.flavours.MarkdownFlavourDescriptor
import org.intellij.markdown.flavours.gfm.GFMFlavourDescriptor
import org.intellij.markdown.flavours.space.SFMFlavourDescriptor
import org.intellij.markdown.html.HtmlGenerator
import org... | 0 | Kotlin | 0 | 0 | 2a7323481dac21bd7bf6bca6ec580583359c5a89 | 2,819 | docs-gen | MIT License |
app/src/main/java/com/xuexiang/kotlinsample/fragment/coroutines/business/processor/SearchFactoryProcessor.kt | xuexiangjys | 473,720,334 | false | {"Kotlin": 180752, "Java": 2527} | /*
* Copyright (C) 2022 xuexiangjys(<EMAIL>)
*
* 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 la... | 1 | Kotlin | 1 | 15 | c9145ad5e302f89b122a2ac95049c8d12cf4cd06 | 1,518 | KotlinSample | Apache License 2.0 |
src/app/src/main/java/fi/tiko/vanillaweather/openweather/Utils.kt | iminashi | 363,667,141 | false | null | package fi.tiko.vanillaweather.openweather
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.util.Log
import java.lang.Exception
import java.net.URL
import java.util.*
// Filters the characters in the query string and replaces spaces with "%20".
private fun filterApiQueryString(query... | 0 | Kotlin | 0 | 0 | 6cb0b4cba5a34e5de1749bf4e5fc33b52b6eba9f | 1,827 | vanilla-weather | MIT License |
app/shared/platform/impl/src/androidMain/kotlin/build/wallet/platform/data/FileDirectoryProviderImpl.kt | proto-at-block | 761,306,853 | false | {"C": 10424094, "Kotlin": 7156393, "Rust": 2046237, "Swift": 700307, "Python": 331492, "HCL": 271992, "Shell": 111209, "TypeScript": 102700, "C++": 64770, "Meson": 64234, "JavaScript": 36227, "Just": 28071, "Ruby": 9428, "Dockerfile": 5731, "Makefile": 3839, "Open Policy Agent": 1552, "Procfile": 80} | package build.wallet.platform.data
import build.wallet.platform.PlatformContext
actual class FileDirectoryProviderImpl actual constructor(
private val platformContext: PlatformContext,
) : FileDirectoryProvider {
override fun appDir(): String = platformContext.appContext.dataDir.absolutePath
}
| 0 | C | 10 | 98 | 1f9f2298919dac77e6791aa3f1dbfd67efe7f83c | 301 | bitkey | MIT License |
testing/src/main/java/tmidev/testing/model/ComicFactory.kt | tminet | 437,921,880 | false | null | package tmidev.testing.model
import tmidev.core.domain.model.Comic
class ComicFactory {
fun create(fakeComic: FakeComic) = when (fakeComic) {
FakeComic.FakeComic1 -> Comic(
id = 1,
imageUrl = "url_comic_1.jpg"
)
FakeComic.FakeComic2 -> Comic(
id = 2,
... | 0 | Kotlin | 1 | 0 | 1cddbd1e69be453d5749957c397e3c849cde9f69 | 491 | MarvelHeroes | MIT License |
testing/src/main/java/tmidev/testing/model/ComicFactory.kt | tminet | 437,921,880 | false | null | package tmidev.testing.model
import tmidev.core.domain.model.Comic
class ComicFactory {
fun create(fakeComic: FakeComic) = when (fakeComic) {
FakeComic.FakeComic1 -> Comic(
id = 1,
imageUrl = "url_comic_1.jpg"
)
FakeComic.FakeComic2 -> Comic(
id = 2,
... | 0 | Kotlin | 1 | 0 | 1cddbd1e69be453d5749957c397e3c849cde9f69 | 491 | MarvelHeroes | MIT License |
backend-app/src/main/kotlin/altszama/config/SecretsConfig.kt | konkit | 122,551,882 | false | null | package altszama.config
import org.springframework.beans.factory.annotation.Value
import org.springframework.context.annotation.Configuration
@Configuration
open class SecretsConfig {
@Value("#{environment.DATABASE_HOST}")
lateinit var databaseHost: String
@Value("#{environment.DATABASE_NAME}")
lat... | 4 | Kotlin | 1 | 5 | f844e8032dd75cc7576dd14e89488c9ff7e9c0be | 1,114 | altszama | MIT License |
features/dd-sdk-android-session-replay/src/test/kotlin/com/datadog/android/sessionreplay/forge/TouchEventRecordedDataQueueItemForgeryFactory.kt | DataDog | 219,536,756 | false | null | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.android.sessionreplay.forge
import com.datadog.a... | 44 | null | 60 | 151 | d7e640cf6440ab150c2bbfbac261e09b27e258f4 | 827 | dd-sdk-android | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.