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/example/composefirstapp/ui/data/Ejemplo.kt | ArkF3r | 537,678,782 | false | null | package com.example.composefirstapp.ui.data
import com.squareup.moshi.JsonClass
@JsonClass(generateAdapter = true)
data class Ejemplo(
val a : Int,
val b : Int,
val e : Ejemplo2?
)
| 0 | Kotlin | 0 | 0 | a9e217001f46d990e8592fff2b84792c64b5c3bc | 195 | First-JetPack-Compose-App | Apache License 2.0 |
src/main/kotlin/com/msg/gcms/domain/attendance/repository/impl/CustomScheduleRepositoryImpl.kt | GSM-MSG | 592,816,374 | false | {"Kotlin": 409079, "Shell": 1448, "Dockerfile": 115} | package com.msg.gcms.domain.attendance.repository.impl
import com.msg.gcms.domain.attendance.domain.entity.QAttendance.attendance
import com.msg.gcms.domain.attendance.domain.entity.QSchedule.schedule
import com.msg.gcms.domain.attendance.domain.entity.Schedule
import com.msg.gcms.domain.attendance.domain.enums.Period... | 9 | Kotlin | 1 | 11 | f01e132e71a51c6790b2448bce9393f4d8a1c13c | 1,437 | GCMS-BackEnd | MIT License |
rewrite-java-tck/src/main/kotlin/org/openrewrite/java/cleanup/CompareEnumWithEqualityOperatorTest.kt | rahulvramesh | 561,633,409 | true | {"INI": 2, "Gradle Kotlin DSL": 30, "Shell": 6, "Markdown": 8, "Git Attributes": 1, "Batchfile": 2, "Text": 4, "Ignore List": 3, "Kotlin": 451, "Java": 1134, "YAML": 31, "JSON": 2, "ANTLR": 21, "EditorConfig": 12, "Groovy": 3, "XML": 1} | /*
* Copyright 2022 the original author or authors.
* <p>
* 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
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by... | 0 | null | 0 | 1 | dca13eabf5551d603dcade7a4be27d1e8536ee80 | 2,510 | rewrite | Apache License 2.0 |
app/src/main/java/com/brilliancesoft/mushaf/utils/extensions/OnPreferencesClick.kt | vipafattal | 189,261,183 | false | null | package com.brilliancesoft.mushaf.utils.extensions
import androidx.annotation.StringRes
import androidx.preference.Preference
import androidx.preference.PreferenceFragmentCompat
import com.abed.magentaX.standard.lambda.unitFun
inline fun PreferenceFragmentCompat.onPreferencesClick(
@StringRes key: Int,
crossi... | 8 | Kotlin | 1 | 3 | 782abb77ed3a284e8329b990c14d4e417a748ab2 | 469 | Mushaf | Apache License 2.0 |
Surf test task/app/src/main/java/com/example/moviekatalog/Network/MovieApi.kt | OrlovEgor | 391,751,586 | false | null | package com.example.moviekatalog.Network
import com.example.moviekatalog.Network.models.RemoteResultMovie
import retrofit2.http.*
interface MovieApi {
@GET("discover/movie")
suspend fun getMovie(): RemoteResultMovie
@GET("search/movie")
suspend fun gewFilterMovie(
@Query("query") movieName: ... | 0 | Kotlin | 0 | 0 | e81848b55c39f8548b93a380bfa3d3ccdb18ef49 | 353 | Test-App-Movie-catalog | The Unlicense |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/submission/ui/homecards/TestNegativeCard.kt | si-covid-19 | 286,833,811 | false | null | package de.rki.coronawarnapp.submission.ui.homecards
import android.view.ViewGroup
import de.rki.coronawarnapp.R
import de.rki.coronawarnapp.databinding.HomeSubmissionStatusCardNegativeBinding
import de.rki.coronawarnapp.submission.ui.homecards.TestNegativeCard.Item
import de.rki.coronawarnapp.ui.main.home.HomeAdapter... | 6 | Kotlin | 8 | 15 | 5a3b4be63b5b030da49216a0132a3979cad89af1 | 1,399 | ostanizdrav-android | Apache License 2.0 |
app/src/main/java/com/io/gazette/common/ui/components/NewsList.kt | efe-egbevwie | 475,847,896 | false | {"Kotlin": 133774} | package com.io.gazette.common.ui.components
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.LazyListState
import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.lazy.rememberLazyListState
import andro... | 0 | Kotlin | 1 | 0 | a59a7ee7e0af3a8dfd80cb99503906bf92850568 | 1,459 | Gazette | The Unlicense |
app/src/main/java/ru/sulgik/remotearduino/modules/bluetooth/livedatas/DiscoveredDevices.kt | SuLG-ik | 259,124,228 | false | {"Gradle": 6, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 5, "Batchfile": 1, "Git Attributes": 1, "Markdown": 1, "INI": 3, "Proguard": 4, "Kotlin": 70, "XML": 73, "JSON": 1, "Java": 3} | package ru.sulgik.remotearduino.modules.bluetooth.livedatas
import android.bluetooth.BluetoothAdapter
import android.bluetooth.BluetoothDevice
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import androidx.lifecycle.LiveData
cl... | 0 | Kotlin | 0 | 0 | 7eb6b995ccd2caabca94cdb4aaf158ae8fb97637 | 1,882 | RemoteArduino | Apache License 2.0 |
interesting/DevStandard/src/main/java/afkt_replace/standard/ColorSortMain.kt | afkT | 343,177,221 | false | null | package novalinx.standard
import novalinx.standard.catalog.Config
import dev.utils.DevFinal
import dev.utils.common.CollectionUtils
import dev.utils.common.ColorUtils
import dev.utils.common.ColorUtils.ColorInfo
import dev.utils.common.FileUtils
import dev.utils.common.StringUtils
import org.xml.sax.Attributes
import ... | 2 | null | 17 | 72 | 710033ee53928e30f8dc7b37aacdbde7283a7841 | 5,804 | DevComponent | Apache License 2.0 |
glide/src/main/java/com/angcyo/glide/progress/OkHttpProgressLibraryGlideModule.kt | angcyo | 229,037,615 | false | {"Kotlin": 6719989, "JavaScript": 5194} | package com.angcyo.glide.progress
import android.content.Context
import com.angcyo.library.L
import com.bumptech.glide.Glide
import com.bumptech.glide.Registry
import com.bumptech.glide.annotation.GlideModule
import com.bumptech.glide.integration.okhttp3.OkHttpUrlLoader
import com.bumptech.glide.load.model.GlideUrl
im... | 0 | Kotlin | 6 | 5 | 47013e00b89268a517627f396e50c2c0e889b41e | 898 | UICore | MIT License |
app/src/main/java/com/osmansekman/foodapp/ui/mealadd/MealAddViewModel.kt | osmnskman | 398,875,436 | false | null | package com.osmansekman.foodapp.ui.mealadd
import androidx.lifecycle.LiveData
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import com.osmansekman.foodapp.model.ApiRepository
import com.osmansekman.foodapp.model.entity.mealadd.MealAddRequest
import com.osmansekman.foodapp.model.entity.... | 0 | Kotlin | 0 | 0 | e36e8d1b3e786a24adb8a336c26b6a0ca03e8a6e | 971 | FoodAppp | MIT License |
Retrofit/app/src/androidTest/java/com/goiz/retrofit/MainActivityTest.kt | gsesdras | 311,209,371 | false | null | package com.goiz.retrofit
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.matcher.ViewMatchers.withId
import a... | 0 | Kotlin | 0 | 0 | 864a2b7c4d19fbc59acc998a8b73b4c68a526a31 | 653 | afrodev_atividades | MIT License |
cloud/aws/src/main/java/com/nimbusframework/nimbusaws/cloudformation/model/resource/file/S3NotificationConfiguration.kt | thomasjallerton | 163,180,980 | false | {"Kotlin": 1124638, "Java": 130052, "JavaScript": 12405, "CSS": 297, "Dockerfile": 148} | package com.nimbusframework.nimbusaws.cloudformation.model.resource.file
import com.google.gson.JsonArray
import com.google.gson.JsonObject
class S3NotificationConfiguration {
private val s3LambdaConfigurations: MutableList<S3LambdaConfiguration> = mutableListOf()
fun toJson(): JsonObject {
val noti... | 4 | Kotlin | 4 | 39 | 5c3325caaf3fe9de9ffad130fd1e773c6f680e89 | 838 | nimbus-framework | MIT License |
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/cloud_assembly_schema/AssemblyManifestDsl.kt | F43nd1r | 643,016,506 | false | {"Kotlin": 5432532} | package com.faendir.awscdkkt.generated.cloud_assembly_schema
import com.faendir.awscdkkt.AwsCdkDsl
import javax.`annotation`.Generated
import kotlin.Unit
import software.amazon.awscdk.cloud_assembly_schema.AssemblyManifest
@Generated
public fun buildAssemblyManifest(initializer: @AwsCdkDsl AssemblyManifest.Builder.()... | 1 | Kotlin | 0 | 4 | 3d0f80e3da7d0d87d9a23c70dda9f278dbd3f763 | 413 | aws-cdk-kt | Apache License 2.0 |
app/src/main/java/com/jerry/wuwen/ui/gesture/GestureViewModel.kt | Jerry-bear | 340,545,094 | false | {"C++": 4639944, "Java": 2854887, "C": 390799, "CMake": 377561, "Kotlin": 237623, "Objective-C": 7449, "HTML": 6526, "Makefile": 5283, "AIDL": 995} | package com.jerry.wuwen.ui.gesture
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
import com.jerry.wuwen.logic.Repository
import com.jerry.wuwen.logic.model.LoginRequest
class GestureViewModel:ViewModel() {
var ifbox_run= MutableLiveData<Boo... | 0 | C++ | 0 | 1 | 8be229fd6375047c956c2d00006724b5516367c1 | 978 | WuWen2 | Apache License 2.0 |
app/src/main/java/com/iffly/compose/mvi/MVIActivity.kt | feiyin0719 | 394,281,905 | false | null | package com.iffly.compose.mvi
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
class MVIActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
M... | 0 | Kotlin | 0 | 3 | a4a803fa5033de5d05b56690c721bbc6a54e700b | 345 | compose_architecture | MIT License |
app/src/main/java/com/tap/data/source/remote/source/RemoteDataSource.kt | alonsd | 622,454,267 | false | null | package com.tap.data.source.remote.source
import com.haroldadmin.cnradapter.NetworkResponse
import com.tap.model.YoutubeSearchResultModel
interface RemoteDataSource {
suspend fun searchYoutubeVideos(query: String): NetworkResponse<YoutubeSearchResultModel, String>
} | 0 | Kotlin | 0 | 0 | f1d507c72d54e1d1ae70370fc8932bf694385df8 | 274 | TapMobile | MIT License |
src/main/kotlin/pl/sokolik/bartosz/dividendradar/infrastructure/DividendRadarSpringDataRepository.kt | bartoszsokolik | 507,140,863 | false | {"Kotlin": 34289, "Shell": 668, "JavaScript": 273} | package pl.sokolik.bartosz.dividendradar.infrastructure
import org.springframework.data.mongodb.repository.MongoRepository
import java.time.LocalDate
import java.util.UUID
interface DividendRadarSpringDataRepository : MongoRepository<DividendRadarCompanyDocument, UUID> {
fun findBySymbolAndSummaryDate(symbol: St... | 0 | Kotlin | 0 | 0 | 3560e78c0ea098f37c1d7cf644d74d2ba5121ffe | 532 | dividendradar | Apache License 2.0 |
src/main/kotlin/com/jacobhyphenated/advent2022/day4/Day4.kt | jacobhyphenated | 573,603,184 | false | null | package com.jacobhyphenated.advent2022.day4
import com.jacobhyphenated.advent2022.Day
// Use type aliases to avoid repeatedly writing a bunch of Pair<> types
typealias Section = Pair<Int,Int>
typealias SectionGroup = Pair<Section, Section>
/**
* Day 4: Camp Cleanup
*
* Each group of two elves is assigned 2 sectio... | 0 | Kotlin | 0 | 0 | 9f4527ee2655fedf159d91c3d7ff1fac7e9830f7 | 2,268 | advent2022 | The Unlicense |
composeApp/src/commonMain/kotlin/org/example/todos/viewModels/TodoViewModel.kt | vasba | 851,429,846 | false | {"Kotlin": 19612, "Swift": 621, "HTML": 331, "CSS": 102} | package org.example.todos.viewModels
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import org.example.todos.db.TodoItem
import org.example.todos.repo.TaskRepository
import kotlinx.coroutines.channels.BufferOverflow
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutine... | 0 | Kotlin | 0 | 0 | 271313c8ed86d920fdd67ea7b4c25ccad50d9071 | 1,195 | todos_kmp | MIT License |
korge-game/src/commonMain/kotlin/korlibs/korge/asset/AssetManager.kt | korlibs | 816,852,849 | false | {"Kotlin": 15995} | package korlibs.korge.asset
import korlibs.datastructure.*
import korlibs.image.bitmap.*
import korlibs.korge.game.*
import kotlinx.coroutines.*
class AssetManager(val root: GameRoot) {
fun getImage(name: String): Deferred<BmpSlice> {
TODO()
}
}
val GameRoot.assets by extraPropertyThis { AssetManager... | 0 | Kotlin | 0 | 0 | 0880b41bb3b8855143068cedbbcc2cc129ac3aeb | 329 | korge-game | MIT License |
src/all/hentai3/src/eu/kanade/tachiyomi/extension/all/hentai3/Hentai3.kt | keiyoushi | 740,710,728 | false | {"Kotlin": 6577281, "JavaScript": 2160} | package eu.kanade.tachiyomi.extension.all.hentai3
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source.model.MangasPage
import eu.kanade.tachiyomi.source.model.Page
import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.source.... | 404 | Kotlin | 461 | 2,055 | 4bf6be0a99cdfeb96345aca7c87cd1ab8c771a4d | 8,126 | extensions-source | Apache License 2.0 |
app/src/main/java/com/example/sunnyweather/ui/weather/WeatherBottomSheet.kt | ganlingzhi | 473,852,011 | false | {"Kotlin": 71924, "Java": 1171} | package com.example.sunnyweather.ui.weather
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget.ImageView
import android.widget.TextView
import com.example.sunnyweather.R
import com.example.sunnyweather.logic.model.Place
import co... | 0 | Kotlin | 0 | 0 | a059779aeafe61dd2519ad2f4bd430320267652f | 2,469 | SunnyWeatherFourth | Apache License 2.0 |
openrndr-filter/src/main/kotlin/org/openrndr/filter/blend/BlendFilters.kt | E-man-S | 221,031,198 | true | {"Kotlin": 911912, "Java": 571294, "GLSL": 24323, "ANTLR": 9333, "CSS": 4374, "Shell": 1474} | package org.openrndr.filter.blend
import org.openrndr.draw.Filter
import org.openrndr.draw.Shader
import org.openrndr.filter.filterFragmentCode
class ColorBurn : Filter(Shader.createFromCode(Filter.filterVertexCode, filterFragmentCode("blend/color-burn.frag")))
class ColorDodge : Filter(Shader.createFromCode(Filter.f... | 0 | null | 0 | 0 | fa9dbb6aae158da69acd1f1dcd79271184aa0973 | 2,503 | openrndr | BSD 2-Clause FreeBSD License |
app/src/test/java/com/meuus90/booksearcher/model/mock/FakeRepository.kt | meuus90 | 313,518,297 | false | null | package com.meuus90.booksearcher.model.mock
import androidx.paging.ExperimentalPagingApi
import androidx.paging.PagingData
import com.meuus90.booksearcher.model.data.source.repository.book.BooksRepository
import com.meuus90.booksearcher.model.mock.FakeModel.mockPagingData
import com.meuus90.booksearcher.model.schema.b... | 0 | Kotlin | 0 | 0 | f2f1d78cd7ae872215fb45be4c400de1da6f92e5 | 918 | BookSearcher | MIT License |
mobile/app/src/main/java/org/rotclub/area/lib/httpapi/RetrofitClient.kt | RotClub | 856,930,801 | false | {"Kotlin": 64595, "Svelte": 43890, "TypeScript": 42014, "PureBasic": 3658, "Dockerfile": 2262, "JavaScript": 2244, "CSS": 2050, "HTML": 368} | package org.rotclub.area.lib.httpapi
import retrofit2.Response
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.Header
import retrofit2.http.POST
object RetrofitClient {
private const val BASE_URL = "http://10... | 0 | Kotlin | 0 | 0 | 0a75229ef526cab62df94bb5e65b5018e2076744 | 816 | AREA | MIT License |
src/test/kotlin/org/amshove/kluent/tests/assertions/file/ShouldBeFileTests.kt | anistn | 129,401,782 | true | {"Kotlin": 399768} | package org.amshove.kluent.tests.assertions.file
import org.amshove.kluent.shouldBeFile
import org.amshove.kluent.shouldNotBeFile
import org.jetbrains.spek.api.Spek
import java.io.File
import kotlin.test.assertFails
class ShouldBeFileTests : Spek({
val file = File("isFile")
val dir = File("isDir")
given("... | 0 | Kotlin | 0 | 0 | 2592435d5033fdda2e580b95a2dee02578b73c59 | 1,062 | Kluent | MIT License |
core/src/test/kotlin/dev/minutest/junit/JUnit5ObjectLifecycleTests.kt | robstoll | 199,516,701 | true | {"Kotlin": 174242, "Shell": 209} | package dev.minutest.junit
import dev.minutest.assertLogged
import dev.minutest.rootContext
import org.junit.jupiter.api.AfterAll
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.BeforeAll
import org.junit.jupiter.api.BeforeEach
private val log = mutableListOf<String>()
private var hashCode: Int = ... | 0 | Kotlin | 0 | 0 | c18b8ab168ba2d57c234a88a9d0da83317f59454 | 1,853 | minutest | Apache License 2.0 |
app/src/main/java/com/vultisig/wallet/presenter/welcome/WelcomeViewModel.kt | vultisig | 789,965,982 | false | null | package com.vultisig.wallet.presenter.welcome
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.vultisig.wallet.data.repositories.OnBoardRepository
impo... | 22 | null | 1 | 3 | d42af0710fa2fc618ee75656cf260add3aacaf9e | 2,125 | vultisig-android | Apache License 2.0 |
src/main/kotlin/org/t246osslab/easybuggy4kt/exceptions/IllegalPathStateExceptionController.kt | k-tamura | 107,135,934 | false | null | package org.t246osslab.easybuggy4kt.exceptions
import org.springframework.stereotype.Controller
import org.springframework.web.bind.annotation.RequestMapping
import java.awt.geom.GeneralPath
@Controller
class IllegalPathStateExceptionController {
@RequestMapping(value = "/ipse")
fun process() {
val s... | 0 | Kotlin | 4 | 3 | 837775d00038e482647a6fcbe1c8ddfed0ef906f | 409 | easybuggy4kt | Apache License 2.0 |
backend/src/main/kotlin/services/CoursePlanner.kt | Feng-12138 | 640,760,018 | false | null | package services
import entities.Course
import entities.Year
import jakarta.inject.Inject
import repositories.CommunicationRepo
import repositories.CourseRepo
class CoursePlanner {
@Inject
private lateinit var courseRepo: CourseRepo
@Inject
private lateinit var communicationRepo: CommunicationRepo
... | 0 | Kotlin | 2 | 1 | b3ff8072103b57a69bf5e9bcf9918db5ce8cdad9 | 4,504 | LooSchedule | MIT License |
backend/src/main/kotlin/services/CoursePlanner.kt | Feng-12138 | 640,760,018 | false | null | package services
import entities.Course
import entities.Year
import jakarta.inject.Inject
import repositories.CommunicationRepo
import repositories.CourseRepo
class CoursePlanner {
@Inject
private lateinit var courseRepo: CourseRepo
@Inject
private lateinit var communicationRepo: CommunicationRepo
... | 0 | Kotlin | 2 | 1 | b3ff8072103b57a69bf5e9bcf9918db5ce8cdad9 | 4,504 | LooSchedule | MIT License |
adapters/repositories/src/main/kotlin/repositories/DefaultDAO.kt | ESchouten | 361,840,995 | false | null | package repository
import domain.repository.Repository
import org.jetbrains.exposed.dao.Entity
import org.jetbrains.exposed.dao.EntityClass
import repository.DatabaseFactory.query
abstract class DefaultDAO<Domain, ID : Comparable<ID>, E : Entity<ID>> (
private val dao: EntityClass<ID, E>
) : Repository<Domain, ID... | 1 | Kotlin | 11 | 150 | ac674976fca670967e52792b6f6679af2af8cafe | 704 | CleanArchitecture | MIT License |
libs/canvas-api-2/src/main/java/com/instructure/canvasapi2/models/postmodels/CreateObserverThreshold.kt | instructure | 179,290,947 | false | {"Kotlin": 16085132, "Dart": 4413539, "HTML": 185120, "Ruby": 32390, "Shell": 19157, "Java": 13488, "Groovy": 11717, "JavaScript": 9505, "CSS": 1356, "Swift": 404, "Dockerfile": 112, "Objective-C": 37} | /*
* Copyright (C) 2024 - present Instructure, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 7 | Kotlin | 102 | 127 | f82ec380673be5812c88bbc6b15c3d960515c6d8 | 1,157 | canvas-android | Apache License 2.0 |
link/src/main/java/com/stripe/android/link/ui/wallet/WalletScreen.kt | stripe | 6,926,049 | false | null | package com.stripe.android.link.ui.wallet
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Co... | 64 | Kotlin | 522 | 935 | bec4fc5f45b5401a98a310f7ebe5d383693936ea | 14,319 | stripe-android | MIT License |
store-kmp/src/commonMain/kotlin/com/dropbox/kmp/external/store4/Fetcher.kt | aclassen | 449,278,522 | true | {"Kotlin": 92199, "Swift": 20019, "Ruby": 1707} | package com.dropbox.android.external.store4
import com.dropbox.android.external.store4.Fetcher.Companion.of
import com.dropbox.android.external.store4.Fetcher.Companion.ofFlow
import com.dropbox.android.external.store4.Fetcher.Companion.ofResult
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.catch
... | 38 | Kotlin | 167 | 4 | 8659ba0329a22701335a4bac9821007adb812f6d | 4,854 | Store | Apache License 2.0 |
compiler/src/main/kotlin/com/r0adkll/kimchi/util/ksp/BindingType.kt | r0adkll | 842,714,606 | false | {"Kotlin": 143107, "Shell": 3091} | // Copyright (C) 2024 r0adkll
// SPDX-License-Identifier: Apache-2.0
package com.r0adkll.kimchi.util.ksp
import com.google.devtools.ksp.symbol.KSClassDeclaration
import com.google.devtools.ksp.symbol.KSDeclaration
import com.google.devtools.ksp.symbol.KSType
import kotlin.reflect.KClass
fun KSClassDeclaration.findBin... | 2 | Kotlin | 1 | 8 | 4c1b05096184ca4db4dac41104940ef2a70fc67a | 1,555 | kimchi | Apache License 2.0 |
app/src/main/java/com/actively/home/ui/HomeScreen.kt | actively-pw | 671,584,612 | false | {"Kotlin": 364808} | package com.actively.home.ui
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.lay... | 0 | Kotlin | 0 | 0 | 33c791dfa6ce82a6ccacb1b5cdb39d2a26302ef4 | 5,958 | actively-mobile | MIT License |
app/src/main/java/com/viksaa/dailupfi/app/presenter/IntroPresenter.kt | ViksaaSkool | 135,042,344 | false | {"Kotlin": 43685} | package com.viksaa.dailupfi.app.presenter
import com.viksaa.dailupfi.app.presenter.base.BasePresenter
class IntroPresenter : BasePresenter<IntroContract.View>(), IntroContract.Presenter {
} | 0 | Kotlin | 1 | 3 | 2dbb272b57edba119373e9d2c20a015cb57ade8a | 194 | DailUpFi | The Unlicense |
src/test/kotlin/io/mustelidae/otter/sumatrana/api/domain/sentry/SentryResourcesTest.kt | otter-world | 595,030,375 | false | null | package io.mustelidae.otter.sumatrana.api.domain.api
import io.mustelidae.otter.sumatrana.api.config.FlowTestSupport
import io.mustelidae.otter.sumatrana.api.domain.sentry.SentryResources
import io.mustelidae.otter.sumatrana.utils.fromJson
import org.junit.jupiter.api.Test
class SentryForwardControllerTest: FlowTestS... | 0 | Kotlin | 0 | 0 | dc22b11823bace8b21c3fcf12bb1eb53f6a3db71 | 77,115 | sumatrana-otter | MIT License |
src/main/kotlin/com/block/gooseintellij/utils/GooseUtils.kt | Kvadratni | 853,518,502 | false | {"Kotlin": 64373} | package com.block.gooseintellij.utils
import com.block.gooseintellij.toolWindow.GooseTerminalWidget
import com.intellij.ide.BrowserUtil
import com.intellij.ide.util.PropertiesComponent
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.diagnostic.Logger
import com.intellij.openapi.p... | 3 | Kotlin | 1 | 1 | 6dba48ebe7373607e6589c7f2ee1ab4ef5e78f26 | 6,674 | goose-intellij | MIT License |
app/src/main/java/com/ubaidmerchant/findamatch/data/repo/ResultsRepository.kt | ubaid-merchant | 293,975,010 | false | null | package com.ubaidmerchant.findamatch.data.repo
import android.util.Log
import androidx.lifecycle.MutableLiveData
import com.ubaidmerchant.findamatch.data.local.dao.ResultsDao
import com.ubaidmerchant.findamatch.data.remote.api.FamService
import com.ubaidmerchant.findamatch.data.remote.api.FamService.Companion.RESULTS_... | 0 | Kotlin | 0 | 0 | fccb8cdb68e1fdf761ecbf2c5f5036ba18e23661 | 2,942 | FindAMatch | MIT License |
samples/communication-between-nodes-1/src/main/java/com/badoo/ribs/samples/comms_nodes_1/rib/container/routing/ContainerRouter.kt | makaroffandrey | 355,202,214 | true | {"Kotlin": 1203608} | package com.badoo.ribs.samples.comms_nodes_1.rib.container.routing
import android.os.Parcelable
import com.badoo.ribs.core.modality.BuildParams
import com.badoo.ribs.routing.Routing
import com.badoo.ribs.routing.resolution.ChildResolution.Companion.child
import com.badoo.ribs.routing.resolution.Resolution
import com.b... | 0 | Kotlin | 0 | 0 | d803f8259f837e0b956c26a0d6d6ccccbe940e76 | 2,102 | RIBs | Apache License 2.0 |
audio-cast-android/app/src/main/java/com/scythe/audiocast/ui/component/ComposeComponents.kt | juancamilo87 | 405,965,939 | false | null | package com.scythe.audiocast.ui.component
import androidx.compose.material.ExperimentalMaterialApi
import androidx.compose.material.ListItem
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
@OptIn(ExperimentalMaterialApi::class)
@Composable
fun EmptyRowComponent(text: String) {
Lis... | 20 | Kotlin | 0 | 0 | d2c1a2f22698ea0830f6ca3b7fa5aa858f76403c | 364 | audio-cast | MIT License |
LearnBook/CriminalIntent/src/main/java/com/by5388/learn/v4/kotlin/criminalintent/CrimeListViewModel.kt | sby5388 | 373,231,323 | false | null | package com.by5388.learn.v4.kotlin.criminalintent
import androidx.lifecycle.ViewModel
/**
* @author admin on 2021/6/5.
*/
class CrimeListViewModel : ViewModel() {
private val mCrimeRepository = CrimeRepository.get()
val mCrimesListLiveData = mCrimeRepository.getCrimes()
fun addCrime(crime: Crime) {
... | 0 | Kotlin | 5 | 8 | b0fc2c08e17e5333a50e4d57e1d47634e4db562c | 432 | AndroidBianChengQuanWeiZhiNanV4-kotlin | Apache License 2.0 |
cropper/src/main/java/com/canhub/cropper/PickImageContract.kt | CanHub | 314,844,143 | false | null | package com.canhub.cropper
import android.content.Context
import android.content.Intent
import android.net.Uri
import androidx.activity.result.contract.ActivityResultContract
import com.canhub.cropper.CropImage.getPickImageResultUriContent
/**
* An ActivityResultContract to prompt the user to pick an image, receivin... | 8 | null | 88 | 375 | 2b3be06c571679a068fc5111819a8b913e74703c | 1,460 | Android-Image-Cropper | Apache License 2.0 |
app/src/main/java/com/example/rocketreserver/LoginFragment.kt | codeteo | 321,426,673 | false | null | package com.example.rocketreserver
import android.os.Bundle
import android.util.Patterns
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import com.apollographql.apollo.api.Input
import... | 0 | Kotlin | 0 | 0 | 1d2795567d52024f8df9997e75c8aa42c06f9036 | 2,046 | graphQlSample | MIT License |
app/src/main/java/com/zorro/kotlin/samples/widgets/ZorroGoogleWebView.kt | pangli | 233,767,207 | false | null | package com.zorro.kotlin.samples.widgets
import android.content.Context
import android.webkit.JavascriptInterface
import android.widget.FrameLayout
import android.widget.ImageView
import com.bumptech.glide.request.RequestOptions
import com.bumptech.glide.request.target.Target
import com.lxj.xpopup.XPopup
import com... | 1 | Kotlin | 1 | 2 | bf9cfaad4bcfb83d69647483c8f0ba1a73783891 | 3,967 | KotlinMvp | Apache License 2.0 |
secure-random/src/nativeMain/kotlin/io/matthewnelson/secure/random/internal/-Cinterop.kt | 05nelsonm | 587,695,553 | false | null | /*
* Copyright (c) 2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 6 | null | 3 | 9 | 504e2ae058ca77c68b85142ef054ab837a643ed4 | 956 | secure-random | Apache License 2.0 |
sample/src/main/java/com/ramcosta/destinations/sample/tasks/domain/Task.kt | raamcosta | 402,228,168 | false | {"Kotlin": 745973, "Mermaid": 5112} | package com.ramcosta.destinations.sample.tasks.domain
data class Task(
val title: String,
val description: String,
val completed: Boolean,
val id: Int = 0,
)
| 30 | Kotlin | 132 | 3,209 | 092010536d3d7e3911028bf433771a90a60cd314 | 175 | compose-destinations | Apache License 2.0 |
src/main/kotlin/ru/vevteev/tgbot/client/CatClient.kt | v4eii | 680,279,098 | false | {"Kotlin": 89322, "Dockerfile": 88} | package ru.vevteev.tgbot.client
import org.springframework.web.reactive.function.client.WebClient
import org.springframework.web.reactive.function.client.bodyToMono
import ru.vevteev.tgbot.dto.RandomCatDTO
class CatClient(
private val webClient: WebClient,
) {
fun getRandomCat() = webClient.get()
.u... | 0 | Kotlin | 0 | 0 | 08799958c62aa144d08c1946935562564dcc3f1f | 453 | tg-bot | MIT License |
app/src/main/java/com/xgimi/filemanager/utils/MediaOpenUtil.kt | LuffyJoker | 289,462,606 | false | {"Java": 618410, "Kotlin": 538989} | package com.xgimi.filemanager.utils
import android.app.Activity
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.os.Bundle
import android.os.Environment
import android.util.Log
import android.widget.Toast
import co... | 1 | null | 1 | 1 | b6e06b7f4d587ab2439fd01b6238f7d1ef1a994c | 12,658 | CellFileManager | Apache License 2.0 |
arrow-libs/fx/arrow-fx-coroutines/src/jvmTest/kotlin/examples/example-flow-03.kt | arrow-kt | 86,057,409 | false | {"Kotlin": 2793646, "Java": 7691} | // This file was automatically generated from flow.kt by Knit tool. Do not edit.
package arrow.fx.coroutines.examples.exampleFlow02
| 38 | Kotlin | 436 | 5,958 | 5f0da6334b834bad481c7e3c906bee5a34c1237b | 133 | arrow | Apache License 2.0 |
app/src/main/java/jp/cordea/mackerelclient/activity/MetricsEditActivity.kt | CORDEA | 50,841,867 | false | null | package jp.cordea.mackerelclient.activity
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatActivity
import androidx.dat... | 0 | Kotlin | 1 | 4 | 20041d0cec421ec90c376d4259efdca8caee3bdd | 4,923 | MackerelClient | Apache License 2.0 |
stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/attachments/AttachmentFactory.kt | GetStream | 177,873,527 | false | {"Kotlin": 8578375, "MDX": 2150736, "Java": 271477, "JavaScript": 6737, "Shell": 5229} | /*
* Copyright (c) 2014-2022 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-chat-android/blob/main/LICENSE
*
* Unless required by a... | 24 | Kotlin | 273 | 1,451 | 8e46f46a68810d8086c48a88f0fff29faa2629eb | 3,326 | stream-chat-android | FSF All Permissive License |
src/test/kotlin/no/nav/eessi/pensjon/prefill/person/PrefillPDLAdresseTest.kt | navikt | 358,172,246 | false | null | package no.nav.eessi.pensjon.prefill.person
import io.mockk.every
import io.mockk.mockk
import no.nav.eessi.pensjon.personoppslag.pdl.model.AdressebeskyttelseGradering
import no.nav.eessi.pensjon.personoppslag.pdl.model.Bostedsadresse
import no.nav.eessi.pensjon.personoppslag.pdl.model.Folkeregistermetadata
import no.... | 1 | Kotlin | 0 | 2 | 7a5c43612bb5ce88260a9fb41b38fbaa0bb57d2d | 7,791 | eessi-pensjon-prefill | MIT License |
simple-stack-example-kotlin/src/main/kotlin/com/zhuinden/simplestackexamplekotlin/NotificationFragment.kt | prashant31191 | 170,083,351 | true | {"Java": 746947, "Kotlin": 190671, "IDL": 410} | package com.zhuinden.simplestackexamplekotlin
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import butterknife.ButterKnife
/**
* Created by Owner on 2017.11.13.
*/
class NotificationFragment : BaseFragment() {
override fun onCreateView(infla... | 0 | Java | 0 | 0 | e1720066f770bd44e96829bfe269b314fab4f097 | 647 | simple-stack | Apache License 2.0 |
app/src/main/java/com/immortalidiot/wishescompose/di/DispatcherModule.kt | ImmortalIdiot | 862,416,448 | false | {"Kotlin": 64913} | package com.immortalidiot.wishescompose.di
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
import javax.inject.Qualifier
@Qualifier
@Retention(AnnotationRetenti... | 0 | Kotlin | 0 | 0 | ac0cada634a64ea4d34d286cb8100e07b8bffdf8 | 635 | WishesCompose | MIT License |
operator/src/main/kotlin/eu/glasskube/operator/apps/odoo/Odoo.kt | glasskube | 528,301,150 | false | null | package eu.glasskube.operator.apps.odoo
import eu.glasskube.operator.generic.dependent.postgres.PostgresNameMapper
import eu.glasskube.operator.resourceLabels
import io.fabric8.kubernetes.api.model.Namespaced
import io.fabric8.kubernetes.api.model.ResourceRequirements
import io.fabric8.kubernetes.client.CustomResource... | 19 | Kotlin | 4 | 57 | 0cb51187275bfc1f17d7386a790645604532c052 | 2,373 | operator | MIT License |
src/main/kotlin/cndjp/qicoo/api/controller/account/AccountController.kt | cndjp | 211,656,553 | false | null | package cndjp.qicoo.api.controller.account
import io.ktor.routing.Route
import io.ktor.routing.get
import io.ktor.routing.post
import io.ktor.routing.route
import org.kodein.di.Kodein
fun Route.accountController(kodein: Kodein) {
route("/api/v1/") {
// 基本的に /accountはcokkieに保存した後、JWT認証ヘッダーとしてやり取りする。
... | 0 | Kotlin | 0 | 4 | 8d77fe524b5983a04eb13ec51b6a17c2684be030 | 830 | qicoo-api-kt | MIT License |
aTalk/src/main/java/org/atalk/impl/neomedia/stats/SendTrackStatsImpl.kt | cmeng-git | 704,328,019 | false | {"Kotlin": 14364024, "Java": 2718723, "C": 275021, "Shell": 49203, "Makefile": 28273, "C++": 13642, "HTML": 7793, "CSS": 3127, "JavaScript": 2758, "AIDL": 375} | /*
* Copyright @ 2015 Atlassian Pty Ltd
*
* 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 ag... | 0 | Kotlin | 0 | 0 | 90e83dd8c054a5f480d03e8b0b1912b41bd79b0c | 5,046 | atalk-hmos_kotlin | Apache License 2.0 |
compiler/testData/diagnostics/tests/delegatedProperty/propertyDefferedType.kt | BradOselo | 367,097,840 | false | null | // !DIAGNOSTICS: -UNUSED_PARAMETER
// !WITH_NEW_INFERENCE
// NI_EXPECTED_FILE
import kotlin.reflect.KProperty
class B {
val c by <!DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE{NI}!>Delegate(<!UNRESOLVED_REFERENCE!>ag<!>)<!>
}
class Delegate<T: Any>(val init: T) {
operator fun getValue(t: Any?, p: KProperty<*>):... | 1 | null | 1 | 3 | 58c7aa9937334b7f3a70acca84a9ce59c35ab9d1 | 336 | kotlin | Apache License 2.0 |
compiler/testData/diagnostics/tests/delegatedProperty/propertyDefferedType.kt | BradOselo | 367,097,840 | false | null | // !DIAGNOSTICS: -UNUSED_PARAMETER
// !WITH_NEW_INFERENCE
// NI_EXPECTED_FILE
import kotlin.reflect.KProperty
class B {
val c by <!DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE{NI}!>Delegate(<!UNRESOLVED_REFERENCE!>ag<!>)<!>
}
class Delegate<T: Any>(val init: T) {
operator fun getValue(t: Any?, p: KProperty<*>):... | 1 | null | 1 | 3 | 58c7aa9937334b7f3a70acca84a9ce59c35ab9d1 | 336 | kotlin | Apache License 2.0 |
src/test/java/io/javalin/TestBodyReading.kt | theminecoder | 163,403,847 | true | {"Kotlin": 282654, "Java": 91832, "HTML": 432, "CSS": 46, "JavaScript": 45, "FreeMarker": 19} | /*
* Javalin - https://javalin.io
* Copyright 2017 <NAME>
* Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE
*
*/
package io.javalin
import io.javalin.util.TestUtil
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.Matchers.`is`
import org.junit.Test
class TestBodyR... | 0 | Kotlin | 0 | 2 | 0b0388cf71682272fa7a6c9e40aee1c1c1d4864d | 3,457 | javalin | Apache License 2.0 |
src/test/resources/org/jetbrains/research/ml/dataset/anonymizer/transformations/anonymization/kotlin/data/conflicts/in_1_forvard_name.kt | JetBrains-Research | 313,572,156 | false | null | object Test1_0 {
fun main() {
var x = 1
x = 5
val main_v1 = 1
}
} | 3 | null | 1 | 1 | d738818867038cea70db998c138091fbaa14e875 | 97 | dataset-anonymizer | Apache License 2.0 |
app/src/main/java/com/sergeyrodin/matchesboxes/history/HistoryActionModeController.kt | rodins | 340,269,974 | false | null | package com.sergeyrodin.matchesboxes.history
import android.app.Activity
import android.view.ActionMode
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import com.sergeyrodin.matchesboxes.R
class HistoryActionModeController(
private val activity: Activity,
private val vi... | 0 | Kotlin | 0 | 0 | 719cec50f4e6129d0628598e20e21018b79bb8f6 | 1,811 | matches-boxes | Apache License 2.0 |
component/compose-stylesheet-surface/src/commonMain/kotlin/com.moriatsushi.compose.stylesheet.surface/Surface.kt | mori-atsushi | 715,568,978 | false | {"Kotlin": 171940} | package com.moriatsushi.compose.stylesheet.surface
import androidx.compose.foundation.layout.Box
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.Shape
import androidx.compose.ui.graphics.isSpecified
import com.... | 4 | Kotlin | 0 | 36 | 0fbf02aa70fad1a7817353aafbe8e9a3e62388cc | 2,858 | compose-stylesheet | Apache License 2.0 |
sample/kotlin/src/main/kotlin/com/datadog/android/sample/viewpager/FragmentA.kt | DataDog | 219,536,756 | false | null | /*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
package com.datadog.android.sample.viewpager
import androidx.core.os... | 44 | null | 60 | 151 | d7e640cf6440ab150c2bbfbac261e09b27e258f4 | 808 | dd-sdk-android | Apache License 2.0 |
kcrud-employee/src/main/kotlin/kcrud/domain/employee/model/Employee.kt | perracodex | 682,128,013 | false | {"Kotlin": 647587, "JavaScript": 29040, "CSS": 12723, "HTML": 5862, "Dockerfile": 3125} | /*
* Copyright (c) 2024-Present Perracodex. Use of this source code is governed by an MIT license.
*/
package kcrud.domain.employee.model
import io.perracodex.exposed.pagination.IModelTransform
import kcrud.core.database.schema.contact.ContactTable
import kcrud.core.database.schema.employee.EmployeeTable
import kcr... | 0 | Kotlin | 0 | 2 | 0077018126e71d8a7f4da39a9d869804346119c3 | 2,738 | kcrud | MIT License |
app/src/main/java/com/lagradost/shiro/ui/library/LibraryFragment.kt | deceptions | 410,639,357 | false | null | package com.lagradost.shiro.ui.library
import ANILIST_SHOULD_UPDATE_LIST
import ANILIST_TOKEN_KEY
import DataStore.getKey
import DataStore.setKey
import LIBRARY_IS_MAL
import MAL_SHOULD_UPDATE_LIST
import MAL_TOKEN_KEY
import android.content.Context
import android.content.res.ColorStateList
import android.content.res.... | 44 | Kotlin | 6 | 92 | 6f8d6a26f9cc380899582b4aa642fca9998a9d08 | 24,492 | no | MIT License |
app/src/main/java/com/mainxml/visualgo/MainVM.kt | mainxml | 748,125,560 | false | {"Kotlin": 26277} | package com.mainxml.visualgo
import com.mainxml.visualgo.base.BaseViewModel
/**
* @author zcp
*/
class MainVM : BaseViewModel() {
} | 0 | Kotlin | 0 | 0 | 82de3251b29513082828715dbb8c0988bcb5f9a6 | 136 | VisuAlgo | Apache License 2.0 |
src/main/java/icu/takeneko/omms/controller/fabric/network/NetworkUtil.kt | ZhuRuoLing | 523,685,313 | false | {"Gradle": 2, "Markdown": 1, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "INI": 1, "Java": 37, "Kotlin": 5, "JSON": 4, "YAML": 1} | package icu.takeneko.omms.controller.fabric.network
import icu.takeneko.omms.controller.fabric.config.Config
import io.ktor.client.*
import io.ktor.client.call.*
import io.ktor.client.engine.cio.*
import io.ktor.client.plugins.auth.*
import io.ktor.client.plugins.auth.providers.*
import io.ktor.client.request.*
import... | 0 | Java | 2 | 1 | 5886873adec8aebc93c96fb759d1c9bb24914120 | 2,944 | omms-controller-fabric | MIT License |
PettCareAndroidApp/app/src/main/java/com/pettcare/app/core/BaseViewModel.kt | antelukic | 767,127,442 | false | {"Kotlin": 305258} | package com.pettcare.app.core
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.pettcare.app.navigation.Router
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow
... | 0 | Kotlin | 0 | 0 | e6210463d97ef1235a2f0d84c5658f251f857f9a | 1,419 | PettCareApp | Apache License 2.0 |
next/kmp/browser/src/androidMain/kotlin/org/dweb_browser/browser/desk/TaskbarActivity.android.kt | BioforestChain | 594,577,896 | false | {"Kotlin": 3446191, "TypeScript": 818538, "Swift": 369625, "Vue": 156647, "SCSS": 39016, "Objective-C": 17350, "HTML": 16184, "Shell": 13534, "JavaScript": 3982, "Svelte": 3504, "CSS": 818} | package org.dweb_browser.browser.desk
import android.annotation.SuppressLint
import android.graphics.drawable.Drawable
import android.view.Gravity
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.runtime.remem... | 66 | Kotlin | 5 | 20 | 6db1137257e38400c87279f4ccf46511752cd45a | 3,897 | dweb_browser | MIT License |
example/android/app/src/main/kotlin/com/example/FlutterToast_example/MainActivity.kt | PonnamKarthik | 128,602,733 | false | null | package com.example.FlutterToast_example
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 38 | Dart | 226 | 1,141 | f42759de40c93c8fc33c543e73a762323aa5e2d5 | 137 | FlutterToast | MIT License |
app/src/main/java/com/example/jetbee/navigation/Screens.kt | arfinhosainn | 567,978,176 | false | {"Kotlin": 134981} | package com.example.jetbee.navigation
sealed class Screens(val route: String) {
object FireSignInScreen : Screens(route = "Firebase_SignIn_Screen")
object SplashScreen : Screens(route = "Splash_Screen")
object FireSignUpScreen : Screens(route = "Firebase_SignUp_Screen")
object HomeScreen : Screens(rout... | 1 | Kotlin | 9 | 29 | c2918b56ec4135c7c1081cc8dc304e60c03348fe | 1,048 | JetBee | Apache License 2.0 |
src/main/kotlin/org/jboss/dmr/DataInput.kt | hal | 262,060,586 | false | null | package org.jboss.dmr
import org.khronos.webgl.ArrayBuffer
import org.khronos.webgl.DataView
import org.khronos.webgl.Int8Array
import org.khronos.webgl.set
class DataInput(private val bytes: ByteArray) {
private var pos: Int = 0
fun readBoolean(): Boolean {
return read() != 0
}
fun readByt... | 0 | Kotlin | 2 | 0 | 2e445260734b9ca230c11c6b84ee3ac0df737c82 | 3,396 | halos-console | Apache License 2.0 |
app/src/main/java/io/github/emaccaull/sweetnothings/ui/MainActivity.kt | emaccaull | 146,238,650 | false | null | /*
* Copyright (C) 2018 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | Kotlin | 0 | 0 | cb5334f3835d6a66c300ea37e7f0819ed32121e3 | 1,966 | sweet-nothings | Apache License 2.0 |
src/main/kotlin/ui/TopBar.kt | kl3jvi | 672,245,496 | false | null | package ui
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.padding
import androidx.compose.m... | 0 | Kotlin | 0 | 1 | b9fb868275dd2be53bdb1449033a9c9398555332 | 5,078 | Debloater | MIT License |
sample/wallet/src/main/kotlin/com/walletconnect/sample/wallet/ui/common/subscriptions/ActiveSubscriptionsUI.kt | WalletConnect | 435,951,419 | false | {"Kotlin": 1851509, "Java": 4358} | package com.walletconnect.sample.wallet.ui.common.subscriptions
import com.walletconnect.notify.client.Notify
import com.walletconnect.notify.client.NotifyClient
data class ActiveSubscriptionsUI(
val topic: String,
val icon: String,
val name: String,
val messageCount: Int,
val description: String,... | 155 | Kotlin | 68 | 168 | 8aa6b3d6676178c877099ce6479de5db34f11d6e | 994 | WalletConnectKotlinV2 | Apache License 2.0 |
src/main/java/org/runestar/cs2/Test.kt | PhraZier | 182,278,555 | true | {"Kotlin": 114301, "Java": 19324} | package org.runestar.cs2
import java.io.File
import java.nio.file.Files
import java.nio.file.Path
import java.util.concurrent.Executors
import java.util.concurrent.TimeUnit
fun main() {
writeReadme()
decompile()
}
private fun writeReadme() {
val sb = StringBuilder()
val prefix = "scripts/"
sb.app... | 0 | Kotlin | 0 | 0 | e0f04ef4943d93bf6e42d016f1b28a8e166fb5da | 1,814 | cs2 | MIT License |
app/src/main/java/com/words/storageapp/MyApplication.kt | emmasonn | 451,215,073 | false | {"Kotlin": 311218} | package com.words.storageapp
import android.app.Application
import android.content.Context
import android.os.Build
import androidx.annotation.RequiresApi
import androidx.multidex.MultiDex
import androidx.work.*
import com.words.storageapp.di.dagger.AppLevelComponent
import com.words.storageapp.di.dagger.DaggerAppLevel... | 0 | Kotlin | 0 | 1 | 84e4a537e3f45c21cf4ba121c78006f9fab889de | 2,182 | SkillHub | Apache License 2.0 |
app/src/main/java/com/nullpointer/runningcompose/presentation/AuthViewModel.kt | Hcnc100 | 492,511,541 | false | {"Kotlin": 218483} | package com.nullpointer.runningcompose.presentation
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.nullpointer.runningcompose.core.states.Resource
im... | 0 | Kotlin | 4 | 13 | 2ff5a5ae755b55afbc8d1af75aa02eb7f6cf7ded | 1,527 | RunningCompose | MIT License |
src/main/kotlin/com/siral/data/services/DinningHallService.kt | serize02 | 808,147,055 | false | {"Kotlin": 66049} | package com.siral.data.services
import com.siral.data.database.tables.*
import com.siral.data.database.tables.Dinninghalls.id
import com.siral.data.models.DinningHall
import com.siral.data.interfaces.DinningHallDataSource
import kotlinx.coroutines.Dispatchers
import org.jetbrains.exposed.sql.Database
import org.jetbr... | 1 | Kotlin | 0 | 1 | 8121fca50e1cd9dbb7ca0aa2da0eb962aef1fe60 | 2,458 | Siral-Server | MIT License |
app/src/main/kotlin/com/akinci/projectfinder/ui/features/projects/ProjectListViewModel.kt | AttilaAKINCI | 299,001,613 | false | {"Kotlin": 93646} | package com.akinci.projectfinder.ui.features.projects
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.akinci.projectfinder.core.compose.reduce
import com.akinci.projectfinder.core.coroutine.ContextProvider
import com.akinci.projectfinder.core.network.exception.NotFound
import co... | 0 | Kotlin | 0 | 2 | 8e3d121c847348dcf56de0ff194db21190e7ba37 | 5,614 | ProjectFinder | Apache License 2.0 |
app/src/main/java/ru/tech/imageresizershrinker/resize_screen/SingeResizeScreen.kt | T8RIN | 478,710,402 | false | null | package ru.tech.imageresizershrinker.resize_screen
import android.content.Context
import android.content.res.Configuration
import android.net.Uri
import androidx.activity.ComponentActivity
import androidx.activity.compose.BackHandler
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.ac... | 6 | Kotlin | 9 | 209 | f37145abd51ce672cf503d30a5176c1bc447295b | 51,892 | ImageResizer | Apache License 2.0 |
mobile/shared/src/main/java/dev/trotrohailer/shared/database/PassengerDao.kt | riahtu | 254,316,870 | false | {"Kotlin": 191713, "Java": 41120, "JavaScript": 883} | package dev.trotrohailer.shared.database
import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Query
import dev.trotrohailer.shared.data.Passenger
@Dao
interface PassengerDao : BaseDao<Passenger> {
@Query("SELECT * FROM passengers WHERE id = :id")
fun getPassenger(id: String): Live... | 0 | null | 0 | 0 | fb347931d9ecefe1566f8662028bcf0187de468f | 530 | project-trotro-hailer | Apache License 2.0 |
platform/platform-impl/src/com/intellij/ide/ui/UITheme.kt | qb345801622 | 285,457,947 | true | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
@file:Suppress("ReplaceGetOrSet", "ReplacePutWithAssignment", "SSBasedInspection")
package com.intellij.ide.ui
import com.fasterxml.jackson.core.JsonFactory
import com.intellij.AbstractBundle
impor... | 0 | null | 0 | 0 | e27812b3d52b37d24128b7d6ac849a7ab0ab65fb | 16,107 | intellij-community | Apache License 2.0 |
OmetriaSDK/src/main/java/com/android/ometriasdk/core/network/OmetriaThreadPoolExecutor.kt | Ometria | 291,043,005 | false | null | package com.android.ometriasdk.core.network
import java.util.concurrent.LinkedBlockingQueue
import java.util.concurrent.ThreadPoolExecutor
import java.util.concurrent.TimeUnit
/**
* An implementation of ThreadPoolExecutor to handle thread creation.
* @see ThreadPoolExecutor
*/
private const val CORE_POOL_SIZE = 1... | 0 | Kotlin | 2 | 2 | dc156ec9091ff51166fdcd8d951d01b970b6eb99 | 1,286 | ometria.android_sdk | MIT License |
app/src/main/java/com/hitanshudhawan/mccompose/ui/theme/Type.kt | hitanshu-dhawan | 300,496,933 | false | null | package com.hitanshudhawan.mccompose.ui.theme
import androidx.compose.material.Typography
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.sp
val typography = Typography(
h1 = TextStyle(
fontSize = 96.sp,
fontWeight = FontWei... | 7 | null | 20 | 307 | 6a754f7563a8ddd51972aadfdb9d556eaedf0a45 | 1,475 | McCompose | Apache License 2.0 |
app/src/main/java/ru/flyview/freemobile/features/mark_documents/domain/api/MarkApi.kt | DmiMukh | 669,794,051 | false | null | package ru.flyview.freemobile.features.mark_documents.domain.api
import kotlinx.datetime.LocalDate
import ru.flyview.freemobile.features.mark_documents.domain.api.dto.ArticulResponse
import ru.flyview.freemobile.features.mark_documents.domain.api.dto.BarcodeResponse
import ru.flyview.freemobile.features.mark_documents... | 0 | Kotlin | 0 | 0 | caaacf4879e9f0faaa4e6cff00448f0f3bcc346b | 967 | FreeMobile | MIT License |
codeguess-amqp/src/main/kotlin/io/fries/codeguess/amqp/AmqpReceiver.kt | mrkloan | 369,845,800 | false | {"Kotlin": 6744, "Dockerfile": 584} | package io.fries.codeguess.amqp
import io.fries.codeguess.core.event.EventConsumer
import io.fries.codeguess.core.event.GameEvent
import org.slf4j.LoggerFactory
import org.springframework.amqp.rabbit.annotation.RabbitListener
import org.springframework.stereotype.Component
@Component
class AmqpReceiver(private val ev... | 0 | Kotlin | 0 | 0 | e5d194d8c7ab714ae195277858444ede6afc3697 | 595 | codeguess | The Unlicense |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/services/cognito/CfnIdentityPoolRoleAttachmentRoleMappingPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.services.cognito
import io.cloudshiftdev.awscdkdsl.common.CdkDslMa... | 0 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 4,211 | awscdk-dsl-kotlin | Apache License 2.0 |
guiy-example/src/main/kotlin/com/mineinabyss/guiy/example/GuiyCommands.kt | MineInAbyss | 417,169,083 | false | {"Kotlin": 118275} | package com.mineinabyss.guiy.example
import com.mineinabyss.guiy.example.gui.*
import com.mineinabyss.guiy.inventory.guiy
import com.mineinabyss.idofront.commands.execution.IdofrontCommandExecutor
import com.mineinabyss.idofront.commands.extensions.actions.playerAction
import org.bukkit.command.Command
import org.bukk... | 1 | Kotlin | 1 | 29 | 4fc09f192183ea6a6d8a8a7e428b0f0a807bcb55 | 1,795 | guiy-compose | MIT License |
app/src/main/java/ru/nikstep/alarm/util/json/PlaylistTracksJsonAdapter.kt | nikita715 | 224,504,692 | false | null | package ru.nikstep.alarm.util.json
import com.squareup.moshi.JsonAdapter
import com.squareup.moshi.JsonReader
import com.squareup.moshi.JsonWriter
import ru.nikstep.alarm.api.model.PlaylistTracks
import ru.nikstep.alarm.api.model.Track
class PlaylistTracksJsonAdapter : JsonAdapter<PlaylistTracks>() {
override fu... | 0 | Kotlin | 0 | 1 | 5eae531ba4a8184f4f8abfefcbab2c4486efc003 | 3,004 | spotify-alarm-clock | Apache License 2.0 |
app/src/main/java/com/example/thirdsunnyweather/ui/place/PlaceAdapter.kt | ganlingzhi | 399,078,939 | false | null | package com.example.thirdsunnyweather.ui.place
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.RecyclerView
import com.example.thirds... | 0 | Kotlin | 0 | 0 | 8b87dee7aaad8e37206a577684e7fde99ae39596 | 2,340 | ThirdSunnyWeather | Apache License 2.0 |
services/csm.cloud.project.api.timeseries/src/main/kotlin/com/bosch/pt/csm/cloud/projectmanagement/project/workarea/facade/graphql/resource/response/WorkAreaPayloadV1.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2023
*
* ************************************************************************
*/
package com.bosch.pt.csm.cloud.projectmanagement.project.craft.facade.graphql.resource.response
... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 530 | bosch-pt-refinemysite-backend | Apache License 2.0 |
app/src/main/java/dev/abhaycloud/imagegallerycompose/ui/navigation/NavGraph.kt | Abhay-cloud | 597,800,873 | false | null | package dev.abhaycloud.imagegallerycompose.ui.navigation
import androidx.compose.runtime.Composable
import androidx.navigation.NavHostController
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import dev.abhaycloud.imagegallerycompose.ui.create.CreateScreen
import dev.abhayclou... | 0 | Kotlin | 1 | 0 | 34a6369b48b76b8648ae036db7eee34f97ca0533 | 759 | ImageGallery-Compose | Apache License 2.0 |
app/src/main/java/org/wikipedia/dataclient/discussiontools/DiscussionToolsEditResponse.kt | greatfire | 460,298,221 | false | null | package org.wikipedia.dataclient.discussiontools
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import org.wikipedia.dataclient.mwapi.MwResponse
@Serializable
class DiscussionToolsEditResponse : MwResponse() {
@SerialName("discussiontoolsedit") val result: EditResult? = null
... | 2 | null | 480 | 38 | 8c8de602274b0132fc5d22b394a2c47fcd0bf2eb | 542 | apps-android-wikipedia-envoy | Apache License 2.0 |
app/src/main/java/com/zjh/ktwanandroid/presentation/mine/login/LoginVM.kt | aii1991 | 521,137,839 | false | {"Kotlin": 508643, "Java": 46216} | package com.zjh.ktwanandroid.presentation.mine.login
import com.zjh.ktwanandroid.app.base.BaseMVIVM
import com.zjh.ktwanandroid.domain.usecase.MineUseCase
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.asStateFlow
import kotlinx.corout... | 0 | Kotlin | 0 | 0 | 49d8c85b5ed3fb4fe067c2cce589242324bd15d0 | 1,657 | kt-wanandroid | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.