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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
yiski3/src/main/kotlin/one/devos/yiski3/Yiski3.kt | devOS-Sanity-Edition | 436,825,258 | false | {"Kotlin": 104391} | package one.devos.yiski3
import io.github.oshai.kotlinlogging.KotlinLogging
import net.dv8tion.jda.api.JDA
import one.devos.yiski.common.YiskiConstants
import one.devos.yiski.common.annotations.YiskiModule
import one.devos.yiski.common.database.DatabaseManager
import one.devos.yiski.common.entrypoints.YiskiModuleEntry... | 22 | Kotlin | 1 | 0 | e10bb9e0bb95c4533f79b0e380e0a99ee3a4addf | 1,152 | yiski | MIT License |
app/lib/src/main/java/romantsisyk/github/io/lib/algorithms/data_manipulation/DataSorter.kt | RomanTApps | 258,302,404 | false | {"Kotlin": 38997} | package romantsisyk.github.io.lib.algorithms.data_manipulation
class DataSorter {
fun <T : Comparable<T>> bubbleSort(list: MutableList<T>): List<T> {
var n = list.size
do {
var swapped = false
for (i in 1 until n) {
if (list[i - 1] > list[i]) {
... | 0 | Kotlin | 0 | 0 | 388a701351ae979a7a7640bab45e6dc9a4f82fbf | 516 | KotlinAlgoUtils | MIT License |
lib-database/src/main/java/com/melonhead/lib_database/manga/MangaTag.kt | julieminer | 542,405,576 | false | {"Kotlin": 217744} | package com.melonhead.lib_database.manga
data class MangaTag(
val id: String,
val name: String,
)
| 6 | Kotlin | 0 | 0 | f72eea0221dfde5539ce9bcb3d491b7f2164b5aa | 107 | mangadexdroid | Do What The F*ck You Want To Public License |
18my240249_serhatbulut_Finalrapor/otelodevi/app/src/main/java/com/example/otelodevi/uygulama.kt | serhlocked12 | 260,913,615 | false | {"Kotlin": 4281} | package com.example.otelodevi
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.ListView
class uygulama : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_uyg... | 0 | Kotlin | 0 | 0 | 2501cc26c7adb18b039cb8c47b191be82a357fa9 | 337 | 18MY24029_SERHATBULUT_F-NALRAPOR | MIT License |
java/src/main/kotlin/org/taymyr/lagom/elasticsearch/document/dsl/update/UpdateRequest.kt | taymyr | 150,331,593 | false | null | package org.taymyr.lagom.elasticsearch.document.dsl.update
abstract class UpdateRequest | 0 | null | 9 | 8 | e3795a163b4053c2a7015291520c95aa073d50c7 | 88 | lagom-elasticsearch-client | Apache License 2.0 |
popart/src/main/java/adb/popartimageview/PopArtImageView.kt | AndroidDeveloperBandung | 131,699,477 | false | null | package adb.popartimageview
import adb.popart.R
import android.content.Context
import android.support.annotation.ColorRes
import android.support.annotation.DrawableRes
import android.support.v4.content.ContextCompat
import android.util.AttributeSet
import android.view.View
import android.widget.ImageView
import androi... | 0 | Kotlin | 0 | 1 | da04c54136f7d3c60e84e49f3def7368d1e08b68 | 1,975 | popartimageview | MIT License |
services/csm.cloud.project.project/src/main/kotlin/com/bosch/pt/iot/smartsite/project/daycard/facade/rest/resource/request/SaveDayCardResource.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2023
*
* ************************************************************************
*/
package com.bosch.pt.iot.smartsite.project.daycard.facade.rest.resource.request
import com.bosc... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 893 | bosch-pt-refinemysite-backend | Apache License 2.0 |
toolkit/authentication/src/main/java/com/arcgismaps/toolkit/authentication/OAuthAuthenticator.kt | Esri | 585,717,773 | false | null | /*
*
* Copyright 2023 Esri
*
* 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... | 9 | null | 3 | 9 | d923389fe74b0bf0643865edc6bf3164cfdb9b5b | 3,139 | arcgis-maps-sdk-kotlin-toolkit | Apache License 2.0 |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/DirectionsBusTwoTone.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3059969, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/DirectionsBusTwoTone")
package mui.icons.material
@JsName("default")
external val DirectionsBusTwoTone: SvgIconComponent
| 0 | Kotlin | 5 | 35 | 45ca2eabf1d75a64ab7454fa62a641221ec0aa25 | 204 | mui-kotlin | Apache License 2.0 |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/DirectionsBusTwoTone.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3059969, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/DirectionsBusTwoTone")
package mui.icons.material
@JsName("default")
external val DirectionsBusTwoTone: SvgIconComponent
| 0 | Kotlin | 5 | 35 | 45ca2eabf1d75a64ab7454fa62a641221ec0aa25 | 204 | mui-kotlin | Apache License 2.0 |
app/src/main/java/com/qwlyz/androidstudy/fragment/IndicatorSeekBarFragment.kt | lyzqw | 222,019,259 | false | null | package com.qwlyz.androidstudy.fragment
import android.widget.SeekBar
import com.qwlyz.androidstudy.BaseFragment
import com.qwlyz.androidstudy.R
import kotlinx.android.synthetic.main.fragment_indicator.*
/**
*
* @author lyz
*/
class IndicatorSeekBarFragment : BaseFragment() {
override fun getLayoutId(): Int =... | 0 | Kotlin | 0 | 0 | 6c9f36ce92d2fb9afe104dd782a4121fd034bf24 | 845 | wyq_github_android_study | Apache License 2.0 |
app/src/main/java/br/com/ragneon/network/responses/TransferResponse.kt | aramizu | 132,958,998 | false | null | package br.com.ragneon.network.responses
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonProperty
import java.util.Date
@JsonIgnoreProperties(ignoreUnknown = true)
class TransferResponse {
@JsonProperty("Id")
val Id: Long? = null
@JsonProperty("Cl... | 0 | Kotlin | 0 | 0 | a34e30048b27c26f0247f3637658cba64505b5d7 | 533 | ragneon | X.Net License |
idea/idea-completion/testData/handlers/multifile/NotImportedExtension-2.kt | JakeWharton | 99,388,807 | true | null | package dependency
fun String.myExtFun(){}
| 0 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 44 | kotlin | Apache License 2.0 |
src/main/kotlin/com/coreduo/obbah/packet/user/UserHomeRoomPacket.kt | Cor3Duo | 821,185,975 | false | {"Kotlin": 45217} | package com.coreduo.obbah.packet.user
import com.coreduo.obbah.packet.HabboPacket
import com.coreduo.obbah.packet.PacketHeader
@PacketHeader(header = 2875)
class UserHomeRoomPacket : HabboPacket() {
var homeRoomId: Int = -1
var roomIdToEnter: Int = -1
override fun deserialize(data: ByteArray) {
s... | 0 | Kotlin | 0 | 1 | 3aee938f51edb3aae1bbdea0fa3b37e3aef78e8e | 576 | Obbah | MIT License |
app/src/main/java/com/nafanya/words/feature/about/AboutActivity.kt | AlexSoWhite | 621,046,093 | false | null | package com.nafanya.words.feature.about
import android.os.Bundle
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import com.nafanya.words.BuildConfig
import com.nafanya.words.R
import com.nafanya.words.databinding.ActivityAboutLayoutBinding
class AboutActivity : AppCompatActivity() {
... | 0 | Kotlin | 0 | 0 | 7788b78bd06f2059f08ce733db96cc681a63787b | 1,108 | Words | MIT License |
app/src/main/java/com/sandoval/mypokedex/domain/usecase/pokedex_list/GetPokedexListUseCase.kt | juanchosandox90 | 540,261,120 | false | null | package com.sandoval.mypokedex.domain.usecase.pokedex_list
import com.sandoval.mypokedex.data.network.Failure
import com.sandoval.mypokedex.data.utils.Either
import com.sandoval.mypokedex.domain.base.BaseUseCase
import com.sandoval.mypokedex.domain.models.pokedex_list.DResult
import com.sandoval.mypokedex.domain.repos... | 0 | Kotlin | 0 | 0 | 4f7140274cd0b531445124cce9574eac9ba1f9e2 | 740 | MyPokeDex | Apache License 2.0 |
account/ui/src/commonMain/kotlin/com/amc/acieslinski/simplegiftapp/account/presentation/model/RegistrationDialogState.kt | acieslinski | 777,244,363 | false | {"Kotlin": 71875, "Swift": 15526} | package com.amc.acieslinski.simplegiftapp.account.presentation.model
sealed interface RegistrationDialogState {
data object Confirmation : RegistrationDialogState
data class Error(val error: RegistrationError) : RegistrationDialogState
data object Hidden : RegistrationDialogState
} | 0 | Kotlin | 0 | 0 | b8f62adb8b31d612df1cc222302d787816224cf4 | 297 | simplegiftapp | Apache License 2.0 |
core/src/main/java/com/rivaldy/id/core/data/model/remote/login/LoginResult.kt | im-o | 539,210,856 | false | {"Kotlin": 163731} | package com.rivaldy.id.core.data.model.remote.login
import com.google.gson.annotations.SerializedName
data class LoginResult(
@SerializedName("name")
val name: String? = null,
@SerializedName("token")
val token: String? = null,
@SerializedName("userId")
val userId: String? = null
) | 0 | Kotlin | 0 | 0 | 5adb87896c2ea232c4a669a8a9f2e571199703b1 | 309 | dicoding-android-intermediate | MIT License |
app/src/main/java/com/example/android/chatapp/ChatActivity.kt | AtulYadav01 | 274,151,308 | false | null | package com.example.android.chatapp
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import com.firebase.ui.database.FirebaseListAdapter
import com.firebase.ui.database.FirebaseListOptions
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.database.... | 0 | Kotlin | 0 | 2 | 63da1678ca58b694557b1992b7474929f6c4ba02 | 1,773 | ChatApp | MIT License |
libs/pandautils/src/main/java/com/instructure/pandautils/di/ProgressModule.kt | instructure | 179,290,947 | false | {"Kotlin": 16429003, "Dart": 4454406, "HTML": 185120, "Ruby": 35686, "Java": 24416, "Shell": 19157, "Groovy": 11717, "JavaScript": 9505, "Objective-C": 7431, "Python": 2438, "CSS": 1356, "Swift": 807, "Dockerfile": 112} | /*
* 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... | 5 | Kotlin | 102 | 127 | 465503ddd469b8e2183ab2c502e1cd897f5736c9 | 1,491 | canvas-android | Apache License 2.0 |
src/main/kotlin/dev/farneser/tasktracker/scheduler/services/SchedulerService.kt | farneser | 723,500,415 | false | {"Kotlin": 13330, "Dockerfile": 762} | package dev.farneser.tasktracker.scheduler.services
import com.google.gson.Gson
import dev.farneser.tasktracker.scheduler.dto.ProjectDto
import dev.farneser.tasktracker.scheduler.dto.StatisticsDto
import dev.farneser.tasktracker.scheduler.dto.StatusDto
import dev.farneser.tasktracker.scheduler.services.messages.Messag... | 0 | Kotlin | 0 | 0 | 2e4a60fea02aa4affc77f9a89b54098a1b971227 | 2,953 | task-tracker-scheduler | MIT License |
src/quartz/compiler/builder/ProgramBuilder.kt | aedans | 85,125,634 | false | null | package quartz.compiler.builder
import quartz.compiler.builder.import.Library
import quartz.compiler.builder.import.import
import quartz.compiler.errors.errorScope
import quartz.compiler.errors.except
import quartz.compiler.parser.QuartzParser
import quartz.compiler.tree.Declaration
import quartz.compiler.tree.Program... | 0 | Kotlin | 0 | 1 | c5608e80b1fa994e1eb29dc1a7aa6d1f15280b98 | 1,463 | quartz-old | MIT License |
app/src/main/java/com/btf/roomdemo/database/WordDatabase.kt | SymphonyZhang | 258,959,274 | false | null | package com.btf.roomdemo.database
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import androidx.room.migration.Migration
import androidx.sqlite.db.SupportSQLiteDatabase
import com.btf.roomdemo.dao.WordDao
import com.btf.roomdemo.entity.Word
/*... | 0 | Kotlin | 0 | 0 | 321635ce56041b03e8a640f4ab9f18c191f294c8 | 2,253 | RoomDemo1 | Apache License 2.0 |
loggenda/src/main/java/com/logg/loggenda/adapter/MonthAdapter.kt | loggyourlife | 147,519,494 | false | null | package com.logg.loggenda.adapter
import android.annotation.SuppressLint
import androidx.core.view.ViewCompat
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.logg.... | 0 | null | 1 | 5 | 37a5497bd5ebe166987fb74d39f381d7b5d5eadf | 3,964 | loggenda | Apache License 2.0 |
simulator/src/main/java/com/mindorks/ridesharing/simulator/WebSocket.kt | GauravPandey123 | 250,067,727 | true | {"Kotlin": 25530} | package com.mindorks.ridesharing.simulator
import com.google.maps.model.LatLng
import org.json.JSONArray
import org.json.JSONObject
class WebSocket(private var webSocketListener: WebSocketListener) {
fun connect() {
webSocketListener.onConnect()
}
fun sendMessage(data: String) {
val json... | 0 | null | 0 | 0 | 7931a0387ae817f8803c90ace56322bfa3c17b29 | 1,810 | ridesharing-uber-lyft-app | Apache License 2.0 |
app/src/main/java/com/ihfazh/yonotifme/feeds/ui/auth/AuthFragment.kt | ihfazhillah | 378,676,829 | false | null | package com.ihfazh.yonotifme.feeds.ui.auth
import android.os.Bundle
import android.text.method.LinkMovementMethod
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.activity.result.contract.ActivityResultContracts
import androidx.core.text.... | 0 | Kotlin | 0 | 0 | d6796792f65bba3b1e968a2784ca12513fcae7aa | 4,338 | yonotifme | MIT License |
src/main/kotlin/com/dioxuslabs/dioxus/DioxusPluginDisposable.kt | atty303 | 785,950,430 | false | {"Kotlin": 5476, "Rust": 952} | package com.dioxuslabs.dioxus
import com.intellij.openapi.Disposable
import com.intellij.openapi.components.Service
import com.intellij.openapi.project.Project
@Service(Service.Level.PROJECT)
class DioxusPluginDisposable : Disposable {
companion object {
fun getInstance(project: Project): DioxusPluginDisp... | 0 | Kotlin | 0 | 0 | 54e0fe672a056569257986ea03ab658809b0f348 | 456 | dioxus-intellij | MIT License |
dm-kt/dm-base/redis/src/main/kotlin/com/ysz/dm/base/redis/core/conn/CustomLettuceConn.kt | carl10086 | 246,727,202 | false | {"Shell": 5, "Ignore List": 1, "Text": 2, "Gradle": 16, "INI": 2, "Batchfile": 1, "Makefile": 2, "Markdown": 10, "XML": 4, "Kotlin": 141, "Java": 5, "Java Properties": 1, "Lua": 4, "Protocol Buffer": 1, "YAML": 1, "desktop": 1, "Python": 112, "Jupyter Notebook": 12, "SVG": 4, "Go Module": 1, "Go": 3} | package com.ysz.dm.base.redis.core.conn
import io.lettuce.core.api.StatefulRedisConnection
import io.lettuce.core.masterreplica.MasterReplica
import java.io.Closeable
/**
*<pre>
* a custom connection for lettuce, sometimes we may both need :
*
* 1. master replica connection
* 2. single node replication
* 3.... | 2 | null | 1 | 1 | 4992c4d772e942d8c72b8127315fa3635687b0ec | 819 | dm-learning | Apache License 2.0 |
app/src/main/kotlin/com/hana053/micropost/repository/RepositoryModule.kt | springboot-angular2-tutorial | 52,337,279 | false | null | package com.hana053.micropost.repository
import com.github.salomonbrys.kodein.Kodein
import com.github.salomonbrys.kodein.bind
import com.github.salomonbrys.kodein.instance
import com.github.salomonbrys.kodein.singleton
fun repositoryModule() = Kodein.Module {
bind<AuthTokenRepository>() with singleton {
... | 0 | Kotlin | 5 | 11 | c609bfdaa867bd20a29fd4f64ab3a2b159e8c023 | 366 | android-app | MIT License |
src/main/kotlin/com/muxiu1997/sharewhereiam/client/KeyBinding.kt | MuXiu1997 | 490,769,597 | false | null | @file:JvmName("KeyBinding")
package com.muxiu1997.sharewhereiam.client
import com.muxiu1997.sharewhereiam.localization.Lang
import net.minecraft.client.settings.KeyBinding
import org.lwjgl.input.Keyboard
@JvmField
val KeyShare = KeyBinding(
Lang.KEYBINDING_SHARE_NAME.key,
Keyboard.KEY_INSERT,
Lang.KEYBIND... | 0 | Kotlin | 1 | 2 | 2fcd83181b5ec177ba68cf9148c78a7fe4f5d4b1 | 345 | Share-Where-I-am | MIT License |
feature-about/src/main/java/com/standup/app/about/report/ReportIssueViewModel.kt | kevalpatel2106 | 109,775,416 | false | null | /*
* Copyright 2018 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 18 | Kotlin | 1 | 3 | d4d0313062118521621da5dac90e836f512ddd54 | 4,350 | Stand-Up | Apache License 2.0 |
product-service/src/main/kotlin/com/empyrean/microservices/product/api/controllers/ProductController.kt | chirdeeptomar | 131,517,861 | false | {"JavaScript": 192909, "Kotlin": 25167, "Java": 808, "HTML": 588} | package com.empyrean.microservices.product.api.controllers
import com.empyrean.microservices.product.api.responses.ProductResponse
import com.empyrean.microservices.product.repository.ProductRepository
import org.springframework.http.ResponseEntity
import org.springframework.http.ResponseEntity.notFound
import org.spr... | 0 | JavaScript | 0 | 1 | 7872d19e508d1d6bfeb3da90ce294a7757284d82 | 1,202 | kotlin-spring-micro-services | MIT License |
app/src/main/java/com/jetpack/compose/learning/bottomnav/ScreenType.kt | SimformSolutionsPvtLtd | 379,199,800 | false | null | package com.jetpack.compose.learning.bottomnav
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Home
import androidx.compose.material.icons.filled.Notifications
import androidx.compose.material.icons.filled.Person
import androidx.compose.material.icons.filled.Search
import and... | 0 | Kotlin | 8 | 99 | 06fa9850a3cdfabfda2d09da1f4eda93898b8733 | 770 | SSComposeCookBook | Apache License 2.0 |
src/main/kotlin/at/doml/anc/lab5/Task1.kt | domagojlatecki | 124,923,523 | false | null | package at.doml.anc.lab5
import at.doml.anc.lab1.MutableMatrix
fun main(args: Array<String>) {
println("Finding inverse of matrix:")
val matrix = MutableMatrix(
arrayOf(
doubleArrayOf(1.0, 2.0, 3.0),
doubleArrayOf(4.0, 5.0, 6.0),
doubleA... | 0 | Kotlin | 0 | 0 | b483dda88bd9f2a6dc9f4928c7aa4e9a217eac8f | 597 | anc-lab | MIT License |
app/src/main/java/reach52/marketplace/community/persistence/insurer_mapper/LocaleMapper.kt | reach52 | 422,514,975 | false | {"Kotlin": 1436380, "Java": 18303} | package reach52.marketplace.community.persistence.insurer_mapper
import reach52.marketplace.community.models.insurance.Locale
import reach52.marketplace.community.persistence.Unmarshaler
@Suppress("UNCHECKED_CAST")
class LocaleMapper : Unmarshaler<Locale>{
companion object {
const val KEY_PRICING = "prici... | 0 | Kotlin | 0 | 0 | 629c52368d06f978f19238d0bd865f4ef84c23d8 | 830 | Marketplace-Community-Edition | MIT License |
app/src/main/java/com/cngal/app/compose/home/HomeScreen.kt | CnGal | 648,083,407 | false | {"Kotlin": 421043} | package com.cngal.app.compose.home
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.heightIn
import androidx.compose.foundation.layout.padding
import androidx.compose.f... | 0 | Kotlin | 1 | 2 | 6703376adae97557825f39d7492a04b3aee55729 | 4,074 | cngal-jetpack-app | MIT License |
src/programs/arrays/MaximunSubArrayProduct.kt | raghunandankavi2010 | 208,271,806 | false | {"XML": 10, "Ignore List": 1, "Markdown": 1, "Kotlin": 124, "Java": 131} | package programs.arrays
import kotlin.math.max
import kotlin.math.min
/**
* Given an integer array nums, find a
subarray
that has the largest product, and return the product.
The test cases are generated so that the answer will fit in a 32-bit integer.
Example 1:
Input: nums = [2,3,-2,4]
Output: 6
Explanation: ... | 0 | Java | 0 | 0 | faa0e9f21ad2ca3f3a0fe071bbe6c8745f591e7a | 1,431 | Programs | Apache License 2.0 |
datasource-remote/src/main/java/cmm/apps/esmorga/datasource_remote/event/model/EventRemoteModel.kt | cmm-apps-android | 797,188,002 | false | {"Kotlin": 296464} | package cmm.apps.esmorga.datasource_remote.event.model
import com.google.gson.annotations.SerializedName
data class EventListWrapperRemoteModel(
@SerializedName("totalEvents") val remoteTotalEvents: Int,
@SerializedName("events") val remoteEventList: List<EventRemoteModel>
)
data class EventRemoteModel(
... | 0 | Kotlin | 0 | 0 | 3494b5bfaea0520855d8209aef504aec31b1895f | 1,029 | EsmorgaAndroid | The Unlicense |
app/src/main/java/com/example/cinemaconnect/models/Cast.kt | Amlan101 | 864,424,176 | false | {"Kotlin": 32485} | package com.example.cinemaconnect.models
import android.os.Parcel
import android.os.Parcelable
data class Cast(
var PicUrl: String? = null,
var Actor: String? = null
): Parcelable {
constructor(parcel: Parcel) : this(
parcel.readString(),
parcel.readString()
) {
}
override fun... | 0 | Kotlin | 0 | 0 | 99476704b77a2f1bb3b3f801e330d08aaab97d21 | 784 | Cinema-Connect | MIT License |
Mobile/Android/app/src/main/java/com/razvantmz/onemove/ui/profileEdit/ProfileEditActivity.kt | razvantmzz | 315,075,478 | false | {"Text": 1, "Markdown": 1, "Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "JSON": 1, "Kotlin": 125, "XML": 114, "Java": 1} | package com.razvantmz.onemove.ui.profileEdit
import android.app.Activity
import android.content.Intent
import android.content.res.ColorStateList
import android.graphics.Color
import android.graphics.drawable.GradientDrawable
import android.os.Bundle
import android.os.Handler
import android.util.Log
import android.view... | 1 | null | 1 | 1 | 05bde5b64e54f6091dedcdd2da7093c3bfa4f522 | 9,231 | gym-app | MIT License |
composeApp/src/androidMain/kotlin/di/Components.android.kt | oikvpqya | 865,870,220 | false | {"Kotlin": 24652} | package di
import android.content.Context
import io.ktor.client.HttpClient
import io.ktor.client.engine.okhttp.OkHttp
import me.tatarka.inject.annotations.Component
import me.tatarka.inject.annotations.Provides
import okhttp3.OkHttpClient
@ApplicationScope
@Component
abstract class AndroidApplicationComponent(
@g... | 0 | Kotlin | 0 | 0 | 056f70a9db0135092adc3a05d6bccd95769076f0 | 1,273 | compose-mvp-architecture | Apache License 2.0 |
src/main/java/ua/itaysonlab/hfrss/ui/FeedManagerActivity.kt | iTaysonLab | 256,709,602 | false | null | package ua.itaysonlab.hfrss.ui
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager... | 0 | Kotlin | 1 | 9 | 0808ecdf233f207d94f09e4c571bdfb5e415d33b | 4,112 | homefeeder-rss | Apache License 2.0 |
chooser/src/main/java/com/hurryyu/bestchooser/action/IChooseAction.kt | HurryYU | 246,050,378 | false | null | package com.hurryyu.bestchooser.action
import com.hurryyu.bestchooser.ChooserView
import com.hurryyu.bestchooser.IGroupManagerContext
import com.hurryyu.bestchooser.OnChooseChangeListener
/**
* ===================================================================
* Author: HurryYu http://www.hurryyu.com & https://git... | 0 | Kotlin | 0 | 8 | cd4c48f04e91db1dd0105b6d0dea4864481f4784 | 682 | BestChooser | Apache License 2.0 |
app/src/main/java/com/example/android/marvelicious/ui/MarveliciousActivity.kt | 4ools | 265,084,703 | false | null | package com.example.android.marvelicious.ui
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.android.marvelicious.R
class MarveliciousActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
... | 4 | Kotlin | 0 | 0 | a199a919f5e16c40656eea0977d1e1192aa8ca2a | 376 | Marvelicious | Apache License 2.0 |
src/main/kotlin/io/newm/kogmios/protocols/model/fault/ExtraneousScriptsFault.kt | projectNEWM | 469,781,993 | false | {"Kotlin": 332376, "Shell": 26} | package io.newm.kogmios.protocols.model.fault
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* This fault is returned when the transaction contains scripts that are not required for the
* transaction to be valid.
*/
@Serializable
@SerialName("3104")
data class ExtraneousScrip... | 0 | Kotlin | 0 | 4 | b611cda42cae450b6b4398e029cf69d3059032f1 | 674 | kogmios | Apache License 2.0 |
kool-core/src/commonMain/kotlin/de/fabmax/kool/util/UniqueId.kt | fabmax | 81,503,047 | false | null | package de.fabmax.kool.util
import de.fabmax.kool.lock
object UniqueId {
private var nextId = 1L
private val idLock = Any()
fun nextId(): Long = lock(idLock) { ++nextId }
} | 3 | Kotlin | 7 | 78 | 2aeb035ab84e4c660bc11f5167a7f485b4a86da8 | 187 | kool | Apache License 2.0 |
android/app/src/main/java/br/com/oxente/transp/service/GerarArquivoService.kt | DavidCabral | 328,985,367 | false | {"Pascal": 327519, "Kotlin": 91332} | package br.com.oxente.transp.service
import android.app.IntentService
import android.content.Intent
import br.com.oxente.transp.App
import br.com.oxente.transp.entity.Socio
import br.com.oxente.transp.entity.Viagem
import br.com.oxente.transp.repository.AppDataBase
import br.com.oxente.transp.util.Constants
import com... | 0 | Pascal | 2 | 2 | 4e298ec94e4c02455f5b1b9e38aa36a0869b01c0 | 1,930 | TransporteApp | MIT License |
poc-bank-services/src/main/kotlin/com.github.thaynarasilvapinto.service/OperacaoService.kt | GuillaumeFalourd | 317,971,015 | false | null | package com.example.service
import com.example.model.Conta
import com.example.model.Operacao
import com.example.model.repository.ContaRepository
import com.example.model.repository.OperacaoRepository
import com.example.service.exception.AccountIsValidException
import com.example.service.exception.BalanceIsInsufficient... | 0 | Kotlin | 1 | 0 | b7ddf22d0bac5602f3dd0aa8c2aa9b565550dd75 | 4,301 | poc-bank-api-kotlin | Apache License 2.0 |
test/contributors/MockGithubService.kt | DaniilZ77 | 799,665,083 | false | {"Kotlin": 36444} | package contributors
import kotlinx.coroutines.delay
import retrofit2.Call
import retrofit2.Response
import retrofit2.mock.Calls
object MockGithubService : GitHubService {
override fun getOrgReposCall(org: String): Call<List<Repo>> {
return Calls.response(repos)
}
override fun getRepoContributors... | 0 | Kotlin | 0 | 0 | 6ba874df66d7cfa8374e4d2ec735e407ea1dae15 | 959 | KotlinCourutinesBasic | Apache License 2.0 |
src/main/kotlin/guru/drako/eventer/alexa/data/AlexaResponse.kt | ChemnitzHackt | 108,638,262 | false | null | package guru.drako.eventer.alexa.data
import guru.drako.eventer.alexa.data.AlexaResponse.Response.Card
import guru.drako.eventer.alexa.data.AlexaResponse.Response.OutputSpeech
import guru.drako.eventer.alexa.data.AlexaResponse.Response.OutputSpeech.Type
data class AlexaResponse(
val version: String = "1.0",
val r... | 1 | Kotlin | 0 | 0 | 055d2e79c578987ae345057fbcbc12a25e947960 | 1,576 | eventer-alexa-skill | Apache License 2.0 |
app/src/main/java/com/lutech/videodownloader/callback/ItemClickListener.kt | dangkhoa1404 | 785,000,767 | false | {"Kotlin": 204769, "Java": 13391} | package com.lutech.videodownloader.callback
interface ItemClickListener {
fun OnItemThemeClick(videoUrl: String)
} | 0 | Kotlin | 0 | 0 | 07d1e11f52b5aebf27b94006f14bdc93d3ce7f79 | 120 | videodownload2 | MIT License |
feature/scrobble/src/main/java/com/mataku/scrobscrob/scrobble/service/MusicNotificationRequester.kt | mataku | 99,928,377 | false | null | package com.mataku.scrobscrob.scrobble.service
import com.mataku.scrobscrob.data.repository.NowPlayingRepository
import com.mataku.scrobscrob.data.repository.ScrobbleRepository
import com.mataku.scrobscrob.data.repository.ScrobbleSettingRepository
import com.mataku.scrobscrob.data.repository.TrackRepository
import kot... | 4 | null | 2 | 9 | 43bcfb2fb3525db82aee2394df7c2e167907305d | 2,341 | SunsetScrob | Apache License 2.0 |
app/src/main/java/com/applab/ktmvvm/ui/base/mvvm/BaseViewModel.kt | arunantoney | 144,386,586 | false | null | package com.applab.ktmvvm.ui.base.mvvm
import android.arch.lifecycle.ViewModel
import android.databinding.ObservableBoolean
import com.applab.ktmvvm.util.SchedulerProvider
import io.reactivex.disposables.CompositeDisposable
import java.lang.ref.WeakReference
/**
* Created by Arun Antoney on 29-07-2018.
*/
abstract ... | 0 | Kotlin | 0 | 1 | e45f67d6aadbf68753bf265c12c48b32862a78c2 | 1,272 | Android-Kotlin-MVVM | MIT License |
src/main/kotlin/com/demonwav/mcdev/nbt/lang/psi/mixins/impl/NbttByteArrayImplMixin.kt | robertizotov-zz | 101,105,621 | false | {"Gradle": 1, "Markdown": 1, "Gradle Kotlin DSL": 1, "Text": 15, "Java Properties": 3, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "XML": 37, "YAML": 2, "INI": 12, "Java": 3, "Groovy": 4, "HAProxy": 2, "Kotlin": 450, "HTML": 28, "JFlex": 2} | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2017 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.nbt.lang.psi.mixins.impl
import com.demonwav.mcdev.nbt.lang.psi.mixins.NbttByteArrayMixin
import com.demonwav.mcdev.nbt.tags.TagByteArray
import com.intellij.extapi.p... | 1 | null | 1 | 1 | 9b91deed668fce98cd21474b9135ec9b92212c2b | 714 | MinecraftDevIntelliJ | MIT License |
app/src/main/java/com/mapking/ar/core/landmark/geo/SettingActivity.kt | onlinegrave | 616,279,742 | false | null | package com.mapking.ar.core.landmark.geo
import android.app.Activity
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.View
import androidx.activity.result.contract.ActivityResultContracts
import com.google.android.materia... | 0 | Kotlin | 0 | 1 | ff8483fce40e0f974e378751d3ae014fae53ebf5 | 8,156 | landmark | MIT License |
lib_weather/src/main/java/com/treturn/lib_weather/viewmodel/MainWeatherViewModel.kt | TReturn | 399,864,608 | false | null | package com.treturn.lib_weather.viewmodel
import androidx.lifecycle.MutableLiveData
import me.hgj.jetpackmvvm.base.viewmodel.BaseViewModel
/**
* @CreateDate: 2023/6/15 15:23
* @Author: 青柠
* @Description:
*/
class MainWeatherViewModel:BaseViewModel() {
val address = MutableLiveData<String>()
val isShowCi... | 0 | Kotlin | 1 | 1 | ac75e3c6c3bceae4b4f94a918b58bbd627c17dd2 | 1,104 | BaseApp | Apache License 2.0 |
eraser/src/main/java/com/image/edit/eraser/EraserAction.kt | 7449 | 158,378,269 | false | {"Kotlin": 75024} | package com.image.edit.eraser
import android.graphics.*
import com.image.edit.EditImageCache
import com.image.edit.OnEditImageAction
import com.image.edit.virtual.OnEditImageCallback
import kotlin.math.abs
/**
* @author y
* @create 2018/11/20
*/
class EraserAction(
var pointWidth: Float = 20f,
) : OnEditIm... | 0 | Kotlin | 0 | 2 | 1bc207831476e1d76f54f0a328f7f20098ebe0cb | 4,049 | EditImageView | Apache License 2.0 |
server/src/main/kotlin/com/yawa/server/validators/Role.kt | gmarciani | 345,413,960 | false | {"JavaScript": 4051388, "CSS": 2529242, "TypeScript": 1506761, "HTML": 1414689, "SCSS": 398715, "Kotlin": 118522, "Python": 17133, "Shell": 3528, "Dockerfile": 3009} | package com.yawa.server.validators
import com.yawa.server.models.users.UserRole
import org.apache.commons.lang3.StringUtils
import java.util.regex.Pattern
import jakarta.validation.Constraint
import jakarta.validation.ConstraintValidator
import jakarta.validation.ConstraintValidatorContext
import jakarta.validation.Pa... | 6 | JavaScript | 2 | 2 | 218ab8900587314499dc89e07abf8697ec0025bb | 1,075 | yawa | MIT License |
compose/app/src/main/java/com/longforus/cpix/MainActivity.kt | longforus | 162,539,503 | false | null | package com.longforus.cpix
import android.Manifest
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.widget.Toast
import androidx.activity.compose.setContent
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation... | 0 | null | 3 | 9 | af76ce81512e6d262f57c39a666b8ef26548c7e9 | 9,886 | fPix | MIT License |
core/src/test/kotlin/main/operation/RemoteList_test.kt | elect86 | 364,643,104 | false | null | package main.operation
import main.MultiGit
import main.Remote
import main.plusAssign
import kotlin.test.Test
class RemoteList_test : MultiGit() {
@Test
fun `will list all remotes`() {
val remoteGrgit = init("remote")
repoFile(remoteGrgit, "1.txt") += "1"
remoteGrgit.commit(message ... | 1 | Kotlin | 1 | 2 | f5f28edfee6a2683ce5da5ea8fdc4e1ba32a3f33 | 667 | gik | Apache License 2.0 |
app/src/main/java/com/mohammadian/mrzpassportreader/BaseApplication.kt | MojMohammadian | 549,755,194 | false | {"Kotlin": 26492} | package com.mohammadian.mrzpassportreader
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class BaseApplication: Application() | 0 | Kotlin | 0 | 3 | f81434d13a05ae3c7b9fc3fc38bffe03899df871 | 169 | MRZPassportReader | MIT License |
samples/starter-mobile-app/src/main/kotlin/researchstack/domain/usecase/study/FetchStudyUseCase.kt | S-ResearchStack | 520,365,275 | false | {"Kotlin": 178868, "AIDL": 4785} | package researchstack.domain.usecase.study
import researchstack.domain.repository.StudyRepository
import javax.inject.Inject
class FetchStudyUseCase @Inject constructor(private val studyRepository: StudyRepository) {
suspend operator fun invoke(): Unit = studyRepository.fetchStudiesFromNetwork()
}
| 0 | Kotlin | 20 | 26 | 58b4b9b64623a7d2a0865307d490a59a7538d7cd | 305 | app-sdk | Apache License 2.0 |
app/src/main/java/org/p2p/wallet/debugdrawer/DebugDrawer.kt | p2p-org | 306,035,988 | false | null | package org.p2p.wallet.debugdrawer
import android.app.Application
import android.view.ViewGroup
import androidx.fragment.app.FragmentActivity
import io.palaima.debugdrawer.DebugDrawer
import io.palaima.debugdrawer.base.DebugModuleAdapter
import io.palaima.debugdrawer.commons.BuildModule
import io.palaima.debugdrawer.c... | 16 | Kotlin | 6 | 14 | 9cf97a5edd8be594ed301c88788d71ea20483571 | 2,195 | p2p-wallet-android | MIT License |
typescript-kotlin/src/jsMain/kotlin/typescript/FileWatcherEventKind.kt | karakum-team | 393,199,102 | false | {"Kotlin": 6149909} | // Automatically generated - do not modify!
@file:Suppress(
"NAME_CONTAINS_ILLEGAL_CHARS",
"NESTED_CLASS_IN_EXTERNAL_INTERFACE",
)
package typescript
// language=JavaScript
@JsName("""(/*union*/{Created: 0, Changed: 1, Deleted: 2}/*union*/)""")
sealed external interface FileWatcherEventKind {
companion o... | 0 | Kotlin | 6 | 26 | 3fcfd2c61da8774151cf121596e656cc123b37db | 462 | types-kotlin | Apache License 2.0 |
src/test/kotlin/org/unbrokendome/gradle/plugins/helm/command/HelmAddRepositoryTest.kt | marcoferrer | 256,585,899 | true | {"Kotlin": 448744} | package org.unbrokendome.gradle.plugins.helm.command
import org.spekframework.spek2.style.specification.describe
import org.unbrokendome.gradle.plugins.helm.command.tasks.HelmAddRepository
import org.unbrokendome.gradle.plugins.helm.spek.ExecutionResultAwareSpek
import org.unbrokendome.gradle.plugins.helm.spek.applyPl... | 0 | null | 0 | 0 | ba0af70ee1e3b07dfc6c175497f18998bb1c62b1 | 3,514 | gradle-helm-plugin | MIT License |
app/src/main/kotlin/com/codeforcesvisualizer/Application.kt | KartikeySharma | 372,203,486 | false | null | package com.codeforcesvisualizer
import com.codeforcesvisualizer.model.ContestResponse
import com.crashlytics.android.BuildConfig
import com.crashlytics.android.Crashlytics
import com.crashlytics.android.answers.Answers
import io.fabric.sdk.android.Fabric
class Application : android.app.Application() {
companio... | 0 | Kotlin | 1 | 1 | e8ec56a88417a4678ea294774a8d9ed9c5dbfebf | 623 | codeforces_visualizer | MIT License |
browser-kotlin/src/main/kotlin/webrtc/RTCIceTransport.kt | karakum-team | 393,199,102 | false | null | // Automatically generated - do not modify!
package webrtc
import web.events.Event
import web.events.EventHandler
import web.events.EventTarget
sealed external class RTCIceTransport :
EventTarget {
val gatheringState: RTCIceGathererState
var ongatheringstatechange: EventHandler<Event>?
var onstatecha... | 0 | Kotlin | 5 | 18 | 83aa7866b2353ee7daf1521611bf7f91ea8b0a9b | 384 | types-kotlin | Apache License 2.0 |
hiltdemo/src/main/java/com/shuaiyu/hiltdemo/MyApplication.kt | bjy520 | 277,072,540 | false | null | package com.shuaiyu.hiltdemo
import android.app.Application
import com.shuaiyu.hiltdemo.hiltdemo.IProcessor
import com.shuaiyu.hiltdemo.hiltdemo.annotation.BindCai
import com.shuaiyu.hiltdemo.mydailidemo.ShowTextHaha
import com.shuaiyu.hiltdemo.mydailidemo.TextHelper
import dagger.hilt.android.HiltAndroidApp
import ja... | 0 | Kotlin | 0 | 1 | 86405c8228e42d9e6fb66385043b8062b79037db | 598 | Myproject | Apache License 2.0 |
src/test/kotlin/de/smartsquare/squit/task/SquitTestTaskPreviousTaskErrorTest.kt | SmartsquareGmbH | 106,281,604 | false | null | package de.smartsquare.squit.task
import de.smartsquare.squit.TestUtils
import de.smartsquare.squit.gradleRunner
import java.nio.charset.Charset
import java.nio.file.Files
import org.amshove.kluent.shouldBe
import org.amshove.kluent.shouldStartWith
import org.gradle.testkit.runner.TaskOutcome
import org.junit.jupiter.... | 6 | Kotlin | 0 | 6 | 278245c3b3c9090d36b2fd011d19885aa3ef715c | 986 | squit | MIT License |
app/src/main/java/br/edu/utfpr/marvas/greenbenchmark/ui/upload/UploadFileView.kt | marvastsi | 555,979,108 | false | null | package br.edu.utfpr.marvas.greenbenchmark.ui.upload
import br.edu.utfpr.marvas.greenbenchmark.data.model.UploadFile
data class UploadFileView(
val fileView: UploadFile,
) {
fun fileName(): String = fileView.name
}
| 0 | Kotlin | 0 | 0 | 79877b477e1b5fd6c8f650ecfbeb0df8941cd479 | 225 | benchmark-android-app | MIT License |
androidutil/src/main/java/com/yxf/androidutil/file/Parcelable.kt | dqh147258 | 534,152,573 | false | {"Kotlin": 14180} | package com.yxf.androidutil.file
import android.os.Parcelable
import java.io.File
@Deprecated("unsafety")
fun <T : Parcelable> T.toByteArray(): ByteArray {
return ParcelEditor<T>().toByteArray(this)
}
@Deprecated("unsafety")
fun <T : Parcelable> T.toFile(path: String): File {
return ParcelEditor<T>().toFile(... | 0 | Kotlin | 0 | 0 | a40d48f83e7b81fc3f019002a73b21b3db9172b7 | 652 | AndroidUtils | Apache License 2.0 |
src/main/java/aoc_2019/Day03.kt | frenchfrie | 161,678,638 | false | null | package aoc_2019
import org.slf4j.LoggerFactory
import java.lang.IllegalStateException
import kotlin.math.max
import kotlin.math.min
class Day03 {
private val log = LoggerFactory.getLogger(javaClass)
fun distanceFromClosestIntersection(coordinates: String): Int {
val lineRaw = coordinates.split("\n")... | 2 | null | 1 | 1 | b21c991277ce8ae76338620c7002699fb8279f75 | 4,320 | advent-of-code | Apache License 2.0 |
app/src/main/java/com/example/mantra/Mantra.kt | shirinvn | 739,343,312 | false | {"Kotlin": 18976} | package com.example.mantra
import androidx.lifecycle.LiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.room.Entity
import androidx.room.PrimaryKey
import kotlinx.coroutines.launch
@Entity(tableName = "mantra_table")
data class Mantra(
@PrimaryKey(autoGenerate =... | 0 | Kotlin | 0 | 0 | 88dc7b4948fe3b2d554dcab9c189e870d13fde73 | 560 | Mantra | MIT License |
UiNavigation/app/src/main/java/com/ipsmobile/uinavigation/ResultScreenActivity.kt | AlK2x | 171,149,220 | false | null | package com.ipsmobile.uinavigation
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import kotlinx.android.synthetic.main.result_screen.*
class ResultScreenActivity : AppCompatActi... | 1 | Kotlin | 0 | 0 | d417d7658a489ab194323292260be191c9a0dcab | 1,023 | IPS_mobile | MIT License |
src/main/kotlin/io/gitlab/arturbosch/smellyj/ConfigurationProvider.kt | arturbosch | 70,400,809 | false | null | package io.gitlab.arturbosch.smellyj
import java.nio.file.Path
import java.nio.file.Paths
/**
* @author <NAME>
*/
object ConfigurationProvider {
fun detectorConfig(): Path = Paths.get("abc")
} | 1 | null | 1 | 1 | 541e841911829ff19487e0ac7e72378cc51f4b1b | 199 | SmellyJ | Apache License 2.0 |
wallet-core/src/androidTest/java/eu/europa/ec/eudi/wallet/issue/openid4vci/CWTProofSignerTest.kt | eu-digital-identity-wallet | 712,339,812 | false | null | /*
* Copyright (c) 2024 European Commission
*
* 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... | 2 | null | 9 | 16 | 561401caa1ec1837851f5f68d8568c8a12b443bb | 4,847 | eudi-lib-android-wallet-core | Apache License 2.0 |
src/main/kotlin/com/github/x950827/jql/Enum.kt | x950827 | 371,402,498 | false | null | package com.github.x950827.jql
enum class OrderDir(val value: String) {
ASC("asc"),
DESC("desc")
}
enum class ConditionType(val value: String) {
AND("and"),
OR("or"),
ORDER_BY("order by")
} | 0 | Kotlin | 0 | 0 | a91b4160d97301da2e4718e389ec2562fad15026 | 211 | jql | MIT License |
app/src/main/kotlin/com/akagiyui/drive/entity/KeyValueSetting.kt | AkagiYui | 647,653,830 | false | {"Kotlin": 227183, "Java": 87795, "HTML": 812, "Dockerfile": 658} | package com.akagiyui.drive.entity
import jakarta.persistence.*
import org.springframework.data.annotation.CreatedDate
import org.springframework.data.annotation.LastModifiedDate
import org.springframework.data.jpa.domain.support.AuditingEntityListener
import java.util.*
/**
* 设置项 实体类
*
* @author AkagiYui
*/
@Enti... | 4 | Kotlin | 2 | 9 | 6ff345645dfa83944ca4d36c02f9fa7b2162697f | 935 | KenkoDrive | MIT License |
app/src/main/java/com/example/user/phonecallrecordertest/MainActivity.kt | AndroidDeveloperLB | 138,178,760 | false | {"Kotlin": 23129} | package com.example.user.phonecallrecordertest
import android.annotation.SuppressLint
import android.content.*
import android.content.pm.PackageManager
import android.net.Uri
import android.os.*
import android.provider.Settings
import android.util.Log
import android.view.*
import androidx.appcompat.app.AppCompatActivi... | 0 | Kotlin | 7 | 44 | ed01d74f2ab7615f6dcd682b0b5f8e56848c927e | 6,015 | PhoneCallRecorder | Apache License 2.0 |
app/src/main/java/com/revolgenx/anilib/list/presenter/MediaListCollectionPresenter.kt | AniLibApp | 244,410,204 | false | {"Kotlin": 1593083, "Shell": 52} | package com.revolgenx.anilib.list.presenter
import android.content.Context
import android.graphics.Color
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.core.graphics.ColorUtils
import androidx.viewbinding.ViewBinding
import com.f... | 9 | Kotlin | 3 | 76 | b3caec5c00779c878e4cf22fb7d2034aefbeee54 | 11,967 | AniLib | Apache License 2.0 |
src/main/kotlin/ipsum_amet/me/data/remote/dtos/responses/mpesa/MpesaC2BRegisterURLResponse.kt | kibetrns | 567,488,872 | false | {"Kotlin": 50542} | package ipsum_amet.me.data.remote.dtos.responses.mpesa
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class MpesaC2BRegisterURLResponse(
@SerialName("OriginatorCoversationID")
val originatorCoversationID: String,
@SerialName("ResponseCode")
val re... | 0 | Kotlin | 0 | 0 | 9298d9541eb1246a2c024c3f1ffdd9caeab23545 | 416 | BikePlaceAPI_ktor | Apache License 2.0 |
sample-counter/src/main/kotlin/com/github/rozag/redux/counter/CounterState.kt | rozag | 110,171,491 | false | null | package com.github.rozag.redux.counter
import com.github.rozag.redux.core.ReduxState
data class CounterState(val count: Int) : ReduxState {
companion object {
val INITIAL: CounterState = CounterState(0)
}
} | 0 | Kotlin | 4 | 17 | e5c5fb02c010630a864d181116cda840a3fe888a | 224 | kozy-redux | MIT License |
vclib/src/commonTest/kotlin/at/asitplus/wallet/lib/agent/IssueCredentialMessengerConcurrentTest.kt | a-sit-plus | 602,578,639 | false | null | package at.asitplus.wallet.lib.agent
import at.asitplus.wallet.lib.agent.DummyCredentialDataProvider.Companion.ATTRIBUTE_WITH_ATTACHMENT
import at.asitplus.wallet.lib.data.AtomicAttributeCredential
import at.asitplus.wallet.lib.data.ConstantIndex
import at.asitplus.wallet.lib.data.SchemaIndex
import com.benasher44.uui... | 2 | Kotlin | 0 | 2 | e9832ed338cbbd2ab0b4398498a0ce23f7ae3252 | 4,613 | kmm-vc-library | Apache License 2.0 |
src/test/kotlin/me/alllex/parsus/Tests.kt | alllex | 358,529,919 | false | null | @file:Suppress("DEPRECATION")
package me.alllex.parsus
import assertk.Assert
import assertk.Result
import assertk.all
import assertk.assertThat
import assertk.assertions.*
import me.alllex.parsus.token.*
import me.alllex.parsus.parser.*
import me.alllex.parsus.tree.*
import org.junit.Test
class Tests {
@Test
... | 0 | Kotlin | 0 | 28 | ea78d7aa14126c5bad69facbed360a1cfdbd84f3 | 11,828 | parsus | MIT License |
Main/authentication/presentation/common/authentication/LoginScreen.kt | SingularityIndonesia | 776,620,771 | false | {"Kotlin": 254310, "Shell": 4184, "Swift": 585, "HTML": 339, "CSS": 102} | package authentication
import androidx.compose.foundation.layout.Column
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import core.ui.SingularityScope
import core.ui.designsystem.component.Expand
import core.ui.designsystem.component.SExtraLargeIcon
import core.ui.designsystem.componen... | 0 | Kotlin | 4 | 7 | d16238b10ebbe50374d4f7bc73a3ad45c501bf3a | 1,377 | SingularityBaseMobile | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/example/sunnyweather2/logic/model/test.kt | 2489315759 | 459,903,978 | false | {"Kotlin": 28865} | package com.example.sunnyweather2.logic.model
class test {
}
fun text( a:Int, b:Int,block:()->Int):Int{
return block()
}
fun main(){
val a=10
val b=10
println(text(a,b){a+b})
} | 0 | Kotlin | 0 | 0 | ff6599b714f8e74dda1a1f397c31dbd1525d989e | 194 | SunnyWeather | Apache License 2.0 |
vclib-openid/src/commonTest/kotlin/at/asitplus/wallet/lib/oidc/DummyCredentialDataProvider.kt | a-sit-plus | 602,578,639 | false | {"Kotlin": 767916} | package at.asitplus.wallet.lib.oidc
import at.asitplus.KmmResult
import at.asitplus.wallet.lib.CryptoPublicKey
import at.asitplus.wallet.lib.agent.ClaimToBeIssued
import at.asitplus.wallet.lib.agent.CredentialToBeIssued
import at.asitplus.wallet.lib.agent.Issuer
import at.asitplus.wallet.lib.agent.IssuerCredentialData... | 4 | Kotlin | 2 | 8 | 3914412128b6a5880561426d7544eae928453d2f | 5,287 | kmm-vc-library | Apache License 2.0 |
Android/app/src/main/java/com/kinandcarta/tracy/peripheral/Server.kt | theappbusiness | 263,932,301 | false | null | package com.kinandcarta.tracy.peripheral
import android.bluetooth.BluetoothDevice
import android.bluetooth.BluetoothGatt
import android.bluetooth.BluetoothGattCharacteristic
import android.bluetooth.BluetoothGattServer
import android.bluetooth.BluetoothGattServerCallback
import android.bluetooth.BluetoothGattService
i... | 1 | Kotlin | 0 | 1 | 08cb0cc3e56fae0514464ba0841bcb542ee13904 | 3,063 | Tracy | MIT License |
core/database/src/main/kotlin/net/onefivefour/sessiontimer/core/database/domain/TaskGroupRepository.kt | OneFiveFour | 715,295,614 | false | {"Kotlin": 114658} | package net.onefivefour.sessiontimer.core.database.domain
import javax.inject.Inject
import kotlinx.coroutines.flow.map
import net.onefivefour.sessiontimer.core.common.domain.model.TaskGroup as DomainTaskGroup
import net.onefivefour.sessiontimer.core.database.TaskGroup as DatabaseTaskGroup
import net.onefivefour.sessi... | 0 | Kotlin | 0 | 0 | 4ac91f5c98499a3fd4aeb7f32c5ed85a7c5e31e4 | 2,014 | session-timer | Apache License 2.0 |
app/src/main/java/cn/phakel/fighting/ui/components/TabComponent.kt | Fighting-App | 376,473,659 | false | null | package cn.phakel.fighting.ui.components
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.size
import androidx.compose.material.Text
import androidx.compose.material.TopAppBar
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compos... | 0 | Kotlin | 0 | 1 | 8bbe9c533f0fe007513f884ab2a6448a5979604f | 831 | Fighting-App-Frontend-Android | MIT License |
app/src/main/java/hu/autsoft/krateexample/ExampleActivity.kt | kevincianfarini | 328,391,518 | true | {"Kotlin": 91843} | package hu.autsoft.krateexample
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import hu.autsoft.krateexample.krates.ExampleCustomKrate
import hu.autsoft.krateexample.krates.ExampleSettings
import hu.autsoft.krateexample.krates.ExampleSimpleKrate
import kotlinx.android.synthetic.main.activity... | 0 | null | 0 | 0 | 59509192e75ecbac3c9b5b3e102bc404751d9600 | 2,307 | Krate | Apache License 2.0 |
app/src/main/java/com/karlgao/kotlintemplate/view/util/BaseActivity.kt | gtk890811 | 101,605,710 | false | null | package com.karlgao.kotlintemplate.view.util
/**
* Created by dev on 12/9/17.
*/
| 0 | Kotlin | 0 | 0 | 2e475ada30b198e68ea643379618aba4169eda59 | 84 | androidkot-fluffy-system | Apache License 2.0 |
src/main/kotlin/com/example/spek/CustomerRepository.kt | SmartsquareGmbH | 223,778,072 | false | null | package com.example.spek
class CustomerRepository {
private var database = emptyList<Customer>()
fun save(customer: Customer) {
database = database.plus(customer)
}
fun findByAgeGreaterThan(threshold: Int): List<Customer> {
return database.filter { it.age > threshold }
}
fun... | 0 | Kotlin | 0 | 0 | 224b5cca67f55445fd3dd57ce7b42f16f1d5d8f6 | 472 | kotlin-test-framework-presentation | MIT License |
microapp/auth/src/main/java/bruhcollective/itaysonlab/microapp/auth/AuthMicroapp.kt | iTaysonLab | 529,265,880 | false | {"Kotlin": 665372} | package bruhcollective.itaysonlab.microapp.auth
import bruhcollective.itaysonlab.microapp.core.DestNode
import bruhcollective.itaysonlab.microapp.core.HasFullscreenRoutes
import bruhcollective.itaysonlab.microapp.core.NestedMicroappEntry
abstract class AuthMicroapp : NestedMicroappEntry, HasFullscreenRoutes {
ove... | 2 | Kotlin | 4 | 87 | 04fb50f721342bbec5efea17cf681fba37114993 | 914 | jetisteam | Apache License 2.0 |
data/src/main/java/com/example/data/source/YoutubeRemoteDataSourceImpl.kt | cheonjoosung | 495,207,441 | false | {"Kotlin": 71743} | package com.example.data.source
import android.util.Log
import com.example.data.model.YoutubeChannelInfo
import com.example.data.model.YoutubeVideo
import com.example.data.model.YoutubeVideoInfo
import com.example.data.service.YoutubeApiService
import com.example.data.utils.Utils
import retrofit2.Response
import retro... | 0 | Kotlin | 0 | 0 | 91ad50afe78be0bb808576da6555fa540f75a70a | 1,856 | Youtube-Api-Android | The Unlicense |
processor/src/main/kotlin/com/ryanharter/kups/processor/Parcelables.kt | rharter | 92,309,635 | false | null | package com.ryanharter.kups.processor
import com.squareup.kotlinpoet.ANY
import com.squareup.kotlinpoet.ArrayTypeName
import com.squareup.kotlinpoet.BOOLEAN
import com.squareup.kotlinpoet.BYTE
import com.squareup.kotlinpoet.CHAR
import com.squareup.kotlinpoet.ClassName
import com.squareup.kotlinpoet.CodeBlock
import c... | 0 | Kotlin | 1 | 4 | 683ec87a0f7828fdf700d15154743603418d9188 | 4,649 | kups | Apache License 2.0 |
app/src/main/java/io/xapk/apkinstaller/model/glide/loader/XApkModelLoader.kt | cade335 | 220,771,143 | false | {"Kotlin": 249734, "Java": 9328} | package io.xapk.apkinstaller.model.glide.loader
import com.bumptech.glide.Priority
import com.bumptech.glide.load.DataSource
import com.bumptech.glide.load.Options
import com.bumptech.glide.load.data.DataFetcher
import com.bumptech.glide.load.model.ModelLoader
import com.bumptech.glide.load.model.ModelLoaderFactory
im... | 1 | null | 1 | 2 | d41e2446466d6fc56b9d3f404a8c875cd776fe5c | 2,192 | xapk-installer | MIT License |
app/src/main/kotlin/org/jw/warehousecontrol/presentation/viewmodel/LendViewModel.kt | anandacamara | 739,857,108 | false | {"Kotlin": 83107} | package org.jw.warehousecontrol.presentation.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.launch
import org.jw.warehousecontrol.domain.repository.BorrowedItemsRep... | 0 | Kotlin | 0 | 0 | f4f704cedb41cb4cc536fb7678fbb3371e44a05c | 1,954 | warehouse_control | MIT License |
stripe/src/main/java/com/stripe/android/model/parsers/CardJsonParser.kt | carolinemusyoka | 269,436,815 | true | {"Kotlin": 2172538, "Java": 64855, "Ruby": 6208, "Shell": 321} | package com.stripe.android.model.parsers
import com.stripe.android.model.Card
import com.stripe.android.model.CardBrand
import com.stripe.android.model.CardFunding
import com.stripe.android.model.StripeJsonUtils
import com.stripe.android.model.TokenizationMethod
import org.json.JSONObject
internal class CardJsonParse... | 0 | null | 0 | 1 | 016bf6ef4d559017e6d405a87e6de7e0d40ebcae | 4,175 | stripe-android | MIT License |
core/src/main/java/dev/hirogakatageri/core/helpers/state/UiState.kt | HirogaKatageri | 172,017,651 | false | null | package dev.hirogakatageri.core.helpers.state
import androidx.annotation.Keep
@Keep
sealed class UiState<out T> {
open val data: T? = null
/**
* This means the state of the UI is being initialized.
* Use this to configure your initial UI state.
* */
@Keep
data class Initializing<out T... | 0 | Kotlin | 2 | 0 | ebe5bce927261da5ec0ef8186efe2a4da07786cd | 1,393 | core | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.