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/ashraf/movie/discovery/di/DomainModule.kt | ashraf-atef | 294,040,236 | false | null | package com.ashraf.movie.discovery.di
import com.ashraf.movie.discovery.details.domain.GettingMoviesPhotosUseCase
import org.koin.dsl.module
val domainModule = module {
factory { GettingMoviesPhotosUseCase(get()) }
} | 0 | Kotlin | 0 | 0 | 404335d17764b1d69607c7702d61ae7b64ffa900 | 222 | Movie-App2.0.0 | MIT License |
payments-core/src/main/java/com/stripe/android/PaymentIntentResult.kt | stripe | 6,926,049 | false | null | package com.stripe.android
import androidx.annotation.RestrictTo
import com.stripe.android.model.PaymentIntent
import kotlinx.parcelize.Parcelize
/**
* A model representing the result of a [PaymentIntent] confirmation via [Stripe.confirmPayment]
* or handling of next actions via [Stripe.handleNextActionForPayment].... | 64 | Kotlin | 522 | 935 | bec4fc5f45b5401a98a310f7ebe5d383693936ea | 638 | stripe-android | MIT License |
feature-governance-impl/src/main/java/io/novafoundation/nova/feature_governance_impl/di/GovernanceFeatureModule.kt | novasamatech | 496,649,319 | false | {"Kotlin": 5949531, "Java": 14723, "JavaScript": 425} | package io.novafoundation.nova.feature_governance_impl.di
import dagger.Module
import dagger.Provides
import io.novafoundation.nova.common.address.AddressIconGenerator
import io.novafoundation.nova.common.data.storage.Preferences
import io.novafoundation.nova.common.di.scope.FeatureScope
import io.novafoundation.nova.... | 5 | Kotlin | 9 | 28 | fcd118ab5cbedded709ec062ae5d4bc890aaf96d | 9,722 | nova-android-app | Apache License 2.0 |
app/src/main/java/tech/salroid/filmy/fragment/CrewFragment.kt | salRoid | 64,316,425 | false | null | package tech.salroid.filmy.fragment
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.app.ActivityOptionsCompat
import androidx.core.util.Pair
import androidx.fragment.app.Fragment
import androidx.recycl... | 0 | Kotlin | 185 | 710 | 11935a87f16f546b15b6e98f7ec3f2cbdf037b5f | 3,769 | Filmy | Apache License 2.0 |
SuperSpEditText/src/main/java/com/xxf/view/mentionedittext/span/DataSpan.kt | NBXXF | 333,649,364 | false | null | package com.xxf.view.mentionedittext.span
import java.io.Serializable
/**
* @Author: XGod <EMAIL> 17611639080
* Date: 1/28/21 12:58 PM
* Description:仅用来标记数据,获取span的时候方便处理
*/
interface DataSpan : Serializable
| 0 | Kotlin | 0 | 0 | 98d6bb6e6770950cc61fcaef5dc76303d50baa28 | 215 | SpEditTool | MIT License |
app/src/main/java/com/rajchenbergstudios/hoygenda/ui/core/pastday/DayDetailsViewModel.kt | Davidhk2891 | 524,378,818 | false | null | package com.rajchenbergstudios.hoygenda.ui.core.pastday
import androidx.lifecycle.*
import com.rajchenbergstudios.hoygenda.data.day.Day
import com.rajchenbergstudios.hoygenda.data.prefs.SortOrder
import com.rajchenbergstudios.hoygenda.data.today.journalentry.JournalEntry
import com.rajchenbergstudios.hoygenda.data.tod... | 0 | Kotlin | 0 | 0 | 1154bbfb5865cb48a87497582b3149573c17efae | 6,412 | Rajchenberg_Studios-Hoytask | Apache License 2.0 |
src/main/kotlin/com/github/subtixx/omnicraft/utils/NumberUtil.kt | Subtixx | 850,089,269 | false | {"Kotlin": 217619} | @file:Suppress("unused")
package com.github.subtixx.omnicraft.utils
import java.util.*
import kotlin.math.ln
import kotlin.math.pow
object NumberUtil {
/**
* Format number to K, M, G, T, P, E, Z, Y
*
* @param number
* @return
*/
@JvmStatic
fun formatNumber(number: Int): String {
... | 33 | Kotlin | 0 | 0 | 5a9602bc59afe1a2bf9e3f09c8418f99e5693316 | 2,318 | OmniCraft | MIT License |
defensor-gradle-plugin/src/main/java/com/panda912/defensor/plugin/internal/processor/DirectoryProcessor.kt | porum | 402,665,073 | false | null | package com.panda912.defensor.plugin.internal.processor
import com.android.build.api.transform.Status
import com.panda912.defensor.plugin.TransformContext
import com.panda912.defensor.plugin.utils.FileUtils
import com.panda912.defensor.plugin.utils.isDefensorClass
import java.io.File
/**
* Created by panda on 2021/9... | 0 | null | 1 | 2 | 58a60e0ee68d7d323c358720e90b6b9f66987650 | 2,218 | Defensor | Apache License 2.0 |
feature-staking-impl/src/main/java/jp/co/soramitsu/feature_staking_impl/presentation/staking/StakingViewModel.kt | kingofthebongo2008 | 346,603,452 | true | {"Kotlin": 1066068} | package jp.co.soramitsu.feature_staking_impl.presentation.staking
import androidx.lifecycle.LiveData
import androidx.lifecycle.viewModelScope
import jp.co.soramitsu.common.account.AddressIconGenerator
import jp.co.soramitsu.common.account.AddressModel
import jp.co.soramitsu.common.base.BaseViewModel
import jp.co.soram... | 0 | null | 0 | 0 | fbbe4a87199a2ff6a1590fc22f8f67972aa18c2f | 3,988 | fearless-Android | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/ui/Models.kt | natieklopper | 342,986,377 | false | null | package com.example.androiddevchallenge.ui
abstract class Models(
var isLoading: Boolean = true
)
data class PetDetailsModel(
val pets: List<String> = arrayListOf(),
var pet: String = "Start"
) : Models()
| 0 | Kotlin | 0 | 0 | 74296e3f7fc5a73699a85d69e348b38c140551d6 | 219 | petfinder | Apache License 2.0 |
app/src/main/java/com/trainerapp/enums/ProfilePicture.kt | samuolis | 156,589,399 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "JSON": 1, "Proguard": 1, "Java": 2, "XML": 56, "Kotlin": 69} | package com.trainerapp.enums
import com.trainerapp.R
enum class ProfilePicture(drawableId: Int) {
man(R.drawable.men),
girl(R.drawable.girl);
val drawableId :Int = drawableId
} | 1 | null | 1 | 1 | dee7f5c23993d2142a1155068667af734023fce3 | 193 | Training-Buddy | Apache License 2.0 |
src/main/kotlin/io/github/llh4github/kinoapi/service/BaseService.kt | llh4github | 643,129,201 | false | null | package io.github.llh4github.kinoapi.service
import io.github.llh4github.kinoapi.model.BaseModel
import io.github.llh4github.kinoapi.repository.BaseRepository
import org.babyfish.jimmer.sql.fetcher.Fetcher
/**
*
*
* Created At 2023/8/11 16:43
* @author llh
*/
interface BaseService<E> : DataExistenceChecker<E> {
... | 0 | Kotlin | 0 | 0 | c81d535f0a01bafbab47c97b3a159d81addd9fe4 | 924 | kino-api | MIT License |
app/src/main/java/org/p2p/wallet/common/mvp/BaseMvpActivity.kt | p2p-org | 306,035,988 | false | null | package org.p2p.wallet.common.mvp
import android.os.Bundle
import android.view.View
import android.view.ViewGroup
import androidx.annotation.CallSuper
import androidx.appcompat.app.AppCompatActivity
import com.google.android.material.snackbar.Snackbar
import org.p2p.core.common.TextContainer
import org.p2p.uikit.nativ... | 9 | Kotlin | 14 | 23 | 2badf683d824c57654b12ea0c023f96e1a5d0c19 | 3,909 | key-app-android | MIT License |
app/src/main/java/xhh/example/com/fristproject/mydrawable/InsetActivity.kt | xhh4215 | 135,407,503 | false | {"Kotlin": 10028} | package xhh.example.com.fristproject.mydrawable
import android.graphics.drawable.ClipDrawable
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_clip.*
import xhh.example.com.fristproject.R
class InsetActivity : AppCompatActivity() {
override f... | 0 | Kotlin | 0 | 0 | 41691bdb1c7fb4ec7fdb1bcb6bc25644c54ace7e | 673 | FristProject | Apache License 2.0 |
android/app/src/main/kotlin/com/example/mobile_app_midterm/MainActivity.kt | Black-Garlic | 423,379,886 | false | {"Dart": 97064, "C++": 20482, "CMake": 8001, "HTML": 3719, "C": 734, "Swift": 404, "Kotlin": 266, "Objective-C": 38} | package com.example.mobile_app_midterm
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 89b2599b31605f306a4a2f1714868bb9d8c2e485 | 135 | Mobile-App-Dev-Finalterm | Apache License 2.0 |
src/main/kotlin/com/projectcitybuild/platforms/spigot/commands/BanCommand.kt | projectcitybuild | 42,997,941 | false | null | package com.projectcitybuild.platforms.spigot.commands
import com.projectcitybuild.core.contracts.Commandable
import com.projectcitybuild.modules.bans.CreateBanAction
import com.projectcitybuild.core.network.APIRequestFactory
import com.projectcitybuild.core.entities.CommandResult
import com.projectcitybuild.core.exte... | 3 | Kotlin | 0 | 1 | 1244cdb6ebb465f7fe6f3c6ee40339d8e39ae8fc | 3,092 | PCBridge | MIT License |
modules/feature/app_settings/src/main/kotlin/kekmech/ru/feature_app_settings/screens/main/elm/AppSettingsStoreFactory.kt | tonykolomeytsev | 203,239,594 | false | null | package kekmech.ru.feature_app_settings.screens.main.elm
import kekmech.ru.common_feature_toggles.FeatureToggles
import vivid.money.elmslie.coroutines.ElmStoreCompat
internal class AppSettingsFeatureFactory(
private val actor: AppSettingsActor,
private val featureToggles: FeatureToggles,
) {
fun create()... | 20 | null | 4 | 27 | 51d12bcb00d8e722ce003c99408f847b2638665d | 628 | mpeiapp | MIT License |
kvision-modules/kvision-material/src/jsMain/kotlin/io/kvision/material/menu/MdMenuItem.kt | rjaros | 120,835,750 | false | {"Kotlin": 3524783, "CSS": 25183, "JavaScript": 16390, "HTML": 2425} | /*
* Copyright (c) 2017-present <NAME>
* Copyright (c) 2024 <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the righ... | 17 | Kotlin | 65 | 1,235 | 7daa34594be70c037bfbaeefbfd1e3d7629e1e0b | 5,824 | kvision | MIT License |
editadapterlib/src/main/java/top/i97/editadapterlib/adapter/BaseQuickEditModeAdapter.kt | maximilianMao | 286,661,074 | false | null | /*
MIT License
Copyright (c) 2020 Plain
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribu... | 0 | null | 0 | 2 | 3411806de02d3e1ed56c209de96b3f4a6af9af52 | 11,735 | EditAdapter | MIT License |
idea/src/org/jetbrains/kotlin/idea/facet/KotlinFacetEditorGeneralTab.kt | staygold1 | 79,351,914 | true | {"Markdown": 39, "XML": 1025, "Gradle": 163, "Ant Build System": 52, "Shell": 12, "Ignore List": 8, "Batchfile": 11, "Git Attributes": 1, "Kotlin": 29677, "Java": 4756, "Protocol Buffer": 7, "Text": 8925, "JavaScript": 194, "JAR Manifest": 3, "Roff": 191, "Roff Manpage": 19, "Java Properties": 16, "AsciiDoc": 1, "INI":... | /*
* Copyright 2010-2016 JetBrains s.r.o.
*
* 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 agre... | 0 | Java | 0 | 1 | 284b9d2ba692d292605d7b6cdc763b15320d8c2e | 6,734 | kotlin | Apache License 2.0 |
drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/BacsDirectDebitDialogFragment.kt | Adyen | 91,104,663 | false | null | /*
* Copyright (c) 2021 Adyen N.V.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by ozgur on 19/11/2021.
*/
package com.adyen.checkout.dropin.internal.ui
import android.app.Dialog
import android.os.Bundle
import android.view.LayoutInflater
impo... | 28 | Kotlin | 66 | 96 | 1f000e27e07467f3a30bb3a786a43de62be003b2 | 3,312 | adyen-android | MIT License |
composeApp/src/iosMain/kotlin/org/example/grocery/core/database/DatabaseFactory.ios.kt | ckam99 | 798,453,071 | false | {"Kotlin": 43884, "Swift": 594} | package org.example.grocery.core.database
import app.cash.sqldelight.db.SqlDriver
import app.cash.sqldelight.driver.native.NativeSqliteDriver
import org.example.grocery.cache.GroceryDatabase
@Suppress("EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING")
actual class DatabaseDriverFactory {
actual fun createDriver():... | 0 | Kotlin | 0 | 0 | 9a862eecdaa2ca8a990933246045c633ccc2132a | 469 | compose-multiplatform | MIT License |
kzen-auto-common/src/commonMain/kotlin/tech/kzen/auto/common/paradigm/dataflow/service/active/ActiveVisualProvider.kt | alexoooo | 131,353,826 | false | null | package tech.kzen.auto.common.paradigm.dataflow.service.active
import tech.kzen.auto.common.paradigm.dataflow.model.exec.VisualDataflowModel
import tech.kzen.auto.common.paradigm.dataflow.model.exec.VisualVertexModel
import tech.kzen.auto.common.paradigm.dataflow.model.exec.VisualVertexTransition
import tech.kzen.auto... | 1 | Kotlin | 1 | 1 | 97a140f0599d1eb3dc9dd3075b6a4fdbc5daaba0 | 1,395 | kzen-auto | MIT License |
src/main/java/com/fynd/nitrozen/nitrozeninput/drawer/ErrorTextDrawer.kt | gofynd | 238,860,720 | false | null | package com.fynd.nitrozen.nitrozeninput.drawer
import android.graphics.Typeface
import android.text.TextUtils
import android.view.Gravity
import android.view.View
import android.widget.LinearLayout
import android.widget.TextView
import androidx.core.content.ContextCompat
import androidx.core.content.res.ResourcesCompa... | 0 | Kotlin | 0 | 1 | 9b98a8eaeec547c44ddb35c345b5ac3dff2d0a6f | 2,372 | nitrozen-android | MIT License |
places-compose/src/main/java/com/google/android/libraries/places/compose/autocomplete/models/geocoder/AddressDto.kt | googlemaps | 836,962,804 | false | {"Kotlin": 241617} | // Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 3 | Kotlin | 1 | 5 | 6169bf5359878abb2462e1d73ef0663a1963780d | 3,192 | android-places-compose | Apache License 2.0 |
shcDecoder/src/androidTest/java/ca/bc/gov/shcdecoder/BcCardVerifierTest.kt | bcgov | 399,972,903 | false | null | package ca.bc.gov.shcdecoder
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import ca.bc.gov.shcdecoder.model.ImmunizationStatus
import kotlinx.coroutines.runBlocking
import org.junit.Assert.assertEquals
import org.junit.Before
import org.junit.Test
impor... | 6 | Kotlin | 6 | 22 | 57d929c8c73620021b59386c084536091cbfe91a | 8,306 | BCVAX-Android | Apache License 2.0 |
app/src/main/java/com/primalabs/primatodo/ui/MainActivity.kt | zprima | 343,185,198 | false | null | package com.primalabs.primatodo.ui
import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.runtime.*
import androidx.compose.ui.platform.LocalContext
import androidx.hilt.navigation.HiltViewModelFactory
import androidx.lifecycle.viewm... | 0 | Kotlin | 0 | 0 | 63e18f072a8fc10263fb7219a0f04e07b7e6f0de | 2,121 | compose-todo-app | Apache License 2.0 |
idea/idea-core/src/org/jetbrains/kotlin/idea/core/script/KotlinScriptConfigurationManager.kt | gigliovale | 89,726,097 | false | null | /*
* Copyright 2010-2016 JetBrains s.r.o.
*
* 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 agre... | 1 | null | 4 | 6 | ce145c015d6461c840050934f2200dbc11cb3d92 | 7,840 | kotlin | Apache License 2.0 |
accounts/src/main/kotlin/pl/edu/pw/ia/accounts/application/model/CreateAccountRequest.kt | ERSMS-24L | 768,705,060 | false | {"Kotlin": 75027, "CSS": 5011, "HTML": 1892, "JavaScript": 1300, "Dockerfile": 666, "Shell": 288} | package pl.edu.pw.ia.accounts.application.model
import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.Email
import jakarta.validation.constraints.NotBlank
import java.util.UUID
import org.hibernate.validator.constraints.Length
import pl.edu.pw.ia.shared.domain.command.CreateAccountCom... | 28 | Kotlin | 2 | 1 | 9b7107c5b22b4bf4f111bf9fda6ca2f7c7c1a216 | 857 | ERSMS-24L | MIT License |
src/main/kotlin/icu/windea/pls/lang/codeInsight/completion/PlsCompletionPriorities.kt | DragonKnightOfBreeze | 328,104,626 | false | {"Kotlin": 3379031, "Java": 164839, "Lex": 44775, "HTML": 23935, "Shell": 2741} | package icu.windea.pls.lang.codeInsight.completion
object ParadoxCompletionPriorities {
const val pinnedPriority = 1000.0
const val keywordPriority = 10.0
const val rootKeyPriority = 100.0
const val constantPriority = 90.0
const val enumPriority = 88.0
const val complexEnumPriority = 80.0
c... | 17 | Kotlin | 5 | 33 | 823c0d1fe3eec4bb181d645aa56e13f3be65a9e4 | 577 | Paradox-Language-Support | MIT License |
photoselector/src/main/java/com/kelin/photoselector/callback/factory/TakePictureCallbackFactory.kt | kelinZhou | 279,769,026 | false | {"Kotlin": 149010} | package com.kelin.photoselector.callback.factory
import android.app.Activity
import android.content.ContentValues
import android.content.Context
import android.content.Intent
import android.media.MediaMetadataRetriever
import android.media.MediaScannerConnection
import android.os.*
import android.provider.MediaStore
i... | 3 | Kotlin | 6 | 24 | 5fe6fded2f47ff5e5619746e0ac9cd0b6e3ff090 | 6,508 | PhotoSelector | Apache License 2.0 |
app/src/main/java/co/app/UIResult.kt | p-vincen-t | 238,182,140 | false | {"Kotlin": 475105, "Java": 46450, "HTML": 41642} | /*
* Copyright 2020, {{App}}
* Licensed under the Apache License, Version 2.0, "{{App}} Inc".
* 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 writing,
* so... | 1 | Kotlin | 1 | 1 | 74d1af99f1a563b6aa5ace72eb303e055c6ace5a | 1,436 | android-template | Apache License 2.0 |
Example/TestApp/src/main/java/org/audienzz/mobile/testapp/adapter/GamRenderApiInterstitialAdHolder.kt | audienzz | 756,759,435 | false | {"Kotlin": 347075, "Ruby": 137} | package org.audienzz.mobile.testapp.adapter
import android.app.Activity
import android.content.res.Configuration
import android.view.ViewGroup
import org.audienzz.mobile.api.data.AudienzzAdUnitFormat
import org.audienzz.mobile.api.exceptions.AudienzzAdException
import org.audienzz.mobile.api.rendering.AudienzzIntersti... | 0 | Kotlin | 0 | 0 | e49072379d8e09863972f2585e4268c01d03ccab | 4,793 | audienzz-android-sdk | Apache License 2.0 |
src/main/kotlin/ui/packages/PackagesViewModel.kt | oss-review-toolkit | 436,895,138 | false | null | package org.ossreviewtoolkit.workbench.ui.packages
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.launch
import org.ossreviewtoolkit.model.Identifier
import org.ossreviewt... | 8 | Kotlin | 1 | 17 | d8045a290020a536fa3391f15c10b3d5c78f6ce6 | 9,609 | ort-workbench | Apache License 2.0 |
lib/src/main/java/com/niallermoran/charteasy/Helper.kt | niallermoran | 719,766,312 | false | {"Kotlin": 88852} | import android.graphics.Color
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.ui.text.TextMeasurer
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.LayoutDirection
import androidx.compose.ui.unit.dp
import com.niallermoran.chartea... | 2 | Kotlin | 0 | 1 | f4ee0c6450f7acd332ebe2b06f1123412d92f0a1 | 17,700 | ChartEasy | Apache License 2.0 |
shipments/src/androidTest/java/com/calebk/shipments/shipment/ShipmentScreenTest.kt | CalebKL | 867,208,470 | false | {"Kotlin": 149963} | /*
* Copyright 2024 Movemate
*
* 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... | 0 | Kotlin | 0 | 0 | 3d7a428df7452dd465bf137a5b0b1ea6e5cb8ba7 | 2,197 | Movemate | Apache License 2.0 |
buildSrc/src/main/kotlin/Extensions.kt | Kr1ptal | 712,963,462 | false | {"Kotlin": 1200581, "Solidity": 28773} | fun isLibraryReleaseMode(): Boolean {
return System.getenv("LIB_RELEASE").equals("true", ignoreCase = true)
}
| 13 | Kotlin | 8 | 23 | 3885bbfa3bb190a2adba23b692593ab36165bb55 | 114 | ethers-kt | Apache License 2.0 |
OrderCenter/src/main/java/com/kotlin/order/event/SelectAddressEvent.kt | heisexyyoumo | 145,665,152 | false | {"Gradle": 10, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 9, "Batchfile": 1, "Markdown": 1, "Proguard": 8, "Kotlin": 218, "XML": 116, "Java": 14} | package com.kotlin.order.event
import com.kotlin.order.data.protocol.ShipAddress
class SelectAddressEvent(val address: ShipAddress) | 0 | Kotlin | 1 | 2 | 27fea0090cea5fb636f8db5025379d274693b1b4 | 133 | KotlinMall | Apache License 2.0 |
src/main/kotlin/org/ionproject/integration/domain/common/Programme.kt | i-on-project | 243,606,271 | false | null | package org.ionproject.integration.domain.common
data class Programme(
var name: String = "",
var acr: String = ""
)
| 10 | Kotlin | 0 | 3 | d221d71dd5252da878953f2a0a93734a720a5290 | 126 | integration | Apache License 2.0 |
defitrack-protocols/src/main/java/io/defitrack/protocol/set/PolygonSetProvider.kt | decentri-fi | 426,174,152 | false | {"Kotlin": 1038532, "Java": 1948, "Dockerfile": 909} | package io.defitrack.protocol.set
import io.defitrack.common.network.Network
import io.ktor.client.*
import org.springframework.stereotype.Component
@Component
class PolygonSetProvider(
httpClient: HttpClient
) : AbstractSetProvider(
Network.POLYGON,
"https://raw.githubusercontent.com/decentri-fi/data/mas... | 53 | Kotlin | 7 | 9 | e65843453e4c44f5c2626870ceb923eb7ab3c4d0 | 586 | defi-hub | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/Trillium.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,880 | icons | MIT License |
app/src/main/java/com/lovenottiesmobile/lovenotties_v1/LoadingActivity.kt | ST10084225 | 727,899,202 | false | {"Kotlin": 64879} | package com.lovenottiesmobile.lovenotties_v1
import android.content.Intent
import android.graphics.drawable.AnimationDrawable
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.LinearLayout
import android.widget.TextView
import com.google.android.mat... | 0 | Kotlin | 0 | 0 | 3fbf15e56594864c6305c0c87674763daa4bacbc | 3,620 | LoveNottiesApp | MIT License |
presentation/src/main/java/com/krakert/tracker/ui/tracker/overview/TrackerOverviewScreen.kt | Krakert | 500,599,145 | false | null | package com.krakert.tracker.ui.tracker.overview
import androidx.compose.foundation.clickable
import androidx.compose.foundation.focusable
import androidx.compose.foundation.gestures.animateScrollBy
import androidx.compose.foundation.gestures.scrollBy
import androidx.compose.foundation.layout.Arrangement
import android... | 4 | null | 1 | 7 | 2e1a3741faa4f66d7a7b013c4544c8c7a18508c6 | 8,164 | Crypto-Tracker | MIT License |
tangle-api/src/main/kotlin/tangle/inject/internal/TangleInjectorComponent.kt | RBusarow | 382,741,106 | 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 in ... | 27 | Kotlin | 112 | 76 | e3db551e3285ff46f0eda7d2a4d8d1102cf7c9c9 | 976 | Tangle | Apache License 2.0 |
kafka-connect-upload-source/src/main/java/org/radarbase/connect/upload/converter/altoidav2/AltoidaScreenElementXmlProcessor.kt | RADAR-base | 179,307,077 | false | null | package org.radarbase.connect.upload.converter.altoidav2
import org.radarbase.connect.upload.converter.TopicData
import org.radarbase.connect.upload.converter.xml.XmlNodeProcessorFactory
import org.radarcns.connector.upload.altoida.AltoidaTestScreenElement
import org.w3c.dom.Element
open class AltoidaScreenElementXml... | 22 | Kotlin | 1 | 1 | 7da101d69fef7b36ac688275758f77019cb3f03b | 2,805 | radar-upload-source-connector | Apache License 2.0 |
Common/src/main/kotlin/possible_triangle/skygrid/data/xml/impl/Side.kt | PssbleTrngle | 174,212,271 | false | null | package possible_triangle.skygrid.data.xml.impl
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import net.minecraft.core.BlockPos
import net.minecraft.core.Direction
import net.minecraft.core.Registry
import net.minecraft.world.level.block.Block
import possible_triangle.skygrid.data.... | 3 | Kotlin | 1 | 11 | d7f8e7d8722a1b0607bc74cd11047517f6eb4b82 | 1,020 | Skygrid | Creative Commons Zero v1.0 Universal |
increase-kotlin-core/src/main/kotlin/com/increase/api/models/SimulationCardAuthorizationCreateParams.kt | Increase | 614,596,742 | false | null | // File generated from our OpenAPI spec by Stainless.
package com.increase.api.models
import com.fasterxml.jackson.annotation.JsonAnyGetter
import com.fasterxml.jackson.annotation.JsonAnySetter
import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxm... | 1 | null | 0 | 5 | dc1361d08cb41ff45817c2e7638f53356f15cf8e | 35,558 | increase-kotlin | Apache License 2.0 |
src/main/kotlin/past/003-d.kt | kirimin | 197,707,422 | false | null | package past
import utilities.debugLog
import java.util.*
fun main(args: Array<String>) {
val sc = Scanner(System.`in`)
val n = sc.nextInt()
val s = (0 until 5).map { sc.next() }
println(problem3d(n, s))
}
fun problem3d(n: Int, s: List<String>): String {
val numbers = arrayOf(
arrayOf(
... | 0 | Kotlin | 1 | 5 | 87f20b4aa2031c130867c546dd5533890f1978ee | 2,684 | AtCoderLog | The Unlicense |
typescript-kotlin/src/jsMain/kotlin/typescript/JSDocTagInfo.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6915863} | // Automatically generated - do not modify!
package typescript
import js.array.ReadonlyArray
sealed external interface JSDocTagInfo {
var name: String
var text: ReadonlyArray<SymbolDisplayPart>?
}
| 0 | Kotlin | 7 | 31 | d1315f1524758eb6883a4f7e0a0da46816152ed8 | 208 | types-kotlin | Apache License 2.0 |
data/src/main/java/com/keelim/cnubus/data/api/response/mapper/ArrivalsMapper.kt | keelim | 202,127,420 | false | null | /*
* Designed and developed by 2021 keelim (Jaehyun Kim)
*
* 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... | 6 | Kotlin | 0 | 1 | 836c7fca6793ed74249f9430c798466b1a7aaa27 | 1,799 | project_cnuBus | Apache License 2.0 |
src/test/kotlin/no/nb/bikube/core/controller/CoreControllerIntegrationTest.kt | NationalLibraryOfNorway | 694,135,748 | false | null | package no.nb.bikube.core.controller
import com.ninjasquad.springmockk.MockkBean
import io.mockk.every
import io.mockk.verify
import no.nb.bikube.catalogue.collections.CollectionsModelMockData.Companion.collectionsModelEmptyRecordListMock
import no.nb.bikube.catalogue.collections.CollectionsModelMockData.Companion.col... | 3 | null | 0 | 3 | f5e436f07cb39aeb5b9011544927fc65fc32ca94 | 19,963 | bikube | Apache License 2.0 |
vk-api/src/main/kotlin/name/alatushkin/api/vk/generated/groups/methods/GroupsGetBannedMethod.kt | alatushkin | 156,866,851 | false | null | package name.alatushkin.api.vk.generated.groups.methods
import com.fasterxml.jackson.core.type.TypeReference
import name.alatushkin.api.vk.VkMethod
import name.alatushkin.api.vk.api.VkList
import name.alatushkin.api.vk.api.VkSuccess
import name.alatushkin.api.vk.generated.groups.OwnerXtrBanInfo
/**
* Returns a list... | 2 | Kotlin | 3 | 10 | 123bd61b24be70f9bbf044328b98a3901523cb1b | 1,986 | kotlin-vk-api | MIT License |
vk-api/src/main/kotlin/name/alatushkin/api/vk/generated/groups/methods/GroupsGetBannedMethod.kt | alatushkin | 156,866,851 | false | null | package name.alatushkin.api.vk.generated.groups.methods
import com.fasterxml.jackson.core.type.TypeReference
import name.alatushkin.api.vk.VkMethod
import name.alatushkin.api.vk.api.VkList
import name.alatushkin.api.vk.api.VkSuccess
import name.alatushkin.api.vk.generated.groups.OwnerXtrBanInfo
/**
* Returns a list... | 2 | Kotlin | 3 | 10 | 123bd61b24be70f9bbf044328b98a3901523cb1b | 1,986 | kotlin-vk-api | MIT License |
app/common/src/commonJvmMain/kotlin/com/denchic45/studiversity/ui/studygroup/members/StudyGroupMembersComponent.kt | denchic45 | 435,895,363 | false | {"Kotlin": 2110094, "Vue": 15083, "JavaScript": 2830, "CSS": 1496, "HTML": 867} | package com.denchic45.studiversity.ui.studygroup.members
import com.arkivanov.decompose.ComponentContext
import com.denchic45.studiversity.api.role.model.Capability
import com.denchic45.studiversity.api.role.model.Role
import com.denchic45.studiversity.domain.model.GroupMembers
import com.denchic45.studiversity.domain... | 0 | Kotlin | 0 | 7 | 93947301de4c4a9cb6c3d9fa36903f857c50e6c2 | 4,972 | Studiversity | Apache License 2.0 |
app/src/main/kotlin/kr/ac/snu/hcil/omnitrack/core/auth/IAuthServerAPI.kt | yghokim | 62,933,149 | false | null | package kr.ac.snu.hcil.omnitrack.core.auth
import com.google.gson.JsonObject
import io.reactivex.Completable
import io.reactivex.Single
import io.realm.internal.Keep
import kr.ac.snu.hcil.omnitrack.core.database.OTDeviceInfo
interface IAuthServerAPI {
@Keep
data class AuthResponseData(val token: String, val ... | 9 | null | 4 | 8 | f13e5c157d5646c3f9493c4fdc25ed3b1fc2e296 | 1,227 | omnitrack_android | MIT License |
adapter/src/test/kotlin/org/javacs/ktda/DebugAdapterTestFixture.kt | fwcd | 144,839,079 | false | {"Kotlin": 80289} | package org.javacs.ktda
import java.nio.file.Path
import java.nio.file.Paths
import org.eclipse.lsp4j.debug.ConfigurationDoneArguments
import org.eclipse.lsp4j.debug.InitializeRequestArguments
import org.eclipse.lsp4j.debug.DisconnectArguments
import org.eclipse.lsp4j.debug.OutputEventArguments
import org.eclipse.lsp4... | 32 | Kotlin | 19 | 96 | 7f05669b642d21afa46ac7b75307fa5d523a7263 | 2,649 | kotlin-debug-adapter | MIT License |
src/main/kotlin/com/virtlink/collections/MutableDisjointMap.kt | Virtlink | 235,369,099 | false | null | package com.virtlink.collections
/**
* A transient disjoint map.
*
* @param K the type of keys
* @param V the type of values
*/
interface MutableDisjointMap<K, V> : DisjointMap<K, V> {
/**
* Sets the [value] of the set that contains the specified [key].
*
* If the key is not part of this map, ... | 1 | null | 1 | 1 | e6bb272ac299737afd74a2293b9ada868b2eb9ad | 3,421 | disjoint-map | Apache License 2.0 |
engine/src/main/kotlin/de/hanno/hpengine/graphics/renderer/deferred/extensions/BvHPointLightSecondPassExtension.kt | hannomalie | 330,376,962 | false | {"Kotlin": 911757, "GLSL": 695972, "JavaScript": 3160, "Shell": 137, "Batchfile": 65} | package de.hanno.hpengine.graphics.renderer.deferred.extensions
import BvhNodeGpuImpl.Companion.type
import Vector4fStruktImpl.Companion.sizeInBytes
import Vector4fStruktImpl.Companion.type
import de.hanno.hpengine.config.Config
import de.hanno.hpengine.graphics.GraphicsApi
import de.hanno.hpengine.graphics.state.Ren... | 1 | Kotlin | 0 | 0 | e6e84da028f30622d555209cf08f0df48348f4fa | 13,865 | hpengine | MIT License |
app/src/main/java/com/tamzi/speakers/navigation/SpeakerNavHost.kt | tamzi | 633,718,475 | false | null | /*
* Copyright 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | 0 | Kotlin | 0 | 0 | e89849386575462b23029fc1961faad1217e3ed2 | 2,751 | speakers | Apache License 2.0 |
app/src/main/java/com/example/myapplication/widget/FGandBGWidgets/BuildRequest.kt | hitmansixteen | 800,499,147 | false | {"Kotlin": 331925} | package com.example.myapplication.widget.FGandBGWidgets
import androidx.compose.runtime.mutableStateOf
import okhttp3.FormBody
import okhttp3.Request
var selectedColors=null
val httpLink="https://183a-2400-adc5-458-8a00-8918-3c29-6c5f-9880.ngrok-free.app"
val url=httpLink+"/req"
fun buildRequest(formBody: FormBody)... | 0 | Kotlin | 0 | 0 | ba9dbe7d132ee097a681df4ddd76904aa5adb095 | 421 | instant-studio | MIT License |
app/src/main/java/com/example/myapplication/widget/FGandBGWidgets/BuildRequest.kt | hitmansixteen | 800,499,147 | false | {"Kotlin": 331925} | package com.example.myapplication.widget.FGandBGWidgets
import androidx.compose.runtime.mutableStateOf
import okhttp3.FormBody
import okhttp3.Request
var selectedColors=null
val httpLink="https://183a-2400-adc5-458-8a00-8918-3c29-6c5f-9880.ngrok-free.app"
val url=httpLink+"/req"
fun buildRequest(formBody: FormBody)... | 0 | Kotlin | 0 | 0 | ba9dbe7d132ee097a681df4ddd76904aa5adb095 | 421 | instant-studio | MIT License |
JetpackMvvm/src/main/java/me/hgj/jetpackmvvm/ext/download/DownLoadManager.kt | q735510971 | 316,208,478 | false | null | package me.hgj.jetpackmvvm.ext.download
import android.os.Looper
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.isActive
import kotlinx.coroutines.withContext
import me.hgj.jetpackmvvm.ext.util.logi
import okhttp3.OkHttpClient
import retrofit2.Retrofit
import j... | 1 | null | 1 | 3 | 22a993aacbd3b8d5f10caa0c11e055d71e8c1b9d | 5,448 | JetpackMvvm | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/boldduotone/call/RecordMinimalistic.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.boldduotone.call
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.Companio... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 2,873 | SolarIconSetAndroid | MIT License |
valiktor-samples/valiktor-sample-custom-formatter/src/test/kotlin/org/valiktor/sample/SampleApplicationTest.kt | Hc747 | 193,990,150 | true | {"Kotlin": 1795725} | /*
* Copyright 2018-2019 https://www.valiktor.org
*
* 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... | 0 | Kotlin | 0 | 0 | 6304e77d5d8751ebcb38f619cb2c855ebf2e558b | 1,296 | valiktor | Apache License 2.0 |
plugins/parcelize/parcelize-compiler/testData/box/functions.kt | JetBrains | 3,432,266 | false | null | // WITH_STDLIB
// LAMBDAS: CLASS
@file:JvmName("TestKt")
package test
import kotlinx.android.parcel.*
import android.os.Parcel
import android.os.Parcelable
@Parcelize
data class Test(val callback: () -> Int = { 0 }, val suspendCallback: suspend () -> Int = { 0 }) : Parcelable
fun box() = parcelTest { parcel ->
... | 182 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 575 | kotlin | Apache License 2.0 |
wrapper/godot-library/src/main/kotlin/godot/generated/EditorPlugin.kt | payload | 189,718,948 | true | {"Kotlin": 3888394, "C": 6051, "Batchfile": 714, "Shell": 574} | @file:Suppress("unused", "ClassName", "EnumEntryName", "FunctionName", "SpellCheckingInspection", "PARAMETER_NAME_CHANGED_ON_OVERRIDE", "UnusedImport", "PackageDirectoryMismatch")
package godot
import godot.gdnative.*
import godot.core.*
import godot.utils.*
import godot.icalls.*
import kotlinx.cinterop.*
// NOTE: T... | 0 | Kotlin | 1 | 2 | 70473f9b9a0de08d82222b735e7f9b07bbe91700 | 13,976 | kotlin-godot-wrapper | Apache License 2.0 |
.teamcity/patches/buildTypes/WindowsNetFxTesting_2019.kts | OctopusDeploy | 294,316,810 | false | {"C#": 210802, "Kotlin": 41551, "PowerShell": 3005, "Shell": 2342, "Batchfile": 214} | package patches.buildTypes
import jetbrains.buildServer.configs.kotlin.v2019_2.*
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.CommitStatusPublisher
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.commitStatusPublisher
import jetbrains.buildServer.configs.kotlin.v2019_2.ui.*
/*
T... | 0 | C# | 3 | 1 | 9d6a8e9c97f66f1c0ab24a22f9ddc00e30d25b13 | 1,242 | Sashimi.AzureAppService | Apache License 2.0 |
src/main/java/com/wald/mainject/inject/definition/ComponentKey.kt | Waldemared | 338,810,220 | false | null | package com.wald.mainject.inject.definition
import com.wald.mainject.inject.InstanceBasedQualifierDescriptor
import com.wald.mainject.inject.QualifierDescriptor
import com.wald.mainject.inject.TypeBasedQualifierDescriptor
import com.wald.mainject.inject.qualify.AnnotationType
import kotlin.reflect.KType
import kotlin.... | 1 | null | 1 | 1 | eb8ea2dc2697f1d96636cceb1e97ca044b2fd89f | 1,737 | mainject-core | MIT License |
data/trailers/api/src/commonMain/kotlin/com.thomaskioko.tvmaniac.data.trailers.implementation/TrailerRepository.kt | thomaskioko | 361,393,353 | false | null | package com.thomaskioko.tvmaniac.data.trailers.implementation
import com.thomaskioko.tvmaniac.core.db.Trailers
import com.thomaskioko.tvmaniac.core.networkutil.model.Either
import com.thomaskioko.tvmaniac.core.networkutil.model.Failure
import kotlinx.coroutines.flow.Flow
interface TrailerRepository {
fun isYoutubeP... | 7 | null | 24 | 217 | 90d74c48f6d6016c0081363eca2271fe5591b692 | 502 | tv-maniac | Apache License 2.0 |
dataforge-meta/src/commonMain/kotlin/space/kscience/dataforge/meta/exoticValues.kt | SciProgCentre | 148,831,678 | false | {"Kotlin": 408170} | package space.kscience.dataforge.meta
import space.kscience.dataforge.names.Name
import kotlin.properties.ReadOnlyProperty
import kotlin.properties.ReadWriteProperty
/**
* A value built from string which content and type are parsed on-demand
*/
public class LazyParsedValue(public val string: String) : Value {
... | 14 | Kotlin | 3 | 25 | d80846d5fbd4d232b7506f5b4124cddfdc61d17e | 3,813 | dataforge-core | Apache License 2.0 |
performance/performance/src/main/java/com/emergetools/test/EmergeLocalJUnit4ClassRunner.kt | EmergeTools | 645,957,551 | false | null | package com.emergetools.test
import androidx.benchmark.perfetto.ExperimentalPerfettoCaptureApi
import androidx.benchmark.perfetto.ExperimentalPerfettoTraceProcessorApi
import androidx.benchmark.perfetto.PerfettoTrace
import androidx.benchmark.perfetto.PerfettoTraceProcessor
import androidx.test.internal.runner.junit4.... | 9 | null | 2 | 9 | 8174b9c6e2d7791e01363aabd4d287736bfa38c4 | 16,928 | emerge-android | Apache License 2.0 |
src/main/kotlin/no/nav/familie/klage/infrastruktur/health/BrevHealth.kt | navikt | 524,953,794 | false | {"Kotlin": 623807, "Dockerfile": 153} | package no.nav.familie.klage.infrastruktur.health
import no.nav.familie.http.health.AbstractHealthIndicator
import no.nav.familie.klage.brev.BrevClient
import org.springframework.context.annotation.Profile
import org.springframework.stereotype.Component
@Component
@Profile("!local")
class BrevHealth(client: BrevClien... | 9 | Kotlin | 0 | 2 | c0eb06e0682c6970f64a564784a4813d1bb2884b | 377 | familie-klage | MIT License |
app/src/test/java/io/github/wulkanowy/data/repositories/message/MessageRepositoryTest.kt | mafineeek | 297,426,962 | true | {"Kotlin": 966636, "HTML": 1949, "Shell": 220} | package io.github.wulkanowy.data.repositories.message
import io.github.wulkanowy.data.Status
import io.github.wulkanowy.data.db.entities.MessageWithAttachment
import io.github.wulkanowy.data.db.entities.Student
import io.github.wulkanowy.getMessageEntity
import io.mockk.MockKAnnotations
import io.mockk.Runs
import io.... | 0 | null | 0 | 0 | b0b3ccfd530e2b450804c194365b4e4fe225c754 | 4,187 | wulkanowy | Apache License 2.0 |
app/src/main/java/com/jthou/wanandroidkotlin/fragment/KnowledgeSystemFragment.kt | jthou20121212 | 210,117,827 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 101, "XML": 78, "Java": 11} | package com.jthou.wanandroidkotlin.fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.lifecycle.Observer
import androidx.recyclerview.widget.LinearLayoutManager
import com.jthou.wanandroidkotlin.adapter.KnowledgeSystemAdapter
impo... | 0 | Kotlin | 0 | 0 | 7518eccff844b4c9191f69b7d9c6b72b13373f49 | 1,766 | WanAndroidKotlin | Apache License 2.0 |
tests/integration-tests/src/test/kotlin/config/VaultAuthType.kt | hyperledger | 512,835,706 | false | {"Scala": 2982192, "Kotlin": 242404, "TypeScript": 61063, "Shell": 30427, "Gherkin": 25384, "Python": 13723, "JavaScript": 3988, "Smarty": 2922} | package config
enum class VaultAuthType {
APP_ROLE,
TOKEN
}
| 42 | Scala | 22 | 80 | c5071d5707e8c79b450f82c0c891f77d2eb26b95 | 69 | identus-cloud-agent | Apache License 2.0 |
src/main/kotlin/com/github/secretx33/imagetopdf/util/Util.kt | SecretX33 | 669,934,271 | false | {"Kotlin": 34971, "Batchfile": 1935} | package com.github.secretx33.imagetopdf.util
import com.drew.metadata.Metadata
import com.drew.metadata.exif.ExifIFD0Directory
import com.github.secretx33.imagetopdf.exception.QuitApplicationException
import com.github.secretx33.imagetopdf.model.ImageMirroring
import com.github.secretx33.imagetopdf.model.ImageRotation... | 0 | Kotlin | 0 | 1 | fd6f834829f175f79fb457d98ca0f89728845190 | 3,862 | ImageToPdf | MIT License |
kt/godot-library/src/main/kotlin/godot/gen/godot/NavigationPolygon.kt | ShalokShalom | 343,354,086 | true | {"Kotlin": 516486, "GDScript": 294955, "C++": 262753, "C#": 11670, "CMake": 2060, "Shell": 1628, "C": 959, "Python": 75} | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName")
package godot
import godot.annotation.GodotBaseType
import god... | 0 | null | 0 | 1 | 7b9b195de5be4a0b88b9831c3a02f9ca06aa399c | 4,673 | godot-jvm | MIT License |
app/src/main/java/ir/digireza/tmdb/app/constants/Constant.kt | rezanasirzadeh | 577,109,305 | false | {"Kotlin": 172041} | package ir.digireza.tmdb.app.constants
class Constant {
companion object {
const val BASE_URL = "https://api.themoviedb.org/3/"
const val TMDB_TOKEN = "<PASSWORD>"
const val IMAGE_ADDRESS = "https://image.tmdb.org/t/p/w500/"
// Intent params
const val PAGE_TITLE_KEY = "p... | 0 | Kotlin | 0 | 1 | 83a8d11ffa2febc03b3cbeac0e13865ede8cf9f9 | 576 | tmdb-android | Apache License 2.0 |
app/src/test/java/com/javiermarsicano/sportsfixture/views/fixtureslist/FixturesListPresenterTest.kt | jmarsican | 219,083,685 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 1, "Kotlin": 44, "XML": 13, "JSON": 2} | package com.javiermarsicano.sportsfixture.views.fixtureslist
import com.javiermarsicano.sportsfixture.TrampolineSchedulerRule
import com.javiermarsicano.sportsfixture.data.repository.FixtureRepository
import com.javiermarsicano.sportsfixture.views.models.Fixture
import io.reactivex.Single
import org.junit.Before
impor... | 1 | null | 1 | 1 | 3b301603f1d283d2e09d925ac7a0fb6a6b3a8b7a | 1,753 | sports-fixture | Apache License 2.0 |
app/src/main/java/com/m3rc/beerbox/di/module/ActivityModule.kt | M3rcur14l | 171,579,998 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 41, "XML": 46, "Java": 5} | package com.m3rc.beerbox.di.module
import com.m3rc.beerbox.app.beer.BeerActivity
import com.m3rc.beerbox.di.module.fragment.BeerFragmentModule
import com.m3rc.beerbox.di.scope.ActivityScoped
import dagger.Module
import dagger.android.ContributesAndroidInjector
@Module
abstract class ActivityModule {
@ActivitySco... | 1 | null | 1 | 1 | 7647e42d4c1011ee125b6f848e914b8d090d795b | 444 | Beer-Box | Apache License 2.0 |
app/src/main/java/com/android/tvflix/config/FeatureFlagModule.kt | reactivedroid | 98,877,626 | false | {"Kotlin": 98758} | package com.android.tvflix.config
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
@InstallIn(SingletonComponent::class)
@Module
object FeatureFlagModule {
@FavoritesFeatureFlag
@Provides
fun provideFavoritesFeatureFlag(appConfig: Ap... | 0 | Kotlin | 59 | 412 | 3f36749698316000b6dfbe2195f8be9cdf10e155 | 435 | TvFlix | MIT License |
example/app-jvm/src/main/java/ru/unit/orchestra_features/example/jvm/TestSecond.kt | why-iskra | 689,642,973 | false | {"Kotlin": 102496} | package ru.unit.orchestra_features.example.jvm
import ru.unit.orchestra_features.common.annotation.FeatureScope
@FeatureScope(dependsOn = [TestFirst.sc::class])
class TestSecond | 0 | Kotlin | 0 | 1 | 7b9b9301f4b377cae180d0025d03dbff86af8bfd | 179 | orchestra-features | MIT License |
dicoding/belajar-fundamental-aplikasi-android/AndroidKtxSingleEvent/app/src/main/java/id/my/mrgsrylm/androidktxsingleevent/ReviewAdapter.kt | mrgsrylm | 740,344,950 | false | {"Kotlin": 306052} | package id.my.mrgsrylm.androidktxsingleevent
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
class ReviewAdapter(private val listReview: List<String>) :
RecyclerView.Adapter<ReviewAdapter.View... | 0 | Kotlin | 0 | 1 | 253f1300c8afa19fb23eb29eedf0e8f10940114e | 860 | kotlin-sandbox | MIT License |
composeApp/src/commonMain/kotlin/data/EmojiList.kt | anwar-pasaribu | 772,492,453 | false | {"Kotlin": 259142, "Ruby": 4931, "Swift": 568, "HTML": 304} | package data
import androidx.compose.ui.graphics.Color
import kotlinx.collections.immutable.toImmutableList
import ui.screen.emojis.model.EmojiUiModel
object EmojiList {
private val emojiList by lazy {
listOf(
"\uD83D\uDE00", // 😀 Grinning Face
"\uD83D\uDE01", // 😁 Beaming Face ... | 0 | Kotlin | 0 | 0 | 6b0fd1a88645a400072722d8ee63f56dfb9391cc | 12,400 | Mabia | MIT License |
app/src/main/java/com/serhatd/streamtapedownloader/ui/helper/ToastManager.kt | serhat-demir | 619,237,956 | false | null | package com.serhatd.streamtapedownloader.ui.helper
import android.content.Context
import android.widget.Toast
import com.serhatd.streamtapedownloader.R
class ToastManager(private val context: Context) {
fun showMessage(toastMessage: ToastMessage, message: String = "") {
val msg = when(toastMessage) {
... | 1 | Kotlin | 0 | 2 | 63302410a49663f317845fdee4ca2be2d51f18e2 | 1,025 | streamtape-downloader | MIT License |
src/main/kotlin/io/github/vyo/strakh/goap/engine/Analyser.kt | vyo | 44,870,177 | false | {"Kotlin": 16105} | package io.github.vyo.strakh.goap.engine
/**
* Created by <NAME> on 21.11.2015.
*/
| 0 | Kotlin | 0 | 0 | 520882888973aa775295fafde8d017613cc58247 | 86 | strakh | MIT License |
app/src/main/java/com/sinthoras/randograf/cardviews/CardView.kt | SinTh0r4s | 444,149,281 | false | null | package com.sinthoras.randograf.cardviews
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.sinthoras.randograf.cards.Card
abstract class CardView protected constructor(contentLayerID: Int) : Fragment(con... | 1 | null | 1 | 1 | 5319ccb2ebbb9e90f957a065794ad5aebff20459 | 708 | Randograf | MIT License |
restassured/src/test/kotlin/org/mex/restassured/ReqresPojoTest.kt | xomarnd | 625,173,819 | false | null | package org.mex.restassured
import io.qameta.allure.Feature
import io.restassured.RestAssured
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.DisplayName
import org.junit.jupiter.api.Test
import org.mex.restassured.colors.Data
import org.mex.restassured.registration.Register
import org.mex.restass... | 0 | Kotlin | 0 | 0 | 108705f4f50bc3f567ae17ac408dbc727c3008cd | 6,681 | aqa-project | Apache License 2.0 |
src/pomodoro/actions.kt | dkandalov | 691,476 | false | {"Kotlin": 39380, "Java": 10075} | package pomodoro
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.components.service
import com.intellij.openapi.project.DumbAware
import pomodoro.model.PomodoroState.Mode.*
import pomodoro.model.time.Time
class StartOrStopPomodoro : ... | 8 | Kotlin | 22 | 129 | 37586ed88c1b7f51e9e70f4105adae1bb73ce51b | 995 | pomodoro-tm | Apache License 2.0 |
app/src/main/java/com/projectAnya/stunthink/presentation/screen/monitoring/child/list/ChildListViewModel.kt | StuntedProject | 514,847,131 | false | {"Kotlin": 522096} | package com.projectAnya.stunthink.presentation.screen.monitoring.child.list
import androidx.compose.runtime.State
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.projectAnya.stunthink.domain.common.Resource
import com.projectAnya.st... | 0 | Kotlin | 0 | 1 | fb2cd6cb887908070962c8a4e05c87197c333d53 | 2,070 | Mobile | Freetype Project License |
app/src/androidTest/java/com/adammcneilly/toa/addtask/ui/AddTaskContentTest.kt | AdamMc331 | 402,227,056 | false | null | package com.adammcneilly.toa.addtask.ui
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.assertIsFocused
import androidx.compose.ui.test.junit4.createComposeRule
import androidx.compose.ui.test.onNodeWithTag
import androidx.compose.ui.test.onNodeWithText
import com.adammcneilly.toa.add... | 41 | null | 19 | 146 | ef4f4ba033fd46a45f42d26897800a2936e07ad3 | 1,631 | TOA | MIT License |
app/src/main/java/com/example/aifash/ui/users/VoucherAdapter.kt | takamanu | 711,208,871 | false | {"Kotlin": 207697} | package com.example.aifash.ui.users
import android.content.Context
import android.content.SharedPreferences
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.... | 0 | Kotlin | 0 | 0 | 7ef369e0211026141f78da0b70d4d6eebada20a9 | 2,682 | mobile_aplikasi_fashion | MIT License |
src/test/kotlin/no/ssb/timeusesurveyapi/domain/householdmembertest/HouseholdMemberControllerTest.kt | statisticsnorway | 566,324,955 | false | null | package no.ssb.timeusesurveyapi.domain.householdmembertest
import no.ssb.timeusesurveyapi.*
import no.ssb.timeusesurveyapi.domain.householdmember.deleteHouseholdMembersByIdPath
import no.ssb.timeusesurveyapi.domain.householdmember.getHouseholdMembersPath
import no.ssb.timeusesurveyapi.domain.householdmember.postHouseh... | 2 | Kotlin | 0 | 1 | 5d88e0e719d784de460a9ca24eb866c64ad17ea8 | 6,418 | timeuse-survey-api | MIT License |
api/coroutines/v1.5.0/src/commonMain/kotlin/dev/whyoleg/ktd/api/file/CancelUploadFile.kt | whyoleg | 202,767,670 | false | null | @file:Suppress(
"unused"
)
@file:UseExperimental(
BotsOnly::class,
TestingOnly::class
)
package dev.whyoleg.ktd.api.file
import dev.whyoleg.ktd.*
import dev.whyoleg.ktd.api.*
import dev.whyoleg.ktd.api.TdApi.*
/**
* Stops the uploading of a file
* Supported only for files uploaded by using uploadFile
... | 7 | Kotlin | 11 | 45 | 7284eeabef0bd002dc72634351ab751b048900e9 | 772 | ktd | Apache License 2.0 |
ospf-kotlin-utils/src/main/fuookami/ospf/kotlin/utils/parallel/SumOf.kt | fuookami | 359,831,793 | false | {"Kotlin": 1866628, "Python": 6629} | package fuookami.ospf.kotlin.utils.parallel
import kotlinx.coroutines.*
import fuookami.ospf.kotlin.utils.math.*
import fuookami.ospf.kotlin.utils.error.*
import fuookami.ospf.kotlin.utils.operator.*
import fuookami.ospf.kotlin.utils.functional.*
suspend inline fun <T, U> Iterable<T>.sumOfParallelly(
constants: A... | 0 | Kotlin | 0 | 1 | 3b61f048a470c1dc24b0bbe90793b59cba193b77 | 7,627 | ospf-kotlin | Apache License 2.0 |
app/src/test/java/org/p2p/wallet/swap/serum/utils/CoroutineTest.kt | p2p-org | 306,035,988 | false | null | package org.p2p.wallet.swap.serum.utils
import org.junit.Rule
open class CoroutineTest {
@get:Rule
val rule = CoroutinesTestWatcher()
}
| 9 | Kotlin | 14 | 23 | 2badf683d824c57654b12ea0c023f96e1a5d0c19 | 147 | key-app-android | MIT License |
library/src/main/java/com/github/pelmenstar1/rangecalendar/selection/DefaultSelectionTransitionController.kt | pelmenstar1 | 454,918,220 | false | {"Kotlin": 666840} | package com.github.pelmenstar1.rangecalendar.selection
import android.graphics.PointF
import android.graphics.RectF
import androidx.core.graphics.component1
import androidx.core.graphics.component2
import com.github.pelmenstar1.rangecalendar.CellMeasureManager
import com.github.pelmenstar1.rangecalendar.utils.lerp
cl... | 2 | Kotlin | 0 | 13 | c3b64a254a0e5e9bfb9a1b4db53261d1d5373be5 | 4,116 | RangeCalendar | MIT License |
feature_favourite/src/main/kotlin/com/igorwojda/showcase/feature/favourite/domain/FavouriteDomainModule.kt | igorwojda | 158,460,787 | false | null | package com.igorwojda.showcase.feature.favourite.domain
import com.igorwojda.showcase.feature.favourite.MODULE_NAME
import org.kodein.di.Kodein
internal val domainModule = Kodein.Module("${MODULE_NAME}DomainModule") { }
| 36 | Kotlin | 762 | 5,527 | f7919d0a9a718433b85583b285b1b99e19df27f0 | 222 | android-showcase | MIT License |
library/src/main/java/org/jetbrains/anko/collections/Collections.kt | chenfei0928 | 130,954,695 | false | {"Kotlin": 928525, "Java": 336337} | package org.jetbrains.anko.collections
/**
* Iterate the receiver [List] backwards using an index.
*
* @f an action to invoke on each list element (index, element).
*/
inline fun <T> List<T>.forEachReversedWithIndex(f: (Int, T) -> Unit) {
var i = size - 1
while (i >= 0) {
f(i, get(i))
i--
... | 0 | Kotlin | 0 | 7 | da7041e5f2c665dea27e56223112046bdf9c3910 | 328 | Util | MIT License |
src/main/kotlin/no/nav/syfo/behandler/kafka/dialogmeldingfrombehandler/KafkaDialogmeldingFromBehandlerDTO.kt | navikt | 378,118,189 | false | null | package no.nav.syfo.behandler.kafka.dialogmeldingfrombehandler
import java.time.LocalDateTime
data class KafkaDialogmeldingFromBehandlerDTO(
val msgId: String,
val navLogId: String,
val mottattTidspunkt: LocalDateTime,
val personIdentPasient: String,
val personIdentBehandler: String,
val legek... | 0 | Kotlin | 1 | 0 | ac0942c5fde21a82e3f4bbe1c3500fa03264c051 | 471 | isdialogmelding | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.