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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
mobile_app/app/src/main/java/com/ssafy/waybackhome/search/SearchListAdapter.kt | WayBackHomeProject | 801,826,131 | false | {"Kotlin": 78460} | package com.ssafy.waybackhome.search
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView.ViewHolder
import com.ssafy.waybackhome.data.geo.GeoAddress
import com.ssaf... | 0 | Kotlin | 1 | 0 | e46925909b97d5bc32b4bc288c48b8668c40251d | 1,995 | Mobile | MIT License |
mobile_app/app/src/main/java/com/ssafy/waybackhome/search/SearchListAdapter.kt | WayBackHomeProject | 801,826,131 | false | {"Kotlin": 78460} | package com.ssafy.waybackhome.search
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView.ViewHolder
import com.ssafy.waybackhome.data.geo.GeoAddress
import com.ssaf... | 0 | Kotlin | 1 | 0 | e46925909b97d5bc32b4bc288c48b8668c40251d | 1,995 | Mobile | MIT License |
src/main/kotlin/com/silverhetch/carpo/file/SubCFile.kt | LarryHsiao | 146,477,271 | false | null | package com.silverhetch.carpo.file
import com.silverhetch.carpo.tag.Tags
import com.silverhetch.carpo.util.FileImageUrl
import com.silverhetch.carpo.workspace.Workspace
import java.io.File
/**
* Class that represents the sub file of [CFile].
*/
class SubCFile(private val workspace: Workspace, private var jdkFile: F... | 1 | null | 1 | 1 | 1175157f70467a9630b80b894e153eb5ea8c6f9e | 1,478 | Carpo | MIT License |
HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/about/AboutActivity.kt | Waboodoo | 34,525,124 | false | null | package ch.rmy.android.http_shortcuts.activities.about
import androidx.compose.runtime.Composable
import ch.rmy.android.framework.ui.BaseIntentBuilder
import ch.rmy.android.http_shortcuts.activities.BaseComposeActivity
class AboutActivity : BaseComposeActivity() {
@Composable
override fun Content() {
... | 18 | Kotlin | 100 | 749 | 72abafd7e3bbe68647a109cb4d5a1d3b97a73d31 | 410 | HTTP-Shortcuts | MIT License |
library/src/main/java/kwasm/format/text/module/WasmFunction.kt | jasonwyatt | 226,777,898 | false | null | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 4 | WebAssembly | 3 | 25 | 3c17988daaa8f37d654ee29428a37b330b3532ad | 8,227 | KWasm | Apache License 2.0 |
platform/platform-impl/src/com/intellij/toolWindow/ToolWindowRightToolbar.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.toolWindow
import com.intellij.openapi.ui.VerticalFlowLayout
import com.intellij.openapi.wm.ToolWindowAnchor
import com.intellij.openapi.wm.impl.AbstractDroppableStripe
import c... | 191 | null | 4372 | 13,319 | 4d19d247824d8005662f7bd0c03f88ae81d5364b | 2,229 | intellij-community | Apache License 2.0 |
platform/platform-impl/src/com/intellij/toolWindow/ToolWindowRightToolbar.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.toolWindow
import com.intellij.openapi.ui.VerticalFlowLayout
import com.intellij.openapi.wm.ToolWindowAnchor
import com.intellij.openapi.wm.impl.AbstractDroppableStripe
import c... | 191 | null | 4372 | 13,319 | 4d19d247824d8005662f7bd0c03f88ae81d5364b | 2,229 | intellij-community | Apache License 2.0 |
compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/l10n/Hy.kt | VexorMC | 838,305,267 | false | {"Kotlin": 104238872, "Java": 66757679, "C++": 9111230, "AIDL": 628952, "Python": 306842, "Shell": 199496, "Objective-C": 47117, "TypeScript": 38627, "HTML": 28384, "Swift": 21386, "Svelte": 20307, "ANTLR": 19860, "C": 15043, "CMake": 14435, "JavaScript": 6457, "GLSL": 3842, "CSS": 1760, "Batchfile": 295} | /*
* Copyright 2024 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 2 | 9730aa39ce1cafe408f28962a59b95b82c68587f | 4,822 | compose | Apache License 2.0 |
blur_tutorial/src/main/java/com/cleveroad/blur_tutorial/explanator/extract/reflectors/BottomNavigationReflector.kt | Cleveroad | 212,514,628 | false | null | package com.cleveroad.blur_tutorial.explanator.extract.reflectors
import android.view.View
import androidx.appcompat.view.menu.MenuItemImpl
import com.cleveroad.blur_tutorial.ext.children
import com.cleveroad.blur_tutorial.ext.getPrivateField
import com.google.android.material.bottomnavigation.BottomNavigationItemView... | 4 | Kotlin | 19 | 151 | 756c2c36d86c5263b5ea805ed43da5df5be45b33 | 1,184 | BlurTutorial | MIT License |
data/db/src/commonMain/kotlin/io/github/droidkaigi/confsched2020/data/db/SponsorDatabase.kt | DroidKaigi | 202,978,106 | false | null | package io.github.droidkaigi.confsched2020.data.db
import io.github.droidkaigi.confsched2020.data.api.response.SponsorResponse
import io.github.droidkaigi.confsched2020.data.db.entity.SponsorEntity
import kotlinx.coroutines.flow.Flow
interface SponsorDatabase {
fun sponsors(): Flow<List<SponsorEntity>>
suspen... | 46 | Kotlin | 331 | 785 | 4c5533e4611d4bf6007284dd1f61db2fc92eb0ae | 377 | conference-app-2020 | Apache License 2.0 |
MyPersonalAssitant/app/src/main/java/com/velmurugan/mypersonalassitant/utils/AppConstants.kt | velmurugan-murugesan | 159,637,287 | false | null | package com.velmurugan.mypersonalassitant.utils
object AppConstants {
var assistantName = "Manju"
} | 1 | Java | 1 | 6 | 8c2e8b2a0e8f33b5e8c0ea66890756e02577fa54 | 105 | AndriodSamples | Apache License 2.0 |
core/common/src/main/java/com/grv/common/util/Mapper.kt | GerhardRvv | 875,710,376 | false | {"Kotlin": 65567} | package com.grv.common.util
interface Mapper<Input, Output> {
fun map(
input: Input,
): Output
} | 0 | Kotlin | 0 | 0 | 8de3ade8189f0db5e9c897b520071ee202ad48e5 | 113 | android-mood-news | Apache License 2.0 |
WithoutABotBackend/src/main/kotlin/eu/withoutaname/discordbots/withoutabot/config/ActivityConfig.kt | WithoutAName25 | 359,211,859 | false | null | package eu.withoutaname.discordbots.withoutabot.config
import net.dv8tion.jda.api.entities.Activity
import net.dzikoysk.cdn.serdes.SimpleDeserializer
import net.dzikoysk.cdn.serdes.SimpleSerializer
import panda.std.Result
class ActivityConfig(
val type: Activity.ActivityType,
val name: String
) {
class Seriali... | 1 | Kotlin | 0 | 1 | f026d6b9e061a67a41927f9080d16534cddecb3b | 1,369 | WithoutABot | MIT License |
ee-grab/src/main/kotlin/ee/grab/core/Browser.kt | eugeis | 80,671,793 | false | null | /******************************************************************************
* Copyright 2016 <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/li... | 0 | Kotlin | 0 | 0 | bfb6b46f508746b4d69ad8de85a5fce00b17e46f | 2,743 | ee-grab | Apache License 2.0 |
app/src/main/java/com/vitorpamplona/amethyst/ui/screen/ChatroomListFeedView.kt | vitorpamplona | 587,850,619 | false | null |
package com.vitorpamplona.amethyst.ui.screen
import androidx.compose.animation.Crossfade
import androidx.compose.animation.core.tween
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundatio... | 120 | Kotlin | 88 | 686 | 24d722cdb72a7b52986e488b66a5540682be18f6 | 4,990 | amethyst | MIT License |
idea/testData/codeInsight/moveUpDown/expressions/closureInFor2.kt | JakeWharton | 99,388,807 | true | null | // MOVE: up
fun foo() {
for (i in run { 1..2 }) {
<caret>run {
}
}
} | 0 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 92 | kotlin | Apache License 2.0 |
solutions/src/main/kotlin/io/github/tomplum/aoc/solutions/Day6.kt | TomPlum | 572,260,182 | false | null | package io.github.tomplum.aoc.solutions
import io.github.tomplum.aoc.communication.packet.PacketInterceptor
import io.github.tomplum.aoc.communication.packet.strategy.MessageStartMarkerFinder
import io.github.tomplum.aoc.communication.packet.strategy.PacketStartMarkerFinder
import io.github.tomplum.libs.input.Day
impo... | 0 | Kotlin | 0 | 0 | 703db17fe02a24d809cc50f23a542d9a74f855fb | 915 | advent-of-code-2022 | Apache License 2.0 |
service/src/main/kotlin/app/cash/backfila/dashboard/RootRedirectAction.kt | adrw | 210,895,699 | false | {"Gradle": 5, "YAML": 1, "INI": 4, "Shell": 2, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Kotlin": 62, "Protocol Buffer": 2, "SQL": 11, "JSON": 3, "HTML": 1, "TSX": 14, "Java": 2} | package app.cash.backfila.dashboard
import misk.security.authz.Authenticated
import misk.web.Get
import misk.web.Response
import misk.web.ResponseBody
import misk.web.actions.WebAction
import misk.web.toResponseBody
import okhttp3.Headers
import java.net.HttpURLConnection
class RootRedirectAction : WebAction {
@Get... | 1 | null | 1 | 1 | a00c712d4bc5da9131baf0c70cb1fe805fbc9995 | 575 | backfila | Apache License 2.0 |
SKIE/kotlin-compiler/linker-plugin/src/kgp_common/kotlin/co/touchlab/skie/phases/other/ValidateSkieVisibilityAnnotationsPhase.kt | touchlab | 685,579,240 | false | {"Kotlin": 1644009, "Swift": 6029, "Shell": 1040} | package co.touchlab.skie.phases.other
import co.touchlab.skie.configuration.annotations.SkieVisibility
import co.touchlab.skie.kir.descriptor.allExposedMembers
import co.touchlab.skie.phases.ClassExportPhase
import co.touchlab.skie.phases.descriptorProvider
import co.touchlab.skie.phases.descriptorReporter
import org.... | 9 | Kotlin | 8 | 735 | b96044d4dec91e4b85c5b310226c6f56e3bfa2b5 | 1,381 | SKIE | Apache License 2.0 |
app/src/main/java/com/babylon/wallet/android/presentation/transaction/composables/ConnectedDAppsContent.kt | radixdlt | 513,047,280 | false | {"Kotlin": 3312704, "HTML": 215350, "Java": 18496, "Ruby": 2312, "Shell": 1962} | package com.babylon.wallet.android.presentation.transaction.composables
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.comp... | 8 | Kotlin | 11 | 4 | b3669e934c81258e87ac1e9712d1509c8f6b8283 | 6,140 | babylon-wallet-android | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/ui/detail/DetailScreen.kt | vivart | 342,747,093 | 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 | ffc1e71ec5bf57e742a8e1032a8606bad144b6fb | 6,082 | puppy | Apache License 2.0 |
compottie-network/src/commonMain/kotlin/io/github/alexzhirkevich/compottie/Network.kt | alexzhirkevich | 730,724,501 | false | {"Kotlin": 820392, "Swift": 601, "HTML": 572} | package io.github.alexzhirkevich.compottie
import io.ktor.client.HttpClient
import io.ktor.client.statement.bodyAsChannel
import io.ktor.http.URLParserException
import io.ktor.http.Url
import io.ktor.util.toByteArray
import kotlinx.coroutines.withContext
import okio.Path
@OptIn(InternalCompottieApi::class)
internal s... | 2 | Kotlin | 2 | 135 | 426ee74342a86ecebc8118ef71e02597290faa4c | 1,396 | compottie | MIT License |
ft/src/main/kotlin/org/octopusden/release/management/plugins/gradle/ReleaseManagementPluginRunner.kt | octopusden | 563,865,090 | false | {"Kotlin": 34568, "Java": 27775, "Groovy": 24415, "Go": 422, "Shell": 287} | package org.octopusden.release.management.plugins.gradle
import com.platformlib.process.api.ProcessInstance
import com.platformlib.process.builder.ProcessBuilder
import com.platformlib.process.factory.ProcessBuilders
import com.platformlib.process.local.specification.LocalProcessSpec
import org.slf4j.LoggerFactory
imp... | 1 | Kotlin | 0 | 0 | 0e676c12acaf9ce94ab6c13e9479c39fe665ab6e | 2,496 | octopus-rm-gradle-plugin | Apache License 2.0 |
kotlin-utility-common/src/main/kotlin/com/windea/utility/common/extensions/RandomExtensions.kt | DragonKnightOfBreeze | 189,628,889 | false | null | package com.windea.utility.common.extensions
import java.util.*
import kotlin.random.Random
object RandomExtensions {
/**得到随机的uuid。*/
fun uuid(): String {
return UUID.randomUUID().toString()
}
/**得到指定范围内的随机数。包含上下限。*/
fun range(min: Int, max: Int): Int {
return Random.nextInt(min, max + 1)
}
/**得到0到指定... | 0 | Kotlin | 0 | 0 | 93b18f66beb64eb46cdd4c55b08c27c58a84c9cb | 3,193 | Kotlin-Utility | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/BellSchoolSlash.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 | 5,512 | icons | MIT License |
app/src/main/java/com/lbweather/getweatherfromall/presentation/fragments/DialogListLocations.kt | artemqq5 | 490,585,582 | false | {"Kotlin": 111673} | package com.lbweather.getweatherfromall.presentation.fragments
import android.Manifest
import android.annotation.SuppressLint
import android.content.pm.PackageManager
import android.graphics.Rect
import android.location.Geocoder
import android.location.LocationManager
import android.os.Build
import android.os.Bundle
i... | 0 | Kotlin | 0 | 0 | cf431ee2cd1f14286c89027363ac63480cbcb83a | 9,906 | LBWeather | Amazon Digital Services License |
src/test/java/com/hip/kafka/reactor/util/SampleProducer.kt | hip-property | 137,079,132 | false | {"Kotlin": 43069, "Java": 933} | /*-
* =========================================================BeginLicense
* Reactive Kafka
* .
* Copyright (C) 2018 HiP Property
* .
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*... | 0 | Kotlin | 0 | 0 | 0ed7b9315ea3c739e11e2802675a2ce5a60e9052 | 3,231 | reactor-kafka-spring | Apache License 2.0 |
mobile_app1/module1057/src/main/java/module1057packageKt0/Foo276.kt | uber-common | 294,831,672 | false | null | package module1057packageKt0;
annotation class Foo276Fancy
@Foo276Fancy
class Foo276 {
fun foo0(){
module1057packageKt0.Foo275().foo5()
}
fun foo1(){
foo0()
}
fun foo2(){
foo1()
}
fun foo3(){
foo2()
}
fun foo4(){
foo3()
}
fun foo5(){
foo4()
}
} | 6 | Java | 6 | 72 | 9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e | 299 | android-build-eval | Apache License 2.0 |
app/src/main/java/com/verifone/mobile/controllers/RecurrentPayController.kt | verifoneone | 488,284,384 | false | {"Kotlin": 337130} | package com.verifone.mobile.controllers
import android.content.Context
import com.verifone.mobile.Keys
import com.verifone.mobile.TestRetrofitClientInstance
import com.verifone.mobile.dataobjects.ReuseTokenRequest
import com.verifone.mobile.interfaces.MainAppRestApi
import com.verifone.mobile.responses.ReuseTokenRespo... | 0 | Kotlin | 0 | 5 | af847b68098ed977504d142f10d3e9bccec9822a | 3,129 | verifone-ecom-android-sdk | MIT License |
multisrc/overrides/heancms/gloriousscan/src/GloriousScan.kt | tachiyomiorg | 79,658,844 | false | null | package eu.kanade.tachiyomi.extension.pt.gloriousscan
import eu.kanade.tachiyomi.multisrc.heancms.HeanCms
import eu.kanade.tachiyomi.network.interceptor.rateLimitHost
import okhttp3.HttpUrl.Companion.toHttpUrl
import okhttp3.OkHttpClient
import java.text.SimpleDateFormat
import java.util.TimeZone
class GloriousScan :... | 632 | null | 1252 | 2,896 | f60fdb5ce144fb157ad09b7d04585b17aeec59ee | 777 | tachiyomi-extensions | Apache License 2.0 |
shared/domain/shows/implementation/src/commonMain/kotlin/com/thomaskioko/tvmaniac/shows/implementation/mapper/TvShowsResponseMapper.kt | c0de-wizard | 361,393,353 | false | null | package com.thomaskioko.tvmaniac.shows.implementation.mapper
import com.thomaskioko.tvmaniac.core.db.Show
import com.thomaskioko.tvmaniac.tmdb.api.model.ShowDetailResponse
import com.thomaskioko.tvmaniac.tmdb.api.model.TmdbShowResponse
import kotlinx.datetime.toLocalDate
fun TmdbShowResponse.toShow(): Show {
retu... | 3 | Kotlin | 8 | 81 | 9df7429257c4cff0346734392c89b8017b90bd45 | 1,348 | tv-maniac | Apache License 2.0 |
src/test/kotlin/no/nav/syfo/testhelper/TestApiModule.kt | navikt | 378,118,189 | false | null | package no.nav.syfo.testhelper
import io.ktor.application.*
import io.mockk.mockk
import no.nav.syfo.application.api.apiModule
import no.nav.syfo.client.azuread.AzureAdClient
fun Application.testApiModule(
externalMockEnvironment: ExternalMockEnvironment,
) {
this.apiModule(
applicationState = externa... | 1 | Kotlin | 1 | 0 | dd12b992684acda2da79c73c5364ece6d58f3dbd | 1,024 | isdialogmelding | MIT License |
sample/src/main/java/com/papashkin/antsadaptersample/TestAdapter.kt | Papashkin | 194,541,888 | false | null | package com.papashkin.antsadaptersample
import android.view.View
import android.view.ViewGroup
import com.papashkin.antsadapter.AntsAdapter
import com.papashkin.antsadapter.AntsViewHolder
import kotlinx.android.synthetic.main.card_user_info.view.*
class TestAdapter : AntsAdapter<TestViewHolder, UserModel>() {
ov... | 0 | Kotlin | 0 | 0 | e1a6ad679852be39207b64d78a32a709cdcaffbc | 730 | ants_base_adapter | MIT License |
shared-ui/src/main/java/org/hzontal/shared_ui/appbar/CollapsableAppBar.kt | Horizontal-org | 193,379,924 | false | {"Java": 1621257, "Kotlin": 1441445} | package org.hzontal.shared_ui.appbar
import android.annotation.SuppressLint
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import androidx.appcompat.widget.Toolbar
import androidx.constraintl... | 16 | Java | 17 | 55 | 5dd19f8c9a810c165d2d8ec8947cc9d5d4620bab | 2,668 | Tella-Android | Apache License 2.0 |
app/src/main/java/com/ekheek/financialinformationproject/util/DataState.kt | kocerenes | 558,878,475 | false | {"Kotlin": 60787} | package com.ekheek.financialinformationproject.util
sealed class DataState<out T> {
object Loading : DataState<Nothing>()
object Empty : DataState<Nothing>()
data class Success<out T>(val data: T) : DataState<T>()
data class Failure(val error: String?) : DataState<Nothing>()
} | 0 | Kotlin | 2 | 3 | c1b9f5cfb69f2f6ce5508c4bffe82409ff349798 | 294 | FinancialInformationProject | Apache License 2.0 |
app/src/main/java/com/michaelcarrano/detectivedroid/di/AppComponent.kt | michaelcarrano | 23,555,546 | false | null | package com.michaelcarrano.detectivedroid.di
import com.michaelcarrano.detectivedroid.BaseApplication
import dagger.BindsInstance
import dagger.Component
import dagger.android.AndroidInjector
import dagger.android.support.AndroidSupportInjectionModule
@Component(
modules = [
AndroidSupportInjectionModule:... | 9 | Kotlin | 8 | 80 | efcaecec4ae3bf4996877522dd86d76fe981da65 | 628 | detective-droid | Apache License 2.0 |
src/test/kotlin/com/fasterxml/jackson/module/kotlin/_integration/deser/value_class/default_argument/NonNullObjectTest.kt | ProjectMapK | 488,347,906 | false | null | package com.fasterxml.jackson.module.kotlin._integration.deser.value_class.default_argument
import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.module.kotlin._integration.deser.value_class.NonNullObject
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.fasterxml.jac... | 7 | Kotlin | 1 | 69 | a9990896d4711ccf5ebb25cc885261f85fedaf0e | 1,381 | jackson-module-kogera | Apache License 2.0 |
app/src/main/java/com/seymen/seymentravel/presentation/detail/DetailImagesRecyclerView.kt | AhmetYusufSEYMEN | 546,089,235 | false | {"Kotlin": 122051} | package com.seymen.seymentravel.presentation.detail
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.RecyclerView
import com.seymen.seymentravel.BR
import com.seymen.seymentravel.R
import com.seymen.seymentravel.databinding... | 0 | Kotlin | 0 | 3 | ed380971df72d2d9c64f32167c2faa060243b498 | 1,524 | travel-guide-app | The Unlicense |
app/src/main/java/com/seymen/seymentravel/presentation/detail/DetailImagesRecyclerView.kt | AhmetYusufSEYMEN | 546,089,235 | false | {"Kotlin": 122051} | package com.seymen.seymentravel.presentation.detail
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.RecyclerView
import com.seymen.seymentravel.BR
import com.seymen.seymentravel.R
import com.seymen.seymentravel.databinding... | 0 | Kotlin | 0 | 3 | ed380971df72d2d9c64f32167c2faa060243b498 | 1,524 | travel-guide-app | The Unlicense |
src/main/kotlin/com/linkedplanet/plugin/jira/insightobjectgraph/impl/objects/ListObjectsServiceImpl.kt | linked-planet | 226,925,899 | false | null | /*
* #%L
* insight-object-graph
* %%
* Copyright (C) 2018 - 2020 The Plugin Authors
* %%
* 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... | 1 | null | 1 | 4 | c86028969176786bb08e234f8469d58466decc8d | 8,267 | jira-insight-object-graph-plugin | Apache License 2.0 |
app/src/main/java/com/mathequations/presentation/math_equation_list/components/SegmentedButtons.kt | spasarnaudov | 758,675,583 | false | {"Kotlin": 67251} | package com.core.presentation.components
import android.annotation.SuppressLint
import androidx.compose.foundation.horizontalScroll
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.rememberScrollState
import androidx.compose.material3.SegmentedButtonDefaults
import androidx.compose.mate... | 0 | Kotlin | 0 | 0 | 513a3a168ad87bdaa314c1a902b41da7dbf01da9 | 1,822 | MathEquations | MIT License |
AtomicKotlin/Usability/Enumerations/Examples/src/CheckingOptions.kt | fatiq123 | 726,462,263 | false | {"Kotlin": 370528, "HTML": 6544, "JavaScript": 5252, "Java": 4416, "CSS": 3780, "Assembly": 94} | // Enumerations/CheckingOptions.kt
package checkingoptions
import atomictest.*
import enumerations.Level
import enumerations.Level.*
fun checkLevel(level: Level) {
when (level) {
Overflow -> trace(">>> Overflow!")
Empty -> trace("Alert: Empty")
else -> trace("Level $level OK")
}
}
fun main() {
check... | 0 | Kotlin | 0 | 0 | 3d351652ebe1dd7ef5f93e054c8f2692c89a144e | 448 | AtomicKotlinCourse | MIT License |
trixnity-crypto-core/src/opensslMain/kotlin/net/folivo/trixnity/crypto/core/sha256.kt | benkuly | 330,904,570 | false | {"Kotlin": 4165934, "JavaScript": 5352, "TypeScript": 2906, "CSS": 1454, "Dockerfile": 1328} | package net.folivo.trixnity.crypto.core
import checkError
import kotlinx.cinterop.addressOf
import kotlinx.cinterop.convert
import kotlinx.cinterop.usePinned
import kotlinx.coroutines.flow.*
import net.folivo.trixnity.utils.ByteArrayFlow
import net.folivo.trixnity.utils.encodeUnpaddedBase64
import org.openssl.*
@OptI... | 0 | Kotlin | 3 | 30 | 6dfadb2efa1843a33030fba9eb6be0bfecdfb94d | 1,573 | trixnity | Apache License 2.0 |
jps-plugin/testData/incremental/pureKotlin/removeUnusedFile/unused.kt | JakeWharton | 99,388,807 | true | null | package test
fun foo() {}
class Bar() {} | 179 | Kotlin | 5640 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 42 | kotlin | Apache License 2.0 |
app/src/main/kotlin/com/sanmer/geomag/ui/utils/WindowInsetsExt.kt | SanmerApps | 583,580,288 | false | {"Kotlin": 242837} | package com.sanmer.geomag.ui.utils
import androidx.compose.foundation.layout.WindowInsets
val WindowInsets.Companion.none get() = WindowInsets(0, 0, 0, 0) | 1 | Kotlin | 2 | 23 | 8f6983b214ba72d78955e1f8ac6b2a52bab4ebd2 | 156 | Geomag | Apache License 2.0 |
sample-android/src/main/java/tv/abema/fragfit/SampleFlagService.kt | abema | 312,185,075 | false | null | package tv.abema.fragfit
import tv.abema.flagfit.FlagType
import tv.abema.flagfit.FlagType.Companion.EXPIRY_DATE_INFINITE
import tv.abema.flagfit.FlagType.Companion.OWNER_NOT_DEFINED
import tv.abema.flagfit.JustFlagSource
import tv.abema.flagfit.annotation.BooleanFlag
import tv.abema.flagfit.annotation.DebugWith
impor... | 5 | Kotlin | 2 | 93 | a956d4e2be81bbae9e45121c3ee5bab31d5bab55 | 1,688 | flagfit | Apache License 2.0 |
RickandMorty/core/src/main/java/com/renatoramos/rickandmorty/common/base/BaseActivity.kt | renatoramos7 | 208,802,459 | false | null | package com.renatoramos.rickandmorty.common.base
import dagger.android.support.DaggerAppCompatActivity
open class BaseActivity : DaggerAppCompatActivity() | 0 | Kotlin | 1 | 1 | d953085a36b1daae251107cd4c18ac5b50eebb44 | 156 | Rick-And-Morty-Android | MIT License |
app/src/main/java/io/github/yunato/myankicard/ui/activity/InitialActivity.kt | Yunato | 199,732,226 | false | null | package io.github.yunato.myankicard.ui.activity
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import com.google.gson.Gson
import io.github.yunato.myankicard.R
import io.github.yunato.myankicard.model.entity.AnkiCard
import io.github.yunato.myankicard.model.entity.Post... | 0 | Kotlin | 0 | 0 | 085284bdbc217bdd0cefbf6a77f6b80923fe22ae | 2,967 | MyAnkiCard | MIT License |
src/main/kotlin/controller/AppdirController.kt | JSAbrahams | 279,637,335 | false | null | package main.kotlin.controller
import com.moandjiezana.toml.TomlWriter
import javafx.beans.property.SimpleObjectProperty
import main.kotlin.model.appdir.Files
import tornadofx.Controller
import tornadofx.onChange
import java.io.File
private val FILES = "files.toml"
class AppdirController : Controller() {
val jou... | 23 | Kotlin | 1 | 1 | d8c3c22352646972e110b2599a3901b89593d313 | 1,548 | Academic-Journal | MIT License |
mpp-library/domain/src/commonMain/kotlin/package.kt | thumbcat-io | 225,277,850 | false | null | package io.thumbcat.oss.gtcompanion.domain
| 0 | Kotlin | 0 | 4 | 4e353b414a4842e4562eda98c8bba6ade3c61313 | 43 | gtcompanion | Apache License 2.0 |
app/src/main/java/cz/cuni/mff/ufal/translator/ui/translations/screens/MissingTtsDialog.kt | ufal | 479,050,528 | false | null | package cz.cuni.mff.ufal.translator.ui.translations.screens
import android.content.Context
import androidx.compose.material.AlertDialog
import androidx.compose.material.Text
import androidx.compose.material.TextButton
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState
import androi... | 7 | Kotlin | 0 | 2 | 3412f958a4b506bbe535688c3341831564bb009f | 2,982 | charles-translator-android | MIT License |
feature-profile/src/main/kotlin/com/marcohc/terminator/sample/feature/detail/DetailInteractor.kt | marcohc | 290,525,200 | false | {"Kotlin": 52466} | package com.marcohc.terminator.sample.feature.detail
import com.marcohc.terminator.core.mvi.domain.MviBaseInteractor
import io.reactivex.Completable
import io.reactivex.Observable
import io.reactivex.Single
internal class DetailInteractor(
private val getVenueByIdUseCase: GetVenueByIdUseCase,
private val anal... | 0 | Kotlin | 0 | 2 | 8e3cabf3db24b14a705c4ef1c1b512590b1eb3c4 | 2,043 | terminator-sample | MIT License |
component-acgschedule/src/main/java/com/rabtman/acgschedule/base/constant/SystemConstant.kt | Rabtman | 129,618,096 | false | null | package com.rabtman.acgschedule.base.constant
import com.rabtman.acgschedule.R
/**
* @author Rabtman
*/
object SystemConstant {
const val DB_NAME = "lib.schedule.realm"
const val DB_VERSION: Long = 1
//番剧标题栏
@JvmField
val ACG_SCHEDULE_TITLE = arrayOf("放送表")
//番剧时间表TAB标题栏
@JvmField
... | 2 | null | 120 | 840 | 9150f3abe50e046afd83cc97cb4415a39b1f1bd1 | 915 | AcgClub | Apache License 2.0 |
src/test/kotlin/org/gradle/plugins/fsm/isolationcheck/TextViolationHandlerTest.kt | e-Spirit | 579,945,778 | false | {"Kotlin": 333260, "Java": 19302} | package org.gradle.plugins.fsm.isolationcheck
import de.espirit.mavenplugins.fsmchecker.Category
import de.espirit.mavenplugins.fsmchecker.ComplianceLevel
import org.assertj.core.api.Assertions.assertThat
import org.json.JSONArray
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
class TextVio... | 0 | Kotlin | 0 | 0 | e8b1c1897825e25844183f39391cafeeacfb2e27 | 3,720 | firstspirit-module-gradle-plugin | Apache License 2.0 |
domain/src/main/kotlin/com/ilgiz/kitsu/domain/models/anime/StreamingLinksModel.kt | ilgiz05 | 493,465,307 | false | null | package com.ilgiz.kitsu.domain.models.anime
data class StreamingLinksModel(
val links: LinksXXXXXXXXXModel
) | 0 | Kotlin | 0 | 0 | f9d4b4b9899bc2faa3fc992233c3187774d3d8d8 | 113 | lesson7.kotlin3 | MIT License |
kotest-assertions/kotest-assertions-core/src/jvmTest/kotlin/com/sksamuel/kotest/matchers/floats/FloatMatchersTest.kt | stavares843 | 402,840,224 | true | {"Kotlin": 3128487, "CSS": 352, "Java": 145} | package com.sksamuel.kotest.matchers.floats
import com.sksamuel.kotest.matchers.doubles.numericFloats
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.script.context
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.floats.beNaN
import io.kotest.matchers.floats.shouldBeExact... | 0 | null | 0 | 0 | 9aae4d2bf1d7be80d310d1c8a407001fd2eab3a8 | 7,216 | kotest | Apache License 2.0 |
app/src/main/java/com/example/kotlincodingtest/programmers/Lv1/공원_산책/Solution.kt | ichanguk | 788,416,368 | false | {"Kotlin": 309138} | package com.example.kotlincodingtest.programmers.Lv1.공원_산책
class Solution {
fun solution(park: Array<String>, routes: Array<String>): IntArray {
var H = park.size
var W = park[0].length
val parkMap = MutableList(H){ "" }
var curX = 0
var curY = 0
for (i in 0 until ... | 0 | Kotlin | 0 | 0 | 9d276c80d3f518610d06432ba4916741d3b18201 | 2,065 | KotlinCodingTest | MIT License |
app/src/journeyTest/kotlin/batect/journeytests/testutils/ApplicationRunner.kt | liangtianwang | 364,773,115 | true | {"Kotlin": 3829494, "Python": 35837, "Shell": 27272, "Groovy": 16241, "PowerShell": 6944, "Dockerfile": 6015, "Batchfile": 3234, "Java": 1421, "HTML": 745} | /*
Copyright 2017-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 wr... | 0 | null | 0 | 0 | ae3af44fce22a130d5cbf580dbde8af624cfb195 | 2,861 | batect | Apache License 2.0 |
app/src/main/java/com/kagan/chatapp/ui/fragments/CreateRoomFragment.kt | hnjm | 335,143,213 | false | {"Kotlin": 143707} | package com.kagan.chatapp.ui.fragments
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.navigation.fragment.findNavController
import com.kagan.chatapp.R
import com.kagan.chatapp.databinding.FragmentCreateRoomBinding
import c... | 0 | Kotlin | 0 | 1 | 0087c5a6d5daba19dd7a09c140891a79e0543edf | 3,942 | SimpleChat-Android | MIT License |
tooltipdialog/src/main/java/com/kcrimi/tooltipdialog/ToolTipDialog.kt | kcrimi | 262,463,647 | false | {"Kotlin": 12460} | package com.kcrimi.tooltipdialog
import android.app.Activity
import android.app.Dialog
import android.content.Context
import android.graphics.*
import android.graphics.drawable.BitmapDrawable
import android.graphics.drawable.ColorDrawable
import android.view.*
import android.view.View.GONE
import android.view.View.VIS... | 1 | Kotlin | 19 | 86 | 79853acc2343c0a3443a07d4bdfd5838b9ad70cb | 8,781 | ToolTipDialog | Apache License 2.0 |
varp-repositories/varp-repository-file-tree/src/main/kotlin/net/voxelpi/varp/repository/filetree/FileTreeRepository.kt | VoxelPi | 869,165,536 | false | {"Kotlin": 178363, "Java": 2122} | package net.voxelpi.varp.repository.filetree
import net.kyori.adventure.serializer.configurate4.ConfigurateComponentSerializer
import net.kyori.adventure.text.Component
import net.kyori.adventure.text.minimessage.MiniMessage
import net.kyori.adventure.text.serializer.ComponentSerializer
import net.voxelpi.varp.excepti... | 0 | Kotlin | 0 | 0 | f9c616f84996d87363d37ba64eac4f89b9a32bd6 | 10,422 | Varp | MIT License |
app/src/main/java/com/wadhawan/radioandroidproject/data/network/api/RadioApiService.kt | kanav22 | 808,660,137 | false | {"Kotlin": 22575} | package com.wadhawan.radioandroidproject.data.network.api
import com.wadhawan.radioandroidproject.model.RadioStation
import com.wadhawan.radioandroidproject.model.Response
import com.wadhawan.radioandroidproject.model.StationStatus
import retrofit2.http.GET
import retrofit2.http.Path
interface RadioApiService {
... | 0 | Kotlin | 0 | 0 | d2d519c0909f7695b83a257cd3c40c3ab6fad1c6 | 1,447 | RadioAndroidProject | MIT License |
components/link-manager/src/test/kotlin/net/corda/p2p/linkmanager/delivery/ExponentialBackoffReplayCalculatorTest.kt | corda | 346,070,752 | false | {"Kotlin": 20585419, "Java": 308202, "Smarty": 115357, "Shell": 54409, "Groovy": 30246, "PowerShell": 6470, "TypeScript": 5826, "Solidity": 2024, "Batchfile": 244} | package net.corda.p2p.linkmanager.delivery
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
import java.time.Duration
class ExponentialBackoffReplayCalculatorTest {
companion object {
private val CONFIG = ReplayScheduler.ReplaySchedulerConfig.ExponentialBackoffReplay... | 11 | Kotlin | 27 | 69 | d478e119ab288af663910f9a2df42a7a7b9f5bce | 1,134 | corda-runtime-os | Apache License 2.0 |
src/main/kotlin/Day01.kt | michaeljwood | 572,560,528 | false | null | fun main() {
fun part1(input: String) = input.split("\n\n").map { line ->
line.split("\n").filter { it.isNotBlank() }.map { cal -> cal.toInt() }
}.maxOfOrNull { it.sum() }
fun part2(input: String) = input.split("\n\n").map { line ->
line.split("\n").filter { it.isNotBlank() }.map { cal -> c... | 0 | Kotlin | 0 | 0 | 8df2121f12a5a967b25ce34bce6678ab9afe4aa7 | 638 | advent-of-code-2022 | Apache License 2.0 |
coroutines/src/test/java/reagent/ObservableKotlinTest.kt | ynztlxdeai | 106,657,913 | true | {"Kotlin": 80450, "Java": 214} | package reagent
import kotlinx.coroutines.experimental.runBlocking
import org.junit.Test
class ObservableKotlinTest {
@Test fun simple() = runBlocking {
for (value in Observable.just("Hey").subscribe(coroutineContext)) {
println(value)
}
}
}
| 0 | Kotlin | 0 | 0 | 07cd8fbf88b26e5e8eefbc77812bd941b760358d | 262 | Reagent | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/ui/format/WeekDayFormatter.kt | MarioNoll | 349,129,357 | false | {"Kotlin": 112565} | /*
* 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 | 1 | 1a9b93677e258398c4c92fad1d700c924a0a4a21 | 1,013 | android-dev-challenge-compose-week4 | Apache License 2.0 |
app/src/main/java/com/vadimulasevich/myweather/network/modelsForecast/RainForecast.kt | UlasevichVadim | 505,810,972 | false | null | package com.vadimulasevich.myweather.network.modelsForecast
data class RainForecast(
val `3h`: Double
) | 0 | Kotlin | 0 | 0 | ff8cd90ebe488a0cf63f2899c7cff12bbeec63e8 | 108 | MyWeather | The Unlicense |
app/src/main/java/com/vadimulasevich/myweather/network/modelsForecast/RainForecast.kt | UlasevichVadim | 505,810,972 | false | null | package com.vadimulasevich.myweather.network.modelsForecast
data class RainForecast(
val `3h`: Double
) | 0 | Kotlin | 0 | 0 | ff8cd90ebe488a0cf63f2899c7cff12bbeec63e8 | 108 | MyWeather | The Unlicense |
.github/workflows/dependabot.main.kts | niebes | 205,933,166 | false | {"Kotlin": 39268, "Shell": 684} | #!/usr/bin/env kotlin
@file:Repository("https://repo.maven.apache.org/maven2/")
@file:Repository("https://bindings.krzeminski.it")
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.0.0")
@file:DependsOn("dependabot:fetch-metadata:v2.2.0")
import io.github.typesafegithub.workflows.actions.dependabot.Fetc... | 4 | Kotlin | 0 | 5 | bb1d676bd6568f9e2bd9b5b7ed96a2adc09b6d84 | 3,621 | retrofit-plugins | MIT License |
camera/camera-core/src/test/java/androidx/camera/core/impl/CameraFiltersTest.kt | thizisarun | 310,211,171 | true | {"Java Properties": 34, "Shell": 49, "Markdown": 43, "Java": 4694, "HTML": 17, "Kotlin": 3874, "Python": 31, "Proguard": 39, "Batchfile": 7, "JavaScript": 1, "CSS": 1, "TypeScript": 6, "Gradle Kotlin DSL": 2, "INI": 1, "CMake": 2, "C++": 4} | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | null | 0 | 0 | d7552e2b0db912a9fa1ee5b85853c32d9bc1e36b | 2,042 | androidx | Apache License 2.0 |
arspell/src/main/java/com/nikialeksey/arspell/words/SimpleWord.kt | nikialeksey | 157,249,355 | false | null | package com.nikialeksey.arspell.words
class SimpleWord(
private val key: String,
private val word: String
) : Word {
override fun key(): String {
return key
}
override fun asString(): String {
return word
}
} | 3 | Kotlin | 0 | 5 | 890664124ddf372c154c1a15cd4ce9a5d0478664 | 251 | arspell | MIT License |
app/src/main/java/net/omisoft/aborovskoy/umoriliviper/ui/detail/di/DetailComponent.kt | OmiSoftNet | 181,910,936 | false | {"Kotlin": 21904} | package net.omisoft.aborovskoy.umoriliviper.ui.detail.di
import dagger.BindsInstance
import dagger.Component
import net.omisoft.aborovskoy.umoriliviper.app.di.ActivityScope
import net.omisoft.aborovskoy.umoriliviper.app.di.AppComponent
import net.omisoft.aborovskoy.umoriliviper.ui.detail.DetailActivity
@ActivityScope... | 0 | Kotlin | 20 | 38 | a3ba3d8802343a79ddfaa8761af6a7b9a9f5b01c | 752 | android-viper-template | MIT License |
server/src/klite/Server.kt | nick318 | 439,981,491 | true | {"Kotlin": 73294, "Shell": 269} | package klite
import com.sun.net.httpserver.HttpServer
import klite.RequestMethod.GET
import kotlinx.coroutines.*
import java.lang.Runtime.getRuntime
import java.net.InetSocketAddress
import java.util.concurrent.Executors
import kotlin.concurrent.thread
import kotlin.coroutines.CoroutineContext
import kotlin.coroutine... | 0 | null | 0 | 0 | 6b9df4998c55c1f407b3ebc69c14ba5e2011cea8 | 3,442 | klite | MIT License |
src/main/kotlin/club/someoneice/thursday_delight/FoodWithSauceBase.kt | AmarokIce | 573,761,383 | false | {"Kotlin": 19963, "Java": 2745} | package club.someoneice.thursday_delight
import net.minecraft.entity.LivingEntity
import net.minecraft.entity.effect.StatusEffectInstance
import net.minecraft.entity.effect.StatusEffects
import net.minecraft.entity.player.PlayerEntity
import net.minecraft.item.Item
import net.minecraft.item.ItemStack
import net.minecr... | 1 | Kotlin | 2 | 3 | b88b3563615d49dd5720ea2e3c43f217e4bcb74c | 1,252 | ThursdayDelight | Academic Free License v3.0 |
Chapter12/Exercise12.03/app/src/main/java/com/android/testable/randomapplication/MainProviderModule.kt | PacktPublishing | 310,206,627 | false | {"Kotlin": 583795} | package com.android.testable.randomapplication
import dagger.Module
import dagger.android.ContributesAndroidInjector
@Module
abstract class MainProviderModule {
@MainScope
@ContributesAndroidInjector(modules = [MainModule::class])
abstract fun contributeMainActivityInjector(): MainActivity
} | 2 | Kotlin | 67 | 97 | b37be5b81ed1f5fb107733b509bae80e46f92f4a | 307 | How-to-Build-Android-Apps-with-Kotlin | MIT License |
app/src/main/kotlin/controller/OrderEndpoints.kt | DiUS | 87,150,714 | false | null | package au.com.dius.coffee.controller
import org.springframework.core.env.Environment
import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.*
import au.com.dius.coffee.dto.*
import au.com.dius.coffee.model.CoffeeOrder
import au.com.diu... | 0 | Kotlin | 2 | 0 | 2bcc3bd702fbf9829a4f4c3d2bca64bc9f33ae8c | 2,097 | dius-mentor_boris_coffee-api | MIT License |
presentation/src/main/java/com/zlagi/presentation/viewmodel/blog/feed/FeedViewModel.kt | Zlagi | 475,379,557 | false | {"Kotlin": 496613} | package com.zlagi.presentation.viewmodel.blog.feed
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.zlagi.common.R
import com.zlagi.common.mapper.getStringResId
import com.zlagi.common.utils.wrapper.DataResult
import com.zlagi.domain.model.PaginationDomainModel
import com.zlagi.d... | 0 | Kotlin | 12 | 63 | dffd07e8533c285bb5ca9de4e9676985aa0e87cc | 5,315 | Blogfy | Apache License 2.0 |
app/src/main/java/com/verse/app/verseapp/components/AvatarView.kt | RoberMiranda92 | 165,275,184 | false | null | package com.verse.app.verseapp.components
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.*
import android.graphics.drawable.Drawable
import android.support.annotation.ColorRes
import android.support.annotation.Dimension
import android.support.v4.content.ContextCompat
impo... | 0 | Kotlin | 0 | 0 | 3f481eec4de5066a6f709570a8436742d99898a7 | 7,162 | MarvelAndContacts | Apache License 2.0 |
android/app/src/main/kotlin/de/verenazaiser/verry_cubits/verry_cubits/MainActivity.kt | novas1r1 | 444,032,731 | false | {"Dart": 8902, "HTML": 3936, "Swift": 404, "Kotlin": 146, "Objective-C": 38} | package de.verenazaiser.verry_cubits.verry_cubits
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 5 | 8 | 494479e46dea1601a5af719f06aeb19b787373dc | 146 | verry-cubits | MIT License |
shared/src/commonMain/kotlin/ui/detail/RenderNomination.kt | piappstudio | 696,508,694 | false | {"Kotlin": 78633, "Swift": 941, "Shell": 228} | package ui.detail
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import com.biggboss.shared.MR
import model.ShowDetail
import rende... | 0 | Kotlin | 1 | 2 | 4fe4c075ab3546e75fd8df3a7f422d6d045dffe6 | 1,121 | BiggBoss | Apache License 2.0 |
desktop/app/src/main/kotlin/com/abdownloadmanager/desktop/utils/BaseComponent.kt | amir1376 | 825,187,044 | false | {"Kotlin": 967280, "Shell": 3811} | package com.abdownloadmanager.desktop.utils
import com.abdownloadmanager.desktop.pages.home.HomeComponent
import com.arkivanov.decompose.ComponentContext
import com.arkivanov.essenty.lifecycle.doOnDestroy
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Superviso... | 31 | Kotlin | 16 | 721 | 34801da12e8ae1e0a7e4cec5b75a62c6d3b2d265 | 657 | ab-download-manager | Apache License 2.0 |
jax-rs/src/test/kotlin/test/jaxrs/path/simplepath/SimplePath.kt | codecentric | 167,929,609 | false | {"Kotlin": 731151, "RAML": 5024, "Shell": 1492} | package test.jaxrs.path.simplepath
import jakarta.ws.rs.GET
import jakarta.ws.rs.Path
@Path("/todos")
class SimplePath {
@GET
fun todo() {
}
}
| 19 | Kotlin | 19 | 193 | b8a754f91b524b53a464167bf0abd6044caa25a4 | 158 | hikaku | Apache License 2.0 |
data/src/main/java/com/kafka/data/model/model/item/ResponseHeader.kt | vipulyaara | 170,554,386 | false | null | package com.kafka.data.model.model.item
import com.squareup.moshi.Json
data class ResponseHeader(
@Json(name = "QTime")
val qTime: Int,
@Json(name = "params")
val params: Params,
@Json(name = "status")
val status: Int
)
| 0 | null | 4 | 18 | 71a639047c246aa62c33fa472ab70100da25f727 | 246 | Kafka | Apache License 2.0 |
app/src/main/java/icu/nullptr/twifucker/ui/SettingsDialog.kt | soralis0912 | 753,441,642 | false | null | @file:Suppress("DEPRECATION")
package icu.nullptr.twifucker.ui
import android.app.Activity
import android.app.AlertDialog
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.database.sqlite.SQLiteDatabase
import android.net.Uri
import android.os.Bundle
... | 1 | null | 1 | 7 | 7d30702c255ae23a6fa761b6dc622449123d498a | 14,416 | TwiFucker2 | MIT License |
feature-wallet-api/src/main/java/com/edgeverse/wallet/feature_wallet_api/data/cache/AssetCacheExt.kt | finn-exchange | 512,140,809 | false | {"Kotlin": 2956205, "Java": 14536, "JavaScript": 399} | package com.dfinn.wallet.feature_wallet_api.data.cache
import com.dfinn.wallet.common.data.network.runtime.binding.AccountInfo
import com.dfinn.wallet.common.data.network.runtime.binding.bindAccountInfo
import com.dfinn.wallet.core_db.model.AssetLocal
import com.dfinn.wallet.runtime.multiNetwork.chain.model.Chain
impo... | 0 | Kotlin | 1 | 0 | 6cc7a0a4abb773daf3da781b7bd1dda5dbf9b01d | 1,294 | edgeverse-wallet | Apache License 2.0 |
src/main/kotlin/TestInstance.kt | mysticfall | 417,808,131 | false | null | @file:Suppress("unused")
package mysticfall.kotlin.react.test
import react.Component
import react.ComponentType
import react.Props
import kotlin.js.Json
external interface TestInstance<T : Props> {
var type: ComponentType<T>
var props: T
var parent: TestInstance<*>?
var children: Array<TestInstan... | 4 | Kotlin | 5 | 8 | 36ee8aa8774520a4b33bfc97fb7bd5ad8e5f06a2 | 1,030 | kotlin-react-test | MIT License |
app/src/main/java/jp/juggler/subwaytooter/api/entity/TootApplication.kt | dengzhicheng092 | 273,178,424 | true | {"Kotlin": 2598700, "Java": 1605147, "Perl": 61230} | package jp.juggler.subwaytooter.api.entity
import jp.juggler.subwaytooter.api.TootParser
import jp.juggler.util.JsonObject
class TootApplication(parser : TootParser, src : JsonObject) {
val name : String?
@Suppress("unused")
private val website : String?
// val description : String?
init {
if(parser.se... | 0 | null | 0 | 0 | c03a5ff731b6056e7fafec4b07e00733eeda02da | 565 | SubwayTooter | Apache License 2.0 |
bukkit/rpk-language-lib-bukkit/src/main/kotlin/com/rpkit/languages/bukkit/language/RPKLanguage.kt | RP-Kit | 54,840,905 | 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 writi... | 51 | Kotlin | 11 | 22 | aee4060598dc25cd8e4f3976ed5e70eb1bf874a2 | 2,931 | RPKit | Apache License 2.0 |
moit-domain/src/main/kotlin/com/mashup/moit/domain/banner/update/BannerUpdateService.kt | mash-up-kr | 631,176,365 | false | null | package com.mashup.moit.domain.banner.update
interface BannerUpdateService {
fun support(request: BannerUpdateRequest): Boolean
fun update(request: BannerUpdateRequest)
}
| 2 | Kotlin | 2 | 8 | 4e53605f9133c531f2508038c3e92cdd8e6aa569 | 180 | MOIT-backend | The Unlicense |
threads/src/main/kotlin/pl/edu/pw/ia/threads/application/model/BannedUsersRequests.kt | ERSMS-24L | 768,705,060 | false | {"Kotlin": 152647, "TypeScript": 34841, "HTML": 7540, "Shell": 4360, "JavaScript": 2661, "SCSS": 2602, "CSS": 930, "Dockerfile": 792} | package pl.edu.pw.ia.threads.application.model
import java.util.UUID
import pl.edu.pw.ia.shared.domain.command.BanAccountCommand
import pl.edu.pw.ia.shared.domain.command.UnbanAccountCommand
data class BanUserRequest(
val threadId: UUID,
val subjectAccountId: UUID,
) {
fun toCommand(accountId: UUID): BanAccountCo... | 28 | Kotlin | 2 | 2 | 450432b4792337debd2f3cb63ee178ba7210d6ec | 682 | ERSMS-24L | MIT License |
theodolite/src/main/kotlin/theodolite/util/ActionCommandFailedException.kt | cau-se | 265,538,393 | false | null | package theodolite.util
class ActionCommandFailedException(message: String, e: Exception? = null) : DeploymentFailedException(message,e) {
} | 0 | Java | 7 | 20 | a83a9f8bb1f31e5c5e3e0c9ca1e2a366c01df3e5 | 141 | theodolite | Apache License 2.0 |
src/commonMain/kotlin/Constants.kt | hsthe29 | 766,558,272 | false | {"Kotlin": 25052, "Shell": 127} | const val APP_WINDOW_WIDTH = 900
const val APP_WINDOW_HEIGHT = 500
const val MIDDLE_X = 450.0
const val MIDDLE_Y = 250.0
const val SCORE_POS_Y = 50.0
const val GROUND_POS_Y = 570
const val LEFT_MARGIN = -100.0 // for pipes
const val RIGHT_MARGIN = 1000.0 // for pipes
const val TOP_MARGIN = -10.0 // for bir... | 0 | Kotlin | 0 | 0 | 0eb9ed6382c946156c21736ead711f7269309adf | 1,610 | FlappyBird-v2 | MIT License |
app/src/main/java/com/ealva/toque/ui/now/NowPlayingViewModel.kt | pandasys | 311,981,753 | false | null | /*
* Copyright 2021 Eric A. Snell
*
* 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 t... | 0 | Kotlin | 0 | 0 | d6811f855231a05ed093fe3a054279af0329d06f | 13,757 | toque | Apache License 2.0 |
app/src/main/java/io/horizontalsystems/bankwallet/modules/balance/ui/BalanceItems.kt | horizontalsystems | 142,825,178 | false | {"Kotlin": 4800349, "Shell": 6112, "Ruby": 1350} | package io.horizontalsystems.bankwallet.modules.balance.ui
import androidx.annotation.DrawableRes
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundat... | 100 | Kotlin | 340 | 778 | 454cb88a3f4687d77ffc3d2d878462f23b4b9dab | 17,217 | unstoppable-wallet-android | MIT License |
data/web3/src/commonMain/kotlin/Web3Component.kt | niallkh | 855,100,709 | false | {"Kotlin": 1849939, "Swift": 768} | package kosh.data.web3
import kosh.eth.rpc.Web3ProviderFactory
interface Web3Component {
val web3ProviderFactory: Web3ProviderFactory
}
| 0 | Kotlin | 0 | 3 | 8c4e7087fd09f5d766b17560528abe055655ae24 | 142 | kosh | MIT License |
src/commonMain/kotlin/chat/sphinx/concepts/network/query/lightning/NetworkQueryLightning.kt | stakwork | 456,999,775 | false | {"Kotlin": 1430222} | package chat.sphinx.concepts.network.query.lightning
import chat.sphinx.concepts.network.query.lightning.model.balance.BalanceAllDto
import chat.sphinx.concepts.network.query.lightning.model.balance.BalanceDto
import chat.sphinx.concepts.network.query.lightning.model.channel.ChannelsDto
import chat.sphinx.concepts.net... | 11 | Kotlin | 2 | 0 | 952a9a79c94ce4da7a9e9f5eb59cfe13b0cb7851 | 4,861 | sphinx-kotlin-core | MIT License |
src/main/kotlin/pubg/radar/struct/cmd/package.kt | zhe-db | 124,850,860 | false | null | package pubg.radar.struct.cmd
import com.badlogic.gdx.math.Vector3
import pubg.radar.struct.Actor
import pubg.radar.struct.Archetype
import pubg.radar.struct.Archetype.*
import pubg.radar.struct.Bunch
import wumo.pubg.struct.cmd.TeamCMD
import java.util.*
typealias cmdProcessor = (Actor, Bunch, Int) -> Boolean
objec... | 0 | null | 35 | 5 | 441244ee10950f840f68f5ba81d85106b738422d | 2,440 | PUBG-Radar-1 | The Unlicense |
src/PivotPoint.kt | jonward1982 | 350,285,956 | true | {"Kotlin": 213021, "Java": 286} | data class PivotPoint(val row: Int, val col: Int)
| 0 | Kotlin | 0 | 0 | 621d32d5e2d9d363c753d42cd1ede6b31195e716 | 50 | AgentBasedMCMC | MIT License |
core-logic/repository/src/main/kotlin/com/laomuji666/compose/core/logic/repository/module/chat/di/ChatModule.kt | laomuji666 | 844,336,531 | false | {"Kotlin": 273157} | package com.laomuji666.compose.core.logic.repository.module.chat.di
import com.laomuji666.compose.core.logic.database.dao.ContactDao
import com.laomuji666.compose.core.logic.database.dao.MessageDao
import com.laomuji666.compose.core.logic.notification.NotificationHelper
import com.laomuji666.compose.core.logic.reposit... | 1 | Kotlin | 0 | 105 | e71b274b0336281caf9512843c130fe62ae761d7 | 1,008 | Quickly-Use-Jetpack-Compose | Apache License 2.0 |
core-logic/repository/src/main/kotlin/com/laomuji666/compose/core/logic/repository/module/chat/di/ChatModule.kt | laomuji666 | 844,336,531 | false | {"Kotlin": 273157} | package com.laomuji666.compose.core.logic.repository.module.chat.di
import com.laomuji666.compose.core.logic.database.dao.ContactDao
import com.laomuji666.compose.core.logic.database.dao.MessageDao
import com.laomuji666.compose.core.logic.notification.NotificationHelper
import com.laomuji666.compose.core.logic.reposit... | 1 | Kotlin | 0 | 105 | e71b274b0336281caf9512843c130fe62ae761d7 | 1,008 | Quickly-Use-Jetpack-Compose | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.