path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/ro/alexmamo/firemag/presentation/main/MainScreen.kt | alexmamo | 569,800,514 | false | null | package ro.alexmamo.firemag.presentation.main
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.*
import androidx.compose.ru... | 0 | Kotlin | 1 | 9 | d648c129c9d9f0841b898b6c178170e404f35024 | 3,593 | FireMag | Apache License 2.0 |
app/src/main/java/ru/ltst/u2020mvp/base/mvp/Registry.kt | LiveTyping | 69,892,571 | false | null | package ru.ltst.u2020mvp.base.mvp
import android.app.Activity
import android.os.Bundle
import android.support.annotation.IdRes
import ru.ltst.u2020mvp.util.Strings
import timber.log.Timber
import java.util.*
object Registry {
private val registers = HashMap<String, Entry<BaseView>>()
val SERVER: ActivityHiera... | 0 | Kotlin | 4 | 5 | a704da798d7f11ceb4a59cbdbac5c5d4f34e3500 | 3,920 | u2020-mvp-kotlin | Apache License 2.0 |
app/src/main/java/com/dawinder/customshapes_jc/ui/shapes/DiamondShape.kt | DawinderGill | 670,214,470 | false | null | package com.dawinder.customshapes_jc.ui.shapes
import androidx.compose.ui.geometry.Size
import androidx.compose.ui.graphics.Outline
import androidx.compose.ui.graphics.Path
import androidx.compose.ui.graphics.Shape
import androidx.compose.ui.unit.Density
import androidx.compose.ui.unit.LayoutDirection
/**
* Custom [... | 0 | Kotlin | 0 | 1 | 3dac4209ccbaa15a5d423a2c99e08b18decfb660 | 1,686 | CustomShapes-JetpackCompose | Apache License 2.0 |
src/main/kotlin/g2301_2400/s2322_minimum_score_after_removals_on_a_tree/Solution.kt | javadev | 190,711,550 | false | {"Kotlin": 4870729, "TypeScript": 50437, "Python": 3646, "Shell": 994} | package g2301_2400.s2322_minimum_score_after_removals_on_a_tree
// #Hard #Array #Depth_First_Search #Tree #Bit_Manipulation
// #2023_06_30_Time_412_ms_(100.00%)_Space_49.1_MB_(100.00%)
class Solution {
private var ans = Int.MAX_VALUE
// function to travel 2nd time on the tree and find the second edge to be r... | 0 | Kotlin | 20 | 43 | e8b08d4a512f037e40e358b078c0a091e691d88f | 3,624 | LeetCode-in-Kotlin | MIT License |
app/src/main/java/com/softcross/onepiece/core/data/modal/Location.kt | ErenMlg | 731,047,216 | false | {"Kotlin": 160094} | package com.softcross.onepiece.core.data.modal
data class Location(
val id:String,
val locationName:String,
val locationPictureURL:String
) | 0 | Kotlin | 0 | 0 | 718dead7aa72a0798a23b441b969893ecba0e204 | 152 | OnePieceAndroid | Apache License 2.0 |
code/app/src/main/java/com/tanfra/shopmob/smob/data/net/api/SmobShopApi.kt | fwornle | 440,434,944 | false | null | package com.tanfra.shopmob.smob.data.net.api
import com.tanfra.shopmob.Constants
import com.tanfra.shopmob.smob.data.net.nto.SmobShopNTO
import retrofit2.Response
import retrofit2.http.*
/**
* Service interface (exposed by retrofit library) for "SmobShops".
*/
interface SmobShopApi {
// HTTP GET (fetch a s... | 0 | Kotlin | 0 | 0 | 3dd02cae7a45ab2febb9c492c41d96b9db52fdee | 1,738 | ShopMob | MIT License |
src/main/kotlin/com/intellij/ideolog/largeFile/LargeLogFileRegexSearchNotificationProvider.kt | JetBrains | 93,527,718 | false | {"Kotlin": 199682, "HTML": 1378} | package com.intellij.ideolog.largeFile
import com.intellij.largeFilesEditor.editor.LargeFileRegexSearchNotificationProvider
import com.intellij.openapi.project.Project
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.ui.EditorNotificationProvider
class LargeLogFileRegexSearchNotificationProvider(
pri... | 76 | Kotlin | 53 | 251 | d43133fcf1a5608a7c97622ef86111208bd02c49 | 594 | ideolog | MIT License |
src/main/kotlin/com/zhangke/activitypub/api/PagingLinkInfo.kt | 0xZhangKe | 594,285,909 | false | {"Kotlin": 87574} | package com.zhangke.activitypub.api
data class PagingLinkInfo(
val preUrl: String?,
val preSinceId: String?,
val nextUrl: String?,
val nextMaxId: String?,
){
companion object{
val EMPTY = PagingLinkInfo(null, null, null, null)
}
}
data class PagingResult<T>(
val pagingInfo: Pagin... | 0 | Kotlin | 0 | 3 | 20df23caa5dca3594abdff8f9cdf388296a78090 | 350 | ActivityPub-Kotlin | Apache License 2.0 |
app/src/main/java/com/ae/apps/messagecounter/data/business/MessagesTableConstants.kt | midhunhk | 9,828,089 | false | {"Kotlin": 148066, "Shell": 1219} | /*
* 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 in writin... | 0 | Kotlin | 10 | 21 | 9319d166daa609813688f2ee891fd4558f377494 | 3,378 | message-counter | Apache License 2.0 |
app/src/main/java/com/one/kumaran/restpokemon/injection/RestModule.kt | bellank | 145,264,830 | false | null | package com.one.kumaran.restpokemon.injection
import android.content.Context
import com.google.gson.FieldNamingPolicy
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import com.one.kumaran.restpokemon.repository.network.ApiInterface
import dagger.Module
import dagger.Provides
import io.reactivex.schedul... | 0 | Kotlin | 0 | 0 | 37254090da661e4cd897e5cb0c4de77295e46e0e | 1,875 | restpokemon | Apache License 2.0 |
src/main/kotlin/com/devstromo/behavioral/cor/handler/CorHandlerMain.kt | devstromo | 726,667,072 | false | {"Kotlin": 39963} | package com.devstromo.behavioral.cor.handler
fun main() {
val handlerA = ConcreteHandlerA()
val handlerB = ConcreteHandlerB()
handlerA.setNext(handlerB)
arrayOf("A", "B", "C").forEach { request ->
handlerA.handle(request)
}
} | 0 | Kotlin | 0 | 0 | d8aedda55940a22cca26ce71c008b13b2a2d9fa7 | 256 | design-patterns-kotlin | MIT License |
samples/packages/asset-export-basic/src/main/kotlin/AssetExportBasicCfg.kt | Aryamanz29 | 734,240,005 | false | {"Markdown": 2, "Batchfile": 1, "Shell": 1, "Gradle Kotlin DSL": 30, "Java Properties": 1, "Dockerfile": 2, "Java": 1046, "Kotlin": 217, "INI": 1} | /* SPDX-License-Identifier: Apache-2.0
Copyright 2023 Atlan Pte. Ltd. */
import com.atlan.pkg.CustomConfig
import com.fasterxml.jackson.annotation.JsonAutoDetect
import com.fasterxml.jackson.annotation.JsonProperty
import javax.annotation.processing.Generated
/**
* Expected configuration for the Asset Export (Basi... | 1 | null | 1 | 1 | 0234b6506266c3c946040e5d89431063633edf49 | 1,033 | atlan-java | Creative Commons Attribution 4.0 International |
app/src/main/java/io/horizontalsystems/bankwallet/modules/evmfee/legacy/LegacyFeeSettingsViewModel.kt | horizontalsystems | 142,825,178 | false | null | package io.horizontalsystems.bankwallet.modules.evmfee.legacy
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import io.horizontalsystems.bankwallet.R
import io.horizontalsystems.bankwallet.core.App
import io.horizontalsystems.bankwallet.core.Warning
import io.horizontalsystems.bankwallet... | 131 | null | 288 | 551 | c48fdb4463a1245418edd0ace4d1e7d029bc4d70 | 4,990 | unstoppable-wallet-android | MIT License |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/leaguebot/hardware/LeagueFoundationGrabber.kt | CookedPelvis | 278,513,219 | false | {"Gradle": 8, "Shell": 1, "Markdown": 8, "Git Attributes": 1, "Batchfile": 1, "Ignore List": 1, "HTML": 386, "JavaScript": 1, "CSS": 1, "Text": 5, "XML": 22, "AIDL": 1, "Java": 189, "INI": 1, "Kotlin": 66} | package org.firstinspires.ftc.teamcode.leaguebot.hardware
import com.acmerobotics.dashboard.config.Config
import com.qualcomm.robotcore.util.ElapsedTime
import org.firstinspires.ftc.teamcode.bulkLib.RevHubServo
import org.firstinspires.ftc.teamcode.opmodeLib.Globals
@Config
class LeagueFoundationGrabber {
private... | 1 | null | 1 | 1 | 5d018bdf2803511eeff947b2118956ec4bfd8f4a | 1,664 | SkystoneApp | MIT License |
clients/kotlin-spring/generated/src/main/kotlin/org/openapitools/model/MediaUploadStatus.kt | oapicf | 489,369,143 | false | {"Markdown": 13009, "YAML": 64, "Text": 6, "Ignore List": 43, "JSON": 688, "Makefile": 2, "JavaScript": 2261, "F#": 1305, "XML": 1120, "Shell": 44, "Batchfile": 10, "Scala": 4677, "INI": 23, "Dockerfile": 14, "Maven POM": 22, "Java": 13384, "Emacs Lisp": 1, "Haskell": 75, "Swift": 551, "Ruby": 1149, "Cabal Config": 2, ... | package org.openapitools.model
import java.util.Objects
import com.fasterxml.jackson.annotation.JsonValue
import com.fasterxml.jackson.annotation.JsonProperty
import javax.validation.constraints.DecimalMax
import javax.validation.constraints.DecimalMin
import javax.validation.constraints.Email
import javax.validation.... | 0 | Java | 0 | 2 | dcd328f1e62119774fd8ddbb6e4bad6d7878e898 | 941 | pinterest-sdk | MIT License |
surveys/src/main/kotlin/com/krake/surveys/model/Answer.kt | LaserSrl | 165,023,586 | false | {"Gradle": 23, "Text": 3, "INI": 20, "Java Properties": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Git Attributes": 1, "XML": 512, "JSON": 4, "Java": 163, "Kotlin": 393, "Proguard": 2, "Groovy": 2} | package com.krake.surveys.model
import com.krake.core.media.MediaPartURLWrapper
import com.krake.core.model.MediaPart
import com.krake.core.model.RecordWithIdentifier
/**
* Created by joel on 08/03/17.
*/
interface Answer : RecordWithIdentifier, AllFileImage {
val answer: String?
val correctResponse: Boole... | 1 | null | 1 | 1 | 51b97524ff72273227d029faf06acbef0f2699f8 | 612 | KrakeAndroid | Apache License 2.0 |
xmlschema/src/commonMain/kotlin/io/github/pdvrieze/formats/xmlschema/datatypes/serialization/ParseQName.kt | pdvrieze | 143,553,364 | false | {"Kotlin": 3481762} | /*
* Copyright (c) 2023.
*
* This file is part of xmlutil.
*
* This file is licenced to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You should have received a copy of the license with the source distribution.
* Alternatively, y... | 35 | Kotlin | 31 | 378 | c4053519a8b6c90af9e1683a5fe0e9e2b2c0db79 | 1,899 | xmlutil | Apache License 2.0 |
app/src/main/java/cz/muni/moviewishlist/database/DbHandler.kt | tomas-jezek | 183,380,438 | false | null | package cz.muni.moviewishlist.database
import android.content.ContentValues
import android.content.Context
import android.database.DatabaseUtils
import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteOpenHelper
import cz.muni.moviewishlist.R
import cz.muni.moviewishlist.categories.Category
... | 0 | Kotlin | 0 | 0 | 29b380ef347b581e5cc5becda4e5e2dce4851cd1 | 6,887 | MovieWishlist | The Unlicense |
app/src/main/java/com/sanjay/constraintlayoutanimation/LoginRegisterActivity.kt | sanjay4one | 222,292,761 | false | null | package com.sanjay.constraintlayoutanimation
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.transition.TransitionManager
import android.view.View
import androidx.constraintlayout.widget.ConstraintSet
import kotlinx.android... | 0 | Kotlin | 0 | 1 | b2e05a8bd00c233564aca6af70c385d137e975ca | 3,001 | ConstraintLayoutAnimation | Apache License 2.0 |
ethereum-scan/src/main/kotlin/com/uuhnaut69/ethereumscan/repository/LastBlockRepository.kt | uuhnaut69 | 686,534,020 | false | null | package com.uuhnaut69.ethereumscan.repository
import com.uuhnaut69.ethereumscan.model.entity.LastBlockEntity
import org.springframework.data.r2dbc.repository.R2dbcRepository
import org.springframework.stereotype.Repository
import reactor.core.publisher.Mono
import java.util.UUID
/**
* cloud-native-microservices
*
... | 0 | Kotlin | 0 | 0 | 98fdf5621adbcfc80332105ac009d042ace65e58 | 496 | cloud-native-microservices | MIT License |
app/src/main/java/com/example/composeapplication/data/ProductList.kt | Lilytreasure | 609,425,104 | false | null | package com.example.composeapplication.data
data class ProductList(
val id: Long,
val title: String,
val price: Double,
val description: String,
//val category: Category,
val image: String,
val rating: Rating
)
| 0 | Kotlin | 0 | 0 | 3830be02f8c74185c287a46f0f4a018153c13519 | 241 | Compose-Application | Apache License 2.0 |
src/main/kotlin/io/github/tcrawford/versioning/internal/errors/InvalidOverrideVersionError.kt | tcrawford-figure | 707,752,444 | false | {"Kotlin": 106204, "Shell": 4438} | package io.github.tcrawford.versioning.internal.errors
class InvalidOverrideVersionError(
invalidVersion: String,
) : Exception(
"Invalid override version provided: $invalidVersion",
)
| 0 | Kotlin | 0 | 0 | 9548b14e51884d2b319a2b31b528c2ab3c8f5d1c | 202 | git-aware-versioning-plugin | MIT License |
ion-schema/src/main/kotlin/com/amazon/ionschema/writer/internal/constraints/PrecisionWriter.kt | amazon-ion | 148,685,964 | false | {"Kotlin": 804755, "Inno Setup": 15625, "Java": 795, "Shell": 631} | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package com.amazon.ionschema.writer.internal.constraints
import com.amazon.ion.IonWriter
import com.amazon.ionschema.model.Constraint
import com.amazon.ionschema.model.ExperimentalIonSchemaModel
import com.ama... | 40 | Kotlin | 14 | 27 | 7a9ee6d06e9cfdaa530310f5d9be9f5a52680d3b | 676 | ion-schema-kotlin | Apache License 2.0 |
src/main/kotlin/me/bardy/gsonkt/gson.kt | BomBardyGamer | 372,222,995 | false | null | /*
* This file is part of GsonKt, licensed under the MIT license.
*
* Copyright (C) 2021 <NAME>
*
* 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... | 0 | Kotlin | 0 | 0 | cb444bc98ccb3fffde054ed9e676202e8d971137 | 5,148 | gson-kt | MIT License |
protocol/kotlin/src/solarxr_protocol/rpc/SerialDevicePort.kt | SlimeVR | 456,320,520 | false | {"Rust": 790111, "Java": 650829, "TypeScript": 507384, "C++": 434772, "Kotlin": 356034, "PowerShell": 959, "Shell": 910, "Nix": 587} | // automatically generated by the FlatBuffers compiler, do not modify
package solarxr_protocol.rpc
import java.nio.*
import kotlin.math.sign
import com.google.flatbuffers.*
@Suppress("unused")
class SerialDevicePort : Table() {
fun __init(_i: Int, _bb: ByteBuffer) {
__reset(_i, _bb)
}
fun __ass... | 11 | Rust | 20 | 19 | 60f3146f914e2a9e35d759a8146be213e715d6d2 | 1,860 | SolarXR-Protocol | Apache License 2.0 |
src/main/kotlin/no/nav/helseidnavtest/edi20/BusinessDokument.kt | navikt | 754,033,318 | false | {"Kotlin": 174830, "HTML": 1340} | package no.nav.helseidnavtest.edi20
import com.fasterxml.jackson.annotation.JsonValue
import no.nav.helseidnavtest.dialogmelding.HerId
import no.nav.helseidnavtest.edi20.ApprecStatus.OK
import no.nav.helseidnavtest.edi20.PostMessageRequest.SystemInfo
import org.springframework.http.MediaType.APPLICATION_XML_VALUE
impo... | 1 | Kotlin | 0 | 0 | efc0f80b59352555ab2bb5431e780f1bc7056f7f | 2,527 | helseid-nav-test | MIT License |
src/main/kotlin/Day07.kt | nmx | 572,850,616 | false | {"Kotlin": 18806} | fun main(args: Array<String>) {
val TOTAL_DISK_SPACE = 70000000
val UNUSED_SPACE_NEEDED = 30000000
abstract class Node(val name: String, var size: Int) {
abstract fun calcSize(): Int
abstract fun sumMatchingSizes(): Int
}
class File(name: String, size: Int): Node(name, size) {
... | 0 | Kotlin | 0 | 0 | 33da2136649d08c32728fa7583ecb82cb1a39049 | 4,470 | aoc2022 | MIT License |
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsbookavideolinkapi/security/VideoBookingAccessKtTest.kt | ministryofjustice | 789,053,149 | false | {"Kotlin": 1204892, "Shell": 11651, "Dockerfile": 1492} | package uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.security
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.assertDoesNotThrow
import org.junit.jupiter.api.assertThrows
import uk.gov.justice.digital.hmpps.hmppsbookavideolinkapi.entity.UNKNOWN_COURT_CODE
import uk.gov.justice.digital.hmpps.hmpps... | 2 | Kotlin | 0 | 0 | 32258306b78a8e0c974ea34c057b33569e9d4c1d | 2,787 | hmpps-book-a-video-link-api | MIT License |
GoTrue/src/wasmJsMain/kotlin/io/github/jan/supabase/gotrue/RedirectUrl.kt | supabase-community | 495,084,592 | false | {"Kotlin": 883057} | package io.github.jan.supabase.gotrue
import io.github.jan.supabase.annotations.SupabaseInternal
import kotlinx.browser.window
@SupabaseInternal
actual fun Auth.defaultPlatformRedirectUrl(): String? = window.location.origin | 12 | Kotlin | 37 | 369 | 020ec03eef1efc94a80d97337e515df9338f3df0 | 225 | supabase-kt | MIT License |
main-course-project/src/main/kotlin/br/com/leuras/core/business/pipeline/impl/IncreaseSharesPipelineStep.kt | leuras | 672,251,747 | false | null | package br.com.leuras.core.business.pipeline.impl
import br.com.leuras.core.business.pipeline.PipelineStep
import br.com.leuras.core.port.CustomerSharesDetailRepository
class IncreaseSharesPipelineStep(
private val walletRepository: CustomerSharesDetailRepository): PipelineStep {
override fun execute(input: ... | 0 | Kotlin | 0 | 0 | a781207b157a87e22b4ddfa58b87fba060ea5a87 | 1,453 | kotlin-unit-testing-course | MIT License |
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/filled/SlideSearch.kt | Konyaco | 574,321,009 | false | null |
package com.konyaco.fluent.icons.filled
import androidx.compose.ui.graphics.vector.ImageVector
import com.konyaco.fluent.icons.Icons
import com.konyaco.fluent.icons.fluentIcon
import com.konyaco.fluent.icons.fluentPath
public val Icons.Filled.SlideSearch: ImageVector
get() {
if (_slideSearch != null) {
... | 1 | Kotlin | 3 | 83 | 9e86d93bf1f9ca63a93a913c990e95f13d8ede5a | 2,508 | compose-fluent-ui | Apache License 2.0 |
common/src/main/java/com/topview/purejoy/common/mvvm/binding/CommonBindingAdapters.kt | giagor | 421,858,760 | false | {"Kotlin": 800571, "AIDL": 3111} | package com.topview.purejoy.common.mvvm.binding
import android.widget.ImageView
import androidx.databinding.BindingAdapter
import com.bumptech.glide.Glide
import com.bumptech.glide.request.RequestOptions
@BindingAdapter("commonLoadImg")
fun loadImg(iv: ImageView, url: String?) {
url?.let {
Glide.with(iv.c... | 1 | Kotlin | 1 | 5 | f58ca9570486871066d99fc5e0827af66d6f0c3b | 446 | PureJoy | MIT License |
app/src/main/java/ukponahiunsijeffery/example/asteroidraderapp/database/AsteroidDatabaseEntity.kt | deba-jeff | 521,185,939 | false | null | package ukponahiunsijeffery.example.asteroidraderapp.database
import androidx.room.Entity
import androidx.room.PrimaryKey
import ukponahiunsijeffery.example.asteroidraderapp.domain.AsteroidDomain
@Entity(tableName = "asteroid_table")
data class AsteroidDatabaseEntity(
@PrimaryKey
var id: String,
var name:... | 0 | Kotlin | 0 | 0 | 31ea67ea5c07028f6bd14863ae3da4b7a3a0aa4e | 1,160 | Asteroid-Rader-App | MIT License |
app/src/main/java/com/github/jan222ik/gamification/ui/screens/RoundEvaluation.kt | jan222ik | 453,740,147 | false | null | package com.github.jan222ik.gamification.ui.screens
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.ColumnScope
import androidx.compose.foundation.layout.Row
import androidx.compose.material3.Text
import androidx.compose.material3.TextButton
import androidx.compose.runti... | 0 | Kotlin | 0 | 0 | 073f387a9f23af97acda3b7a299081aa0187968d | 945 | MSc-S3-FAS-KON-Gamification | MIT License |
app/src/main/java/com/example/quizapp/MainActivity.kt | budifauzan | 535,572,654 | false | null | package com.example.quizapp
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import android.widget.Toast
class MainActivity : AppCompatActivity() {
private var edtName: EditText? = null
private va... | 0 | Kotlin | 0 | 0 | d51f7dd6384f3fbb65933b6dbacbaca2f00bac8e | 1,198 | QuizApp | MIT License |
GcbApplication/module_store/src/main/java/com/gocashback/module_store/adapter/CashBackCateAdapter.kt | ybx945ybx | 247,870,704 | false | null | package com.gocashback.module_store.adapter
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.gocashback.lib_common.network.model.store.StoreDetailSpecialItemModel
import com.gocashback.module_store.R
/**
* @Author 55HAITAO
* @Date 2019-06-18 14:33
... | 0 | Kotlin | 0 | 0 | 0da5ca3b1dddcb8907d5bcc062722b4ad3ac3546 | 823 | gcb | Apache License 2.0 |
android/src/oldarch/OverscrollViewManagerSpec.kt | Hao-yiwen | 876,671,086 | false | {"Kotlin": 6040, "TypeScript": 2437, "JavaScript": 1743, "Ruby": 295, "C": 103, "Swift": 62} | package com.overscroll
import android.view.ViewGroup
import com.facebook.react.uimanager.ViewGroupManager
abstract class OverscrollViewManagerSpec<T : ViewGroup> : ViewGroupManager<T>() {
abstract fun setBounce(view: T?, value: Boolean)
}
| 0 | Kotlin | 0 | 1 | 1682d20ff8f59f5e9625ddb423319e6ae826f684 | 243 | react-native-overscroll2 | MIT License |
src/main/java/ir/firoozehcorp/gameservice/core/gslive/GSLiveChat.kt | AR-Ghodrati | 246,913,293 | false | null | /*
* <copyright file="GSLiveChat.kt" company="Firoozeh Technology LTD">
* Copyright (C) 2020. Firoozeh Technology LTD. All Rights Reserved.
*
* 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 ... | 0 | Kotlin | 0 | 0 | 2977427a328b7accb7972a03e4bd401a09693b72 | 5,662 | GameService-Kotlin-SDK | Apache License 2.0 |
network/src/main/kotlin/org/openapitools/client/models/Image.kt | manish218 | 597,589,035 | false | null | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.openapitools.client.models
import ... | 1 | Kotlin | 0 | 0 | 7b4e97161b530dc7106d28780a08048b7b11754a | 2,034 | fast-player | MIT License |
src/main/kotlin/kr/ac/jbnu/ampm/ampmsiteapi/Service/MemberActivityService.kt | ampm-jbnu | 599,133,979 | false | null | package kr.ac.jbnu.ampm.ampmsiteapi.Service
import kr.ac.jbnu.ampm.ampmsiteapi.DTO.MemberActivityDTO
import kr.ac.jbnu.ampm.ampmsiteapi.DTO.toEntity
import kr.ac.jbnu.ampm.ampmsiteapi.Entity.toDTO
import kr.ac.jbnu.ampm.ampmsiteapi.Repo.MemberActivityRepo
class MemberActivityService(private val memberActivityReposito... | 1 | Kotlin | 2 | 2 | 8d21ee326383f97d8113c7fa84798bd29a8956e6 | 1,559 | ampm-site-api | MIT License |
app/src/main/java/com/example/if570_lab_uts_agustinus_00000053639/HomeActivity.kt | agustinusss | 720,303,153 | false | {"Kotlin": 23017} | package com.example.if570_lab_uts_agustinus_00000053639
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import android.view.View
import android.widget.FrameLayout
import androidx.appcompat.widget.Toolbar
import... | 0 | Kotlin | 0 | 0 | 626b4dfc8efbf3676daae481ac639e2b7ad37c09 | 4,437 | SimpleMobile_Pokedex | MIT License |
app/src/main/java/com/franzliszt/magicmusic/bean/video/MlogContentBean.kt | FranzLiszt-1847 | 753,088,527 | false | {"Kotlin": 879960, "Java": 1923} | package com.franzliszt.magicmusic.bean.video
data class MlogContentBean(
val accompanyInfo: Any,
val actList: List<Any>,
val albumExt: Any,
val audio: Any,
val coverColor: Int,
val coverExt: Any,
val creation: Any,
val creationProtocolInfos: List<Any>,
val creationTagType: Int,
... | 0 | Kotlin | 1 | 1 | dcbc4c0cb9c0478e617423812712659df52a3b7d | 686 | MagicPlayer | Apache License 2.0 |
app/src/main/java/com/example/fragment/project/ui/register/RegisterScreen.kt | miaowmiaow | 364,865,870 | false | null | package com.example.fragment.project.ui.register
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.sh... | 0 | Kotlin | 187 | 951 | 0e4c3f31e34e0d808765a8e2a6e40b086fbed30b | 8,741 | fragmject | Apache License 2.0 |
app/src/main/java/com/example/baseapp/MyApplication.kt | TReturn | 399,864,608 | false | null | package com.example.baseapp
import com.example.lib_base.BaseApplication
/**
* @CreateDate : 2020/12/30
* @Author : 青柠
* @Description :
*/
class MyApplication : BaseApplication() {
override fun onCreate() {
super.onCreate()
}
} | 0 | Kotlin | 1 | 1 | ac75e3c6c3bceae4b4f94a918b58bbd627c17dd2 | 248 | BaseApp | Apache License 2.0 |
android/Rental/app/src/main/java/com/project/pradyotprakash/rental/app/pages/wishlist/view/WishlistScreen.kt | pradyotprksh | 385,586,594 | false | null | package com.project.pradyotprakash.rental.app.pages.wishlist.view
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer... | 0 | Kotlin | 7 | 9 | e10e007fab12c3d056920741c06ff599a64cca21 | 5,587 | development_learning | MIT License |
app/src/main/java/com/zenika/story/adventure/domain/GetCasablancaPaperStateUseCase.kt | Zenika | 628,692,757 | false | {"Kotlin": 394194, "Shell": 305} | package com.zenika.story.adventure.domain
import com.zenika.story.adventure.data.AdventureGameStateManager
import kotlinx.coroutines.flow.map
import javax.inject.Inject
class GetCasablancaPaperStateUseCase @Inject constructor(
private val gameStateManager: AdventureGameStateManager
) {
operator fun invoke() =... | 1 | Kotlin | 0 | 2 | 3e81f9e98c283fb243bb5c06e620c637ac61a6ef | 384 | ZEscape-Android | Apache License 2.0 |
library/src/main/kotlin/com/daniloaraujosilva/mathemagika/library/common/mathematica/functions/GetEnvironment.kt | Danilo-Araujo-Silva | 271,904,885 | false | null | package com.daniloaraujosilva.mathemagika.library.common.mathematica.functions
import com.daniloaraujosilva.mathemagika.library.common.mathematica.MathematicaFunction
/** \! " in the operati... | 2 | Kotlin | 0 | 3 | 4fcf68af14f55b8634132d34f61dae8bb2ee2942 | 4,630 | mathemagika | Apache License 2.0 |
feature/movies/src/main/java/vn/toanpv/sample/movies/ui/movie/adapter/search/MovieHintAdapter.kt | toanpv | 620,264,148 | false | null | package vn.toanpv.sample.movies.ui.movie.adapter.search
import android.view.LayoutInflater
import android.view.ViewGroup
import vn.toanpv.sample.movies.ui.movie.model.MovieItem
import vn.toanpv.sample.arena.core.ui.widget.recyclerview.BaseRecyclerViewAdapter
import vn.toanpv.sample.movies.databinding.ItemMovieSearchHi... | 0 | Kotlin | 0 | 0 | 2815a33ac1e597a6e053da7d1e27454522f36bfb | 1,039 | InspiusArena | Apache License 2.0 |
app/src/main/java/br/com/movieapp/movie_favorite_feature/domain/usecase/GetMoviesFavoriteUseCase.kt | LeoDiasDev | 874,309,011 | false | {"Kotlin": 181905} | package br.com.movieapp.movie_favorite_feature.domain.usecase
import br.com.movieapp.core.domain.model.Movie
import br.com.movieapp.movie_favorite_feature.domain.repository.MovieFavoriteRepository
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.emptyFlow
import javax.inject.Inject
interface GetMovi... | 0 | Kotlin | 0 | 0 | a7492d47da1f12144015c8ffcbfb91fc5c4331a1 | 757 | movie-app | MIT License |
src/jsMain/kotlin/App.kt | Odaym | 654,765,122 | false | null | import csstype.TextDecoration
import emotion.react.css
import kotlinx.coroutines.MainScope
import kotlinx.coroutines.launch
import react.*
import react.dom.html.ReactHTML.h1
import react.dom.html.ReactHTML.li
import react.dom.html.ReactHTML.ul
private val scope = MainScope()
val App = FC<Props> {
var (shoppingLi... | 0 | Kotlin | 0 | 0 | f9eca4ea015284a72302aa294759e487e2a9ee9d | 1,648 | fullstack-shopping-list-kmm | Apache License 2.0 |
app/src/main/kotlin/com/absinthe/kage/media/MediaDirectory.kt | zhaobozhen | 223,542,983 | false | null | package com.absinthe.kage.media
import android.os.Parcel
import android.os.Parcelable
import java.util.*
class MediaDirectory : Parcelable {
private var mediaList: MutableList<LocalMedia>? = null
var name: String? = null
var id: Long = 0
var type = 0
internal constructor()
constructor(parce... | 1 | Kotlin | 5 | 25 | 71dc5f8ee51b3b566723455fbc4b019845c2a347 | 2,189 | Kage | Apache License 2.0 |
app/src/main/kotlin/io/github/importre/eddystone/EddyStone.kt | hojinchu99 | 46,778,834 | false | {"Kotlin": 79978, "Java": 674} | package io.github.importre.eddystone
import android.app.Activity
import android.bluetooth.BluetoothAdapter
import android.bluetooth.BluetoothManager
import android.bluetooth.le.BluetoothLeScanner
import android.bluetooth.le.ScanFilter
import android.bluetooth.le.ScanSettings
import android.content.Context
import andro... | 0 | Kotlin | 0 | 0 | 50ff11b443d953f4212268326095c65fd4be5be8 | 2,339 | yeobara-android | MIT License |
src/main/kotlin/by/mrpetchenka/flanscore/common/blocks/BlockGunWorkbench.kt | PeTcHeNkA | 506,586,519 | false | null | package by.mrpetchenka.flanscore.common.blocks
import by.mrpetchenka.flanscore.client.core.helper.IconHelper
import cpw.mods.fml.relauncher.Side
import cpw.mods.fml.relauncher.SideOnly
import net.minecraft.block.material.Material
import net.minecraft.client.renderer.texture.IIconRegister
import net.minecraft.entity.pl... | 0 | Kotlin | 0 | 0 | f4f5eef2db6631e3ba6adbaa4e6d5a36391798e2 | 2,789 | FlansCore | MIT License |
NetworkUtils/src/main/java/com/abiots/networkutils/core/AddressResolutionProtocol.kt | AbiotsLabs | 415,655,663 | false | {"Kotlin": 17353} | package com.abiots.networkutils.core
import com.abiots.networkutils.BuildConfig
import kotlinx.coroutines.Dispatchers.IO
import kotlinx.coroutines.withContext
import timber.log.Timber
import java.io.File
import java.io.FileReader
/**
* @author <NAME>
* - ARP stands for Address Resolution Protocol
*/
object Address... | 0 | Kotlin | 0 | 0 | 70025555b2f953829b5a1d84dd97eaa568fce845 | 2,885 | NetworkTools | Apache License 2.0 |
cinescout/screenplay/data/remote/trakt/src/commonMain/kotlin/screenplay/data/remote/trakt/model/TraktTvShowExtended.kt | fardavide | 280,630,732 | false | null | package screenplay.data.remote.trakt.model
import cinescout.screenplay.domain.model.ids.TmdbTvShowId
import cinescout.screenplay.domain.model.ids.TraktTvShowId
import korlibs.time.Date
import korlibs.time.DateTime
import kotlinx.serialization.Contextual
import kotlinx.serialization.SerialName
import kotlinx.serializat... | 14 | Kotlin | 2 | 6 | f04a22b832397f22065a85af038dd15d90225cde | 1,423 | CineScout | Apache License 2.0 |
app/src/main/java/com/hypertrack/android/adapters/ItemsAdapter.kt | amrfaisal | 252,781,704 | true | {"Kotlin": 91717} | package com.hypertrack.android.adapters
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.hypertrack.android.response.Items
import com.hypertrack.logistics.a... | 0 | null | 1 | 1 | 217a2fdbc652bb45f65fa3907228a64e99fc518b | 1,799 | logistics-android | MIT License |
android/PostsComments/app/src/main/java/com/pradyotprakash/postscomments/app/pages/posts/viewmodel/PostsViewModel.kt | pradyotprksh | 385,586,594 | false | {"Kotlin": 2932498, "Dart": 1066884, "Python": 319755, "Rust": 180589, "Swift": 149003, "C++": 113494, "JavaScript": 103891, "CMake": 94132, "HTML": 57188, "Go": 45704, "CSS": 18615, "SCSS": 17864, "Less": 17245, "Ruby": 13609, "Dockerfile": 9772, "C": 8043, "Shell": 7657, "PowerShell": 3045, "Nix": 2616, "Makefile": 1... | package com.pradyotprakash.postscomments.app.pages.posts.viewmodel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.pradyotprakash.postscomments.app.composables.ConfirmationDialog
import com.pradyotpraka... | 0 | Kotlin | 11 | 24 | a31e612a63e1dc42ed4cf2f50db90b8613fb5177 | 5,560 | development_learning | MIT License |
app/src/main/java/jp/funmake/example/store/ManageSpaceActivity.kt | nosix | 571,445,795 | false | null | package jp.funmake.example.store
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
// TODO research this
class ManageSpaceActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity... | 0 | Kotlin | 0 | 0 | 2cb1b98ebdbfd3fd1152ce7230c28882dff6ade8 | 342 | android-store-example | Apache License 2.0 |
source/model/src/main/kotlin/de/webis/webisstud/thesis/reimer/model/Document.kt | webis-de | 261,803,727 | false | {"Kotlin": 235840, "Jupyter Notebook": 43040, "Java": 7525} | package de.webis.webisstud.thesis.reimer.model
interface Document : Comparable<Document> {
val topic: Topic<*>
val id: String
override fun compareTo(other: Document) = id.compareTo(other.id)
fun asMetadata(): Metadata {
return object : Metadata {
override val documentId = id
... | 0 | Kotlin | 2 | 2 | 34cbd80dad107b6a7cd57b6a740d35f76013984a | 468 | sigir20-sampling-bias-due-to-near-duplicates-in-learning-to-rank | MIT License |
src/model/Character.kt | mikhalchenko-alexander | 125,385,896 | false | null | package model
interface Character {
val id: Int
val name: String
val status: String
val species: String
val type: String
val gender: String
val origin: LocationShort
val location: LocationShort
val image: String
val episode: Array<String>
val url: String
val created: Str... | 0 | Kotlin | 0 | 0 | 8ee8633a53d74f86e8733ca61e1e4999218d1b97 | 326 | rick-and-morty-api-ui | Apache License 2.0 |
intellij-idea/src/main/kotlin/com/itangcent/intellij/config/resource/FileResource.kt | Earth-1610 | 178,314,657 | false | {"Kotlin": 1216447, "Java": 35079, "Shell": 3153} | package com.itangcent.intellij.config.resource
import com.itangcent.common.logger.Log
import com.itangcent.common.utils.SystemUtils
import com.itangcent.intellij.config.ConfigReader
import com.itangcent.intellij.context.ActionContext
import java.io.File
import java.io.InputStream
import java.net.URL
import java.util.r... | 0 | Kotlin | 5 | 8 | af802e7ea26b233610c9d35af89365c93f48158b | 3,597 | intellij-kotlin | Apache License 2.0 |
intellij-idea/src/main/kotlin/com/itangcent/intellij/config/resource/FileResource.kt | Earth-1610 | 178,314,657 | false | {"Kotlin": 1216447, "Java": 35079, "Shell": 3153} | package com.itangcent.intellij.config.resource
import com.itangcent.common.logger.Log
import com.itangcent.common.utils.SystemUtils
import com.itangcent.intellij.config.ConfigReader
import com.itangcent.intellij.context.ActionContext
import java.io.File
import java.io.InputStream
import java.net.URL
import java.util.r... | 0 | Kotlin | 5 | 8 | af802e7ea26b233610c9d35af89365c93f48158b | 3,597 | intellij-kotlin | Apache License 2.0 |
game/src/main/kotlin/io/posidon/rpg/client/world/Composition.kt | zaguragit | 365,525,969 | false | {"Kotlin": 139728, "GLSL": 19421} | package io.posidon.rpg.client.world
/**
* Percentages of elements (1f = 1%)
*/
data class Composition(
val redMatter: Float, // energy conduction
val greenMatter: Float, // energy production, silicone
val blueMatter: Float, // energy production
val stringMatter: Float, // building
) {
init {
... | 0 | Kotlin | 0 | 0 | 4ef6bffe2f857e8ade0cdc34d4c8a59778bafb28 | 636 | rpg-engine | Apache License 2.0 |
randomizer/src/main/java/com/chrisjanusa/randomizer/filter_boolean/updaters/OpenNowUpdater.kt | chrisjanusa | 209,855,968 | false | null | package com.chrisjanusa.randomizer.filter_boolean.updaters
import com.chrisjanusa.base.interfaces.BaseUpdater
import com.chrisjanusa.base.models.RandomizerState
import java.util.HashSet
class OpenNowUpdater(private val openNow: Boolean) : BaseUpdater {
override fun performUpdate(prevState: RandomizerState): Rando... | 1 | Kotlin | 0 | 0 | 4c675b740ccf2cf29630bf82c50c04ed5113249c | 464 | RandomRestaurantKotlin | MIT License |
kotlin-remix-run-router/src/jsMain/generated/remix/run/router/BaseNavigateOptions.kt | JetBrains | 93,250,841 | false | null | package remix.run.router
sealed external interface BaseNavigateOptions : BaseNavigateOrFetchOptions {
var replace: Boolean?
var state: Any?
var fromRouteId: String?
}
| 29 | null | 173 | 1,250 | 9e9dda28cf74f68b42a712c27f2e97d63af17628 | 181 | kotlin-wrappers | Apache License 2.0 |
app/src/main/java/com/amp/bemobile/data/features/transactions/repository/TransactionRepositoryImpl.kt | alvaromarco | 414,525,714 | false | null | package com.amp.bemobile.data.features.transactions.repository
import com.amp.bemobile.data.features.transactions.service.TransactionService
import com.amp.bemobile.domain.core.functional.Either
import com.amp.bemobile.domain.core.functional.Failure
import com.amp.bemobile.domain.core.functional.map
import com.amp.bem... | 0 | null | 0 | 0 | 7a29c67b76bf12fdea7ad869c03e77708bb61ac0 | 924 | BeMobile | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/digital/hmpps/manageusersapi/resource/prison/UserCaseloadsControllerIntTest.kt | ministryofjustice | 406,273,579 | false | {"Kotlin": 604654, "Shell": 7014, "Dockerfile": 1110} | package uk.gov.justice.digital.hmpps.manageusersapi.resource.prison
import com.github.tomakehurst.wiremock.client.WireMock
import com.github.tomakehurst.wiremock.client.WireMock.getRequestedFor
import com.github.tomakehurst.wiremock.client.WireMock.postRequestedFor
import com.github.tomakehurst.wiremock.client.WireMoc... | 4 | Kotlin | 0 | 0 | 1d02d86d2d7da5f6de16056c9f32546fd83f9dbb | 4,478 | hmpps-manage-users-api | MIT License |
domain/src/main/kotlin/com/ilgiz/kitsu/domain/useCases/FetchSingleAnimeUseCase.kt | ilgiz05 | 493,248,856 | false | null | package com.ilgiz.kitsu.domain.useCases
import com.ilgiz.kitsu.domain.repositories.AnimeRepository
import javax.inject.Inject
class FetchSingleAnimeUseCase @Inject constructor(
private val animeRepository: AnimeRepository
) {
operator fun invoke(id: String) = animeRepository.fetchAnimeDetails(id)
} | 0 | Kotlin | 0 | 0 | f9d4b4b9899bc2faa3fc992233c3187774d3d8d8 | 309 | kitsuApi | MIT License |
EcoSwapAndroid/src/main/java/com/darrenthiores/ecoswap/android/presentation/home/components/CategorySection.kt | darrenthiores | 688,372,873 | false | {"Kotlin": 770054, "Swift": 362583} | package com.darrenthiores.ecoswap.android.presentation.home.components
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
i... | 0 | Kotlin | 0 | 0 | 6da03175466a0458ba4a28392f7371f8a429d4cf | 6,857 | EcoSwap | MIT License |
orchestrator/src/main/kotlin/io/github/akmal2409/ets/orchestrator/onboarding/service/RawMediaService.kt | akmal2409 | 708,369,158 | false | {"Kotlin": 64660, "Java": 37521, "Shell": 530} | package io.github.akmal2409.ets.orchestrator.onboarding.service
import io.github.akmal2409.ets.orchestrator.commons.db.OptimisticLockingException
import io.github.akmal2409.ets.orchestrator.config.MessagingProperties
import io.github.akmal2409.ets.orchestrator.onboarding.controller.dto.unboxing.UnboxingCompletedEvent
... | 0 | Kotlin | 0 | 0 | c7db2b58ed01bf4b8c574a0049a3bc562aab4961 | 4,918 | elastic-transcoding-service | Apache License 2.0 |
internal-plugins/android-plugin/src/main/kotlin/com/bselzer/gradle/internal/android/library/plugin/AndroidLibraryExtension.kt | Woody230 | 638,902,833 | false | null | package com.bselzer.gradle.internal.android.library.plugin
import com.bselzer.gradle.internal.android.plugin.AndroidExtension
interface AndroidLibraryExtension : AndroidExtension | 0 | Kotlin | 0 | 0 | e469fd53064f21d6e374f0f6faa27b757a86b064 | 180 | GradleExtensions | Apache License 2.0 |
src/main/kotlin/com/daimond113/miraculous_miracles/core/AbstractMiraculous.kt | daimond113 | 683,141,761 | false | {"Kotlin": 194915} | package com.daimond113.miraculous_miracles.core
import com.daimond113.miraculous_miracles.MiraculousMiracles
import com.daimond113.miraculous_miracles.state.PlayerState
import com.daimond113.miraculous_miracles.state.ServerState
import net.minecraft.enchantment.Enchantments
import net.minecraft.entity.Entity
import ne... | 1 | Kotlin | 1 | 0 | a3f4aeca52df52cf0c65c9e111637d05a26e121d | 7,987 | miraculous-miracles | MIT License |
src/main/kotlin/leight/storage/DuplicateEntityException.kt | marek-hanzal | 259,577,282 | false | null | package leight.storage
class DuplicateEntityException(message: String, cause: Throwable? = null) : StorageException(message, cause)
| 112 | Kotlin | 0 | 1 | 7a485228438c5fb9a61b1862e8164f5e87361e4a | 133 | DeRivean | Apache License 2.0 |
features/src/main/kotlin/ru/mobileup/features/launchers/ui/upcoming/UpcomingLaunchersComponent.kt | MobileUpLLC | 495,342,634 | false | {"Kotlin": 206427} | package ru.mobileup.features.launchers.ui.upcoming
import me.aartikov.replica.single.Loadable
import ru.mobileup.features.launchers.ui.LauncherViewData
interface UpcomingLaunchersComponent {
val upcomingLaunchersViewState: Loadable<List<LauncherViewData>>
fun onRetryClick()
} | 0 | Kotlin | 1 | 1 | 717fec2a43e5e9314b7ffe0d3aaa94047b6ca229 | 288 | Education-Space-Android | MIT License |
app/src/main/java/com/breezebioqempharma/features/meetinglist/api/MeetingRepo.kt | DebashisINT | 836,199,992 | false | {"Kotlin": 15543658, "Java": 1026757} | package com.breezebioqempharma.features.meetinglist.api
import com.breezebioqempharma.app.Pref
import com.breezebioqempharma.features.meetinglist.model.MeetingListResponseModel
import io.reactivex.Observable
/**
* Created by Saikat on 21-01-2020.
*/
class MeetingRepo(val apiService: MeetingApi) {
fun meetingLis... | 0 | Kotlin | 0 | 0 | 4c8d2f61bffcf049b911626940a7d6e7d83eadfd | 450 | BioqemPharma | Apache License 2.0 |
library/src/main/java/com/github/markowanga/timberloggingtofile/LogManager.kt | Murtowski | 461,476,680 | true | {"Kotlin": 20453} | package com.github.markowanga.timberloggingtofile
import android.content.Context
import androidx.core.content.ContextCompat
import java.io.File
import java.time.Instant
import java.time.temporal.ChronoUnit
object LogManager {
private const val DEFAULT_LOG_DIRECTORY = "app-logs"
private fun getPrimaryExterna... | 0 | null | 0 | 0 | 2dd5069db156c4f9f9dd992994c6580a3324f1a0 | 1,382 | timber-logging-to-file | Apache License 2.0 |
app/src/test/java/com/example/macropay/core/Flow.kt | salvadormaurilio | 805,100,814 | false | {"Kotlin": 84128} | package com.example.macropay.core
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.launch
suspend fun <T> Flow<T>.collectAndCancel(delay: Long = DELAY_FLOW) {
coroutineScope {
val j... | 0 | Kotlin | 0 | 1 | 985f4e38d6cd50187458cc0ec2230558d7a68565 | 474 | MacroPay-Challenge | Apache License 2.0 |
app/src/main/kotlin/org/jw/warehousecontrol/presentation/viewmodel/MenuViewModel.kt | anandacamara | 739,857,108 | false | {"Kotlin": 89174} | package org.jw.warehousecontrol.presentation.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.google.firebase.database.*
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.launch
import org.jw.warehousecont... | 0 | Kotlin | 0 | 0 | 5f8afefddc77fd5cd083da067816479ca5b84dcc | 1,743 | warehouse_control | MIT License |
composeApp/src/commonMain/kotlin/data/mapper/PhotoCreatorMapper.kt | dalafiarisamuel | 820,153,053 | false | null | package data.mapper
import data.model.remote.UnsplashUser
import data.model.ui.PhotoCreator
class PhotoCreatorMapper : UIModelMapper<UnsplashUser, PhotoCreator>() {
override fun mapToUI(entity: UnsplashUser): PhotoCreator {
return with(entity) {
PhotoCreator(name, username, attributionUrl)
... | 0 | null | 2 | 7 | f51a1c1c7490d07f742591f76db5bfa0312c6e47 | 454 | Unsplash-KMP | MIT License |
app/src/main/java/com/example/gymlog/ui/auth/authclient/UserCredentials.kt | LucasMelll0 | 635,043,401 | false | {"Kotlin": 350707} | package com.example.gymlog.ui.auth.authclient
data class UserCredentials(
val email: String,
val password: String,
val userName: String? = null
) | 0 | Kotlin | 0 | 1 | 7ab200245fbd83e1401c338ee81216e07d8e206f | 158 | GymLog | Apache License 2.0 |
src/main/kotlin/model/Version.kt | steep-wms | 237,438,539 | false | {"Kotlin": 1539171, "JavaScript": 233382, "SCSS": 38483, "Shell": 1830, "Dockerfile": 1598, "PLpgSQL": 1198} | package model
import java.util.Calendar
/**
* Steep version info
* @param version Steep's version number
* @param build the build ID from the CI server
* @param commit the Git commit this build was based on
* @param timestamp the timestamp when the build was executed
* @author <NAME>
*/
data class Version(
... | 37 | Kotlin | 5 | 38 | 8270b146664463b962e0c7387cf4f80d44b95e7b | 419 | steep | Apache License 2.0 |
src/main/kotlin/ru/quipy/dto/Dtos.kt | DimonTurbina | 708,906,169 | false | {"Kotlin": 35461, "Dockerfile": 354} | package ru.quipy.dto
import java.util.UUID
data class ProjectDto(
val id: UUID,
val title: String,
val createdAt: String,
val creatorId: UUID,
val tasks: List<TaskDto>,
val tags: List<TagDto>
)
data class ProjectsDto(
val id: UUID,
val title: String,
val createdAt: String,
val... | 0 | Kotlin | 0 | 0 | 02f38589df28ee90d18e32b19a9bfa3a6a4973be | 564 | is-ppo | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/bold/arrowsaction/Scale.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.bold.arrowsaction
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Compani... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 4,062 | SolarIconSetAndroid | MIT License |
app/src/main/java/com/robowatch/util/OnBoardingPage.kt | Saeb0x | 661,292,932 | false | null | package com.robowatch.util
import androidx.annotation.DrawableRes
import com.robowatch.R
sealed class OnBoardingPage(
@DrawableRes
val image: Int,
val title: String,
val description: String
) {
object First : OnBoardingPage(
image = R.drawable.first,
title = "Live Feed Stream",
... | 0 | Kotlin | 0 | 0 | d7cc3c8fd0330d3a42b6164c562f31bf4659cbca | 993 | RoboWatch | Apache License 2.0 |
base/src/commonMain/kotlin/com/darkrockstudios/apps/hammer/base/http/EntityType.kt | Wavesonics | 499,367,913 | false | {"Kotlin": 1290354, "Swift": 32452, "CSS": 2064, "Ruby": 1579, "Shell": 361} | package com.darkrockstudios.apps.hammer.base.http
enum class EntityType {
Scene, Note, TimelineEvent, EncyclopediaEntry, SceneDraft
} | 14 | Kotlin | 7 | 99 | 2feba4da350977e6eac5fdf07b3be644ee255b7a | 135 | hammer-editor | MIT License |
core/data/local/src/main/java/com/fappslab/rickandmortygraphql/core/data/local/prefs/DataPrefs.kt | F4bioo | 585,168,438 | false | null | package com.fappslab.rickandmortygraphql.core.data.local.prefs
import android.content.Context
import android.content.SharedPreferences
class DataPrefs(
private val context: Context,
private val prefsName: String
) {
private val prefs by lazy {
context.getSharedPreferences(prefsName, Context.MODE_... | 0 | Kotlin | 0 | 0 | b2a46bb919d7159c8417832a731798fdb9d159e9 | 382 | RickAndMorty-GraphQL | MIT License |
gaia-sdk-java/gaia-sdk-core/src/test/kotlin/gaia/sdk/core/jwt/JWTSkillTest.kt | leftshiftone | 218,051,248 | false | {"Python": 597076, "TypeScript": 553203, "Kotlin": 517386, "JavaScript": 6976, "ANTLR": 2281} | package gaia.sdk.core.jwt
import gaia.sdk.GaiaCredentials
import gaia.sdk.core.AuthorizationTestHelper
import gaia.sdk.core.SkillTest
import org.junit.jupiter.api.Disabled
class JWTSkillTest : SkillTest(){
override fun retrieveCredentials() : GaiaCredentials {
return AuthorizationTestHelper.getValidJWTCr... | 8 | Python | 2 | 1 | 10190c1de4b2b5f1d4a5f014602c4ccc5c11bee4 | 340 | gaia-sdk | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/adjustments/api/error/ApiValidationException.kt | ministryofjustice | 607,762,818 | false | {"Kotlin": 388997, "Shell": 1421, "Dockerfile": 1397} | package uk.gov.justice.digital.hmpps.adjustments.api.error
class ApiValidationException(
override var message: String,
) : Exception(message)
| 2 | Kotlin | 0 | 0 | 12b74b0560bfc6e4557b2f1d48794725dc530ffb | 145 | hmpps-adjustments-api | MIT License |
app/src/main/java/com/dluvian/nozzle/ui/app/views/profileList/ProfileListRoute.kt | dluvian | 645,936,540 | false | {"Kotlin": 600976} | package com.dluvian.nozzle.ui.app.views.profileList
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.runtime.remember
import com.dluvian.nozzle.data.profileFollower.IProfileFollower
import com.dluvian.nozzle.ui.ap... | 5 | Kotlin | 3 | 28 | a1f9bebd460de48dfa69f75433b9ddbc9447537e | 1,536 | Nozzle | MIT License |
app/src/main/java/com/app/uiuxsamples/materialactionbar/MaterialActionBarSampleActivity.kt | rastogitech | 134,158,496 | false | {"Kotlin": 30378} | package com.app.uiuxsamples.materialactionbar
import android.content.Intent
import android.os.Bundle
import android.view.View
import com.app.uiuxsamples.BaseActivity
import com.app.uiuxsamples.R
import kotlinx.android.synthetic.main.activity_material_action_bar_sample.*
/**
* Copyright 2018 Rahul Rastogi. All Rights... | 0 | Kotlin | 0 | 1 | ce85e02f6fe6b89848c8a58ef034b6230c4fec31 | 3,431 | UI-UX-Android-Samples | Apache License 2.0 |
websocket/websocket-core/src/main/kotlin/co/nilin/opex/websocket/core/inout/QueryOrderRequest.kt | opexdev | 370,411,517 | false | {"Kotlin": 1443488, "HTML": 43145, "Java": 19673, "PLpgSQL": 17262, "Shell": 7915, "Dockerfile": 5680, "HCL": 823} | package co.nilin.opex.websocket.core.inout
data class QueryOrderRequest(
val symbol: String,
val orderId: Long?,
val origClientOrderId: String?
) | 23 | Kotlin | 13 | 23 | 9c58721f0df3e8ae21f8c60adba830e5091901d0 | 158 | core | MIT License |
src/main/kotlin/com/w3bshark/newsfeed/web/PostController.kt | TylerMcCraw | 114,279,637 | false | null | package com.w3bshark.newsfeed.web
import com.w3bshark.newsfeed.data.User
import com.w3bshark.newsfeed.data.source.IFriendRelationshipRepository
import com.w3bshark.newsfeed.data.source.IPostRepository
import com.w3bshark.newsfeed.data.source.IUserRepository
import org.joda.time.DateTime
import org.springframework.bean... | 0 | Kotlin | 0 | 0 | 2f078ff41087076d8ce6116b99f8c9fcb934b38c | 4,175 | spring-newsfeed-api | Apache License 2.0 |
app/src/main/java/com/dedeandres/movieapp/presenter/movie/movielist/adapter/MovieListAdapter.kt | dedeandress | 373,596,520 | false | null | package com.dedeandres.movieapp.presenter.movie.movielist.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.dedeandres.movieapp.databinding.ItemMoviePosterBinding
import com.dedeandres.movieapp.presenter.... | 0 | Kotlin | 0 | 0 | 28cbe0a80321fa7fd5abb0d9c3d0724d69d1e6e0 | 2,195 | movie_app_android | MIT License |
module/parser/src/commonMain/kotlin/org/cru/godtools/shared/tool/parser/model/Tabs.kt | CruGlobal | 310,338,913 | false | null | package org.cru.godtools.shared.tool.parser.model
import org.ccci.gto.support.androidx.annotation.RestrictTo
import org.ccci.gto.support.androidx.annotation.RestrictToScope
import org.cru.godtools.shared.tool.parser.model.AnalyticsEvent.Companion.parseAnalyticsEvents
import org.cru.godtools.shared.tool.parser.model.An... | 5 | Kotlin | 1 | 0 | 6f53069d28ac91a2de18a9f4e01a9e52b9dd9c32 | 3,190 | kotlin-mpp-godtools-tool-parser | MIT License |
src/main/java/geode/Geode.kt | jaimeaz | 568,111,941 | false | {"Java": 74228, "Kotlin": 25582} | package geode
import solver.Vec2
import solver.Vec3
import solver.Vec3Dir
import kotlin.math.PI
import kotlin.math.pow
import kotlin.math.roundToInt
enum class StickyBlockType {
SLIME,
SLIME_OFFSET,
HONEY,
HONEY_OFFSET;
companion object {
@JvmStatic
fun isHoney(block: StickyBlockT... | 1 | null | 1 | 1 | 116d49af6c2cc27946860202de907bc59b4d3d0f | 2,385 | Geodesy-fabric-auto | MIT License |
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/NotifGutsViewManager.kt | liu-wanshun | 595,904,109 | true | null | /*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Java | 1 | 2 | e99201cd9b6a123b16c30cce427a2dc31bb2f501 | 958 | platform_frameworks_base | Apache License 2.0 |
BBChat/src/main/java/id/bluebird/chat/methods/logout.kt | bluebird-id | 715,886,189 | false | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Git Attributes": 1, "Markdown": 3, "INI": 1, "Proguard": 3, "Kotlin": 37, "XML": 154, "Java": 137, "Protocol Buffer": 1, "JSON": 2} | package id.bluebird.chat.methods
import id.bluebird.chat.sdk.Cache
import id.bluebird.chat.sdk.CallManager
fun logout(): Boolean {
CallManager.unregisterCallingAccount()
Cache.invalidate()
return false
}
| 0 | Java | 0 | 0 | 292935626a93cdba391ebe4d69862532debc8e4e | 219 | bb-chat-android | Apache License 2.0 |
magick-kt-native-q8/src/commonMain/kotlin/imagemagick/magicknative/types/NativePrimaryInfo.kt | Gounlaf | 692,782,810 | false | {"Kotlin": 954080, "C": 942148, "C++": 3285} | @file:Suppress("KDocMissingDocumentation")
package imagemagick.magicknative.types
import imagemagick.bridge.dispose
import imagemagick.bridge.x
import imagemagick.bridge.y
import imagemagick.bridge.z
import kotlinx.cinterop.CPointer
import kotlinx.cinterop.ExperimentalForeignApi
import libMagickNative.PrimaryInfo
imp... | 0 | Kotlin | 0 | 0 | a075a88d293b5c77668d8079c73b463c2d601fc8 | 1,076 | Magick.KT | MIT License |
SharedCode/src/iosTest/kotlin/dev/polek/episodetracker/common/resources/Resources.kt | y-polek | 234,707,032 | false | null | package dev.polek.episodetracker.common.resources
actual object Resource {
actual fun read(path: String): String? {
TODO("not implemented")
}
}
| 0 | Kotlin | 1 | 3 | 3ecbee176b5d1a74e293b94af74229aa17cff2dd | 161 | EpisodeTracker | Apache License 2.0 |
app/src/main/java/de/drtobiasprinz/summitbook/fragments/SummationFragment.kt | prinztob | 370,702,913 | false | null | package de.drtobiasprinz.summitbook.fragments
import de.drtobiasprinz.summitbook.db.entities.Summit
interface SummationFragment {
fun update(filteredSummitEntries: List<Summit>?)
} | 0 | Kotlin | 0 | 0 | b7bbb8f6a6edc5c42fc7e98dacc50032f52957ad | 186 | summitbook | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.