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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
lookandfeel/src/commonMain/kotlin/moe/tlaster/precompose/navigation/NavHostDefaults.kt | alexzhirkevich | 636,411,288 | false | {"Kotlin": 480229, "Ruby": 1724, "Swift": 571, "Shell": 228} | @file:OptIn(ExperimentalMaterialApi::class)
package moe.tlaster.precompose.navigation
import androidx.compose.animation.slideInHorizontally
import androidx.compose.animation.slideOutHorizontally
import androidx.compose.material.ExperimentalMaterialApi
import androidx.compose.material.FractionalThreshold
import androi... | 5 | Kotlin | 14 | 359 | 89f41414e712fc3d75bba4ef3609b04d617f2b19 | 1,852 | compose-look-and-feel | Apache License 2.0 |
MultipleAppModulesExample/feature1app/src/main/java/me/abunka/multipleappmodules/feature1app/ActivityA.kt | yankeppey | 150,957,921 | false | null | package me.abunka.multipleappmodules.feature1app
import android.content.Context
import android.content.Intent
import android.os.Bundle
import dagger.android.support.DaggerAppCompatActivity
class ActivityA: DaggerAppCompatActivity() {
companion object {
fun getIntent(context: Context) = Intent(context, Ac... | 0 | Kotlin | 36 | 106 | 63dd53e0d49761b1767e359cea6123807fe7a024 | 499 | MultipleAppModules | MIT License |
sudovirtualcards/src/test/java/com/sudoplatform/sudovirtualcards/SudoVirtualCardsReviewUnfundedFundingSourceTest.kt | sudoplatform | 287,155,437 | false | {"Kotlin": 1003676} | /*
* Copyright © 2023 <NAME>, Inc. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.sudoplatform.sudovirtualcards
import android.content.Context
import com.amazonaws.mobileconnectors.appsync.AWSAppSyncClient
import com.apollographql.apollo.api.Response
import com.apollographql.apollo.ex... | 0 | Kotlin | 0 | 0 | 81f92ab8ff2c2256fb8d7d07abf28cebd4f4400c | 16,106 | sudo-virtual-cards-android | Apache License 2.0 |
litenet/src/main/java/com/aqrlei/litenet/ITransformerFactory.kt | AqrLei | 288,324,186 | false | null | package com.aqrlei.litenet
/**
* created by AqrLei on 2020/3/20
*/
interface ITransformerFactory {
fun <T> createTransformer(): ITransformer<T>
} | 0 | Kotlin | 0 | 0 | 9e95bf813060ec0e691fab7b274bf65bdeb005ed | 152 | LiteNet | Apache License 2.0 |
vscode/src/jsMain/kotlin/vscode/CommentThread.kt | lppedd | 761,812,661 | false | {"Kotlin": 1887051} | package vscode
import js.array.ReadonlyArray
/**
* A collection of [Comment]s representing a conversation at a particular range in a document.
*/
external interface CommentThread {
/**
* The uri of the document the thread has been created on.
*/
val uri: Uri
/**
* The range the comment thread is loc... | 0 | Kotlin | 0 | 3 | 0f493d3051afa3de2016e5425a708c7a9ed6699a | 2,035 | kotlin-externals | MIT License |
app/src/main/java/com/example/meditation/ui/PlayContentVideoFragment.kt | hoavu2505 | 492,882,528 | false | {"Kotlin": 191388} | package com.example.meditation.ui
import android.os.Bundle
import android.util.Log
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.navigation.fragment.findNavController
import androidx.navigation.fragment.navArgs
import com... | 0 | Kotlin | 0 | 0 | dff95e7494508692340232224d3285137c61b2c9 | 2,686 | Meditation-App | Apache License 2.0 |
core/src/main/java/com/github/offile/permissionshelper/runtime/RuntimeResult.kt | offile | 338,356,908 | false | null | package com.github.offile.permissionshelper.runtime
import com.github.offile.permissionshelper.core.Result
class RuntimeResult(
isGranted: Boolean,
val grantedList: List<String> = emptyList(),
val deniedList: List<String> = emptyList(),
) : Result(isGranted) | 0 | Kotlin | 0 | 0 | 0d65bcb170f15a92f8227e0d348e63c089324dd0 | 272 | PermissionsHelper | Apache License 2.0 |
app/src/main/java/cab/snapp/blackBox/MyApplication.kt | snapp-incubator | 670,599,580 | false | null | package cab.snapp.blackBox
import android.app.Application
import cab.snapp.blackBox.crashHandler.CrashHandler
import cab.snapp.blackBox.dagger.ApplicationComponent
import cab.snapp.blackBox.dagger.DaggerApplicationComponent
import cab.snapp.blackBox.poaro.SnappLogger
import cab.snapp.blackBox.poaro.f
import javax.inje... | 0 | Kotlin | 2 | 6 | 4d13f5d586799ca8490b72905d11bd9c3c43ebcd | 858 | BlackBox | Apache License 2.0 |
Network/src/main/java/com/flexcode/wedatecompose/network/data/models/auth/UserSubscriptions.kt | Felix-Kariuki | 588,745,399 | false | null | /*
* Copyright 2023 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 13 | Kotlin | 1 | 9 | 20a9b38cb4ae45572a248f819eca775e2d2f2678 | 1,594 | Mingle | Apache License 2.0 |
modules/feature-categories/src/main/java/com/kpstv/mvvmnewsapp/categories/data/model/Categories.kt | KaustubhPatange | 432,745,679 | false | null | package com.kpstv.mvvmnewsapp.categories.data.model
import com.kpstv.bindings.AutoGenerateConverter
import com.kpstv.bindings.ConverterType
@AutoGenerateConverter(using = ConverterType.MOSHI)
internal data class Categories(
val categories: List<String>
) | 0 | Kotlin | 0 | 0 | 5589654c5061df770106d0d80ec67cc478d94046 | 260 | mvvm-multi-module-sample | Apache License 2.0 |
app/src/main/java/top/yogiczy/mytv/ui/screens/settings/SettingsScreen.kt | yaoxieyoulei | 784,724,425 | false | {"Kotlin": 278935, "HTML": 14090} | package top.yogiczy.mytv.ui.screens.settings
import android.content.pm.PackageInfo
import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundatio... | 4 | Kotlin | 4 | 22 | 63150a9e6b2f08a1c8ec6eb54921bdcf3158050f | 3,182 | mytv-android | MIT License |
platform/backend/api/src/main/kotlin/io/hamal/api/web/func/CreateFuncController.kt | hamal-io | 622,870,037 | false | {"Kotlin": 1744717, "C": 1398401, "TypeScript": 54320, "C++": 40651, "Lua": 36419, "Makefile": 11728, "Java": 7564, "CMake": 2881, "JavaScript": 1532, "HTML": 694, "Shell": 456, "CSS": 118} | package io.hamal.api.web.func
import io.hamal.api.web.req.Assembler
import io.hamal.core.adapter.CreateFuncPort
import io.hamal.lib.domain.vo.GroupId
import io.hamal.lib.sdk.api.ApiCreateFuncReq
import io.hamal.lib.sdk.api.ApiSubmittedReq
import org.springframework.http.HttpStatus.ACCEPTED
import org.springframework.h... | 6 | Kotlin | 0 | 0 | 6c7f5cc645ba67fb85df20d9a5d2e18372a012f4 | 983 | hamal | Creative Commons Zero v1.0 Universal |
library/src/main/java/dev/yasan/helper/android/library/PersianViewHelper.kt | yasandev | 333,085,867 | false | null | package dev.yasan.helper.android.library
import android.app.Activity
import android.view.View
/**
* A helper class with a set of functions that help with view related difficulties in Persian Android applications.
* @author <NAME>
*/
object PersianViewHelper {
/**
* Sets the activity's layout direction to... | 0 | Kotlin | 0 | 6 | e52fd5b8e1d32869de3543206b61bb2ebc05c5fd | 1,601 | yasan-helper-android-persian | MIT License |
parserkt-util/src/commonMain/kotlin/org/parserkt/util/NumOps.kt | ParserKt | 242,278,819 | false | null | package org.parserkt.util
interface BasicNumOps<NUM> {
val zero: NUM
fun from(n: Number): NUM
fun to(n1: NUM): Number
fun unaryMinus(a: NUM): NUM
fun plus(b: NUM, a: NUM): NUM
fun minus(b: NUM, a: NUM): NUM
fun times(b: NUM, a: NUM): NUM
fun div(b: NUM, a: NUM): NUM
fun rem(b: NUM, a: NUM): NUM
}
in... | 1 | Kotlin | 0 | 11 | 37599098dc9aafef7b509536e6d17ceca370d6cf | 2,360 | ParserKt | MIT License |
parserkt-util/src/commonMain/kotlin/org/parserkt/util/NumOps.kt | ParserKt | 242,278,819 | false | null | package org.parserkt.util
interface BasicNumOps<NUM> {
val zero: NUM
fun from(n: Number): NUM
fun to(n1: NUM): Number
fun unaryMinus(a: NUM): NUM
fun plus(b: NUM, a: NUM): NUM
fun minus(b: NUM, a: NUM): NUM
fun times(b: NUM, a: NUM): NUM
fun div(b: NUM, a: NUM): NUM
fun rem(b: NUM, a: NUM): NUM
}
in... | 1 | Kotlin | 0 | 11 | 37599098dc9aafef7b509536e6d17ceca370d6cf | 2,360 | ParserKt | MIT License |
shared/src/commonMain/kotlin/composable/dialog/MiddleButtonDialog.kt | ntietje1 | 672,375,249 | false | {"Kotlin": 328571, "Swift": 726} | package composable.dialog
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.core.LinearOutSlowInEasing
import androidx.compose.animation.core.TweenSpec
import androidx.compose.animation.slideInHorizontally
import androidx.compose.animation.slideOutHorizontally
import androidx.compo... | 0 | Kotlin | 0 | 1 | b43699790df2e74bf29be6d6c32511d8778d6676 | 24,159 | MTG_Life_Total_App | Apache License 2.0 |
src/main/kotlin/org/openweather/cached/service/model/interfaces/Wind.kt | ZsoltBerki | 357,253,147 | false | null | package org.openweather.cached.service.model.interfaces
interface Wind {
/**
* Wind speed. Wind speed. Units – default: metre/sec, metric: metre/sec, imperial: miles/hour.
*/
val windSpeed: Float
/**
* Wind gust. Units – default: metre/sec, metric: metre/sec, imperial: miles/hour.
*/
... | 0 | Kotlin | 0 | 0 | 2a0c19117816d4aeba9ef94b3bbc57f5b4ed4288 | 437 | OpenWeatherKotlin | Apache License 2.0 |
Barlom-Domain-JVM/src/main/kotlin/o/barlom/domain/metamodel/api/types/EBoolean.kt | martin-nordberg | 82,682,055 | false | null | //
// (C) Copyright 2015-2017 <NAME>
// Apache 2.0 License
//
package o.barlom.domain.metamodel.api.types
/**
* Enumeration of possible values for whether something is true or false. Useful for converting to functions that work
* on enums (e.g. Yes/No radio buttons).
*/
enum class EBoolean {
/** A value is tr... | 0 | Kotlin | 0 | 0 | 337b46f01f6eec6dfb3b86824c26f1c103e9d9a2 | 1,309 | ZZ-Barlom | Apache License 2.0 |
app/src/main/java/com/andreadev/roomsample/di/components/PresenterComponent.kt | battagliandrea | 112,673,607 | false | null | package com.andreadev.roomsample.di.components
import com.andreadev.roomsample.di.PresenterScope
import com.andreadev.roomsample.di.modules.PresenterModule
import com.andreadev.roomsample.ui.itemslist.ItemListFragment
import com.andreadev.roomsample.ui.splash.SplashFragment
import dagger.Component
/**
* Created by a... | 0 | Kotlin | 0 | 0 | 6e2ab03813ff80ab3f6b2cb7fbaaafb86289b582 | 594 | RoomSample | Apache License 2.0 |
src/commonMain/kotlin/com/cozmicgames/Application.kt | CozmicGames | 477,147,957 | false | {"Kotlin": 690755} | package com.cozmicgames
interface Application {
/**
* Called when the application is first created.
*/
fun onCreate() {}
/**
* Called each frame.
*
* @param delta The time in seconds since the last frame.
*/
fun onFrame(delta: Float) {}
/**
* Called when the app... | 0 | Kotlin | 0 | 0 | 08290e122f639e87c823f8220c80738c1c7fb631 | 798 | Kore | MIT License |
gaia/src/commonMain/kotlin/fyi/pauli/ichor/gaia/networking/packet/incoming/handshaking/Handshake.kt | ichor-dev | 676,285,724 | false | {"Kotlin": 75790} | package fyi.pauli.ichor.gaia.networking.packet.incoming.handshaking
import fyi.pauli.ichor.gaia.networking.packet.State
import fyi.pauli.ichor.gaia.networking.packet.incoming.IncomingPacket
import fyi.pauli.prolialize.serialization.types.NumberType
import fyi.pauli.prolialize.serialization.types.primitives.MinecraftNu... | 5 | Kotlin | 0 | 0 | b0aa02416f95ef5586376c0f940f05fd28f2d760 | 576 | ichor | Apache License 2.0 |
message-server/src/main/kotlin/com/qingzhu/messageserver/service/ConversationStatusService.kt | linjinhai | 394,838,665 | true | {"Kotlin": 693654, "ANTLR": 281490, "Java": 48298, "Dockerfile": 375} | package com.qingzhu.messageserver.service
import com.hazelcast.config.IndexType
import com.hazelcast.core.HazelcastInstance
import com.hazelcast.query.Predicate
import com.hazelcast.query.Predicates
import com.hazelcast.query.impl.predicates.EqualPredicate
import com.qingzhu.messageserver.domain.entity.ConversationSta... | 0 | null | 0 | 0 | b4718991300746ccc627c735c79f478b3cfa0956 | 2,846 | contact-center | Apache License 2.0 |
app/src/main/java/jarvay/workpaper/compose/rule/RuleForm.kt | Jarvay | 837,149,810 | false | {"Kotlin": 96878} | package jarvay.workpaper.compose.rule
import android.annotation.SuppressLint
import android.util.Log
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.... | 0 | Kotlin | 0 | 0 | 37c15736fa2b01bf8583e658c05e335d56909dec | 7,058 | workpaper-android | MIT License |
wow-query/src/test/kotlin/me/ahoo/wow/query/SnapshotStatesKtTest.kt | Ahoo-Wang | 628,167,080 | false | {"Kotlin": 2407170, "TypeScript": 50124, "Java": 37656, "HTML": 15900, "Lua": 3978, "JavaScript": 2514, "Dockerfile": 820, "SCSS": 609, "Less": 413} | package me.ahoo.wow.query
import io.mockk.every
import io.mockk.mockk
import me.ahoo.wow.api.query.DynamicDocument
import me.ahoo.wow.api.query.MaterializedSnapshot
import me.ahoo.wow.api.query.PagedList
import me.ahoo.wow.api.query.SimpleDynamicDocument
import org.hamcrest.MatcherAssert.*
import org.hamcrest.Matchers... | 3 | Kotlin | 22 | 167 | f9bf2e88ac483523692f8325f6c6a59bcb2259c2 | 2,334 | Wow | Apache License 2.0 |
src/main/kotlin/com/kazzutilsv2/features/events/mythological/MythoTracker.kt | FizzHatMc | 804,593,419 | false | {"Kotlin": 418098, "Java": 35134, "Shell": 1219} | package com.kazzutilsv2.features.events.mythological
import net.minecraftforge.client.event.ClientChatReceivedEvent
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
class MythoTracker {
companion object{
var inq: Int = 0
var champ: Int = 0
var mino: Int = 0
var... | 0 | Kotlin | 0 | 0 | dd3928ebb6923bf74d8215062fcc75e52e7d7637 | 3,520 | KazzUtilsV2 | The Unlicense |
androidApp/src/main/java/com/nicolasmilliard/githubcontributormultiplatform/ui/InjectViewModelFactory.kt | Couchsurfing | 615,128,638 | false | null | package com.nicolasmilliard.githubcontributormultiplatform.ui
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.nicolasmilliard.githubcontributormultiplatform.ui.home.HomeViewModel
import me.tatarka.inject.annotations.Inject
@Suppress("UNCHECKED_CAST")
@Inject
class InjectView... | 0 | Kotlin | 0 | 0 | 51add02eeaa80e4ceccdaf7cef137f0f9ad8bbd6 | 631 | github-multiplatform-playground | Apache License 2.0 |
core/src/main/java/id/rifqipadisiliwangi/core/utils/ResultWrapper.kt | Rifqips | 767,860,717 | false | {"Kotlin": 316033} | package id.rifqipadisiliwangi.core.utils
import id.rifqipadisiliwangi.core.utils.exceptions.ApiException
import id.rifqipadisiliwangi.core.utils.exceptions.NoInternetException
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.onS... | 0 | Kotlin | 0 | 0 | d3dcbf01c5155a6b761a2919c214bda5de0374a9 | 2,511 | TokoPaerbe | MIT License |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/SafetyCheck.kt | karakum-team | 387,062,541 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/SafetyCheck")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val SafetyCheck: SvgIconComponent
| 0 | Kotlin | 3 | 31 | b23d946ab3392e7a1ec017176ae48b952334fc75 | 204 | mui-kotlin | Apache License 2.0 |
app/src/main/java/com/toxicbakery/androidthings/mirror/module/newsfeed/ui/view/NewsFeedViewLayout.kt | knobtviker | 141,413,822 | true | {"Kotlin": 93331} | package com.toxicbakery.androidthings.mirror.module.newsfeed.ui.view
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import com.github.salomonbrys.kodein.Kodein
import com.github.salomonbrys.kodein.instance
import com.toxicbakery.androidthings.mirror.R
import com.toxi... | 0 | Kotlin | 0 | 0 | 4263ee2c7fb0cdf8f237e14351d87dcadf7a84c0 | 1,397 | AndroidThings-Mirror | Apache License 2.0 |
app/src/main/java/dog/snow/androidrecruittest/data/network/model/NetworkUser.kt | trOnk12 | 252,550,688 | false | {"Kotlin": 57018} | package dog.snow.androidrecruittest.data.network.model
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
data class NetworkUser(
val id: Int,
val name: String,
val username: String,
val email: String,
val address: Address,
val phone: String,
val website: Strin... | 0 | Kotlin | 0 | 0 | 1fea6aab8ff3838975ae8ac5416a1eda6dbb2383 | 793 | image-viewer | Apache License 2.0 |
app/src/main/java/dog/snow/androidrecruittest/data/network/model/NetworkUser.kt | trOnk12 | 252,550,688 | false | {"Kotlin": 57018} | package dog.snow.androidrecruittest.data.network.model
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
data class NetworkUser(
val id: Int,
val name: String,
val username: String,
val email: String,
val address: Address,
val phone: String,
val website: Strin... | 0 | Kotlin | 0 | 0 | 1fea6aab8ff3838975ae8ac5416a1eda6dbb2383 | 793 | image-viewer | Apache License 2.0 |
app/src/main/java/com/newapp/test_firebase_app/ui/start/createAccount/CreateAccountViewModel.kt | Soknop0211 | 621,139,868 | false | null | package com.newapp.test_firebase_app.ui.start.createAccount
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.newapp.test_firebase_app.data.Event
import com.newapp.test_firebase_app.data.Result
import com.newapp.test_firebase_app.data.db.entity.User
import com.newapp.test_firebase... | 0 | Kotlin | 0 | 0 | d538754c811b156002f89219c26a79685d9e4c8b | 2,474 | Chat-Project-Test | MIT License |
app/src/androidTest/java/com/fevziomurtekin/deezer/ui/MainActivityTest.kt | gustavobite | 331,638,803 | true | {"Kotlin": 191832} | package com.fevziomurtekin.deezer.ui
import androidx.lifecycle.Lifecycle
import androidx.test.core.app.ActivityScenario
import androidx.test.espresso.Espresso.*
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.ma... | 0 | null | 0 | 0 | 1ec7f41041162a651c6e9f98ad1cfe2a06cb3cef | 1,360 | DeezerClone | Apache License 2.0 |
kotlin/src/main/java/com/example/kt/KtMainActivity2.kt | fenggit | 506,854,183 | false | {"Kotlin": 76622, "Java": 13382, "Shell": 1110} | package com.example.kt
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.MainScope
import kotlinx.coroutines.cancel
import kotlinx.coroutines.launch
/**
* author : felix
* date : 2023/9/5
* description :
*/
class KtMainActiv... | 0 | Kotlin | 0 | 0 | 6da6233f19f091aac88adfbc3795fb1b4d859b3d | 616 | AndroidDailyLab | Apache License 2.0 |
src/mingwNativeTest/kotlin/ca/gosyer/appdirs/MingwNativeTest.kt | Syer10 | 578,459,054 | false | {"Kotlin": 44823, "Shell": 1639} | package ca.gosyer.appdirs
class MingwNativeTest : WindowsTest() | 0 | Kotlin | 2 | 26 | 63290dea066fb5d3d7d46740a0335b918b6355f5 | 64 | Kotlin-Multiplatform-AppDirs | Apache License 2.0 |
kotlin-cdk-wrapper/src/main/kotlin/io/cloudshiftdev/constructs/ConstructOrder.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 149148378} | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package io.cloudshiftdev.constructs
public enum class ConstructOrder(
private val cdkObject: software.constructs.ConstructOrder,
) {
PREOR... | 0 | Kotlin | 0 | 4 | 305b2af4703c09194822c8ad2c508fdfeb021cc5 | 858 | kotlin-cdk-wrapper | Apache License 2.0 |
common/src/commonMain/kotlin/com/darkrockstudios/apps/hammer/common/projecteditor/sceneeditor/SceneEditor.kt | Wavesonics | 499,367,913 | false | null | package com.darkrockstudios.apps.hammer.common.projecteditor.sceneeditor
import com.arkivanov.decompose.value.MutableValue
import com.arkivanov.decompose.value.Value
import com.darkrockstudios.apps.hammer.common.data.PlatformRichText
import com.darkrockstudios.apps.hammer.common.data.SceneBuffer
import com.darkrockstu... | 0 | Kotlin | 0 | 0 | 62d2425e954e7b8701a1d8e5d582b07a4ee4832b | 1,110 | hammer-editor | MIT License |
core/analytics/src/main/java/com/azuredragon/core/analytics/AppAnalytics.kt | bastionkid | 536,519,741 | false | null | package com.azuredragon.core.analytics
import com.azuredragon.core.analytics.provider.AnalyticsAgent
interface AppAnalytics {
val analyticsAgents: MutableList<AnalyticsAgent>
fun addAnalyticsProvider(analyticsAgent: AnalyticsAgent): Boolean
fun removeAnalyticsProvider(analyticsAgent: AnalyticsAgent): B... | 1 | Kotlin | 0 | 0 | ca22bbdfc1c6e9263d33693f03e1e67d7cef2630 | 492 | android-app-template | Apache License 2.0 |
app/src/main/java/com/zk/wanandroidtodo/ui/todo/AddTodoModel.kt | StephenZKCurry | 147,613,070 | false | null | package com.zk.wanandroidtodo.ui.todo
import com.zk.wanandroidtodo.bean.DataResponse
import com.zk.wanandroidtodo.manager.RetrofitManager
import com.zk.wanandroidtodo.utils.RxSchedulers
import io.reactivex.Observable
/**
* @description: 添加待办清单Model
* @author: zhukai
* @date: 2018/9/5 11:16
*/
clas... | 0 | Kotlin | 0 | 0 | 52e4cbbe9ed3f8e9340946911e3303b2272501ec | 654 | WanAndroidTodo_Kotlin | Apache License 2.0 |
data/src/main/java/com/depromeet/threedays/data/api/exception/ResultCall.kt | depromeet12th | 548,194,728 | false | {"Kotlin": 463798} | package com.depromeet.threedays.data.api.exception
import com.depromeet.threedays.data.entity.base.ErrorResponse
import com.depromeet.threedays.domain.exception.ThreeDaysException
import okhttp3.Request
import okio.Timeout
import retrofit2.*
import timber.log.Timber
import java.io.IOException
class ResultCall<T>(priv... | 0 | Kotlin | 1 | 14 | 889015221d286c2679a42f5a0a0003c1a3ef350a | 3,578 | three-days-android | MIT License |
mandrake-backend/src/main/kotlin/com/fernandocejas/mandrake/backend/core/flags/FeatureFlags.kt | android10 | 357,895,491 | false | null | /**
* Copyright (C) 2021 <NAME> Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | Kotlin | 0 | 0 | cee0f15878254c37adde90120343b47be92c90b7 | 1,517 | mandrake | MIT License |
app/src/main/java/com/mighty16/testapp/presentation/BasePresenter.kt | Mighty16 | 166,873,611 | false | {"Kotlin": 37588} | package com.mighty16.testapp.presentation
abstract class BasePresenter<V> {
protected var view: V? = null
protected val onViewAttachedActions = mutableListOf<(V) -> Unit>()
fun attachView(view: V) {
this.view = view
if (onViewAttachedActions.isNotEmpty()) {
onViewAttachedAc... | 0 | Kotlin | 0 | 0 | e3b6d45b12a05980a505ba49429e27161be4a6a1 | 695 | Groupie-Test-App | MIT License |
app/src/main/java/com/breezeshankar/features/login/model/productlistmodel/ProductListResponseModel.kt | DebashisINT | 851,529,165 | false | {"Kotlin": 15698684, "Java": 1025747} | package com.breezeshankar.features.login.model.productlistmodel
import com.breezeshankar.app.domain.ProductListEntity
import com.breezeshankar.base.BaseResponse
/**
* Created by Saikat on 20-11-2018.
*/
class ProductListResponseModel : BaseResponse() {
//var product_list: ArrayList<ProductListDataModel>? = null... | 0 | Kotlin | 0 | 0 | d382b7af0064e3965a2a89789c42731687d911f5 | 381 | SHANKARMG | Apache License 2.0 |
app/src/main/java/com/prasad/daggerbasic/MainApplication.kt | prasad091 | 272,716,745 | false | null | package com.prasad.daggerbasic
class MainApplication {
} | 0 | Kotlin | 0 | 0 | d197da0946865f72c1f3a0ee0a5ee44928d322d7 | 57 | Dagger2-Sample-with-Litho | Apache License 2.0 |
raionsnackbar/src/main/java/com/raion/raionsnackbar/RaionSneeze.kt | Raion-Community | 456,448,205 | false | {"Kotlin": 34720, "Java": 10649} | package com.raion.raionsnackbar
import android.annotation.SuppressLint
import android.graphics.Color
import android.view.LayoutInflater
import android.view.View
import androidx.core.content.res.ResourcesCompat
import com.bumptech.glide.Glide
import com.google.android.material.snackbar.Snackbar
import com.raion.raionsn... | 2 | Kotlin | 1 | 7 | 61514fd121115f71e58ceb61bbc66f3c5ed4f895 | 9,279 | Raion-UI-Kit | MIT License |
app/src/main/java/com/github/meudayhegde/esputils/ui/buttons/RemoteButton.kt | meudayhegde | 179,924,023 | false | {"Kotlin": 373055, "HTML": 689} | package com.github.meudayhegde.esputils.ui.buttons
import android.content.Context
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.graphics.drawable.GradientDrawable
import android.graphics.drawable.StateListDrawable
import android.os.Build
import android.util.AttributeSet
im... | 0 | Kotlin | 0 | 0 | 64657bb214e6adc93d279dc08f6f6456932c6e69 | 8,234 | ESPUtils_android | Apache License 2.0 |
app/src/main/java/com/flexcode/devspace/github/presentation/fragments/FollowersFragment.kt | Felix-Kariuki | 533,876,693 | false | null | package com.flexcode.devspace.github.presentation.fragments
import android.content.SharedPreferences
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.view.isGone
import androidx.core.view.isVisible
import androidx.fragment.app.Fragm... | 0 | Kotlin | 1 | 6 | 64fa5ef872adeb4c746accdbabe7cfd6c468cfc8 | 3,229 | DevSpace | MIT License |
app/src/main/java/com/gms/app/repo/StoredDataRepo.kt | YasserAdel564 | 406,843,475 | false | {"Kotlin": 193933} | package com.gms.app.repo
import androidx.lifecycle.LiveData
import com.gms.app.data.storage.local.db.AppDao
import com.gms.app.data.storage.remote.model.auth.CountryModel
import com.gms.app.data.storage.remote.model.auth.GenderModel
import com.gms.app.data.storage.remote.model.auth.NationalityModel
import javax.inject... | 0 | Kotlin | 0 | 0 | 96d69372c3d70597395641c6529d48e0830f4770 | 880 | GMS | MIT License |
app/src/main/java/de/mr_pine/xkcdfeed/Login.kt | Mr-Pine | 411,434,831 | false | null | package de.mr_pine.xkcdfeed
import android.util.Log
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import com.google.firebase.auth.AuthCredential
import com.google.firebase.auth.FirebaseUser
import com... | 1 | Kotlin | 1 | 1 | 6324bd1d6c688f0fb2162c27429b29c1563d8f99 | 1,980 | XKCDFeed | Apache License 2.0 |
ok-phonesell-pa-transport-mp/src/commonMain/kotlin/ru/otus/otuskotlin/phonesell/pa/transport/models/common/ResponseStatusDto.kt | otuskotlin | 327,228,590 | false | null | package ru.otus.otuskotlin.phonesell.pa.transport.models.common
import kotlinx.serialization.Serializable
@Serializable
enum class ResponseStatusDto {
SUCCESS,
BAD_REQUEST,
INTERNAL_SERVER_ERROR,
NOT_FOUND,
}
| 0 | Kotlin | 0 | 0 | c4e5b9a30aaba73c5d6c28bb8c6ebab578c8950b | 227 | otuskotlin-202012-phonesell-pa | MIT License |
app/src/main/java/com/mudassir/moviesapp/di/module/DataModule.kt | mookyjan | 313,948,503 | false | null | package com.mudassir.moviesapp.di.module
import com.mudassir.data.gateway.MovieDetailGateWayImpl
import com.mudassir.data.gateway.MovieListGateWayImpl
import com.mudassir.data.remote.GetMovieListRemoteDataSource
import com.mudassir.data.remote.api.MovieService
import com.mudassir.data.repository.MovieListRepository
im... | 0 | Kotlin | 0 | 4 | ebdc9848305a3cb2272e2ac8c396e0db223172ae | 1,121 | MoviesApp | Apache License 2.0 |
src/test/kotlin/eZmaxApi/models/CustomEzsignsignatureEzsignsignaturesAutomaticResponseTest.kt | eZmaxinc | 271,950,932 | false | {"Kotlin": 6909939} | /**
*
* 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 eZmaxApi.models
import io.kotlintest.sh... | 0 | Kotlin | 0 | 0 | 961c97a9f13f3df7986ea7ba55052874183047ab | 1,565 | eZmax-SDK-kotlin | MIT License |
compiler/fir/java/src/org/jetbrains/kotlin/fir/java/MutableJavaTypeParameterStack.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | /*
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.fir.java
import org.jetbrains.kotlin.fir.symbols.impl.FirTypeParameterSymbol
imp... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 1,918 | kotlin | Apache License 2.0 |
app/src/main/java/me/thanel/linecalendar/widget/configure/SpinnerAdapter.kt | Tunous | 131,023,329 | false | null | package me.thanel.linecalendar.widget.configure
import android.content.Context
import android.support.annotation.ArrayRes
import android.support.annotation.StringRes
import android.view.View
import android.view.ViewGroup
import android.widget.ArrayAdapter
import android.widget.TextView
import me.thanel.linecalendar.R
... | 0 | Kotlin | 0 | 0 | 8170b32daaa845961d42aabb125c2adef547d075 | 930 | LineCalendar | Apache License 2.0 |
app/src/main/java/com/deveshmittal/chess/ui/chess/square/decoration/DefaultSquareBackground.kt | deveshmittal | 724,714,952 | false | {"Kotlin": 161684} | package com.deveshmittal.chess.ui.chess.square.decoration
import com.deveshmittal.chess.ui.base.square_dark
import com.deveshmittal.chess.ui.base.square_light
object DefaultSquareBackground : SquareBackground(
lightSquareColor = square_light,
darkSquareColor = square_dark,
)
| 0 | Kotlin | 0 | 0 | 7d9242e5626294748285e5ae34431b64d24c74dd | 286 | chess | Apache License 2.0 |
app/src/main/java/com/example/pokedex/data/remote/response/DreamWorld.kt | nicolaussatria | 729,398,936 | false | {"Kotlin": 36825} | package com.example.pokedex.data.remote.response
data class DreamWorld(
val front_default: String,
val front_female: Any
) | 0 | Kotlin | 0 | 0 | 8f6ee7ca9d9c29d4976b374cc344fa8314d1b286 | 131 | pokedex | Apache License 2.0 |
kotlin-electron/src/jsMain/generated/electron/utility/OpenDialogReturnValue.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12159121, "JavaScript": 330528} | // Generated by Karakum - do not modify it manually!
package electron.utility
typealias OpenDialogReturnValue = electron.core.OpenDialogReturnValue
| 40 | Kotlin | 165 | 1,319 | a8a1947d73e3ed26426f1e27b641bff427dfd6a0 | 152 | kotlin-wrappers | Apache License 2.0 |
src/main/kotlin/wang/crick/keeper/client/GitlabClient.kt | chly1103 | 242,962,035 | false | {"Kotlin": 29334, "Java": 15593, "TSQL": 3863, "Dockerfile": 444} | package wang.crick.keeper.client
import com.alibaba.fastjson.JSON
import com.alibaba.fastjson.JSONArray
import com.alibaba.fastjson.JSONObject
import okhttp3.MediaType.Companion.toMediaTypeOrNull
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.RequestBody.Companion.toRequestBody
import org.slf4j.Logg... | 0 | null | 0 | 0 | 1127751be333f8f6b8698b1db4fc15845005bafe | 4,122 | keeper | MIT License |
app/src/main/java/com/app/slidingup/ui/events/viewmodel/EventsViewModel.kt | yash786agg | 220,455,628 | false | null | package com.app.slidingup.ui.events.viewmodel
import com.app.slidingup.api.NetworkState
import com.app.slidingup.base.BaseViewModel
import com.app.slidingup.extensions.NonNullMediatorLiveData
import com.app.slidingup.model.events.EventsApiResponse
import com.app.slidingup.repository.events.EventsUseCase
import kotlinx... | 0 | Kotlin | 0 | 8 | 5f7c313f87b838983cbb002734fbb29282fd43da | 699 | SlidingBottomSheet | Apache License 2.0 |
src/main/java/net/ccbluex/liquidbounce/features/module/modules/combat/BowAimbot.kt | Rmejia39 | 733,988,804 | false | {"Kotlin": 2304965, "Java": 1271227, "GLSL": 13515, "JavaScript": 8926} | /*
* FDPClient Hacked Client
* A free open source mixin-based injection hacked client for Minecraft using Minecraft Forge by LiquidBounce.
* https://github.com/SkidderMC/FDPClient/
*/
package net.ccbluex.liquidbounce.features.module.modules.combat
import net.ccbluex.liquidbounce.event.EventTarget
import net.ccblue... | 3 | Kotlin | 0 | 0 | b48c4e83c888568111a6665037db7fd3f7813ed3 | 3,035 | FDPClient | MIT License |
src/main/kotlin/ttt/drift/Drift.kt | turnthetide | 175,595,257 | false | null | package ttt.drift
import io.quarkus.runtime.StartupEvent
import io.vertx.core.Vertx
import mu.KotlinLogging
import javax.enterprise.event.Observes
import javax.inject.Inject
class Drift {
val logger = KotlinLogging.logger { }
@Inject
lateinit var vertx: Vertx
fun onStart(@Observes event: StartupEve... | 0 | Kotlin | 0 | 3 | b612b86dedb42c400ec2e60c9643bc24e08bb561 | 427 | drift | MIT License |
encrpytion/src/main/java/social/androiddev/firefly/encryption/DeviceKeyBundle.kt | digitalbuddha | 599,627,508 | false | {"Kotlin": 545804, "Nix": 3254, "Java": 978} | package social.androiddev.firefly.encryption
import org.whispersystems.libsignal.IdentityKeyPair
import org.whispersystems.libsignal.SignalProtocolAddress
import org.whispersystems.libsignal.state.PreKeyRecord
import org.whispersystems.libsignal.state.SignedPreKeyRecord
data class DeviceKeyBundle(
val registratio... | 4 | Kotlin | 5 | 31 | dbfb0d20aa074260384b3c9c8cc083cb32ca50c2 | 491 | Firefly | Apache License 2.0 |
shared/data/recipes_search/src/commonMain/kotlin/com/iwanickimarcel/recipes_search/RecipesSearchHistoryDatabaseDriverFactory.kt | MarcelIwanicki | 712,987,885 | false | {"Kotlin": 376361, "Swift": 342} | package com.iwanickimarcel.recipes_search
import app.cash.sqldelight.db.SqlDriver
expect class RecipesSearchHistoryDatabaseDriverFactory {
fun create(): SqlDriver
} | 0 | Kotlin | 0 | 1 | 0d9676a542ba3d9b8b2bdf366aefadf298e6da81 | 170 | freat | The Unlicense |
app/src/main/java/dev/mayank/cowinvaccinebook/component/HiltBroadcastReceiver.kt | hackelite01 | 370,006,949 | false | null | package dev.mayank.cowinvaccinebook.component
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import androidx.annotation.CallSuper
abstract class HiltBroadcastReceiver : BroadcastReceiver() {
@CallSuper
override fun onReceive(context: Context?, intent: Intent?... | 0 | Kotlin | 0 | 3 | 36cdad2997c2f62a7ddf1ffa20ec2b35c65b0e73 | 347 | cowin-vaccine-booking | MIT License |
support-navigation/src/main/java/android/support/navigation/Navigator.kt | quangpv | 448,463,537 | false | null | package android.support.navigation
import android.os.Bundle
import androidx.annotation.CallSuper
import androidx.annotation.IdRes
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.lifecycle
import androidx.fragment.app.savedStateRegistry
import androidx.lif... | 0 | Kotlin | 0 | 0 | 12927aee44fa546ea5d105737292f71c262e94e9 | 5,682 | android-support | MIT License |
app/src/main/java/com/example/premierepage/model/Image.kt | abderrahmen-Baccouch | 468,118,218 | false | {"Kotlin": 288746} | package com.example.premierepage.model
data class Image(
val _id: String,
val name: String
) | 1 | Kotlin | 1 | 0 | c2ceee994ee947004bca4717fa899ed68aa370cf | 101 | LifeBalance | MIT License |
app/src/main/java/com/ahmed/bankapp/ui/user/UsersActivity.kt | AhmedZaki918 | 672,480,872 | false | {"Kotlin": 88107} | package com.ahmed.bankapp.ui.user
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.ahmed.bankapp.R
import com.ahmed.bankapp.data.BankUser
import com.ahmed.bankapp.databinding.ActivityUsersBinding
import com.ahmed.bankapp.ui.adapter.UsersAdapter
import com.ahmed.bankapp.util.drawScree... | 0 | Kotlin | 0 | 0 | 531a0d4e84c81228f53d2d89f0863b22f374df42 | 976 | Bank-App | Open LDAP Public License v2.2.1 |
app/src/main/java/com/tinf18ai2/vorlesungsplan/services/LecturePlanFetchService.kt | TINF18AI2 | 221,454,743 | false | null | package com.tinf18ai2.vorlesungsplan.services
import com.tinf18ai2.vorlesungsplan.models.Vorlesungswoche
import io.reactivex.Single
interface LecturePlanFetchService {
/**
* Fetches the selected week (by offset) from the remote server and returns a
* <code>Single</code> object, which will be notified w... | 13 | Kotlin | 0 | 5 | e65e5dc5cdce87c00a8d62bddfc7e1098a7ff3ae | 415 | Vorlesungsplan | MIT License |
core/src/main/kotlin/me/konyaco/pixivlib/exception/PixivException.kt | Konyaco | 231,805,095 | false | {"Kotlin": 19563} | package me.konyaco.pixivlib.exception
class PixivException : Exception {
constructor() : super()
constructor(message: String) : super(message)
constructor(message: String, cause: Throwable) : super(message, cause)
} | 0 | Kotlin | 0 | 0 | a1e8a6a7f83ec4f81fe1c12d0e0356c62dd6d0ff | 228 | PixivUtil | Apache License 2.0 |
src/main/kotlin/org/lm/psi/LmFile.kt | mchernyavsky | 112,193,727 | false | null | package org.lm.psi
import com.intellij.extapi.psi.PsiFileBase
import com.intellij.openapi.fileTypes.FileType
import com.intellij.psi.FileViewProvider
import com.intellij.psi.PsiElement
import org.lm.LmFileType
import org.lm.LmLanguage
import org.lm.psi.ext.LmNamedElement
import org.lm.psi.stubs.LmFileStub
import org.l... | 0 | Kotlin | 0 | 0 | a09526cec7d16ef34cd526f7069c6de0b669a56d | 1,108 | intellij-lm | MIT License |
examples/rabbitmq-springboot/src/main/kotlin/io/kevs/rabbitmq/springboot/example/subscribers/DoSomethingOnTestEventSubscriber.kt | MikiLoz92 | 502,142,453 | false | null | package io.kevs.rabbitmq.springboot.example.subscribers
import io.kevs.rabbitmq.springboot.example.event.TestEvent
import io.kevs.station.rabbitmq.annotation.ConsumerCount
import io.kevs.station.rabbitmq.annotation.SubscribeTo
import io.kevs.station.rabbitmq.annotation.spring.WithChannelProvider
import io.kevs.station... | 0 | Kotlin | 0 | 0 | 861b0e117c6af98311983d6623882534ff32cebd | 864 | kevs | MIT License |
src/main/kotlin/net/inherency/finances/external/google/TabName.kt | scottygaydos | 278,980,273 | false | null | package net.inherency.finances.external.google
enum class TabName {
ACCOUNTS,
BILLS,
BUDGET_CATEGORIES,
BUDGET_CATEGORY_RULES,
BUDGET_TEMPLATE,
BUDGETS,
CATEGORIZED_TRANSACTIONS,
MINT_TRANSACTIONS,
RECONCILED_TRANSACTIONS
} | 0 | Kotlin | 0 | 0 | 39072865fc3dd032a9584abefc3d8b68765cf6ad | 260 | finance_budget_and_reconciler | Apache License 2.0 |
platform/remote-driver/test-sdk/src/com/intellij/driver/sdk/ui/components/BookmarksGridUi.kt | SamB | 215,873,627 | false | {"Text": 9365, "INI": 518, "YAML": 419, "Ant Build System": 11, "Batchfile": 34, "Dockerfile": 9, "Shell": 633, "Markdown": 740, "Ignore List": 143, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 256, "XML": 7809, "SVG": 4411, "Kotlin": 58041, "Java": 83545, "HTML": 3781, "Java Properties": 215, "Gradle"... | package com.intellij.driver.sdk.ui.components
import com.intellij.driver.sdk.ui.Finder
import org.intellij.lang.annotations.Language
fun Finder.bookmarksMnemonicGrid(@Language("xpath") xpath: String? = null) =
x(xpath ?: "//div[@class='MyContentPanel'][//div[@class='BookmarkLayoutGrid']]", BookmarksGridLayoutUiComp... | 1 | null | 1 | 1 | 37c7118b1a4fb7f21c1a2636355c91f2a7d9ba05 | 813 | intellij-community | Apache License 2.0 |
app/src/main/java/eu/kanade/presentation/browse/components/SourceSettingsButton.kt | komikku-app | 743,200,516 | false | {"Kotlin": 5951497} | package eu.kanade.presentation.browse.components
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.Settings
import androidx.compose.material3.Icon
import androidx.compose.material3.IconButton
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
impor... | 93 | Kotlin | 14 | 504 | bc460dd3b1edf67d095df0b15c6d1dc39444d5e6 | 1,764 | komikku | Apache License 2.0 |
app/src/main/java/eu/kanade/presentation/browse/components/SourceSettingsButton.kt | komikku-app | 743,200,516 | false | {"Kotlin": 5951497} | package eu.kanade.presentation.browse.components
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.outlined.Settings
import androidx.compose.material3.Icon
import androidx.compose.material3.IconButton
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
impor... | 93 | Kotlin | 14 | 504 | bc460dd3b1edf67d095df0b15c6d1dc39444d5e6 | 1,764 | komikku | Apache License 2.0 |
buildlogic/src/main/kotlin/com/tidal/sdk/SdkModules.kt | tidal-music | 806,866,286 | false | {"Kotlin": 1775374, "Shell": 9881, "Python": 7380, "Mustache": 911} | package com.tidal.sdk
import org.gradle.api.Project
val Project.sdkModules
get() = rootProject.subprojects.filter { it.parent === rootProject }
| 27 | Kotlin | 0 | 23 | 1f654552133ef7794fe9bb7677bc7fc94c713aa3 | 150 | tidal-sdk-android | Apache License 2.0 |
shared/src/main/java/viach/apps/shared/repository/DefaultClipboardRepository.kt | viacheslav-chugunov | 691,548,132 | false | {"Kotlin": 170000} | package viach.apps.shared.repository
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
internal class DefaultClipboardRepository(
private val context: Context
) : ClipboardRepository {
override fun copy(text: String) {
val clipboard = context.getSys... | 0 | Kotlin | 0 | 0 | 9d18715cb96941e9665e3dad8bcba510da58905c | 484 | SecurePal-Android | MIT License |
kotlin-js-helpers/src/jsMain/kotlin/me/underlow/help/RBuilderHelpers.kt | underlow | 217,339,192 | false | null | @file:Suppress("unused")
package me.underlow.help
import kotlinext.js.jsObject
import react.Component
import react.Props
import react.RBuilder
/**
* Helper function to support simplified syntax:
*
* fun RBuilder.googleLogout(block: GoogleLogoutProps.() -> Unit) = buildWithProperties(block)
*
* and then instea... | 0 | Kotlin | 0 | 0 | d370a281f2d36dc549d273d1aa9091004ecbc63a | 704 | kjs-wrappers | MIT License |
services/say-goodbye/src/main/kotlin/com/ebay/wenliu2/dubbo/services/SayGoodByeApp.kt | wenliu2 | 214,076,207 | false | null | package com.ebay.wenliu2.dubbo.services
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import java.util.concurrent.CountDownLatch
@EnableDubbo
@SpringBootApplication
open class S... | 0 | Kotlin | 0 | 0 | 3b68a28f9dc2bb06aa2a17c2a70303de97008309 | 578 | dubbo-gradle-multi-proj | Apache License 2.0 |
sample/src/main/java/com/paulrybitskyi/hiltbinder/sample/deps/ViewDeps.kt | cheeky-pundit | 340,510,784 | true | {"Kotlin": 115693, "Java": 21855, "Shell": 537} | /*
* Copyright 2021 <NAME>, <EMAIL>
*
* 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... | 0 | null | 0 | 0 | bf23d37115a2f69877af334cfbce60ef0372f443 | 1,347 | hilt-binder | Apache License 2.0 |
statistics/src/main/java/com/duckduckgo/app/statistics/api/OfflinePixelSender.kt | hojat72elect | 822,396,044 | false | {"Kotlin": 11627106, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784} |
package com.duckduckgo.app.statistics.api
import com.duckduckgo.di.DaggerSet
import io.reactivex.Completable
import io.reactivex.Completable.*
/**
* Most pixels are "send and forget" however we sometimes need to guarantee that a pixel will be
* sent. In those cases we schedule them to happen as part of our app da... | 0 | Kotlin | 0 | 0 | 54351d039b85138a85cbfc7fc3bd5bc53637559f | 594 | DuckDuckGo | Apache License 2.0 |
jtransc-utils/src/com/jtransc/lang/cloneable.kt | jtransc | 51,313,992 | false | null | package com.jtransc.lang
/*
fun <T : Cloneable> T.tclone(): T {
return this.clone() as T
}
*/
| 59 | Java | 66 | 619 | 6f9a2166f128c2ce5fb66f9af46fdbdbcbbe4ba4 | 96 | jtransc | Apache License 2.0 |
apollo-runtime-kotlin/src/commonMain/kotlin/com/apollographql/apollo/internal/RealApolloCall.kt | scorebet | 270,762,877 | true | {"Java": 1939749, "Kotlin": 1441013, "ANTLR": 3786, "Shell": 291} | package com.apollographql.apollo.internal
import com.apollographql.apollo.ApolloMutationCall
import com.apollographql.apollo.ApolloQueryCall
import com.apollographql.apollo.interceptor.ApolloRequest
import com.apollographql.apollo.api.ApolloExperimental
import com.apollographql.apollo.api.ExecutionContext
import com.a... | 5 | null | 1 | 1 | 1ec73e535c7f5293b9bc269cbe1008d0dd03440b | 1,475 | apollo-android | MIT License |
carsharing-app/app/src/main/java/com/syndicate/carsharing/database/models/Rate.kt | Prodix | 702,147,988 | false | {"Kotlin": 472081, "C#": 67271, "TypeScript": 30924, "HTML": 10194, "CSS": 6310, "Java": 1110} | package com.syndicate.carsharing.database.models
import com.fasterxml.jackson.annotation.JsonProperty
data class Rate (
@JsonProperty("Id") val id: Int = 0,
@JsonProperty("TransportId") val transportId: Int = 0,
@JsonProperty("RateName") val rateName: String = "",
@JsonProperty("OnRoadPrice") val onRo... | 7 | Kotlin | 0 | 1 | 3d8ec90f3e6c58dea15d5fc0f5fe888536842ab3 | 409 | carsharing-information-system | MIT License |
bilibili-api/src/main/kotlin/com/github/wumo/bilibili/api/Cache.kt | wumo | 271,946,803 | false | null | package com.github.wumo.bilibili.api
import com.github.wumo.bilibili.model.Folder
import com.github.wumo.bilibili.model.MediaResource
import java.util.concurrent.ConcurrentHashMap
typealias fetchMediasFuncType = suspend (folder: Folder, page: Int, tid: Int, order: Int) -> List<MediaResource>
object Cache {
val cac... | 0 | Kotlin | 0 | 0 | 7e60ee17bc464ca98d6150117d8311ac7c824021 | 457 | bilibili-desktop | MIT License |
crystal-map-connector/src/main/kotlin/ch/ergon/dope/extension/type/stringfunction/InitCap.kt | ergon | 745,483,606 | false | {"Kotlin": 1886765} | package ch.ergon.dope.extension.type.stringfunction
import ch.ergon.dope.resolvable.expression.unaliased.type.function.stringfunction.initCap
import ch.ergon.dope.resolvable.expression.unaliased.type.function.stringfunction.title
import ch.ergon.dope.toDopeType
import com.schwarz.crystalapi.schema.CMJsonField
fun ini... | 2 | Kotlin | 0 | 6 | 40b18241d25c360080768902fc108ea70bb2f211 | 450 | dope-query-builder | MIT License |
core/src/main/java/com/seewo/brick/params/CornerRadius.kt | robin8yeung | 591,142,442 | false | {"Kotlin": 517624, "Java": 4201} | package com.seewo.brick.params
class CornerRadius private constructor(
val leftTop: Float,
val rightTop: Float,
val rightBottom: Float,
val leftBottom: Float,
) {
val toArray: FloatArray
get() = floatArrayOf(
leftTop, leftTop, rightTop, rightTop,
rightBottom, rightBo... | 0 | Kotlin | 4 | 75 | 7f8873e8a5cde58bcde3771880fc6b489bfcd4a5 | 828 | BrickUI | Apache License 2.0 |
src/main/kotlin/software/amazon/smithy/intellij/SmithySpellcheckingStrategy.kt | iancaffey | 455,381,865 | false | {"Kotlin": 286598, "Lex": 5063, "Smithy": 2929} | package software.amazon.smithy.intellij
import com.intellij.openapi.util.TextRange
import com.intellij.psi.PsiComment
import com.intellij.psi.PsiDocCommentBase
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiNameIdentifierOwner
import com.intellij.spellchecker.inspections.CommentSplitter
import com.intel... | 2 | Kotlin | 2 | 24 | 286adf8f042e9ebeeb28bbd99aa3ac320ed95f23 | 2,303 | smithy-intellij-plugin | MIT License |
data/src/main/kotlin/team/applemango/runnerbe/data/runningitem/model/runningitem/information/RunningItemInformationData.kt | ricky-buzzni | 485,390,072 | false | {"Kotlin": 615137} | /*
* RunnerBe © 2022 Team AppleMango. all rights reserved.
* RunnerBe license is under the MIT.
*
* [Result.kt] created by <NAME> on 22. 2. 24. 오후 10:24
*
* Please see: https://github.com/applemango-runnerbe/RunnerBe-Android/blob/main/LICENSE.
*/
package team.applemango.runnerbe.data.runningitem.model.runningit... | 0 | null | 0 | 0 | f48fb298c07732a9c32afcff0bddb16f9fe2e37a | 865 | RunnerBe-Android | MIT License |
data/src/main/kotlin/team/applemango/runnerbe/data/runningitem/model/runningitem/information/RunningItemInformationData.kt | ricky-buzzni | 485,390,072 | false | {"Kotlin": 615137} | /*
* RunnerBe © 2022 Team AppleMango. all rights reserved.
* RunnerBe license is under the MIT.
*
* [Result.kt] created by <NAME> on 22. 2. 24. 오후 10:24
*
* Please see: https://github.com/applemango-runnerbe/RunnerBe-Android/blob/main/LICENSE.
*/
package team.applemango.runnerbe.data.runningitem.model.runningit... | 0 | null | 0 | 0 | f48fb298c07732a9c32afcff0bddb16f9fe2e37a | 865 | RunnerBe-Android | MIT License |
app/src/main/java/com/example/energytimer/FirstFragment.kt | angelh32 | 387,980,891 | false | null | package com.example.energytimer
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
import androidx.recyclerview.widget.DividerItemDecoration
import androidx.recyclerview... | 0 | Kotlin | 0 | 0 | 0d6039067f9d021322d4c441627afaca393f7086 | 2,524 | game-energy-notifier | MIT License |
ui/src/main/java/com/m3u/ui/Player.kt | realOxy | 592,741,804 | false | {"Kotlin": 542903} | package com.m3u.ui
import android.view.ViewGroup
import androidx.annotation.OptIn
import androidx.compose.animation.animateColorAsState
import androidx.compose.animation.core.tween
import androidx.compose.runtime.Composable
import androidx.compose.runtime.DisposableEffect
import androidx.compose.runtime.Immutable
impo... | 2 | Kotlin | 6 | 53 | 770c425822d63e43652e8ca2ce85f917f61ee8e4 | 4,063 | M3UAndroid | Apache License 2.0 |
src/com/github/felipehjcosta/adapters/infrastructure/RemoteCharactersRepository.kt | felipehjcosta | 163,593,322 | false | null | package com.github.felipehjcosta.adapters.infrastructure
import com.github.felipehjcosta.domain.CharactersRepository
import com.github.felipehjcosta.domain.MarvelCharacter
import com.tripl3dogdare.havenjson.Json
import io.ktor.client.HttpClient
import io.ktor.client.engine.apache.Apache
import io.ktor.client.request.g... | 0 | Kotlin | 0 | 0 | 3b4aaf4dd8639090e60d00d5261a41ec37c2f762 | 1,509 | marvelql | MIT License |
app/src/main/java/ru/vladroid/notes/utils/SwipeToDeleteCallback.kt | Shmuser | 245,204,453 | false | null | package ru.vladroid.notes.utils
import android.graphics.Canvas
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerview.widget.RecyclerView
import kotlin.math.abs
abstract class SwipeToDeleteCallback : ItemTouchHelper.Callback() {
override fun onChildDraw(
c: Canvas,
recy... | 0 | Kotlin | 0 | 0 | 7ba5f87851caf78deb0e4618d6c7548160f9327f | 1,455 | Notes | MIT License |
base/base-chat/src/main/java/qsos/base/chat/view/holder/LocationViewHolder.kt | puyunfeng | 210,260,355 | false | {"Kotlin": 506821, "HTML": 4334} | package qsos.base.chat.view.holder
import android.annotation.SuppressLint
import android.view.View
import kotlinx.android.synthetic.main.chat_item_location.view.*
import qsos.lib.base.data.chat.MsgEntity
/**
* @author : 华清松
* @description : 聊天列表项-位置
*/
@SuppressLint("SetTextI18n")
class LocationViewHolder(itemView... | 0 | null | 0 | 0 | e6001d57db67e368777fda200dbd4f15290e4667 | 594 | abcl | Apache License 2.0 |
app/src/main/java/com/dlogan/android/tvmaze/ui/ShowAdapter.kt | davelogan | 191,637,515 | false | null | /*
* Copyright (C) 2017 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 | Kotlin | 0 | 0 | fd74bd0e3838f8b9e3e50c7da4b3d8637b70042e | 2,485 | TVMaze | Apache License 2.0 |
backend-side/src/main/kotlin/com/kemana/backend/model/Direction.kt | utsmannn | 218,322,735 | false | null | package com.kemana.backend.model
import com.fasterxml.jackson.annotation.JsonProperty
data class DirectionOrigin(
@JsonProperty("code")
val code: String?,
@JsonProperty("routes")
val routes: List<Route?>?,
@JsonProperty("uuid")
val uuid: String?,
@JsonProperty("waypoints")
val waypoin... | 0 | Kotlin | 75 | 209 | 4d12af9242d95bfe28242a5e27ecf2bb65b68179 | 1,396 | Kemana | Apache License 2.0 |
movie-tv-detail/detail-data/src/main/java/com/prmto/data/remote/mapper/credit/CreditDtoMapper.kt | tolgaprm | 541,709,201 | false | {"Kotlin": 540597} | package com.prmto.data.remote.mapper.credit
import com.prmto.data.remote.dto.credit.CreditDto
import com.prmto.domain.models.credit.Credit
fun CreditDto.toCredit(): Credit {
return Credit(
cast = cast?.toCast().orEmpty(),
crew = crew?.toCrew().orEmpty()
)
} | 0 | Kotlin | 4 | 85 | d9365e5339cb5daa231a8fe77c7376ab828d289b | 283 | Mova-MovieApp | Apache License 2.0 |
src/main/kotlin/domain/graphs/Graphs.kt | alexaldev | 424,953,645 | false | {"Kotlin": 12995} | package domain.graphs
import domain.TrianglesCounter
import domain.TrianglesCounterAlgorithm
import java.util.concurrent.ConcurrentHashMap
import java.util.stream.Stream
abstract class Graph {
abstract fun generateMetrics(): List<GraphMetrics>
abstract fun addEdge(sourceV: Int, destinationV: Int)
abstract... | 0 | Kotlin | 0 | 0 | f0dfaca21728493bd2a99cd9048e6f3f9e596f63 | 4,201 | GraphTriangleDetection | Apache License 2.0 |
modules/fx/arrow-fx/src/test/kotlin/arrow/fx/FiberTest.kt | yairkukielka | 226,488,406 | true | {"Kotlin": 2653729, "CSS": 152663, "JavaScript": 67900, "HTML": 23177, "Scala": 8150, "Java": 4465, "Shell": 3043, "Ruby": 1598} | package arrow.fx
import arrow.core.extensions.monoid
import arrow.fx.extensions.applicative
import arrow.fx.extensions.io.applicative.unit
import arrow.fx.extensions.io.concurrent.concurrent
import arrow.fx.extensions.monoid
import arrow.fx.typeclasses.Fiber
import arrow.fx.typeclasses.FiberOf
import arrow.fx.typeclas... | 0 | null | 0 | 0 | 5d4e714dddcba3ff02a65f3d2425f6c5412ebd0d | 1,077 | arrow | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.