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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/awscdk/services/servicecatalog/CfnAcceptedPortfolioShare.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 149148378} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.awscdk.services.servicecatalog
import io.cloudshiftdev.awscdk.CfnResource
import io.cloudshiftdev.awscdk.IInspectable... | 4 | Kotlin | 0 | 4 | ddf2bfd2275b50bb86a667c4298dd92f59d7e342 | 6,108 | kotlin-cdk-wrapper | Apache License 2.0 |
src/main/kotlin/no/nav/pensjon/selvbetjening/fssgw/common/BasicProtectedControllerBase.kt | navikt | 348,062,453 | false | null | package no.nav.pensjon.selvbetjening.fssgw.common
import no.nav.pensjon.selvbetjening.fssgw.tech.basicauth.BasicAuthValidator
import org.springframework.http.HttpHeaders
import java.util.*
import javax.security.auth.message.AuthException
import javax.servlet.http.HttpServletRequest
abstract class BasicProtectedContro... | 0 | Kotlin | 0 | 0 | 3751924a3f9a3c3f2156fb955a3e4f22d267bba1 | 1,075 | pensjon-selvbetjening-fss-gateway | MIT License |
uxmobile/src/main/java/sk/uxtweak/uxmobile/persister/database/RecordingDao.kt | macro39 | 389,744,953 | false | null | package sk.uxtweak.uxmobile.persister.database
import androidx.room.*
@Dao
interface RecordingDao {
@Insert(onConflict = OnConflictStrategy.IGNORE)
suspend fun insert(recording: RecordingEntity): Long
@Delete
suspend fun delete(recording: RecordingEntity)
@Update
suspend fun update(recording... | 0 | Kotlin | 0 | 0 | 9dc1d26c95c42f739c7aa9610da815a01ea7f5d2 | 783 | UxMobile | Apache License 2.0 |
plugins/kotlin-serialization/kotlin-serialization-compiler/test/org/jetbrains/kotlinx/serialization/AbstractSerializationIrBytecodeListingTest.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2019 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.kotlinx.serialization
import org.jetbrains.kotlin.ObsoleteTestInfrastructure
import org... | 157 | null | 5209 | 42,102 | 65f712ab2d54e34c5b02ffa3ca8c659740277133 | 1,462 | kotlin | Apache License 2.0 |
clients/src/main/kotlin/io/streamthoughts/kafka/clients/consumer/Types.kt | gAmUssA | 284,071,623 | true | {"Kotlin": 84771} | /*
* Copyright 2020 StreamThoughts.
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Vers... | 0 | null | 0 | 1 | 7432bc646e52044fbbeb690dcad118aaf583a063 | 1,529 | kafka-clients-kotlin | Apache License 2.0 |
app/src/main/java/com/sefford/artdrian/datasources/WallpaperDataSource.kt | Sefford | 562,415,198 | false | null | package com.sefford.artdrian.datasources
import arrow.core.Either
import com.sefford.artdrian.datasources.WallpaperRepository.RepositoryError
import com.sefford.artdrian.model.Metadata
interface WallpaperDataSource {
suspend fun getAllMetadata(): Either<RepositoryError, List<Metadata>>
suspend fun saveMetad... | 1 | Kotlin | 0 | 2 | 67405ff0a722d2299a7700b2eace8a1395b1a09b | 442 | Artdrian | Apache License 2.0 |
features/example/impl/src/main/kotlin/org/example/example/impl/screens/screen2/ExampleScreen2.kt | aagrishankov | 806,183,599 | false | {"Kotlin": 58381} | package org.example.example.impl.screens.screen2
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.ui.Alignment
impo... | 0 | Kotlin | 0 | 1 | 0ae8db8af2db5c55031e98062d3902f7f2344124 | 927 | Android-Template | MIT License |
core/interactor-kmp/src/androidMain/kotlin/org/michaelbel/movies/interactor/AccountInteractor.kt | michaelbel | 115,437,864 | false | {"Kotlin": 680733, "Java": 10013, "Swift": 342, "Shell": 235} | @file:Suppress(
"ACTUAL_CLASSIFIER_MUST_HAVE_THE_SAME_MEMBERS_AS_NON_FINAL_EXPECT_CLASSIFIER_WARNING",
"EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING",
"NON_ACTUAL_MEMBER_DECLARED_IN_EXPECT_NON_FINAL_CLASSIFIER_ACTUALIZATION_WARNING"
)
package org.michaelbel.movies.interactor
import kotlinx.coroutines.flo... | 5 | Kotlin | 31 | 186 | e7b74544e4951a2fd49cc02d7858fb8df89c0eae | 581 | movies | Apache License 2.0 |
src/main/kotlin/insyncwithfoo/ryecharm/ruff/lsp4ij/FormattingFeature.kt | InSyncWithFoo | 849,672,176 | false | {"Kotlin": 328384, "Python": 7749, "HTML": 1337} | package insyncwithfoo.ryecharm.ruff.lsp4ij
import com.intellij.psi.PsiFile
import com.redhat.devtools.lsp4ij.client.features.LSPFormattingFeature
import insyncwithfoo.ryecharm.configurations.ruff.ruffConfigurations
import insyncwithfoo.ryecharm.isSupportedByRuff
/**
* @see insyncwithfoo.ryecharm.ruff.lsp.Formatting... | 2 | Kotlin | 1 | 51 | b857626181d4ca5aaab0f3fd7417be782d1ee7d0 | 694 | ryecharm | MIT License |
viewer/src/main/kotlin/com/alfresco/content/viewer/ViewerActivity.kt | Alfresco | 201,430,708 | false | null | package com.alfresco.content.viewer
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import androidx.lifecycle.lifecycleScope
import com.alfresco.content.actions.Action
import com.alfresco.content.viewer.databinding.ActivityViewerBi... | 3 | Kotlin | 6 | 5 | 6ff04ab84cf7cfe1a482c0700fd2bc622d7afa28 | 1,500 | alfresco-mobile-workspace-android | Apache License 2.0 |
app/src/main/java/com/wavesplatform/wallet/v2/ui/home/profile/addresses/alias/create/CreateAliasPresenter.kt | wavesplatform | 98,419,999 | false | null | /*
* Created by <NAME> on 1/4/2019
* Copyright © 2019 Waves Platform. All rights reserved.
*/
package com.wavesplatform.wallet.v2.ui.home.profile.addresses.alias.create
import com.arellomobile.mvp.InjectViewState
import com.wavesplatform.sdk.model.request.node.AliasTransaction
import com.wavesplatform.sdk.model.re... | 2 | null | 52 | 55 | 5f4106576dc4fe377a355d045f638e7469cd6abe | 2,376 | WavesWallet-android | MIT License |
app/src/main/java/education/mahmoud/quranyapp/feature/show_sura_list/SuraListFragment.kt | MahmoudMabrok | 177,177,812 | false | null | package education.mahmoud.quranyapp.feature.show_sura_list
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.view.View
import androidx.fragment.app.Fragment
import com.ethanhua.skeleton.RecyclerViewSkeletonScreen
import com.ethanhua.skeleton.Skeleton
import education.mahmoud... | 34 | null | 50 | 197 | 301cfdcb2cd13f7679bb89d04e835f986cef1136 | 2,696 | QuranyApp | Apache License 2.0 |
buildSrc/src/main/kotlin/Versions.kt | MrBergin | 393,993,116 | false | null | object Versions {
val java = "11"
val kotlin = "1.5.21"
val aws = "2.17.14"
val fabric8 = "5.6.0"
} | 1 | null | 1 | 1 | d3576b6189bd2c941fde7f4b06b4f2aa4282e55a | 115 | eksx | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/probation/courtcaseservice/service/subjectaccessrequest/DefendantCaseCommentsServiceTest.kt | ministryofjustice | 215,829,678 | false | {"Gradle": 2, "YAML": 32, "JSON": 162, "Dockerfile": 4, "Shell": 14, "Java Properties": 1, "Text": 5, "Ignore List": 1, "Batchfile": 1, "Markdown": 19, "SVG": 1, "Nginx": 2, "INI": 1, "Java": 409, "Kotlin": 100, "XML": 3, "SQL": 48, "reStructuredText": 6, "HTTP": 1, "PLpgSQL": 84, "Mustache": 2} | package uk.gov.justice.probation.courtcaseservice.service.subjectaccessrequest
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.mockito.BDDMockito.given
import org.mockito.Mock
import... | 18 | Java | 0 | 0 | 0efe7628b07f60119b93658b15b07f797b55f078 | 8,143 | court-case-service | MIT License |
tmp/arrays/kotlinAndJava/343.kt | mandelshtamd | 346,008,310 | true | {"Kotlin": 7965847} | //File B.java
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
public interface B {
public static final class Z {
public final void ztest(@NotNull B b) {
B.DefaultImpls.test(b);
}
}
public static final class DefaultImpls {
pri... | 1 | Kotlin | 1 | 1 | e772ef1f8f951873ebe7d8f6d73cf19aead480fa | 610 | kotlinWithFuzzer | Apache License 2.0 |
core/settings/src/main/java/cn/jailedbird/core/settings/Settings.kt | JailedBird | 576,180,318 | false | null | @file:Suppress("unused")
package cn.jailedbird.core.settings
import android.content.Context
import android.content.SharedPreferences
import android.content.SharedPreferences.OnSharedPreferenceChangeListener
import androidx.appcompat.app.AppCompatDelegate
import cn.jailedbird.core.resource.R
import kotlinx.coroutines.... | 0 | null | 0 | 8 | e9b06706eec0cd8cf9a2674381a04f38428e877b | 10,969 | ModuleExpose | Apache License 2.0 |
compiler/util/src/org/jetbrains/kotlin/utils/platformUtils.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.utils
import com.intellij.util.containers.Interner
import com.intellij.util.cont... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 515 | kotlin | Apache License 2.0 |
plugins/space/src/main/kotlin/com/intellij/space/plugins/pipelines/services/SpaceKtsCompilationConfiguration.kt | caofanCPU | 321,209,485 | true | 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.space.plugins.pipelines.services
import circlet.pipelines.config.dsl.scriptdefinition.ProjectScriptCompilationConfiguration
import circlet.pipelines.config.d... | 1 | null | 1 | 1 | 5ad3e2bdf3c83d86e7c4396f5671929768d76999 | 2,017 | intellij-community | Apache License 2.0 |
151004/Afanasenko/appLab3/common/src/main/kotlin/com/github/kornet_by/dc/lab3/dto/response/IssueResponseTo.kt | KotVMeshke | 769,347,126 | true | {"Markdown": 21, "Text": 15, "YAML": 310, "Ignore List": 232, "HTTP": 103, "Dockerfile": 105, "JSON": 715, "C#": 6865, "XML": 736, "Maven POM": 308, "Shell": 86, "Batchfile": 82, "Java": 9397, "INI": 275, "JSON with Comments": 5, "SQL": 32, "Microsoft Visual Studio Solution": 138, "Java Server Pages": 45, "Java Propert... | package com.github.kornet_by.dc.lab3.dto.response
import com.github.kornet_by.dc.lab3.util.TimeStampSerializer
import kotlinx.serialization.Serializable
import java.sql.Timestamp
@Serializable
data class IssueResponseTo(
private val id: Long?,
private val authorId: Long,
private val title: String,
private val con... | 0 | Java | 0 | 0 | 1fde4a007dfb31d0a9feeebcd3fb34d5e930e252 | 485 | DC2024-01-27 | MIT License |
library/src/main/java/no/wtw/android/architectureutils/activityarguments/ActivityArguments.kt | wtw-software | 145,682,249 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "XML": 17, "Kotlin": 21, "Java": 6} | package no.wtw.android.architectureutils.activityarguments
import android.app.Activity
import java.io.Serializable
import kotlin.properties.ReadOnlyProperty
import kotlin.reflect.KClass
import kotlin.reflect.KProperty
inline fun <reified T : BundleData> activityArguments() = ActivityArgumentsDelegate(T::class)
class... | 1 | null | 1 | 1 | 1dd1274bf1f9a2a597102888614dfd4f0057fa80 | 697 | AndroidArchitectureUtils | Apache License 2.0 |
Android/dokit-test/src/main/java/com/didichuxing/doraemonkit/kit/test/DoKitTestManager.kt | augustinopt | 481,974,300 | true | null | package com.didichuxing.doraemonkit.kit.test
import com.didichuxing.doraemonkit.kit.test.util.XposedHookUtils
/**
* didi Create on 2022/4/14 .
*
* Copyright (c) 2022/4/14 by didiglobal.com.
*
* @author <a href="<EMAIL>">zhangjun</a>
* @version 1.0
* @Date 2022/4/14 10:52 上午
* @Description 测试功能管理类,管理测试相关功能
*... | 0 | null | 1 | 0 | 8308a80fc2a481775de508c451c45d55567ae0d3 | 2,382 | DoraemonKit | Apache License 2.0 |
plugin/src/org/jetbrains/cabal/psi/Url.kt | riazanovskiy | 54,122,929 | false | null | package org.jetbrains.cabal.psi
import com.intellij.lang.ASTNode
import org.jetbrains.cabal.highlight.ErrorMessage
class Url(node: ASTNode) : PropertyValue(node), Checkable {
override fun check(): List<ErrorMessage> {
return listOf()
}
} | 1 | null | 1 | 1 | 51de5fa74691f12e25dde7b51047b9210013aec5 | 257 | haskell-idea-plugin | Apache License 2.0 |
idea/tests/testData/inspectionsLocal/coroutines/directUseOfResultType/lambdaWithReturn.kt | JetBrains | 278,369,660 | false | null | package kotlin
fun test() {
val x = foo@<caret>{ return@foo Result(true) }
}
| 0 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 82 | intellij-kotlin | Apache License 2.0 |
app/src/main/java/com/linxiao/quickdevframework/sample/frameworkapi/ApplicationApiFragment.kt | LiXiaoGuo | 104,321,642 | true | {"Gradle": 4, "Markdown": 2, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "Java": 99, "XML": 55, "Kotlin": 15} | package com.linxiao.quickdevframework.sample.frameworkapi
import android.annotation.SuppressLint
import android.arch.lifecycle.AndroidViewModel
import android.arch.lifecycle.LiveData
import android.arch.lifecycle.ViewModel
import android.arch.lifecycle.ViewModelProviders
import android.os.Bundle
import android.view.La... | 0 | Java | 0 | 0 | 9b58d92866db984ddddeadcde45cad518b9b7abf | 1,900 | QuickDevFramework | Apache License 2.0 |
src/main/kotlin/jason/chen/mini_springboot/restful/langbasic/classes/extensions/ExtendingProperties.kt | EasyKotlin | 92,763,000 | true | {"Kotlin": 82587, "Java": 4346, "Shell": 4234, "HTML": 4029, "Batchfile": 3742, "JavaScript": 1347, "CSS": 146} | package jason.chen.mini_springboot.restful.langbasic.classes.extensions
/**
* Created by milosvasic on 6/9/16.
*/
class ToBeExtended {
val a = 15
}
class ExtendsProperty {
val ToBeExtended.b: Int
get() = 25
fun tryPropertyExtension(e: ToBeExtended) {
println("A: ${e.a}")
println... | 0 | Kotlin | 0 | 1 | 1235c07bf32e1c026982755c53121eac480cf091 | 342 | mini_springboot | Apache License 2.0 |
core-api/src/main/java/pl/netigen/extensions/DistinctObservableProperty.kt | netigenkluzowicz | 165,630,654 | false | null | package pl.netigen.extensions
import kotlin.properties.ReadWriteProperty
import kotlin.reflect.KProperty
abstract class DistinctObservableProperty<T>(initialValue: T) : ReadWriteProperty<Any?, T> {
private var value = initialValue
protected open fun onDistinctNewValue(newValue: T) = Unit
override fun ge... | 8 | Kotlin | 1 | 1 | d103d9d5e283bf5497e8251abc34a132683c223e | 577 | api_android | Apache License 2.0 |
vouchsdk/src/main/java/sg/vouch/vouchsdk/data/model/message/response/location/TimeoutModel.kt | alfonsAzhari | 220,177,198 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Proguard": 2, "Java": 3, "XML": 52, "Kotlin": 57, "JSON": 1} | package sg.vouch.vouchsdk.data.model.message.response.location
import com.google.gson.annotations.SerializedName
data class TimeoutModel(
@SerializedName("payload")
val payload: String? = null
) | 1 | null | 1 | 1 | db010361f4818d1fd58078901e323c4b7dfb1129 | 205 | VouchSDK-Android | MIT License |
websocketservice/src/main/java/studio/attect/websocketservice/StringDataObserver.kt | Attect | 185,355,296 | false | null | package studio.attect.websocketservice
import androidx.lifecycle.Observer
/**
* 字符串数据接收观察器
* 会自动触发WebSocketServer让其提交下一个数据
*
* @author attect
* @date 2019-05-08
*/
abstract class StringDataObserver(private val webSocketServiceViewModel: WebSocketServiceViewModel) :
Observer<String?> {
final override fu... | 1 | null | 4 | 42 | 4344e1034e2a46c620432fcdc52c43a8a1323e7f | 504 | WebSocketService | MIT License |
native/src/org/jetbrains/kotlin/ide/konan/NativeLibraryType.kt | JetBrains | 278,369,660 | false | null | /*
* Copyright 2010-2018 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.ide.konan
import com.intellij.openapi.project.Project
import com.intellij.openap... | 0 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 1,853 | intellij-kotlin | Apache License 2.0 |
src/main/kotlin/com/kiptechie/routes/RabbitRoute.kt | kiptechie | 419,120,019 | false | {"Shell": 14860, "Kotlin": 9185, "Batchfile": 8820, "HTML": 7659, "JavaScript": 5252, "CSS": 3780, "Procfile": 78} | package com.kiptechie.routes
import com.kiptechie.data.models.Rabbit
import com.kiptechie.data.models.StandardResponse
import io.ktor.application.*
import io.ktor.http.*
import io.ktor.response.*
import io.ktor.routing.*
private const val BASE_URL = "https://ktor-rabbits.herokuapp.com"
private val rabbits = getRabbi... | 0 | Shell | 0 | 1 | 390c709f0b9a955e448962cd847d612c3827fef4 | 2,224 | ktor-rabbits | MIT License |
src/main/kotlin/com/hrv/mart/authlibrary/model/AppWriteAuth.kt | HRV-Mart | 655,137,615 | false | {"Kotlin": 5039} | package com.hrv.mart.authlibrary.model
import com.hrv.mart.userlibrary.model.User
data class AppWriteAuth (
val userId: String,
val createdAt: String,
val updatedAt: String,
val name: String,
val email: String,
val emailVerification: Boolean
) {
fun toUser() =
User(
ema... | 5 | Kotlin | 0 | 1 | 8e58b3181d7584a11ae3e3791e19c012eddc468c | 370 | auth-library | Apache License 2.0 |
feature/profile/src/main/java/com/githukudenis/comlib/feature/edit/EditProfileScreen.kt | DenisGithuku | 707,847,935 | false | {"Kotlin": 597578, "Java": 95753, "Roff": 12367} |
/*
* Copyright 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... | 6 | Kotlin | 1 | 0 | 549ac93da0cb62c82fe0ce703707e0193456d96d | 14,309 | comlib-android-client | Apache License 2.0 |
app/src/main/java/cn/hzw/doodledemo/SelectPolygonDialogFragment.kt | EiChinn | 295,280,689 | false | {"Gradle": 4, "INI": 1, "Markdown": 3, "Shell": 1, "Ignore List": 3, "Batchfile": 1, "Java Properties": 1, "Proguard": 2, "XML": 44, "Kotlin": 10, "Java": 43} | package cn.hzw.doodledemo
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.DialogFragment
import androidx.fragment.app.Fragment
import cn.hzw.doodle.DoodleShape
import cn.hzw.doodledemo.databinding.PopupSelectPolygonBinding
... | 1 | null | 1 | 1 | 24a15ea1d1ecc36dd3ccc4551d48be0b5200f00a | 2,208 | Doodle | The Unlicense |
app/src/main/java/stan/androiddemo/project/FiveStroke/Model/FiveStrokeInfo.kt | DuckDeck | 97,593,471 | false | null | package stan.androiddemo.project.FiveStroke.Model
import okhttp3.Call
import okhttp3.Response
import org.jsoup.Jsoup
import org.litepal.crud.DataSupport
import stan.androiddemo.Model.ResultInfo
import stan.androiddemo.errcode_html_resolve_error
import stan.androiddemo.errcode_netword_error
import stan.androiddemo.tool... | 1 | null | 40 | 120 | 4d8d12c1f0ef821a252a2265ae46d7b8ff61729a | 3,067 | AndroidDemo | MIT License |
app/src/main/java/br/com/nerdrapido/mvvmmockapiapp/ui/view/event/fragment/EventListAdapter.kt | fwgusberti | 286,054,203 | true | {"Kotlin": 131453} | package br.com.nerdrapido.mvvmmockapiapp.ui.view.event.fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import br.com.nerdrapido.mvvmmockapiapp.R
import br.com.nerdrapido.mvvmmockapiapp.presentation.model.Event
import br... | 0 | Kotlin | 0 | 1 | 099084f455fe552c99cfed584b27dae385e58dc9 | 2,399 | mvvp-mock-api-app | MIT License |
solar/src/main/java/com/chiksmedina/solar/outline/arrowsaction/Scale.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.outline.arrowsaction
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.Comp... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 5,117 | SolarIconSetAndroid | MIT License |
domain/usecase/src/main/java/com/cupcake/usecase/GetPostsUseCase.kt | The-Cupcake-team | 646,926,125 | false | null | package com.cupcake.usecase
import com.cupcake.models.Post
import repo.JobFinderRepository
import javax.inject.Inject
class GetPostsUseCase @Inject constructor(
private val repository: JobFinderRepository
) {
suspend operator fun invoke(): List<Post> {
return repository.getAllPosts()
}
} | 2 | Kotlin | 1 | 2 | 342b634756ae6a12c7113a5854f66147cae8710d | 311 | Jobs-finder | MIT License |
app/src/main/java/com/gauvain/seigneur/covidupdate/widget/InitialLoadingView.kt | GauvainSeigneur | 252,719,373 | false | null | package com.gauvain.seigneur.covidupdate.widget
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.View
import android.widget.FrameLayout
import com.gauvain.seigneur.covidupdate.R
import com.gauvain.seigneur.covidupdate.utils.AVDUtils
import com.gauva... | 3 | Kotlin | 0 | 0 | e983a2674d1729d2d6f8d7e0a34cee5a7354f27a | 2,292 | CovidUpdate | Apache License 2.0 |
app/src/main/kotlin/com/delicious/mvvm/di/module/AppModule.kt | pzverkov | 181,941,661 | false | null | package com.delicious.mvvm.di.module
import android.app.Application
import android.arch.lifecycle.ViewModelProvider
import android.arch.persistence.db.SupportSQLiteDatabase
import android.arch.persistence.room.Room
import android.arch.persistence.room.migration.Migration
import dagger.Module
import dagger.Provides
imp... | 0 | Kotlin | 0 | 0 | 57191562cb2c940aa11e62d74d434f85359377f5 | 1,623 | FoodApp-Kotlin | MIT License |
library/compose-utils/src/main/kotlin/ru/pixnews/library/compose/utils/LocaleUtils.kt | illarionov | 305,333,284 | false | null | /*
* Copyright (c) 2023, the Pixnews project authors and contributors. Please see the AUTHORS file for details.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package ru.pixnews.library.compose.utils
import androidx.compose.runtime.Composable
import android... | 0 | Kotlin | 0 | 2 | 8312cad7cb1f6645df8e6efad30a7cc41e99971a | 784 | Pixnews | Apache License 2.0 |
link/src/main/java/com/stripe/android/link/ui/paymentmethod/SupportedPaymentMethod.kt | stripe | 6,926,049 | false | null | package com.stripe.android.link.ui.paymentmethod
import android.content.res.Resources
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import com.stripe.android.link.R
import com.stripe.android.link.ui.completePaymentButtonLabel
import com.stripe.android.model.ConsumerPaymentDetails
import c... | 86 | Kotlin | 584 | 1,078 | 74bf7263f56d53aff2d0035127d84dd40609403d | 2,772 | stripe-android | MIT License |
src/main/kotlin/no/skatteetaten/aurora/boober/controller/internal/ErrorHandler.kt | bj0rn | 102,109,163 | true | {"Kotlin": 149811, "Groovy": 73346, "Shell": 2246} | package no.skatteetaten.aurora.boober.controller.internal
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import no.skatteetaten.aurora.boober.service.internal.ApplicationConfigException
import no.skatteetaten.aurora.boober.service.internal.AuroraConfigException
import no.skatteetaten.aurora.boober.serv... | 0 | Kotlin | 0 | 0 | ec3649918ba28753bd6a207ef81b9ffe8603904a | 3,245 | boober | Apache License 2.0 |
analysis/analysis-api/testData/components/substitutorProvider/createInheritanceTypeSubstitutor/errorInUpperBound.kt | JetBrains | 3,432,266 | false | null | class A<caret_base>A : BB<Int>()
open class B<caret_super>B<S : String> {
fun foo(): S = TODO()
}
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 104 | kotlin | Apache License 2.0 |
common-app-covpass/src/main/java/de/rki/covpass/app/main/MainFragment.kt | ljxx | 388,073,819 | false | null | /*
* (C) Copyright IBM Deutschland GmbH 2021
* (C) Copyright IBM Corp. 2021
*/
package de.rki.covpass.app.main
import android.os.Bundle
import android.view.View
import androidx.core.view.isVisible
import androidx.viewpager2.widget.ViewPager2
import com.ensody.reactivestate.android.autoRun
import com.ensody.reactiv... | 49 | null | 67 | 2 | 390a45d0c8231e8203439018d0e6702ecb0f0d05 | 5,608 | android-covpass-app | Apache License 2.0 |
plugin-azure-server/src/main/kotlin/jetbrains/buildServer/clouds/azure/arm/throttler/AzureThrottlerAdapterImpl.kt | JetBrains | 22,468,117 | false | {"Gradle": 6, "INI": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "EditorConfig": 1, "Text": 1, "Markdown": 2, "XML": 11, "JSON": 4, "Kotlin": 140, "Java": 37, "JavaScript": 4, "Java Server Pages": 2, "CSS": 1} |
package jetbrains.buildServer.clouds.azure.arm.throttler
import com.intellij.openapi.diagnostic.Logger
import com.microsoft.azure.credentials.AzureTokenCredentials
import jetbrains.buildServer.clouds.azure.arm.connector.tasks.AzureApi
import jetbrains.buildServer.clouds.azure.arm.connector.tasks.AzureApiImpl
import ... | 19 | Kotlin | 22 | 47 | dbb8991de3ff9cfd685122fc236415f386ec551f | 7,084 | teamcity-azure-plugin | Apache License 2.0 |
sketch/src/main/java/com/github/panpf/sketch/resize/FixedPrecisionDecider.kt | jawalkwan | 97,818,573 | true | {"Gradle Kotlin DSL": 14, "Markdown": 35, "Java Properties": 2, "Shell": 1, "TOML": 1, "Ignore List": 1, "Batchfile": 1, "Text": 1, "Proguard": 12, "XML": 105, "Kotlin": 514, "Java": 12, "SVG": 2, "INI": 11} | package com.github.panpf.sketch.resize
import androidx.annotation.Keep
import com.github.panpf.sketch.Sketch
import com.github.panpf.sketch.util.JsonSerializable
import com.github.panpf.sketch.util.JsonSerializer
import org.json.JSONObject
fun fixedPrecision(precision: Precision): FixedPrecisionDecider = FixedPrecisi... | 0 | Kotlin | 0 | 0 | 625ad5114fe13ae649a4fa9377001a5747f8e3fe | 1,448 | sketch | MIT License |
ktx/src/main/kotlin/flight95/cached/preferences/ktx/view/PersistType.kt | flight95 | 143,269,745 | false | null | package flight95.cached.preferences.ktx.view
enum class PersistType(val value: kotlin.Int) {
Boolean(0),
Int(1),
Long(2),
Float(3),
String(4),
Set(5)
}
fun kotlin.Int.getPersistType(): PersistType =
PersistType.values().firstOrNull { it.value == this } ?: PersistType.String | 0 | Kotlin | 0 | 1 | 34e1597749f91c211a68a816abf8312f4ccd7b83 | 304 | cached-preferences-ktx | MIT License |
mobile/feature/main/src/main/java/co/kr/parkjonghun/whatishedoingwithandroid/main/ui/WhidNavigationRail.kt | ParkJong-Hun | 695,838,859 | false | {"Kotlin": 41312} | package co.kr.parkjonghun.whatishedoingwithandroid.mobile.main.navigation
import androidx.compose.material3.Icon
import androidx.compose.material3.NavigationRail
import androidx.compose.material3.NavigationRailItem
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compos... | 18 | Kotlin | 1 | 1 | d066db0d6d3f2b5b9ec0e232d4f0e24113cab897 | 2,132 | whatIsHeDoingWithAndroid | Apache License 2.0 |
bgw-examples/bgw-tetris-example/src/main/kotlin/tools/aqua/bgw/examples/tetris/view/TetrisGameScene.kt | marvingrewe | 392,336,143 | true | {"Kotlin": 673382} | package tools.aqua.bgw.examples.tetris.view
import tools.aqua.bgw.components.layoutviews.GridPane
import tools.aqua.bgw.components.uicomponents.Button
import tools.aqua.bgw.components.uicomponents.Label
import tools.aqua.bgw.core.Alignment
import tools.aqua.bgw.core.BoardGameScene
import tools.aqua.bgw.examples.tetris... | 0 | Kotlin | 0 | 0 | aefa79346a6cc9224e6fb64b8c78cd3fb158b372 | 2,867 | bgw | Apache License 2.0 |
src/main/kotlin/app/telegram/bot/data/api/habr/PostApi.kt | rostIvan | 137,785,976 | false | {"Kotlin": 84567} | package app.telegram.bot.data.api.habr
import app.telegram.bot.data.model.PostDTO
import io.reactivex.Single
interface PostApi {
fun getRandomPost(exclude: List<PostDTO> = emptyList()): Single<PostDTO>
fun getPostByQuery(query: String,
exclude: List<PostDTO> = emptyList()) : Single<Pos... | 0 | Kotlin | 0 | 4 | e1f9e0ba9ceec36a16fd067711b22bdc6a7cd335 | 616 | HabrTelegramBot | MIT License |
datetime/src/main/java/com/nikitamaslov/datetime/parser/ParseTemplate.kt | nikitamasloff | 173,980,211 | false | null | package com.nikitamaslov.datetime.parser
abstract class Template internal constructor(internal var value: String)
class DateTimeTemplate private constructor(value: String) : Template(value) {
companion object Factory {
val yearLast2 = DateTimeTemplate("yy")
val yearFull = DateTimeTemplate("yyyy"... | 0 | null | 0 | 0 | 110fb59984f7f376c982b68056efed91b6247b4b | 958 | weatherr | Apache License 2.0 |
src/main/kotlin/dev/agnor/codecbuilder/CodecKonstants.kt | agnor99 | 730,855,809 | false | {"Kotlin": 38138, "HTML": 378} | package dev.agnor.codecbuilder
const val CODEC_FQN = "com.mojang.serialization.Codec"
const val RCBUILDER_FQN = "com.mojang.serialization.codecs.RecordCodecBuilder"
| 1 | Kotlin | 2 | 3 | 336665715d75e90190ed1ee9289f19c7bcb01e21 | 166 | codecbuilder | MIT License |
plugins/github/src/org/jetbrains/plugins/github/pullrequest/data/provider/GHPRDataProvider.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.plugins.github.pullrequest.data.provider
import com.intellij.openapi.Disposable
import org.jetbrains.plugins.github.api.data.pullrequest.t... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 897 | intellij-community | Apache License 2.0 |
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/resolve/references/GrSafeCastReference.kt | hieuprogrammer | 284,920,751 | false | null | // Copyright 2000-2019 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 org.jetbrains.plugins.groovy.lang.resolve.references
import com.intellij.openapi.util.TextRange
import org.jetbrains.plugins.groovy.lang.psi.api.statements.expressions.Gr... | 1 | null | 1 | 2 | dc846ecb926c9d9589c1ed8a40fdb20e47874db9 | 1,105 | intellij-community | Apache License 2.0 |
app/src/main/java/kr/sjh/clean_architecture_mvvm/module/LocalDataModule.kt | junghoonshin3 | 608,507,852 | false | null | package kr.sjh.clean_architecture_mvvm.module
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import kr.sjh.data.db.NaverMovieDao
import kr.sjh.data.repository.source.local.MovieLocalDataSource
import kr.sjh.data.repository.source.local.MovieLoc... | 0 | Kotlin | 0 | 0 | 73550d18924c65ae60e0fa83f9c00432cb0b3456 | 559 | Clean_Architecture_MVVM | MIT License |
src/main/kotlin/de/plapadoo/bote/util/MailUtil.kt | plapadoo | 132,043,530 | false | null | /*
* Copyright 2018 plapadoo UG (haftungsbeschränkt)
*
* 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 ... | 0 | Kotlin | 0 | 0 | 09a7a05321a241e00a1f8f4f8605fd13d07e51d4 | 2,444 | bote | Apache License 2.0 |
src/main/kotlin/com/scaledifferent/kdock/request/v124/DockerImageApiRequest.kt | ScaleDifferentWithKotlin | 229,769,104 | false | null | /*
* Copyright (c) 2019 Scale different UG (Haftungsbeschränkt) and contributors. Use of this
* source code is governed by the Apache 2.0 license.
*
*/
package com.scaledifferent.kdock.request.v124
interface DockerImageApiRequest {
fun listImages()
fun buildImageFromDockerfile()
fun createImage()
... | 0 | Kotlin | 1 | 0 | d9ae5696c20a9cf77d7f5fe1a879c6848df0aba5 | 451 | kdocker-api | Apache License 2.0 |
idea/testData/multiModuleLineMarker/transitiveCommon/user_common_dep(base-common)/user.kt | JakeWharton | 99,388,807 | false | null | // !CHECK_HIGHLIGHTING
expect class Expected {
val some: Some
} | 0 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 68 | kotlin | Apache License 2.0 |
compiler/testData/diagnostics/tests/cast/nonUselessCastInLambda.fir.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | // ISSUE: KT-33108
// FULL_JDK
import java.util.Optional
open class A
class B : A()
fun useOptional(): A {
return Optional.of(0).map { B() as A }.orElse(A())
}
| 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 166 | kotlin | Apache License 2.0 |
src/test/kotlin/com/github/suhininalex/codefinder/leveldb/KeyValuesIndexTest.kt | suhininalex | 130,993,598 | false | null | package com.github.suhininalex.codefinder.leveldb
import org.assertj.core.api.Assertions.assertThat
import org.fusesource.leveldbjni.JniDBFactory
import org.iq80.leveldb.Options
import org.junit.After
import org.junit.Before
import org.junit.Test
import java.io.File
class KeyValuesIndexTest {
private val pathToD... | 0 | Kotlin | 0 | 0 | 3db164d2145817c7ef8106b65a8d437ba0aa1b69 | 2,031 | CodeFinder | MIT License |
union-app/src/main/java/edu/admafk/union/union_app/service/ComparisonCampanhaService.kt | jhonnylucius | 843,583,504 | false | {"Kotlin": 108641, "Java": 534} | package edu.admafk.union.union_app.service
import edu.admafk.union.union_app.entity.ComparisonCampanha
import edu.admafk.union.union_app.repository.ComparisonCampanhaRepository
import org.springframework.stereotype.Service
@Service
class ComparisonCampanhaService(private val comparisonCampanhaRepository: edu.admafk.u... | 0 | Kotlin | 0 | 0 | 60ffa21303fb07d31f33d081d45f9239175dc84b | 2,083 | union-app | MIT License |
library/src/main/kotlin/com/twitter/meil_mitu/twitter4hk/data/Trend.kt | MeilCli | 51,423,644 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Java": 3, "XML": 22, "Kotlin": 303, "Checksums": 6} | package com.twitter.meil_mitu.twitter4hk.data
import com.twitter.meil_mitu.twitter4hk.exception.Twitter4HKException
import com.twitter.meil_mitu.twitter4hk.util.JsonUtils.getString
import org.json.JSONObject
class Trend {
val name: String
val query: String
@Throws(Twitter4HKException::class)
constr... | 0 | Kotlin | 0 | 0 | 818e42ea417c326e3d50024decce4c7e70641a73 | 934 | Twitter4HK | MIT License |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/stepfunctions/S3CsvItemReaderDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.stepfunctions
import io.cloudshiftdev.awscdkdsl.common.Cd... | 0 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 2,577 | awscdk-dsl-kotlin | Apache License 2.0 |
payments-core/src/main/java/com/stripe/android/model/ConsumerPaymentDetails.kt | stripe | 6,926,049 | false | null | package com.stripe.android.model
import android.os.Parcelable
import androidx.annotation.RestrictTo
import com.stripe.android.core.model.CountryCode
import com.stripe.android.core.model.StripeModel
import com.stripe.android.view.DateUtils
import kotlinx.parcelize.Parcelize
@Parcelize
@RestrictTo(RestrictTo.Scope.LIBR... | 87 | null | 638 | 1,193 | 7f02f83befab772f502438b450c0bd751ea86789 | 3,081 | stripe-android | MIT License |
payments-core/src/main/java/com/stripe/android/model/ConsumerPaymentDetails.kt | stripe | 6,926,049 | false | null | package com.stripe.android.model
import android.os.Parcelable
import androidx.annotation.RestrictTo
import com.stripe.android.core.model.CountryCode
import com.stripe.android.core.model.StripeModel
import com.stripe.android.view.DateUtils
import kotlinx.parcelize.Parcelize
@Parcelize
@RestrictTo(RestrictTo.Scope.LIBR... | 87 | null | 638 | 1,193 | 7f02f83befab772f502438b450c0bd751ea86789 | 3,081 | stripe-android | MIT License |
app/src/main/java/com/struklearn/app/modules/heap/data/viewmodel/HeapVM.kt | nurkholiswakhid | 737,292,232 | false | {"Kotlin": 74607} | package com.struklearn.app.modules.heap.`data`.viewmodel
import android.os.Bundle
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.struklearn.app.modules.heap.`data`.model.HeapModel
import org.koin.core.KoinComponent
class HeapVM : ViewModel(), KoinComponent {
val heapModel: ... | 0 | Kotlin | 0 | 0 | 1ee73edb464af83e8c45e7eb41071090847dbf2c | 416 | StrukLearn | MIT License |
app/src/main/java/com/example/echofind/ui/screens/ChatbotScreen.kt | mutu8 | 854,980,460 | false | {"Kotlin": 99018} | package com.example.echofind.ui.screens
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.rememberLazyListState
import androidx.compose.material.icons.Icons
import androidx.compose.materia... | 0 | Kotlin | 0 | 0 | 3b10ad70f880525938af3ce26ba12434d4947b44 | 7,758 | EchoFind | MIT License |
utilcode/src/test/java/com/blankj/utilcode/util/CacheUtilsTest.kt | cat-x | 121,213,241 | true | {"Gradle": 7, "Markdown": 7, "Java Properties": 3, "Shell": 1, "Text": 9, "Ignore List": 4, "Batchfile": 1, "YAML": 1, "Proguard": 3, "XML": 88, "Kotlin": 139, "Java": 15, "INI": 1} | package com.blankj.utilcode.util
import android.graphics.Bitmap
import android.graphics.drawable.BitmapDrawable
import android.os.Parcel
import android.os.Parcelable
import com.blankj.utilcode.util.TestConfig.FILE_SEP
import com.blankj.utilcode.util.TestConfig.PATH_CACHE
import org.json.JSONArray
import org.json.JSONE... | 0 | Kotlin | 0 | 0 | ba2d70d56ae44180933524aa3e2cfe96909e4876 | 12,963 | AndroidUtilCode-Kotlin | Apache License 2.0 |
src/main/kotlin/box/util/egraph/EClassId.kt | mcenv | 558,700,207 | false | null | package box.util.egraph
@JvmInline
value class EClassId(val value: Int)
| 127 | Kotlin | 0 | 9 | 245724f56c4184a14dfbaeb159a1d35c180de7c5 | 73 | box | MIT License |
base/sdk-common/src/main/java/com/android/ide/common/workers/WorkerExecutorException.kt | qiangxu1996 | 255,410,085 | false | {"Java": 38854631, "Kotlin": 10438678, "C++": 1701601, "HTML": 795500, "FreeMarker": 695102, "Starlark": 542991, "C": 148853, "RenderScript": 58853, "Shell": 51803, "CSS": 36591, "Python": 32879, "XSLT": 23593, "Batchfile": 8747, "Dockerfile": 7341, "Emacs Lisp": 4737, "Makefile": 4067, "JavaScript": 3488, "CMake": 329... | /*
* Copyright (C) 2018 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... | 0 | Java | 1 | 1 | 3411c5436d0d34e6e2b84cbf0e9395ac8c55c9d4 | 1,733 | vmtrace | Apache License 2.0 |
src/commonMain/kotlin/app/thelema/g3d/terrain/Terrain.kt | zeganstyl | 275,550,896 | false | null | /*
* Copyright 2020-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 ... | 6 | null | 4 | 35 | 8ec20aea4b23775498fffe5ba542fb4232e69890 | 3,902 | thelema-engine | Apache License 2.0 |
kueski/domain/movie/src/commonMain/kotlin/co/nestor/movie/koin/KoinDeclarationsDomain.kt | kiquenet85 | 849,346,240 | false | {"Kotlin": 183158, "Swift": 621} | package co.nestor.movie.koin
import co.nestor.movie.MovieInteractor
import org.koin.core.module.dsl.singleOf
import org.koin.dsl.module
fun getDomainMovieModule() = module {
singleOf(::MovieInteractor)
}
| 0 | Kotlin | 0 | 0 | 2f000a653ddbb56f7439df4185e944fd76df6061 | 210 | kueski | Apache License 2.0 |
app/src/main/java/lol/calico/uctutors/ui/page/RegisterPage.kt | calico32 | 715,594,197 | false | {"Kotlin": 220437, "TypeScript": 138247, "Java": 52538} | package lol.calico.uctutors.ui.page
import androidx.compose.animation.AnimatedContent
import androidx.compose.animation.animateContentSize
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
import androidx.compose.animation.slideInHorizontall... | 0 | Kotlin | 0 | 0 | 461d051056cb420661d8d82d79b77febcf654681 | 4,539 | uctutors | MIT License |
devops-boot-project/devops-boot-core/devops-plugin/devops-plugin-api/src/main/kotlin/com/tencent/devops/plugin/api/PluginMetadata.kt | bkdevops-projects | 294,058,091 | false | null | package com.tencent.devops.plugin.api
/**
* 插件metadata信息
*/
data class PluginMetadata(
/**
* 插件id,要求唯一
*/
val id: String,
/**
* 插件名称,要求唯一,先保持和id一致
*/
val name: String,
/**
* 插件版本,语义化版本格式
*/
val version: String,
/**
* 插件生效范围
*/
val scope: List<St... | 7 | null | 22 | 27 | cbff03abe5d572b09cbd486830d87cddc91b938b | 453 | devops-framework | MIT License |
src/main/kotlin/kotlinmud/item/recipe/equipment/helmet/StoneHelmetRecipe.kt | danielmunro | 241,230,796 | false | null | package kotlinmud.item.recipe.equipment.helmet
import kotlinmud.attributes.type.Attribute
import kotlinmud.item.model.Item
import kotlinmud.item.service.ItemService
import kotlinmud.item.type.ItemType
import kotlinmud.item.type.Material
import kotlinmud.item.type.Position
import kotlinmud.item.type.Recipe
class Stone... | 0 | Kotlin | 1 | 9 | b7ee0d21ae813990896b1b8c6703da9bd1f1fc5b | 1,154 | kotlinmud | MIT License |
src/main/kotlin/ee/tenman/portfolio/repository/JobExecutionRepository.kt | ktenman | 823,358,247 | false | {"Kotlin": 136959, "Vue": 43557, "Python": 12702, "TypeScript": 11409, "Shell": 923, "Dockerfile": 876, "PLpgSQL": 644, "HTML": 642, "JavaScript": 576, "CSS": 177} | package ee.tenman.portfolio.repository
import ee.tenman.portfolio.domain.JobExecution
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
@Repository
interface JobExecutionRepository : JpaRepository<JobExecution, Long>
| 19 | Kotlin | 1 | 1 | dffd7339f08a4ad7ab09804d28d4232ab5c1421b | 279 | portfolio | Apache License 2.0 |
app/src/main/java/online/taxcore/pos/ui/catalog/CatalogDashFragment.kt | Data-Tech-International | 581,201,452 | false | {"Kotlin": 357648, "Java": 64900} | package online.taxcore.pos.ui.catalog
import android.Manifest
import android.annotation.SuppressLint
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.os.Build
import android.os.Bundle
imp... | 3 | Kotlin | 3 | 4 | 62ff854a1bd16bd85f755065760c9389460bda5e | 17,691 | Taxcore-MobilePOS-Android | MIT License |
app/src/main/java/com/bitwindow/aacpaginginfinitescrollingwithnetworksample/data/network/TmdbService.kt | asheshb | 150,709,173 | false | null | package com.bitwindow.aacpaginginfinitescrollingwithnetworksample.data.network
import com.bitwindow.aacpaginginfinitescrollingwithnetworksample.data.MovieData
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query
interface TmdbService {
@GET("discover/movie?certification_country=US&adult=fa... | 1 | Kotlin | 17 | 76 | e60bf8c84f5296bdfa93cf54d56324855d9b09a5 | 499 | AACPagingInfiniteScrollingWithNetworkSample | Apache License 2.0 |
src/main/kotlin/dev/mfazio/bgg/api/services/BGGThingPollVisitor.kt | MFazio23 | 464,269,888 | false | {"Kotlin": 29410} | package dev.mfazio.bgg.api.services
import dev.mfazio.bgg.api.model.remote.thing.poll.BGGThingPollResultsRemote
import org.simpleframework.xml.strategy.Type
import org.simpleframework.xml.strategy.Visitor
import org.simpleframework.xml.stream.InputNode
import org.simpleframework.xml.stream.NodeMap
import org.simplefra... | 0 | Kotlin | 0 | 0 | 36d60715f05626ddf960c3ee3c23be462601633f | 1,120 | bgg-jvm-api-client | MIT License |
src/main/kotlin/net/homeblocks/main.kt | jotak | 226,336,276 | false | {"JavaScript": 81666, "Kotlin": 28963, "HTML": 15777, "CSS": 6187, "Shell": 408} | package net.homeblocks
import io.vertx.core.Vertx
import net.homeblocks.server.Server
/**
* @author <NAME>
*/
fun main() {
Vertx.vertx().deployVerticle(Server())
}
| 0 | JavaScript | 0 | 0 | ed0756dc8c1b4737eea0a354016a73fefe161f56 | 172 | homeblocks.kt | Apache License 2.0 |
TrabalhandoComAPIs/app/src/main/java/com/example/applicationworkapi/model/Person.kt | P3d50 | 385,913,689 | false | {"Text": 1, "Markdown": 6, "Gradle": 36, "Java Properties": 24, "Shell": 12, "Ignore List": 27, "Batchfile": 12, "Proguard": 12, "Kotlin": 100, "XML": 172, "JSON": 1, "Maven POM": 3, "Java": 1, "Portugol": 8} | package com.example.applicationworkapi.model
import com.google.gson.annotations.SerializedName
data class Person(
@SerializedName("id")
val id:String,
@SerializedName("firstName")
val firstName:String,
@SerializedName("lastName")
val lastName:String,
@SerializedName("phones")
va... | 0 | Kotlin | 0 | 0 | c01548ce52429782c2185d0872f2405afa6ee4c6 | 361 | Santander-Bootcamp-Kotlin-Mobile-Developer-Digital-Innovation-One-2021 | MIT License |
test-common/src/test/kotlin/com/benyhuo/kotlin/deepcopy/compiler/KspTest.kt | bennyhuo | 156,778,105 | false | {"Kotlin": 157255, "Shell": 1038, "Java": 98} | package com.benyhuo.kotlin.deepcopy.compiler
import com.bennyhuo.kotlin.compiletesting.extensions.module.KotlinModule
import com.bennyhuo.kotlin.compiletesting.extensions.source.SourceModuleInfo
import com.bennyhuo.kotlin.deepcopy.compiler.ksp.DeepCopySymbolProcessorProvider
import org.jetbrains.kotlin.compiler.plugin... | 2 | Kotlin | 25 | 269 | f8f8d54920108f1faca6522bac6e1a1ef9243c02 | 1,200 | KotlinDeepCopy | MIT License |
TestAndroidAll/src/main/java/com/lorenwang/test/android/activity/net/NetMvpPresent.kt | Loren-Wang | 164,838,761 | false | null | package com.lorenwang.test.android.activity.net
import android.lorenwang.commonbaseframe.mvp.AcbflwBaseView
import android.lorenwang.commonbaseframe.network.callback.AcbflwNetCallback
import com.lorenwang.test.android.base.BasePresenter
class NetMvpPresent(view: AcbflwBaseView) : BasePresenter(view) {
fun sendGet... | 5 | null | 1 | 4 | 3669d165ef0b1667b37155978de4c1dd9660b903 | 1,306 | LorenWangCustomTools | Apache License 2.0 |
src/main/kotlin/com/wabradshaw/travelhistory/history/BlogPost.kt | wabradshaw | 143,281,874 | false | null | package com.wabradshaw.travelhistory.history
/**
* A BlogPost contains the information pointing to the blog post about a place.
* @property url The URL where the blog post is hosted.
* @property name The name for the blog post (not necessarily it's actual name, the name that should appear in the
* f... | 0 | Kotlin | 0 | 0 | 9e0d18de79f1e98aebdc4364fe0d3a23879c23ac | 410 | travel-history | Apache License 2.0 |
app/src/main/java/xyz/teamgravity/lightsensor/domain/MeasurableSensor.kt | raheemadamboev | 493,694,050 | false | {"Kotlin": 10198} | package xyz.teamgravity.lightsensor.domain
abstract class MeasurableSensor(
protected val type: Int,
) {
protected var onSensorValuesChanged: ((List<Float>) -> Unit)? = null
abstract val sensorExists: Boolean
abstract fun start()
abstract fun stop()
@JvmName("setOnSensorValuesChangedListene... | 0 | Kotlin | 0 | 2 | 1371cfb930b94ae4fb3e7b4ee15949a02dbe4d57 | 471 | light-sensor | Apache License 2.0 |
ui-kit/src/main/java/com/quickblox/android_ui_kit/domain/exception/repository/UsersRepositoryException.kt | QuickBlox | 637,751,718 | false | {"Kotlin": 1833847} | /*
* Created by Injoit on 24.01.2023.
* Copyright © 2023 Quickblox. All rights reserved.
*/
package com.quickblox.android_ui_kit.domain.exception.repository
import com.quickblox.android_ui_kit.ExcludeFromCoverage
@ExcludeFromCoverage
class MessagesRepositoryException(val code: Codes, val description: String) : Exc... | 1 | Kotlin | 0 | 4 | 0ef856d22efb1540d6e238a073badbf31c03961a | 564 | android-ui-kit | MIT License |
subprojects/common/kotlin-ast-parser/src/main/kotlin/com/avito/instrumentation/impact/KotlinClassesFinderImpl.kt | avito-tech | 230,265,582 | false | {"Kotlin": 3747948, "Java": 67252, "Shell": 27892, "Dockerfile": 12799, "Makefile": 8086} | package com.avito.instrumentation.impact
import com.avito.instrumentation.impact.KotlinClassesFinder.Companion.KOTLIN_FILE_EXTENSION
import org.jetbrains.kotlin.cli.common.CLIConfigurationKeys
import org.jetbrains.kotlin.cli.common.messages.MessageRenderer
import org.jetbrains.kotlin.cli.common.messages.PrintingMessag... | 10 | Kotlin | 50 | 414 | bc94abf5cbac32ac249a653457644a83b4b715bb | 3,231 | avito-android | MIT License |
app/src/main/java/ru/adonixis/vkcupunsub/activity/UnsubActivity.kt | adonixis | 261,159,007 | false | null | package ru.adonixis.vkcupunsub.activity
import android.app.ProgressDialog
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.net.Uri
import android.os.Bundle
import android.os.Handler
import android.view.Menu
import android.view.MenuInflater
import android.view.Me... | 0 | Kotlin | 0 | 0 | 0220ebdd9dc43f2b6d26ef71fca157b455592888 | 11,162 | VKCupUnsub | Apache License 2.0 |
protocol/osrs-221-desktop/src/main/kotlin/net/rsprot/protocol/game/outgoing/codec/zone/payload/LocAnimEncoder.kt | blurite | 771,753,685 | false | {"Kotlin": 1458066} | package net.rsprot.protocol.game.outgoing.codec.zone.payload
import net.rsprot.buffer.JagByteBuf
import net.rsprot.protocol.ServerProt
import net.rsprot.protocol.common.game.outgoing.codec.zone.payload.ZoneProtEncoder
import net.rsprot.protocol.game.outgoing.prot.GameServerProt
import net.rsprot.protocol.game.outgoing... | 4 | Kotlin | 0 | 7 | b72a9ddbbf607e357b783c4c8a1f5dc91b5de4f0 | 898 | rsprot | MIT License |
src/main/kotlin/no/nav/security/mock/oauth2/http/OAuth2HttpRouter.kt | navikt | 235,432,421 | false | null | package no.nav.security.mock.oauth2.http
import mu.KotlinLogging
import no.nav.security.mock.oauth2.extensions.endsWith
private val log = KotlinLogging.logger { }
typealias RequestHandler = (OAuth2HttpRequest) -> OAuth2HttpResponse
interface Interceptor
fun interface RequestInterceptor : Interceptor {
fun inte... | 8 | null | 57 | 238 | 29e2e45165a49bc2de37ae48d9a6a3ed01078d7a | 6,685 | mock-oauth2-server | MIT License |
codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/generators/EnumGenerator.kt | mysteriouspants | 366,205,273 | true | {"Kotlin": 526714, "Rust": 368611, "Shell": 1277, "RenderScript": 234} | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
package software.amazon.smithy.rust.codegen.smithy.generators
import software.amazon.smithy.codegen.core.SymbolProvider
import software.amazon.smithy.model.shapes.StringShape
import software.amazon.smi... | 0 | null | 0 | 0 | 6df93e093d74cb844eff9a289c5d65269a396577 | 6,115 | smithy-rs | Apache License 2.0 |
rxbindings/src/main/java/com/mindera/skeletoid/rxbindings/extensions/views/View.kt | Mindera | 85,591,428 | false | null | package com.mindera.skeletoid.rxbindings.extensions.views
import android.view.View
import com.jakewharton.rxbinding3.view.clicks
import com.jakewharton.rxbinding3.view.longClicks
import com.mindera.skeletoid.rxjava.CLICK_LONG_THROTTLE
import com.mindera.skeletoid.rxjava.observeOnMain
import com.mindera.skeletoid.rxjav... | 7 | Kotlin | 3 | 24 | 881de796fbbe835c74f69f36ccf327bdcb0029f3 | 878 | skeletoid | MIT License |
app/src/main/java/com/utkarshambassadorfsmnew/features/photoReg/adapter/PhotoAttendanceListner.kt | DebashisINT | 702,488,999 | false | {"Kotlin": 13605407, "Java": 996445} | package com.utkarshambassadorfsmnew.features.photoReg.adapter
import com.utkarshambassadorfsmnew.features.photoReg.model.UserListResponseModel
interface PhotoAttendanceListner {
fun getUserInfoOnLick(obj: UserListResponseModel)
fun getUserInfoAttendReportOnLick(obj: UserListResponseModel)
} | 0 | Kotlin | 0 | 0 | 9992dc44d1fcbbc75c3feb1ba2b476734ce7f888 | 301 | UtkarshClasses | Apache License 2.0 |
app/src/main/java/at/allaboutapps/gdprpolicysdk/services/FirebaseTrackerHandler.kt | allaboutapps | 139,142,293 | false | null | package at.allaboutapps.gdprpolicysdk.services
import android.content.Context
import com.google.firebase.analytics.FirebaseAnalytics
class FirebaseTrackerHandler(context: Context) :
TrackerHandler {
private val firebaseAnalytics = FirebaseAnalytics.getInstance(context)
override fun setTracking(enabled: B... | 1 | null | 1 | 6 | a2a32e8ae9e7ad05f3fcf08edcbf4a88aeba9b8a | 488 | gdpr-android | MIT License |
src/main/kotlin/site/yanglong/promotion/service/impl/UserServiceImpl.kt | DR-YangLong | 104,697,796 | false | {"Maven POM": 1, "Text": 1, "Ignore List": 1, "Markdown": 2, "Java": 1, "Lua": 1, "YAML": 2, "XML": 10, "SQL": 1, "Kotlin": 73} | package site.yanglong.promotion.service.impl
import com.baomidou.mybatisplus.mapper.EntityWrapper
import com.baomidou.mybatisplus.plugins.Page
import com.baomidou.mybatisplus.service.impl.ServiceImpl
import org.springframework.stereotype.Service
import site.yanglong.promotion.mapper.UserBaseMapper
import site.yanglong... | 0 | Kotlin | 0 | 0 | 217bb7c2cb2d2e32ddadfb6636c7b182422dec2a | 1,732 | spring-boot-kotlin-demo | Apache License 2.0 |
presentation/src/main/java/org/lotka/xenonx/presentation/ui/screens/auth/compose/ButtonSign.kt | armanqanih | 802,765,254 | false | {"Kotlin": 238045} | package org.lotka.xenonx.presentation.ui.screens.auth.compose
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Button
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.... | 0 | Kotlin | 0 | 0 | cf33d7ad0f380d38e5e2d95c31e2a9f6955f72a4 | 809 | StartToKoding | Apache License 2.0 |
feature/welcome/src/main/java/com/hellguy39/hellnotes/feature/welcome/WelcomeViewModel.kt | HellGuy39 | 572,830,054 | false | null | package com.hellguy39.hellnotes.feature.welcome
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.hellguy39.hellnotes.core.domain.repository.DataStoreRepository
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launc... | 0 | Kotlin | 0 | 5 | 0086c5185b19d2e33aa699554a6f9231e0ca1419 | 674 | HellNotes | Apache License 2.0 |
android/libraries/libMatches/src/main/java/nl/entreco/giddyapp/libmatches/Match.kt | Entreco | 164,009,012 | false | {"Text": 1, "Ignore List": 17, "YAML": 2, "Markdown": 4, "Dart": 5, "Gradle": 23, "INI": 1, "Java Properties": 3, "XML": 174, "Java": 13, "OpenStep Property List": 2, "Objective-C": 3, "JSON": 2, "Proguard": 13, "Shell": 1, "Batchfile": 1, "Kotlin": 231} | package nl.entreco.giddyapp.libmatches
data class Match(
val horseId: String,
val name: String,
val ref: String
) | 23 | null | 1 | 1 | 59960640ecd182c502df2d52fa17ed619d415c91 | 126 | GiddyApp | Apache License 2.0 |
plugins/package-search/maven/src/com/jetbrains/packagesearch/intellij/plugin/maven/MavenResolvedDependenciesProvider.kt | ingokegel | 72,937,917 | true | null | package com.jetbrains.packagesearch.intellij.plugin.maven
import com.intellij.buildsystem.model.unified.UnifiedDependency
import com.jetbrains.packagesearch.intellij.plugin.extensibility.BuildSystemType
import com.jetbrains.packagesearch.intellij.plugin.extensibility.PackageSearchModule
import com.jetbrains.packagesea... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 981 | intellij-community | Apache License 2.0 |
data/src/main/java/com/example/data/room/BookMarkDao.kt | yoo-sudo | 693,298,176 | false | {"Kotlin": 34155} | package com.example.data.room
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.example.data.room.entity.BookmarkedNews
import kotlinx.coroutines.flow.Flow
@Dao
interface BookMarkDao {
@Insert(onConflict = OnConflictStrategy.REPLACE... | 0 | Kotlin | 0 | 0 | e3516fc2ab55e30ab1dc33ad359d4ba0801b25fc | 618 | NewsApp | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.