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/xyz/heydarrn/githubuserwithapi/FollowingFragment.kt
naufalHaidar12342
512,125,897
false
{"Kotlin": 25568}
package xyz.heydarrn.githubuserwithapi import android.os.Bundle import android.os.Handler import android.os.Looper import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.viewModels import androidx.lifecycle.viewModelS...
0
Kotlin
0
1
280e82f7d35d151a2a4220e3f82fde1600088296
1,991
Discover-Github-API
Apache License 2.0
features/account/account-impl/src/commonMain/kotlin/io/spherelabs/accountimpl/ui/component/SendFeedback.kt
getspherelabs
687,455,894
false
{"Kotlin": 917584, "Ruby": 6814, "Swift": 1128, "Shell": 1048}
package io.spherelabs.accountimpl.ui.component import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layou...
15
Kotlin
27
236
902a0505c5eaf0f3848a5e06afaec98c1ed35584
2,361
anypass-kmp
Apache License 2.0
core-mvp-binding/lib-core-mvp-binding/src/main/java/ru/surfstudio/android/core/mvp/binding/rx/interfaces/ChangesInterface.kt
surfstudio
139,034,657
false
{"Kotlin": 2966626, "Java": 1025166, "FreeMarker": 104337, "Groovy": 43020, "C++": 1542, "Ruby": 884, "CMake": 285, "Shell": 33, "Makefile": 25}
/* * Copyright (c) 2019-present, SurfStudio 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 ...
5
Kotlin
30
249
6d73ebcaac4b4bd7186e84964cac2396a55ce2cc
1,291
SurfAndroidStandard
Apache License 2.0
app/src/main/java/soup/stamp/ui/splash/SplashViewModel.kt
fornewid
362,494,946
false
null
package soup.stamp.ui.splash import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.channels.BroadcastChannel import kotlinx.coroutines.delay import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.asFlow impo...
1
Kotlin
0
2
39016bd5a81c1bc56b2fcb4fe59c3739552d96fb
1,082
stamp
Apache License 2.0
core/src/main/java/io/merculet/core/domain/ErrorEnvelope.kt
Merculet
160,765,571
false
null
package io.merculet.core.domain class ErrorEnvelope @JvmOverloads constructor(val code: Int, val message: String?, private val throwable: Throwable? = null) { constructor(message: String?) : this(io.merculet.core.domain.Config.ErrorCode.UNKNOWN, message) }
0
Kotlin
0
3
fa70d7d20de60a0745c4b77d0aadf3b7c2b77358
263
MerculetWalletBase
Apache License 2.0
app/src/main/java/com/fstyle/comparerxjava1vsrxjava2/transform/ScanFragment.kt
daolq3012
96,961,505
false
null
package com.fstyle.comparerxjava1vsrxjava2.transform import com.fstyle.comparerxjava1vsrxjava2.BaseFragment import io.reactivex.Observable /** * Created by Sun on 7/13/2017. */ class ScanFragment : BaseFragment() { override fun doSomething() { val observable = getObservable() val map = observable.scan() ...
0
Kotlin
1
3
fbb1b783e5315f51fdef6494dd01d4a9df160900
893
RxKotlin2Examples
Creative Commons Attribution 4.0 International
src/main/kotlin/io/github/viartemev/rabbitmq/channel/TxChannel.kt
viartemev
164,432,364
false
{"Kotlin": 74301}
package io.github.viartemev.rabbitmq.channel import com.rabbitmq.client.Channel import io.github.viartemev.rabbitmq.consumer.ConfirmConsumer import io.github.viartemev.rabbitmq.publisher.OutboundMessage import mu.KotlinLogging import java.util.concurrent.atomic.AtomicBoolean private val logger = KotlinLogging.logger ...
8
Kotlin
5
99
83c2c8157134164dab770de7f28b539266d88c52
2,818
rabbitmq-kotlin
MIT License
app/src/main/java/com/youngsdeveloper/bus_murcia/io/ApiAdapter.kt
youngsdeveloper
542,304,717
false
{"Kotlin": 129616, "Java": 7279}
package com.youngsdeveloper.bus_murcia.io import okhttp3.OkHttpClient import okhttp3.logging.HttpLoggingInterceptor import retrofit2.Retrofit import retrofit2.converter.gson.GsonConverterFactory class ApiAdapter { companion object{ fun getApiService(): ApiService { val logging = HttpLoggin...
1
Kotlin
1
3
c9cf1daf20182eeb2ea82e8907c6529b8c574396
867
busmurcia-app
The Unlicense
examen-2b/app/src/main/java/com/example/adle_exam_2b/data/dao/DAOFactory.kt
2022B-Software-Computacion
569,303,681
false
null
package com.example.adle_exam_2b.data.dao import com.example.adle_exam_2b.data.firebase.FirebaseDAOFactory abstract class DAOFactory { companion object { var factory: DAOFactory = FirebaseDAOFactory() } abstract fun getDeviceDAO(): DeviceDAO abstract fun getComponentDAO(): ComponentDAO }
0
Kotlin
0
0
47564429c2e7158b9d82735f3d4da10324a1c284
317
lozano-estrada-andres-david-mobile-apps
MIT License
java/compiler/tests/com/intellij/compiler/artifacts/propertybased/ArtifactTestUtils.kt
ingokegel
72,937,917
false
null
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.compiler.artifacts.propertybased import com.intellij.openapi.application.runReadAction import com.intellij.openapi.project.Project import com.intellij.packag...
284
null
5162
2
b07eabd319ad5b591373d63c8f502761c2b2dfe8
2,820
intellij-community
Apache License 2.0
kotlin-node/src/jsMain/generated/node/test/MockFunctionOptions.kt
JetBrains
93,250,841
false
{"Kotlin": 12635434, "JavaScript": 423801}
// Generated by Karakum - do not modify it manually! package node.test sealed external interface MockFunctionOptions { /** * The number of times that the mock will use the behavior of `implementation`. * Once the mock function has been called `times` times, * it will automatically restore the behav...
40
Kotlin
165
1,347
997ed3902482883db4a9657585426f6ca167d556
453
kotlin-wrappers
Apache License 2.0
components/bridge/dao/impl/src/main/java/com/flipperdevices/bridge/dao/impl/api/delegates/KeyContentCleaner.kt
flipperdevices
288,258,832
false
{"Kotlin": 2760721, "FreeMarker": 10084, "CMake": 1780, "C++": 1152, "Fluent": 21}
package com.flipperdevices.bridge.dao.impl.api.delegates /** * Help delete unused files in internal storage */ interface KeyContentCleaner { suspend fun deleteUnusedFiles() }
13
Kotlin
131
999
ef27b6b6a78a59b603ac858de2c88f75b743f432
182
Flipper-Android-App
MIT License
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/Incognito.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.bold 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 i...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
3,053
icons
MIT License
app/src/main/java/com/pr0gramm/app/ui/intro/slides/CategoriesActionItemsSlide.kt
mopsalarm
30,804,448
false
{"Kotlin": 1414351, "Shell": 6752, "Python": 1124}
package com.pr0gramm.app.ui.intro.slides import com.pr0gramm.app.R /** */ class CategoriesActionItemsSlide : ActionItemsSlide("CategoriesActionItemsSlide") { override val introBackgroundResource: Int = R.color.pink_primary override val introTitle: String = "Kategorien" override val introDescription: St...
39
Kotlin
38
284
d6917f3ec16b6664a90a4519843f3d3d4ccae2cf
784
Pr0
MIT License
uniflow-androidx/src/main/java/io/uniflow/androidx/flow/LiveDataPublisher.kt
niltsiar
318,138,716
true
{"Kotlin": 106492, "Shell": 236}
package io.uniflow.androidx.flow import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import io.uniflow.core.flow.UIDataPublisher import io.uniflow.core.flow.data.Event import io.uniflow.core.flow.data.UIEvent import io.uniflow.core.flow.data.UIState import io.uniflow.core.threading.onMain cla...
0
null
0
0
f2c9a7f57e2a08056cd15381a99bd88897c0adb1
950
uniflow-kt
Apache License 2.0
src/main/kotlin/me/jraynor/objects/item/SynthesizerItem.kt
MrManiacc
349,858,377
false
null
package me.jraynor.objects.item import net.minecraft.item.Item import net.minecraft.item.ItemGroup /** * This is the go to item for the mod. It does all kinds of configurations. * It is also required in order to link things with the utility block */ class SynthesizerItem : Item(Properties().group(ItemGroup.MISC).m...
8
Kotlin
3
15
4334badd181215dccecb4f62be1f565ad8af5b09
344
Blueprints
MIT License
src/main/kotlin/me/jraynor/objects/item/SynthesizerItem.kt
MrManiacc
349,858,377
false
null
package me.jraynor.objects.item import net.minecraft.item.Item import net.minecraft.item.ItemGroup /** * This is the go to item for the mod. It does all kinds of configurations. * It is also required in order to link things with the utility block */ class SynthesizerItem : Item(Properties().group(ItemGroup.MISC).m...
8
Kotlin
3
15
4334badd181215dccecb4f62be1f565ad8af5b09
344
Blueprints
MIT License
src/main/kotlin/io/github/dylmeadows/eontimer/util/javafx/spinner/SpinnerExtensions.kt
wuyaz
249,127,435
true
{"Kotlin": 113770, "CSS": 4817}
package io.github.dylmeadows.eontimer.util.javafx.spinner import io.github.dylmeadows.eontimer.util.asFlux import javafx.beans.property.ObjectProperty import javafx.beans.property.StringProperty import javafx.scene.control.Spinner import java.util.* val <T> Spinner<T>.valueProperty: ObjectProperty<T>? get() = val...
0
null
0
0
d868afe77ff39bf867e51b3b9280a263785bb41a
986
EonTimer
MIT License
src/main/kotlin/common/TileType.kt
leosongwei
476,196,000
false
{"Kotlin": 33533, "GLSL": 670}
package common enum class TileType(var typeCode: Int) { Invalid(0), Grass(1), Sand(2), Wall(3), Water(4); companion object { fun fromNumber(typeCode: Int):TileType { return when(typeCode) { Grass.typeCode -> Grass Sand.typeCode -> Sand ...
0
Kotlin
0
0
97b52cfdfa935d84c20e5f5c2d7143afdc9acac4
579
ecs-experiment
MIT License
vire-engine/src/main/kotlin/net/voxelpi/vire/engine/kernel/KernelInstanceConfig.kt
VoxelPi
700,036,011
false
{"Kotlin": 336452}
package net.voxelpi.vire.engine.kernel import net.voxelpi.vire.engine.kernel.variable.provider.SettingStateProvider import net.voxelpi.vire.engine.kernel.variable.storage.SettingStateMap import net.voxelpi.vire.engine.kernel.variable.storage.SettingStateStorage import net.voxelpi.vire.engine.kernel.variable.storage.Se...
2
Kotlin
0
0
a0d187668387520990923ec711d658bcacadf5da
875
Vire
MIT License
assemblyadapter-common-item/src/androidTest/java/com/github/panpf/assemblyadapter/common/item/test/ViewItemFactoryTest.kt
panpf
42,781,599
false
null
/* * Copyright (C) 2021 panpf <<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 law or agreed...
0
Kotlin
33
169
00cf02eb1b2be82685a2997d5473579246e256c8
3,261
assembly-adapter
Apache License 2.0
updater-mapper-standard/src/main/java/org/runestar/client/updater/mapper/std/classes/ClanChat.kt
widget-
246,016,204
true
{"Kotlin": 1295734, "Java": 982488}
package org.runestar.client.updater.mapper.std.classes import org.kxtra.lang.list.startsWith import org.objectweb.asm.Opcodes.* import org.objectweb.asm.Type.INT_TYPE import org.objectweb.asm.Type.VOID_TYPE import org.runestar.client.updater.mapper.IdentityMapper import org.runestar.client.updater.mapper.OrderMapper i...
0
Kotlin
0
0
3e8846b00b649d716d7d4556b69beaf8a20355d2
3,673
client
MIT License
updater-mapper-standard/src/main/java/org/runestar/client/updater/mapper/std/classes/ClanChat.kt
widget-
246,016,204
true
{"Kotlin": 1295734, "Java": 982488}
package org.runestar.client.updater.mapper.std.classes import org.kxtra.lang.list.startsWith import org.objectweb.asm.Opcodes.* import org.objectweb.asm.Type.INT_TYPE import org.objectweb.asm.Type.VOID_TYPE import org.runestar.client.updater.mapper.IdentityMapper import org.runestar.client.updater.mapper.OrderMapper i...
0
Kotlin
0
0
3e8846b00b649d716d7d4556b69beaf8a20355d2
3,673
client
MIT License
sample/src/main/java/com/kangyee/locationselector/demo/util/PermissionUtils.kt
KangYee
636,330,875
false
null
/* * Copyright (C) 2023 KangYee * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights to * use, copy, modify, merge, publish, di...
0
Kotlin
0
3
ee7d3ffd2f0163026188cf9627ced20d259ff291
2,014
LocationSelector
MIT License
app/src/main/java/com/chrynan/androidsearch/util/ContextUtils.kt
chRyNaN
161,237,148
false
null
package com.chrynan.androidsearch.util import android.content.Context import android.content.Intent fun Context.startIntentIfItExists(intent: Intent): Boolean { if (intent.resolveActivity(packageManager) != null) { startActivity(intent) return true } return false }
0
Kotlin
0
0
ade50a4bda75e3e71d86457565e63573feaf597b
296
Android-Search
Apache License 2.0
kovibes/src/commonMain/kotlin/io/github/rubenquadros/kovibes/api/models/ImageInfo.kt
rubenquadros
758,569,353
false
{"Kotlin": 193931}
package io.github.rubenquadros.kovibes.api.models import io.github.rubenquadros.kovibes.api.ExcludeFromCoverage import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @ExcludeFromCoverage @Serializable internal data class ImageInfo( @SerialName("height") val height: Int?, @Seria...
0
Kotlin
0
8
2c34ce95533b7fe1d119811ab4ba48d23245cb69
402
KoVibes
MIT License
app/src/main/java/com/expensivebelly/dagger2retaingraph/feature/di/MainComponent.kt
ExpensiveBelly
74,518,019
false
null
package com.expensivebelly.dagger2retaingraph.feature.di import com.expensivebelly.dagger2retaingraph.core.di.ActivityScope import com.expensivebelly.dagger2retaingraph.feature.MainActivity import dagger.Component @ActivityScope @Component interface MainComponent { fun inject(mainActivity: MainActivity) }
1
null
1
1
b251d893068ba8ea82d4192a29f912585a90d3f3
312
Dagger2RetainGraph
Apache License 2.0
src/main/kotlin/com/cognifide/gradle/aem/instance/InstanceSync.kt
ergo123
137,851,057
true
{"Kotlin": 236402, "Shell": 5207, "Java": 1813, "Batchfile": 233}
package com.cognifide.gradle.aem.instance import com.cognifide.gradle.aem.api.AemConfig import com.cognifide.gradle.aem.internal.Patterns import com.cognifide.gradle.aem.internal.ProgressCountdown import com.cognifide.gradle.aem.internal.http.PreemptiveAuthInterceptor import com.cognifide.gradle.aem.pkg.PackagePlugin ...
0
Kotlin
0
0
0745e781c7a6b7aea6896b0a0618f52a855c68be
17,154
gradle-aem-plugin
Apache License 2.0
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/timestream/SchemaPropertyDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.timestream import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.timestream.CfnTable @Generated public fun buildSchemaProperty(initializer: @AwsCdkDsl CfnTable.SchemaProperty.Builder.() -> Uni...
1
Kotlin
0
0
a1cf8fbfdfef9550b3936de2f864543edb76348b
415
aws-cdk-kt
Apache License 2.0
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/timestream/SchemaPropertyDsl.kt
F43nd1r
643,016,506
false
null
package com.faendir.awscdkkt.generated.services.timestream import com.faendir.awscdkkt.AwsCdkDsl import javax.`annotation`.Generated import kotlin.Unit import software.amazon.awscdk.services.timestream.CfnTable @Generated public fun buildSchemaProperty(initializer: @AwsCdkDsl CfnTable.SchemaProperty.Builder.() -> Uni...
1
Kotlin
0
0
a1cf8fbfdfef9550b3936de2f864543edb76348b
415
aws-cdk-kt
Apache License 2.0
src/main/kotlin/org/caffeine/chaos/commands/Haste.kt
caffeine-moe
479,810,319
false
{"Kotlin": 158081}
package org.caffeine.chaos.commands import io.ktor.client.request.* import io.ktor.client.statement.* import kotlinx.coroutines.coroutineScope import kotlinx.coroutines.launch import kotlinx.serialization.decodeFromString import org.caffeine.chaos.Command import org.caffeine.chaos.CommandInfo import org.caffeine.chaos...
2
Kotlin
3
29
e378093a0694af80681f0433063e5b28a84086be
3,067
CHAOS
MIT License
src/main/kotlin/Mounting_Recursive.kt
cubesky
127,876,580
false
null
import kefjs.Ef import kefjs.kefconfig import kefjs.prepareEf import org.w3c.dom.events.Event import kotlin.browser.document class Mounting_Recursive { lateinit var addItem : (state: Ef, value: String, e: Event) -> Unit lateinit var removeItem : (state: Ef, value: String, e: Event) -> Unit @JsName("main") ...
0
Kotlin
0
0
eb0b84ed1838afab40fe5379801463b5bbf49fb0
1,250
Kefjs_Demo
MIT License
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/inspectorv2/CfnCisScanConfigurationSchedulePropertyDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 70198112}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package io.cloudshiftdev.awscdkdsl.services.inspectorv2 import io.cloudshiftdev.awscdkdsl.common.CdkD...
0
Kotlin
0
3
256ad92aebe2bcf9a4160089a02c76809dbbedba
3,193
awscdk-dsl-kotlin
Apache License 2.0
app/src/main/java/mil/nga/msi/repository/asam/AsamLocalDataSource.kt
ngageoint
588,211,646
false
null
package mil.nga.msi.repository.asam import androidx.sqlite.db.SimpleSQLiteQuery import mil.nga.msi.datasource.asam.Asam import mil.nga.msi.datasource.asam.AsamDao import javax.inject.Inject class AsamLocalDataSource @Inject constructor( private val dao: AsamDao ) { fun observeAsams() = dao.observeAsams() fun...
0
Kotlin
0
0
d7670ab5f73e2e89b741a56e418b49f2acc810a2
922
marlin-android
MIT License
app/src/main/java/tech/ascendio/mvvm/di/ViewModelModule.kt
MarianVasilca
134,163,908
false
{"Kotlin": 83552}
/* * Copyright (C) 2018 <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 ...
0
Kotlin
0
6
83788f2b5714c0e15cb9d034a5f6e437ef320071
1,215
android-mvvm-template
Apache License 2.0
tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/abstracts/CommonMessage.kt
InsanusMokrassar
163,152,024
false
null
package dev.inmo.tgbotapi.types.message.abstracts import dev.inmo.tgbotapi.types.message.content.abstracts.MessageContent interface CommonMessage<T: MessageContent> : Message, PossiblyForwardedMessage, PossiblyEditedMessage, PossiblyReplyMessage, PossiblyMarkedUp, ContentMessage<T>
9
Kotlin
14
99
8206aefbb661db936d4078a8ef7cc9cecb5384e4
305
TelegramBotAPI
Apache License 2.0
wearApp/src/main/java/dev/johnoreilly/confetti/wear/sessions/SessionsScreen.kt
joreilly
436,024,503
false
null
package dev.johnoreilly.confetti.wear.sessions import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.wear.compose.foundation.lazy.items import androidx.wear.compose.ui.tooling.preview.WearPreviewDevices import androidx.wear...
51
null
91
784
d43e98fa3cd6eee949c3a0e57cf35d76dc49f083
3,536
Confetti
Apache License 2.0
app/src/main/java/com/jwhh/notekeeper/ui/NoteActivity.kt
Ibrahim-Mushtaha
424,583,013
false
null
package com.bravedroid.notekeeper import android.os.Bundle import android.view.Menu import android.view.MenuItem import android.widget.ArrayAdapter import androidx.appcompat.app.AppCompatActivity import kotlinx.android.synthetic.main.activity_main.* import kotlinx.android.synthetic.main.content_main.* class MainActiv...
1,092
null
1
4
b099dd261db1e6e26ace8383e816caa861353fac
3,400
NoteKeeper-Custom-Widgets
Apache License 2.0
shared/src/commonMain/kotlin/com.macaosoftware.sdui.app/marketplace/amadeus/schedule/MySchedules.kt
pablichjenkov
701,156,284
false
null
package com.macaosoftware.sdui.app.marketplace.amadeus.schedule import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx...
0
null
2
9
228f663f7c53683d34528ea6fd437357bfe05a92
9,470
macao-marketplace
The Unlicense
src/commonMain/kotlin/dev/zacsweers/ReadMeUpdater.kt
ZacSweers
288,008,412
false
{"Kotlin": 22893, "HTML": 202, "Shell": 86}
package dev.zacsweers import io.ktor.client.plugins.HttpRequestRetry import io.ktor.client.plugins.contentnegotiation.ContentNegotiation import io.ktor.http.ContentType import io.ktor.serialization.kotlinx.json.json import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.async import kotlinx.coroutines.withCon...
4
Kotlin
1
15
4c8e6ce86d7015ac4cd3847950f6ce7fa5d05fad
4,269
ZacSweers
Apache License 2.0
section8/android/app/src/main/kotlin/com/example/section8/MainActivity.kt
jiahaoliuliu
471,318,181
false
{"Dart": 174507, "C++": 100484, "CMake": 82677, "HTML": 22900, "Ruby": 8055, "Swift": 6932, "C": 6434, "Java": 2243, "Objective-C": 2193, "Kotlin": 905}
package com.example.section8 import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
a688de6bc68a9f498c0e86389f2efc9c8c106d44
125
FlutterAndDartTheCompleteGuide-2022Edition
Apache License 2.0
example/kotlin/jimmer-sql-graphql-kt/src/main/kotlin/org/babyfish/jimmer/example/kt/graphql/dal/BookStoreRepository.kt
babyfish-ct
488,154,823
false
null
package org.babyfish.jimmer.example.kt.graphql.dal import org.babyfish.jimmer.example.kt.graphql.entities.* import org.babyfish.jimmer.spring.repository.KRepository interface BookStoreRepository : KRepository<BookStore, Long> { fun findByNameLikeOrderByName(name: String?): List<BookStore> }
10
null
53
467
913955f5a97fda92567f6a727d3c3491e333cab9
298
jimmer
Apache License 2.0
knear-sdk/src/main/java/com/knear/android/service/AndroidKeyStore.kt
near
514,329,257
false
null
package com.knear.android.service import android.content.SharedPreferences import com.knear.android.scheme.KeyPair import com.knear.android.scheme.KeyPairEd25519 class AndroidKeyStore(sharedPreferences: SharedPreferences) { private val sharedPreferences = sharedPreferences private val editor: SharedPreferenc...
1
null
3
17
0f41802b2dcde996b4b0a9d369fc1ff3f8aede24
1,942
near-api-kotlin
MIT License
app/src/main/kotlin/jp/hotdrop/comlis/view/activity/CompanyRegisterActivity.kt
hotdrop
85,482,160
false
null
package jp.hotdrop.comlis.view.activity import android.content.Intent import android.databinding.DataBindingUtil import android.os.Bundle import android.support.v4.app.Fragment import jp.hotdrop.comlis.R import jp.hotdrop.comlis.databinding.ActivityCompanyRegisterBinding import jp.hotdrop.comlis.view.fragment.CompanyR...
1
Kotlin
1
3
6530a21e691ac5c9af16e2de0c0020a5ea2956bb
1,365
comlis-android-app
Apache License 2.0
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicediscovery/CfnPublicDnsNamespace.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 140726596}
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION") package io.cloudshiftdev.awscdk.services.servicediscovery import io.cloudshiftdev.awscdk.CfnResource import io.cloudshiftdev.awscdk.CfnTag imp...
1
Kotlin
0
4
ddf2bfd2275b50bb86a667c4298dd92f59d7e342
26,327
kotlin-cdk-wrapper
Apache License 2.0
app/src/main/java/com/yazan98/autohub/utils/HomeViewPagerAdapter.kt
Yazan98
249,245,576
false
null
package com.yazan98.autohub.utils import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import androidx.fragment.app.FragmentStatePagerAdapter import com.yazan98.autohub.fragments.main.FeedFragment import com.yazan98.autohub.fragments.main.NotificationsFragment import com.yazan98.autohub.f...
0
Kotlin
0
1
2f03f85f1be1af101029b8424a09ae241c03ef42
749
Github-Client
Apache License 2.0
app/src/main/java/me/hufman/androidautoidrive/phoneui/viewmodels/MusicAppsViewModel.kt
BimmerGestalt
164,273,785
false
null
package me.hufman.androidautoidrive.phoneui.viewmodels import android.content.Context import android.os.Handler import android.os.Looper import androidx.databinding.ObservableArrayList import androidx.databinding.ObservableList import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import me.h...
51
null
90
546
ea49ba17a18c353a8ba55f5040e8e4321bf14bd7
1,559
AAIdrive
MIT License
app/src/test/kotlin/net/rubygrapefruit/gen/builders/InternalLibrariesBuilderTest.kt
adammurdoch
430,814,411
false
{"Kotlin": 181951}
package net.rubygrapefruit.gen.builders import net.rubygrapefruit.gen.specs.InternalLibraryProductionSpec import net.rubygrapefruit.gen.specs.Names import net.rubygrapefruit.gen.specs.TypedNameProvider import net.rubygrapefruit.gen.templates.Implementation import kotlin.test.Test import kotlin.test.assertEquals import...
0
Kotlin
0
0
0d47884136b4764f7dc901009614cfe435de5dda
3,249
build-gen
Apache License 2.0
app/src/main/java/com/kylecorry/trail_sense/calibration/ui/CameraSettingsFragment.kt
kylecorry31
215,154,276
false
{"Kotlin": 2452605, "Python": 20960, "HTML": 18863, "Shell": 5290, "CSS": 5120, "JavaScript": 3809, "Batchfile": 2553}
package com.kylecorry.trail_sense.calibration.ui import android.os.Bundle import com.kylecorry.andromeda.fragments.AndromedaPreferenceFragment import com.kylecorry.trail_sense.R import com.kylecorry.trail_sense.settings.infrastructure.AugmentedRealityPreferences class CameraSettingsFragment : AndromedaPreferenceFragm...
446
Kotlin
66
911
c25a021b43cd0046d78ce70f727cd3bac0d4c276
1,369
Trail-Sense
MIT License
nebulosa-fits/src/main/kotlin/nebulosa/fits/FitsHelper.kt
tiagohm
568,578,345
false
{"Kotlin": 2247410, "TypeScript": 359962, "HTML": 189644, "SCSS": 10196, "Python": 2817, "JavaScript": 1165}
@file:Suppress("NOTHING_TO_INLINE") package nebulosa.fits import nebulosa.io.SeekableSource import nebulosa.math.Angle import nebulosa.math.deg import java.io.File import java.nio.file.Path import java.time.Duration import java.time.LocalDateTime inline fun Header.clone() = Header(this) inline val Header.naxis ...
4
Kotlin
1
2
64201aa97326943b36f470c06a9ac4b5b57f0a14
2,805
nebulosa
MIT License
app/src/main/java/com/dart/campushelper/ui/component/Modifier.kt
founchoo
694,453,265
false
{"Kotlin": 311228}
package com.dart.campushelper.ui.component import androidx.compose.ui.Modifier import androidx.compose.ui.draw.drawWithContent import androidx.compose.ui.graphics.BlendMode import androidx.compose.ui.graphics.Brush import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.CompositingStrategy import...
4
Kotlin
1
7
5cd4d008b9642eda11d3e7883748afa29af2a052
1,042
GongYun-for-Android
Apache License 2.0
src/main/kotlin/me/eetgeenappels/sugoma/module/modules/combat/KillAura.kt
eetgeenappels
631,292,117
false
null
package me.eetgeenappels.sugoma.module.modules.combat import me.eetgeenappels.sugoma.Sugoma import me.eetgeenappels.sugoma.module.Category import me.eetgeenappels.sugoma.module.Module import me.eetgeenappels.sugoma.module.modules.settings.ModeSetting import me.eetgeenappels.sugoma.module.modules.settings.SliderSetting...
0
Kotlin
0
2
5f926bf2f31ddce330950310690aaf74e831b0da
1,486
Sugoma
MIT License
src/main/kotlin/no/nav/dagpenger/oppdrag/domene/DetaljertSimuleringResultat.kt
navikt
596,541,750
false
{"Kotlin": 163567, "Dockerfile": 120}
package no.nav.dagpenger.oppdrag.domene data class DetaljertSimuleringResultat(val simuleringMottaker: List<SimuleringMottaker>)
11
Kotlin
0
0
7d18e53c6e47d4b9ed1137d169db6aa8f34fdc29
130
dp-oppdrag
MIT License
core/network/src/main/java/com/eshc/goonersapp/core/network/api/TeamNetworkService.kt
eshc123
640,451,475
false
{"Kotlin": 399981}
package com.eshc.goonersapp.core.network.api import com.eshc.goonersapp.core.network.model.BaseResponse import com.eshc.goonersapp.core.network.model.team.RemoteTeamDetail import retrofit2.Response import retrofit2.http.GET import retrofit2.http.Query const val TEAM_BASE_URL = "/apis/team" interface TeamNetworkServic...
2
Kotlin
1
1
ff61b4a114c65b754a7fbc92887dea051bdedbd0
491
GoonersApp
Apache License 2.0
web/src/main/kotlin/no/nav/su/se/bakover/web/routes/revurdering/InstitusjonsoppholdRoutes.kt
navikt
227,366,088
false
{"Kotlin": 9236522, "Shell": 4372, "TSQL": 1233, "Dockerfile": 800}
package no.nav.su.se.bakover.web.routes.revurdering import arrow.core.getOrElse import io.ktor.http.HttpStatusCode import io.ktor.server.application.call import io.ktor.server.routing.Route import io.ktor.server.routing.post import no.nav.su.se.bakover.common.audit.AuditLogEvent import no.nav.su.se.bakover.common.bruk...
5
Kotlin
1
1
ed28832346c1f839ea3a489eae8cc623079a0a2f
2,515
su-se-bakover
MIT License
CaptureReceipt/src/main/java/com/mytiki/capture_receipt/receipt/CouponType.kt
tiki
710,742,774
false
{"Kotlin": 60471}
package com.mytiki.capture_receipt.receipt enum class CouponType{ UNKNOWN, STORE, MFGR, }
0
Kotlin
0
0
5c3734b9f9e795b76fd7b5a9cfcafaa95859d216
103
capture-receipt-android
MIT License
src/main/java/utils/BlockDetector.kt
DavidPav123
670,749,975
false
null
package utils import org.bukkit.Location import org.bukkit.Material import org.bukkit.block.Block import org.bukkit.entity.Player import org.bukkit.event.Listener import org.bukkit.util.BlockIterator object BlockDetector : Listener { private const val RANGE = 12 private val passableBlocks = arrayOf( M...
0
Kotlin
0
0
650f380535db7538f5ca5756ec9d8d7d1b56e3f6
1,637
DavidsInventorySorter
MIT License
marker/src/main/kotlin/spp/jetbrains/marker/SourceMarker.kt
sourceplusplus
173,253,271
false
null
/* * Source++, the continuous feedback platform for developers. * Copyright (C) 2022-2024 CodeBrig, Inc. * * 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/...
2
null
13
87
199006a410529d961dc184f0740a5d845bd87899
7,749
interface-jetbrains
Apache License 2.0
app/src/main/java/com/sik/guiddemo/MainActivity.kt
SilverIceKey
637,693,910
false
null
package com.sik.guiddemo import android.Manifest import android.content.Intent import android.os.Build import android.os.Bundle import android.os.Environment import android.provider.Settings import android.view.MotionEvent import android.widget.TextView import androidx.appcompat.app.AppCompatActivity import androidx.c...
0
Kotlin
0
0
7eb831a194d3e11e07275cf1f5f2c63f67d41367
2,611
LottieGuidViewHelper
MIT License
app/src/main/java/com/sik/guiddemo/MainActivity.kt
SilverIceKey
637,693,910
false
null
package com.sik.guiddemo import android.Manifest import android.content.Intent import android.os.Build import android.os.Bundle import android.os.Environment import android.provider.Settings import android.view.MotionEvent import android.widget.TextView import androidx.appcompat.app.AppCompatActivity import androidx.c...
0
Kotlin
0
0
7eb831a194d3e11e07275cf1f5f2c63f67d41367
2,611
LottieGuidViewHelper
MIT License
HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/scripting/actions/types/WaitAction.kt
Waboodoo
34,525,124
false
null
package ch.rmy.android.http_shortcuts.scripting.actions.types import ch.rmy.android.http_shortcuts.scripting.ExecutionContext import io.reactivex.Completable import io.reactivex.schedulers.Schedulers import java.util.concurrent.TimeUnit class WaitAction(private val duration: Int) : BaseAction() { override fun ex...
23
Kotlin
87
547
09eaa8438d452f95e73d57183b198c4b52d05789
468
HTTP-Shortcuts
MIT License
push/src/main/java/com/ymy/push/ali/cus/huaiwei/CusHuaWeiRegister.kt
hybridappnest
409,475,593
false
{"Java": 3496922, "Kotlin": 641137, "JavaScript": 5699}
package com.ymy.push.ali.cus.huaiwei import android.app.Application import android.content.Context import android.content.pm.PackageManager import android.os.Build import android.os.Handler import android.os.Looper import android.text.TextUtils import com.alibaba.sdk.android.push.huawei.HuaWeiRegister import com.aliba...
0
Java
6
11
b1fd25a909463f631e4c98cdfdd27e77d82164f7
4,813
AppNestAndroid
Apache License 2.0
src/main/kotlin/no/nav/helse/sporenstreks/integrasjon/rest/oppgave/MockOppgaveKlient.kt
navikt
249,433,776
false
null
package no.nav.helse.sporenstreks.integrasjon.rest.oppgave import no.nav.helse.arbeidsgiver.integrasjoner.oppgave.* import java.time.LocalDateTime.now class MockOppgaveKlient : OppgaveKlient { override suspend fun opprettOppgave( opprettOppgaveRequest: OpprettOppgaveRequest, callId: String ): ...
5
Kotlin
0
1
6fb71c2956e40f08e7eac109afa38d65f861d778
580
sporenstreks
MIT License
src/main/kotlin/net/starlegacy/feature/gear/powerarmor/PowerArmorManager.kt
hafarooki
437,384,015
false
null
package net.starlegacy.feature.gear.powerarmor import net.starlegacy.feature.misc.CustomItems import net.starlegacy.feature.misc.getPower import net.starlegacy.feature.misc.removePower import net.starlegacy.listener.gear.hasMovedInLastSecond import net.starlegacy.util.Tasks import org.bukkit.Bukkit import org.bukkit.M...
0
Kotlin
5
4
c830eb40180c935e8bfff599da0f9310eeccfb5c
3,941
StarLegacy
MIT License
src/main/kotlin/no/nav/helse/fritakagp/web/api/resreq/validation/CustomValikatorConstraints.kt
navikt
301,987,870
false
{"Kotlin": 499884, "Shell": 618, "Dockerfile": 297}
package no.nav.helse.fritakagp.web.api.resreq.validation import no.nav.helse.fritakagp.domain.Arbeidsgiverperiode import no.nav.helse.fritakagp.domain.FravaerData import no.nav.helse.fritakagp.domain.GodkjenteFiletyper import no.nav.helse.fritakagp.domain.KroniskSoeknad import org.valiktor.Constraint import org.valikt...
6
Kotlin
0
0
db10634f777a3c30371433e00e1951986d851bf3
4,069
fritakagp
MIT License
build-tools/agp-gradle-core/src/main/java/com/android/build/gradle/internal/dependency/JdkImageTransformDelegate.kt
RivanParmar
526,653,590
false
null
/* * Copyright (C) 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 app...
1
null
2
17
a497291d77bba1aa34271808088fe1e8aab5efe2
9,568
androlabs
Apache License 2.0
src/com/koxudaxi/htmpy/HtmpyTemplateHighlighter.kt
pauleveritt
288,542,769
false
{"Kotlin": 64625, "Lex": 6725, "Java": 160}
package com.koxudaxi.htmpy import com.intellij.openapi.editor.colors.EditorColorsScheme import com.intellij.openapi.editor.ex.util.LayerDescriptor import com.intellij.openapi.editor.ex.util.LayeredLexerEditorHighlighter import com.intellij.openapi.fileTypes.FileTypes.PLAIN_TEXT import com.intellij.openapi.fileTypes.Sy...
8
Kotlin
0
1
d2253eaa2d8a329b5757280765fb5c4586ed4797
1,416
htmpy-pycharm-plugin
MIT License
app/src/unitTest/kotlin/batect/execution/model/steps/runners/RunContainerStepRunnerSpec.kt
batect
102,647,061
false
null
/* Copyright 2017-2020 <NAME>. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wr...
12
null
47
620
1b6cb1d79d91a70a0cb038cc29b2db1c025fea9e
4,500
batect
Apache License 2.0
src/medium/_78Subsets.kt
ilinqh
390,190,883
false
{"Kotlin": 395506, "Java": 32733}
package medium class _78Subsets { class Solution { fun subsets(nums: IntArray): List<List<Int>> { val result: MutableList<ArrayList<Int>> = ArrayList() result.add(arrayListOf()) for (count in nums.indices) { val tempList = ArrayList(result) for (i in result.indices) ...
0
Kotlin
0
0
985f2f1a022a25d39782cd36ae3d0ab33fed8ac5
1,307
AlgorithmsProject
Apache License 2.0
koin-todoapp-mvp/app/src/main/java/com/example/android/architecture/blueprints/todoapp/taskdetail/TaskDetailActivity.kt
eastar-dev
182,819,469
false
{"Text": 1, "Gradle": 17, "Java Properties": 9, "Shell": 6, "Ignore List": 10, "Batchfile": 6, "Markdown": 5, "Proguard": 5, "Java": 51, "XML": 61, "Kotlin": 99, "INI": 3}
/* * Copyright (C) 2017 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 app...
1
null
1
1
73b019c4cf4df58f7b6b4ad7325c99b84999462d
1,865
dagger_study
Apache License 2.0
plugins/kotlin/jvm/src/org/jetbrains/kotlin/idea/platform/JvmIdePlatformKindTooling.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.kotlin.idea.core.platform.impl import com.intellij.openapi.project.Project import com.intellij.openapi.roots.libraries.Library import com...
191
null
4372
13,319
4d19d247824d8005662f7bd0c03f88ae81d5364b
4,222
intellij-community
Apache License 2.0
app/src/main/java/com/zigis/paleontologas/quiz/fragments/QuizGameFragment.kt
edgar-zigis
240,962,785
false
null
package com.zigis.paleontologas.quiz.fragments import android.view.LayoutInflater import android.view.ViewGroup import com.zigis.paleontologas.application.android.BaseViewModelFragment import com.zigis.paleontologas.quiz.data.entities.Question import com.zigis.paleontologas.quiz.viewmodels.QuizGameViewModel import com...
0
Kotlin
16
126
4ee09d3c6f29278aa1762e71f7db6a84d0ca3dea
1,403
Paleontologas
Apache License 2.0
app/src/main/java/com/zigis/paleontologas/quiz/fragments/QuizGameFragment.kt
edgar-zigis
240,962,785
false
null
package com.zigis.paleontologas.quiz.fragments import android.view.LayoutInflater import android.view.ViewGroup import com.zigis.paleontologas.application.android.BaseViewModelFragment import com.zigis.paleontologas.quiz.data.entities.Question import com.zigis.paleontologas.quiz.viewmodels.QuizGameViewModel import com...
0
Kotlin
16
126
4ee09d3c6f29278aa1762e71f7db6a84d0ca3dea
1,403
Paleontologas
Apache License 2.0
app/src/main/java/com/example/visuallithuanian/interface/AdapterCallback.kt
klaus19
541,931,828
false
{"Kotlin": 394608}
package com.example.visuallithuanian.`interface` interface AdapterCallback { fun onImageviewClicked(text:String) }
10
Kotlin
4
9
184e0624f117a58e129dd395ff21a05e82ea05c8
120
Labas
Apache License 2.0
core/bluetooth/src/test/kotlin/edu/stanford/spezi/core/bluetooth/domain/BLEServiceTest.kt
StanfordSpezi
787,513,636
false
{"Kotlin": 1195675, "Ruby": 1769, "Shell": 212}
package edu.stanford.spezi.core.bluetooth.domain import android.Manifest import android.bluetooth.BluetoothAdapter import android.bluetooth.BluetoothDevice import com.google.common.truth.Truth.assertThat import edu.stanford.spezi.core.bluetooth.data.model.BLEDevice import edu.stanford.spezi.core.bluetooth.data.model.B...
16
Kotlin
2
8
9eae0b52bc631fa171b4873a739baddad8fe4b2c
10,187
SpeziKt
MIT License
src/main/java/it/andrearossi/mcitaliaapi/utils/html/APIObject.kt
Blovien
271,863,709
false
{"Java": 23875, "Kotlin": 4269}
package it.andrearossi.mcitaliaapi.utils.html import java.io.Serializable interface APIObject : Serializable
1
null
1
1
6951d38d181b9770e4de7577d2bccf4280051555
111
MCItaliaAPI
MIT License
app/src/main/java/jp/juggler/subwaytooter/span/MisskeySpan.kt
BoFFire
146,865,117
false
{"Java Properties": 2, "Perl": 4, "Text": 11, "JSON": 6, "Gradle": 9, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Ignore List": 8, "Git Config": 1, "Proguard": 6, "XML": 120, "Java": 34, "INI": 1, "Kotlin": 224}
package jp.juggler.subwaytooter.span import android.graphics.Paint import android.graphics.Typeface import android.text.TextPaint import android.text.style.MetricAffectingSpan import java.lang.ref.WeakReference class MisskeyBigSpan ( private val typeface : Typeface ): MetricAffectingSpan() ,AnimatableSpan{ privat...
1
null
1
1
4f29ec06764f65fbc63ca59859f5afe826d5b417
1,593
SubwayTooter
Apache License 2.0
chooser-compose/src/main/java/net/mm2d/color/chooser/compose/ColorEvent.kt
ohmae
158,970,822
false
{"Kotlin": 160321}
package net.mm2d.color.chooser.compose import androidx.compose.ui.graphics.Color internal data class ColorEvent( val color: Color, val source: ColorSource, )
1
Kotlin
5
23
00a15b42ee16a2c0cc488a1a5c7d12e473a2819c
168
color-chooser
MIT License
src/main/kotlin/cz/startnet/utils/pgdiff/PgDiffPolicies.kt
lovelysystems
289,426,236
false
{"Kotlin": 356018, "PLpgSQL": 56158, "Shell": 387, "Dockerfile": 156}
/** * Copyright 2006 StartNet s.r.o. * * Distributed under MIT license */ package cz.startnet.utils.pgdiff import cz.startnet.utils.pgdiff.schema.PgPolicy import cz.startnet.utils.pgdiff.schema.PgSchema import kotlin.text.StringBuilder object PgDiffPolicies { fun createPolicies( writer: StringBuilder,...
3
Kotlin
0
0
add115b5aefdaf06719e43f2890f6767a44d363b
6,289
apgdiff
MIT License
Android/app/src/main/java/com/fglshm/instagramclone/profile/ProfileNoPostFragment.kt
fglshm
194,391,524
false
null
package com.fglshm.instagramclone.profile import com.fglshm.instagramclone.R import com.fglshm.instagramclone.common.base.BaseFragment class ProfileNoPostFragment : BaseFragment() { override fun getLayout(): Int = R.layout.fragment_profile_no_post companion object { fun newInstance() = ProfileNoPost...
0
Kotlin
0
0
eb83381aebf38244aa517fefe2636ba3c44cbe84
339
InstagramClone
MIT License
samples/RxFirebaseLogin/src/main/kotlin/br/com/rsicarelli/rxfirebaselogin/infra/di/component/ApplicationComponent.kt
fluentio
124,605,010
false
null
package br.com.rsicarelli.rxfirebaselogin.infra.di.component import android.app.Application import br.com.rsicarelli.rxfirebaselogin.App import br.com.rsicarelli.rxfirebaselogin.infra.di.module.ActivityBuilderModule import br.com.rsicarelli.rxfirebaselogin.infra.di.module.ApplicationModule import dagger.BindsInstance ...
7
Kotlin
7
31
43607b6b48d1ad870a752b3836ceaa3fb1172d25
834
Fluent
MIT License
app/src/main/java/com/example/minilydia/domain/model/User.kt
icodeyou
478,231,113
false
null
package com.example.minilydia.domain.model import java.io.Serializable data class User( val id: String, val firstName: String, val surname: String, val gender: String, val email: String, val smallPicture: String, val normalPicture: String, val largePicture: String, val phone: Strin...
0
Kotlin
0
2
59f5126d0d8ace6c2cdad22a5456a9debf7b768d
478
minilydia
Apache License 2.0
src/main/kotlin/com/dp/advancedgunnerycontrol/weaponais/SpecificAIPluginBase.kt
DesperatePeter
361,380,141
false
null
package com.dp.advancedgunnerycontrol.weaponais // Notes: // Initially I was unaware that the player ship's current velocity affects targeting, so some of the code here is a bit patchy // Most of the time a "angular distance", i.e. the sin, is used instead of angles in calculations, as sin(x) ~= x for small angles im...
2
null
3
9
514c3a1b9bd3f16ad6d0c602c9d9bdd9b50fb9fb
13,833
starsector-advanced-weapon-control
MIT License
compiler/ir/backend.jvm/codegen/src/org/jetbrains/kotlin/backend/jvm/codegen/JvmSignatureClashDetector.kt
JetBrains
3,432,266
false
null
/* * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.backend.jvm.codegen import com.intellij.psi.PsiElement import org.jetbrains.kotl...
157
null
5411
43,797
a8f547d080724fae3a45d675a16c5b3fc2f13b17
8,802
kotlin
Apache License 2.0
app/src/main/java/com/ti/sunrain/SunRainApplication.kt
bluebonnet27
317,797,469
false
null
package com.ti.sunrain import android.app.Application import android.content.Context import android.content.SharedPreferences /** * @author: tihon * @date: 2020/12/3 * @description:这个类的作用是提供全局的context */ class SunRainApplication:Application() { /** * 静态获取全局上下文的单例类 */ companion object{ /...
1
null
2
6
68696f18320a86799e0b2243a92c7fa45df83272
767
SunRain
MIT License
app/src/main/java/com/ti/sunrain/SunRainApplication.kt
bluebonnet27
317,797,469
false
null
package com.ti.sunrain import android.app.Application import android.content.Context import android.content.SharedPreferences /** * @author: tihon * @date: 2020/12/3 * @description:这个类的作用是提供全局的context */ class SunRainApplication:Application() { /** * 静态获取全局上下文的单例类 */ companion object{ /...
1
null
2
6
68696f18320a86799e0b2243a92c7fa45df83272
767
SunRain
MIT License
src/commonMain/kotlin/net/notjustanna/lin/ast/node/control/optimization/ScopeExpr.kt
annathelibri
280,314,655
false
{"Kotlin": 323273}
package net.notjustanna.lin.ast.node.control.optimization //data class ScopeExpr(val body: Expr, override val section: Section? = null) : Expr { // /* @automation-disabled(ast.impl ScopeExpr,Expr)-start */ // override fun accept(visitor: NodeVisitor) = visitor.visitScopeExpr(this) // // override fun accept(vi...
17
Kotlin
0
7
b3b10f34e85bc7dec2d3b94d0d6fb2e51dcf1fbf
614
Lin
MIT License
amazon-chime-sdk/src/main/java/com/amazonaws/services/chime/sdk/meetings/utils/Versioning.kt
aws
249,543,698
false
null
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ package com.amazonaws.services.chime.sdk.meetings.utils import com.amazonaws.services.chime.sdk.BuildConfig /** * [Versioning] provides API to retrieve SDK version */ class Versioning { companion...
33
null
53
99
eb9110d7d34a1a24d8e8162efa0ae1a094c421fd
518
amazon-chime-sdk-android
Apache License 2.0
src/main/kotlin/org/jetbrains/tinygoplugin/inspections/TinyGoInterfaceInspection.kt
JetBrains
334,932,962
false
{"Go": 1625409, "Kotlin": 221745, "Lex": 7709, "JavaScript": 3972, "HTML": 3177, "CSS": 1140}
package org.jetbrains.tinygoplugin.inspections import com.goide.inspections.core.GoInspectionBase import com.goide.inspections.core.GoProblemsHolder import com.goide.psi.GoConditionalExpr import com.goide.psi.GoInterfaceType import com.goide.psi.GoNamedElement import com.goide.psi.GoVisitor import com.goide.psi.impl.G...
1
Go
6
35
d3ae7d82e98da1aeb2eb875a040e96c76e9ab8f8
2,320
tinygo-plugin
Apache License 2.0
lib/src/test/kotlin/com/maltaisn/recurpicker/RecurrenceFinderTest.kt
maltaisn
116,074,300
false
null
/* * Copyright 2019 <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...
2
Kotlin
16
66
7f8c90a0efbf633e1265cee0303e1580bc9e672f
22,348
recurpickerlib
Apache License 2.0
app/src/main/java/com/linkerpad/linkerpad/Adapters/MembersListAdapter.kt
LinkerpadStartup
142,832,347
false
null
package com.linkerpad.linkerpad.Adapters import android.Manifest import android.annotation.SuppressLint import android.annotation.TargetApi import android.app.Activity import android.app.AlertDialog import android.content.Context import android.content.Intent import android.content.pm.PackageManager import android.gra...
0
Kotlin
0
0
49b1645da41de6b631e3d526f44970449151baa5
17,871
Linkerpad-phase0-
MIT License
common_component/src/main/java/com/xyoye/common_component/network/Retrofit.kt
xyoye
138,993,190
false
null
package com.xyoye.common_component.network import com.xyoye.common_component.BuildConfig import com.xyoye.common_component.network.helper.* import com.xyoye.common_component.network.service.* import com.xyoye.common_component.utils.JsonHelper import okhttp3.OkHttpClient import retrofit2.Retrofit import retrofit2.conve...
67
null
84
850
f752fdf8cd6457198cfe64493b4caf97b576d0e6
3,925
DanDanPlayForAndroid
Apache License 2.0
app/src/main/java/com/example/skillabus/modules/tutor/TutorScreen.kt
Raia17
622,374,334
false
null
package com.example.skillabus.modules.tutor import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.material.MaterialTheme import androidx.compose.material.Text import androidx.compose.runtime.Composable i...
0
Kotlin
0
0
53305d128ff50f59ff612fdf91cfec2525a303c3
836
Skillabus-Android
MIT License
app/src/main/java/com/plcoding/stockmarketapp/data/remote/dto/IntradayInfoDto.kt
shubham230523
533,838,711
false
null
package com.plcoding.stockmarketapp.data.remote.dto data class IntradayInfoDto ( val timestamp : String , val close : Double )
0
Kotlin
0
0
fbe46892c71ebf6b6d4dfc266a43c5b807ce686a
135
JetPack_StockMarketApp
MIT License
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/iot/CfnScheduledAuditDsl.kt
cloudshiftinc
667,063,030
false
{"Kotlin": 63959868}
@file:Suppress( "RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION" ) package io.cloudshiftdev.awscdkdsl.services.iot import io.cloudshiftdev.awscdkdsl.CfnTagDsl import io...
4
Kotlin
0
3
c59c6292cf08f0fc3280d61e7f8cff813a608a62
8,104
awscdk-dsl-kotlin
Apache License 2.0
ktor-server/ktor-server-jetty-jakarta/jvm/test/io/ktor/tests/server/jetty/jakarta/JettyStressTest.kt
ktorio
40,136,600
false
{"Kotlin": 6007831, "C": 453568, "Python": 948, "JavaScript": 775, "HTML": 336, "Mustache": 77, "Handlebars": 9}
/* * Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.tests.server.jetty.jakarta import io.ktor.server.jetty.jakarta.* import io.ktor.server.testing.suites.* class JettyStressTest : EngineStressSuite<JettyApplicationEngine, JettyA...
156
Kotlin
1051
12,926
f90f2edf11caca28a61dbe9973faae64c17a2842
363
ktor
Apache License 2.0
clients/kotlin/generated/src/test/kotlin/org/openapitools/client/models/PipelineBranchesitempullRequestlinksTest.kt
oapicf
90,140,540
false
{"Java": 12530173, "C++": 7972103, "PHP": 4475625, "TypeScript": 3228611, "Python": 3082826, "Rust": 2800453, "HTML": 2428440, "C#": 2318013, "JavaScript": 1592129, "Kotlin": 1468601, "R": 1219437, "Scala": 1119819, "Ada": 1009616, "C": 985434, "Perl": 962381, "Dart": 896698, "Crystal": 872405, "Haskell": 763757, "Apex...
/** * * Please note: * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit this file manually. * */ @file:Suppress( "ArrayInDataClass", "EnumEntryName", "RemoveRedundantQualifierName", "UnusedImport" ) package org.openapitools.client.models import i...
30
Java
12
19
277d791c0d363a4d93832bec8a581d4c01297b18
1,083
swaggy-jenkins
MIT License
spotify-clone-frontend/app/src/main/java/com/spotifyclone/presentation/login/LoginActivity.kt
Ridersk
257,694,555
false
{"Text": 1, "YAML": 1, "Markdown": 2, "SVG": 50, "INI": 2, "Java Properties": 3, "Gradle": 3, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "XML": 110, "Kotlin": 68, "Java": 5}
package com.spotifyclone.presentation.login import android.content.Intent import android.os.Bundle import android.view.ViewGroup import com.spotifyclone.R import com.spotifyclone.presentation.base.BaseActivity import kotlinx.android.synthetic.main.activity_login.* import kotlinx.android.synthetic.main.activity_login.v...
4
Kotlin
0
1
68617849bca5416100c85578ad42e12775c04865
1,140
spotify-music-player-kotlin
MIT License
src/test/kotlin/nl/dirkgroot/structurizr/dsl/editing/FoldingTest.kt
dirkgroot
561,786,663
false
{"Kotlin": 75605, "Lex": 2479, "ASL": 463}
package nl.dirkgroot.structurizr.dsl.editing import nl.dirkgroot.structurizr.dsl.support.StructurizrDSLCodeInsightTest import org.junit.jupiter.api.Test class FoldingTest : StructurizrDSLCodeInsightTest() { @Test fun `regular blocks`() { fixture.testFolding(fixture.testDataPath + "/folding/regular_blo...
7
Kotlin
1
37
5b6ea445348f6107dd98e52a1e891ce18c35ce5a
730
structurizr-dsl-intellij-plugin
MIT License
src/Day09.kt
proggler23
573,129,757
false
{"Kotlin": 27990}
import kotlin.math.abs import kotlin.math.sign fun main() { fun part1(input: List<String>) = RopeGrid().apply { move(input.parse9()) }.visited.size fun part2(input: List<String>) = RopeGrid(10).apply { move(input.parse9()) }.visited.size // test if implementation meets criteria from the description, like:...
0
Kotlin
0
0
584fa4d73f8589bc17ef56c8e1864d64a23483c8
1,707
advent-of-code-2022
Apache License 2.0