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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sample-app/src/main/kotlin/io/github/ilyapavlovskii/kmm/force/update/sample/MainActivity.kt | IlyaPavlovskii | 617,508,906 | false | null | package io.github.ilyapavlovskii.kmm.force.update.sample
import android.net.Uri
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.MaterialTheme
import androidx.compose.m... | 0 | Kotlin | 0 | 0 | aa995a9b897a007507640a29698e8da45957657c | 1,560 | force-update | Apache License 2.0 |
composeApp/src/commonMain/kotlin/di/RepoModule.kt | FrankieShao | 815,291,399 | false | {"Kotlin": 347190, "Swift": 657} | package di
import core.domain.repo.AccountRepo
import core.domain.repo.AccountRepoImpl
import core.domain.repo.AuthRepo
import core.domain.repo.AuthRepoImpl
import core.domain.repo.ConfigureRepo
import core.domain.repo.ConfigureRepoImpl
import org.koin.dsl.module
/**
* @author <NAME>
* @created 10/06/2024
* Descri... | 0 | Kotlin | 0 | 0 | 5137399a0b2d5554aa49377ed5d853cfece5dc68 | 583 | FlickFusion | MIT License |
src/main/kotlin/org/beckn/one/sandbox/bap/client/order/cancel/mappers/CancelClientResponseMapper.kt | OSSVerse | 853,138,400 | false | {"Kotlin": 651081, "Jinja": 3324} | package org.beckn.one.sandbox.bap.client.order.cancel.mappers
import arrow.core.Either
import org.beckn.one.sandbox.bap.client.shared.dtos.ClientCancelResponse
import org.beckn.one.sandbox.bap.client.shared.services.GenericOnPollMapper
import org.beckn.one.sandbox.bap.errors.HttpError
import org.beckn.protocol.schemas... | 0 | Kotlin | 0 | 8 | b3ca6a6455f41b9d53bbb35f5c01e31c1fde2638 | 802 | OSSVerse-buyer-app | Apache License 2.0 |
preferences/src/main/java/com/sensorberg/filepreferences/FileAccess.kt | sensorberg | 219,981,581 | false | null | package com.sensorberg.filepreferences
interface FileAccess {
fun loadData(): String?
fun saveData(data: String)
} | 0 | Kotlin | 1 | 0 | 16e0a203eaa621ac9e243e1da1b1763c9e3ea9f0 | 117 | file-preferences | MIT License |
db/src/testFixtures/kotlin/com/dzirbel/kotify/db/BlockingTransaction.kt | dzirbel | 211,595,180 | false | null | package com.dzirbel.kotify.db
import kotlinx.coroutines.runBlocking
import org.jetbrains.exposed.sql.Transaction
import kotlin.contracts.InvocationKind
import kotlin.contracts.contract
/**
* Blocking wrapper around [KotifyDatabase.transaction] for use in tests.
*/
fun <T> KotifyDatabase.blockingTransaction(statemen... | 2 | Kotlin | 2 | 37 | 8302361dabb135584eb6c8264cf0fc0e9b9e6c03 | 573 | kotify | MIT License |
app/router/src/main/java/com/gmail/jiangyang5157/router/fragment/setup/AsFragmentActivity.kt | jiangyang5157 | 553,993,370 | false | null | package com.gmail.jiangyang5157.router.fragment.setup
import androidx.fragment.app.FragmentActivity
import com.gmail.jiangyang5157.router.error.RouterException
interface AsFragmentActivity
fun AsFragment.isFragmentActivity() = this is FragmentActivity
fun AsFragmentActivity.expectThisToBeAFragmentActivity() =
t... | 0 | Kotlin | 0 | 0 | bd3252ce62e592405fa2ffa4ce82e3dbab339df2 | 470 | kotlin-multiplatform-mobile | MIT License |
integration-test-core/src/main/kotlin/integration/core/WrappedStringTypeConverter.kt | komapper | 349,909,214 | false | {"Kotlin": 2652019, "Java": 57131} | package integration.core
import org.komapper.core.spi.DataTypeConverter
import kotlin.reflect.KClass
class WrappedStringTypeConverter : DataTypeConverter<WrappedString, String> {
override val exteriorClass: KClass<WrappedString> = WrappedString::class
override val interiorClass: KClass<String> = String::class... | 10 | Kotlin | 13 | 282 | 66dad22411fe5aebb51b7227a8eb9247a88891cf | 522 | komapper | Apache License 2.0 |
app/src/main/java/com/example/netbond/UserSearchBarFragment.kt | G10on | 564,528,324 | false | null | package com.example.netbond
import android.os.Bundle
import androidx.core.os.bundleOf
import android.text.Editable
import android.text.TextWatcher
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.view.size
import androi... | 0 | Kotlin | 0 | 0 | fa0b729fe5b1f28e3e6239b3f8c799957f97fcaf | 5,929 | netbond | Apache License 2.0 |
ndarray/ndarray-core/src/commonMain/kotlin/io/kinference/ndarray/extensions/bitwise/or/BitOrUtils.kt | JetBrains-Research | 244,400,016 | false | null | package io.kinference.ndarray.extensions.bitwise.or
import io.kinference.primitives.types.PrimitiveType
infix fun PrimitiveType.or(other: PrimitiveType): PrimitiveType = throw UnsupportedOperationException()
| 4 | Kotlin | 5 | 95 | e47129b6f1e2a60bf12404d8126701ce7ef4db3a | 211 | kinference | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/quicksight/CfnTemplateBarChartFieldWellsPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 63959868} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.quicksight
import io.cloudshiftdev.awscdkdsl.common.CdkDs... | 3 | Kotlin | 0 | 3 | c59c6292cf08f0fc3280d61e7f8cff813a608a62 | 1,643 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/innercirclesoftware/trimio/app/Injection.kt | maciej-kaznowski | 163,348,833 | false | {"Kotlin": 47701} | package com.innercirclesoftware.trimio.app
import android.content.Context
import android.content.res.AssetManager
import com.innercirclesoftware.trimio.trim.periodic.TrimScheduler
import com.innercirclesoftware.trimio.ui.base.ActivityComponent
import dagger.Component
import dagger.Module
import dagger.Provides
import ... | 1 | Kotlin | 0 | 0 | 66b3d72445fe57985a773d1a508747709399178e | 984 | TrimIO | Apache License 2.0 |
plugin/src/main/kotlin/top/iseason/bukkit/mmogem/ui/RebuildUI.kt | Iseason2000 | 802,720,492 | false | {"Kotlin": 264289, "Java": 43993} | package top.iseason.bukkit.mmogem.ui
import io.lumine.mythic.lib.UtilityMethods
import io.lumine.mythic.lib.api.item.NBTItem
import net.Indyuce.mmoitems.MMOItems
import net.Indyuce.mmoitems.api.item.mmoitem.LiveMMOItem
import net.Indyuce.mmoitems.api.player.PlayerData
import net.Indyuce.mmoitems.api.util.NumericStatFo... | 0 | Kotlin | 0 | 0 | 4e531adf2e66a6e74e8d326d10d876f56d9dc74a | 14,052 | MMOGem | MIT License |
app/src/main/java/com/loongwind/frp/client/ui/FrpcConfigListActivity.kt | loongwind | 525,796,108 | false | {"Kotlin": 49568} | package com.loongwind.frp.client.ui
import android.content.Intent
import android.os.Bundle
import android.view.View
import com.loongwind.ardf.base.BaseBindingViewModelActivity
import com.loongwind.ardf.base.event.EVENT_BACK
import com.loongwind.frp.client.constant.EVENT_RESULT
import com.loongwind.frp.client.constant.... | 0 | Kotlin | 0 | 0 | a7daf9f1d7e262e930b10a88d09a063f632065de | 1,151 | android-frp-client | Apache License 2.0 |
gltf-gradle-plugin/src/test/kotlin/com/github/dwursteisen/gltf/PluginTest.kt | minigdx | 242,223,166 | false | null | package com.github.dwursteisen.gltf
import org.gradle.testkit.runner.GradleRunner
import org.gradle.testkit.runner.TaskOutcome
import org.junit.Assert.assertEquals
import org.junit.Before
import org.junit.Rule
import org.junit.Test
import org.junit.rules.TemporaryFolder
import java.io.File
class PluginTest {
@Ru... | 1 | Kotlin | 2 | 2 | 180f42091dc8d3ab2c3249423bc0dbc5fb891b20 | 1,632 | minigdx-glft-parser | MIT License |
module-server/src/main/kotlin/de/twomartens/wahlrecht/service/ElectionResultService.kt | 2martens | 673,979,017 | false | null | package de.twomartens.wahlrecht.service
import de.twomartens.wahlrecht.model.db.ElectionResult
import de.twomartens.wahlrecht.repository.ElectionResultRepository
import org.springframework.http.HttpStatus
import org.springframework.stereotype.Service
import org.springframework.web.server.ResponseStatusException
@Serv... | 0 | Kotlin | 0 | 0 | a25a1f927f33c20b4a7fd0444403c7c706225204 | 1,676 | wahlrecht | Apache License 2.0 |
best_practices/contrib/depression_detection/app/app-side/DepressionTest-dev/app/src/main/java/com/chris/depression/ui/survey/SurveyState.kt | Ascend | 313,282,739 | false | null | /*
* Copyright 2022 Leon.
*/
package com.chris.depression.ui.survey
import androidx.annotation.StringRes
import androidx.compose.runtime.Stable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
@Stable
class QuestionState(
val questi... | 0 | Python | 27 | 68 | fc2aea93e48be8f8cee51d0c6c1b13a08155f83a | 1,016 | samples | Apache License 2.0 |
app/src/main/java/com/boltuix/android/NotesViewModel.kt | BoltUIX | 542,468,449 | false | {"Kotlin": 12601} | package com.boltuix.android
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.Dispatchers.IO
import kotlinx.coroutines.launch
class NotesViewModel(application: Application) :
AndroidViewModel(application) {
// DataStor... | 0 | Kotlin | 0 | 2 | e9a597922a5482b01909283832e628ee0ebbba58 | 617 | Dark-theme-Material-Design | Apache License 2.0 |
app/src/main/java/com/boltuix/android/NotesViewModel.kt | BoltUIX | 542,468,449 | false | {"Kotlin": 12601} | package com.boltuix.android
import android.app.Application
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.Dispatchers.IO
import kotlinx.coroutines.launch
class NotesViewModel(application: Application) :
AndroidViewModel(application) {
// DataStor... | 0 | Kotlin | 0 | 2 | e9a597922a5482b01909283832e628ee0ebbba58 | 617 | Dark-theme-Material-Design | Apache License 2.0 |
debugger/src/main/kotlin/org/rust/debugger/settings/RsBreakOnPanicConfigurableUi.kt | nikolai-frolov | 436,156,261 | true | {"Kotlin": 9001687, "Rust": 126471, "Python": 90150, "HTML": 19230, "Lex": 12287, "Shell": 760, "Java": 688, "RenderScript": 89} | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.debugger.settings
import com.intellij.ui.components.JBCheckBox
import com.intellij.ui.layout.LayoutBuilder
class RsBreakOnPanicConfigurableUi : RsDebuggerUiComponent() {
private val breakOn... | 1 | null | 0 | 0 | c5369c809bdefd1f098ed4e3bb2244fa0f221a98 | 956 | intellij-rust | MIT License |
android/library-magiccube/src/main/java/com/hellobike/magiccube/model/rule/FontSizeRuleModel.kt | hellof2e | 651,011,094 | false | {"Kotlin": 499995, "Objective-C": 421129, "JavaScript": 39299, "Java": 29943, "Swift": 24514, "Ruby": 5345, "TypeScript": 3969, "Shell": 255} | package com.hellobike.magiccube.model.rule
/**
*
* @Description: java类作用描述
* @Author: nikozxh
* @CreateDate: 2021/2/2 4:58 PM
*/
class FontSizeRuleModel {
} | 3 | Kotlin | 9 | 60 | 8123fdaafa9ee7eaeee43fb73789b7fa3feac697 | 178 | Wukong | Apache License 2.0 |
app/src/main/java/com/cesarwillymc/agrostest/common/Bindings.kt | cesarwillymc | 392,344,387 | false | null | package com.cesarwillymc.agrostest.common
import android.view.View
import android.widget.EditText
import android.widget.ImageView
import androidx.cardview.widget.CardView
import androidx.databinding.BindingAdapter
import com.bumptech.glide.Glide
import com.cesarwillymc.agrostest.R
@BindingAdapter("app:visibilityTex... | 0 | Kotlin | 0 | 0 | 8b8e63e33027431477462f28a2b1529decd75578 | 1,170 | AgrosTest | Apache License 2.0 |
core/src/main/kotlin/org/rewedigital/dialog/model/google/Device.kt | rewe-digital-incubator | 169,550,416 | false | null | package org.rewedigital.dialog.model.google
data class Device(val location: Location?) {
data class Location(
val coordinates: Coordinates?,
val formattedAddress: String?,
val zipCode: String?,
val city: String?,
val postalAddress: Any?,
val name: String?,
v... | 3 | Kotlin | 5 | 10 | 7ea2fac743323acd9e17f41eb4511df1782b874d | 529 | dialog | MIT License |
client/android/ui-test-common/src/main/java/com/yandex/test/idling/SimpleIdlingResource.kt | divkit | 523,491,444 | false | {"Kotlin": 7327303, "Swift": 5164616, "Svelte": 1148832, "TypeScript": 912803, "Dart": 630920, "Python": 536031, "Java": 507940, "JavaScript": 152546, "CSS": 37870, "HTML": 23434, "C++": 20911, "CMake": 18677, "Shell": 8895, "PEG.js": 7210, "Ruby": 3723, "C": 1425, "Objective-C": 38} | package com.yandex.test.idling
import android.content.ContentValues.TAG
import android.os.Handler
import android.os.Looper
import android.util.Log
import androidx.test.espresso.IdlingPolicies
import androidx.test.espresso.IdlingResource
abstract class SimpleIdlingResource(
private val pollingIntervalMillis: Long ... | 5 | Kotlin | 128 | 2,240 | dd102394ed7b240ace9eaef9228567f98e54d9cf | 1,521 | divkit | Apache License 2.0 |
src/main/kotlin/com/mthaler/aparser/dice/Roll.kt | mthaler | 324,088,102 | false | {"Kotlin": 39194} | package com.mthaler.aparser.dice
interface Roll {
fun d(sides: Int): Int
} | 0 | Kotlin | 0 | 0 | c261caeb7c4261c56d8f37666e031162b73967a1 | 79 | arithmetic-expression-parser | Apache License 2.0 |
src/applications/quantum/QuantumFourierTransform.kt | EtherTyper | 114,335,931 | false | null | package applications.quantum
fun QFT(qubits: Int) = QuantumCircuit.circuit(qubits, {
for (i in 0 until qubits) {
applyGate(listOf(i), QuantumGate.H)
for (j in i + 1 until qubits) {
applyGate(listOf(j, i), QuantumGate.controlled(
QuantumGate.R(
... | 1 | Kotlin | 0 | 5 | 415941464f2c59ce9df546e7881067be980f59e5 | 413 | MathLibrary | MIT License |
domain/src/commonMain/kotlin/space/compoze/hiero/domain/collectionitem/interactor/CollectionItemUpdateById.kt | Firely-Pasha | 644,746,942 | false | null | package space.compoze.hiero.domain.collectionitem.interactor
import arrow.core.raise.either
import space.compoze.hiero.domain.collectionitem.CollectionItemNotification
import space.compoze.hiero.domain.collectionitem.CollectionItemNotifier
import space.compoze.hiero.domain.collectionitem.CollectionItemRepository
impor... | 0 | null | 0 | 1 | de86473ed3fa46647b1cb4db91987a1aa2848c78 | 1,314 | hiero-japanese | MIT License |
app/src/main/java/com/sandoval/bogosunny/data/AppApiHelper.kt | juanchosandox90 | 226,907,473 | false | null | package com.sandoval.bogosunny.data
import com.sandoval.bogosunny.data.network.ApiHelper
import com.sandoval.bogosunny.data.network.ApiService
import com.sandoval.bogosunny.data.network.model.forecast.Forecast
import com.sandoval.bogosunny.data.network.model.weather.CurrentWeather
import io.reactivex.Observable
import... | 0 | Kotlin | 0 | 1 | 75787c095e17e8882d144f265254f1862c337802 | 1,414 | BogoSunny | Apache License 2.0 |
app/src/main/java/io/github/yaraki/animateit/deck/s09container/CheeseCardFragment.kt | yaraki | 232,034,207 | false | {"Kotlin": 140014, "CSS": 105802, "HTML": 13600} | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 0 | Kotlin | 1 | 59 | e828bb5809379bd0933f26267d9047afce6e890a | 5,110 | AnimateIt | Apache License 2.0 |
app/src/main/java/com/example/car_builder/ViewModels/CarPartViewModel.kt | EikeMB | 700,591,077 | false | {"Kotlin": 92113} | package com.example.car_builder.ViewModels
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.car_builder.CRUD.CarPartRepository
import com.example.car_builder.CarPart
import com.example.car_builder.PartType
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.cor... | 3 | Kotlin | 0 | 0 | a7833fed4b4408ab743bae9658eb067178e18dd9 | 1,832 | AppDev2_Project | MIT License |
app/src/test/kotlin/no/nav/k9punsj/rest/eksternt/k9sak/TestK9SakService.kt | navikt | 216,808,662 | false | null | package no.nav.k9punsj.rest.eksternt.k9sak
import no.nav.k9punsj.TestProfil
import no.nav.k9punsj.felles.FagsakYtelseType
import no.nav.k9punsj.felles.dto.ArbeidsgiverMedArbeidsforholdId
import no.nav.k9punsj.felles.dto.PeriodeDto
import no.nav.k9punsj.integrasjoner.k9sak.Fagsak
import no.nav.k9punsj.integrasjoner.k9s... | 9 | Kotlin | 2 | 1 | 7993f85b435e54a1ef9a676e76e598ead2b7df66 | 1,664 | k9-punsj | MIT License |
app/src/main/java/com/nab/weatherforecast/ui/DailyForecastViewHolder.kt | phuongnguyen2302 | 517,059,024 | false | null | package com.nab.weatherforecast.ui
import androidx.recyclerview.widget.RecyclerView
import com.nab.weatherforecast.databinding.DailyForecastItemBinding
class DailyForecastViewHolder(private val binding: DailyForecastItemBinding) :
RecyclerView.ViewHolder(binding.root) {
fun bind(itemModel: DailyForecastItem... | 0 | Kotlin | 0 | 0 | 76179d8c809481a633e4dab8084365d51e4d2cd4 | 419 | weather_forecast | Apache License 2.0 |
app/src/main/java/com/bth/reciperadar/presentation/screens/inventoryscreen/InventoryScreen.kt | BryanAafjes | 718,555,578 | false | {"Kotlin": 284855} | package com.bth.reciperadar.presentation.screens.inventoryscreen
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.paddin... | 0 | Kotlin | 0 | 0 | 41498c9ca684e2f3511e99801dd8bd0d21a9e8d3 | 6,667 | RecipeRadar | MIT License |
app/src/main/java/com/redeyesncode/thinklogical/onboard/MainActivity.kt | RedEyesNCode | 510,875,627 | false | null | package com.redeyesncode.thinklogical.onboard
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.Gravity
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.LinearLayout
im... | 0 | Kotlin | 0 | 0 | 4b6172e985ed918376b1279927e1b838e189ecdc | 4,049 | illogical-crash | Apache License 2.0 |
presentation/src/main/java/ir/fallahpoor/enlightened/presentation/searchnews/view/SearchNewsFragment.kt | MasoodFallahpoor | 166,662,510 | false | null | package ir.fallahpoor.enlightened.presentation.searchnews.view
import android.app.Activity
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.inputmethod.InputMethodManager
import android.widget.Toast
import androidx.appcompat.widget.S... | 0 | Kotlin | 0 | 0 | d772ca3d0a8e7d15769a36398186ab13c7bc6e30 | 5,995 | Enlightened | Apache License 2.0 |
app/src/test/kotlin/kt/school/starlord/model/data/room/converter/PriceConverterTest.kt | suhocki | 174,985,255 | false | null | package kt.school.starlord.model.data.room.converter
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.squareup.moshi.JsonAdapter
import com.squareup.moshi.Moshi
import io.mockk.every
import io.mockk.mockk
import kt.school.starlord.domain.entity.product.Price
import org.junit.Before
import org.junit.Test... | 19 | Kotlin | 0 | 1 | 09a3bb151a3dfe6982adf7ca246f8b0b077e3644 | 1,486 | starlord | MIT License |
app/src/main/java/com/example/coinmarket/view/MarketAdapter.kt | MohsenJafaritadi | 751,207,258 | false | {"Kotlin": 27832} | package com.example.coinmarket.view.marketActivity
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import androidx.lifecycle.LiveData
import androidx.recyclerview.widget.RecyclerView
import com.b... | 0 | Kotlin | 0 | 0 | e4345cd847e6fb49a3641df00ee8e214aa2dc03f | 3,393 | CoinMarket | MIT License |
uniflow-androidx/src/main/java/io/uniflow/androidx/flow/DataFlowObserver.kt | Dollym89 | 299,012,928 | true | {"Kotlin": 106492, "Shell": 236} | /*
* Copyright 2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | null | 0 | 0 | 36d2914e1588470c5f904b5707a463d5802adf45 | 2,534 | uniflow-kt | Apache License 2.0 |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/services/ecs/patterns/ApplicationMultipleTargetGroupsFargateServiceDsl.kt | F43nd1r | 643,016,506 | false | null | package com.faendir.awscdkkt.generated.services.ecs.patterns
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.String
import kotlin.Unit
import software.amazon.awscdk.services.ecs.patterns.ApplicationMultipleTargetGroupsFargateService
import software.amazon.awscdk.services.ecs.pat... | 1 | Kotlin | 0 | 0 | b22e397ff37c5fce365a5430790e5d83f0dd5a64 | 1,926 | aws-cdk-kt | Apache License 2.0 |
app/src/main/java/com/example/androiddevchallenge/animate/ClearSkyAnimation.kt | maheshwari-e | 348,775,071 | false | null | package com.example.androiddevchallenge.animate
import androidx.compose.animation.core.*
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.*
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.ui.Alignment
import androidx.compose.... | 0 | Kotlin | 0 | 0 | e88a7bd7361b69db4ecf847422d39a0bd46289e0 | 3,519 | week4-jetpack-compose-challenge | Apache License 2.0 |
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/carousel/CarouselState.kt | androidx | 256,589,781 | false | {"Kotlin": 101448370, "Java": 64375670, "C++": 9133578, "AIDL": 605967, "Python": 310682, "Shell": 187759, "TypeScript": 40586, "HTML": 32277, "Groovy": 25622, "Svelte": 20307, "ANTLR": 19860, "CMake": 18003, "C": 16982, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019} | /*
* Copyright 2024 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 25 | Kotlin | 918 | 5,019 | 063c6938121b19f73d04517b1e7fdcb9e3309403 | 6,086 | androidx | Apache License 2.0 |
app/src/main/java/me/boger/geographic/core/AppConfiguration.kt | bogerchan | 103,030,572 | false | null | package me.boger.geographic.core
import android.content.Context
import android.graphics.Typeface
import android.util.DisplayMetrics
import android.util.TypedValue
import me.boger.geographic.util.Timber
/**
* Created by BogerChan on 2017/6/26.
*/
object AppConfiguration {
var screenWidth: Int = 0
var screen... | 0 | Kotlin | 3 | 11 | 60f93464110f9763da7a6c799577cbafbd90fdb6 | 1,143 | National-Geography | Apache License 2.0 |
app/src/main/java/com/jefftrotz/fitnesstracker/ui/screens/exercise/CreateExerciseScreen.kt | jmtrotz | 517,871,632 | false | {"Kotlin": 100631} | package com.jefftrotz.fitnesstracker.ui.screens.exercise
import androidx.compose.runtime.Composable
import androidx.navigation.NavController
@Composable
fun CreateExerciseScreen(navController: NavController) {
} | 0 | Kotlin | 0 | 0 | 23c73d1ce91b7cb0cd2a527f3bd05fc9f1596392 | 214 | Fitness-Tracker-App | Apache License 2.0 |
boutique/src/shoppingcart/Inventory.kt | paalfb | 173,618,465 | false | null | package shoppingcart
class Inventory {
companion object {
private var inventory: MutableList<ItemQuantity> = mutableListOf()
fun buildInventory(cleanup: Boolean) {
if (cleanup) inventory.clear()
inventory.add(30.bread)
inventory.add(40.juice)
inven... | 0 | Kotlin | 0 | 1 | 0e678b5d2b5d603278a920567daa9efd4802e65a | 2,911 | Boutique | MIT License |
app/src/main/java/com/example/clubdeportivo/screens/HomeUserScreen.kt | tiago-appdev | 803,323,597 | false | {"Kotlin": 38452} | package com.example.clubdeportivo.screens
import android.annotation.SuppressLint
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material... | 0 | Kotlin | 0 | 0 | 6832d9f705d5c3d6b0f1ce844e04a996df71c5fe | 1,341 | club-deportivo-android | MIT License |
app/src/main/kotlin/jp/cordea/mackerelclient/adapter/ServiceAdapter.kt | ariarijp | 55,407,057 | true | {"Kotlin": 156801} | package jp.cordea.mackerelclient.adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ArrayAdapter
import android.widget.TextView
import jp.cordea.mackerelclient.R
import jp.cordea.mackerelclient.api.response.Service
/**... | 0 | Kotlin | 0 | 0 | cde9b545372cf4a4f5d1020e7e144bcbd71db05c | 1,617 | MackerelClient | Apache License 2.0 |
app/src/main/java/com/example/echangeapp/domain/repositories/AvailableCurrencyRepository.kt | dtx12 | 273,499,039 | false | null | package com.example.echangeapp.domain.repositories
import com.example.echangeapp.domain.models.Currency
import com.example.echangeapp.domain.models.CurrencyAmount
interface AvailableCurrencyRepository {
fun read(base: Currency): CurrencyAmount
fun update(amount: CurrencyAmount)
} | 0 | Kotlin | 0 | 0 | 61b3a2265811262ce413a246230fa7418cd7e2c8 | 290 | ExchangeTestTask | MIT License |
examples/src/jvmMain/kotlin/org/kobjects/parserlib/examples/basic/BasicShell.kt | kobjects | 455,979,563 | false | {"Kotlin": 17076, "Ruby": 1599} | package org.kobjects.parserlib.examples.basic;
import org.kobjects.parserlib.examples.basic.Interpreter
suspend fun main() {
Interpreter().runShell()
} | 0 | Kotlin | 0 | 3 | 55990d510ef3323e1ac826b6812a26d6cd3d8149 | 157 | parsek | Apache License 2.0 |
app/src/main/java/ar/com/play2play/framework/bluetooth/BluetoothStateProviderImp.kt | UTN-FRBA-Mobile | 365,641,042 | false | null | package ar.com.play2play.framework.bluetooth
import android.bluetooth.BluetoothAdapter
import ar.com.play2play.data.bluetooth.BluetoothStateProvider
class BluetoothStateProviderImp : BluetoothStateProvider {
private val bluetoothAdapter by lazy { BluetoothAdapter.getDefaultAdapter() }
override fun isEnabled... | 0 | Kotlin | 1 | 0 | da5e0c7a2c648cda4ae4192b254495f3de83b4b3 | 354 | Play2Play | MIT License |
usvm-core/src/test/kotlin/org/usvm/solver/SoftConstraintsTest.kt | UnitTestBot | 586,907,774 | false | null | package org.usvm.solver
import io.ksmt.expr.KBitVec32Value
import io.ksmt.solver.z3.KZ3Solver
import io.mockk.every
import io.mockk.mockk
import io.mockk.verify
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Test
import org.usvm.UComponents
import org.usvm.UC... | 4 | Kotlin | 0 | 2 | a504c78f51690c551c6080d2c964c6a352b761f2 | 6,007 | usvm | Apache License 2.0 |
app/src/main/java/tk/paulmburu/moviesreview/utils/NetworkUtils.kt | Paulmburu | 239,030,330 | false | null | package tk.paulmburu.moviesreview.utils
import android.content.Context
import android.net.ConnectivityManager
import android.net.Network
import android.net.NetworkRequest
import android.os.Build
import androidx.annotation.RequiresApi
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import j... | 4 | Kotlin | 7 | 11 | e1b5b2f9a3593abc9a566f6da18b4e508ecfb60d | 1,515 | MoviesReview | Apache License 2.0 |
android/src/main/java/com/traccar/TraccarClientBridge.kt | victorlpgazolli | 665,777,648 | false | null | package com.traccar
import android.app.AlarmManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.os.Build
import android.util.Log
import androidx.core.content.ContextCompat
import com.facebook.react.bridge.ReactApp... | 0 | Kotlin | 0 | 3 | 517e967a6766ad2bcec0cac18bb242d682694e91 | 3,092 | react-native-traccar | MIT License |
mineme-craft/src/main/kotlin/me/ddevil/mineme/craft/ui/mine/UnloadedMineDisplay.kt | BrunoSilvaFreire | 89,026,535 | false | null | package me.ddevil.mineme.craft.ui.mine
import me.ddevil.mineme.craft.mine.config.InvalidMineConfig
import me.ddevil.mineme.craft.mine.config.MineConfig
import me.ddevil.mineme.craft.mine.config.ValidMineConfig
import me.ddevil.mineme.craft.ui.UIResources
import me.ddevil.shiroi.craft.message.MessageManager
import me.d... | 0 | Kotlin | 0 | 0 | 6cdfb74a10a5b78d929df9e8bd36b0da626378f4 | 2,449 | MineMe2 | Do What The F*ck You Want To Public License |
erikflowers-weather-icons/src/commonMain/kotlin/compose/icons/weathericons/NightSnowWind.kt | DevSrSouza | 311,134,756 | false | null | package compose.icons.weathericons
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
impo... | 17 | null | 25 | 571 | a660e5f3033e3222e3553f5a6e888b7054aed8cd | 9,161 | compose-icons | MIT License |
app/src/main/java/com/ceos/jetpackshowcase/ui/theme/Type.kt | helsing45 | 795,664,509 | false | {"Kotlin": 112682} | package com.ceos.jetpackshowcase.ui.theme
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Typography
import androidx.compose.runtime.Composable
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.sp
// Set of Mater... | 0 | Kotlin | 0 | 0 | 10b4340316a436db7d81f4af4a513edb1b552116 | 1,621 | JetpackShowcase | MIT License |
app/src/main/java/com/mastomas/comicbookbrowser/koin/KoinModules.kt | LiveMasTomas | 332,991,594 | false | null | package com.mastomas.comicbookbrowser.koin
import com.mastomas.comicbookbrowser.repository.MarvelCharacterRepository
import com.mastomas.comicbookbrowser.repository.MarvelComicRepository
import com.mastomas.comicbookbrowser.viewmodel.CharacterDetailViewModel
import com.mastomas.comicbookbrowser.viewmodel.CharacterView... | 0 | Kotlin | 0 | 4 | 8ce4745a19e330d4b3d10ef60b08f8e28dc671b4 | 817 | ComicBookBrowser | Apache License 2.0 |
app/src/main/kotlin/ss/proximityservice/data/AppStorageModule.kt | vothanhkiet | 144,178,604 | true | {"Kotlin": 25327} | package ss.proximityservice.data
import android.content.Context
import dagger.Module
import dagger.Provides
import javax.inject.Singleton
@Module
class AppStorageModule {
@Singleton
@Provides
fun provideSharedPerferencesAppStorage(context: Context) : AppStorage {
return SharedPreferencesAppStorage... | 0 | Kotlin | 0 | 0 | d42f032ceabb40cabb8f6c6aef468686993069aa | 338 | ProximityService | Apache License 2.0 |
app/src/main/java/com/rmakiyama/skeleton/data/DummyRepository.kt | rmakiyama | 252,239,199 | false | null | package com.rmakiyama.skeleton.data
import com.rmakiyama.skeleton.model.Dummy
import kotlinx.coroutines.flow.Flow
interface DummyRepository {
fun dummies(): Flow<List<Dummy>>
suspend fun save(dummy: Dummy)
}
| 0 | Kotlin | 0 | 3 | 3ae4aa3fe433d0c988f82627a89a14eee7e26f35 | 220 | android-skeleton | Apache License 2.0 |
app/src/main/java/com/example/week3day5/adapters/AdapterProduct.kt | Carat12 | 318,337,149 | false | null | package com.example.week3day5.adapters
import android.content.Context
import android.content.Intent
import android.graphics.Paint
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.view.isVisible
import androidx.recyclerview.widget.RecyclerView
import com.exa... | 0 | Kotlin | 0 | 0 | 0dfb1038c0800f1afc9d8e5ea3f8b8229110e2f2 | 4,205 | grocery | Apache License 2.0 |
features/game/src/main/java/com/ribsky/game/utils/adapter/Adapters.kt | nexy791 | 607,748,138 | false | null | package com.ribsky.game.utils.adapter
import com.ribsky.game.model.PayLoadModel
import com.squareup.moshi.JsonAdapter
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
object Adapters {
private val moshi: Moshi = Moshi.Builder()
.add(KotlinJsonAdapterFactor... | 0 | Kotlin | 0 | 7 | d2e9f7c04635e1793bfe8f421b4bc5ef162556c0 | 625 | dymka | Apache License 2.0 |
leo/src/main/kotlin/me/adkhambek/leo/recycler/LeoAdapter.kt | MrAdkhambek | 235,808,012 | false | null | package me.adkhambek.leo.recycler
import android.view.LayoutInflater
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import androidx.viewbinding.ViewBinding
import me.adkhambek.leo.LeoAdapter
import me.adkhambek.leo.L... | 0 | Kotlin | 1 | 3 | 6d325b2eb089de26930f88f9f1c7a1cb0a15ab0f | 1,547 | LeoAdapter | MIT License |
sample/src/wasmJsMain/kotlin/amaterek/util/ui/mvi/sample/ui/FinishApp.wasmJs.kt | amaterek | 782,964,945 | false | {"Kotlin": 14872, "Swift": 671} | package amaterek.util.ui.mvi.sample.ui
actual fun finishApp(context: Any) {
// TODO How to exit app on iOS?
} | 0 | Kotlin | 0 | 0 | 6f333707b3da1ce4d25882ad3a4869dd5d61ba97 | 114 | kmp-mvi | Apache License 2.0 |
vxutil-vertigram/src/main/kotlin/ski/gagar/vxutil/vertigram/throttling/HasChatId.kt | gagarski | 314,041,476 | false | null | package ski.gagar.vxutil.vertigram.throttling
import ski.gagar.vxutil.vertigram.types.ChatId
interface HasChatId {
val chatId: ChatId?
}
interface HasChatIdLong {
val chatId: Long?
}
| 0 | Kotlin | 0 | 0 | 9cb9209e905df3602fc87147c317ca75fdc12ad0 | 194 | vxutil | Apache License 2.0 |
notifications/src/main/java/com/acg/mangalive/notifications/data/model/NotificationsResponseDto.kt | mangalive | 507,894,145 | false | {"Kotlin": 108313} | package com.acg.mangalive.notifications.data.model
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class NotificationsResponseDto(
@SerialName("status") val status: String,
@SerialName("message") val message: String,
@SerialName("cards") val cards: List... | 0 | Kotlin | 0 | 2 | b7649723de9b735d9bbf4e02237fd5bd204ba674 | 345 | mangalive-android-old | Apache License 2.0 |
indicator/src/main/java/com/zhpan/indicator/drawer/BaseDrawer.kt | TrendingTechnology | 254,259,839 | true | {"Kotlin": 27011, "Java": 3889} | package com.zhpan.indicator.drawer
import android.graphics.Paint
import android.graphics.RectF
import com.zhpan.indicator.option.IndicatorOptions
/**
* <pre>
* Created by zhpan on 2019/11/23.
* Description:
</pre> *
*/
abstract class BaseDrawer internal constructor(internal var mIndicatorOptions: IndicatorOptio... | 0 | null | 0 | 0 | d6505847cc8adc19e13678482e70d0009ee22177 | 2,011 | viewpagerindicator-1 | Apache License 2.0 |
src/main/kotlin/Assertions.kt | navikt | 410,792,264 | false | {"Kotlin": 24560, "JavaScript": 594} | package no.nav
import org.hl7.fhir.r5.model.OperationOutcome
import org.opentest4j.AssertionFailedError
class UnexpectedIssue(val issueSpec: Specification.Issue, val source: String?) : AssertionFailedError("Unexpected $issueSpec at $source") {
companion object {
fun test(testSpec: Specification.TestCase, ... | 11 | Kotlin | 1 | 2 | 7d1cee838d7167eda335577b2cb536dd1381e24b | 1,805 | fhir-validator-junit-engine | MIT License |
common/src/main/java/de/nicidienase/chaosflix/common/entities/PlaybackProgressDao.kt | MHohenberg | 116,195,964 | true | {"Java Properties": 2, "YAML": 2, "Gradle": 5, "Shell": 1, "SVG": 1, "Markdown": 1, "Batchfile": 1, "Text": 1, "Ignore List": 4, "Proguard": 3, "Java": 50, "XML": 58, "Kotlin": 5, "HTML": 1} | package de.nicidienase.chaosflix.common.entities
import android.arch.persistence.room.Dao
import android.arch.persistence.room.Insert
import android.arch.persistence.room.Query
import io.reactivex.Flowable
/**
* Created by felix on 04.10.17.
*/
@Dao
interface PlaybackProgressDao{
@Query("SELECT * from playback... | 0 | Java | 0 | 0 | 8ad75f93258da6a0176a58e80d86a4beaa1090b4 | 588 | chaosflix | MIT License |
kotest-framework/kotest-framework-engine/src/jvmTest/kotlin/com/sksamuel/kotest/engine/spec/dsl/callbackorder/AfterTestOrderTest.kt | kotest | 47,071,082 | false | {"Gradle Kotlin DSL": 57, "JSON": 18, "Markdown": 1115, "Java Properties": 1, "Shell": 2, "Text": 5, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 2, "EditorConfig": 1, "SVG": 4, "Kotlin": 1691, "TOML": 1, "INI": 4, "YAML": 18, "JavaScript": 4, "CSS": 3, "MDX": 22, "HTTP": 3, "Java": 1} | package com.sksamuel.kotest.engine.spec.dsl.callbackorder
import io.kotest.core.spec.style.DescribeSpec
import io.kotest.matchers.shouldBe
class AfterTestOrderTest : DescribeSpec({
var trail = ""
afterSpec {
trail shouldBe "3215421211"
}
afterTest {
trail += "1"
}
describe("nested le... | 137 | Kotlin | 623 | 4,318 | e7f7e52a732010fae899d1fcc4d074c055463e0b | 612 | kotest | Apache License 2.0 |
viewpager2/integration-tests/testapp/src/androidTest/java/com/example/androidx/viewpager2/test/ViewInteractions.kt | forksource | 173,054,394 | true | {"INI": 6, "Shell": 12, "Markdown": 11, "Java": 3562, "Kotlin": 851, "HTML": 18, "Python": 9, "Proguard": 20, "Java Properties": 6, "Gradle Kotlin DSL": 3} | /*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Java | 0 | 0 | 3b2cbdd7e43301a0c07ddbec0095deeeb13b5dfb | 1,770 | platform_frameworks_support | Apache License 2.0 |
core/src/main/java/org/futo/circles/core/view/LoadingButton.kt | circles-project | 615,347,618 | false | {"Kotlin": 1307644, "C": 137821, "C++": 12364, "Shell": 3202, "CMake": 1680, "Ruby": 922} | package org.futo.circles.core.view
import android.content.Context
import android.os.Parcelable
import android.util.AttributeSet
import android.util.TypedValue
import android.view.LayoutInflater
import android.view.View
import androidx.constraintlayout.widget.ConstraintLayout
import org.futo.circles.core.R
import org.f... | 8 | Kotlin | 4 | 29 | 7edec708f9c491a7b6f139fc2f2aa3e2b7149112 | 2,991 | circles-android | Apache License 2.0 |
src/main/kotlin/top/myrest/myflow/fileconverter/Pdf2ImageActionHandler.kt | myrestop | 652,200,641 | false | {"Kotlin": 8312} | package top.myrest.myflow.fileconverter
import java.io.File
import cn.hutool.core.img.ImgUtil
import cn.hutool.core.io.FileUtil
import cn.hutool.core.swing.DesktopUtil
import org.apache.pdfbox.pdmodel.PDDocument
import org.apache.pdfbox.rendering.PDFRenderer
class Pdf2ImageActionHandler : BaseConverterActionHandler("... | 0 | Kotlin | 0 | 1 | b1b605a3b1e1969ec8b8df24c1108352f36e976c | 914 | myflow-fileconverter | MIT License |
src/commonMain/kotlin/net/notjustanna/lin/ast/node/access/SubscriptAccessExpr.kt | annathelibri | 280,314,655 | false | {"Kotlin": 323273} | package net.notjustanna.lin.ast.node.access
import net.notjustanna.lin.ast.node.Expr
import net.notjustanna.lin.ast.visitor.NodeMapVisitor
import net.notjustanna.lin.ast.visitor.NodeVisitor
import net.notjustanna.lin.ast.visitor.NodeVisitor1
import net.notjustanna.lin.ast.visitor.NodeVisitorR
import net.notjustanna.ta... | 17 | Kotlin | 0 | 7 | 9178bacb49385bdbbbebceb54d757ecf96b37705 | 1,048 | Lin | MIT License |
app/src/androidTest/java/uk/gov/onelogin/e2e/JourneyController.kt | govuk-one-login | 671,139,547 | false | {"Kotlin": 611350, "Shell": 12866, "Ruby": 1762} | package uk.gov.onelogin.e2e
import uk.gov.onelogin.e2e.controller.PhoneController
/**
* Functional interface that acts as an abstraction for performing a section of the User's journey.
*/
fun interface JourneyController {
/**
* Completes the User interaction necessary for the given [JourneyController].
... | 2 | Kotlin | 0 | 4 | 8158433162764dc72a99006c51c8e84206e101bc | 571 | mobile-android-one-login-app | MIT License |
app/src/main/java/com/creative/qrcodescanner/data/entity/UserSettingData.kt | dantech0xff | 735,255,021 | false | {"Kotlin": 166617} | package com.creative.qrcodescanner.data.entity
import android.content.Context
import androidx.compose.runtime.Stable
import androidx.datastore.preferences.core.booleanPreferencesKey
import androidx.datastore.preferences.preferencesDataStore
@Stable
data class UserSettingData(
val isEnableVibrate: Boolean,
val... | 0 | Kotlin | 0 | 9 | b204cc786b5c5e146056c7ab66cc58ce5d8d66e1 | 936 | compose-barcode-scanner | MIT License |
common/src/main/kotlin/io/github/natanfudge/genericutils/superclasses/KBlockEntity.kt | natanfudge | 669,064,047 | false | null | package io.github.natanfudge.genericutils.superclasses
import io.github.natanfudge.genericutils.inventory.ListenableInventory
import io.github.natanfudge.genericutils.inventory.readItemsNbt
import io.github.natanfudge.genericutils.inventory.writeItemsNbt
import net.minecraft.block.BlockState
import net.minecraft.block... | 0 | Kotlin | 0 | 0 | cfe4a9605d7c6c2a58228f1736489b4773c0b5d8 | 1,681 | HardCraft | Creative Commons Zero v1.0 Universal |
superrvadapter/src/main/java/com/pawanjeswani/superrvadapter/BinderAbstract.kt | YeWintNaing05 | 213,709,496 | true | {"Kotlin": 8375} | package com.pawanjeswani.superrvadapter
import android.view.View
internal interface BinderAbstract<RH, BH> {
/**
* For creating view holder for views between elements from
* @param view
* And return the view holder
*/
fun onCreateViewHolderBetweenElements(view: View): BH
/**
* Fo... | 0 | Kotlin | 0 | 0 | e02359d9af11332cfc284ff6001e8d2185818125 | 569 | SuperAdapter | Apache License 2.0 |
app/src/main/java/net/lunis/unlocklimiter/MainActivity.kt | lslunis | 269,117,334 | false | null | package net.lunis.unlocklimiter
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activit... | 0 | Kotlin | 0 | 0 | 944e161fbf9be9f01244cf358fd3ccbda4175088 | 417 | UnlockLimiter | Apache License 2.0 |
codec/src/commonMain/kotlin/com/inkapplications/ack/codec/extension/TransmitterInfoCodec.kt | InkApplications | 277,934,100 | false | null | package com.inkapplications.ack.codec.extension
import com.inkapplications.ack.codec.SimpleCodec
import com.inkapplications.ack.codec.chunk.requireStartsWith
import com.inkapplications.ack.codec.digit
import com.inkapplications.ack.codec.digitBasedValue
import com.inkapplications.ack.codec.format.fixedLength
import co... | 4 | Kotlin | 1 | 0 | 665be5fd074f047ff018ab428b69e680cc101a9b | 2,714 | Karps | MIT License |
ssh/src/main/kotlin/id/yoframework/ssh/Ssh.kt | danurahadi | 168,310,742 | true | {"Kotlin": 149782, "Shell": 785} | /*
* Copyright (C)2018 - Deny Prasetyo <jasoet87@gmail.com>
*
* 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 appl... | 0 | Kotlin | 0 | 0 | b24bee0c560b0068266851ad402200e2fb867043 | 3,910 | yoframework | Apache License 2.0 |
impact/src/main/java/com/kronos/mebium/android/AndroidApplicationHandler.kt | Leifzhang | 564,589,854 | false | {"Kotlin": 22346} | package com.kronos.mebium.android
import com.kronos.mebium.action.Handler
/**
* @Author LiABao
* @Since 2022/10/26
*/
class AndroidApplicationHandler : Handler {
override fun handle(args: Array<String>) {
}
} | 0 | Kotlin | 1 | 24 | 51f366d00d4a5c46a2ea3f4125898807f9988ecc | 223 | TheNext | Apache License 2.0 |
src/com/hxz/mpxjs/web/symbols/VueWebTypesMergedSymbol.kt | wuxianqiang | 508,329,768 | false | {"Kotlin": 1447881, "Vue": 237479, "TypeScript": 106023, "JavaScript": 93869, "HTML": 17163, "Assembly": 12226, "Lex": 11227, "Java": 2846, "Shell": 1917, "Pug": 338} | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.hxz.mpxjs.web.symbols
//import com.intellij.javascript.web.js.jsType
//import com.intellij.lang.documentation.DocumentationTarget
//import com.intellij.lang.javascript.psi.JSType
//impor... | 2 | Kotlin | 0 | 4 | e069e8b340ab04780ac13eab375d900f21bc7613 | 7,699 | intellij-plugin-mpx | Apache License 2.0 |
Code/app/src/main/java/com/istudio/pokedex/ui/screens/pokemon_list/composables/PokemonSearchBar.kt | devrath | 593,250,622 | false | {"Kotlin": 81693} | package com.istudio.pokedex.ui.screens.pokemon_list.composables
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.CircleShape
impor... | 0 | Kotlin | 1 | 7 | 3f7c261c677faeda5d66a8edea1ae6a6fe00fe76 | 3,487 | PokedexApp | Apache License 2.0 |
shared/src/commonMain/kotlin/com/haeyum/shared/data/repository/translation/TranslationDataSource.kt | kisa002 | 584,385,916 | false | {"Kotlin": 223546, "Ruby": 1722, "Swift": 860} | package com.haeyum.shared.data.repository.translation
import com.haeyum.shared.data.model.detect.DetectionsResponse
import com.haeyum.shared.data.model.languages.LanguagesResponse
import com.haeyum.shared.data.model.translate.TranslateResponse
interface TranslationDataSource {
suspend fun translate(q: String, tar... | 1 | Kotlin | 2 | 51 | fbe00ebee9ae05c5e10986b7dedabc4609c0085e | 496 | Transer | MIT License |
src/test/java/io/github/pixee/maven/operator/test/util.kt | pixee | 533,511,100 | false | {"Kotlin": 164126, "Java": 1873} | package io.github.pixee.maven.operator.test
import io.github.pixee.maven.operator.ProjectModel
import io.github.pixee.maven.operator.Util.which
import org.apache.commons.lang3.SystemUtils
import org.dom4j.Document
import org.dom4j.io.SAXReader
import java.io.File
import java.io.FileInputStream
internal fun ProjectMo... | 2 | Kotlin | 1 | 1 | 8e13abe14705a024791d8d9e1f0b554257e4cd2d | 1,941 | pom-operator | MIT License |
app/src/main/java/mx/com/movieschallenge/data/model/MovieData.kt | gibranhit | 334,838,656 | false | null | package mx.com.movieschallenge.data.model
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey
import com.google.gson.annotations.SerializedName
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
@Enti... | 0 | Kotlin | 1 | 0 | 260a87cb477e617281786b0b7ac726f6c2b825e9 | 1,060 | Movies-Challenge | MIT License |
feature/game-board/src/main/kotlin/com/ekezet/othello/feature/gameboard/GameBoardModels.kt | atomgomba | 754,770,216 | false | {"Kotlin": 153818} | package com.ekezet.othello.feature.gameboard
import androidx.compose.animation.core.AnimationConstants.DefaultDurationMillis
import androidx.compose.runtime.Immutable
import androidx.compose.ui.graphics.Color
import com.ekezet.hurok.ActionEmitter
import com.ekezet.hurok.ViewState
import com.ekezet.othello.core.data.mo... | 0 | Kotlin | 0 | 0 | 80ad9a2bd4e35e819db98c7b2590103e60989c52 | 3,369 | othello | Apache License 2.0 |
src/main/kotlin/ltd/lths/wireless/ikuai/entourage/command/Command.kt | LTHS20 | 487,755,461 | false | null | package ltd.lths.wireless.ikuai.entourage.command
import taboolib.common.platform.command.CommandCompleter
import taboolib.common.platform.command.CommandExecutor
import taboolib.common.platform.command.CommandStructure
import taboolib.common.platform.command.component.CommandBase
/**
* ikuai-entourage
* ltd.lths.w... | 0 | Kotlin | 0 | 3 | 22f7a15a63e9808de132e743a5186412e2012d2c | 794 | ikuai-entourage | MIT License |
mockzilla-management-ui/common/src/commonMain/kotlin/com/apadmi/mockzilla/desktop/engine/connection/NetworkingUtils.kt | Apadmi-Engineering | 570,496,992 | false | {"Kotlin": 477134, "Dart": 135302, "Swift": 46784, "Ruby": 14009, "Objective-C": 76} | // Adapted from: https://github.com/ViToni/JmDNS-examples/blob/master/jmdns-examples/src/main/java/org/kromo/examples/network/NetworkUtils.java
package com.apadmi.mockzilla.desktop.engine.connection
import java.net.DatagramSocket
import java.net.InetAddress
import java.net.InetSocketAddress
import java.net.NetworkInte... | 10 | Kotlin | 8 | 29 | 9712fe59464b39d42e02c22a11a78964f437c502 | 1,581 | Mockzilla | MIT License |
src/main/kotlin/ar/edu/unq/peluqueriayabackend/service/emailSender/impl/EmailServiceImpl.kt | lisar01 | 253,115,230 | false | null | package ar.edu.unq.peluqueriayabackend.service.emailSender.impl
import ar.edu.unq.peluqueriayabackend.service.emailSender.EmailServiceAPI
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.core.io.FileSystemResource
import org.springframework.mail.SimpleMailMessage
import org.spri... | 0 | Kotlin | 0 | 0 | 6d265ee1650fcba9d585d2272db4dda82f8d1174 | 1,452 | peluqueriaya-backend | MIT License |
app/src/main/java/com/jxareas/techhub/data/cache/model/CachedFavorite.kt | jxareas | 503,617,148 | false | {"Kotlin": 96040} | package com.jxareas.techhub.data.cache.model
import androidx.room.Entity
import androidx.room.ForeignKey
import androidx.room.Index
import androidx.room.PrimaryKey
import androidx.room.TypeConverters
import com.jxareas.techhub.data.cache.constants.CacheConstants
import com.jxareas.techhub.data.cache.converters.DateCon... | 0 | Kotlin | 7 | 41 | ee28eb2992a2acca6e46ac5a928118e81ba3f861 | 934 | TechHub | MIT License |
src/main/kotlin/xyz/chlamydomonos/hyphacraft/items/utils/StyleUtil.kt | Chlamydomonos | 832,406,228 | false | {"Kotlin": 331361, "Java": 6074} | package xyz.chlamydomonos.hyphacraft.items.utils
import net.minecraft.network.chat.Style
object StyleUtil {
val TOOLTIP = Style.EMPTY.withFont(Style.DEFAULT_FONT).withColor(0x808080)
} | 0 | Kotlin | 0 | 0 | 66942935b237b4ce243958544411809a09118e35 | 190 | HyphaCraft | MIT License |
app/src/main/java/com/shubham/pokedexapp/data/remote/response/Emerald.kt | shubham230523 | 434,489,494 | false | null | package com.shubham.pokedexapp.data.remote.response
data class Emerald(
val front_default: String,
val front_shiny: String
) | 0 | Kotlin | 0 | 0 | cece7b0fb79cf0779ef0ea5d2101ff637352ccff | 133 | Pokedex-App | MIT License |
app/src/main/java/com/shopemaa/android/storefront/utils/Utils.kt | shopemaa | 522,682,752 | false | {"Kotlin": 141588, "Makefile": 159, "Java": 155} | package com.shopemaa.android.storefront.utils
import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.Matrix
import androidx.core.util.PatternsCompat
import com.google.gson.Gson
import com.google.zxing.*
import com.google.zxing.common.HybridBinarizer
... | 0 | Kotlin | 3 | 9 | 3f471a20f1c01a62284c0da4a82bd85a203ccfc8 | 5,052 | ShopemaaAndroidStorefront | MIT License |
modules/core/src/main/kotlin/wrapper/VNodeDataBuilder.kt | eEQK | 208,978,173 | true | {"Kotlin": 90137, "CSS": 16605, "HTML": 557, "JavaScript": 156} | @file:Suppress("unused")
package wrapper
import cssdsl.CssRule
import cssdsl.CssRulesBlock
import external.vue.*
open class VNodeDataBuilder<P, A, D> : VNodeData<P, A, D> {
var children: ArrayList<VNode> = arrayListOf()
var propsBuilder: (P.() -> Unit)? = null
var attributeBuilder: (A.() -> Unit)? = nul... | 0 | Kotlin | 0 | 2 | b0a87e432879a4a96076cfda27023f1b5cff8315 | 2,418 | kotlin-vue | Apache License 2.0 |
app/src/main/java/com/example/bitfit2/MainActivity.kt | kamrynbrown | 545,211,768 | false | null | package com.example.bitfit2
import android.app.Activity
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.Button
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.lifecycle.lifecyc... | 2 | Kotlin | 0 | 0 | 0049f0309e4e2581e8b589d42b8a513b2d959e20 | 1,577 | BitFit1 | Apache License 2.0 |
src/test/kotlin/no/nav/sosialhjelp/modia/digisossak/event/EventTestData.kt | navikt | 216,780,859 | false | {"Kotlin": 461383, "Dockerfile": 427} | package no.nav.sosialhjelp.modia.digisossak.event
import no.nav.sbl.soknadsosialhjelp.digisos.soker.JsonAvsender
import no.nav.sbl.soknadsosialhjelp.digisos.soker.JsonFilreferanse
import no.nav.sbl.soknadsosialhjelp.digisos.soker.JsonForvaltningsbrev
import no.nav.sbl.soknadsosialhjelp.digisos.soker.JsonHendelse
impor... | 1 | Kotlin | 0 | 1 | 562e5f9c2d1e2eeae562c2549e30f9782b3039df | 11,589 | sosialhjelp-modia-api | MIT License |
androidApp/src/main/java/com/nbs/kmm/sample/android/presentation/post/PostStoryActivity.kt | nbsmobile | 597,042,861 | false | {"Kotlin": 144840, "Swift": 52478, "Ruby": 2440, "Java": 1515} | package com.nbs.kmm.sample.android.presentation.post
import android.content.Context
import android.content.Intent
import androidx.activity.viewModels
import com.nbs.kmm.sample.android.R
import com.nbs.kmm.sample.android.base.SampleBaseActivity
import com.nbs.kmm.sample.android.databinding.ActivityPostStoryBinding
impo... | 2 | Kotlin | 19 | 71 | 83396b2c1354f07e7c0cfc580de4ac851bd4efb2 | 3,037 | incio | MIT License |
Matcheap/app/src/main/java/com/sandy/seoul_matcheap/ui/store/StoreListFragment.kt | SANDY-9 | 677,761,441 | false | {"Kotlin": 217577, "Java": 2281} | package com.sandy.seoul_matcheap.ui.store
import android.location.Location
import android.os.Bundle
import android.view.*
import android.widget.*
import androidx.fragment.app.*
import androidx.navigation.fragment.navArgs
import androidx.paging.PagingData
import androidx.paging.filter
import androidx.viewpager2.widget.... | 0 | Kotlin | 0 | 0 | 3b84686b3d409bf7cbbc3044798d73b8dc54cd5b | 5,104 | Project_SeoulMatcheap2.0 | Apache License 2.0 |
Matcheap/app/src/main/java/com/sandy/seoul_matcheap/ui/store/StoreListFragment.kt | SANDY-9 | 677,761,441 | false | {"Kotlin": 217577, "Java": 2281} | package com.sandy.seoul_matcheap.ui.store
import android.location.Location
import android.os.Bundle
import android.view.*
import android.widget.*
import androidx.fragment.app.*
import androidx.navigation.fragment.navArgs
import androidx.paging.PagingData
import androidx.paging.filter
import androidx.viewpager2.widget.... | 0 | Kotlin | 0 | 0 | 3b84686b3d409bf7cbbc3044798d73b8dc54cd5b | 5,104 | Project_SeoulMatcheap2.0 | Apache License 2.0 |
chat-app-common/src/ktor/chat/messages/MessageInput.kt | bjhham | 838,751,258 | false | {"Kotlin": 72979} | package ktor.chat.messages
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirro... | 0 | Kotlin | 0 | 2 | 466b71b2f7c6827bd1ed59982eecc1d1b5e8002f | 2,074 | ktor-chat | Apache License 2.0 |
app/src/main/java/ar/com/wolox/android/cookbook/netowork/GraphQlService.kt | Wolox | 151,121,373 | false | null | package ar.com.wolox.android.cookbook.netowork
import com.apollographql.apollo.ApolloCall
import com.apollographql.apollo.ApolloClient
import com.wolox.queries.GetOrdersQuery
import okhttp3.OkHttpClient
object GraphQlService {
const val SERVER_URL = "https://graphql-training-wolox.herokuapp.com/graphql/"
pr... | 3 | Kotlin | 8 | 9 | 10c61b24b6c8812aa039441bfea709bfac29668c | 776 | wolmo-cookbook-android | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.