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
manager/presentation/src/main/java/com/cadrikmdev/manager/presentation/screens/settings/navigation/SettingsScreenNav.kt
specure
873,558,864
false
{"Kotlin": 183802}
package com.cadrikmdev.manager.presentation.screens.settings.navigation import kotlinx.serialization.Serializable @Serializable object SettingsScreenNav
0
Kotlin
0
0
d8312d2a8a947b8fd7e0a36fe0647fb2a5e7a881
155
ont-drive-test-tool-manager
Apache License 2.0
app/src/main/java/com/fafadiatech/newscout/fragment/RootTrendingFragment.kt
fafadiatech
219,917,156
false
null
package com.fafadiatech.newscout.fragment import android.content.Context import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.FragmentManager import com.fafadiatech.newscout.FragmentUtil imp...
20
Kotlin
1
0
aa136721998e6c1fa0ab1e2fa1215584a1384b84
2,844
newscout_android
Apache License 2.0
library/src/main/java/com/hsmnzaydn/smsconfirmationview/StringExt.kt
hsmnzaydn
707,904,341
false
{"Kotlin": 36962}
package com.hsmnzaydn.smsconfirmationview internal fun String.digits(): String = filter { char -> char.isDigit() }
0
Kotlin
0
0
178b8b4bb59dd5908ee3d9108e88993d07300273
115
sim-pin-android-lib
Apache License 2.0
app/src/main/kotlin/com/gojek/sample/kotlin/views/detail/DetailView.kt
KotlinID
82,986,639
false
{"Kotlin": 60908}
package com.gojek.sample.kotlin.views.detail import com.gojek.sample.kotlin.internal.data.local.model.Contact import com.gojek.sample.kotlin.views.base.View interface DetailView : View { fun onShowProgressBar() fun onHideProgressBar() fun onLoadContact() fun onShowContact(contact: Contact?) }
0
Kotlin
3
3
24668cea63633f18587bd183d0c40a63e965ade3
314
kotlin-android-example
Apache License 2.0
tokisaki-server/src/main/kotlin/io/micro/server/robot/domain/repository/IRobotManagerRepository.kt
spcookie
730,690,607
false
{"Kotlin": 168133, "Java": 13136}
package io.micro.server.robot.domain.repository import io.micro.server.robot.domain.model.entity.RobotDO import io.micro.server.robot.domain.model.valobj.FeatureFunction import io.micro.server.robot.domain.model.valobj.Switch import io.quarkus.panache.common.Page import io.smallrye.mutiny.Uni interface IRobotManagerR...
0
Kotlin
0
0
63cd90108a0215a42b916fcc15281c658019d357
1,148
Tokisaki
Apache License 2.0
siren-sdk/src/main/java/com/keyvalue/siren/androidsdk/data/model/DataStatus.kt
KeyValueSoftwareSystems
761,023,252
false
{"Kotlin": 176359}
package com.keyvalue.siren.androidsdk.data.model import androidx.annotation.Keep @Keep data class DataStatus( val status: String, )
0
Kotlin
0
0
5b4dd47199f6fda1f4f580a28e6a9cf7ed5409e2
138
siren-android-inbox
MIT License
example/src/main/kotlin/example/kotlin/plugin/NoOpInspection.kt
csense-oss
450,273,016
false
null
package example.kotlin.plugin import org.jetbrains.kotlin.idea.inspections.* class NoOpInspection : AbstractKotlinInspection() { }
0
Kotlin
0
0
2cbc1a108718cc42ddbf0d22c56e306be992e008
133
csense-oss-idea-kotlin-shared-test
MIT License
src/main/kotlin/com/dotori/v2/domain/student/presentation/StuInfoController.kt
Team-Ampersand
569,110,809
false
{"Kotlin": 421826, "Shell": 827}
package com.dotori.v2.domain.student.presentation import com.dotori.v2.domain.student.presentation.data.req.ModifyStudentInfoRequest import com.dotori.v2.domain.student.presentation.data.req.SearchRequestDto import com.dotori.v2.domain.student.presentation.data.res.FindAllStudentResDto import com.dotori.v2.domain.stud...
2
Kotlin
3
15
6647b1f03ae7424af188d0003ad7025f992dca11
1,545
Dotori-server-V2
Apache License 2.0
app/src/main/java/com/cesarwillymc/jpmorgantest/presentation/deletage/LocationDelegateImpl.kt
cesarwillymc
699,947,692
false
{"Kotlin": 134046, "Java": 3910}
package com.cesarwillymc.jpmorgantest.presentation.deletage import com.cesarwillymc.jpmorgantest.di.MainDispatcher import com.cesarwillymc.jpmorgantest.domain.usecase.entities.WeatherDetail import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.flow.MutableStat...
0
Kotlin
0
0
832154825f03a17ff81b87c0ae9b3e6edefbbd5c
1,000
JPMorganTest
Apache License 2.0
data/src/main/kotlin/com/lightteam/modpeide/data/patterns/language/JavaScriptLanguage.kt
eltonkola
233,129,826
true
{"HTML": 1488208, "Kotlin": 327734, "Lua": 94117, "CSS": 7331, "Shell": 436}
/* * Licensed to the Light Team Software (Light Team) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The Light Team licenses this file to You under the Apache License, Version 2.0 * (the "License"); y...
0
HTML
0
2
85e08c43e73c2046bd3f5bd9f63cecafe4a1763a
2,102
LoveCode-IDE
Apache License 2.0
order-service/src/main/kotlin/dev/geovaneshimizu/order/domain/outbox/BatchDeleteAndPublishOutboxMessages.kt
geovaneshimizu
333,155,318
false
null
package dev.geovaneshimizu.order.domain.outbox import mu.KotlinLogging class BatchDeleteAndPublishOutboxMessages(private val outboxRepository: OutboxRepository, private val payloadToEvent: OutboxMessagePayloadToEvent<*>, private val e...
0
Kotlin
0
0
248fac519ff0b238350bcf1bef33727943d8b7d2
1,304
outbox-pattern
MIT License
app/src/main/java/com/urbanist/parking/core/dagger/module/ReportModule.kt
SevaZhukov
183,251,910
false
{"Kotlin": 29200}
package com.urbanist.parking.core.dagger.module import com.urbanist.parking.core.dagger.scope.ActivityScope import com.urbanist.parking.feature.report.data.repository.dagger.ReportRepositoryModule import com.urbanist.parking.feature.report.domain.usecase.dagger.ReportUseCaseModule import com.urbanist.parking.feature.r...
0
Kotlin
0
2
e33f7227bd1c47a5d0c9670cdc743c8c564914e4
748
urbanist-parking
Apache License 2.0
src/main/kotlin/no/nav/familie/ef/søknad/integration/PdlClient.kt
navikt
204,012,464
false
null
package no.nav.familie.ef.søknad.integration import no.nav.familie.ef.søknad.config.PdlConfig import no.nav.familie.ef.søknad.exception.PdlRequestException import no.nav.familie.ef.søknad.integration.dto.pdl.* import no.nav.familie.http.client.AbstractPingableRestClient import org.springframework.beans.factory.annotat...
6
Kotlin
0
1
408684d1da507dc3467a56024545c55b2784950d
2,644
familie-ef-soknad-api
MIT License
fashion-tryon-compose/src/main/kotlin/com/aiuta/fashionsdk/tryon/compose/ui/internal/screens/result/components/GenerationButtonBlock.kt
aiuta-com
759,918,511
false
{"Kotlin": 298401, "Shell": 562}
package com.aiuta.fashionsdk.tryon.compose.ui.internal.screens.result.components import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.width import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx...
0
Kotlin
0
2
e58fe0ad6eb5d4915612e3a3b3286462e587725f
1,662
android-sdk
Apache License 2.0
modulecheck-core/src/main/kotlin/modulecheck/core/anvil/AnvilFactoryParser.kt
RBusarow
316,627,145
false
null
/* * Copyright (C) 2021-2022 <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 t...
21
Kotlin
6
50
1fa7060394857bcc41bca7c2dde62d972d1e9b28
2,817
ModuleCheck
Apache License 2.0
app/src/main/java/com/example/kotlintodowithroom/viewModel/NoteEvents.kt
nimafarzin-pr
734,862,328
false
{"Kotlin": 27227}
package com.example.kotlintodowithroom.viewModel import com.example.kotlintodowithroom.model.Note sealed interface NoteEvents { object SortNote : NoteEvents data class DeleteNote(val note: Note) : NoteEvents data class SaveNote( val title: String, val description: String, val i...
0
Kotlin
0
0
195182ac945f3c1db7300d5660513d8b938fb75f
348
kotlin-todoapp-room-database
MIT License
src/main/kotlin/com/vengateshm/utils/TokenManager.kt
vengateshm
426,101,996
false
{"Kotlin": 14190}
package com.vengateshm.utils import com.auth0.jwt.JWT import com.auth0.jwt.JWTVerifier import com.auth0.jwt.algorithms.Algorithm import com.vengateshm.models.User import io.ktor.config.* import java.util.* class TokenManager(private val config: HoconApplicationConfig) { private val audience = config.property("aud...
0
Kotlin
0
0
0f6b01fdb2197710e43edf9c8923c8c235d5e7ab
1,090
ktor_notes_app_REST_API
Apache License 2.0
bound/kt/src/main/kotlin/tbdex/sdk/rust/Web5.kt
TBD54566975
716,632,781
false
{"Kotlin": 518530, "Rust": 218967, "TypeScript": 66781, "JavaScript": 8428, "Shell": 5893, "Dockerfile": 2177, "Just": 1815, "Java": 564}
package tbdex.sdk.rust import web5.sdk.crypto.keys.Jwk import web5.sdk.crypto.keys.KeyManager import web5.sdk.crypto.signers.Signer import web5.sdk.dids.* import tbdex.sdk.rust.BearerDid as RustCoreBearerDid import tbdex.sdk.rust.DidData as RustCoreDid import tbdex.sdk.rust.DocumentData as RustCoreDocument import tbde...
30
Kotlin
2
6
c3d49855b4099fa663ca14c5c79e8b1e6cd8bc65
3,295
tbdex-rs
Apache License 2.0
app/src/main/java/com/teamnexters/mosaic/ui/search/SearchAdapter.kt
ojh102
166,809,463
false
null
package com.teamnexters.mosaic.ui.search import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.ViewGroup import com.teamnexters.mosaic.data.local.model.Keyword import com.teamnexters.mosaic.databinding.ViewSearchBinding internal class SearchAdapter : RecyclerView.Adapte...
0
Kotlin
0
0
16b69be0d8e82a235222699d9bb38daf44fdac42
967
Mosaic_Android
Apache License 2.0
app/src/main/java/com/ayoprez/sobuu/shared/features/profile/remote/ProfileRemoteDataImpl.kt
AyoPrez
542,163,912
false
{"Kotlin": 531589}
package com.ayoprez.sobuu.shared.features.profile.remote import com.ayoprez.sobuu.shared.models.bo_models.Profile import okhttp3.ResponseBody import org.json.JSONObject import retrofit2.HttpException import retrofit2.Response import javax.inject.Inject class ProfileRemoteDataImpl @Inject constructor( private val ...
0
Kotlin
0
0
d3d9adb6b69abe87c03d94eefcbeaa1c80708f1f
5,174
sobuu
Apache License 2.0
app/src/main/java/com/petterp/floatingx/app/kotlin/FxComposeSimple.kt
Petterpx
372,486,273
false
{"Kotlin": 199536, "Java": 4044}
package com.petterp.floatingx.app.kotlin import android.app.Application import androidx.compose.foundation.background import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.size import androidx.compose.foundation.shape.CircleShape import androidx.compose.material3.Text import androidx....
2
Kotlin
132
1,157
fc89f057055b8ef9466b47bf811d168620b4fa8b
1,794
FloatingX
MIT License
app/src/main/java/com/fourteenrows/p2pcs/model/database/avatar/Avatar.kt
FourteenRows
185,977,617
false
null
package com.fourteenrows.p2pcs.model.database.avatar import com.fourteenrows.p2pcs.objects.items.ItemAvatar import com.google.firebase.auth.FirebaseAuth import com.google.firebase.firestore.FirebaseFirestore class Avatar(private val database: FirebaseFirestore, private val auth: FirebaseAuth) { fun getOwnedAvata...
0
Kotlin
0
0
b88364cb6775aa24ef005845943d1086a7f76bbe
823
P2PCS
MIT License
app/src/main/java/eu/kanade/tachiyomi/ui/library/LibrarySort.kt
cuong-tran
808,519,905
false
{"Kotlin": 3259056}
package eu.kanade.tachiyomi.ui.library import androidx.annotation.DrawableRes import androidx.annotation.StringRes import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.ui.base.MaterialMenuSheet enum class LibrarySort( val mainValue: Int, @StringRes private val stringRes: Int, @DrawableRes private val i...
1
Kotlin
2
5
ccc5052fdd450b937e478c7017aad427f3da8b9e
3,351
tachiyomiJ2K
Apache License 2.0
app/src/main/java/com/samdavid/photobank/models/VideosResponseModel.kt
Sammug
594,834,080
false
null
package com.samdavid.photobank.models data class VideosResponseModel( val hits: List<Video>, val total: Int, val totalHits: Int )
0
Kotlin
0
0
e45a0663ca6d055941ce9489d7c8a7677cc1b2ec
142
Photo-Bank---PIXABAY
MIT License
app/src/main/java/com/fitmate/fitmate/data/repository/CertificationRecordRepositoryImpl.kt
Workout-Study
770,138,955
false
{"Kotlin": 355008, "Java": 2038}
package com.fitmate.fitmate.data.repository import com.fitmate.fitmate.data.model.CertificationMapper.toCertificationRecordDto import com.fitmate.fitmate.data.model.CertificationMapper.toResisterCertificationRecordDto import com.fitmate.fitmate.data.model.dto.CertificationRecordResponseDto import com.fitmate.fitmate.d...
23
Kotlin
0
0
053aadeefededd934be756804b10650fb2449c12
1,884
WorkoutStudy_Android
The Unlicense
client/client-efa/src/commonMain/kotlin/de/jlnstrk/transit/api/efa/response/EfaResponse.kt
jlnstrk
229,599,180
false
{"Kotlin": 729374}
@file:UseSerializers( EfaStringBooleanSerializer::class, EfaPrimitiveSerializer.ForString::class, EfaPrimitiveSerializer.ForFloat::class ) package de.jlnstrk.transit.api.efa.response import de.jlnstrk.transit.api.efa.serializer.generic.EfaMapListSerializer import de.jlnstrk.transit.api.efa.serializer.prim...
0
Kotlin
0
0
9f700364f78ebc70b015876c34a37b36377f0d9c
1,129
transit
Apache License 2.0
escpos4k/src/commonMain/kotlin/cz/multiplatform/escpos4k/bluetooth/BluetoothError.kt
okarmazin
517,312,886
false
{"Kotlin": 230403}
// SPDX-License-Identifier: Apache-2.0 @file:Suppress("MemberVisibilityCanBePrivate") package cz.multiplatform.escpos4k.bluetooth /** Errors encountered when accessing Bluetooth. */ public sealed interface BluetoothError { /** * The current device has no Bluetooth capability. * * Android note: This happe...
16
Kotlin
1
10
8f47188fd504fcaee814071c91f94bd6f8548c42
1,969
escpos4k
Apache License 2.0
DaggerAndHilt/app/src/main/java/com/istudio/di/modules/dagger/demos/concepts/implementations/computer/screen/TftScreen.kt
devrath
692,347,200
false
{"Kotlin": 130016}
package com.istudio.di.modules.dagger.demos.concepts.implementations.computer.screen import com.istudio.di.utils.PrintUtils.printLog import javax.inject.Inject class TftScreen @Inject constructor() : ComputerScreen { init { printLog("LcdScreen constructor is invoked !") } override fun buildScree...
0
Kotlin
0
1
5046236b714d69c67a6683a009e6ad57728c00cb
390
DroidDi
Apache License 2.0
src/commonTest/kotlin/ru/capjack/tool/biser/_test.kt
CaptainJack
134,248,546
false
{"Kotlin": 39746}
package ru.capjack.tool.biser import kotlin.test.assertEquals fun bytes(vararg b: Int): ByteArray { return b.map { it.toByte() }.toByteArray() } fun assertPrimitiveArrayEquals(expected: BooleanArray, actual: BooleanArray) { assertEquals(expected.size, actual.size, "Size") assertEquals(expected.joinToString { it.h...
0
Kotlin
0
0
f4ffe5e4cfcc68c58b5b42fefb48aa2e7035f4d4
1,356
tool-biser
MIT License
subprojects/protocol/src/main/kotlin/com/handtruth/mc/mcsman/protocol/ServicePaket.kt
handtruth
417,843,728
false
null
package com.handtruth.mc.mcsman.protocol import com.handtruth.mc.mcsman.common.model.ExecutableActions import com.handtruth.mc.mcsman.common.model.ExecutableStatus import com.handtruth.mc.paket.Paket import com.handtruth.mc.paket.PaketCreator import com.handtruth.mc.paket.PaketSingleton import com.handtruth.mc.paket.f...
0
Kotlin
0
0
58b2d4bd0413522dbf1cbabc1c8bab78e1b1edfe
4,090
mcsman
Apache License 2.0
app/src/main/java/com/ryunen344/twikot/domain/entity/AccountAndAccountDetail.kt
RyuNen344
168,919,467
false
null
package com.ryunen344.twikot.domain.entity import androidx.room.Embedded import androidx.room.Relation class AccountAndAccountDetail { @Embedded lateinit var account : Account @Relation(parentColumn = "userId", entityColumn = "userId") lateinit var accountDetails : List<AccountDetail> }
0
Kotlin
0
0
21fb417513674a6273ef8ce823bc5fddfb1a7e93
306
TwiKot
Apache License 2.0
kotlin/src/main/kotlin/net/timafe/angkor/domain/Area.kt
tillkuhn
219,713,329
false
{"Kotlin": 363265, "TypeScript": 332971, "Go": 139518, "HCL": 95505, "HTML": 82105, "Makefile": 54646, "Shell": 36233, "SCSS": 31379, "Dockerfile": 4705, "JavaScript": 2537, "PLpgSQL": 2280, "CSS": 1037}
package net.timafe.angkor.domain // import io.hypersistence.utils.hibernate.type.basic.PostgreSQLEnumType // with 6.3 we can use org.hibernate.dialect.PostgreSQLEnumJdbcType import io.hypersistence.utils.hibernate.type.array.ListArrayType import jakarta.persistence.* import net.timafe.angkor.domain.enums.Area_Level im...
18
Kotlin
4
17
45cb63ba0fbed123b2e095f0d4eaf07a4950c22c
2,268
angkor
Apache License 2.0
src/main/kotlin/io/api/bloxy/error/Exceptions.kt
GoodforGod
159,240,936
false
null
package io.api.bloxy.error /** * Bloxy API Exceptions types * * @author GoodforGod * @since 22.01.2019 */ open class BloxyException : RuntimeException { constructor(message: String?) : super(message) constructor(message: String?, cause: Throwable?) : super(message, cause) } class ParamException(message:...
0
Kotlin
17
13
f72a6a9c77154ee9b5312d813d687a0df0dbfa33
610
bloxy-api
MIT License
app/src/main/java/com/example/yerbabuena/MenuFragment.kt
QCX51
512,218,002
false
{"Kotlin": 113044}
package com.example.yerbabuena import android.os.Bundle import android.util.Log import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import ...
0
Kotlin
0
0
41a4bd55ab4b84d9d6c763d21b500c19298184fd
1,828
Yerba_Buena
Apache License 2.0
app/src/main/java/com/example/yerbabuena/MenuFragment.kt
QCX51
512,218,002
false
{"Kotlin": 113044}
package com.example.yerbabuena import android.os.Bundle import android.util.Log import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import ...
0
Kotlin
0
0
41a4bd55ab4b84d9d6c763d21b500c19298184fd
1,828
Yerba_Buena
Apache License 2.0
app/src/main/java/com/androidbros/elver/util/InternetCheck.kt
Android-Bros
432,276,829
false
{"Kotlin": 86559}
package com.androidbros.elver.util import android.content.Context import android.net.ConnectivityManager import android.net.NetworkCapabilities import android.os.Build fun internetCheck(context: Context): Boolean { val connectivityManager = context.getSystemService(Context.CONNECTIVITY_SERVICE) as Connec...
0
Kotlin
0
1
18e7fe8d9533a1af27b8f2da95ab8b99f5e1235c
998
El-Ver
MIT License
lawnchair/src/app/lawnchair/search/algorithms/data/Web.kt
LawnchairLauncher
83,799,439
false
{"Git Config": 1, "Gradle": 18, "XML": 1207, "Markdown": 12, "Python": 5, "Text": 8, "Java Properties": 1, "Proguard": 1, "Shell": 2, "INI": 3, "Ignore List": 4, "Batchfile": 1, "Git Attributes": 1, "EditorConfig": 1, "Soong": 12, "Makefile": 1, "YAML": 11, "Kotlin": 580, "Java": 1088, "JSON": 27, "AIDL": 23, "Protocol...
package app.lawnchair.search.algorithms.data import android.util.Log import app.lawnchair.util.kotlinxJson import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import okhttp3.MediaType.Companion.toMediaType import okhttp3.ResponseBody import org.json.JSONArray import retrofit2.Response import re...
292
Java
1156
8,748
382171893cff0ef29e30409479245cfc101edfc1
2,075
lawnchair
Apache License 2.0
migratedb-integration-tests/src/main/java/migratedb/v1/integrationtest/util/dsl/internal/ThenStepImpl.kt
daniel-huss
456,543,899
false
{"Maven POM": 13, "Markdown": 1, "Text": 7, "Ignore List": 3, "Git Attributes": 1, "AsciiDoc": 3, "Kotlin": 140, "XML": 7, "Java": 473, "Gradle": 5, "Shell": 2, "Batchfile": 2, "INI": 1, "SQL": 1, "Groovy": 3, "Java Properties": 5, "YAML": 2}
/* * Copyright 2022-2023 The MigrateDB contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
0
Java
0
0
97ce486d14df4669846a53e5a046a9a87f77788d
2,402
migratedb
Apache License 2.0
timer/src/main/java/com/pomodorotime/timer/di/TimerModule.kt
RoberMiranda92
283,567,928
false
null
package com.pomodorotime.timer.di import com.pomodorotime.timer.TimerViewModel import org.koin.androidx.viewmodel.dsl.viewModel import org.koin.dsl.module val timerModule = module { viewModel { TimerViewModel(get()) } }
1
Kotlin
0
0
07e77f018db930b50b1695d0d79debdc373f39e7
226
PomodoroTime
Apache License 2.0
app/src/main/java/com/android/mvvm/util/Toast.kt
chenkaik
292,511,076
false
null
package com.android.mvvm.util import android.widget.Toast import com.android.mvvm.MyApplication /** * date: 2020/9/9 * desc: 简化toast的使用 */ fun String.showToast(duration: Int = Toast.LENGTH_SHORT) { // "this is Toast".showToast() Toast.makeText(MyApplication.context, this, duration).show() } fun Int.showToast(...
0
Kotlin
0
0
63fe66d8a92ec6699a0ea09711236847e6ec5db6
457
AndroidMVVM
Apache License 2.0
vk-sdk-api/src/main/java/com/vk/sdk/api/wall/methods/WallCreateComment.kt
kulakli
348,914,341
true
{"Kotlin": 4557508, "Java": 37555}
/** * The MIT License (MIT) * * Copyright (c) 2019 vk.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy...
0
null
0
0
10b750d85729818e34d3628f27db42527ddd941b
3,845
vk-android-sdk
MIT License
app/src/main/java/com/mobdeve/s11/group5/shopfreemobileapp/CartViewHolder.kt
TritonSaber
814,968,916
false
{"Kotlin": 58618, "Java": 1735}
package com.mobdeve.s11.group5.shopfreemobileapp import android.util.Log import android.widget.Button import android.widget.EditText import android.widget.ImageButton import android.widget.ImageView import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import com.mobdeve.s11.group5.shopfreemo...
0
Kotlin
0
0
7017813d2aa1e4a960b58b0555e3d2906470cd9f
1,891
MOBDEVE-S11-GROUP5
MIT License
app/src/main/java/com/breezefieldsalesashavarifoods/features/addAttendence/model/LeaveTypeResponseModel.kt
DebashisINT
855,784,708
false
{"Kotlin": 15929080, "Java": 1029428}
package com.breezefieldsalesashavarifoods.features.addAttendence.model import com.breezefieldsalesashavarifoods.base.BaseResponse /** * Created by Saikat on 22-11-2018. */ class LeaveTypeResponseModel : BaseResponse() { var leave_type_list: ArrayList<LeaveTypeDataModel>? = null }
0
Kotlin
0
0
b765ac8aab9525cb78147d55d129b1b8df1b059c
288
AshavariFoods
Apache License 2.0
src/main/java/com/common/widgets/helper/rv/UnderlayButton.kt
teddylinzz
604,409,249
false
null
package com.common.widgets.helper.rv import android.graphics.Canvas import android.graphics.Paint import android.graphics.Rect import android.graphics.RectF import android.graphics.drawable.Drawable import android.text.Layout import android.text.StaticLayout import android.text.TextPaint class UnderlayButton( pri...
0
Kotlin
0
0
2378dde3361a1aaea14973bfbd7a2e52b607961e
2,925
common-widgets-android
Apache License 2.0
core/src/main/java/com/chetanyg/core/network/ApiServiceClient.kt
chetan-yg
280,790,157
false
null
package com.chetanyg.core.network import okhttp3.OkHttpClient import okhttp3.logging.HttpLoggingInterceptor import retrofit2.Retrofit import retrofit2.converter.gson.GsonConverterFactory import java.util.concurrent.TimeUnit object ApiServiceClient { private lateinit var interceptor: HttpLoggingInterceptor pri...
0
Kotlin
0
0
ab197ed15f898151ff1abd6b73aadd72e648412e
1,263
LoginExample
Apache License 2.0
nugu-android-helper/src/main/java/com/skt/nugu/sdk/external/silvertray/AbstractNuguOpusPlayer.kt
nugu-developers
214,067,023
false
{"Kotlin": 2744123, "Java": 1646, "Ruby": 1432}
package com.skt.nugu.sdk.external.silvertray import com.skt.nugu.sdk.agent.mediaplayer.AttachmentPlayablePlayer import com.skt.nugu.sdk.agent.mediaplayer.ErrorType import com.skt.nugu.sdk.agent.mediaplayer.MediaPlayerControlInterface import com.skt.nugu.sdk.agent.mediaplayer.SourceId import com.skt.nugu.sdk.core.inter...
0
Kotlin
17
18
9846a49128bafa343c5d160938246bd61cb4720e
5,481
nugu-android
Apache License 2.0
example/android/app/src/main/kotlin/ir/pwa/yakc/MainActivity.kt
xclud
362,809,434
false
{"Dart": 3485504, "HTML": 3849, "Swift": 404, "Kotlin": 116, "Objective-C": 38}
package ir.pwa.yakc import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
4
Dart
5
13
bfa8b3d7006566da06a743faa95ca7d0b1cfbbb8
116
dart_kubernetes
MIT License
src/Day06.kt
kenyee
573,186,108
false
{"Kotlin": 57550}
fun main() { // ktlint-disable filename val packetMarkerSize = 4 val msgMarkerSize = 14 fun findMarker(encodedMsg: String, markerSize: Int): Int { encodedMsg.windowed(markerSize).forEachIndexed { index, window -> if (window.toCharArray().distinct().size == markerSize) { ...
0
Kotlin
0
0
814f08b314ae0cbf8e5ae842a8ba82ca2171809d
1,057
KotlinAdventOfCode2022
Apache License 2.0
app/src/main/java/com/ibtikar/mvvm_starter_koin_coroutines/data/network/Urls.kt
KhaledSherifSayed
401,142,326
false
null
package com.ibtikar.mvvm_starter_koin_coroutines.data.network import com.ibtikar.mvvm_starter_koin_coroutines.data.network.APIS.CONSTANTS.LATEST object APIS { object CONSTANTS { const val LATEST = "latest" } object URL { object NEWS { const val URL_GET_CURRENCIES = "$LATEST"...
0
Kotlin
0
0
a846ecca5f339942912c0b2750d80e67923e7ce3
340
CurrencyConverter
The Unlicense
app/src/main/kotlin/com/keygenqt/mylibrary/ui/activities/MainActivity.kt
keygenqt
308,420,685
false
null
/* * Copyright 2020 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
0
Kotlin
0
0
da819fdabbd3545a8be00ffbaf35520f64cc344a
2,140
MyLibrary-android
Apache License 2.0
app/src/main/java/com/anytypeio/anytype/ui/profile/KeychainPhraseDialog.kt
anyproto
647,371,233
false
{"Kotlin": 11623123, "Java": 69306, "Shell": 11350, "Makefile": 1334}
package com.anytypeio.anytype.ui.profile import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import com.anytypeio.anytype.core_utils.ext.arg import com.anytypeio.anytype.databinding.DialogKeychainPhraseBinding import com.anyt...
45
Kotlin
43
528
c708958dcb96201ab7bb064c838ffa8272d5f326
1,464
anytype-kotlin
RSA Message-Digest License
app/src/main/java/ir/roocket/sinadalvand/watchify/view/frag/SearchFragment.kt
amirb938
632,337,632
true
{"Kotlin": 20024}
package ir.roocket.sinadalvand.watchify.view.frag import android.content.Context import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import androidx.core.os.bundleOf import androidx.core.widget.doOnTextChanged import androidx.fr...
0
null
0
0
c9bd363d68d1e6f5c0679ec5433e4a94eb1a527c
2,800
Watchify
Apache License 2.0
features/welcome/src/main/java/com/developersancho/welcome/onboarding/OnBoardingScreen.kt
developersancho
454,045,719
false
{"Kotlin": 643302}
package com.developersancho.welcome.onboarding import androidx.compose.animation.AnimatedVisibility import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.material.Button import androidx.compose.material.ButtonDefaults ...
3
Kotlin
33
236
53d96f038e70712387f26a0099949c26a2aa2311
4,825
JetRorty.Android
Apache License 2.0
src/main/kotlin/io/github/liyze09/arms/network/packet/clientbound/RegistryData.kt
Liyze09
832,706,544
false
{"Kotlin": 119781}
package io.github.liyze09.arms.network.packet.clientbound import io.github.liyze09.arms.network.Connection import io.github.liyze09.arms.network.PackUtils.writeMCBoolean import io.github.liyze09.arms.network.PackUtils.writeString import io.github.liyze09.arms.network.PackUtils.writeVarInt import io.github.liyze09.arms...
0
Kotlin
0
1
c021ae748702d47e5ec1698fba0db6b270bc70c4
1,162
ArmServer
Apache License 2.0
src/test/com/github/c0va23/asyncSocksProxy/PortUtilsSpec.kt
c0va23
116,518,584
false
null
package com.github.c0va23.asyncSocksProxy import io.kotlintest.matchers.shouldEqual import io.kotlintest.matchers.shouldThrow import io.kotlintest.properties.forAll import io.kotlintest.properties.headers import io.kotlintest.properties.row import io.kotlintest.properties.table import io.kotlintest.specs.FreeSpec cla...
0
Kotlin
0
0
d2a16d406ef6df822ca06b79dad3af0e1df4587e
1,705
asyncSocksProxy
MIT License
app/src/main/java/com/arctouch/codechallenge/application/UpcomingMoviesApplication.kt
ramonrabello
142,100,279
false
null
package com.arctouch.codechallenge.application import com.arctouch.codechallenge.di.component.DaggerAppComponent import com.arctouch.codechallenge.di.Injector import dagger.android.AndroidInjector import dagger.android.support.DaggerApplication class UpcomingMoviesApplication : DaggerApplication() { companion ob...
0
Kotlin
2
2
f629a84f88536480dbbbc6105b3d80fcada159cb
694
Upcoming-Movies-App
Apache License 2.0
app/src/test/java/com/example/android/architecture/blueprints/todoapp/statistics/StatisticsUtilsKtTest.kt
ykws
351,105,375
true
{"Kotlin": 81874}
package com.example.android.architecture.blueprints.todoapp.statistics import com.example.android.architecture.blueprints.todoapp.data.Task import org.hamcrest.MatcherAssert.assertThat import org.hamcrest.Matchers.`is` import org.junit.Test class StatisticsUtilsKtTest { @Test fun getActiveAndCompleteStatus_e...
1
Kotlin
0
0
11ec0034e370638a18ff39d7cb5783cfaf5d44c6
2,582
android-testing
Apache License 2.0
server/src/jvmMain/kotlin/ru/capjack/csi/core/server/ChannelAcceptor.kt
CaptainJack
180,571,283
false
null
package ru.capjack.csi.core.server import ru.capjack.csi.core.Channel import ru.capjack.csi.core.ChannelHandler interface ChannelAcceptor { fun acceptChannel(channel: Channel): ChannelHandler }
0
Kotlin
0
0
d5529f485d49e2c9642bf37aca377a340edeab8a
198
csi-core
MIT License
shared/src/iosMain/kotlin/co/touchlab/multimoduleshared/PlatformiOS.kt
KevinSchildhorn
283,506,172
false
null
package co.touchlab.multimoduleshared import platform.Foundation.NSDate import platform.Foundation.timeIntervalSince1970 actual fun currentTimeMillis(): Long = (NSDate().timeIntervalSince1970 * 1000).toLong()
0
Kotlin
0
0
e3074cdbd72f444263aa01001752c4030bb7fb08
210
MultiKMPModulesSample
Apache License 2.0
src/main/kotlin/delegation_oo/Player.kt
WanderleiSantos
690,661,912
false
{"Kotlin": 5568}
package delegation_oo interface Player { fun play() }
0
Kotlin
0
0
4a11c1a67203cf4dc1e2aa5c293d3bf99e433cc3
58
DesignPatternsInKotlin
MIT License
core/src/main/java/com/github/offile/permissionshelper/vpn/VpnBuilder.kt
offile
338,356,908
false
null
package com.github.offile.permissionshelper.vpn import com.github.offile.permissionshelper.core.* class VpnBuilder(source: Source) : RationaleRequestBuilder<VpnRequest, Result>(source) { override fun build(): VpnRequest { return VpnRequest(source, onShowRationale) } }
0
Kotlin
0
0
0d65bcb170f15a92f8227e0d348e63c089324dd0
292
PermissionsHelper
Apache License 2.0
app/src/main/java/com/tinaciousdesign/aboutapps/logging/CrashReportingTree.kt
tinacious
857,833,882
false
{"Kotlin": 58486}
package com.tinaciousdesign.aboutapps.logging import android.annotation.SuppressLint import android.util.Log import timber.log.Timber @SuppressLint("LogNotTimber") class CrashReportingTree : Timber.Tree() { override fun log(priority: Int, tag: String?, message: String, t: Throwable?) { if (priority < Log....
1
Kotlin
0
0
c5f68cc4fe3308dec1b774780806e0693ebe478e
872
about-apps-android
MIT License
engine/src/main/kotlin/io/posidon/uranium/gfx/assets/Texture.kt
zaguragit
365,525,969
false
{"Kotlin": 139728, "GLSL": 19421}
package io.posidon.uranium.gfx.assets import io.posidon.uranium.debug.Describable import io.posidon.uranium.util.Format interface Texture : Describable { val id: Int val width: Int val height: Int fun destroy() fun setWrap(wrap: Wrap) fun setMagFilter(filter: MagFilter) fun setMinFilter...
0
Kotlin
0
0
4ef6bffe2f857e8ade0cdc34d4c8a59778bafb28
812
rpg-engine
Apache License 2.0
AndroidBasicsCourse/MyCity/app/src/main/java/com/example/mycity/ui/MyCityViewModel.kt
alghe-global
718,129,890
false
{"Kotlin": 553032}
package com.example.mycity.ui import androidx.lifecycle.ViewModel import com.example.mycity.data.Category import com.example.mycity.data.Recommendation import com.example.mycity.data.local.LocalCategoriesDataProvider import com.example.mycity.data.local.LocalRecommendationDataProvider import kotlinx.coroutines.flow.Mu...
0
Kotlin
0
0
2b979f9c6f23fdccff61d272e2daeb43527d4057
2,103
Kotlin
MIT License
server/src/main/kotlin/uk/tvidal/kraft/engine/RaftEngine.kt
tvidal-net
99,751,401
false
null
package uk.tvidal.kraft.engine import uk.tvidal.kraft.BEFORE_LOG import uk.tvidal.kraft.KRaftError import uk.tvidal.kraft.NEVER import uk.tvidal.kraft.RaftNode import uk.tvidal.kraft.client.clientNode import uk.tvidal.kraft.config.KRaftServerConfig import uk.tvidal.kraft.engine.RaftRole.CANDIDATE import uk.tvidal.kraf...
1
Kotlin
0
0
9cfca67330b27c1f2f834dc430d3a369d2538255
7,607
kraft
MIT License
app/src/main/java/com/mandiri/movie/ui/discover/CategoryAdapter.kt
ETSEmpiricalStudyKotlinAndroidApps
496,349,858
true
{"Kotlin": 157090}
package com.mandiri.movie.ui.discover import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Checkable import android.widget.CheckedTextView import com.mandiri.movie.R import com.mandiri.movie.model.data.Category import com.mandiri.movie.model.data.Subcategory i...
0
null
0
0
54ecad59d599bbf8a1740d784554499882b2b10b
2,670
MandiriMovieDatabase
MIT License
bindings/core/gio/src/nativeMain/kotlin/org/gtkkn/bindings/gio/DBusSubtreeVTable.kt
gtk-kn
609,191,895
false
{"Kotlin": 10448515, "Shell": 2740}
// This is a generated file. Do not modify. package org.gtkkn.bindings.gio import kotlinx.cinterop.CPointed import kotlinx.cinterop.CPointer import kotlinx.cinterop.reinterpret import org.gtkkn.extensions.glib.Record import org.gtkkn.extensions.glib.RecordCompanion import org.gtkkn.native.gio.GDBusSubtreeVTable /** ...
0
Kotlin
0
13
c033c245f1501134c5b9b46212cd153c61f7efea
1,095
gtk-kn
Creative Commons Attribution 4.0 International
PaperVision/src/main/kotlin/io/github/deltacv/papervision/codegen/build/Scope.kt
deltacv
421,245,458
false
{"Kotlin": 516821, "Java": 6199}
package io.github.deltacv.papervision.codegen.build import io.github.deltacv.papervision.codegen.dsl.ScopeContext import io.github.deltacv.papervision.codegen.* import io.github.deltacv.papervision.codegen.language.Language import io.github.deltacv.papervision.node.vision.ColorSpace class Scope( val tabsCount: In...
0
Kotlin
2
5
6b2740e89e46f99d9dd50aed18db7981d5b3895b
8,304
PaperVision
MIT License
src/main/kotlin/no/nav/bidrag/cucumber/cloud/vedtak/VedtakEgenskaper.kt
navikt
321,954,421
false
null
package no.nav.bidrag.cucumber.cloud.vedtak import io.cucumber.java8.No import no.nav.bidrag.cucumber.model.CucumberTestRun import no.nav.bidrag.cucumber.model.CucumberTestRun.Companion.hentRestTjenesteTilTesting import org.slf4j.LoggerFactory @Suppress("unused") // used by cucumber class VedtakEgenskaper : No { ...
8
Kotlin
0
2
8061d15261fa4284b28d6e0294fb5f40caf32de9
738
bidrag-cucumber-cloud
MIT License
data/src/main/kotlin/data/tinder/TinderApiModule.kt
Semper-Viventem
107,101,488
true
{"Kotlin": 204273, "Shell": 4093, "IDL": 740, "Java": 315}
package data.tinder import com.squareup.moshi.Moshi import dagger.Module import dagger.Provides import data.account.AccountModule import data.account.AppAccountAuthenticator import data.network.NetworkClientModule import data.network.NetworkModule import data.tinder.login.LoginRequestParameters import okhttp3.MediaTyp...
0
Kotlin
0
0
5111314d80a78540d10c8eb532f578518546a5b1
3,523
dinger
MIT License
feature/dashboard/src/main/java/org/expenny/feature/dashboard/view/DashboardContent.kt
expenny-application
712,607,222
false
{"Kotlin": 1157225}
package org.expenny.feature.dashboard.view import androidx.compose.foundation.ScrollState import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.WindowInsets import androidx.compose.foundation.layout.fillMaxSize import androidx.c...
0
Kotlin
3
42
f5ae94c73f652a7332ba896c697fc8d562eeca94
4,666
expenny-android
Apache License 2.0
kotlin/workflow-ui-android/src/main/java/com/squareup/workflow/ui/backstack/BackStackEffect.kt
srMarlins
188,280,035
true
{"Kotlin": 532226, "Swift": 84443, "Ruby": 3917, "Java": 2817, "Shell": 525}
package com.squareup.workflow.ui.backstack import android.support.transition.Scene import android.view.View import android.view.ViewGroup import com.squareup.workflow.ui.BackStackScreen import com.squareup.workflow.ui.BackStackScreen.Key import com.squareup.workflow.ui.ViewBinding import com.squareup.workflow.ui.ViewR...
0
Kotlin
0
0
352109c332b05d4ce876f47f1c46bc1bb6ec20af
3,294
workflow
Apache License 2.0
androidx-lifecycle/src/main/java/net/zerotask/libraries/android/foundation/lifecycle/MviViewModel.kt
mainrs
510,350,403
false
null
package net.zerotask.libraries.android.foundation.lifecycle import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import kotlinx.coroutines.channels.Channel import kotlinx.coroutines.flow.* import kotlinx.coroutines.launch /** * A [ViewModel] implementation following the MVI pattern. * * @pa...
2
Kotlin
0
0
846af8828ef3f2ef74d746b1b618b657d1d78920
1,815
android-foundation-libraries
MIT License
src/main/kotlin/com/ort/firewolf/domain/model/village/Villages.kt
h-orito
282,923,189
false
{"Kotlin": 928429, "Batchfile": 522, "Shell": 454}
package com.ort.firewolf.domain.model.village data class Villages( val list: List<Village> )
0
Kotlin
0
0
8c553f8d4d87c11398e240fb94a1627d1c4a26dd
97
firewolf-api
MIT License
shared/src/commonMain/kotlin/io/ktlab/bshelper/model/download/DownloadTask.kt
ktKongTong
694,984,299
false
{"Kotlin": 836649, "Shell": 71}
package io.ktlab.bshelper.model.download import io.ktlab.bshelper.model.IMap import io.ktlab.bshelper.model.IPlaylist import io.ktlab.kown.model.DownloadTaskVO sealed interface IDownloadTask { val taskType: DownloadTaskType val targetPlaylist: IPlaylist data class MapDownloadTask( val downloadTas...
5
Kotlin
0
0
ab6de84e97bcf933d034ca18788170d4ae486341
1,370
cm-bs-helper
MIT License
parsnip/src/main/kotlin/edu/jhuapl/data/parsnip/decode/InstantDecoder.kt
aplpolaris
561,889,726
false
{"Kotlin": 416350, "Python": 7138}
package edu.jhuapl.data.parsnip.decode /*- * #%L * ******************************* UNCLASSIFIED ******************************* * InstantDecoder.kt * edu.jhuapl.data:parsnip * %% * Copyright (C) 2019 - 2024 Johns Hopkins University Applied Physics Laboratory * %% * Licensed under the Apache License, Version 2....
6
Kotlin
0
2
eaebd0bad012bbb5ee981f63960d47ec4db5733c
3,040
parsnip
Apache License 2.0
src/main/kotlin/io/unthrottled/doki/stickers/StickerLevel.kt
doki-theme
126,478,304
false
{"Kotlin": 301336, "Java": 21303, "Shell": 280, "Batchfile": 56}
package io.unthrottled.doki.stickers enum class StickerLevel { OFF, ON, }
25
Kotlin
38
642
53d2fa9458c0e29afec0f4a4c53a25f4449c0bf0
79
doki-theme-jetbrains
MIT License
tasks/misc/medium-jabba/deploy/src/app/src/main/kotlin/jabba/domain/service/UserService.kt
C4T-BuT-S4D
819,487,875
false
{"C++": 262484, "SCSS": 222656, "Rust": 176516, "HTML": 95813, "Python": 72461, "C": 41458, "TypeScript": 22146, "Kotlin": 19213, "Go": 13133, "JavaScript": 10972, "Dockerfile": 10776, "Makefile": 9185, "Shell": 7957, "C#": 5841, "CSS": 4150, "Java": 2479, "Ruby": 2460, "Sage": 1982, "V": 477, "Julia": 115}
package jabba.domain.service import jabba.domain.User import jabba.domain.repository.UserRepository class UserService(private val userRepository: UserRepository) { fun new(): User { return userRepository.create() } fun load(userId: Long): User? { return userRepository.get(userId) } ...
1
C++
4
24
71c355c48ce08a45364fa22df5268bf39c9f51b6
792
bricsctf-2024-quals
Do What The F*ck You Want To Public License
presentation/src/main/java/com/developer/mvi_project_cleanarchitecture/feature/favorite/ui/FavoriteViewModel.kt
mhmd-android
509,102,234
false
null
package com.developer.mvi_project_cleanarchitecture.feature.favorite.ui import androidx.lifecycle.viewModelScope import com.developer.data.favorite.repo.FavoriteRepository import com.developer.mvi_project_cleanarchitecture.common.CoroutineDispatcherProvider import com.developer.mvi_project_cleanarchitecture.common.Loa...
0
Kotlin
0
0
a64c7c98a318f3d6777b745c6b9e09f2f5e5a632
2,814
Mvi-CleanArchitecture
Apache License 2.0
proj/hwvc_android/hwcommon/src/main/java/com/lmy/common/widget/RatioLayout.kt
imalimin
189,817,370
false
{"C": 12831588, "C++": 4182925, "Java": 1174711, "Objective-C": 620709, "Shell": 347243, "CMake": 89380, "M4": 71684, "Makefile": 35664, "Perl": 20074, "JavaScript": 18010, "PowerShell": 12517, "HTML": 5687, "Swift": 3872, "Metal": 3849, "Roff": 3003, "Python": 2490, "Batchfile": 1371}
package com.lmy.common.widget import android.content.Context import android.util.AttributeSet import android.view.View import android.widget.FrameLayout import androidx.annotation.AttrRes import com.lmy.common.R class RatioLayout : FrameLayout { private var mRatioY: Float = 1f constructor(context: Context) :...
1
C
68
195
2146487c4292d8c7453a53c54d1e24417902f8b7
1,780
FilmKilns
MIT License
src/main/kotlin/uppaal/model/Urgent.kt
DEIS-Tools
553,528,774
false
null
package uppaal.model import org.simpleframework.xml.Root @Root(name = "urgent") class Urgent : UppaalPojo { override var parent: UppaalPojo? = null fun clone(): Urgent = Urgent() }
0
Kotlin
0
0
c21f18c71352c2b7ed33c80a4a9b9e7fd6bc1718
192
UPPAAL-ProtoSugar
MIT License
compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/collectors/AbstractDiagnosticCollector.kt
kotlinisjavawithextrasteps
362,461,100
true
null
/* * Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors. * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. */ package org.jetbrains.kotlin.fir.analysis.collectors import org.jetbrains.kotlin.fir.* import org.jetbrains.k...
0
null
0
0
c6fa36348741966c7e2962a371d59fc8a0d6a7ca
3,178
kotlin
Apache License 2.0
feature-dapp-impl/src/main/java/io/novafoundation/nova/feature_dapp_impl/di/modules/web3/PolkadotJsModule.kt
novasamatech
415,834,480
false
{"Kotlin": 7662683, "Java": 14723, "JavaScript": 425}
package io.novafoundation.nova.feature_dapp_impl.di.modules.web3 import com.google.gson.Gson import dagger.Module import dagger.Provides import io.novafoundation.nova.common.address.AddressIconGenerator import io.novafoundation.nova.common.di.scope.FeatureScope import io.novafoundation.nova.common.resources.ResourceMa...
19
Kotlin
5
9
651db6927cdc6ff89448c83d451c84bda937e9fc
3,657
nova-wallet-android
Apache License 2.0
src/main/kotlin/com/github/shmvanhouten/adventofcode/day12/instruction/CopyRegisterInstruction.kt
SHMvanHouten
109,886,692
false
{"Kotlin": 616528}
package com.github.shmvanhouten.adventofcode.day12.instruction import com.github.shmvanhouten.adventofcode.day12.BunnyState class CopyRegisterInstruction(val registerToCopy: Register, registerToSet: Register) : CopyInstruction(registerToSet) { override fun getAmountToSet(state: BunnyState) = state.get(registerTo...
0
Kotlin
0
0
a8abc74816edf7cd63aae81cb856feb776452786
328
adventOfCode2016
MIT License
app/src/main/java/com/sopan/currency_conv/di/SharedPrefModule.kt
gitproject09
645,425,641
false
null
package com.sopan.currency_conv.di import com.sopan.currency_conv.db.SharedPref import org.koin.android.ext.koin.androidContext import org.koin.dsl.module val sharedPrefModule = module { single { SharedPref(androidContext()) } }
0
Kotlin
0
2
7f7adead3be386af4912bebc1c0586844f86a701
236
currencyConversion
Apache License 2.0
app/src/main/java/com/novenosemestre/ai_lens/YuvToRgbConverter.kt
Mgodoyd
808,287,244
false
{"Kotlin": 146357, "Java": 101644, "GLSL": 5356}
package com.novenosemestre.ai_lens import android.content.Context import android.graphics.Bitmap import android.graphics.ImageFormat import android.graphics.Rect import android.media.Image import android.renderscript.Allocation import android.renderscript.Element import android.renderscript.RenderScript import android...
1
Kotlin
0
0
932698c943eef53a72cf6bc973c3fad300f52d88
4,821
AI-lens-F
MIT License
src/main/kotlin/com/deflatedpickle/bugmagic/common/init/BlockInit.kt
DeflatedPickle
141,510,202
false
null
/* Copyright (c) 2019-2020 DeflatedPickle under the MIT license */ package com.deflatedpickle.bugmagic.common.init import com.deflatedpickle.bugmagic.Reference import com.deflatedpickle.bugmagic.common.block.BugBundleBlock import com.deflatedpickle.bugmagic.common.block.SpellTableBlock import com.github.upcraftlp.gla...
18
Kotlin
1
3
1781740bb23631aee8daef0806441182c387044e
689
BugMagic
MIT License
ant-viewver/src/main/java/com/antourage/weaverlib/ui/StreamPreviewManager.kt
antourage
381,353,643
false
null
package com.antourage.weaverlib.ui import android.content.Context import android.util.Log import androidx.annotation.Keep import com.google.android.exoplayer2.* import com.google.android.exoplayer2.source.MediaSource import com.google.android.exoplayer2.source.ProgressiveMediaSource import com.google.android.exoplayer...
0
Kotlin
0
0
138ad31af4d14e87f2cf9d17f3a8eccbda7f5361
4,240
viewer-sdk-android
MIT License
src/main/kotlin/jsonify/Operations.kt
votez
254,347,366
false
null
package jsonify import com.fasterxml.jackson.annotation.JsonSubTypes import com.fasterxml.jackson.annotation.JsonTypeInfo import com.squareup.moshi.JsonClass import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable @JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include= JsonTypeInfo.As...
0
Kotlin
0
0
b52f59efcdf23d66ca21f8c15fd97eee94a4ee1a
1,748
kotlin-json-benchmark
Apache License 2.0
app/src/test/java/ch/abwesend/privatecontacts/infrastructure/repository/ContactGroupRepositoryTest.kt
fgubler
462,182,037
false
{"Kotlin": 1159351, "Java": 369326}
/* * Private Contacts * Copyright (c) 2022. * <NAME> */ package ch.abwesend.privatecontacts.infrastructure.repository import ch.abwesend.privatecontacts.domain.model.ModelStatus.NEW import ch.abwesend.privatecontacts.domain.model.ModelStatus.UNCHANGED import ch.abwesend.privatecontacts.infrastructure.room.contact...
1
Kotlin
1
9
52f679a7803883e6c2530e0fb642049631201656
6,528
PrivateContacts
Apache License 2.0
example/android/app/src/main/kotlin/com/example/example/MainActivity.kt
piotaapps
460,974,884
true
{"Dart": 11258, "HTML": 1503, "Ruby": 1354, "Swift": 404, "Kotlin": 147, "Objective-C": 38}
package pro.awaik.example_google_translate_package import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
0
Dart
0
0
56f54b58ea8d151786ce17a9343a93920e0b853e
147
google_cloud_translation
MIT License
app/src/main/java/com/yash10019coder/musicplayerapp/ui/compose/songslist/SongListViewModel.kt
yash10019coder
769,843,309
false
{"Kotlin": 42356}
package com.yash10019coder.musicplayerapp.ui.compose.songslist import android.media.MediaPlayer import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.yash10019coder.domain.mediaplayer.MediaPlayerController import com.yash10019coder.domain.repository.SongsRepo import com.yash10019code...
3
Kotlin
0
1
00317ecdf2c40e46f2bdb5e4f8988c5be9c6a74e
5,211
MusicPlayerApp
MIT License
app/src/main/java/com/bogdan/codeforceswatcher/features/filters/models/FilterItem.kt
akram02
223,430,231
true
{"Kotlin": 310045, "Swift": 214566, "Shell": 27393, "Ruby": 2615}
package com.bogdan.codeforceswatcher.features.filters.models data class FilterItem( val imageId: Int?, val title: String, val isChecked: Boolean, val onSwitchTap: (Boolean) -> Unit = {} )
0
Kotlin
0
0
0eea520a561eda0cfcb14f1f8ce3c1c55f57e75f
204
codeforces_watcher
MIT License
component/compose-stylesheet-appbar/src/commonMain/kotlin/com/moriatsushi/compose/stylesheet/appbar/TopAppBarStyleBuilder.kt
mori-atsushi
715,568,978
false
{"Kotlin": 171940}
package com.moriatsushi.compose.stylesheet.appbar import com.moriatsushi.compose.stylesheet.component.ComponentStyleBuilder import com.moriatsushi.compose.stylesheet.content.ContentStyleBuilder /** * A builder for [TopAppBarStyle]. */ class TopAppBarStyleBuilder internal constructor() : ComponentStyleBuilder<TopApp...
4
Kotlin
0
36
0fbf02aa70fad1a7817353aafbe8e9a3e62388cc
900
compose-stylesheet
Apache License 2.0
app/src/main/java/com/nullpointer/nullsiteadmin/ui/screens/lock/LockScreen.kt
Hcnc100
506,449,303
false
{"Kotlin": 364704}
package com.nullpointer.nullsiteadmin.ui.screens.lock import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import androi...
0
Kotlin
1
2
5fec4c0e845a008feda27826f2dfea6b731d710f
6,516
NullSiteApp
MIT License
app/src/main/java/com/mariomanzano/nasaexplorer/network/MarsService.kt
MarioManzanoCulebras
463,844,402
false
null
package com.mariomanzano.nasaexplorer.network import com.mariomanzano.nasaexplorer.network.entities.ApiMars import retrofit2.http.GET import retrofit2.http.Query interface MarsService { @GET("/mars-photos/api/v1/rovers/curiosity/photos") suspend fun getMarsGalleryFromSun(@Query("sol") sol: Int): ApiMars ...
50
Kotlin
0
3
9c9d2475aabc7f106446cc7f65b390d5b4903530
457
Nasa-Explorer
Apache License 2.0
src/main/kotlin/net/ayataka/kordis/entity/server/channel/text/ServerTextChannelImpl.kt
Tea-Ayataka
150,206,283
false
null
package net.ayataka.kordis.entity.server.channel.text import com.google.gson.JsonObject import com.google.gson.JsonPrimitive import net.ayataka.kordis.DiscordClientImpl import net.ayataka.kordis.entity.message.Message import net.ayataka.kordis.entity.message.MessageBuilder import net.ayataka.kordis.entity.message.Mess...
2
null
7
25
e194410363ba192c9d063b61b0728e18c6837b8a
5,639
Kordis
Do What The F*ck You Want To Public License
src/main/kotlin/REPLACE_DOMAIN/REPLACE_GROUP/REPLACE_APP_NAME/config/swagger/SwaggerConfig.kt
nicos-dev
552,050,005
false
null
package REPLACE_DOMAIN.REPLACE_GROUP.REPLACE_APP_NAME.config.swagger import REPLACE_DOMAIN.REPLACE_GROUP.REPLACE_APP_NAME.config.property.SecurityConfigurationProperty import io.swagger.v3.oas.models.ExternalDocumentation import io.swagger.v3.oas.models.OpenAPI import io.swagger.v3.oas.models.info.Contact import io.sw...
0
Kotlin
0
0
ace1f61d845a5d63d09bc162df7de6adf3aa3e22
4,252
spring-boot-template-project
MIT License
kzen-auto-common/src/commonMain/kotlin/tech/kzen/auto/common/objects/document/script/action/PrintlnAction.kt
alexoooo
131,353,826
false
null
package tech.kzen.auto.common.objects.document.script.action import tech.kzen.auto.common.paradigm.common.model.ExecutionResult import tech.kzen.auto.common.paradigm.common.model.ExecutionSuccess import tech.kzen.auto.common.paradigm.imperative.api.ScriptStep import tech.kzen.auto.common.paradigm.imperative.model.Impe...
0
Kotlin
0
1
498c920e50ec1461cd936ce5f553bb1c33924138
751
kzen-auto
MIT License
app/src/main/java/org/xtimms/ridebus/data/updater/app/AppUpdateService.kt
ridebus-by
379,109,231
false
null
package org.xtimms.ridebus.data.updater.app import android.app.PendingIntent import android.app.Service import android.content.Context import android.content.Intent import android.os.IBinder import android.os.PowerManager import androidx.core.content.ContextCompat import logcat.LogPriority import org.xtimms.ridebus.Bu...
0
Kotlin
0
1
15c8a5650bca05d01fbe2fe21b594718999b3e6c
4,872
ridebus
Apache License 2.0