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
src/test/kotlin/com/uploader/DatabaseTool.kt
JanGorelova
354,213,739
false
null
package com.uploader import com.fasterxml.jackson.databind.ObjectMapper import com.uploader.TestingConstants.AWAIT_AT_MOST_SECONDS import com.uploader.TestingConstants.PYCHARM_2_CHANNEL import com.uploader.TestingConstants.PYCHARM_2_EXPECTED_INFO_JSON import com.uploader.TestingConstants.PYCHARM_2_FULL_NUMBER import c...
0
Kotlin
0
0
64e940609b9c158a59bbf93c03ee23163c0d80cb
6,273
Build_Updater
Apache License 2.0
ktx/src/main/java/luyao/util/ktx/ext/StringExt.kt
xiangyutian
210,272,140
true
{"Kotlin": 144945, "Java": 3288}
package luyao.util.ktx.ext /** * Created by luyao * on 2019/7/23 9:25 */ fun <T> String?.notNull(f: () -> T, t: () -> T): T { return if (this != null) f() else t() }
0
null
0
0
91e21cb3178e32c629d7982b928c8e9f5b654186
174
AndroidUtilCodeKTX
Apache License 2.0
mosaic-runtime/src/commonTest/kotlin/com/jakewharton/mosaic/AnsiRenderingTest.kt
JakeWharton
292,637,686
false
{"Kotlin": 484366, "C++": 76018, "C": 22353, "Zig": 1779, "Shell": 1034}
package com.jakewharton.mosaic import assertk.assertThat import assertk.assertions.isEqualTo import com.jakewharton.mosaic.ui.Column import com.jakewharton.mosaic.ui.Row import com.jakewharton.mosaic.ui.Static import com.jakewharton.mosaic.ui.Text import kotlin.test.Test import kotlinx.coroutines.test.runTest class A...
27
Kotlin
57
1,912
3574b7b21bdee4f72c9f5b5eef0389cc8f9ddcfa
4,350
mosaic
Apache License 2.0
src/main/kotlin/kotlinFeedbackPlugin/ui/dialog/CancelDialogWindowTracker.kt
DmitryPogrebnoy
276,805,622
false
{"Kotlin": 119532}
package kotlinFeedbackPlugin.ui.dialog import com.intellij.openapi.components.service import com.intellij.openapi.ui.DialogWrapper import kotlinFeedbackPlugin.state.services.FeedbackDatesService import java.awt.event.ActionEvent import java.time.LocalDate import javax.swing.AbstractAction /** * Tracks the cancellati...
0
Kotlin
1
0
4228ec23417c6cbb1844cd530883433443747655
821
Kotlin-feedback-plugin
Apache License 2.0
feature/webview-api/src/main/kotlin/org/bmsk/lifemash/feature/topic/api/WebViewNavGraph.kt
AndroidStudy-bmsk
632,254,827
false
{"Kotlin": 119717}
package org.bmsk.lifemash.feature.topic.api import org.bmsk.lifemash.feature.nav.LifeMashNavGraph interface WebViewNavGraph : LifeMashNavGraph<WebViewNavGraphInfo> data class WebViewNavGraphInfo( val onShowErrorSnackbar: (Throwable?) -> Unit, )
1
Kotlin
1
0
3e0d37ea57a8cb8877bd65130e249ceeea897d51
252
LifeMash-NewsApp
MIT License
app/src/main/java/com/github/alunicus/cinemalist/feature/movie/domain/model/dto/MovieDetailsDto.kt
alunicus
214,526,725
false
null
package com.github.alunicus.cinemalist.feature.movie.domain.model.dto import java.util.* data class MovieDetailsDto( val adult: Boolean, val backdropPath: String?, val belongsToCollection: BelongsToCollectionDto?, val budget: Int, val genres: List<GenreDto>, val homepage: String?, val id: ...
0
Kotlin
0
1
3a34743145018452af507ea6faeb95a52484649f
885
Cinemalist
Apache License 2.0
app/src/common/kotlin/com/brainasaservice/android/customviewtesting/DataSourceModule.kt
damian-burke
122,754,214
false
null
package com.brainasaservice.android.customviewtesting import com.brainasaservice.android.customviewtesting.data.AccountDataSource import com.brainasaservice.android.customviewtesting.model.Account import dagger.Module import dagger.Provides @Module class DataSourceModule { /** * For simplicity, our example ...
0
Kotlin
1
17
49b0b744f8b02db87dd1f37d194ec6dd64d675cc
497
android-custom-view-testing
Apache License 2.0
app/src/main/java/com/fairybow/caloriediary/data/biometrics/BiometricsDao.kt
fairybow
785,890,629
false
{"Kotlin": 58702}
package com.fairybow.caloriediary.data.biometrics import androidx.room.Dao import androidx.room.Query import com.fairybow.caloriediary.data.BaseDao import com.fairybow.caloriediary.utilities.ActivityLevel import com.fairybow.caloriediary.utilities.Sex import com.fairybow.caloriediary.utilities.ZeroHourDate @Dao inter...
0
Kotlin
0
0
ec24a9d3fec4e621a02a57f7e7d4136c35c0fe6d
1,475
CalorieDiary
MIT License
shared/src/commonMain/kotlin/com/mr3y/ludi/shared/ui/presenter/DiscoverViewModel.kt
mr3y-the-programmer
606,875,717
false
{"Kotlin": 1275511, "HTML": 194}
package com.mr3y.ludi.shared.ui.presenter import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.setValue import androidx.compose.runtime.snapshotFlow import androidx.compose.runtime.snapshots.Snapshot import androidx.paging.cachedIn import cafe.adriel.v...
5
Kotlin
0
9
c34f17c014f7ef050834a18b6854d67485b6bd83
8,416
Ludi
Apache License 2.0
app/src/main/java/com/inasweaterpoorlyknit/merlinsbag/viewmodel/OnboardingViewModel.kt
Lucodivo
762,597,375
false
{"Kotlin": 511621}
package com.inasweaterpoorlyknit.merlinsbag.viewmodel import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.inasweaterpoorlyknit.core.data.repository.UserPreferencesRepository import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.Dispatchers import kotlinx.corou...
0
Kotlin
0
1
d20a52635adcd42b48e609303f1a0d4673d73577
628
Merlinsbag
Apache License 2.0
binding-system-sqlite/src/main/java/ro/andob/outofroom/system_sqlite/Extensions.kt
andob
363,221,615
false
null
package ro.andob.outofroom.system_sqlite import android.database.sqlite.SQLiteOpenHelper import ro.andob.outofroom.EntityManager import ro.andob.outofroom.SystemSQLiteDBWrapper fun SQLiteOpenHelper.toEntityManager() = EntityManager(SystemSQLiteDBWrapper { writableDatabase })
0
Kotlin
0
1
1f8af1dc47e0a73e7d7b407299f1df395922ea2c
278
OutOfROOM
Apache License 2.0
app/src/main/java/com/aitgacem/budgeter/ui/viewmodels/OverviewViewModel.kt
naitgacem
722,472,421
false
{"Kotlin": 89949}
package com.aitgacem.budgeter.ui.viewmodels import android.util.Log import androidx.lifecycle.ViewModel import androidx.lifecycle.ViewModelProvider import androidx.lifecycle.ViewModelProvider.AndroidViewModelFactory.Companion.APPLICATION_KEY import androidx.lifecycle.viewModelScope import androidx.lifecycle.viewmodel....
0
Kotlin
0
0
00b1e93a33db799154d2b746ec562abfa9297ff0
1,572
Budgeter
Apache License 2.0
backend/src/main/kotlin/ntnu/idatt2105/user/service/UserDetailsServiceImpl.kt
olros
366,615,349
false
null
package ntnu.idatt2105.user.service import ntnu.idatt2105.core.exception.ApplicationException import ntnu.idatt2105.core.exception.EntityType import ntnu.idatt2105.core.exception.ExceptionType import ntnu.idatt2105.user.model.User import ntnu.idatt2105.user.repository.UserRepository import org.springframework.beans.fa...
0
Kotlin
3
2
a2fa5bbca5a9db67f12733301b952807d66e673f
1,313
Rombestilling
MIT License
app/src/main/java/com/doubean/ford/model/PostItemGroupPartialEntity.kt
Bumblebee202111
453,416,432
false
null
package com.doubean.ford.model import java.time.LocalDateTime class PostItemGroup( val id: String, val name: String, val memberCount: Int? = null, val postCount: Int? = null, val dateCreated: LocalDateTime? = null, val shareUrl: String, val url: String, val uri: String, val ...
0
Kotlin
0
5
7f92e341028d187b351dadec6eccde2d7715b65e
495
doubean
Apache License 2.0
library/src/main/java/cloud/pace/sdk/api/poi/generated/model/MoveRequest.kt
pace
303,641,261
false
null
/* * PLEASE DO NOT EDIT! * * Generated by SwagGen with Kotlin template. * https://github.com/pace/SwagGen */ package cloud.pace.sdk.api.poi.generated.model import moe.banana.jsonapi2.JsonApi import moe.banana.jsonapi2.Resource /* Creates a new event object at lat/lng from this POI ID */ @JsonApi(type = "moveReq...
0
Kotlin
1
5
c459c30690f3c2c480986312a3d837698ce028bc
490
cloud-sdk-android
MIT License
sample/src/main/kotlin/smartrecycleradapter/utils/AssetsUtils.kt
manneohlund
92,768,662
false
null
package smartrecycleradapter.utils import android.content.Context import com.google.gson.Gson import com.google.gson.reflect.TypeToken import java.io.File import java.io.FileInputStream import java.io.IOException import java.io.InputStream import java.io.InputStreamReader class AssetsUtils { companion object { ...
12
Kotlin
51
407
aad30be7ed58deee39a8efaffac3207c486a28a2
925
smart-recycler-adapter
Apache License 2.0
app/src/main/java/space/rodionov/englishdriller/ui/CategoriesAdapter.kt
aleksej-rodionov
371,211,387
false
null
package space.rodionov.englishdriller.ui import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import space.rodionov.englishdriller.data.CategoryItem import space.rod...
0
Kotlin
0
0
984966cab7d0fd02a5fb5e23ef1a67808c0d8d7a
2,844
english-driller
Apache License 2.0
centurion-hive/src/test/kotlin/com/sksamuel/centurion/resolver/LenientWriteTest.kt
sksamuel
13,625,531
false
{"Kotlin": 212253, "Java": 19565, "Shell": 1586}
package com.sksamuel.centurion.resolver import arrow.core.Try import com.sksamuel.centurion.BooleanType import com.sksamuel.centurion.ConstantFileNamer import com.sksamuel.centurion.CreateTableConfig import com.sksamuel.centurion.DatabaseName import com.sksamuel.centurion.Float64Type import com.sksamuel.centurion.Hive...
0
Kotlin
46
325
72c8ac0290215e94ca02c2b23b2428f815576889
4,278
kotlin-big-data
Apache License 2.0
extension-api/src/main/kotlin/com/github/ottx96/ivy/data/IvyLeeTask.kt
ottx96
236,785,029
false
null
package com.github.ottx96.ivy.data import com.github.ottx96.ivy.data.enums.Priorities import com.github.ottx96.ivy.data.enums.TaskStatus import com.github.ottx96.ivy.serialization.LocalDateSerializer import kotlinx.serialization.Serializable import java.time.LocalDate /** * Container (data) classes * * Project: iv...
16
Kotlin
0
1
aa0dc0e6fd2853535945c0764bde33be1d92d7f1
2,329
ivy-lee
MIT License
frontend/android/src/main/java/com/mobilispect/android/MobilispectApp.kt
alandovskis
502,662,711
false
{"Kotlin": 358753, "Shell": 472, "Swift": 345}
package com.mobilispect.android import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class MobilispectApp : Application()
1
Kotlin
0
1
60a1c33f6a8663d5528b38fc57b7236b5c3e0fd4
160
mobilispect
Apache License 2.0
ok-propertysale-mp-transport-ps/src/commonMain/kotlin/ru/otus/otuskotlin/propertysale/mp/transport/ps/models/flat/PsFlatDto.kt
otuskotlin
330,109,804
false
null
package ru.otus.otuskotlin.propertysale.mp.transport.ps.models.flat import kotlinx.serialization.Serializable import ru.otus.otuskotlin.propertysale.mp.transport.ps.models.common.models.PsActionDto @Serializable data class PsFlatDto( val id: String? = null, val name: String? = null, val description: Strin...
0
Kotlin
0
1
ed9a38627e64ed36131280ca7449547ba1d06829
440
otuskotlin-202012-propertysale-ks
MIT License
app/src/main/kotlin/moe/linux/boilerplate/di/FragmentComponent.kt
ky0615
86,218,721
false
null
package moe.linux.boilerplate.di import dagger.Subcomponent import moe.linux.boilerplate.di.scope.FragmentScope import moe.linux.boilerplate.view.fragment.* @FragmentScope @Subcomponent(modules = arrayOf( FragmentModule::class )) interface FragmentComponent { fun injectTo(fragment: CardMenuDialogFragment) ...
0
Kotlin
0
0
67043a6d6946d199d929a681ff69d4d89e4d241a
491
ReadTDUStudentCard4Android
MIT License
src/main/kotlin/no/nav/aareg/teknisk_historikk/Sikkerhet.kt
navikt
567,189,411
false
{"Kotlin": 63220, "Dockerfile": 103}
package no.nav.aareg.teknisk_historikk import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.http.HttpStatus import org.springframework.security.config.annotation.web.builders.HttpSecurity import org.springframework.security.config.ann...
1
Kotlin
0
0
2cfd67d787fb5c7673c7c765f21f32b1a7472c24
1,346
aareg-teknisk-historikk
MIT License
compose/mpp/demo/src/uikitMain/kotlin/androidx/compose/mpp/demo/StatusBarState.kt
VexorMC
838,305,267
false
{"Kotlin": 104238872, "Java": 66757679, "C++": 9111230, "AIDL": 628952, "Python": 306842, "Shell": 199496, "Objective-C": 47117, "TypeScript": 38627, "HTML": 28384, "Swift": 21386, "Svelte": 20307, "ANTLR": 19860, "C": 15043, "CMake": 14435, "JavaScript": 6457, "GLSL": 3842, "CSS": 1760, "Batchfile": 295}
/* * Copyright 2024 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
0
Kotlin
0
2
9730aa39ce1cafe408f28962a59b95b82c68587f
4,425
compose
Apache License 2.0
src/main/kotlin/com/github/nikitavbv/servicemonitor/alert/AlertController.kt
nikitavbv
151,761,891
false
null
package com.github.nikitavbv.servicemonitor.alert import com.github.nikitavbv.servicemonitor.ALERT_API import com.github.nikitavbv.servicemonitor.agent.Agent import com.github.nikitavbv.servicemonitor.agent.AgentNotFoundException import com.github.nikitavbv.servicemonitor.agent.AgentRepository import com.github.nikita...
0
Kotlin
0
0
d26cbb6e99cb420590e5f47f58f282612aa89997
5,340
ServiceMonitor
MIT License
src/main/kotlin/com/advanon/bus/MessageBusConverter.kt
Advanon
132,481,097
false
{"Kotlin": 8923}
package com.advanon.bus /** * A class implementing [MessageBusConverter] is responsible for the conversion between a message payload and the * corresponding instance. * * @author <NAME> */ interface MessageBusConverter { /** * Convert a String containing a message payload to the corresponding instance. ...
0
Kotlin
1
5
e5b53c723e7d2c96f2831293a19f6aa94f4270fc
474
AdvaBus
Apache License 2.0
xnet/src/main/java/com/gfms/xnet/discovery/payload/PongPayload.kt
r3tr056
875,356,073
false
{"Kotlin": 382790, "C++": 177456, "C": 140193, "CMake": 3494}
package com.gfms.xnet.discovery.payload import com.gfms.xnet.serialization.Deserializable import com.gfms.xnet.serialization.Serializable import com.gfms.xnet.serialization.SERIALIZED_USHORT_SIZE import com.gfms.xnet.serialization.deserializeUShort import com.gfms.xnet.serialization.serializeUShort data class PongPa...
0
Kotlin
0
0
d76c8c1f2c9a426354d88065f37c15e1c6a51b02
806
koinoor
MIT License
app-analyses/src/test/kotlin/com/usvision/analyses/detector/SharedPersistenceTest.kt
the-sortinghat
419,233,583
false
{"Kotlin": 185733, "Dockerfile": 1834, "JavaScript": 293}
package com.usvision.analyses.detector import com.usvision.analyses.analyzer.Count import com.usvision.analyses.analyzer.DatabaseUsage import com.usvision.analyses.analyzer.NumberOfClients import com.usvision.analyses.analyzer.Relationship import com.usvision.model.domain.Microservice import com.usvision.model.domain....
3
Kotlin
0
3
d5143ab39da2efe586cf185808d387ce902be64f
2,393
pattern-detector
MIT License
src/main/kotlin/tokyo/aieuo/mineflow/flowItem/action/variable/JoinListVariableToString.kt
aieuo
364,472,156
false
null
package tokyo.aieuo.mineflow.flowItem.action.variable import tokyo.aieuo.mineflow.Main import tokyo.aieuo.mineflow.exception.InvalidFlowValueException import tokyo.aieuo.mineflow.flowItem.FlowItem import tokyo.aieuo.mineflow.flowItem.FlowItemExecutor import tokyo.aieuo.mineflow.flowItem.FlowItemIds import tokyo.aieuo....
0
Kotlin
0
0
9c2ef7133d84c5d9b6f4336463d9e1d56442924a
3,470
Mineflow-Kotlin
MIT License
zeta-components/zeta-quartz-starter/src/main/kotlin/org/zetaframework/quartz/module/QuartzJobDetailDTO.kt
xia5800
510,203,856
false
{"Kotlin": 617877, "Lua": 347}
package org.zetaframework.quartz.module import com.fasterxml.jackson.annotation.JsonFormat import io.swagger.annotations.ApiModel import io.swagger.annotations.ApiModelProperty import java.util.* /** * 任务 详情 * * @author gcc */ @ApiModel(description = "任务详情") class QuartzJobDetailDTO { /** 任务名称 */ @ApiMod...
0
Kotlin
0
4
cf4d02af6310ac6134f9e24c0bf1139656441e36
2,951
springboot-kotlin-module
MIT License
module-user/src/main/java/com/example/fragment/module/user/fragment/LoginFragment.kt
miaowmiaow
364,865,870
false
null
package com.example.fragment.module.user.fragment import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.viewModels import com.example.fragment.library.common.constant.Router import com.example.fragment.library.common.fragment.Rou...
0
Kotlin
33
204
cbd04c277155083a1c2d5a2b943ff6b3b42f091a
2,598
FragmentProject
Apache License 2.0
module-user/src/main/java/com/example/fragment/module/user/fragment/LoginFragment.kt
miaowmiaow
364,865,870
false
null
package com.example.fragment.module.user.fragment import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.viewModels import com.example.fragment.library.common.constant.Router import com.example.fragment.library.common.fragment.Rou...
0
Kotlin
33
204
cbd04c277155083a1c2d5a2b943ff6b3b42f091a
2,598
FragmentProject
Apache License 2.0
automation/espresso/src/main/kotlin/com/instructure/canvas/espresso/TestAppManager.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,205
canvas-android
Apache License 2.0
wallet-connect/src/main/java/com/paytomat/walletconnect/android/WCEncryptor.kt
paytomat
192,522,428
false
null
package com.paytomat.walletconnect.android import com.paytomat.walletconnect.android.model.WCEncryptionPayload import org.bouncycastle.crypto.digests.SHA256Digest import org.bouncycastle.crypto.macs.HMac import org.bouncycastle.crypto.params.KeyParameter import org.bouncycastle.jce.provider.BouncyCastleProvider import...
1
Kotlin
3
7
a79d08abf42777d450116fa9e577c292d9d98730
2,315
wallet-connect-android
Apache License 2.0
common/src/main/kotlin/de/sean/splugin/bukkit/tasks/AfkPlayerManager.kt
spnda
356,426,258
false
{"Kotlin": 42971}
package de.sean.splugin.bukkit.tasks import de.sean.splugin.util.Messages.getRandomMessage import org.bukkit.Bukkit import org.bukkit.configuration.file.FileConfiguration import org.bukkit.entity.Player import java.util.* import kotlin.collections.HashMap object AfkPlayerManager { private var initialized: Boolean...
5
Kotlin
0
2
9843341b0151db22b38284c1b39f97ee0d702105
1,877
SPlugin
MIT License
app/src/main/java/com/rangganf/storyappearly/MyApplication.kt
RanggaNf
820,492,762
false
{"Kotlin": 84236}
package com.rangganf.storyappearly import android.app.Application import coil.ImageLoader import coil.ImageLoaderFactory class MyApplication : Application(), ImageLoaderFactory { // Metode untuk membuat instance baru dari ImageLoader override fun newImageLoader(): ImageLoader { return ImageLoader.Bui...
0
Kotlin
0
1
2d25b89fe8cc3f335d6078e3c6c7735a2fda05b0
433
StoryApp
MIT License
firebase-appcheck-library/src/main/java/com/vulcanlabs/appcheck/domain/entity/AppCheckPayload.kt
devswl
779,167,697
false
{"Kotlin": 27108}
package com.vulcanlabs.appcheck.domain.entity data class AppCheckPayload( var sha1: String, var exp: Long, var iat: Long )
0
Kotlin
0
0
db97040072d73b285a1e4a0a65fb404b4376deed
135
Local-AppCheck
MIT License
routing-coroutines/src/main/kotlin/io/javalin/community/routing/coroutines/DefaultContextCoroutinesServlet.kt
javalin
394,095,380
false
null
package io.javalin.community.routing.coroutines import io.javalin.http.Context import java.util.concurrent.ExecutorService import java.util.concurrent.Executors class DefaultContextCoroutinesServlet<CONTEXT>( executorService: ExecutorService = Executors.newCachedThreadPool(), private val contextFactory: (Cont...
4
Kotlin
1
6
016eba8cd00ea9baa828e60efaf567ab74c77a17
937
javalin-routing-extensions
MIT License
app/src/main/java/com/xeniac/warrantyroster_manager/warranty_management/presentation/add_warranty/AddWarrantyViewModel.kt
WilliamGates99
397,662,276
false
null
package com.xeniac.warrantyroster_manager.warranty_management.presentation.add_warranty import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.xeniac.warrantyroster_manager.core.domain.repository.PreferencesRe...
1
Kotlin
2
6
286000e0e7702c1afc8cc78b75270310c6fc5b2c
6,081
WarrantyRoster
Apache License 2.0
app/src/main/java/com/thuatnguyen/tindersample/ui/UserViewModel.kt
nthuat
291,731,207
false
null
package com.thuatnguyen.tindersample.ui import androidx.hilt.lifecycle.ViewModelInject import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.thuatnguyen.tindersample.model.Result import com.thuatnguyen.tinder...
0
Kotlin
1
3
5a8d5dbf0d4851c66794ec72dc4a3879ea58357c
1,922
tinder-sample
Apache License 2.0
thunder-stomp/src/main/java/com/jeremy/thunder/stomp/internal/StompStateManager.kt
jaeyunn15
671,450,093
false
{"Kotlin": 101963}
package com.jeremy.thunder.stomp.internal import com.jeremy.thunder.stomp.compiler.MessageCompiler.compileMessage import com.jeremy.thunder.stomp.compiler.thunderStompRequest import com.jeremy.thunder.stomp.model.ACK import com.jeremy.thunder.stomp.model.Command import com.jeremy.thunder.stomp.model.DEFAULT_ACK import...
0
Kotlin
1
10
35d2241cdaf742b4cd052cb38f2ba5964144aa95
11,879
Thunder
MIT License
core/domain/src/main/java/com/example/domain/model/Text.kt
olex-st
648,748,909
false
null
package com.example.domain.model sealed interface Text
0
Kotlin
0
0
7aa43826809330ce4a3aaf7063239023193c547e
56
DeutscheBankChallenge
Apache License 2.0
churros/src/main/java/com/asapp/churros/rx/RegulatedBuffer.kt
asappinc
224,284,112
false
null
package com.asapp.churros.rx import io.reactivex.Observable import io.reactivex.Observer import io.reactivex.Scheduler import io.reactivex.Single import io.reactivex.disposables.Disposable import io.reactivex.subjects.PublishSubject import java.util.concurrent.TimeUnit fun <T, S> Observable<T>.regulatedBuffer( ...
2
Kotlin
1
6
6688ab4f93a8ecfb5a47acca62c7c037a1eb97ca
2,963
churros
MIT License
app/src/main/java/com/ahmetroid/popularmovies/network/Api.kt
ahmetturk
239,481,816
false
null
package com.ahmetroid.popularmovies.network import com.ahmetroid.popularmovies.BuildConfig.TMDB_API_KEY import com.squareup.moshi.Moshi import okhttp3.OkHttpClient import retrofit2.Retrofit import retrofit2.converter.moshi.MoshiConverterFactory private const val BASE_URL = "https://api.themoviedb.org/3/" private cons...
0
Kotlin
0
1
a3d5dd777af78bf67117aa47041d5cca34938c9a
1,097
Sinemate
Apache License 2.0
app/src/main/java/com/jamesm10101/astraeus/data/Epic.kt
JamesM10101
665,791,630
false
{"Kotlin": 182016}
package com.jamesm10101.astraeus.data import android.os.Parcelable import androidx.room.Entity import androidx.room.PrimaryKey import androidx.room.TypeConverter import androidx.room.TypeConverters import com.squareup.moshi.Json import kotlinx.parcelize.Parcelize /** * This class provides type converters for Room da...
0
Kotlin
0
0
f81f4400e5fedd31acd5b24858a6cf5cbfba3c66
3,344
Astraeus
MIT License
src/main/kotlin/com/fernandosini/storeapikotlin/data/models/OrderStatus.kt
FernandoSini
766,205,667
false
{"Kotlin": 26904}
package com.fernandosini.storeapikotlin.data.models enum class OrderStatus { Processing, WaitingPayment, Rejected, Finished, Dispatched, Delivered,Closed }
0
Kotlin
0
0
6e8e907d7fa6cbc410a230950637c14929d8ebbb
168
store-kotlin
MIT License
library/src/main/java/com/github/lcdsmao/springx/ViewPropertySpringAnimator.kt
yongju-jin
212,013,196
true
{"Kotlin": 14220, "Java": 1115}
package com.github.lcdsmao.springx import android.view.View import androidx.annotation.MainThread import androidx.core.view.ViewCompat import androidx.dynamicanimation.animation.DynamicAnimation import androidx.dynamicanimation.animation.SpringAnimation import androidx.dynamicanimation.animation.SpringForce class Vie...
0
null
0
0
170204ef34a196bc9cd86676f46da9415ea926de
10,307
SpringX
Apache License 2.0
tools/kotlin-native-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/experimental/internal/KotlinNativeUsage.kt
qwwdfsad
139,408,015
true
{"Kotlin": 3888671, "C++": 813655, "Groovy": 137514, "C": 120803, "Objective-C++": 66761, "Swift": 29084, "JavaScript": 19264, "Python": 8631, "Shell": 8167, "Batchfile": 6974, "Objective-C": 3532, "Pascal": 1698, "Java": 782, "HTML": 185}
package org.jetbrains.kotlin.gradle.plugin.experimental.internal object KotlinNativeUsage { const val KLIB = "kotlin-native-klib" }
0
Kotlin
0
0
6d561bd45cac508cddcc89589fb53a89323f5416
137
kotlin-native
Apache License 2.0
src/commonMain/kotlin/Loader.kt
AtriKawaii
531,817,304
false
null
import kotlinx.cinterop.* import kotlinx.cinterop.internal.CStruct import platform.posix.size_t import platform.posix.uint16_t import platform.posix.uint8_t import values.RustStr import atri_manager.AtriManager as CAtriManager @CStruct("AtriVTable") data class AtriVTable( val log: CPointer<CFunction<(handle: size_...
0
Kotlin
0
1
c946d75bf463cd65b1c2f07e32732942fd2cbfe5
1,014
atri_kotlin
MIT License
app/src/main/java/com/itl/kg/androidlabkt/nevigationLab/mvvm/NavLabRegisterViewModel.kt
KenGuerrilla
364,918,808
false
null
package com.itl.kg.androidlabkt.nevigationLab.mvvm import android.content.Context import androidx.lifecycle.ViewModel import com.itl.kg.androidlabkt.nevigationLab.repository.NavLabDatabase import com.itl.kg.androidlabkt.nevigationLab.repository.NavLabAccountPreferencesHelper /** * RegisterViewModel - 管理註冊流程資料操作 */...
0
Kotlin
0
0
4cd76444bb1a0f9f123444c2042ba1d953dc9831
1,212
AndroidLabKT
Apache License 2.0
app/src/main/java/com/fitmate/fitmate/data/source/CertificationConverters.kt
Workout-Study
770,138,955
false
{"Kotlin": 355008, "Java": 2038}
package com.fitmate.fitmate.data.source import android.net.Uri import androidx.room.TypeConverter import com.google.gson.Gson import com.google.gson.GsonBuilder import java.net.URI import java.time.Instant class CertificationConverters { @TypeConverter fun listToJson(list: MutableList<Uri>): String { ...
23
Kotlin
0
0
053aadeefededd934be756804b10650fb2449c12
1,437
WorkoutStudy_Android
The Unlicense
app/src/main/java/com/shhatrat/loggerek/activities/ConfigActivity.kt
Shhatrat
94,308,787
false
null
package com.shhatrat.loggerek.activities import android.app.getKoin import android.content.Intent import android.graphics.Color import android.support.v4.app.Fragment import android.view.View.GONE import android.view.View.VISIBLE import com.mikepenz.materialdrawer.AccountHeader import com.mikepenz.materialdrawer.Accou...
0
Kotlin
0
0
cf9c633915faa5e622c4d2b9bc9fbace520bfc07
9,436
Loggerek-old
Apache License 2.0
src/main/kotlin/org/cdb/homunculus/logic/StorageLogic.kt
CodeDrillBrigade
714,769,385
false
{"Kotlin": 190419, "Dockerfile": 336}
package org.cdb.homunculus.logic import kotlinx.coroutines.flow.Flow import org.cdb.homunculus.exceptions.NotFoundException import org.cdb.homunculus.models.StorageRoom import org.cdb.homunculus.models.embed.storage.Cabinet import org.cdb.homunculus.models.embed.storage.Shelf import org.cdb.homunculus.models.identifie...
0
Kotlin
0
0
9830788175ad4ecf8e0a8d8a08b8c1f1c075f4cf
4,056
Homunculus
MIT License
src/jvmTest/kotlin/choliver/nespot/apu/TimerTest.kt
oliver-charlesworth
251,006,755
false
null
package choliver.nespot.apu import choliver.nespot.apu.Timer.Companion.MIN_PERIOD import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test import org.junit.jupiter.api.assertDoesNotThrow class TimerTest { private val timer = Timer().apply { periodCycles = 4 } @Test fun `gene...
14
Kotlin
0
1
e5d251b82e11f2986e8a732d55298c2ab0de3191
1,385
nespot
MIT License
app/src/main/java/com/gjf/life_demo/utils/SpacingItemDecoration.kt
blacknickwield
405,325,287
false
{"Kotlin": 105340}
package com.gjf.life_demo.utils import android.graphics.Rect import android.view.View import androidx.recyclerview.widget.RecyclerView /*** * 设置RecyclerView中item间距 */ class SpacingItemDecoration(private val padding: Int) : RecyclerView.ItemDecoration() { override fun getItemOffsets( outRect: Rect, ...
0
Kotlin
0
0
62479c516374d6d0d77f9dc68f298eaec8bf012f
566
BITMap
MIT License
src/commonTest/kotlin/fr/acinq/lightning/db/PaymentsDbTestsCommon.kt
ACINQ
243,326,972
false
null
package fr.acinq.lightning.db import fr.acinq.bitcoin.Block import fr.acinq.bitcoin.ByteVector32 import fr.acinq.bitcoin.Crypto import fr.acinq.bitcoin.Satoshi import fr.acinq.lightning.* import fr.acinq.lightning.Lightning.randomBytes32 import fr.acinq.lightning.Lightning.randomKey import fr.acinq.lightning.channel.T...
23
null
8
48
d36d723fe9644f8ff0ca31703e23903367943d1e
34,903
lightning-kmp
Apache License 2.0
plugins/atomicfu/atomicfu-compiler/testData/box/atomics_basic/LoopTest.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// TODO(KT-65977): reenable these tests with caches //IGNORE_NATIVE: cacheMode=STATIC_EVERYWHERE //IGNORE_NATIVE: cacheMode=STATIC_PER_FILE_EVERYWHERE import kotlinx.atomicfu.* import kotlin.test.* class LoopTest { private val a = atomic(0) private val a1 = atomic(1) private val b = atomic(true) privat...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
7,023
kotlin
Apache License 2.0
arcade-visuals/src/main/kotlin/net/casual/arcade/visuals/countdown/Countdown.kt
CasualChampionships
621,955,934
false
{"Kotlin": 981165, "Java": 176720, "GLSL": 4396}
package net.casual.arcade.visuals.countdown import net.casual.arcade.scheduler.GlobalTickedScheduler import net.casual.arcade.scheduler.MinecraftScheduler import net.casual.arcade.scheduler.task.Completable import net.casual.arcade.utils.TimeUtils.Seconds import net.casual.arcade.utils.time.MinecraftTimeDuration impor...
1
Kotlin
1
2
b78dd42472d500120dbb3e2670cb67652da4449b
1,695
arcade
MIT License
distribution-test/src/test/kotlin/app/simplecloud/distribution/test/DistributionMessageTest.kt
theSimpleCloud
527,154,329
false
{"Kotlin": 168178}
/* * MIT License * * Copyright (c) 2022 Frederick Baier & Philipp Eistrach * * 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 right...
0
Kotlin
0
0
f83e41ae0bd6b618b7566b9d3d1ca24d3201b92d
4,450
distribution
MIT License
app/src/main/kotlin/by/ntnk/msluschedule/data/StudyGroup.kt
antkir
119,114,156
false
null
package by.ntnk.msluschedule.data data class StudyGroup constructor( val key: Int, val name: String, val faculty: Int, val course: Int, val year: Int )
0
Kotlin
0
1
89a560333ebd1eac020ae91ad1899d2669c6da18
193
MsluSchedule
Apache License 2.0
data/src/main/java/com/example/data/mappers/base/LocalDataMapper.kt
meghdadya
776,918,286
false
{"Kotlin": 85745}
package com.example.data.mappers.base import com.example.data.models.base.LocalDataModel import com.example.domain.models.DomainModel abstract class LocalDataMapper<L : LocalDataModel, D : DomainModel> { abstract fun mapTo(local: L): D abstract fun mapFrom(domain: D): L }
0
Kotlin
0
0
a0b7cd489ee3e85e1197b90d8b08eb94a9c7901c
284
OryAuthentication
Apache License 2.0
feature-b/src/main/java/uk/co/applylogic/modularization/feature_b/ui/feature_b/FeatureBFragment.kt
golanshy
234,530,215
false
null
package uk.co.applylogic.modularization.feature_b.ui.feature_b import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.databinding.DataBindingUtil import androidx.lifecycle.ViewModelProvider import uk.co.ap...
0
Kotlin
0
0
ed2b5f501d47d70ecf260d71a02c6d256cd556a5
1,333
modularization-demo
Apache License 2.0
mvvm/src/main/java/cn/carveknife/mvvm/http/exception/NetworkErrorException.kt
Carveknife
312,512,449
false
null
package cn.carveknife.mvvm.http.exception import java.lang.RuntimeException /** * description : * created time: 2020/11/13 17:15 * created by: cuibenguang */ class NetworkErrorException(message: String?) : RuntimeException(message) { }
0
Kotlin
0
2
019f4512bc1b38f68286901c00c4b56e590ffe3b
241
AndroidMVVM
Apache License 2.0
data-network-connectivity/src/main/kotlin/com/soberg/netinfo/android/data/netconnectivity/AndroidNetworkConnectionModule.kt
jsoberg
575,643,501
false
null
package com.soberg.netinfo.android.data.netconnectivity import android.content.Context import android.net.ConnectivityManager import androidx.core.content.ContextCompat.getSystemService import com.soberg.netinfo.domain.lan.NetworkConnectionRepository import dagger.Binds import dagger.Module import dagger.Provides impo...
0
Kotlin
0
3
c3a72bc3eab3fb392a827d77b20a16d1f7f81116
1,004
Android-Net-Info
MIT License
app/src/main/java/com/moonfoxy/rickandmortyencyclopedia/local/converter/CharacterEntityConverter.kt
MoonFoxy
661,396,047
false
null
package com.moonfoxy.rickandmortyencyclopedia.local.converter import androidx.room.TypeConverter import com.google.gson.Gson import com.google.gson.reflect.TypeToken class CharacterEntityConverter { @TypeConverter fun fromListToJson(value: List<String>): String = Gson().toJson(value) @TypeConverter f...
0
Kotlin
0
0
a66ec40f912d4e835206c590ce865beaa211cd26
490
Rick_and_Morty_Encyclopedia
MIT License
app/src/main/java/com/moonfoxy/rickandmortyencyclopedia/local/converter/CharacterEntityConverter.kt
MoonFoxy
661,396,047
false
null
package com.moonfoxy.rickandmortyencyclopedia.local.converter import androidx.room.TypeConverter import com.google.gson.Gson import com.google.gson.reflect.TypeToken class CharacterEntityConverter { @TypeConverter fun fromListToJson(value: List<String>): String = Gson().toJson(value) @TypeConverter f...
0
Kotlin
0
0
a66ec40f912d4e835206c590ce865beaa211cd26
490
Rick_and_Morty_Encyclopedia
MIT License
android/app/src/main/java/com/sicariusnoctis/collaborativeintelligence/Statistics.kt
YodaEmbedding
208,207,262
false
null
package com.sicariusnoctis.collaborativeintelligence import com.google.common.collect.EvictingQueue import kotlinx.serialization.Serializable import java.time.Duration import java.time.Instant import java.util.* import kotlin.collections.HashMap class Statistics { private val modelStats = HashMap<ModelConfig, Mod...
4
Kotlin
0
6
53d3ea010861e1fc539cf38f14fca50476dee196
7,353
collaborative-intelligence
MIT License
app/src/main/java/eu/ways4/trackex/data/model/Tag.kt
smartDevel
559,468,195
false
null
package eu.ways4.trackex.data.model import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class Tag(val id: String, val name: String): Parcelable
0
Kotlin
0
0
43ee648a05b23eaf1f3d2b1bc55a7a0139c28256
178
trackex
Apache License 2.0
example-app/src/androidTest/java/com/adyen/checkout/test/rule/MockServerRule.kt
Adyen
91,104,663
false
{"Kotlin": 4787892, "Shell": 4706}
/* * Copyright (c) 2024 <NAME>. * * This file is open source and available under the MIT license. See the LICENSE file for more info. * * Created by oscars on 6/6/2024. */ package com.adyen.checkout.test.rule import com.adyen.checkout.test.server.CheckoutMockWebServer import org.junit.rules.TestRule import org....
22
Kotlin
66
126
c45a6ee4d2039163ae075436a9d1231ffcb16f5c
756
adyen-android
MIT License
app/src/main/java/com/alexvas/rtsp/demo/live/LiveFragment.kt
jpetrocik
549,106,174
false
{"INI": 2, "YAML": 1, "Gradle": 7, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 2, "Ignore List": 5, "Proguard": 2, "Java": 586, "XML": 26, "Kotlin": 14}
package com.alexvas.rtsp.demo.live import android.annotation.SuppressLint import android.content.ContentValues import android.content.Context import android.content.Intent import android.graphics.Bitmap import android.net.Uri import android.os.Bundle import android.os.Environment import android.os.Handler import andro...
1
null
1
1
6104aa91beb6330f8aad3793add3f94e02448392
13,946
rtsp-client-android
Apache License 2.0
database/database-vertx/src/main/kotlin/ru/tinkoff/kora/database/vertx/VertxQueryExecutorExtension.kt
Squiry
772,475,645
true
{"Java Properties": 1, "Gradle": 98, "Shell": 1, "EditorConfig": 1, "Markdown": 3, "Batchfile": 1, "Text": 2, "Ignore List": 1, "Java": 1446, "Kotlin": 467, "XML": 8, "JSON": 17, "INI": 10, "YAML": 5, "SQL": 3, "OASv3-yaml": 11, "HTML": 2, "OASv2-yaml": 1, "Mustache": 32, "Protocol Buffer": 3}
package ru.tinkoff.kora.database.vertx import io.vertx.sqlclient.SqlClient import io.vertx.sqlclient.SqlConnection import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.future.await import kotlinx.coroutines.future.future import kotlin.coroutines.coroutineContext suspend inline fun <T> VertxConnectionFac...
0
null
0
0
c26f794e60e903a358b0c1ffac9a865507415ff6
830
kora
Apache License 2.0
webApp/src/jsMain/kotlin/orguser/OrgUserHeader.kt
mutualmobile
495,292,087
false
null
package orguser import components.AppThemeContext import csstype.Display import csstype.number import kotlinx.js.jso import mui.icons.material.Logout import mui.icons.material.Menu import mui.material.* import mui.material.styles.TypographyVariant import mui.system.Breakpoint import mui.system.responsive import mui.sy...
0
Kotlin
4
41
763dd7f45f8271cebe9107c63f3532e1b14c666f
2,670
HarvestTimeKMP
Apache License 2.0
app/src/main/java/com/meksconway/areyouexpert/util/Util.kt
meksconways
251,727,106
false
null
package com.meksconway.areyouexpert.util import android.content.res.Resources import android.util.DisplayMetrics import io.reactivex.Observable import io.reactivex.ObservableTransformer import io.reactivex.schedulers.Schedulers //Transformers fun <T> Observable<T>.remote(): Observable<Res<T>> = map { Res.success...
0
Kotlin
0
0
d00b6d9d4e95d1527006140ad9257c7094aeb871
3,106
AreYouExpert-Android
Apache License 2.0
dsl/src/main/kotlin/com/faendir/awscdkkt/generated/cloud_assembly_schema/SSMParameterContextQueryDsl.kt
F43nd1r
643,016,506
false
{"Kotlin": 5467235}
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.SSMParameterContextQuery @Generated public fun buildSSMParameterContextQuery(initializer: @AwsCdkDsl SSMPara...
1
Kotlin
0
4
a73787ba1e6f0a616b074f42fe6eedd9775f3e2a
457
aws-cdk-kt
Apache License 2.0
features/fixtures/mazeracer/app/src/main/java/com/bugsnag/mazeracer/scenarios/BatchTimeoutScenario.kt
bugsnag
539,491,063
false
{"Kotlin": 399825, "Gherkin": 44549, "Ruby": 5497, "Shell": 1946, "Makefile": 617, "Java": 489}
package com.bugsnag.mazeracer.scenarios import com.bugsnag.android.performance.BugsnagPerformance import com.bugsnag.android.performance.PerformanceConfiguration import com.bugsnag.android.performance.internal.InternalDebug import com.bugsnag.android.performance.measureSpan import com.bugsnag.mazeracer.Scenario class...
2
Kotlin
1
4
0c23eb8b5f56a480eb2d02ae399967558be69463
1,059
bugsnag-android-performance
MIT License
compass/src/main/kotlin/dev/arunkumar/compass/thread/RealmDispatcher.kt
arunkumar9t2
405,335,855
false
null
/* * Copyright 2021 Arunkumar * * 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...
1
Kotlin
1
17
d62d90c554c89b1b39ab2e69211a5f480725d00a
1,367
compass
Apache License 2.0
app/src/androidTest/java/com/ricdip/tictactoegame/ni/NativeGameTest.kt
ricdip
616,663,823
false
null
package com.ricdip.tictactoegame.ni import androidx.test.ext.junit.runners.AndroidJUnit4 import com.google.common.truth.Truth import com.ricdip.tictactoegame.utils.Game import org.junit.Assert.* import org.junit.Test import org.junit.runner.RunWith @RunWith(AndroidJUnit4::class) class NativeGameTest { @Test ...
0
Kotlin
0
0
b30df60668209eed25c951b4c43f798406711e21
3,469
android-tic-tac-toe
MIT License
app/src/main/java/name/lmj0011/courierlocker/viewmodels/TripViewModel.kt
ashishkharcheiuforks
274,859,542
true
{"Kotlin": 253294}
package name.lmj0011.courierlocker.viewmodels import android.app.Application import android.content.SharedPreferences import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.MutableLiveData import androidx.preference.PreferenceManager import com.github.kittinunf.fuel.httpGet import com.github.kittinunf.fu...
0
null
0
0
91de985cdcf7becff02d48747a09eb2ddd03d176
9,831
courier-locker
Apache License 2.0
src/main/kotlin/io/github/ydwk/yde/impl/entities/message/embed/FieldImpl.kt
YDWK
609,956,533
false
null
/* * Copyright 2022 YDWK 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
5
Kotlin
0
0
00909dea196121e944b8b3e794337b407395ccc9
1,294
YDE
Apache License 2.0
android/app/src/main/java/com/psinder/myapplication/ui/profile/UserProfileViewModel.kt
Peltorator
402,524,109
false
null
package com.psinder.myapplication.ui.profile import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.psinder.myapplication.repository.AuthRepository import kotlinx.coroutines.CoroutineExceptionHandler import kotlinx.coroutines.launch class UserProfileViewModel : ViewModel()
0
Kotlin
0
3
f929b307dee68c177c0bdd7dc163920a5e315354
308
psynder
Apache License 2.0
buildSrc/src/main/kotlin/com/elouyi/buildutils/LocalProperties.kt
Kazusa1412
399,684,507
false
null
package com.elouyi.buildutils import org.gradle.api.Project import java.io.FileInputStream import java.util.* import kotlin.reflect.KProperty class LocalProperties private constructor(delegate: Project) { // 简单单例 companion object { var localProperties: LocalProperties? = null fun getLocalPr...
0
Kotlin
0
0
f15c9eb4f88eb282cf175370c4e77bf7269c50d7
901
lely
MIT License
app/src/main/java/dev/pimentel/rickandmorty/presentation/locations/LocationsAdapter.kt
bfpimentel
273,356,184
false
null
package dev.pimentel.rickandmorty.presentation.locations import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.DiffUtil import androidx.recyclerview.widget.ListAdapter import androidx.recyclerview.widget.RecyclerView import dev.pimentel.rickandmorty.R import dev.pimentel....
0
Kotlin
1
1
0de46077173eeeef0d2e737e4618280d02075a31
2,688
rick-and-morty-app
MIT License
shared/src/commonMain/kotlin/com/kyle/quera/model/Response.kt
knmueller
874,508,841
false
{"Kotlin": 84558, "Dockerfile": 568}
package com.kyle.quera.model import kotlinx.serialization.Serializable @Serializable data class PagedResponse<T>( val elements: List<T>, val page: Int, val size: Int = elements.size, // keep this order to preserve response order of json keys val total: Long, )
0
Kotlin
0
0
4300d4253e7d56cb9fd4b5b3db3ca71fe0358ab6
278
QueraRoadService
MIT License
buildSrc/src/main/kotlin/AppInfo.kt
jakepurple13
353,155,453
false
{"Kotlin": 1921729}
object AppInfo { const val otakuVersionName = "31.0.2" const val compileVersion = 34 const val minimumSdk = 26 const val targetSdk = 34 }
13
Kotlin
21
397
8af30910a5c76c3a8eabbc57bacd92d11b7c0624
153
OtakuWorld
Apache License 2.0
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/items/food/eating.kts
Cleako
177,039,011
true
{"Kotlin": 2535600, "CSS": 2003}
package gg.rsmod.plugins.content.items.food Food.values.forEach { food -> on_item_option(item = food.item, option = "eat") { val p = player if (!Foods.canEat(p, food)) { return@on_item_option } val inventorySlot = player.getInteractingItemSlot() if (p.inventory...
0
Kotlin
0
0
21d5fa429c5f231f09ed8ca0c537e18e31460fec
579
rsmod
Apache License 2.0
app_root/src/test/java/com/trian/di/DatabaseModuleTest.kt
triandamai
495,370,273
false
null
package com.trian.di import android.content.Context import androidx.room.Room import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.qualifiers.ApplicationContext import dagger.hilt.components.SingletonComponent import javax.inject.Named @Module @InstallIn(SingletonCompone...
0
Kotlin
0
0
66b41b294ca7347cc41b42b99f8203991964afed
560
starter-pack
Apache License 2.0
app/src/main/java/com/bengcare/bengcare/data/remote/response/DeleteReviewResponse.kt
BengCare
796,771,725
false
{"Kotlin": 239121}
package com.bengcare.bengcare.data.remote.response data class DeleteReviewResponse( val status: Boolean, val message: String )
0
Kotlin
0
0
ab6a63c29a225f107f1c7d4283fcdb1e6d4ae968
136
BengCare-Android
MIT License
app/src/main/java/com/example/myyelp/RestaurantsAdapter.kt
nicolelee1012
427,992,836
false
{"Kotlin": 8379}
package com.example.myyelp import android.content.Context import android.text.Layout import android.util.Log import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.RatingBar import android.widget.TextView import androidx.recyclerv...
0
Kotlin
0
0
b9658918f0038097a5a9b7437d138c64940995c2
2,707
MyYelp
Apache License 2.0
app/src/main/java/com/yusuforhan/booksapp/android/presentation/main/BookStoreApp.kt
Yusuf-Orhan
735,695,566
false
{"Kotlin": 161551}
package com.yusuforhan.booksapp.android.presentation.main import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class BookStoreApp : Application()
0
Kotlin
0
3
85c292a7284e52d709d5b22c598606793f7f6572
183
BooksApp
The Unlicense
oglHelper/src/main/java/com/dima6120/oglHelper/enums/TextureTarget.kt
dima6120
298,513,503
false
null
package com.dima6120.oglHelper.enums import android.opengl.GLES11Ext import android.opengl.GLES20 import android.opengl.GLES30 import com.dima6120.oglHelper.interfaces.GLConstEnumInterface enum class TextureTarget(val glesValue: Int) : GLConstEnumInterface { TEXTURE_EXTERNAL_OES(GLES11Ext.GL_TEXTURE_EXTERNAL_OES)...
0
Kotlin
0
0
d997580dd751d6ba82a6ad5ffbb56a7099aa63ba
550
OGLHelper
Apache License 2.0
oglHelper/src/main/java/com/dima6120/oglHelper/enums/TextureTarget.kt
dima6120
298,513,503
false
null
package com.dima6120.oglHelper.enums import android.opengl.GLES11Ext import android.opengl.GLES20 import android.opengl.GLES30 import com.dima6120.oglHelper.interfaces.GLConstEnumInterface enum class TextureTarget(val glesValue: Int) : GLConstEnumInterface { TEXTURE_EXTERNAL_OES(GLES11Ext.GL_TEXTURE_EXTERNAL_OES)...
0
Kotlin
0
0
d997580dd751d6ba82a6ad5ffbb56a7099aa63ba
550
OGLHelper
Apache License 2.0
src/main/java/com/cplusedition/bot/dsl/css/impl/Medium.kt
cplusedition
412,142,025
false
{"TypeScript": 3121002, "Java": 3005697, "JavaScript": 2745438, "HTML": 2273206, "Kotlin": 2011043, "CSS": 236922, "PureBasic": 147886, "LLVM": 117819, "Shell": 4832, "C": 4368, "M4": 603, "Makefile": 321}
/*! C+edition for Desktop, Community Edition. Copyright (C) 2021 Cplusedition Limited. All rights reserved. The author licenses this file to You 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...
0
TypeScript
0
0
801e52da05ab50b56df4a1a7fbeacb09f6b4fa2e
1,339
cplusedition-desktop-ce
Apache License 2.0
src/main/kotlin/CEffectSound.kt
argcc
777,572,651
false
{"Kotlin": 451601}
package org.example class CEffectSound:CEffect() { override fun GetTypeId(): UInt { return 0x48u } }
0
Kotlin
0
0
7e58b1b74515577b14423443009bc2d04594184a
118
ei_reverse_consp
MIT License
src/main/kotlin/_2020/Day10.kt
thebrightspark
227,161,060
false
null
package _2020 import aocRun import splitToInts import kotlin.math.pow fun main() { aocRun(testInput1) { input -> val adapters = createSortedAdapterList(input) val differenceMap = (0 until adapters.size - 1) .map { adapters[it + 1] - adapters[it] } .groupBy { it } .mapValues { it.value.size } println(d...
0
Kotlin
0
0
ee6031d155d0fce816b3bf70279bbc4f7ffef024
2,310
AdventOfCode
Creative Commons Zero v1.0 Universal
feature/connection/src/main/kotlin/flow/connection/Endpoint.kt
andrikeev
503,060,387
false
{"Kotlin": 877303, "HTML": 10376, "Shell": 177, "Dockerfile": 160}
package flow.connection import androidx.compose.runtime.Composable import androidx.compose.ui.res.stringResource import flow.models.settings.Endpoint internal val Endpoint.title: String @Composable get() = stringResource( when (this) { is Endpoint.Proxy -> R.string.connection_endpoint_prox...
1
Kotlin
4
24
e7fc2c0c8b9a3606c4ace46e88063c75fe220700
485
Flow
MIT License
src/Day01.kt
carotkut94
572,816,808
false
null
fun main() { fun prepare(input:String): List<Long> { return input.split("\n\n").map { it.split("\n") }.map { it.sumOf { item -> item.toLong() } } } fun part1(input: List<Long>): Triple<Long, Long, Long> { var (first, second, third) = arrayOf(Long.MIN_VALUE, Long.MIN_VAL...
0
Kotlin
0
0
ef3dee8be98abbe7e305e62bfe8c7d2eeff808ad
1,000
aoc-2022
Apache License 2.0
src/main/kotlin/no/nav/omsorgspenger/soknad/Søknad.kt
navikt
220,962,483
false
null
package no.nav.omsorgspenger.soknad import com.fasterxml.jackson.annotation.JsonAlias import io.ktor.http.* import no.nav.helse.dusseldorf.ktor.client.buildURL import no.nav.k9.søknad.Søknad import no.nav.omsorgspenger.barn.BarnOppslag import no.nav.omsorgspenger.soker.Søker import java.net.URI import java.net.URL imp...
0
Kotlin
0
0
5f91315bdfadd0c200a1e5bb65ff718626f4dec8
2,542
omsorgspenger-api
MIT License
wot-server/src/main/kotlin/dev/d1s/wot/server/service/WebhookService.kt
d1snin
513,986,150
false
{"Kotlin": 109906, "Shell": 846, "Dockerfile": 92}
/* * Copyright 2022 <NAME> and other Webhooks over Telegram project 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 * ...
5
Kotlin
0
2
1cb12aeffe5a7e395dc36742a58d9e3ea545e239
8,634
webhooks-over-tgm
Apache License 2.0
app/src/main/java/demo/movie/app/ui/recycler/callbacks/TvDiffUtilCallback.kt
MikrasovP
286,046,038
false
null
package demo.movie.app.ui.recycler.callbacks import androidx.recyclerview.widget.DiffUtil import demo.movie.app.model.dto.tv.TvPreviewDto class TvDiffUtilCallback( private val oldList: List<TvPreviewDto>, private val newList: List<TvPreviewDto> ) : DiffUtil.Callback() { override fun areItemsTheSame(oldPos...
1
Kotlin
0
0
c8e1900fcc3803e145d7cac0c3de88aebeda316d
628
MovieGeek
MIT License
src/main/kotlin/com/mrkirby153/botcore/ConfirmationHandler.kt
mrkirby153
137,817,672
false
{"Kotlin": 149231}
package com.mrkirby153.botcore import com.mrkirby153.botcore.builder.ButtonBuilder import com.mrkirby153.botcore.builder.MessageBuilder import com.mrkirby153.botcore.command.slashcommand.dsl.SlashContext import com.mrkirby153.botcore.coroutine.await import com.mrkirby153.botcore.utils.SLF4J import kotlinx.coroutines.s...
0
Kotlin
1
0
5d63c4c608d6d95a2044c0aa98a8c07606b7eeb4
6,904
bot-core
MIT License