path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/com/elbehiry/steller/app/di/AppModule.kt | Elbehiry | 301,862,208 | false | null | package com.elbehiry.steller.app.di
import com.elbehiry.steller.app.ui.main.MainViewModel
import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.dsl.module
val appModule = module {
viewModel { MainViewModel(get()) }
} | 1 | Kotlin | 1 | 3 | d6d774341264c0b120213b626c02070723071d0a | 233 | Steller | Apache License 2.0 |
src/main/kotlin/no/nav/familie/ba/sak/kjerne/vedtak/vedtaksperiode/vedtakBegrunnelseProdusent/hentBegrunnelser/HentStandardBegrunnelser.kt | navikt | 224,639,942 | false | {"Kotlin": 6468958, "Gherkin": 948328, "PLpgSQL": 4478, "Shell": 3178, "Dockerfile": 522} | package no.nav.familie.ba.sak.kjerne.vedtak.vedtaksperiode.vedtakBegrunnelseProdusent.hentBegrunnelser
import no.nav.familie.ba.sak.kjerne.autovedtak.fødselshendelse.Resultat
import no.nav.familie.ba.sak.kjerne.behandling.domene.Behandling
import no.nav.familie.ba.sak.kjerne.beregning.domene.YtelseType
import no.nav.f... | 9 | Kotlin | 1 | 9 | e531227fb85cd4d7ef8f85fea7e3d285605a5527 | 17,826 | familie-ba-sak | MIT License |
cesium-kotlin/src/jsMain/kotlin/cesium/engine/DebugAppearance.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6272741} | // Automatically generated - do not modify!
@file:JsModule("@cesium/engine")
package cesium.engine
import kotlinx.js.JsPlainObject
/**
* Visualizes a vertex attribute by displaying it as a color for debugging.
*
* Components for well-known unit-length vectors, i.e., `normal`,
* `tangent`, and `bitangent`, are s... | 1 | Kotlin | 8 | 36 | 95b065622a9445caf058ad2581f4c91f9e2b0d91 | 4,954 | types-kotlin | Apache License 2.0 |
feature/mobile/provider-settings/src/main/kotlin/com/flixclusive/feature/mobile/provider/settings/component/AuthorCard.kt | rhenwinch | 659,237,375 | false | {"Kotlin": 1598408, "Java": 18011} | package com.flixclusive.feature.mobile.provider.settings.component
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.size
imp... | 22 | Kotlin | 21 | 255 | 96ef3356d3d5d756a83883af302d2312e6f6a619 | 2,183 | Flixclusive | MIT License |
BaseDebug/src/main/java/com/bihe0832/android/base/debug/audio/asr/DebugRecordAndASRFragRecment.kt | AndroidAppFactory | 222,415,705 | false | {"Java": 2866631, "C++": 2708240, "Kotlin": 1433883, "HTML": 18641, "JavaScript": 18036, "Groovy": 10003, "Shell": 5604, "AIDL": 3845, "CMake": 1415} | /*
* *
* * Created by zixie <code@bihe0832.com> on 2022/7/8 下午10:09
* * Copyright (c) 2022 . All rights reserved.
* * Last modified 2022/7/8 下午10:05
*
*/
package com.bihe0832.android.base.debug.audio.asr
import android.annotation.SuppressLint
import android.content.Context
import android.util.Log
import andr... | 0 | Java | 21 | 72 | e11cbca06d092a3bdd5a58dd4a5260b1f4a208d8 | 15,828 | AndroidAppFactory | MIT License |
ui-kit/src/main/java/com/quickblox/android_ui_kit/presentation/base/BaseViewModel.kt | QuickBlox | 637,751,718 | false | {"Kotlin": 1833847} | /*
* Created by Injoit on 13.01.2023.
* Copyright © 2023 Quickblox. All rights reserved.
*/
package com.quickblox.android_ui_kit.presentation.base
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.quic... | 1 | Kotlin | 0 | 4 | 0ef856d22efb1540d6e238a073badbf31c03961a | 1,798 | android-ui-kit | MIT License |
ComposeCollapsingTopBar/src/main/java/com/flaringapp/compose/topbar/nestedcollapse/CollapsingTopBarNestedCollapseState.kt | flaringapp | 825,947,316 | false | {"Kotlin": 214786} | /*
* Copyright 2024 Flaringapp
*
* 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 i... | 1 | Kotlin | 0 | 1 | 17dce0307bc2f51a63e869345be33aa6ff30d7d4 | 2,159 | ComposeCollapsingTopBar | Apache License 2.0 |
src/main/kotlin/ru/nick252/types/results/services/ServicesKeepDays.kt | nick2525 | 344,564,064 | false | null | package ru.nick252.types.results.services
data class ServicesKeepDays(
val name: String?,
val description: String?,
val example: String?,
val selector: ServicesSelector?
) | 0 | Kotlin | 0 | 1 | b599b5e2567b939dd1326f8ddbfee8040ae49367 | 188 | KotlinHAApi | MIT License |
library-common/src/main/kotlin/cz/filipproch/reactor/common/views/events/OptionsItemSelectedEvent.kt | Reacto-Rx | 95,313,773 | false | null | package cz.filipproch.reactor.common.views.events
import android.view.MenuItem
import cz.filipproch.reactor.base.view.UiEvent
/**
* TODO: add description
*/
data class OptionsItemSelectedEvent(
val menuItem: MenuItem
) : UiEvent | 0 | Kotlin | 0 | 1 | e2fc992cfbb55963acb407972437d63efabedbb9 | 240 | reactorx-core | MIT License |
server-testing/src/test/kotlin/com/lightningkite/lightningserver/auth/SmsAuthTest.kt | lightningkite | 512,032,499 | false | {"Kotlin": 2203220, "TypeScript": 38628, "JavaScript": 118} | package com.lightningkite.lightningdb.test.com.lightningkite.lightningserver.auth
import com.lightningkite.lightningdb.collection
import com.lightningkite.lightningserver.TestSettings
import com.lightningkite.lightningdb.test.User
import com.lightningkite.lightningserver.auth.*
import com.lightningkite.lightningserver... | 2 | Kotlin | 1 | 5 | f404cc57cbdbe2a90b4e59d4ecd5ad22e008a730 | 4,045 | lightning-server | MIT License |
compiler/src/main/kotlin/eu/nitok/jitsu/compiler/graph/Utils.kt | nbrugger-tgm | 683,089,096 | false | {"Kotlin": 135785, "TypeScript": 4002} | package eu.nitok.jitsu.compiler.graph
import eu.nitok.jitsu.compiler.diagnostic.CompilerMessage
sealed interface ReasonedBoolean {
data object True: ReasonedBoolean
data class False(val message: String, val hints: List<CompilerMessage.Hint>) : ReasonedBoolean{
constructor(message: String, vararg hints... | 0 | Kotlin | 0 | 0 | 89c549b28b5cacf39e75ab0cd5f8296ddd45c017 | 418 | jitsu | Apache License 2.0 |
src/main/kotlin/com/github/lppedd/cc/whatsnew/WhatsNewAction.kt | lppedd | 208,670,987 | false | null | package com.github.lppedd.cc.whatsnew
import com.github.lppedd.cc.CCBundle
import com.github.lppedd.cc.CCIcons
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.project.DumbAwareAction
/**
* Displays a dialog containing plugin's changelogs.
*
* @author <NAME>
* @see [WhatsNewDialo... | 24 | null | 12 | 189 | 97bf78ac1757379f035c58cd8706381d9bcb8da1 | 620 | idea-conventional-commit | MIT License |
shared/src/commonMain/kotlin/core/ui/screens/itemlist/ItemHome.kt | wgcarvajal | 683,392,078 | false | {"Kotlin": 325898, "Swift": 2024, "Shell": 228} | package core.ui.screens.itemlist
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxHeight
import and... | 0 | Kotlin | 0 | 0 | 9f17ae1098b80f4e80ad8dbe5f9a1eccd3c74725 | 2,254 | guau-multiplatform | Apache License 2.0 |
MVIPractice/data/src/main/java/com/kimmandoo/data/usecase/file/GetImageUseCaseImpl.kt | kimmandoo | 810,895,614 | false | {"Kotlin": 300640} | package com.kimmandoo.data.usecase.file
import android.content.Context
import android.net.Uri
import android.provider.MediaStore
import com.kimmandoo.domain.model.Image
import com.kimmandoo.domain.usecase.file.GetImageUseCase
import javax.inject.Inject
class GetImageUseCaseImpl @Inject constructor(
private val co... | 0 | Kotlin | 0 | 0 | 9a8ea13862807e5064362abaab34cef720c379cf | 1,452 | android-drill | MIT License |
app/src/main/java/com/patar_dev/opportunityowl/model/notification/NotificationDataTwo.kt | DevP-ai | 700,999,288 | false | {"Kotlin": 58751} | package com.patar_dev.opportunityowl.model.notification
data class NotificationDataTwo (
val name : String ? = null,
val jobTitle : String ? = null,
) | 0 | Kotlin | 0 | 0 | ded20284a62accd98426074745930d438834396a | 159 | OpportunityOwl | MIT License |
glide-loader/src/main/java/com/ouattararomuald/slider/loaders/glide/GlideImageLoader.kt | eajazi | 214,972,654 | true | {"Kotlin": 42465, "Java": 1568} | package com.ouattararomuald.slider.loaders.glide
import android.widget.ImageView
import androidx.annotation.DrawableRes
import com.ouattararomuald.slider.ImageLoader
/**
* Loads images image using Glide.
*
* @property errorResId an error drawable to be used if the request image could not be loaded.
* @property pl... | 0 | Kotlin | 0 | 0 | ac033e669d75fdd68ca0bf303b8a514a018d938c | 979 | android-image-slider | Apache License 2.0 |
sample/src/main/java/com/miquido/restmock/sample/SampleApplication.kt | miquido | 330,661,583 | false | null | package com.miquido.restmock.sample
import android.app.Application
import org.koin.android.ext.koin.androidContext
import org.koin.android.ext.koin.androidLogger
import org.koin.core.context.startKoin
import org.koin.core.logger.Level
import timber.log.Timber
class SampleApplication : Application() {
override fu... | 0 | Kotlin | 0 | 1 | b357f1362e4ad2c9dcb66b5c909e75c91f7ddf86 | 785 | rest-mock | Apache License 2.0 |
backend/src/main/kotlin/net/iceyleagons/butler/services/GatekeeperService.kt | IceyLeagons | 561,907,558 | false | {"Kotlin": 47195, "Svelte": 24955, "TypeScript": 22439, "SCSS": 2753, "HTML": 1308, "CSS": 291, "JavaScript": 213} | package net.iceyleagons.butler.services
import com.fasterxml.jackson.annotation.JsonProperty
import jakarta.servlet.http.HttpServletRequest
import java.util.*
interface GatekeeperService {
data class GatekeeperEntity(
val id: String,
val email: String,
val displayName: String,
val ... | 0 | Kotlin | 0 | 0 | c5c110fb17dd40ec9429e76f48658c5af53cf67c | 959 | Butler | MIT License |
rest/src/commonMain/kotlin/service/AutoModerationService.kt | kordlib | 202,856,399 | false | {"Kotlin": 2692423, "Java": 87103} | package dev.kord.rest.service
import dev.kord.common.entity.AutoModerationRuleEventType
import dev.kord.common.entity.DiscordAutoModerationRule
import dev.kord.common.entity.Snowflake
import dev.kord.rest.builder.automoderation.*
import dev.kord.rest.json.request.AutoModerationRuleCreateRequest
import dev.kord.rest.js... | 43 | Kotlin | 74 | 781 | 29a904b330c592799c29381e7cfa9fe99f8e9dc0 | 7,567 | kord | MIT License |
sample/wearapp/src/main/java/com/estivensh4/wearapp/presentation/MainActivity.kt | estivensh | 716,450,518 | false | {"Kotlin": 155379, "Shell": 2027} | package com.estivensh4.wearapp.presentation
import android.os.Bundle
import android.os.StrictMode
import android.os.StrictMode.ThreadPolicy
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.compose.setContent
i... | 2 | Kotlin | 1 | 7 | 72f9a9ccedeed893c2b35e44a6ee6b8ea708e611 | 5,204 | aws-kmp | Apache License 2.0 |
src/test/kotlin/co/nums/intellij/aem/htl/editor/comments/HtlCommenterTestBase.kt | karollewandowski | 74,054,504 | false | null | package co.nums.intellij.aem.htl.editor.comments
import co.nums.intellij.aem.htl.HtlTestBase
abstract class HtlCommenterTestBase : HtlTestBase() {
abstract val commentType: String
protected fun doCommenterTest(before: String, after: String) =
testByText(before, after) { myFixture.performEditorAc... | 0 | Kotlin | 8 | 26 | 9e76302b897bddb9ce6721d67787e92be575794f | 343 | aem-intellij-plugin | MIT License |
src/test/kotlin/co/uk/lambda/forensics/validator/EmailValidatorTest.kt | dgundogan | 249,957,696 | false | null | package co.uk.lambda.forensics.validator
import org.junit.Assert
import org.junit.Test
class EmailValidatorTest{
private val validator = EmailValidator
@Test
fun `Given missing @ in email, it returns false`() {
Assert.assertFalse(validator.isEmailValid("test.com"))
}
@Test
fun `Giv... | 0 | Kotlin | 0 | 0 | 0ecace1d4ae7d2b33c079fe18dc6e9e943bfa71b | 712 | forensics-svc | MIT License |
android/versioned-abis/expoview-abi43_0_0/src/main/java/abi43_0_0/expo/modules/analytics/amplitude/AmplitudePackage.kt | derekstavis | 184,342,737 | true | {"Objective-C": 20602533, "Java": 13690880, "C++": 11626391, "Kotlin": 5359352, "TypeScript": 4619500, "Objective-C++": 4368983, "Swift": 1078083, "JavaScript": 1013246, "Starlark": 712574, "Ruby": 519774, "C": 282818, "Makefile": 193716, "Shell": 54009, "Assembly": 46734, "HTML": 36667, "CMake": 26275, "CSS": 1306, "B... | package abi43_0_0.expo.modules.analytics.amplitude
import android.content.Context
import abi43_0_0.expo.modules.core.BasePackage
import abi43_0_0.expo.modules.core.ExportedModule
class AmplitudePackage : BasePackage() {
override fun createExportedModules(context: Context): List<ExportedModule> {
return listOf(A... | 1 | Objective-C | 1 | 2 | e377f0cd22db5cd7feb8e80348cd7064db5429b1 | 351 | expo | MIT License |
app/src/main/java/i/herman/app/TestDispatchers.kt | ihermandev | 574,420,150 | false | {"Kotlin": 133424} | package i.herman.app
import kotlinx.coroutines.Dispatchers
class TestDispatchers : CoroutineDispatchers {
override val background = Dispatchers.Unconfined
} | 0 | Kotlin | 0 | 0 | 29c0dde061a15c33a9c4ede6cbd6b779ea6e40ad | 163 | FriendsComposeCourse | Apache License 2.0 |
plugins/power-assert/testData/codegen/boolean/BooleanMixWithOrLast.kt | JetBrains | 3,432,266 | false | null | fun box() = expectThrowableMessage {
val text = "Hello"
assert((text.length == 5 && text.lowercase() == text) || text.length == 1)
}
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 141 | kotlin | Apache License 2.0 |
plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/refactoring/move/moveUtil.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.idea.refactoring.move
import com.intellij.ide.util.DirectoryUtil
import com.intellij.openapi.application.runReadAction
import com.intellij.openapi.command.WriteCommandAc... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 24,879 | intellij-community | Apache License 2.0 |
lib_arch_delegate/src/main/java/com/android/base/delegate/activity/ActivityDelegateOwner.kt | Ztiany | 499,083,580 | false | null | package com.android.base.delegate.activity
import androidx.annotation.UiThread
@UiThread
interface ActivityDelegateOwner {
fun addDelegate(activityDelegate: ActivityDelegate<*>)
fun removeDelegate(activityDelegate: ActivityDelegate<*>): Boolean
fun findDelegate(predicate: (ActivityDelegate<*>) -> Boole... | 0 | Kotlin | 0 | 0 | 599c651ee63597358332b096a6fa53749f61b6b3 | 384 | android-arch-delegate | Apache License 2.0 |
android/app/src/main/java/com/example/android/fido2/repository/AuthRepository.kt | sbweeden | 288,578,283 | false | null | /*
* Copyright 2019 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 1 | 0 | dd9fd7a7297fd1b720a38eab6098e260607b9b9b | 16,728 | fido2-custom-local | Apache License 2.0 |
test-app/src/main/kotlin/uk/gov/justice/digital/hmpps/hmppstemplatepackagename/service/OutboundEventsEmitter.kt | ministryofjustice | 370,951,976 | false | {"Kotlin": 276764, "Shell": 3898} | package uk.gov.justice.digital.hmpps.hmppstemplatepackagename.service
import com.fasterxml.jackson.databind.ObjectMapper
import org.slf4j.Logger
import org.slf4j.LoggerFactory
import org.springframework.stereotype.Service
import software.amazon.awssdk.services.sns.model.PublishRequest
import uk.gov.justice.hmpps.sqs.H... | 0 | Kotlin | 0 | 2 | 194e37c8185490455c3f80ecfa978cf10c02e33d | 1,509 | hmpps-spring-boot-sqs | MIT License |
feature-notes-ui/src/main/kotlin/dev/bogdanzurac/marp/feature/notes/ui/callbacks.kt | bogdanzurac | 637,440,236 | false | null | package dev.bogdanzurac.marp.feature.notes.ui
import dev.bogdanzurac.marp.core.navigation.AppRoute
interface NotesCallbacks {
fun getLoginRoute(): AppRoute
fun shouldShowAllNotes(): Boolean
} | 0 | Kotlin | 0 | 0 | e19a1494fbb0abadac81833a1fec108e613f04d4 | 203 | marp-feature-notes | Apache License 2.0 |
ui/src/main/java/com/pyamsoft/pydroid/ui/preference/CheckBoxPreferenceCompat.kt | pyamsoft | 48,562,480 | false | null | /*
* Copyright 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... | 0 | Kotlin | 3 | 6 | 969fa1c129149f7f2bba06b3d072f3368faa8ba7 | 1,714 | pydroid | Apache License 2.0 |
spring-cloud-gcp-samples/spring-cloud-gcp-kotlin-samples/spring-cloud-gcp-kotlin-app-sample/src/test/kotlin/com/example/RegistrationKotlinSampleApplicationIntegrationTests.kt | GoogleCloudPlatform | 257,984,305 | false | {"Java": 11197895, "Shell": 46092, "HTML": 42267, "Kotlin": 11028, "Starlark": 5121, "Python": 3197, "CSS": 1504, "FreeMarker": 305} | /*
* Copyright 2017-2018 the original author or 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 98 | Java | 312 | 419 | 333c844f9ffcf621a4617875a16a63ff99ff3662 | 2,874 | spring-cloud-gcp | Apache License 2.0 |
src/rider/main/kotlin/me/fornever/avaloniarider/idea/settings/AvaloniaSettingsComponent.kt | ForNeVeR | 154,947,241 | false | null | package me.fornever.avaloniarider.idea.settings
import com.intellij.openapi.ui.ComboBox
import com.intellij.ui.components.CheckBox
import com.intellij.ui.components.JBLabel
import me.fornever.avaloniarider.AvaloniaRiderBundle
import java.awt.GridBagConstraints
import java.awt.GridBagLayout
import javax.swing.JPanel
c... | 33 | Kotlin | 9 | 202 | 71833ec9a92091ec22aac4258e2f6874bea44196 | 2,214 | AvaloniaRider | MIT License |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/appsync/PipelineConfigPropertyDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.appsync
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.services.appsync.CfnResolver
@Generated
public fun buildPipelineConfigProperty(initializer: @AwsCdkDsl
CfnResolver.PipelineConfigProper... | 1 | Kotlin | 0 | 0 | a1cf8fbfdfef9550b3936de2f864543edb76348b | 457 | aws-cdk-kt | Apache License 2.0 |
domain/src/main/kotlin/no/nav/su/se/bakover/domain/klage/KlageinstanshendelseRepo.kt | navikt | 227,366,088 | false | {"Kotlin": 10119313, "Shell": 4388, "TSQL": 1233, "Dockerfile": 1209} | package no.nav.su.se.bakover.domain.klage
import behandling.klage.domain.UprosessertKlageinstanshendelse
import no.nav.su.se.bakover.common.persistence.TransactionContext
import java.util.UUID
interface KlageinstanshendelseRepo {
fun lagre(hendelse: UprosessertKlageinstanshendelse)
fun lagre(hendelse: Prosess... | 5 | Kotlin | 1 | 1 | 738dc3bc4685d2968a7c217daf4159cfec80fadd | 589 | su-se-bakover | MIT License |
app/src/main/java/shetj/me/base/test/TestProxy.kt | SheTieJun | 137,007,462 | false | null |
package shetj.me.base.test
import me.shetj.base.ktx.toJson
import java.lang.reflect.GenericArrayType
import java.lang.reflect.InvocationHandler
import java.lang.reflect.Method
import java.lang.reflect.ParameterizedType
import java.lang.reflect.Proxy
import java.lang.reflect.Type
import java.lang.reflect.TypeVariable... | 1 | null | 1 | 7 | 4d631d482fd5b3cf21188b084b771abfdb3b9704 | 3,165 | BaseKit | MIT License |
isolated-test/src/jsMain/kotlin/com/test/example/NodeFilter.kt | turansky | 279,976,108 | false | null | package com.test.example
external enum class NodeFilter {
FILTER_ACCEPT,
;
}
| 0 | Kotlin | 3 | 32 | 353041c279af4e094cdadc020f9f90354740276e | 87 | seskar | Apache License 2.0 |
app/src/main/java/com/example/calculosfinanceiros/MainActivity.kt | gabriel-lima-2001 | 322,906,617 | false | null | package com.example.calculosfinanceiros
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.*
import org.jetbrains.anko.startActivity
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstance... | 0 | Kotlin | 0 | 0 | 12e76d9caf0d6405e0b49df153c527400f9052bb | 704 | Calculo-De-Investimentos-Kotlin | MIT License |
PhoenixPenNG/libgame/src/main/java/com/phoenixpen/game/data/Structure.kt | nshcat | 182,317,693 | false | null | package com.phoenixpen.game.data
import com.phoenixpen.game.graphics.DrawInfo
import com.phoenixpen.game.ascii.Position3D
/**
* A class representing a base class for all structure types.
* A structure is basically a static entity that is unable to move.
*
* @property baseType Basic structure type information, lik... | 0 | Kotlin | 0 | 1 | 8e29e78b8f3d1ff7bdfedfd7c872b1ac69dd665d | 1,201 | phoenixpen_ng | MIT License |
app/src/main/java/com/dhl/uploadimage_Assignment/loginActivity.kt | santriptmehta | 482,034,041 | false | null | package com.dhl.uploadimage_Assignment
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.TextUtils
import android.widget.Button
import android.widget.EditText
import android.widget.TextView
import android.widget.Toast
import com.google.firebase.a... | 0 | Kotlin | 0 | 0 | 29b528ea2eb1e65dcf5735086e44ecd940ab877f | 3,548 | UploadImage | Apache License 2.0 |
app/src/main/java/com/dhl/uploadimage_Assignment/loginActivity.kt | santriptmehta | 482,034,041 | false | null | package com.dhl.uploadimage_Assignment
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.TextUtils
import android.widget.Button
import android.widget.EditText
import android.widget.TextView
import android.widget.Toast
import com.google.firebase.a... | 0 | Kotlin | 0 | 0 | 29b528ea2eb1e65dcf5735086e44ecd940ab877f | 3,548 | UploadImage | Apache License 2.0 |
app/src/test/java/com/example/android/architecture/blueprints/todoapp/data/source/DefaultTasksRepositoryTest.kt | Mansourx | 393,979,445 | false | null | package com.example.android.architecture.blueprints.todoapp.data.source
import com.example.android.architecture.blueprints.todoapp.MainCoroutineRule
import com.example.android.architecture.blueprints.todoapp.data.Result
import com.example.android.architecture.blueprints.todoapp.data.Task
import kotlinx.coroutines.Disp... | 0 | Kotlin | 0 | 1 | d41bc1ab22dde41a1d7ab57df857e17109ff502b | 2,454 | android-testing | Apache License 2.0 |
base-android/src/main/java/com/sfaxdroid/base/Ads.kt | yassinBaccour | 106,160,036 | false | {"Kotlin": 348508, "Java": 3869} | package com.sfaxdroid.base
import android.app.Activity
import android.content.Context
interface Ads {
fun showInterstitial(activity: Activity)
fun loadInterstitial(context: Context)
} | 0 | Kotlin | 0 | 2 | 136ac811fb1495a8ea2800480954121bf092742b | 194 | SfaxDroid_Wallpaper_App | Apache License 2.0 |
mobile/src/main/java/com/google/samples/apps/iosched/ui/agenda/AgendaFragment.kt | vcaen | 224,569,738 | true | {"Kotlin": 1036024, "Java": 63494, "HTML": 24092, "Shell": 5252} | /*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | Kotlin | 0 | 0 | d253954a4464b134a9069bc4ca8c97ece69b9f53 | 2,907 | iosched | Apache License 2.0 |
domain/src/main/kotlin/dvachmovie/usecase/moviestorage/GetMovieListUseCase.kt | sasfmlzr | 151,072,454 | false | {"Kotlin": 428680} | package dvachmovie.usecase.moviestorage
import dvachmovie.db.data.Movie
import dvachmovie.storage.MovieStorage
import dvachmovie.usecase.base.UseCase
import javax.inject.Inject
open class GetMovieListUseCase @Inject constructor(
private val movieStorage: MovieStorage) : UseCase<Unit, List<Movie>>() {
ove... | 0 | Kotlin | 2 | 3 | 0607e9c90ae503552ff6e9500f659170a0cd97fc | 403 | DvachMovie | Apache License 2.0 |
idea/testData/refactoring/changeSignature/SAMAddToNonEmptyParamListAfter.1.kt | JakeWharton | 99,388,807 | true | null | fun test() {
JTest.samTest(SAM { s, n, o -> s + " " + n })
} | 0 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 64 | kotlin | Apache License 2.0 |
recorder-view/src/main/java/com/tougee/recorderview/AudioRecordView.kt | Tougee | 133,962,690 | false | null | package com.tougee.recorderview
import android.Manifest
import android.animation.ObjectAnimator
import android.annotation.SuppressLint
import android.app.Activity
import android.content.Context
import android.content.pm.PackageManager
import android.util.AttributeSet
import android.view.LayoutInflater
import android.v... | 2 | Kotlin | 13 | 51 | d6a4a434e16af67e988e9d5e17188ffc117d63ed | 15,683 | AudioRecorderView | Apache License 2.0 |
app/src/main/java/com/prushh/mvvmshop/models/shop/ShopResponse.kt | prushh | 283,502,137 | false | null | package com.prushh.mvvmshop.models.shop
/**
* Represent shop API response.
* @property message Server response message.
* @property status Message based on response status code.
* @property products List of required products.
*/
data class ShopResponse(
val message: String,
val status: String,
val pro... | 0 | Kotlin | 0 | 2 | 2ba27ecd1b811bbe6684eb37d8e4a027e6e29885 | 349 | MVVMShop | MIT License |
app/src/main/java/com/coco/androiddemo/lessions/kotlin_base_types/KTDataForType.kt | cocomanbar | 662,634,305 | false | null | package com.coco.androiddemo.lessions
fun main() {
val str = "123456789"
for (c in str) {
println("c = $c, c is char? ${(c is Char)}")
}
// it 单独参数可用
// swift $0 $1 ..
str.forEach {
println(it)
}
for (index in str.indices) {
}
for ((index, value) in str.wit... | 0 | Kotlin | 0 | 0 | a008fab1fa57f5027dbef367030d87a3483f9e02 | 652 | FirstAndroidDemo | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/guardduty/CfnThreatIntelSetProps.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 142794926} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.guardduty
import io.cloudshiftdev.awscdk.CfnTag
import io.cloudshiftdev.awscdk.IResolvable
import io.... | 4 | Kotlin | 0 | 4 | e15f2e27e08adeb755ad44b2424c195521a6f5ba | 11,282 | kotlin-cdk-wrapper | Apache License 2.0 |
base/media/medialib/src/main/kotlin/com/flammky/musicplayer/base/media/mediaconnection/playback/PlaybackProperties.kt | flammky | 462,795,948 | false | {"Kotlin": 5222947} | package com.flammky.musicplayer.base.media.mediaconnection.playback
data class PlaybackProperties(
val playWhenReady: Boolean,
val playing: Boolean,
val shuffleEnabled: Boolean,
val canSeekNext: Boolean,
val canSeekPrevious: Boolean,
val repeatMode: RepeatMode,
val playbackState: PlaybackState
) {
sealed inte... | 0 | Kotlin | 6 | 56 | a452c453815851257462623be704559d306fb383 | 1,001 | Music-Player | Apache License 2.0 |
src/main/kotlin/com/mvp/payment/domain/service/payment/MPOrderService.kt | lfneves | 729,678,052 | false | {"Kotlin": 74436, "Shell": 4047, "Dockerfile": 255, "Gherkin": 222} | package com.mvp.payment.domain.service.payment
import com.mvp.payment.domain.model.payment.store.QrDataDTO
import com.mvp.payment.domain.model.payment.store.webhook.MerchantOrderDTO
interface MPOrderService {
suspend fun saveCheckoutOrderExternalStoreID(merchantOrderDTO: MerchantOrderDTO)
suspend fun genera... | 0 | Kotlin | 0 | 0 | 53cdb26677436dd7aadb0114b03267e7e130c2a3 | 577 | tech-challenge-payment | MIT License |
app/src/main/kotlin/taiwan/no1/app/ssfm/features/chart/ChartRankChartDetailFragment.kt | pokk | 90,497,127 | false | null | package taiwan.no1.app.ssfm.features.chart
import android.os.Bundle
import com.devrapid.kotlinknifer.recyclerview.WrapContentLinearLayoutManager
import com.devrapid.kotlinknifer.recyclerview.itemdecorator.VerticalItemDecorator
import com.hwangjr.rxbus.RxBus
import com.hwangjr.rxbus.annotation.Subscribe
import com.hwan... | 0 | Kotlin | 0 | 1 | 1928c2f1a42634ede147517854d06b6fd5d11e7b | 5,145 | SSFM | Apache License 2.0 |
src/main/kotlin/com/fiap/order/usecases/CreateOrderUseCase.kt | FIAP-3SOAT-G15 | 794,350,212 | false | {"Kotlin": 125965, "HCL": 4430, "Dockerfile": 283} | package com.fiap.order.usecases
import com.fiap.order.domain.entities.OrderItem
import com.fiap.order.driver.web.response.PendingOrderResponse
import java.util.*
interface CreateOrderUseCase {
fun create(customerId: UUID?, items: List<OrderItem>): PendingOrderResponse
}
| 0 | Kotlin | 0 | 1 | 53f972c9cb0a7175f3d5ade84c18ac90c025df79 | 277 | orders-api | MIT License |
travelmaker_android/app/src/main/java/com/gumibom/travelmaker/ui/main/findmate/meeting_post/MeetingPostViewModel.kt | Leewoogun | 767,396,774 | false | {"Kotlin": 481004, "Java": 174550, "HTML": 4622, "Dockerfile": 516} | package com.gumibom.travelmaker.ui.main.findmate.meeting_post
import android.util.Log
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.gumibom.travelmaker.data.dto.response.Position
import com.gumibom.tr... | 0 | Kotlin | 0 | 0 | 04e4d7a7a2b613db4a4c9181d015b23b58ea7f70 | 2,589 | TravelMaker | Apache License 1.1 |
app/src/main/java/me/hegj/wandroid/app/AppLifecyclesImpl.kt | hegaojian | 206,478,384 | false | null | /*
* Copyright 2017 JessYan
*
* 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 ... | 1 | null | 2 | 713 | 622016c9695c01f3a134a23c4af1f76686aad6f1 | 4,352 | WanAndroid | Apache License 2.0 |
app/src/main/kotlin/me/xizzhu/android/joshua/ui/Span.kt | andriiginting | 288,359,910 | false | null | /*
* Copyright (C) 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 ... | 0 | null | 0 | 1 | 2372855404bc56da08adff1f5b03f2f2026d50c3 | 2,021 | Joshua | Apache License 2.0 |
features/feature-details/src/main/kotlin/com/maximillianleonov/cinemax/feature/details/components/Movie.kt | AfigAliyev | 523,245,537 | false | null | /*
* Copyright 2022 <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... | 8 | null | 2 | 89 | 02e65e899394753e537c6613de6fe4da49bd08f6 | 2,311 | Cinemax | Apache License 2.0 |
src/test/kotlin/integration/DndR5C7.kt | dkesler | 530,453,755 | false | {"Kotlin": 136313} | package integration
import SolverConfiguration
class DndR5C7 : BaseIntegrationTest() {
override val file = "/dnd5-7"
override val config = SolverConfiguration(true)
} | 0 | Kotlin | 0 | 1 | 3891aadb125c26e31a1d09664f1988728c1e3e82 | 176 | dungeons-and-diagrams | MIT License |
lcc-data/src/main/kotlin/com/joshmanisdabomb/lcc/data/factory/recipe/TrapdoorRecipeFactory.kt | joshmanisdabomb | 537,458,013 | false | {"Kotlin": 2724329, "Java": 138822} | package com.joshmanisdabomb.lcc.data.factory.recipe
import com.joshmanisdabomb.lcc.data.DataAccessor
import net.minecraft.data.server.recipe.ShapedRecipeJsonBuilder
import net.minecraft.item.Item
import net.minecraft.item.ItemConvertible
class StairsRecipeFactory(val item: ItemConvertible, val output: Int = 4, val gr... | 0 | Kotlin | 0 | 0 | a836162eaf64a75ca97daffa02c1f9e66bdde1b4 | 721 | loosely-connected-concepts | Creative Commons Zero v1.0 Universal |
core/src/main/java/com/onirutla/movflex/core/data/source/remote/response/GuestStarResponse.kt | onirutlA | 476,949,602 | false | null | package com.onirutla.movflex.core.data.source.remote.response
import com.onirutla.movflex.core.domain.model.GuestStar
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class GuestStarResponse(
@Json(name = "adult")
val adult: Boolean? = false,
@Json... | 0 | Kotlin | 0 | 0 | 689cd51a60c6d1713c2625fbfde2ce59420a19e5 | 928 | MovFlex | MIT License |
test/src/me/anno/tests/terrain/v1/TerrainEditMode.kt | AntonioNoack | 456,513,348 | false | {"Kotlin": 10912545, "C": 236426, "Java": 6754, "Lua": 4496, "C++": 3070, "GLSL": 2698} | package me.anno.tests.terrain.v1
enum class TerrainEditMode {
ADDING,
PAINTING,
SMOOTHING,
FLATTENING,
}
| 0 | Kotlin | 3 | 24 | 013af4d92e0f89a83958008fbe1d1fdd9a10e992 | 122 | RemsEngine | Apache License 2.0 |
app/src/main/java/com/samrudhasolutions/virtualtutoringplatform/network/ApiClient.kt | samrudha01codespace | 766,197,634 | false | {"Kotlin": 11951} | package com.samrudhasolutions.bolo.network
import com.samrudhasolutions.bolo.utils.BASE_URL
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
object ApiClient {
@Volatile
private var INSTANCE: ApiInterface?=null
fun getInstance(): ApiInterface {
synchronized(this){
... | 0 | Kotlin | 0 | 0 | 70fa2786dc5c0c3822cc8006c6d3ecd4d279c668 | 600 | PicSolver | MIT License |
src/main/kotlin/entity/ontology/WoDTVocabulary.kt | Web-of-Digital-Twins | 847,725,953 | false | {"Kotlin": 96061, "JavaScript": 983, "Dockerfile": 101} | /*
* Copyright (c) 2023. <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 ... | 2 | Kotlin | 0 | 1 | 5ac73f961a975d65d33a97e9fe0d1b75e5e9f4fa | 913 | wodt-platform | Apache License 2.0 |
src/main/kotlin/view/WelcomeScene.kt | Roggired | 348,065,860 | false | null | package view
class WelcomeScene : Scene {
override fun start(sceneContext: SceneContext) {
println("Welcome to this console-gui monster!")
println()
println("I can work with trigonometric, polynomial and logarithmic functions and also it compositions.")
println()
println("LI... | 0 | Kotlin | 0 | 2 | 983935fc1ca2a6da564ff8300c2a53cc85dd8701 | 1,795 | maths_lab2 | MIT License |
plugins/analysis/java-plugin/src/main/kotlin/arrow/meta/plugins/analysis/java/ast/descriptors/JavaSimpleFunctionDescriptor.kt | arrow-kt | 217,378,939 | false | null | @file:Suppress("JAVA_MODULE_DOES_NOT_EXPORT_PACKAGE")
package arrow.meta.plugins.analysis.java.ast.descriptors
import arrow.meta.plugins.analysis.java.AnalysisContext
import arrow.meta.plugins.analysis.phases.analysis.solver.ast.context.descriptors.SimpleFunctionDescriptor
import javax.lang.model.element.ElementKind
... | 97 | Kotlin | 40 | 316 | 8d2a80cf3a1275a752c18baceed74cb61aa13b4d | 586 | arrow-meta | Apache License 2.0 |
app/src/main/java/com/kyant/pixelmusic/api/playlist/Subscriber.kt | Kyant0 | 334,608,108 | false | null | package com.kyant.pixelmusic.api.playlist
import kotlinx.serialization.Serializable
@Serializable
data class Creator(
val defaultAvatar: Boolean? = false,
val province: Long? = 0,
val authStatus: Long? = 0,
val followed: Boolean? = false,
val avatarUrl: String? = "",
val accountStatus: Long? =... | 1 | null | 12 | 95 | e94362a4bc9c6da13b1a1848dce528975bf52b13 | 1,117 | PixelMusic | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/digital/hmpps/calculatereleasedatesapi/resource/ReferenceDataControllerTest.kt | ministryofjustice | 387,841,000 | false | {"Kotlin": 1622403, "Shell": 7185, "Dockerfile": 1379} | package uk.gov.justice.digital.hmpps.calculatereleasedatesapi.resource
import com.fasterxml.jackson.core.type.TypeReference
import com.fasterxml.jackson.databind.ObjectMapper
import io.micrometer.common.util.StringUtils
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import org.juni... | 7 | Kotlin | 0 | 5 | 7d2845a714169839842e7cde67a06b0b99b32229 | 2,365 | calculate-release-dates-api | MIT License |
EZRecipes/app/src/main/java/com/abhiek/ezrecipes/ui/MainLayout.kt | Abhiek187 | 502,751,240 | false | {"Kotlin": 212174, "Ruby": 11396} | package com.abhiek.ezrecipes.ui
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
import androidx.compose.material.*
import androidx.compose.material3.windowsizeclass.WindowWidthSizeClass
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEf... | 0 | Kotlin | 0 | 0 | 145600b596d5b1bdea47e6c472faad827c696497 | 4,329 | ez-recipes-android | MIT License |
app/src/main/java/com/prime/media/Home.kt | iZakirSheikh | 506,656,610 | false | null | @file:Suppress("AnimateAsStateLabel")
package com.prime.media
import android.app.Activity
import android.content.Intent
import android.content.pm.PackageManager
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.result.contract.ActivityResultContracts
import androidx.compose.a... | 5 | null | 9 | 97 | a92a3d74451442b3dfb8d409c1177453c5d656a3 | 30,581 | Audiofy | Apache License 2.0 |
app/src/main/java/com/example/android_study/jetpack/paging3/_main/ui/adapter/PagingLoadStateAdapter.kt | RhythmCoderZZF | 281,057,053 | false | null | package com.example.android_study.jetpack.paging3._main.ui.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.core.view.isVisible
import androidx.paging.LoadState
import androidx.paging.LoadStateAdapter
import androidx.recyclerview.widget.RecyclerView
import com.example.android_st... | 0 | Kotlin | 0 | 0 | b569adcacfdba5ea6b4c323454c3c5130a1b4763 | 1,779 | AndroidStudy | Apache License 2.0 |
src/test/kotlin/com/workos/test/passwordless/PasswordlessApiTest.kt | workos | 419,780,611 | false | null | package com.workos.test.passwordless
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.workos.passwordless.PasswordlessApi
import com.workos.passwordless.models.PasswordlessSession
import com.workos.passwordless.models.SessionType
import com.workos.test.TestBase
import org.junit.jupiter.api.Ass... | 4 | Kotlin | 6 | 9 | 1f28bfd702ce1009fcee414c3864b6bfe36670d4 | 5,140 | workos-kotlin | MIT License |
basick/src/main/java/com/mozhimen/basick/utilk/java/net/UtilKNetworkInterface.kt | mozhimen | 353,952,154 | false | null | package com.mozhimen.basick.utilk.java.net
import com.mozhimen.basick.utilk.android.net.UtilKNetConn
import com.mozhimen.basick.utilk.android.util.et
import java.net.Inet6Address
import java.net.InetAddress
import java.net.NetworkInterface
import java.net.SocketException
import java.util.Enumeration
/**
* @ClassName... | 0 | null | 7 | 115 | 05064571d43ada3ea6488bafc33d2fe436c0618d | 1,671 | SwiftKit | Apache License 2.0 |
app/src/main/java/com/cryptron/breadbox/CoreUtils.kt | defi-ventures | 299,059,371 | false | {"Gradle": 3, "XML": 262, "Java Properties": 2, "Shell": 2, "Text": 16, "Ignore List": 2, "Batchfile": 2, "Markdown": 1, "YAML": 2, "INI": 1, "Proguard": 1, "Java": 162, "Kotlin": 272, "JSON": 6, "HTML": 2, "Protocol Buffer": 2, "Ruby": 1} | /**
* BreadWallet
*
* Created by <NAME> <<EMAIL>> on 9/25/19.
* Copyright (c) 2019 breadwallet LLC
*
* 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 wit... | 5 | null | 1 | 1 | 8a25940586c472b10d765f6805be502a0c477986 | 14,436 | groestlwallet-android | MIT License |
compiler/testData/diagnostics/tests/obsoleteInsufficientDescription.kt | JetBrains | 3,432,266 | false | null | // ISSUE: KT-59567
// WITH_STDLIB
class SomeClass() {
fun someFunction() {
}
suspend fun someSuspendingFunction() {
}
}
fun main() {
val someObject = SomeClass()
val someSuspendingFunctionReference = someObject::someSuspendingFunction
sequence<Int> {
println("a function: ${someO... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 556 | kotlin | Apache License 2.0 |
app/src/main/kotlin/my/application/ecogreen/SetUpChooser.kt | hyojin2 | 375,578,819 | false | {"ASP.NET": 181725, "Kotlin": 77574, "Java": 37048} | package my.application.ecogreen
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.DialogFragment
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
import kotlinx.android.synthetic.main.set_up_chooser.*
... | 0 | ASP.NET | 0 | 0 | eca1715a6f4f533162b6c724e5943c3dff3ffc86 | 1,402 | BARO_AndroidStudio | Apache License 2.0 |
app/src/main/java/com/github/braillesystems/learnbraille/ui/screens/practice/CardViewModel.kt | braille-systems | 246,795,546 | false | null | package com.github.braillesystems.learnbraille.ui.screens.practice
import android.app.Application
import androidx.lifecycle.*
import com.github.braillesystems.learnbraille.data.dsl.ALL_CARDS_DECK_ID
import com.github.braillesystems.learnbraille.data.entities.*
import com.github.braillesystems.learnbraille.data.reposit... | 35 | null | 3 | 9 | e7e41e88d814aa4f7dd118ed023cdd6f955d53e5 | 5,206 | learn-braille | Apache License 2.0 |
tools/plugin/gradle-plugin/plugin-build/plugin/src/main/java/dev/elide/buildtools/gradle/plugin/tasks/EmbeddedJsBuildTask.kt | elide-dev | 506,113,888 | false | null | package dev.elide.buildtools.gradle.plugin.tasks
import com.github.gradle.node.task.NodeTask
import com.google.protobuf.Timestamp
import dev.elide.buildtools.gradle.plugin.BuildMode
import dev.elide.buildtools.gradle.plugin.ElideExtension
import dev.elide.buildtools.gradle.plugin.cfg.ElideJsHandler
import dev.elide.bu... | 75 | null | 5 | 97 | 652036fb4e8394e8ad1aced2f4bbfaa9e00a5181 | 27,728 | elide | MIT License |
bot/engine/src/main/kotlin/fr/vsct/tock/bot/admin/message/MessageConfiguration.kt | curinator | 207,578,255 | true | {"Kotlin": 3731711, "TypeScript": 587148, "HTML": 201325, "CSS": 60702, "JavaScript": 4142, "Shell": 2610} | /*
* Copyright (C) 2017 VSCT
*
* 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 wri... | 0 | null | 0 | 1 | dd37ec79ba29b4f6aacff704ca3400b41df47efb | 1,393 | tock | Apache License 2.0 |
src/main/kotlin/com/art/absencecalendar/ApiImpl.kt | ArturAdamczyk | 147,968,333 | false | null | package com.art.absencecalendar
import com.art.absencecalendar.absence.Absence
import com.art.absencecalendar.absence.AbsenceDaoImpl
import com.art.absencecalendar.absence.type.AbsenceType
import com.art.absencecalendar.absence.type.AbsenceTypeDao
import com.art.absencecalendar.absence.user.UserDao
import com.art.abse... | 1 | null | 1 | 1 | e238e45dbbfb51a2d58af4d1d9bd8e7b4e3b0bd1 | 2,843 | AbsenceCalendarApi | MIT License |
src/main/kotlin/uk/gov/justice/digital/assessments/config/CacheConfiguration.kt | ministryofjustice | 289,880,556 | false | null | package uk.gov.justice.digital.assessments.config
import com.fasterxml.jackson.annotation.JsonTypeInfo
import com.fasterxml.jackson.databind.DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module
import com.fasterxml.ja... | 5 | Kotlin | 1 | 2 | 48c61ad5cc311c7e8ef0d1dcd8822849c6ba2066 | 3,546 | hmpps-assessments-api | MIT License |
defitrack-protocols/iron-bank/src/main/java/io/defitrack/protocol/compound/IronBankService.kt | decentri-fi | 426,174,152 | false | null | package io.defitrack.protocol.compound
import org.springframework.stereotype.Service
interface IronBankService {
fun getComptroller(): String
} | 16 | Kotlin | 6 | 5 | e4640223e69c30f986b8b4238e026202b08a5548 | 149 | defi-hub | MIT License |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/Battery1Bar.kt | karakum-team | 387,062,541 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/Battery1Bar")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val Battery1Bar: SvgIconComponent
| 0 | null | 5 | 35 | 60404a8933357df15ecfd8caf6e83258962ca909 | 204 | mui-kotlin | Apache License 2.0 |
app/src/main/java/org/lenchan139/lightbrowser/UrlFromExternalActivity.kt | lenchan139 | 76,649,147 | false | null | package org.lenchan139.lightbrowser
import android.content.Intent
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
class UrlFromExternalActivity : AppCompatActivity() {
override fun onPause() {
super.onPause()
overridePendingTransition(0, 0)
}
... | 0 | Kotlin | 1 | 2 | 59aa9b36b645e1046e31e942a7cf60f1ca6d4596 | 927 | LightBrowser | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/paymentcryptography/CfnKey.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 142794926} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.paymentcryptography
import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.CfnTag
... | 0 | Kotlin | 0 | 4 | 9bf6f9403f8b24b070d23a2f895811be72f5d828 | 47,318 | kotlin-cdk-wrapper | Apache License 2.0 |
app/src/main/java/de/niklasbednarczyk/nbweather/navigation/NBNavigationDrawerItem.kt | NiklasBednarczyk | 529,683,941 | false | {"Kotlin": 1028822} | package de.niklasbednarczyk.nbweather.navigation
import de.niklasbednarczyk.nbweather.core.common.string.NBString
import de.niklasbednarczyk.nbweather.core.ui.icons.NBIconModel
import de.niklasbednarczyk.nbweather.core.ui.navigation.destination.NBTopLevelDestination
import de.niklasbednarczyk.nbweather.core.ui.navigat... | 22 | Kotlin | 0 | 1 | bd8ac5bae4ed4461e2461b6d89dd67358fdfbdd8 | 1,463 | NBWeather | MIT License |
compose/foundation/foundation-newtext/src/commonMain/kotlin/androidx/compose/foundation/newtext/text/copypasta/selection/SimpleLayout.kt | MaxMood96 | 395,831,835 | true | {"Kotlin": 72038273, "Java": 62021571, "C++": 9029994, "Python": 299356, "AIDL": 270753, "Shell": 173288, "HTML": 21175, "ANTLR": 19860, "CMake": 12136, "TypeScript": 7599, "C": 7083, "GLSL": 3842, "Swift": 3153, "JavaScript": 1343} | /*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 10 | Kotlin | 0 | 1 | dbae5353c0d623b7e56fd1af3e8f716fb47d2822 | 2,250 | androidx | Apache License 2.0 |
app/src/main/java/com/gmail/fattazzo/meteo/app/services/WebcamService.kt | fattazzo | 182,333,126 | false | null | /*
* Project: meteo
* File: WebcamService.kt
*
* Created by fattazzo
* Copyright © 2019 <NAME>. All rights reserved.
*
* MIT License
* 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 ... | 1 | null | 1 | 1 | 8345a9a1b0d0dcb87922262c1691cd6ec8d058fc | 2,793 | meteo | MIT License |
presentation/src/main/java/com/nisrulz/example/spacexapi/presentation/features/launch_detail/LaunchDetailScreen.kt | nisrulz | 708,230,156 | false | null | package com.nisrulz.example.spacexapi.presentation.features.launch_detail
import androidx.compose.material3.SnackbarHostState
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.getValue
import androidx.compose.runtime.remember
import androidx.hilt.... | 2 | null | 0 | 6 | 47511d9b3af20fa8d69717e23f8acfc704bbadfd | 1,847 | android-spacex-app | Apache License 2.0 |
src/app/src/test/kotlin/org/vaccineimpact/orderlyweb/tests/integration_tests/tests/IntegrationTest.kt | vimc | 173,126,600 | false | null | package org.vaccineimpact.orderlyweb.tests.integration_tests.tests
import com.nhaarman.mockito_kotlin.doReturn
import com.nhaarman.mockito_kotlin.mock
import org.assertj.core.api.Assertions
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.BeforeAll
import org.... | 6 | null | 4 | 4 | e3a2a8204a3e559e15f1d54e884e8ea1aa798cf0 | 4,931 | orderly-web | MIT License |
src/main/kotlin/com/alzakharov/patterns/date/Ca.kt | al-zakharov | 508,063,626 | false | {"Kotlin": 22276} | package com.alzakharov.patterns.date
object Ca {
fun apply(date: String) = (
"^((((19|20)(([02468][048])|([13579][26])).02.29))|((20[0-9][0-9])|(19[" +
"0-9][0-9])).((((0[1-9])|(1[0-2])).((0[1-9])|(1[0-9])|(2[0-8])))" +
"|((((0[13578])|(1[02])).31)|(((0[1,3-9])|(1[0-2])).(29|30)))))... | 0 | Kotlin | 0 | 0 | e80d2853a4546e2493df72b92dd64dd73166fac6 | 360 | kotlin-validators | Apache License 2.0 |
build-logic/conventionplugins/src/main/kotlin/com/experiment/buildlogic/conventionplugins/KotlinAndroid.kt | aarash709 | 605,957,736 | false | {"Kotlin": 364629, "Shell": 694} | package com.experiment.buildlogic.conventionplugins
import com.android.build.api.dsl.CommonExtension
import org.gradle.api.JavaVersion
import org.gradle.api.Project
internal fun Project.configureAndroid(
extension: CommonExtension<*, *, *, *, *, *>,
) {
extension.apply {
compileSdk = 34
defa... | 3 | Kotlin | 2 | 5 | 1e7b87335f543ac252b622b9217ce833aa8bd2d8 | 522 | Weather | Apache License 2.0 |
app/src/main/java/jp/juggler/subwaytooter/action/Action_Follow.kt | tateisu | 89,120,200 | false | null | package jp.juggler.subwaytooter.action
import androidx.appcompat.app.AlertDialog
import jp.juggler.subwaytooter.ActMain
import jp.juggler.subwaytooter.R
import jp.juggler.subwaytooter.actmain.reloadAccountSetting
import jp.juggler.subwaytooter.actmain.showColumnMatchAccount
import jp.juggler.subwaytooter.api.*
import ... | 37 | null | 23 | 238 | f20f9fee8ef29bfcbba0f4c610ca8c2fb1c29d4f | 21,661 | SubwayTooter | Apache License 2.0 |
lib/android/src/main/java/qiuxiang/amap3d/map_view/MultiPointManager.kt | qiuxiang | 92,480,934 | false | null | package qiuxiang.amap3d.map_view
import com.facebook.react.bridge.ReadableArray
import com.facebook.react.bridge.ReadableMap
import com.facebook.react.uimanager.SimpleViewManager
import com.facebook.react.uimanager.ThemedReactContext
import com.facebook.react.uimanager.annotations.ReactProp
import qiuxiang.amap3d.getE... | 254 | null | 321 | 1,202 | da9ca7525b2ce62a441989fd509389cbcfb5e155 | 1,013 | react-native-amap3d | MIT License |
apps/teacher/src/androidTest/java/com/instructure/teacher/ui/e2e/LoginE2ETest.kt | instructure | 179,290,947 | false | null | /*
* Copyright (C) 2022 - present Instructure, 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/licenses/LICENSE-2.0
*
* Unless requ... | 7 | null | 98 | 99 | 1bac9958504306c03960bdce7fbb87cc63bc6845 | 10,469 | canvas-android | Apache License 2.0 |
app/src/main/java/com/breezebppoddar/features/stockAddCurrentStock/api/ShopAddStockRepository.kt | DebashisINT | 518,335,697 | false | {"Kotlin": 15748661, "Java": 1026075} | package com.breezebppoddar.features.stockAddCurrentStock.api
import com.breezebppoddar.base.BaseResponse
import com.breezebppoddar.features.location.model.ShopRevisitStatusRequest
import com.breezebppoddar.features.location.shopRevisitStatus.ShopRevisitStatusApi
import com.breezebppoddar.features.stockAddCurrentStock.... | 0 | Kotlin | 0 | 0 | 753efb0351b3f2eac809d89c0dc7222c7e6ab0ab | 991 | BPPODDARHOSPITAL | Apache License 2.0 |
08. Homework Local Storage/LocalStorage/app/src/main/java/com/example/localstorage/daos/UpdateDao.kt | VladoDev03 | 548,553,324 | false | {"Kotlin": 60583} | package com.example.localstorage.daos
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import com.example.localstorage.entities.Country
import com.example.localstorage.entities.Update
@Dao
interface UpdateDao {
@Query("SELECT * FROM `update` LIMIT 1")
suspend fun get(): Update
... | 0 | Kotlin | 0 | 0 | bebfa1b7c9c924d5da6053076c3318714d752cc9 | 438 | android-development-kotlin-softuni | MIT License |
Browser/src/commonMain/kotlin/io/nacular/doodle/drawing/TextFactory.kt | nacular | 108,631,782 | false | null | package io.nacular.doodle.drawing
import io.nacular.doodle.HTMLElement
import io.nacular.doodle.text.StyledText
/**
* Created by <NAME> on 10/30/17.
*/
interface TextFactory {
fun create (text: String, font: Font? = null, possible: HTMLElement? = null): HTMLElement
... | 4 | null | 19 | 450 | 2aba993826fcd67dcc825259d6fc7736039de5db | 992 | doodle | MIT License |
app/src/main/java/com/google/samples/apps/sunflower/adapters/CategoryFoodAdapter.kt | zllbird | 241,511,935 | true | {"Kotlin": 243852} | /*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | Kotlin | 0 | 0 | 37b5c513dd1f75ecfb4fc07915d9a56b5735242b | 3,205 | sunflower | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/findUsages/kotlin/findClassUsages/javaInterfaceAllUsages.0.kt | JetBrains | 2,489,216 | false | null | // PSI_ELEMENT: org.jetbrains.kotlin.psi.KtClass
// OPTIONS: usages
// PSI_ELEMENT_AS_TITLE: "interface Server"
// IGNORE_PLATFORM_JS: Java-specific code
// IGNORE_PLATFORM_NATIVE: Java-specific code
package server
interface <caret>Server {
companion object {
@JvmField val ID = ""
@JvmStatic fun... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 345 | intellij-community | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.