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/escodro/alkaa/presentation/home/SheetContentState.kt | igorescodro | 116,942,964 | false | null | package com.escodro.alkaa.presentation.home
import android.os.Parcelable
import com.escodro.categoryapi.model.Category
import kotlinx.parcelize.Parcelize
internal sealed class SheetContentState {
@Parcelize
object Empty : SheetContentState(), Parcelable
@Parcelize
object TaskListSheet : SheetContent... | 7 | Kotlin | 83 | 753 | 1f9e22f789a14f29a28f02ec30a2cade7c657a26 | 446 | alkaa | Apache License 2.0 |
secondmoudle/src/main/java/com/kronos/secondmoudle/TestActivity.kt | Leifzhang | 63,483,690 | false | null | package com.kronos.secondmoudle
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.kronos.router.BindRouter
/**
* Created by zhangyang on 16/7/16.
*/
@BindRouter(urls = ["https://www.baidu.com/:id{string}/:nid{long}"], weight = 2, interceptors = [TestInterceptor::class])
class TestA... | 1 | null | 17 | 184 | f5559aca87e49964b5914bf979ffcd19c0fa54b2 | 643 | Router-Android | MIT License |
eth/src/main/kotlin/notary/endpoint/RefundServerEndpoint.kt | yurivin | 172,449,765 | false | {"Gradle": 24, "Kotlin": 246, "Shell": 8, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Groovy": 2, "Markdown": 7, "Java": 20, "INI": 21, "YAML": 25, "HTML": 1, "CSS": 1, "Dockerfile": 13, "Python": 3, "Public Key": 17, "TOML": 1, "JSON": 3, "Gerber Image": 8, "Java Properties": 43} | package com.d3.eth.deposit.endpoint
import com.d3.commons.notary.endpoint.ServerInitializationBundle
import com.squareup.moshi.Moshi
import io.ktor.application.call
import io.ktor.application.install
import io.ktor.features.CORS
import io.ktor.features.ContentNegotiation
import io.ktor.gson.gson
import io.ktor.http.Ht... | 1 | null | 1 | 1 | 78d7c592f572fa8548fa21bc518f5fe1d5db698b | 3,215 | notary | Apache License 2.0 |
src/test/kotlin/net/purefunc/kotlin/ext/TimeTests.kt | PureFuncInc | 509,896,101 | false | {"Kotlin": 19351} | package net.purefunc.kotlin.ext
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
import java.time.Instant
import java.util.concurrent.TimeUnit
class TimeTests {
@Test
internal fun `test time shift`() {
val now = Instant.now().toEpochMilli()
Assertions.assertThrows(Ru... | 0 | Kotlin | 0 | 8 | 69625a184372b2e4633927255d79f4676d2232d4 | 679 | kotlin-extensions | MIT License |
app/src/main/java/com/xyq/ffmpegdemo/viewmodel/PlayViewModel.kt | sifutang | 519,498,265 | false | {"C": 3029226, "Shell": 440458, "Roff": 269462, "Kotlin": 188935, "Makefile": 136105, "C++": 123842, "Awk": 42864, "CMake": 29005, "M4": 19284, "Java": 13131, "DIGITAL Command Language": 10718, "Assembly": 8352, "Batchfile": 3562, "GLSL": 2822, "Module Management System": 2083, "Dockerfile": 988} | package com.xyq.ffmpegdemo.viewmodel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.xyq.ffmpegdemo.R
import com.xyq.ffmpegdemo.player.MyPlayer
class PlayViewModel(private val mPlayer: MyPlayer): ViewModel() {
private val mMuteLiveData = MutableLiveData<Int>()
private... | 0 | C | 8 | 28 | ea5b35f4ead8bca8854e1e2b83fe47bcc21eb1ec | 1,325 | ffmpeg-demo | Apache License 2.0 |
MVP/system/user_database/src/main/java/com/ko/user_database/UserLocalDataSourceProvider.kt | terracotta-ko | 91,710,928 | false | null | package com.ko.user_database
import android.content.Context
import androidx.room.Room
class UserLocalDataSourceProvider private constructor(context: Context) {
private val userRoomDatabase: UserRoomDatabase by lazy {
Room.databaseBuilder(
context,
UserRoomDatabase::class.java,
... | 1 | null | 1 | 2 | 098d5844fb68cac5ed22fa79370de91e93551227 | 948 | Android_Treasure_House | MIT License |
app/src/main/java/com/zeronesky/kcoolweather/util/HttpUtil.kt | zyxins | 123,904,974 | false | null | package com.zeronesky.kcoolweather.util
import okhttp3.OkHttpClient
import okhttp3.Request
/**
* Created by zyxins on 05/03/2018.
*/
class HttpUtil {
companion object {
fun sendOkHttpRequest(address: String,callback: okhttp3.Callback): Unit {
val client = OkHttpClient()
val reque... | 0 | Kotlin | 0 | 0 | f2e84590dbefe9dbb2463310a052234885cef2f8 | 435 | kcoolweather | Apache License 2.0 |
stripe/src/main/java/com/stripe/android/view/CardWidget.kt | michelleb-stripe | 372,835,879 | false | null | package com.stripe.android.view
import android.text.TextWatcher
import androidx.annotation.IntRange
import com.stripe.android.model.Card
import com.stripe.android.model.PaymentMethodCreateParams
internal interface CardWidget {
/**
* A [Card] representing the card details and postal code if all fields are val... | 0 | null | 0 | 1 | ef2197fabeb47436a4119e23dab74041c31320d4 | 2,147 | stripe-android | MIT License |
kotlin-modules/kotlin-core-1/src/main/kotlin/cn/tuyucheng/taketoday/introduction/MathematicsOperations.kt | tuyucheng7 | 576,611,966 | false | {"Java": 17901156, "JavaScript": 3127878, "Kotlin": 905614, "HTML": 406318, "CSS": 170745, "TypeScript": 104742, "Shell": 48249, "Groovy": 47750, "FreeMarker": 39820, "RAML": 38085, "Gherkin": 16465, "Lua": 11459, "Dockerfile": 9018, "Scala": 8705, "Vue": 6389, "C++": 4581, "Mustache": 4316, "Batchfile": 4249, "SCSS": ... | package cn.tuyucheng.taketoday.introduction
class MathematicsOperations {
fun addTwoNumbers(a: Int, b: Int): Int {
return a + b
}
} | 1 | Java | 6 | 173 | a71ed5dbc873a331515479c365986df382cb916e | 137 | taketoday-tutorial4j | MIT License |
sample-android/src/main/java/com/chrynan/colors/sample/android/reducer/ColorDetailReducer.kt | chRyNaN | 179,560,707 | false | null | package com.chrynan.colors.sample.android.reducer
import com.chrynan.colors.RgbaColor
import com.chrynan.colors.sample.android.state.ColorDetailChange
import com.chrynan.colors.sample.android.state.ColorDetailState
import com.chrynan.presentation.Reducer
import com.chrynan.colors.hue
import com.chrynan.colors.lightnes... | 0 | Kotlin | 0 | 9 | bc263f0501b07ac2762ad07fc9e65e1492bc5648 | 1,821 | colors | Apache License 2.0 |
app/src/main/java/com/rezwan/autocallscheduler/ui/DevInfoActivity.kt | rrsaikat | 269,657,826 | false | null | /*
* Copyright (c) 2020. RRsaikat
*
* 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 ... | 0 | Kotlin | 5 | 27 | ac1506db3d69f4e6be58023de4f1686518e3d20c | 1,741 | AutoCallScheduler | Apache License 2.0 |
app/src/test/java/com/droidafricana/moveery/data/DataFactory.kt | Fbada006 | 240,091,360 | false | null | package com.droidafricana.moveery.data
import com.droidafricana.moveery.models.movies.Movie
import com.droidafricana.moveery.models.shows.TvShow
import java.util.concurrent.ThreadLocalRandom
/**Provide fake data for testing*/
object DataFactory {
/**Make fake movie list*/
fun makeMovieList(count: Int): List<... | 0 | Kotlin | 0 | 2 | 92b175690eac0333ecbe0d87c9f07084f6099459 | 2,355 | Moveery | Apache License 2.0 |
app/src/main/java/com/balocco/androidnavigation/common/ui/BaseFragment.kt | AlexBalo | 286,418,679 | false | null | package com.balocco.androidnavigation.common.ui
import androidx.fragment.app.Fragment
abstract class BaseFragment : Fragment() {
abstract fun getFragmentTag(): String
} | 0 | Kotlin | 0 | 0 | 24e98d71f252cd3f0f49e8d52ec14e2bcae00b8f | 176 | AndroidNavigation | Apache License 2.0 |
middleware/sisyphus-redis/src/main/kotlin/com/bybutter/sisyphus/middleware/redis/cache/interceptor/MultiCacheEvictInterceptor.kt | zhi-re | 283,650,568 | true | {"Kotlin": 970649, "ANTLR": 10895} | package com.bybutter.sisyphus.middleware.redis.cache.interceptor
import com.bybutter.sisyphus.middleware.redis.cache.CacheType
import com.bybutter.sisyphus.middleware.redis.cache.MultiRedisCacheManager
import com.bybutter.sisyphus.middleware.redis.cache.annotation.MultiCacheEvict
import com.bybutter.sisyphus.middlewar... | 0 | null | 0 | 0 | 67f534e9c62833d32ba93bfd03fbc3c1f81f52e6 | 2,993 | sisyphus | MIT License |
utils/src/jvmNativeCommonTest/kotlin/com/badoo/reaktive/utils/test/DoInBackground.kt | badoo | 174,194,386 | false | null | package com.badoo.reaktive.utils.test
import com.badoo.reaktive.utils.atomic.AtomicBoolean
import com.badoo.reaktive.utils.lock.Lock
import com.badoo.reaktive.utils.lock.synchronized
import com.badoo.reaktive.utils.lock.waitFor
import kotlin.test.fail
expect fun doInBackground(block: () -> Unit)
fun doInBackgroundBl... | 8 | Kotlin | 49 | 956 | c712c70be2493956e7057f0f30199994571b3670 | 798 | Reaktive | Apache License 2.0 |
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/community/blocking/UpdatePS4BlockListRsp.kt | Anime-Game-Servers | 642,871,918 | false | {"Kotlin": 1651536} | package org.anime_game_servers.multi_proto.gi.data.community.blocking
import org.anime_game_servers.core.base.Version.GI_1_0_0
import org.anime_game_servers.core.base.annotations.AddedIn
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
import org.anime_game_servers.core.base.annotations.proto.Pr... | 0 | Kotlin | 2 | 6 | 7639afe4f546aa5bbd9b4afc9c06c17f9547c588 | 511 | anime-game-multi-proto | MIT License |
mediation/src/main/java/com/criteo/mediation/mopub/CriteoBannerAdapter.kt | criteo | 206,404,890 | false | null | /*
* Copyright 2020 Criteo
*
* 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 | 1 | 1 | 59321e828ab3b09781c3455b9972f32565444856 | 3,577 | android-publisher-sdk-mopub-adapters | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsinterventionsservice/jobs/scheduled/onboarding/UpsertContractsJobConfiguration.kt | ministryofjustice | 312,544,431 | false | {"Kotlin": 1721955, "Mustache": 3350, "Shell": 2684, "PLpgSQL": 2362, "Dockerfile": 1980} | package uk.gov.justice.digital.hmpps.hmppsinterventionsservice.jobs.scheduled.onboarding
import org.springframework.batch.core.Job
import org.springframework.batch.core.Step
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing
import org.springframework.batch.core.configuration.annotati... | 8 | Kotlin | 1 | 2 | f0e4790355ea1c5aa6befa95c457e42ac95339a6 | 2,533 | hmpps-interventions-service | MIT License |
features/settings/impl/src/main/java/com/melih/android/pokeapp/settings/impl/ui/SettingsScreen.kt | melomg | 458,631,034 | false | {"Kotlin": 95088} | package com.melih.android.pokeapp.settings.impl.ui
import androidx.compose.foundation.layout.Box
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
@Composable
fun SettingsScreen(
modifier: Modifier = Modifier,... | 3 | Kotlin | 0 | 0 | 00fbfe60e75d26eeda2e9e1ce87250a6604d2fd1 | 456 | pokeapp-android | Apache License 2.0 |
app/src/test/java/com/kickstarter/ui/activities/compose/PreLaunchProjectPageScreenTest.kt | kickstarter | 76,278,501 | false | {"Kotlin": 5269841, "Java": 317201, "Ruby": 22177, "Shell": 6325, "Makefile": 3750} | package com.kickstarter.ui.activities.compose
import androidx.compose.material.MaterialTheme
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.ui.test.assertIsNotDisplayed
import androidx.compose.ui.test.assertTextEquals
import androidx.compose.ui.test.onNo... | 8 | Kotlin | 989 | 5,752 | a9187fb484c4d12137c7919a2a53339d67cab0cb | 5,191 | android-oss | Apache License 2.0 |
app/shared/emergency-access-kit/impl/src/commonMain/kotlin/build/wallet/emergencyaccesskit/EmergencyAccessPayloadRestorerImpl.kt | proto-at-block | 761,306,853 | false | {"C": 10551861, "Kotlin": 6455657, "Rust": 1874547, "Swift": 629125, "Python": 329146, "HCL": 257498, "Shell": 97542, "TypeScript": 81148, "C++": 64770, "Meson": 64252, "JavaScript": 36229, "Just": 26345, "Ruby": 9265, "Dockerfile": 5755, "Makefile": 3839, "Open Policy Agent": 1456, "Procfile": 80} | package build.wallet.emergencyaccesskit
import build.wallet.bitcoin.AppPrivateKeyDao
import build.wallet.bitcoin.keys.ExtendedPrivateKey
import build.wallet.bitkey.app.AppSpendingKeypair
import build.wallet.bitkey.app.AppSpendingPrivateKey
import build.wallet.bitkey.keybox.KeyboxConfig
import build.wallet.catching
imp... | 0 | C | 6 | 74 | b7401e0b96f9378cbd96eb01914a4f888e0a9303 | 3,637 | bitkey | MIT License |
app/src/main/java/tech/easily/rxjobscheduler/MainActivity.kt | easilycoder | 116,467,023 | false | null | package tech.easily.rxjobscheduler
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import io.reactivex.Flowable
import io.reactivex.Single
import tech.easily.jobscheduler.JobSchedulers
import tech.easily.jobscheduler.Priority
class MainActivity : AppCompatActivity() {
... | 0 | null | 1 | 10 | d1eab135d1a4950b8a61b95247c352af1bff6729 | 4,239 | RxJobScheduler | MIT License |
starter/app/src/main/java/com/example/android/politicalpreparedness/network/jsonadapter/ElectionAdapter.kt | Mansourx | 516,643,500 | false | {"Kotlin": 40964} | package com.example.android.politicalpreparedness.network.jsonadapter
import com.example.android.politicalpreparedness.models.Division
import com.squareup.moshi.FromJson
import com.squareup.moshi.ToJson
class ElectionAdapter {
@FromJson
fun divisionFromJson (ocdDivisionId: String): Division {
val coun... | 0 | Kotlin | 0 | 1 | c56ab53ecc0562d7abd8c6a70db3045459debf93 | 875 | Political-Preparedness-Final | Apache License 2.0 |
app/src/main/java/org/tokend/template/util/ProfileUtil.kt | tokend | 192,905,357 | false | null | package org.tokend.template.util
import android.content.Context
import android.graphics.Color
import android.graphics.drawable.BitmapDrawable
import android.graphics.drawable.Drawable
import androidx.annotation.Dimension
import androidx.core.content.ContextCompat
import android.view.ViewGroup
import android.widget.Ima... | 1 | null | 1 | 6 | 05bb971859713830a9c229206dc9f525ce80f754 | 3,222 | conto-android-client | Apache License 2.0 |
android/src/main/kotlin/com/gstory/flutter_tencentad/rewardvideoad/RewardVideoAd.kt | gstory0404 | 393,316,310 | false | null | package com.gstory.flutter_tencentad.rewardvideoad
import android.content.Context
import android.content.ServiceConnection
import com.gstory.flutter_tencentad.LogUtil
import com.gstory.flutter_tencentad.interstitialad.InterstitialAd
import com.gstory.flutter_unionad.FlutterTencentAdEventPlugin
import com.qq.e.ads.cfg.... | 5 | null | 5 | 24 | 989059ba58ece0eda0cca620c1c83b6c31c00e2c | 4,501 | flutter_tencentad | Apache License 2.0 |
app/src/main/java/com/alfresco/content/app/activity/SettingsActivity.kt | Alfresco | 201,430,708 | false | null | package com.alfresco.content.app.activity
import android.content.pm.ActivityInfo
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.Toolbar
import com.alfresco.content.app.R
class SettingsActivity : AppCompatActivity() {
override fun onCreate(savedInstanceSta... | 3 | Kotlin | 6 | 5 | 6ff04ab84cf7cfe1a482c0700fd2bc622d7afa28 | 965 | alfresco-mobile-workspace-android | Apache License 2.0 |
app/src/main/java/com/tinyfish/jeekalarm/start/App.kt | tifish | 244,591,555 | false | null | package com.tinyfish.jeekalarm.start
import android.annotation.SuppressLint
import android.app.Application
import android.content.Context
import android.content.Intent
import android.widget.Toast
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.set... | 0 | Kotlin | 0 | 0 | c04e1abb217c82b29fc9270d81333480dc3003f4 | 3,333 | JeekAlarm | Apache License 2.0 |
agp-7.1.0-alpha01/tools/base/lint/docs/tools/fixtext.kts | jomof | 502,039,754 | false | {"Java": 35519326, "Kotlin": 22849138, "C++": 2171001, "HTML": 1377915, "Starlark": 915536, "C": 141955, "Shell": 110207, "RenderScript": 58853, "Python": 25635, "CMake": 18109, "Batchfile": 12180, "Perl": 9310, "Dockerfile": 5690, "Makefile": 4535, "CSS": 4148, "JavaScript": 3488, "PureBasic": 2359, "GLSL": 1628, "AID... | #!kotlin
// Perform misc text cleanup in the .md.html files:
// remove trailing spaces, remove repeated blank
// lines, and switch from straight quotes to smart
// quotes
import java.io.File
import kotlin.system.exitProcess
Main().run(args)
class Main {
private var modified = 0
private var stripDuplicateNew... | 1 | Java | 1 | 0 | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | 4,813 | CppBuildCacheWorkInProgress | Apache License 2.0 |
app/src/main/java/io/template/app/common/di/AppDi.kt | CoreWillSoft | 293,482,379 | false | null | package io.template.app.common.di
import io.template.app.BuildConfig
import io.template.app.TemplateApp
import io.template.app.common.boot.LoggerInitializer
import io.template.app.feature.authorization.authorisationModule
import org.koin.android.ext.koin.androidContext
import org.koin.android.ext.koin.androidLogger
im... | 1 | Kotlin | 1 | 4 | 0eb931842bb554a9cde5206d767c8cc506236b73 | 1,161 | kotlin-android-template | MIT License |
Chapter 09/app/src/main/java/com/example/inspireme/ui/FirebaseViewModel.kt | bpbpublications | 685,969,351 | false | {"Kotlin": 89819} | package com.example.inspireme.ui
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.example.inspireme.models.FirePost
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.firestore.FirebaseFirestore
enum class CloudUp... | 0 | Kotlin | 0 | 0 | 064e9e5de00be273b974769b3d1c69dffb562665 | 3,292 | My-First-Mobile-App-for-Students | MIT License |
app/src/main/java/cash/z/ecc/android/sdk/demoapp/demos/home/HomeViewModel.kt | venkateshwarant | 314,493,892 | false | null | import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
class HomeViewModel : ViewModel() {
}
| 1 | null | 1 | 1 | 1922f9be7a5d6cea774777b5299a2241663e3186 | 153 | COVID_CONTACT_TRACING_APP | MIT License |
app/src/main/java/com/reyndev/moco/MainActivity.kt | Reynaldev | 693,972,773 | false | {"Kotlin": 44137} | package com.reyndev.moco
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
import android.content.Intent
import android.net.Uri
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
impo... | 0 | Kotlin | 0 | 0 | d8228ce3bfaa485d58ae49a28670e20af918e5ca | 9,748 | Moco | MIT License |
src/commonMain/kotlin/data/items/RipFlayerLeggings.kt | marisa-ashkandi | 332,658,265 | false | null | package `data`.items
import `data`.Constants
import `data`.buffs.Buffs
import `data`.model.Color
import `data`.model.Item
import `data`.model.ItemSet
import `data`.model.Socket
import `data`.model.SocketBonus
import `data`.socketbonus.SocketBonuses
import character.Buff
import character.Stats
import kotlin.Array
impor... | 21 | Kotlin | 11 | 25 | 9cb6a0e51a650b5d04c63883cb9bf3f64057ce73 | 2,293 | tbcsim | MIT License |
ios_shared/src/iosMain/kotlin/TitleView.kt | ltttttttttttt | 370,338,027 | false | null | /*
* Copyright lt 2023
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | 3 | Kotlin | 34 | 93 | fe826432521dfdd3a06e814ef118e9bdc9608f91 | 3,562 | ComposeViews | Apache License 2.0 |
hideout-core/src/main/kotlin/dev/usbharu/hideout/core/application/domainevent/subscribers/SubscriberRunner.kt | usbharu | 627,026,893 | false | {"Kotlin": 822340, "Mustache": 111758, "HTML": 8724} | package dev.usbharu.hideout.core.application.domainevent.subscribers
import org.springframework.boot.ApplicationArguments
import org.springframework.boot.ApplicationRunner
import org.springframework.stereotype.Component
@Component
class SubscriberRunner(subscribers: List<Subscriber>) : ApplicationRunner {
overrid... | 20 | Kotlin | 0 | 12 | 65d8502a1856acacba635babbc5aeccd60cbb7b1 | 369 | Hideout | Apache License 2.0 |
app/src/main/java/com/github/vitorfg8/pettracks/presentation/components/BaseAppbar.kt | vitorfg8 | 762,248,139 | false | {"Kotlin": 102462} | package com.github.vitorfg8.pettracks.presentation.components
import androidx.compose.material3.CenterAlignedTopAppBar
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.material3.TopAppBarDefaults
im... | 0 | Kotlin | 0 | 0 | 9374c1d5fa6847ce7667b702fd10c72e3899ad7b | 1,456 | PetTracks | MIT License |
app/src/main/java/com/delet_dis/converta/data/model/TTSStateType.kt | delet-dis | 387,425,722 | false | null | package com.delet_dis.converta.data.model
enum class TTSStateType {
LOADING,
START,
DONE,
ERROR
} | 0 | Kotlin | 0 | 1 | 90cda1b6a705cf694d8d9a9c83a4b7f42edbcb5a | 114 | Converta | MIT License |
NeuroID/src/main/java/com/neuroid/tracker/service/NIDResponseCallBack.kt | Neuro-ID | 433,158,128 | false | {"Kotlin": 348271, "JavaScript": 1588, "Shell": 831, "HTML": 755} | package com.neuroid.tracker.service
interface NIDResponseCallBack {
fun onSuccess(code: Int)
fun onFailure(code: Int, message: String, isRetry: Boolean)
} | 2 | Kotlin | 3 | 2 | 8f521e03e90c4689337aeba2196782fe54202c7f | 163 | neuroid-android-sdk | MIT License |
sources/logic/common/utils/src/main/java/com/surovtsev/utils/androidview/interaction/TouchType.kt | surovtsev-alexander | 505,554,496 | false | {"Kotlin": 650213, "GLSL": 1058, "Batchfile": 48} | package com.surovtsev.utils.androidview.interaction
enum class TouchType {
SHORT,
LONG,
}
| 0 | Kotlin | 0 | 0 | 961cff3b6ee41784e9790f0fe9bd978be0f23d6e | 99 | cool_3d_minesweeper | MIT License |
compose/src/main/java/androidx/ui/framework/gestures/PopupDragActivity.kt | shriharshs | 247,594,102 | true | {"Kotlin": 515914, "Shell": 5712} | /*
* 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 | null | 0 | 0 | fd5a9fd18d1f489d3b8ddfd496d4eacefa90d8be | 2,779 | Jetpack-Compose-Playground | MIT License |
test/src/main/kotlin/test/ErrorEntity.kt | afezeria | 456,986,646 | false | null | package test
import com.github.afezeria.freedao.Long2IntegerResultHandler
import com.github.afezeria.freedao.annotation.Column
import com.github.afezeria.freedao.annotation.Table
/**
*
* @author afezeria
*/
class NoProperty {
}
class WithoutTableAnnotation {
var name: String? = null
}
class ExtendMap : Hash... | 0 | Kotlin | 2 | 3 | 12bcab5714ea7cfa8a0f72062607709041d4d867 | 709 | freedao | Apache License 2.0 |
imagepicker/src/main/java/com/nguyenhoanglam/imagepicker/helper/DeviceHelper.kt | nguyenhoanglam | 64,893,333 | false | null | /*
* Copyright (C) 2023 Image Picker
* Author: <NAME> <<EMAIL>>
*/
package com.nguyenhoanglam.imagepicker.helper
import android.content.Context
import android.content.pm.PackageManager
import android.os.Build
import android.widget.Toast
import com.nguyenhoanglam.imagepicker.R
object DeviceHelper {
val isMinSd... | 21 | Kotlin | 154 | 550 | 7f1b1cc7254bb4d4c11af00f4a17aee782a8a3ef | 919 | ImagePicker | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsactivitiesmanagementapi/model/audit/PrisonerDeclinedFromWaitingListEventTest.kt | ministryofjustice | 533,838,017 | false | {"Kotlin": 3274121, "Shell": 11230, "Dockerfile": 1490} | package uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.model.audit
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import uk.gov.justice.digital.hmpps.hmppsactivitiesmanagementapi.entity.LocalAuditRecord
import java.time.LocalDateTime
class PrisonerDeclinedFromWaitingLis... | 4 | Kotlin | 0 | 1 | af0af6f344301d28db35d7b67e3c624fd31148d4 | 2,262 | hmpps-activities-management-api | MIT License |
extensions/src/main/kotlin/tech/carcadex/kotlinbukkitkit/extensions/ExBukkit.kt | CarcadeX | 681,093,300 | false | null | package br.com.devsrsouza.kotlinbukkitapi.extensions
import net.md_5.bungee.api.chat.BaseComponent
import net.md_5.bungee.api.chat.TextComponent
import org.bukkit.Bukkit
import org.bukkit.Server
import org.bukkit.command.ConsoleCommandSender
import org.bukkit.entity.Player
public val server: Server get() = Bukkit.get... | 11 | null | 22 | 2 | 95edc90da4b6d703e46ef589dbcfbc58b16bff46 | 2,007 | KotlinBukkitKIT | MIT License |
kotlin-typescript/src/main/generated/typescript/CompletionEntryDataAutoImport.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
package typescript
sealed external interface CompletionEntryDataAutoImport {
/**
* The name of the property or export in the module's symbol table. Differs from the completion name
* in the case of InternalSymbolName.ExportEquals and InternalSymbolName.Default... | 38 | Kotlin | 7 | 983 | 7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35 | 825 | kotlin-wrappers | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/outline/PenNibSlash.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.outline
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.Mite... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,910 | icons | MIT License |
meme-lib/src/main/java/com/example/meme_lib/network/ApiInterface.kt | Sparsh011 | 636,824,480 | false | null | package com.example.meme_lib.network
import retrofit2.Response
import retrofit2.http.GET
import retrofit2.http.Path
interface ApiInterface {
@GET("gimme/{count}")
suspend fun getMemes(
@Path("count") limit: Int
) : Response<Memes>
@GET("gimme")
suspend fun getMeme() : Response<Meme>
} | 0 | Kotlin | 0 | 0 | 8c8f4b0b7b25f337d0d09b0359bb016615f3b455 | 316 | Memes-Lib | MIT License |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/LibraryAddCheckTwoTone.kt | karakum-team | 387,062,541 | false | {"Kotlin": 2961484, "TypeScript": 2249, "JavaScript": 1167, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/LibraryAddCheckTwoTone")
package mui.icons.material
@JsName("default")
external val LibraryAddCheckTwoTone: SvgIconComponent
| 0 | Kotlin | 5 | 35 | d12f6b1ad1b215ad7d3d9f27e24d48ada9b7fe2d | 208 | mui-kotlin | Apache License 2.0 |
compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/platform/ShapeContainingUtil.kt | RikkaW | 389,105,112 | true | {"Java": 49060640, "Kotlin": 36832495, "Python": 336507, "AIDL": 179831, "Shell": 150493, "C++": 38342, "ANTLR": 19860, "HTML": 10802, "TypeScript": 6933, "CMake": 3330, "JavaScript": 1343} | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 29 | Java | 937 | 7 | 6d53f95e5d979366cf7935ad7f4f14f76a951ea5 | 5,953 | androidx | Apache License 2.0 |
maskwalletcore/src/main/java/com/dimension/maskwalletcore/WalletKey.kt | DimensionDev | 366,981,416 | false | null | package com.dimension.maskwalletcore
import com.google.protobuf.ByteString
class WalletKey private constructor(
private var storedKey: Base.StoredKeyInfo
) {
companion object {
fun load(
vararg keys: ByteArray
): List<WalletKey> {
return MaskWalletCore.call {
... | 0 | Kotlin | 1 | 2 | 2fbf966710f59dcd8d8ad8d7406e8653386a7493 | 10,338 | MaskWalletCore-Android | MIT License |
app/src/main/java/com/lml/coolweather/ui/weather/WeatherViewModel.kt | avjd | 462,629,359 | false | null | package com.lml.coolweather.ui.weather
import android.location.Location
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
import com.lml.coolweather.logic.Repository
class WeatherViewModel:ViewModel() {
private val locationLiveData=MutableLiveD... | 0 | Kotlin | 0 | 0 | 9bd4b6e8ed8fb24aef13e329347878cd2fe534ff | 577 | CoolWeather | Apache License 2.0 |
wgpu4k/src/nativeMain/kotlin/io.ygdrasil.wgpu/mapper/RenderPassDescriptor.kt | wgpu4k | 773,068,055 | false | null | @file:OptIn(ExperimentalForeignApi::class)
package io.ygdrasil.wgpu.mapper
import io.ygdrasil.wgpu.Color
import io.ygdrasil.wgpu.RenderPassDescriptor
import io.ygdrasil.wgpu.internal.toUInt
import kotlinx.cinterop.*
import webgpu.WGPUColor
import webgpu.WGPURenderPassColorAttachment
import webgpu.WGPURenderPassDepthS... | 7 | null | 6 | 41 | 822c304afaa72411ae42e86f20c7b5c62b5f9815 | 3,062 | wgpu4k | MIT License |
src/main/kotlin/org/jetbrains/intellij/platform/gradle/tasks/PrintProductsReleasesTask.kt | JetBrains | 33,932,778 | false | {"Kotlin": 864349, "Java": 6924} | // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.intellij.platform.gradle.tasks
import org.gradle.api.DefaultTask
import org.gradle.api.Project
import org.gradle.api.provider.ListProperty
import org.gradle.api.tasks.Input
im... | 77 | Kotlin | 271 | 1,426 | b9b6699ebb95c6c88ee188b9d528506744f24ee5 | 3,652 | intellij-platform-gradle-plugin | Apache License 2.0 |
app/src/main/java/com/jackson/tictactoe/utils/KoinModule.kt | Maxwell6635 | 722,506,658 | false | {"Kotlin": 45260} | package com.jackson.tictactoe.utils
import com.jackson.tictactoe.ui.gameplay.friend.viewmodel.PlayWithFriendViewModel
import com.jackson.tictactoe.ui.main.viewmodel.OfflineGameMenuViewModel
import com.jackson.tictactoe.ui.settings.viewmodel.SettingsViewModel
import org.koin.androidx.viewmodel.dsl.viewModel
import org.... | 0 | Kotlin | 0 | 0 | 62f8035ad23e777a07cac50cb058283e193d5526 | 668 | TicTacToe | MIT License |
app/src/main/java/ca/grantelliott/audiogeneapp/data/rpi/api/ConnectionState.kt | grelliott | 291,516,382 | false | null | package ca.grantelliott.audiogeneapp.data.rpi.api
enum class ConnectionState {
DISCONNECTED,
CONNECTED,
CLOSING,
CLOSED,
FAILURE
}
| 0 | Kotlin | 0 | 0 | 8300ca0a2981610dbbcefc3dd54b5adb9e86df6b | 153 | audiogene-app | MIT License |
module/src/main/java/com/ke/hs_tracker/module/ui/summary/HeroBattleRateListViewModel.kt | keluokeda | 469,693,055 | false | {"Kotlin": 372770} | package com.ke.hs_tracker.module.ui.summary
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject
@HiltViewModel
class HeroBattleRateListViewModel @Inject constructor(override val getBattleRateListUseCase: GetHeroBattleRateListUseCase) :
BattleRateListViewModel<BattleRateItem.ClassBattleRa... | 8 | Kotlin | 31 | 216 | b4c42c2ecf385f0f9b18bf5656f1ede42795ef20 | 325 | hs_tracker | MIT License |
app/src/main/java/droiddevelopers254/devfestnairobi/repository/RoomStarrSessionRepo.kt | android254 | 149,591,294 | false | null | package droiddevelopers254.devfestnairobi.repository
import androidx.lifecycle.LiveData
import droiddevelopers254.devfestnairobi.database.AppDatabase
import droiddevelopers254.devfestnairobi.database.dao.SessionsDao
import droiddevelopers254.devfestnairobi.database.dao.StarredSessionDao
import droiddevelopers254.devfe... | 5 | Kotlin | 21 | 15 | 394d1dcb41f89c54e44c45958d6a317bd86c539e | 1,421 | DevFest18 | MIT License |
program/convert-fahrenheit-to-celsius/ConvertFahrenheitToCelsius.kt | isyuricunha | 632,079,464 | false | null | fun main() {
print("Enter fahrenheit : ")
println()
var input = readLine()
println("$input fahrenheit = " + ((input!!.toDouble() -32) * 5/9) + " celsius")
}
| 824 | null | 174 | 6 | c3949d3d4bae20112e007af14d4657cc96142d69 | 173 | program | MIT License |
src/commonMain/kotlin/msw/extras/kxsmine/tree/encoding/payload/PayloadEncoder.kt | RaphaelTarita | 339,542,946 | false | null | package msw.extras.kxsmine.tree.encoding.payload
import msw.extras.kxsmine.tree.node.payload.PayloadNode
public sealed class PayloadEncoder<T> {
public abstract fun encode(node: PayloadNode<T>): ByteArray
public abstract fun encodeSNBT(node: PayloadNode<T>): String
}
| 0 | Kotlin | 0 | 4 | a4ee46c03114463787a0573c41395d02afb468ef | 278 | KXSmine | MIT License |
widgets/src/main/kotlin/com/commonsense/android/kotlin/views/extensions/EditTextExtensions.kt | Tvede-dk | 82,486,921 | false | null | package com.commonsense.android.kotlin.views.extensions
import android.support.annotation.*
import android.text.*
import android.view.inputmethod.*
import android.widget.*
/**
* Marks an EditText to be the "last one" akk the one with the ime done action button on the keyboard.
* @receiver EditText
*/
@UiThread
fu... | 9 | Kotlin | 0 | 8 | eae2deb915804d4c431c3fc9d93c33f011a98e5c | 499 | CommonsenseAndroidKotlin | MIT License |
plugins/gradle/java/src/service/completion/ml/GradleGroovyContextFeatureProvider.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.plugins.gradle.service.completion.ml
import com.intellij.codeInsight.completion.ml.CompletionEnvironment
import com.intellij.codeInsight.completion.ml.ContextFeatureProvider
im... | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 5,037 | intellij-community | Apache License 2.0 |
src/main/kotlin/no/nav/navnosearchapi/service/filters/fasetter.kt | navikt | 654,102,354 | false | {"Kotlin": 78509, "Dockerfile": 257} | package no.nav.navnosearchapi.service.filters
import no.nav.navnosearchadminapi.common.constants.FYLKE
import no.nav.navnosearchadminapi.common.constants.METATAGS
import no.nav.navnosearchadminapi.common.enums.ValidMetatags
import no.nav.navnosearchapi.service.utils.FacetKeys
import no.nav.navnosearchapi.service.utils... | 9 | Kotlin | 0 | 0 | 880d0f5cc62c03f89ac98fe184af7090fafa0365 | 2,218 | navno-search-api | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/CropDinSharp.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/CropDinSharp")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val CropDinSharp: SvgIconComponent
| 12 | null | 5 | 983 | 372c0e4bdf95ba2341eda473d2e9260a5dd47d3b | 206 | kotlin-wrappers | Apache License 2.0 |
presentation/src/main/java/com/hu/dgswgr/ui/theme/Shape.kt | 8954sood | 664,697,491 | false | null | package com.hu.dgswgr.ui.theme
import androidx.compose.foundation.shape.CornerBasedShape
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.runtime.staticCompositionLocalOf
import androidx.compose.ui.unit.dp
class DgswgrShape(
val small: CornerBasedShape = RoundedCornerShape(5.dp)... | 0 | Kotlin | 0 | 0 | 886aea70ea47b85b747ef6bf829fb1724a4e3388 | 579 | DGSW-GR | MIT License |
src/main/kotlin/org/rust/cargo/toolchain/CargoCommandLine.kt | avantgardnerio | 107,056,677 | true | {"Kotlin": 1953595, "Rust": 76650, "Lex": 19046, "HTML": 9321, "Java": 1121, "Shell": 760, "RenderScript": 15} | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.cargo.toolchain
import com.intellij.execution.configuration.EnvironmentVariablesData
import com.intellij.util.execution.ParametersListUtil
import org.rust.cargo.project.model.CargoProject
import... | 0 | Kotlin | 0 | 0 | cecfb919c4d4c15a6508bf22d1cff22a8b1fed35 | 2,266 | intellij-rust | MIT License |
detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/JunkSpec.kt | smyachenkov | 200,190,154 | true | {"Kotlin": 1729078, "HTML": 4183, "Groovy": 3832} | package io.gitlab.arturbosch.detekt.rules
import io.gitlab.arturbosch.detekt.api.internal.CompositeConfig
import io.gitlab.arturbosch.detekt.test.TestConfig
import org.assertj.core.api.Assertions.assertThat
import org.spekframework.spek2.Spek
import org.spekframework.spek2.style.specification.describe
class JunkSpec ... | 4 | Kotlin | 0 | 0 | 3450420fe07dd8d50c666c9ce5e1ff09424ff088 | 1,889 | detekt | Apache License 2.0 |
app/src/main/java/com/junpu/oral/correct/utils/ImageHelper.kt | zhangjunpu | 346,977,457 | false | null | package com.junpu.oral.correct.utils
import android.graphics.Bitmap
import android.util.Size
/**
*
* @author junpu
* @date 2021/2/23
*/
/**
* 等比缩放原始尺寸为目标尺寸
* @param width 原始宽度
* @param height 原始高度
* @param maxWidth 最大限制宽度,默认1600
* @param maxHeight 最大限制高度,默认1600
* @param isResizeMini 如果原始尺寸小于目标尺寸,是否缩放的,默认... | 0 | Kotlin | 0 | 0 | 31f29987b9acf6c821dbfc14765f0a120cfd558d | 963 | CorrectDemo | MIT License |
app/src/main/java/com/fallllllll/lipperwithkotlin/ui/main/home/ShotsActivityContract.kt | haoxikang | 92,583,742 | false | null | package com.fallllllll.lipperwithkotlin.ui.main.home
import com.fallllllll.lipperwithkotlin.core.presenter.Contract
import com.fallllllll.lipperwithkotlin.data.local.user.LipperUser
/**
* Created by fall on 2017/6/18.
* GitHub : https://github.com/348476129/LipperWithKotlin
*/
open class ShotsActivityContract {
... | 0 | Kotlin | 3 | 10 | fa550792aefc532dd17ee6484fa007fef1651b2b | 1,124 | Lipper | MIT License |
src/main/kotlin/at/cpickl/gadsu/image/service.kt | christophpickl | 56,092,216 | false | null | package at.cpickl.gadsu.image
import java.awt.Image
import javax.swing.ImageIcon
fun ImageIcon.scale(targetSize: ImageSize): ImageIcon {
return ImageIcon(this.image.getScaledInstance(targetSize.width, targetSize.height, Image.SCALE_DEFAULT)) // Image.SCALE_FAST
}
| 43 | Kotlin | 1 | 2 | f6a84c42e1985bc53d566730ed0552b3ae71d94b | 270 | gadsu | Apache License 2.0 |
ktlint-ruleset-experimental/src/main/kotlin/com/pinterest/ktlint/ruleset/experimental/CommentWrappingRule.kt | pinterest | 64,293,719 | false | null | package com.pinterest.ktlint.ruleset.experimental
import com.pinterest.ktlint.core.Rule
import com.pinterest.ktlint.core.api.DefaultEditorConfigProperties
import com.pinterest.ktlint.core.api.UsesEditorConfigProperties
import com.pinterest.ktlint.core.ast.ElementType.BLOCK_COMMENT
import com.pinterest.ktlint.core.ast.... | 83 | null | 422 | 5,059 | b882d09ac2c0cfdd144baed29e46c987ff8a0bed | 5,533 | ktlint | MIT License |
src/main/kotlin/hr/fer/infsus/handymanrepairs/model/dto/CountryDTO.kt | Theanko1412 | 783,054,275 | false | {"Kotlin": 222286, "Dockerfile": 106} | package hr.fer.infsus.handymanrepairs.model.dto
import hr.fer.infsus.handymanrepairs.model.dao.City
import hr.fer.infsus.handymanrepairs.model.dao.Country
data class CountryDTO(
var id: String? = null,
val name: String,
val cityIds: List<String>,
)
fun Country.toDTO() =
CountryDTO(
id = this.... | 0 | Kotlin | 0 | 0 | 9f278da33e4fc15cf5ce48839e07d31bcdf31e45 | 539 | handyman-repairs | MIT License |
feature/settings/src/main/kotlin/cn/wj/android/cashbook/feature/settings/screen/BackupAndRecoveryScreen.kt | WangJie0822 | 365,932,300 | false | null | /*
* Copyright 2021 The Cashbook 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 required by applic... | 7 | null | 8 | 71 | 6c39b443a1e1e46cf3c4533db3ab270df1f1b9e8 | 25,516 | Cashbook | Apache License 2.0 |
android/src/main/java/com/flexa/reactnative/FlexaReactNative.kt | flexa | 843,009,156 | false | null | package com.flexa.reactnative
import android.util.Log
import androidx.compose.ui.graphics.Color
import com.facebook.react.bridge.*
import com.facebook.react.module.annotations.ReactModule
import com.facebook.react.modules.core.DeviceEventManagerModule
import com.flexa.core.Flexa
import com.flexa.core.shared.AssetAccou... | 0 | null | 1 | 21 | 9b226b10b110a2bfacd411d760e944eaa2c22958 | 5,173 | flexa-react-native | MIT License |
app/src/main/java/com/example/moviecompose/ui/movie/genreMovieList/GenreMovieDetailScreen.kt | Rohit-2602 | 437,358,869 | false | {"Kotlin": 166198} | package com.example.moviecompose.ui.movie.genreMovieList
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.... | 0 | Kotlin | 1 | 5 | 33c8ab83be812338cd4c7464a89a2e613e5621e7 | 4,593 | Movie-Compose | Apache License 2.0 |
app/src/main/java/com/murgupluoglu/seatviewsample/number/NumbersActivity.kt | murgupluoglu | 179,246,114 | false | null | package com.murgupluoglu.seatviewsample.number
import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.murgupluoglu.seatview.Seat
import com.murgupluoglu.seatview.SeatViewListener
import com.murgupluoglu.seatview.extensions.CenterLinesExtension
import com.murgupl... | 0 | Kotlin | 1 | 20 | beae9adcb45c1a351e035dfef2da61b48ba3244d | 8,067 | seatview-android | MIT License |
app/src/main/java/com/alynva/drinks/drinks/scenarios/main/IngredientAdapter.kt | Alynva | 160,051,240 | false | null | package com.alynva.drinks.drinks.scenarios.main
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.alynva.drinks.drinks.R
import com.alynva.drinks.drinks.entities.Ingredient
import kotlinx.android.synthetic.main.list_ingred... | 0 | Kotlin | 0 | 0 | c0f5225ccea32ca2bdc4256bb9ebb544cfceab14 | 1,173 | Drinks | MIT License |
sdk/src/main/kotlin/com/processout/sdk/api/model/response/PONativeAlternativePaymentMethodDefaultValuesResponse.kt | processout | 117,821,122 | false | null | package com.processout.sdk.api.model.response
import com.processout.sdk.api.model.request.PONativeAlternativePaymentMethodDefaultValuesRequest
import java.util.UUID
/**
* Defines the response with default values for native alternative payment method parameters.
* This response can only be created from [PONativeAlte... | 0 | null | 5 | 2 | 85950c812a226cde8d7260d4f113847684129edb | 1,179 | processout-android | MIT License |
solve/src/commonMain/kotlin/it/unibo/tuprolog/solve/stdlib/primitive/Is.kt | tuProlog | 230,784,338 | false | null | package it.unibo.tuprolog.solve.stdlib.primitive
import it.unibo.tuprolog.core.Substitution
import it.unibo.tuprolog.core.Term
import it.unibo.tuprolog.solve.ExecutionContext
import it.unibo.tuprolog.solve.function.evalAsExpression
import it.unibo.tuprolog.solve.primitive.BinaryRelation
import it.unibo.tuprolog.solve.... | 92 | null | 14 | 93 | 3223ffc302e5da0efe2b254045fa1b6a1a122519 | 723 | 2p-kt | Apache License 2.0 |
src/main/kotlin/com/rustyrazorblade/easycasslab/commands/UpdateConfig.kt | rustyrazorblade | 253,851,902 | false | {"Kotlin": 94390, "Jsonnet": 47770, "Shell": 21124, "HCL": 7431, "Python": 4215, "Dockerfile": 1781} | package com.rustyrazorblade.easycasslab.commands
import com.beust.jcommander.Parameter
import com.beust.jcommander.Parameters
import com.fasterxml.jackson.databind.node.ObjectNode
import com.rustyrazorblade.easycasslab.Context
import com.rustyrazorblade.easycasslab.configuration.ServerType
import java.nio.file.Files
i... | 45 | Kotlin | 2 | 3 | 30f0637a5f1a02e29ea673fb44c2df7044a24b52 | 2,534 | easy-cass-lab | Apache License 2.0 |
library/src/main/java/com/zhuiyun/library/ble/BleLogListener.kt | zhuiyun | 480,677,598 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Markdown": 2, "Proguard": 2, "Kotlin": 55, "XML": 55, "INI": 1, "Java": 33} | package com.zhuiyun.library.ble
interface BleLogListener {
fun updataData(data: ByteArray)
} | 0 | Java | 0 | 2 | d6452d76653c4e3456041d222d1e081e34624cb1 | 97 | UtilLibrary | Apache License 2.0 |
clients/ktorm-schema/generated/src/main/kotlin/org/openapitools/database/models/AdGroupResponse.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | /**
* Pinterest REST API
* Pinterest's REST API
*
* The version of the OpenAPI document: 5.12.0
* Contact: <EMAIL>
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.openapitools.database.models
... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 13,132 | pinterest-sdk | MIT License |
mylibrary/src/main/java/com/esp/library/exceedersesp/controllers/tindercard/SpotDiffCallback.kt | ahsan1122 | 252,773,303 | false | {"Java": 842247, "Kotlin": 834320} | package com.esp.library.exceedersesp.controllers.tindercard
import androidx.recyclerview.widget.DiffUtil
import utilities.data.applicants.ApplicationsDAO
class SpotDiffCallback(
private val old: List<ApplicationsDAO>,
private val new: List<ApplicationsDAO>
) : DiffUtil.Callback() {
override fun g... | 1 | null | 1 | 1 | 2b7c6b7f21434bddef0733f4159846b838dc5dc5 | 735 | ESP_Library | MIT License |
app/src/main/java/dev/kxxcn/app_with/ui/main/timeline/TimeLineAdapter.kt | kxxcn | 144,531,697 | false | {"Java": 360772, "Kotlin": 217441} | package dev.kxxcn.app_with.ui.main.timeline
import android.app.Activity
import android.support.v4.content.ContextCompat
import android.support.v7.widget.RecyclerView
import android.text.TextUtils
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
i... | 1 | null | 1 | 1 | 0ecf7c7ca19be53a965f9880a144993e3b9049d4 | 7,745 | with | Apache License 2.0 |
clients/src/main/kotlin/com/rent/webserver/models/ResponseMsg.kt | Prannav-k | 207,346,768 | false | {"Gradle": 5, "XML": 6, "INI": 4, "Shell": 1, "Batchfile": 1, "Markdown": 1, "JSON": 1, "JavaScript": 1, "HTML": 1, "Kotlin": 30, "Java": 1, "Java Properties": 1} | package com.rent.webserver.models
import com.fasterxml.jackson.annotation.JsonProperty
data class ResponseMsg(
@JsonProperty("code")
val code: Int,
@JsonProperty("status")
val status: String,
@JsonProperty("message")
val message: String) | 1 | null | 1 | 1 | 8274f049059a0911f0143d5af8ffe0168a8b9a82 | 287 | rentAgreement | Apache License 2.0 |
src/main/kotlin/com/haulmont/cuba/cli/cubaplugin/installcomponent/AddComponentCommand.kt | cuba-platform | 127,913,583 | false | null | /*
* Copyright (c) 2008-2018 Haulmont.
*
* 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 agr... | 22 | null | 7 | 47 | a6966f1c60efaecde739b3bd5f8625456d6bd545 | 2,023 | cuba-cli | Apache License 2.0 |
model/src/commonMain/kotlin/io/github/droidkaigi/confsched2020/model/repository/AnnouncementRepository.kt | DroidKaigi | 202,978,106 | false | null | package io.github.droidkaigi.confsched2020.model.repository
import io.github.droidkaigi.confsched2020.model.Announcement
import kotlinx.coroutines.flow.Flow
interface AnnouncementRepository {
fun announcements(): Flow<List<Announcement>>
suspend fun refresh()
}
| 46 | null | 331 | 785 | 4c5533e4611d4bf6007284dd1f61db2fc92eb0ae | 272 | conference-app-2020 | Apache License 2.0 |
components/client/src/main/kotlin/com/hotels/styx/client/netty/connectionpool/NettyConnection.kt | ExpediaGroup | 106,841,635 | false | {"Java": 3094655, "Kotlin": 814771, "Scala": 392905, "JavaScript": 26394, "Python": 18089, "Shell": 14010, "HTML": 9844, "CSS": 8097, "Makefile": 5123, "Lua": 4188, "ANTLR": 1331, "Dockerfile": 1117, "Groovy": 132} | /*
Copyright (C) 2013-2023 Expedia Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... | 5 | Java | 81 | 253 | ce98188c60a9b8fcf70314451bd28401ea294a4f | 5,038 | styx | Apache License 2.0 |
app/src/main/java/com/blogspot/mykenta/triestestory/MainActivity.kt | kentaromiura | 93,449,705 | false | null | package com.blogspot.mykenta.triestestory
import android.annotation.SuppressLint
import android.app.Dialog
import android.net.Uri
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.text.Html
import android.view.View
import android.view.Window
import android.webkit.WebView
import co... | 1 | null | 1 | 1 | 4dad9b24f050c7fac84826c067bcf4dc35b94f7a | 8,862 | TriesteStory | MIT License |
idea/tests/testData/inspectionsLocal/functionWithLambdaExpressionBody/functionHasArrow.kt | JetBrains | 278,369,660 | false | null | // PROBLEM: none
fun test(a: Int, b: Int) = <caret>{ -> a + b } | 0 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 63 | intellij-kotlin | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/refactoring/rename/inplace/conflicts/classes/FunctionWithClass.kt | JetBrains | 2,489,216 | false | null | // NEW_NAME: A
// RENAME: member
class A(i: Int)
fun <caret>f() {}
fun test() {
f()
val aClass = A(0)
}
| 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 114 | intellij-community | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/intentions/declarations/convertMemberToExtension/final.kt | ingokegel | 72,937,917 | true | null | // WITH_STDLIB
class Owner {
final fun <caret>f() {
}
} | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 64 | intellij-community | Apache License 2.0 |
app/src/main/java/com/work/lazxy/writeaway/entity/PlanningEntity.kt | Lazxy | 134,526,825 | false | null | package com.work.lazxy.writeaway.entity
/**
* Created by Lazxy on 2017/6/1.
*/
class PlanningEntity(var priority: Int, var goal: String) {
// 为了列表项能被独立标识的临时性方案,之后这个Id应该被唯一地放在数据库里
var id: Long = hashCode().toLong()
} | 1 | null | 1 | 1 | 7796459aedd5ad4407a5ec3567ccae7f9f48930d | 226 | WriteAway | MIT License |
clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/GoogleProductCategory1Filter.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | package org.openapitools.model
import java.util.Objects
import com.fasterxml.jackson.annotation.JsonProperty
import org.openapitools.model.CatalogsProductGroupMultipleStringListCriteria
import javax.validation.constraints.DecimalMax
import javax.validation.constraints.DecimalMin
import javax.validation.constraints.Ema... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 940 | pinterest-sdk | MIT License |
analysis/analysis-api/testData/components/resolver/singleByPsi/withTestCompilerPluginEnabled/customSerlializable.kt | JetBrains | 3,432,266 | false | null | // WITH_FIR_TEST_COMPILER_PLUGIN
package test
@org.jetbrains.kotlin.fir.plugin.MySerializable
class FirstTarget
@org.jetbrains.kotlin.fir.plugin.MySerializable
class SecondTarget
@org.jetbrains.kotlin.fir.plugin.CoreSerializer
class Serializer
fun test(serializer: Serializer, target: FirstTarget) {
serializer.<... | 179 | null | 5706 | 48,889 | c46c3c26038158cf80a739431ac8807ac4bbbc0c | 362 | kotlin | Apache License 2.0 |
wear/compose/compose-foundation/src/androidAndroidTest/kotlin/androidx/wear/compose/foundation/BasicCurvedTextTest.kt | phorvicheka-android-kotlin | 475,732,527 | true | {"Java": 52516880, "Kotlin": 50361730, "C++": 8954932, "Python": 265552, "AIDL": 224049, "Shell": 177127, "ANTLR": 19860, "HTML": 10802, "CMake": 8514, "TypeScript": 6933, "JavaScript": 4866, "C": 4764, "Objective-C++": 3190} | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Java | 0 | 0 | ec78de20717c5bc92b2f933070ed0683747cfc10 | 3,768 | androidx | Apache License 2.0 |
ontrack-ui-graphql/src/main/java/net/nemerosa/ontrack/graphql/support/IgnoreRef.kt | nemerosa | 19,351,480 | false | null | package net.nemerosa.ontrack.graphql.support
/**
* Applied on a property to indicate that the field must not be generated.
*/
@Target(AnnotationTarget.PROPERTY)
@Retention(AnnotationRetention.RUNTIME)
@MustBeDocumented
annotation class IgnoreRef | 57 | Kotlin | 27 | 97 | 7c71a3047401e088ba0c6d43aa3a96422024857f | 248 | ontrack | MIT License |
spring-cloud-starter/src/main/kotlin/com/jmsoftware/maf/springcloudstarter/database/MyBatisPlusConfiguration.kt | johnnymillergh | 240,563,247 | false | null | package com.jmsoftware.maf.springcloudstarter.database
import com.baomidou.mybatisplus.annotation.DbType
import com.baomidou.mybatisplus.autoconfigure.MybatisPlusAutoConfiguration
import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor
import com.baomidou.mybatisplus.extension.plugins.inner.BlockAttac... | 1 | Kotlin | 4 | 11 | 67917520e69c3f2a47fdd06817e9421cd4d82159 | 3,605 | muscle-and-fitness-server | Apache License 2.0 |
app/src/main/java/com/domker/doctor/app/applist/SystemLinkViewHolder.kt | MaisonWan | 330,649,879 | false | {"Kotlin": 411869, "Java": 274094} | package com.domker.app.doctor.main.applist
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.domker.app.doctor.R
/**
* 展示系统链接的VH
*/
class SystemLinkViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
v... | 0 | Kotlin | 0 | 0 | df13773545f278b8e2946a93bd0b30477e176120 | 850 | AppDoctor | Apache License 2.0 |
swc-binding/src/main/kotlin/dev/yidafu/swc/dsl/TerserMangleOptions.kt | yidafu | 745,507,915 | false | {"Kotlin": 1532978, "JavaScript": 1186983, "TypeScript": 52873, "Rust": 15241, "Shell": 2012} | package dev.yidafu.swc.dsl
import dev.yidafu.swc.types.*
fun TerserMangleOptions.terserManglePropertiesOptions(block: TerserManglePropertiesOptions.() -> Unit): TerserManglePropertiesOptions {
return TerserManglePropertiesOptions().apply(block)
} | 1 | Kotlin | 0 | 0 | fecf831e1b47f4693eba781e74d3cf7df22dfac7 | 252 | swc-binding | Apache License 2.0 |
crypto/src/main/kotlin/org/web3k/random/LinuxSecureRandom.kt | zla-io | 136,006,148 | false | {"Kotlin": 82252} | /*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 1 | Kotlin | 0 | 0 | 48eb53a65f367f4c2094112e698b02703848b8af | 3,163 | web3k | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.