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/com/tanasi/streamflix/adapters/viewholders/SeasonViewHolder.kt | stantanasi | 511,319,545 | false | null | package com.tanasi.streamflix.adapters.viewholders
import android.view.animation.AnimationUtils
import androidx.navigation.findNavController
import androidx.recyclerview.widget.RecyclerView
import androidx.viewbinding.ViewBinding
import com.bumptech.glide.Glide
import com.tanasi.streamflix.R
import com.tanasi.streamfl... | 21 | Kotlin | 14 | 93 | c9255fe9ee2ef3ed8bfbeef567950f1a63a51752 | 2,190 | streamflix | Apache License 2.0 |
SafeDriveApp/app/src/main/java/com/example/safedrive/components/FaceAnalyzer.kt | Android-development-group-13 | 771,413,371 | false | {"Kotlin": 102916} | package com.example.safedrive.components
import android.content.Context
import android.media.MediaPlayer
import android.os.Build
import android.os.VibrationEffect
import android.os.Vibrator
import android.util.Log
import android.widget.Toast
import androidx.annotation.OptIn
import androidx.annotation.RequiresApi
import... | 3 | Kotlin | 0 | 0 | 6a748e78d14b24e001c37eef41705f3fa3c1799e | 4,824 | safedrive | MIT License |
composeApp/src/commonMain/kotlin/com/rwmobi/kunigami/domain/model/account/Account.kt | ryanw-mobile | 794,752,204 | false | {"Kotlin": 1440473, "Ruby": 2466, "Swift": 693} | /*
* Copyright (c) 2024. RW MobiMedia UK Limited
*
* Contributions made by other developers remain the property of their respective authors but are licensed
* to RW MobiMedia UK Limited and others under the same licence terms as the main project, as outlined in
* the LICENSE file.
*
* RW MobiMedia UK Limited res... | 16 | Kotlin | 10 | 145 | 7f278204448e9c59ca028e520e9e5aca97fa1e13 | 3,103 | OctoMeter | Creative Commons Attribution 4.0 International |
app/src/main/java/com/ubuntuyouiwe/nexus/domain/repository/AuthRepository.kt | ubuntuyiw | 670,182,275 | false | null | package com.ubuntuyouiwe.nexus.domain.repository
import android.content.Intent
import com.google.firebase.auth.AuthResult
import com.google.firebase.auth.FirebaseUser
import com.ubuntuyouiwe.nexus.domain.model.User
import com.ubuntuyouiwe.nexus.domain.model.UserCredentials
import com.ubuntuyouiwe.nexus.domain.model.ro... | 0 | null | 0 | 9 | 4edd0040e8983f79eca4cce71ca3e60cc4ee31b7 | 1,455 | Nexus | Apache License 2.0 |
adaptive-lib-auth/src/commonMain/kotlin/fun/adaptive/auth/model/AuthenticationResult.kt | spxbhuhb | 788,711,010 | false | {"Kotlin": 2350876, "Java": 25297, "HTML": 7875, "JavaScript": 3880, "Shell": 687} | /*
* Copyright © 2020-2024, <NAME> and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package `fun`.adaptive.auth.model
import `fun`.adaptive.wireformat.builtin.EnumWireFormat
enum class AuthenticationResult {
UnknownPrincipal,
UnknownSession,
InvalidSecurityCode,
N... | 35 | Kotlin | 0 | 3 | 8716e7298c97a6b128f7a8c4817277f2de896e8c | 644 | adaptive | Apache License 2.0 |
src/main/kotlin/com/matt/belisle/commonmark/ast/inlineElements/AutoLink.kt | matt-belisle | 198,909,271 | false | null | package com.matt.belisle.commonmark.ast.inlineElements
import com.matt.belisle.commonmark.parser.inlineParsingUtil.EntityReplacement
import com.matt.belisle.commonmark.parser.inlineParsingUtil.Escaping
//The given regex from the spec does not perform well in Java, this was found @ https://emailregex.com/ and enforces... | 0 | Kotlin | 0 | 2 | e41623f64f3c5c24e40c0626209236b54957ba4e | 1,306 | CommonMarK | MIT License |
j2k/tests/testData/ast/ifStatement/ifStatementWithoutElse.ide.kt | craastad | 18,462,025 | false | {"Markdown": 18, "XML": 405, "Ant Build System": 23, "Ignore List": 7, "Maven POM": 34, "Kotlin": 10194, "Java": 3675, "CSS": 10, "Shell": 6, "Batchfile": 6, "Java Properties": 9, "Gradle": 61, "INI": 6, "JavaScript": 42, "HTML": 77, "Text": 875, "Roff": 53, "Roff Manpage": 8, "JFlex": 3, "JAR Manifest": 1, "Protocol B... | if (1 > 0)
{
val n = 1
return n
} | 1 | null | 1 | 1 | f41f48b1124e2f162295718850426193ab55f43f | 33 | kotlin | Apache License 2.0 |
domene/src/main/kotlin/no/nav/tiltakspenger/saksbehandling/domene/vilkår/tiltakdeltagelse/TiltakDeltagelseEx.kt | navikt | 487,246,438 | false | {"Kotlin": 634615, "Shell": 1309, "Dockerfile": 495, "HTML": 45} | package no.nav.tiltakspenger.saksbehandling.domene.vilkår.tiltakdeltagelse
import no.nav.tiltakspenger.saksbehandling.domene.tiltak.Tiltak
import java.time.LocalDateTime
fun Tiltak.tilRegisterSaksopplysning(): TiltakDeltagelseSaksopplysning.Register =
TiltakDeltagelseSaksopplysning.Register(
tiltakNavn = ... | 6 | Kotlin | 0 | 1 | 953198d54cd370b865f6ebe635a29c9e42cb817b | 557 | tiltakspenger-vedtak | MIT License |
src/main/kotlin/com/vk/kphpstorm/exphptype/ExPhpTypeInstance.kt | VKCOM | 284,436,466 | false | {"Kotlin": 362747, "HTML": 55541, "CSS": 8147} | package com.vk.kphpstorm.exphptype
import com.intellij.openapi.project.Project
import com.jetbrains.php.PhpClassHierarchyUtils
import com.jetbrains.php.PhpIndex
import com.jetbrains.php.codeInsight.PhpCodeInsightUtil
import com.jetbrains.php.lang.psi.elements.PhpPsiElement
import com.jetbrains.php.lang.psi.resolve.typ... | 15 | Kotlin | 4 | 41 | 94322cbd0e795d4e70a4067c5e6c4b777706b3fa | 2,116 | kphpstorm | MIT License |
app/src/main/java/top/xjunz/tasker/task/editor/AppletReferenceEditor.kt | xjunz | 651,527,105 | false | null | /*
* Copyright (c) 2022 xjunz. All rights reserved.
*/
package top.xjunz.tasker.task.editor
import android.util.ArrayMap
import top.xjunz.tasker.engine.applet.base.Applet
import top.xjunz.tasker.task.applet.option.descriptor.ArgumentDescriptor
/**
* @author xjunz 2022/11/28
*/
class AppletReferenceEditor(private... | 0 | Kotlin | 0 | 2 | e8eb03801cc28fcf62a4a25e9054c1a79101b728 | 5,877 | AutoTask | Apache License 2.0 |
sources/app-kotlin/app/src/main/java/com/platanedev/platane/MainActivity.kt | PlataneDev | 592,831,395 | false | null | package com.platanedev.platane
import android.content.Intent
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.Image
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundatio... | 0 | Kotlin | 0 | 7 | 9eab3301891cae100d0ddd94b273a10d37efbfde | 3,370 | platane | MIT License |
app/src/main/java/uk/co/sentinelweb/cuer/app/util/chromecast/CastDialogWrapper.kt | sentinelweb | 220,796,368 | false | {"Kotlin": 2627352, "CSS": 205156, "Java": 98919, "Swift": 85812, "HTML": 19322, "JavaScript": 12105, "Ruby": 2170} | package uk.co.sentinelweb.cuer.app.util.chromecast
import androidx.fragment.app.FragmentActivity
import androidx.fragment.app.FragmentTransaction
import androidx.mediarouter.app.MediaRouteChooserDialogFragment
import androidx.mediarouter.app.MediaRouteDialogFactory
import com.google.android.gms.cast.framework.CastCont... | 94 | Kotlin | 0 | 2 | f74e211570fe3985ba45848b228e91a3a8593788 | 1,543 | cuer | Apache License 2.0 |
wasabi-core/src/main/kotlin/org/wasabifx/wasabi/interceptors/Interceptor.kt | wasabifx | 9,009,498 | false | null | package org.wasabifx.wasabi.interceptors
import org.wasabifx.wasabi.protocol.http.Response
import org.wasabifx.wasabi.protocol.http.Request
interface Interceptor {
fun intercept(request: Request, response: Response): Boolean
} | 20 | Kotlin | 58 | 510 | 9148843ca0aa9c4f79ca1228df8f36d590d0a24b | 232 | wasabi | Apache License 2.0 |
presentation/src/main/java/com/kkkk/presentation/main/record/RecordFragment.kt | KKKK-Stempo | 815,756,494 | false | {"Kotlin": 162785} | package com.kkkk.presentation.main.record
import android.annotation.SuppressLint
import android.os.Bundle
import android.view.View
import androidx.core.view.isVisible
import androidx.fragment.app.activityViewModels
import androidx.lifecycle.flowWithLifecycle
import androidx.lifecycle.lifecycleScope
import com.github.m... | 0 | Kotlin | 0 | 6 | 3a4488fcc196e0df2c6106f7273b4ec7f2e699a1 | 6,501 | stempo-android | MIT License |
TwoPage/src/androidTest/java/com/microsoft/device/display/samples/twopage/PageSwipeTest.kt | microsoft | 329,091,156 | false | null | /*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
package com.microsoft.device.display.samples.twopage
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.assertIsNotDisplayed
import androidx.compose.ui.test.junit4.createAndroidCompose... | 2 | Kotlin | 16 | 59 | 1ae8ef33490227dbd311fdc261d3cf270ccb2853 | 5,850 | surface-duo-compose-samples | MIT License |
src/commonMain/kotlin/net/kikuchy/cdpclient/domain/Audits.kt | kikuchy | 338,851,036 | false | null | package net.kikuchy.cdpclient.domain
import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Unit
import kotlin.collections.List
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.filter
import kotlinx.coroutine... | 0 | Kotlin | 0 | 0 | 339ced4bd70f81afe30350ba58c0b518b1dd8cde | 17,128 | cdpclient | Apache License 2.0 |
app/src/main/java/com/playme/home/ui/PlayerStateCallback.kt | Devendra-Mehra | 298,543,057 | false | null | package com.playme.home.ui
interface PlayerStateCallback {
fun onIsPlayingChanged(isPlaying: Boolean)
fun onPlayerError()
} | 0 | Kotlin | 0 | 0 | bed76a5b7b89f6910b9a783776a4afaa29a22c22 | 134 | PLAYme | Apache License 2.0 |
src/main/kotlin/entities/Matricula.kt | rafamaneschy | 401,841,901 | false | {"Kotlin": 11301, "Assembly": 36} | package entities
import java.time.LocalDate
class Matricula(var aluno: Aluno, var curso: Curso) {
var dataDeMatricula:LocalDate = LocalDate.now()
override fun toString(): String {
return "$aluno | $curso | $dataDeMatricula"
}
}
| 0 | Kotlin | 0 | 0 | e722e9d0c256cffc6caa8f947ec19c81bd0327ee | 257 | desafioKotlin-DigitalHouse | MIT License |
material/src/main/java/com/m3u/material/components/mask/MaskInterceptor.kt | realOxy | 592,741,804 | false | {"Kotlin": 734765} | package com.m3u.material.components.mask
typealias MaskInterceptor = (Boolean) -> Boolean
| 19 | Kotlin | 9 | 95 | 67e7185408a544094c7b4403f8309a52dad4aca0 | 91 | M3UAndroid | Apache License 2.0 |
cache/src/main/kotlin/xlitekt/cache/provider/font/FontEntryType.kt | runetopic | 448,110,155 | false | null | package xlitekt.cache.provider.font
import kotlinx.serialization.Serializable
import xlitekt.cache.provider.EntryType
/**
* @author <NAME>
*/
@Serializable
data class FontEntryType(
override val id: Int,
var name: String? = null,
var ascent: Int = 0,
var offsetsX: IntArray? = null,
var offsetsY:... | 0 | Kotlin | 3 | 8 | c896a2957470769a212961ba3e4331f04fc785df | 518 | xlitekt | MIT License |
cache/src/main/kotlin/xlitekt/cache/provider/font/FontEntryType.kt | runetopic | 448,110,155 | false | null | package xlitekt.cache.provider.font
import kotlinx.serialization.Serializable
import xlitekt.cache.provider.EntryType
/**
* @author <NAME>
*/
@Serializable
data class FontEntryType(
override val id: Int,
var name: String? = null,
var ascent: Int = 0,
var offsetsX: IntArray? = null,
var offsetsY:... | 0 | Kotlin | 3 | 8 | c896a2957470769a212961ba3e4331f04fc785df | 518 | xlitekt | MIT License |
v2-emblem/src/commonMain/kotlin/com/bselzer/gw2/v2/emblem/constant/Parameters.kt | Woody230 | 388,820,096 | false | {"Kotlin": 750899} | package com.bselzer.gw2.v2.emblem.constant
internal object Parameters {
/**
* The options.
*/
const val OPTIONS = "options"
} | 2 | Kotlin | 0 | 2 | 32f1fd4fc4252dbe886b6fc0f4310cf34ac2ef27 | 144 | GW2Wrapper | Apache License 2.0 |
remix/src/commonMain/kotlin/com/woowla/compose/icon/collections/remix/remix/finance/Coupon5Line.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.remix.remix.finance
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.St... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 3,184 | compose-icon-collections | MIT License |
app/src/main/kotlin/app/newproj/lbrytv/service/OdyseeService.kt | linimin | 434,503,024 | false | null | /*
* MIT License
*
* Copyright (c) 2022 <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 limitation the rights
* to use, copy, modify, m... | 7 | Kotlin | 3 | 23 | 75bed7e7bae0b1ddaa2b5356b82dbec62c25776e | 2,376 | lbry-androidtv | MIT License |
compose/material/material/src/commonMain/kotlin/androidx/compose/material/Card.kt | androidx | 256,589,781 | false | {"Kotlin": 102794437, "Java": 64412412, "C++": 9138104, "AIDL": 617598, "Python": 310931, "Shell": 189529, "TypeScript": 40586, "HTML": 35176, "Groovy": 27482, "ANTLR": 26700, "Svelte": 20307, "CMake": 18033, "C": 16982, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019} | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 28 | Kotlin | 937 | 5,108 | 89ec14e39cf771106a8719337062572717cbad31 | 5,184 | androidx | Apache License 2.0 |
cosmos-sdk/src/commonMain/kotlin/cosmos/base/store/v1beta1/commit_info.kt | jdekim43 | 759,720,689 | false | {"Kotlin": 8940168, "Java": 3242559} | // Transform from cosmos/base/store/v1beta1/commit_info.proto
@file:ProtobufSyntax(syntax = "PROTO3")
@file:GeneratorVersion(version = "0.3.1")
package cosmos.base.store.v1beta1
import google.protobuf.Timestamp
import kotlin.ByteArray
import kotlin.Long
import kotlin.String
import kotlin.Unit
import kotlin.collection... | 0 | Kotlin | 0 | 0 | eb9b3ba5ad6b798db1d8da208b5435fc5c1f6cdc | 4,323 | chameleon.proto | Apache License 2.0 |
app/src/main/kotlin/com/thundermaps/apilib/android/api/resources/DeviceInfoLogs.kt | SaferMe | 240,105,080 | false | null | package com.thundermaps.apilib.android.api.resources
import com.google.gson.annotations.Expose
data class DeviceInfoLogs(
@Expose
val os_version: String = "",
@Expose
val device_model: String = "",
@Expose
val scan_timestamps: ArrayList<String> = ArrayList()
) : SaferMeDatum {
override ... | 1 | Kotlin | 0 | 0 | 54b14f86140b409d158a20797ec14d9b4f66216a | 873 | saferme-api-client-android | MIT License |
core/oauth2/impl/src/commonMain/kotlin/ru/kyamshanov/mission/oauth2/AuthenticationApi.kt | KYamshanov | 656,042,097 | false | {"Kotlin": 435157, "Batchfile": 2703, "HTML": 199, "Dockerfile": 195} | package ru.kyamshanov.mission.oauth2
import ru.kyamshanov.mission.oauth2.data.model.TokensRsDto
internal interface AuthenticationApi {
suspend fun token(authorizationCode: String, codeVerifier: String, callbackPort : Int): Result<TokensRsDto>
suspend fun token(refreshToken: String): TokensRsDto
} | 7 | Kotlin | 0 | 1 | f749be22ac5e994b97e8edb6e610c05d3ecded36 | 310 | Mission-app | Apache License 2.0 |
androidApp/src/main/java/com/mrebollob/loteria/android/presentation/create/ui/CreateScreen.kt | mrebollob | 46,619,950 | false | {"Kotlin": 142333, "Swift": 29488, "Ruby": 1908} | package com.mrebollob.loteria.android.presentation.create.ui
import android.content.res.Configuration
import androidx.compose.foundation.focusable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import android... | 0 | Kotlin | 0 | 0 | 2fe351ceaa6a3fc40faf2d57e32325bff6d5235b | 8,821 | LoteriadeNavidad | Apache License 2.0 |
tooling-country/src/commonMain/kotlin/dev/datlag/tooling/country/BritishIndianOceanTerritory.kt | DatL4g | 739,165,922 | false | {"Kotlin": 535226} | package dev.datlag.tooling.country
import dev.datlag.tooling.country.serializer.CountryAsAlpha2StringSerializer
import kotlinx.serialization.Serializable
data object BritishIndianOceanTerritory : Country {
override val codeAlpha2: Country.Code.Alpha2 = Country.Code.Alpha2("IO")
override val codeAlpha3: Count... | 0 | Kotlin | 0 | 3 | 11f8ee76909f12d96e4f1889e8b6daa7ae28ddd2 | 443 | tooling | Apache License 2.0 |
hubdle-project-gradle-plugin/main/kotlin/com/javiersc/hubdle/project/extensions/kotlin/multiplatform/targets/wasm/HubdleKotlinMultiplatformWAsm32Extension.kt | JavierSegoviaCordoba | 348,863,451 | false | null | package com.javiersc.hubdle.project.extensions.kotlin.multiplatform.targets.wasm
import com.javiersc.hubdle.project.extensions.HubdleDslMarker
import com.javiersc.hubdle.project.extensions._internal.Configurable.Priority
import com.javiersc.hubdle.project.extensions.apis.HubdleEnableableExtension
import com.javiersc.h... | 16 | Kotlin | 8 | 16 | 3fb3299d206b6aa2ec380e6deb9724bc95e53b8b | 1,390 | hubdle | Apache License 2.0 |
desktop/src/jvmMain/kotlin/utils/withJUniqueLock.kt | EwoudVanPareren | 682,550,040 | false | {"Kotlin": 145914} | package utils
import it.sauronsoftware.junique.AlreadyLockedException
import it.sauronsoftware.junique.JUnique
import kotlinx.coroutines.channels.BufferOverflow
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.MutableSharedFlow
private const val MESSAGE_OPEN = "open"
/**
* Ensure that only one ins... | 8 | Kotlin | 0 | 0 | babd866b5d916f159538203d6aaef5a6ba7294a4 | 1,300 | SaltThePassManager | MIT License |
dsl/config/src/main/kotlin/software/amazon/awscdk/dsl/services/config/dsl.kt | aws-cdk-dsl | 176,878,480 | false | {"Kotlin": 3500307} | package software.amazon.awscdk.dsl.services.config
/**
* @see software.amazon.awscdk.services.config.CfnConfigRule
*/
fun software.amazon.awscdk.Construct.cfnConfigRule(id: String,
props: software.amazon.awscdk.services.config.CfnConfigRuleProps? = null,
init: (software.amazo... | 2 | Kotlin | 0 | 31 | 054694dc9793b7455c517af6afd666ec742594d4 | 21,022 | aws-cdk-kotlin-dsl | MIT License |
sub-foo/src/main/kotlin/io/androidalatan/lifecycle/template/foobar/sub/foo/FooUi.kt | android-alatan | 606,930,016 | false | null | package io.androidalatan.lifecycle.template.foobar.sub.foo
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.liv... | 0 | Kotlin | 0 | 1 | 325d2b639743899acbf6a5acb2c55f4dd410b466 | 795 | LifecycleComponentTemplate | MIT License |
app/src/main/java/com/ss/moviehub/ui/details/DetailsFragment.kt | Abdulrahman-AlGhamdi | 303,362,695 | false | null | package com.ss.moviehub.ui.details
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import androidx.lifecycle.lifecycleScope
import androidx.navigation.fragment.navArgs
import coil.load
import com.ss.moviehub.R
import com.ss.moviehub.databi... | 0 | Kotlin | 0 | 0 | 30957e2c5964d72a86ae5b96a0bce64d4ef3235f | 3,210 | MovieHub | Apache License 2.0 |
src/main/kotlin/org/xbery/artbeams/common/antispam/recaptcha/domain/RecaptchaResult.kt | beranradek | 354,546,253 | false | {"Kotlin": 598596, "JavaScript": 286267, "FreeMarker": 115245, "CSS": 13845, "Procfile": 109} | package org.xbery.artbeams.common.antispam.recaptcha.domain
/**
* @author <NAME>
*/
data class RecaptchaResult(
/**
* Whether this request was a valid reCAPTCHA token for your site.
*/
val success: Boolean,
/**
* reCAPTCHA learns by seeing real traffic on your site. For this reason, scores... | 0 | Kotlin | 1 | 2 | 20bcb95271673620232dbcf2e2f22f51c68cea80 | 760 | artbeams | Apache License 2.0 |
app/src/main/java/com/app/mycamapp/MainActivity.kt | sadman15019 | 540,469,505 | false | null | package com.app.mycamapp
import android.Manifest
import android.content.ContentValues
import android.content.pm.PackageManager
import android.os.Build
import android.os.Bundle
import android.os.CountDownTimer
import android.provider.MediaStore
import androidx.appcompat.app.AppCompatActivity
import androidx.camera.vide... | 0 | Kotlin | 0 | 0 | 0c157d2dbcf9cd09e837843dd1e1a466e1159c5f | 11,439 | camapp | MIT License |
core/src/com/lyeeedar/Systems/StatisticsSystem.kt | Lyeeedar | 83,986,995 | false | null | package com.lyeeedar.Systems
import com.badlogic.ashley.core.Entity
import com.badlogic.ashley.core.Family
import com.lyeeedar.AI.Tasks.TaskInterrupt
import com.lyeeedar.Components.*
import com.lyeeedar.Global
import com.lyeeedar.Renderables.Animation.BlinkAnimation
import com.lyeeedar.Renderables.Sprite.Sprite
import... | 0 | Kotlin | 3 | 12 | e8e58ab6d24cbfa25e40751b6b8f85139afe9129 | 2,783 | TheAbyssOfSouls | Apache License 2.0 |
data/remote/src/main/java/com/ku_stacks/ku_ring/remote/user/UserClient.kt | ku-ring | 412,458,697 | false | {"Kotlin": 653070} | package com.ku_stacks.ku_ring.remote.user
import com.ku_stacks.ku_ring.remote.user.request.FeedbackRequest
import com.ku_stacks.ku_ring.remote.user.request.RegisterUserRequest
import com.ku_stacks.ku_ring.remote.util.DefaultResponse
import javax.inject.Inject
class UserClient @Inject constructor(
private val user... | 3 | Kotlin | 1 | 23 | 008e6093ade7e06da0488c53ba273f461b715f4d | 916 | KU-Ring-Android | Apache License 2.0 |
app/src/main/java/com/marcossalto/peopleapp/presentation/home/components/HomeContent.kt | marcossalto | 843,101,377 | false | {"Kotlin": 40412} | package com.marcossalto.peopleapp.presentation.home.components
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx... | 0 | Kotlin | 0 | 0 | e89dbecc4cc1cc50db48e2aa0db999f54a7a1773 | 2,141 | people-app | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/bold/money/Banknote2.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.bold.money
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 5,863 | SolarIconSetAndroid | MIT License |
app/src/test/java/com/skelterlabs/events/CartEventTest.kt | SkelterLabsInc | 365,889,870 | false | null | package com.skelterlabs.events
import org.joda.time.DateTimeUtils
import org.junit.After
import org.junit.Test
class CartEventTest : EventTestBase() {
@After
override fun tearDown() {
super.tearDown()
DateTimeUtils.setCurrentMillisSystem()
}
@Test
fun whenCallingToCustomFieldOfCartEvent_thenReturn... | 0 | Kotlin | 0 | 1 | cf4a80f69b2365f13b475232bd5434de7a2d8aaa | 529 | aware-android-sdk | Apache License 2.0 |
app/src/main/java/com/dvh/clockcompose/Clock.kt | Havriiash | 629,092,308 | false | null | package com.dvh.clockcompose
import android.graphics.Rect
import android.graphics.Typeface
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.absoluteOffset
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.f... | 0 | Kotlin | 0 | 0 | 2daf91d402ff2cb8c984666a41feb6120af322cc | 8,089 | ComposeCanvas | MIT License |
src/main/kotlin/no/nav/plugins/AuthorizationPlugin.kt | navikt | 644,356,194 | false | {"Kotlin": 144621, "Dockerfile": 214} | package no.nav.plugins
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.auth.*
import io.ktor.server.response.*
import no.nav.konfigurasjon.Miljø
import no.nav.arbeidsgiver.altinnrettigheter.proxy.klient.AltinnrettigheterProxyKlient
import no.nav.arbeidsgiver.altinnrettigheter.proxy.klie... | 0 | Kotlin | 0 | 0 | 8a989c597decde90ba7375d7f8b3442724d9ac38 | 1,985 | fia-arbeidsgiver | MIT License |
authentication/authentication-core/src/commonMain/kotlin/tz/co/asoft/services/IUsersService.core.ktx.kt | aSoft-Ltd | 332,933,351 | false | null | @file:Suppress("PackageDirectoryMismatch")
package tz.co.asoft
fun IUsersService.load(loginId: String, password: String) = scope.later {
if (loginId.contains("@")) {
load(Email(loginId), password).await()
} else {
load(Phone(loginId), password).await()
}
}
/**
* Sign in the respective us... | 2 | Kotlin | 1 | 1 | 3bb2304e1fdfa9a96ae1f693cf6c4527cd50dab5 | 2,253 | auth | MIT License |
platform/src/test/kotlin/com/samsung/healthcare/platform/application/service/project/GetInLabVisitServiceTest.kt | S-HealthStack | 520,365,362 | false | {"Kotlin": 894766, "Dockerfile": 1358, "ANTLR": 1066} | package com.samsung.healthcare.platform.application.service.project
import com.samsung.healthcare.account.application.context.ContextHolder
import com.samsung.healthcare.account.domain.AccessInLabVisitAuthority
import com.samsung.healthcare.account.domain.Account
import com.samsung.healthcare.account.domain.Email
impo... | 2 | Kotlin | 7 | 28 | b7e7d0b4cc8d1f1123c9f3bd08fa5cc66fbc9920 | 4,597 | backend-system | Apache License 2.0 |
src/ide/intellij-plugin/src/main/kotlin/community/flock/wirespec/ide/intellij/Annotator.kt | flock-community | 506,356,849 | false | {"Kotlin": 656506, "Shell": 6544, "TypeScript": 5819, "Witcher Script": 4248, "Java": 4221, "Dockerfile": 625, "Makefile": 501, "JavaScript": 140} | package community.flock.wirespec.ide.intellij
import com.intellij.lang.annotation.AnnotationHolder
import com.intellij.lang.annotation.ExternalAnnotator
import com.intellij.lang.annotation.HighlightSeverity
import com.intellij.openapi.util.TextRange
import com.intellij.psi.PsiFile
import community.flock.wirespec.compi... | 18 | Kotlin | 2 | 17 | 50f8b9a1e341d6d79fdc86f6bff9fca9b32b7579 | 1,745 | wirespec | Apache License 2.0 |
app/src/main/java/com/evilthreads/smsbackdoor/ui/Preferences.kt | manojvermamv | 788,954,217 | false | {"Kotlin": 21380} | package com.evilthreads.smsbackdoor.ui
import android.content.Context
import androidx.preference.PreferenceManager
class Preferences(context: Context) {
private val pref by lazy {
PreferenceManager.getDefaultSharedPreferences(context)
}
fun getCity() = pref.getString("cityName", "") ?: ""
f... | 0 | Kotlin | 0 | 0 | 933706bef22290409bc4841ece6bd4c6ab662ddd | 419 | Github-People-Finder | Apache License 2.0 |
domain/src/main/java/com/anytypeio/anytype/domain/account/AwaitAccountStartManager.kt | anyproto | 647,371,233 | false | {"Kotlin": 11326068, "Java": 69306, "Shell": 11350, "Makefile": 1334} | package com.anytypeio.anytype.domain.account
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.MutableStateFlow
interface AwaitAccountStartManager {
fun isStarted(): Flow<Boolean>
fun setIsStarted(isStarted: Boolean)
object Default: AwaitAccountStartManager {
private val isStarted... | 41 | Kotlin | 40 | 490 | 70d453579f4fceacf8a96683671cc9b1b01ad13e | 525 | anytype-kotlin | RSA Message-Digest License |
core/src/main/java/me/tatocaster/core/source/local/covidstats/CovidStatDbEntity.kt | tatocaster | 253,899,293 | false | null | package me.tatocaster.core.source.local.covidstats
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "covid_stats")
data class CovidStatDbEntity(
@PrimaryKey
@ColumnInfo(name = "country")
val country: String,
@ColumnInfo(name = "total_conf... | 0 | Kotlin | 0 | 3 | 32c3eab1e0f544d75457bc5300d82a38b91e7126 | 494 | covid19-IoT | MIT License |
app/src/main/java/com/breezefieldaereo/features/stockAddCurrentStock/model/CurrentStockGetData.kt | DebashisINT | 876,752,370 | false | {"Kotlin": 16011993, "Java": 1030008} | package com.breezefieldaereo.features.stockAddCurrentStock.model
import com.breezefieldaereo.features.stockCompetetorStock.model.CompetetorStockGetDataDtls
class CurrentStockGetData {
var status:String ? = null
var message:String ? = null
var total_stocklist_count:String ? = null
var stock_list :Array... | 0 | Kotlin | 0 | 0 | 19b7be34bb719573e71738d1e91a26681a4a7bde | 359 | Aereo | Apache License 2.0 |
feature-ui/session-component/src/androidMain/kotlin/com/addhen/fosdem/ui/session/component/AutoSizedCircularProgressIndicatorPreview.kt | eyedol | 170,208,282 | false | {"Kotlin": 553796, "Shell": 3075, "Swift": 1713} | // Copyright 2023, Addhen Limited and the FOSDEM Event app project contributors
// SPDX-License-Identifier: Apache-2.0
package com.addhen.fosdem.ui.session.component
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.size
import androidx.compose.material3.Surface
import android... | 5 | Kotlin | 0 | 1 | 6d49f22e380c9d7560f617c0e4a7fb3563a34477 | 1,197 | fosdem-event-app | Apache License 2.0 |
feature/notes/list/core/src/main/kotlin/ru/maksonic/beresta/feature/notes/list/core/NotesFilterUpdater.kt | maksonic | 580,058,579 | false | null | package ru.maksonic.beresta.feature.notes.list.core
import ru.maksonic.beresta.feature.notes.list.api.ui.NoteUi
import ru.maksonic.beresta.feature.notes.list.api.ui.SortedNotes
import ru.maksonic.beresta.feature.notes.list.api.ui.sortByAlphabetAsc
import ru.maksonic.beresta.feature.notes.list.api.ui.sortByAlphabetDesk... | 0 | Kotlin | 0 | 0 | b1c3480b9e715f7f02302b955af64cf032e4224a | 2,247 | Beresta | MIT License |
optional/compose/src/main/java/com/pitaya/mobile/uinspector/optional/compose/properties/DefaultComposePropertiesParserFactory.kt | YvesCheung | 325,005,910 | false | null | package com.pitaya.mobile.uinspector.optional.compose.properties
import androidx.compose.ui.Modifier
/**
* @author YvesCheung
* 2021/2/2
*/
class DefaultComposePropertiesParserFactory : ComposePropertiesParserFactory {
override val uniqueKey: String = "Default"
override fun tryCreate(modifier: Modifier):... | 1 | Kotlin | 13 | 132 | 72c374ba5754cb4aac211cdede9af25b9c2e4b0a | 398 | UInspector | Apache License 2.0 |
app/src/main/java/ru/tinkoff/news/main/MainActivity.kt | nikitosbobin | 185,379,960 | false | null | package ru.tinkoff.news.main
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_main.*
import ru.tinkoff.news.R
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstance... | 0 | Kotlin | 0 | 0 | aff0d4858776d4363a44f5fbdc1fd1b51200cf52 | 505 | tinkoff-news | Apache License 2.0 |
src/main/kotlin/io/foxcapades/lib/cli/builder/arg/filter/ArgGeneralDefaultFilter.kt | Foxcapades | 850,780,005 | false | {"Kotlin": 251181} | package io.foxcapades.lib.cli.builder.arg.filter
import io.foxcapades.kt.prop.delegation.Property
import io.foxcapades.lib.cli.builder.arg.Argument
import io.foxcapades.lib.cli.builder.arg.filter.ArgZeroFilter.CharZero
import io.foxcapades.lib.cli.builder.arg.filter.ArgZeroFilter.DoubleZero
import io.foxcapades.lib.cl... | 8 | Kotlin | 0 | 0 | 1b45c0e4ffa914ecc9c53356aa9d276a6d5aa6b7 | 5,265 | lib-kt-cli-builder | MIT License |
app/src/main/java/com/gibranlyra/cstv/domain/model/MatchData.kt | GibranLyra | 728,812,322 | false | {"Kotlin": 130559} | package com.gibranlyra.cstv.domain.model
import android.os.Parcelable
import com.gibranlyra.cstv.data.entity.MatchStatus
import kotlinx.parcelize.Parcelize
@Parcelize
data class MatchData(
val id: Int,
val leagueImageUrl: String = "",
val team1Id: Int = -1,
val team1Name: String = "",
val team1Ima... | 0 | Kotlin | 0 | 0 | c93d8746b9aa25aa5324a17622f4c6ffa26e522d | 664 | CsTv | MIT License |
app/src/main/java/github/com/st235/bitobserver/components/LineChartAdapter.kt | st235 | 206,961,424 | false | null | package github.com.st235.bitobserver.components
import android.graphics.RectF
import github.com.st235.bitobserver.utils.ObservableModel
import kotlin.math.max
import kotlin.math.min
/**
* Line chart data adapter.
* Helps load data into the chart view.
*/
abstract class LineChartAdapter: ObservableModel<Unit>() {
... | 0 | Kotlin | 0 | 0 | 7dfd8600be1e34257b7fb990a2598c791cf84886 | 958 | BitObserver | MIT License |
android/app/src/main/java/net/rf43/bizzyplanets/api/TempApiData.kt | rf43 | 641,101,112 | false | null | package net.rf43.bizzyplanets.api
import net.rf43.bizzyplanets.data.models.Planet
object TempApiData {
val planetList: List<Planet> = listOf(
Planet(
name = "Mercury",
thumbUrl = "https://rf43.github.io/bizzy-planets/assets/images/mercury_thumb.jpg",
heroUrl = "https://... | 0 | Kotlin | 0 | 1 | 274ca54992c6f582913a17a71409773f4cffa234 | 2,079 | bizzy-planets | MIT License |
app/src/main/java/dev/christopheredwards/openperiod/data/PeriodDatabase.kt | cedwards036 | 490,478,497 | false | null | package dev.christopheredwards.openperiod.data
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
@Database(entities = [PDate::class], views = [Period::class], version = 1, exportSchema = false)
@TypeConverters(C... | 0 | Kotlin | 0 | 2 | 392f5b1bb94210fd872947ee05ff748aed69115c | 1,079 | OpenPeriod | MIT License |
test/TestHostShebang.kt | square | 808,742,641 | false | {"Kotlin": 124508, "C": 78423, "Shell": 21547, "C++": 15502, "Makefile": 2014} | #!/usr/bin/env stoic shebang --host --
package shebang
import com.square.stoic.print.*
fun main(args: List<String>): Int {
println("args: $args")
return 0
}
| 0 | Kotlin | 1 | 5 | 7ec84827834a1dc0e6f5f98c91a9258dbfcf0153 | 163 | stoic | Apache License 2.0 |
src/main/kotlin/com/dedztbh/kuantum/jblas/matrix/type.kt | dedztbh | 297,601,599 | false | {"Kotlin": 67634} | package com.dedztbh.kuantum.jblas.matrix
import org.jblas.ComplexDouble
import org.jblas.ComplexDoubleMatrix
/**
* Created by DEDZTBH on 2020/09/25.
* Project KuantumCircuitSim
*/
typealias CMatrix = ComplexDoubleMatrix
typealias CNum = ComplexDouble
| 0 | Kotlin | 0 | 2 | 7d4503dad2f6218ba162360d6a9a9fad997f2263 | 257 | KuantumCircuitSim | MIT License |
app/src/test/java/com/pedrogomez/taskfollower/repository/TasksManagerTest.kt | makhnnar | 382,434,932 | false | null | package com.pedrogomez.taskfollower.repository
import androidx.arch.core.executor.testing.InstantTaskExecutorRule
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.pedrogomez.taskfollower.domian.view.TaskVM
import com.pedrogomez.taskfollower.repository.datastore.DSRepository
impor... | 2 | Kotlin | 0 | 0 | 3dfb1d4d91496b80678c24239bbb25dfe03f28d8 | 2,872 | taskFollower | MIT License |
src/main/java/tk/bteitalia/core/feature/fixdh/FixDHListener.kt | BuildTheEarth-Italy | 522,082,660 | false | null | package tk.bteitalia.core.feature.fixdh
import com.sk89q.worldguard.bukkit.WorldGuardPlugin
import org.bukkit.event.EventHandler
import org.bukkit.event.Listener
import org.bukkit.event.player.PlayerJoinEvent
import tk.bteitalia.core.BTEItalyCorePlugin
import tk.bteitalia.core.config.FixDHConfig
import tk.bteitalia.co... | 2 | Kotlin | 0 | 3 | 5246c3ba6838eb4d49d92001a8fb7753a3aaff12 | 1,936 | BTE-Italia-Core | MIT License |
runtime/src/commonMain/kotlin/org/szkug/krpc/service/Call.kt | szkug | 737,588,200 | false | {"Kotlin": 15732} | package org.szkug.krpc.service
interface Call {
suspend operator fun invoke(serviceName: String, functionName: String, requestData: ByteArray): ByteArray
} | 0 | Kotlin | 0 | 2 | e4a6de31369d80306c8d4d6538902f01fd934b4a | 161 | krpc | Apache License 2.0 |
app/src/main/java/com/jetbrains/handson/mpp/mobile/ShowListActivity.kt | jakepurple13 | 205,208,550 | false | null | package com.jetbrains.handson.mpp.mobile
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.EditText
import android.widget.TextView
import and... | 0 | Kotlin | 0 | 0 | 37cad33a42fd7e4b30f51ba2bb2cbd38a45cb43e | 3,424 | iOS-Android-MPP-Modified | Apache License 2.0 |
domain/src/main/java/com/thisissadeghi/player/domain/model/video/Video.kt | ThisIsSadeghi | 349,978,175 | false | null | package com.thisissadeghi.player.domain.model.video
import com.thisissadeghi.player.domain.model.base.Entity
/**
* Created by Ali Sadeghi
* on 05,Mar,2021
*/
data class Video(
val id: Int,
val title: String,
val url: String
) : Entity
| 0 | Kotlin | 1 | 2 | 19baea79b47e18bf284b0bc24e70f3798ea46123 | 252 | CleanVideoPlayer | MIT License |
app/src/main/java/com/deonolarewaju/product_catalogue/data/remote/datasources/interfaces/IProductRDS.kt | deonwaju | 729,797,385 | false | {"Kotlin": 48833} | package com.deonolarewaju.product_catalogue.data.remote.datasources.interfaces
import com.deonolarewaju.product_catalogue.domain.model.ProductsList
interface IProductRDS {
suspend fun fetchProducts(): ProductsList
} | 0 | Kotlin | 0 | 1 | fead009cfd7e36c09d4c8965c768c6b6f12d75d8 | 221 | Product-catalogue | MIT License |
app/src/main/java/com/dimitrilc/freemediaplayer/data/source/mediastore/MediaStoreDataSourceImpl.kt | dmitrilc | 443,821,454 | false | null | package com.dimitrilc.freemediaplayer.data.source.mediastore
import android.content.ContentUris
import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.net.Uri
import android.provider.MediaStore
import android.util.Size
import com.dimitrilc.freemediaplayer.dat... | 15 | Kotlin | 0 | 1 | dbdc5a2b4f3875fc71f405723ccf1a4a18116110 | 7,276 | FreeMediaPlayer | MIT License |
compiler/src/main/java/promise/database/compiler/TableSerializerMethodGenerator.kt | android-promise | 243,376,957 | false | null | /*
* Copyright 2017, <NAME>
* Licensed under the Apache License, Version 2.0, Android Promise.
* 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 writing,
* s... | 1 | Kotlin | 0 | 11 | 65208fab30e3ef2f1c71617e4403a2153b687084 | 3,073 | database | Apache License 2.0 |
mp3recorder/src/main/java/io/j99/library/mp3recorder/Mp3Recorder.kt | hpdx | 377,374,252 | true | {"C": 793032, "Kotlin": 17217, "Java": 1336, "CMake": 585} | package io.j99.library.mp3recorder
import android.media.AudioFormat
import android.media.AudioRecord
import android.media.MediaRecorder
import android.os.Handler
import android.os.Looper
import android.os.Message
import android.util.Log
import io.j99.library.mp3recorder.LameEncoder.init
import io.j99.library.mp3record... | 0 | null | 0 | 0 | f254ffe4731ddb0fe6944ad4981b8cc16eece13e | 5,658 | Mp3Recorder-2 | Apache License 2.0 |
PrimFastKotlin/KotlinAction/app/src/main/java/com/prim/gkapp/data/model/Org.kt | annocjx | 248,767,646 | true | {"Python": 628830, "Java": 293115, "HTML": 159403, "JavaScript": 157080, "Kotlin": 131915, "CSS": 45863, "Dart": 39473, "Objective-C": 5647, "Shell": 3784, "PHP": 2469, "CMake": 1603} | package com.prim.gkapp.data.model
import android.os.Parcelable
import com.prim.gkapp.anno.POKO
import kotlinx.android.parcel.Parcelize
@POKO
@Parcelize
data class Org(val avatarUrl: String = "",
val id: Int = 0,
val login: String = "",
val gravatarId: String = "",
... | 0 | null | 0 | 0 | b435ca4bd2d0c682c7b40f2b856d7b36af8da7c9 | 360 | Awsome-Android-Advanced | Apache License 2.0 |
gradle-plugin-acceptance-test/src/main/kotlin/org/eazyportal/plugin/release/gradle/ac/project/StubProjectActionsFactory.kt | eazyportal | 423,612,375 | false | {"Kotlin": 242422, "Java": 43117, "HTML": 61} | package org.eazyportal.plugin.release.gradle.ac.project
import org.eazyportal.plugin.release.core.project.ProjectActions
import org.eazyportal.plugin.release.core.project.ProjectActionsFactory
import org.eazyportal.plugin.release.core.project.model.ProjectFile
import org.eazyportal.plugin.release.gradle.project.Gradle... | 0 | Kotlin | 1 | 0 | afd3596850099df9d60155058b7b432d4640a761 | 681 | eazyrelease-plugin | Apache License 2.0 |
app/src/main/java/com/example/basedeneme/ui/mainActivity/MainActivity.kt | burakselcuk1 | 573,400,503 | false | {"Java": 126728, "Kotlin": 31435} | package com.example.basedeneme.ui.mainActivity
import com.example.basedeneme.R
import com.example.basedeneme.base.BaseActivity
import com.example.basedeneme.databinding.ActivityMainBinding
import dagger.hilt.android.AndroidEntryPoint
@AndroidEntryPoint
class MainActivity : BaseActivity<ActivityMainBinding, MainViewMo... | 1 | null | 1 | 1 | acb1943cabf7f268e91d67be21520788c7dea429 | 462 | Users | The Unlicense |
modules/kotlog/src/main/kotlin/azadev/logging/logging.kt | Anizoptera | 92,038,394 | false | {"Gradle": 12, "Markdown": 2, "Ignore List": 6, "Kotlin": 13, "Java": 1} | @file:JvmName("KotLog")
@file:Suppress("unused")
package azadev.logging
import azadev.logging.LogLevel.ASSERT
import azadev.logging.LogLevel.CONFIG
import azadev.logging.LogLevel.DEBUG
import azadev.logging.LogLevel.ERROR
import azadev.logging.LogLevel.INFO
import azadev.logging.LogLevel.TRACE
import azadev.logging.L... | 0 | Kotlin | 0 | 1 | 40e42745d7e0905055078ea5a214fd27b7407898 | 12,841 | Kotlin-Logging-Facade | MIT License |
app/src/main/java/ru/tanexc/tree/core/utils/Theme.kt | Tanexc | 659,180,976 | false | null | package ru.tanexc.tree.core.utils
sealed class Theme(val id: Int) {
class Default: Theme(id=0)
class Orange: Theme(id=1)
class Purple: Theme(id=2)
companion object {
fun getScheme(id: Int)
= when (id) {
0 -> Default()
1 -> Orange()
2 -> Purpl... | 0 | Kotlin | 0 | 2 | 8d30280910e4feb937433e1902fa47ecbdf412b2 | 371 | TreeTask | Apache License 2.0 |
presentation/src/main/kotlin/io/github/gmvalentino8/github/sample/presentation/core/components/Reducer.kt | wasabi-muffin | 462,369,263 | false | {"Kotlin": 2712155, "Mustache": 4796, "Ruby": 1144, "Shell": 812} | package io.github.gmvalentino8.github.sample.presentation.core.components
import io.github.gmvalentino8.github.sample.presentation.core.contract.Event
import io.github.gmvalentino8.github.sample.presentation.core.contract.Result
import io.github.gmvalentino8.github.sample.presentation.core.contract.State
import io.git... | 0 | Kotlin | 0 | 1 | 2194a2504bde08427ad461d92586497c7187fb40 | 761 | github-sample-project | Apache License 2.0 |
app/src/main/java/com/malikane/mussic/Permission/ReadPermision.kt | Muratthekus | 238,066,345 | false | {"Kotlin": 43382} | package com.malikane.mussic.Permission
import android.Manifest
import android.app.Activity
import android.content.pm.PackageManager
import androidx.core.app.ActivityCompat
import androidx.core.content.ContextCompat
class ReadPermision{
//Get permission for reading file at device
fun readFile(activity: Activity?){
... | 0 | Kotlin | 1 | 5 | 6dad14a84ef4dfda33b67d2e2b102bd62676b1ce | 1,207 | Music-Player | MIT License |
rulebook-ktlint/src/test/kotlin/com/hendraanggrian/rulebook/ktlint/RenameGenericsRuleTest.kt | hendraanggrian | 556,969,715 | false | {"Kotlin": 96579, "Java": 4624, "Groovy": 997} | package com.hendraanggrian.rulebook.ktlint
import com.pinterest.ktlint.test.KtLintAssertThat.Companion.assertThatRule
import com.pinterest.ktlint.test.LintViolation
import kotlin.test.Test
class RenameGenericsRuleTest {
private val assertThatCode = assertThatRule { RenameGenericsRule() }
@Test
fun `Commo... | 0 | Kotlin | 0 | 1 | 060ecafac50700a5faabbc66c4ad538810f948ea | 1,943 | rulebook | Apache License 2.0 |
ui-kit/src/test/java/com/quickblox/android_ui_kit/spy/repository/EventsRepositorySpy.kt | QuickBlox | 637,751,718 | false | {"Kotlin": 1833847} | /*
* Created by Injoit on 3.4.2023.
* Copyright © 2023 Quickblox. All rights reserved.
*/
package com.quickblox.android_ui_kit.spy.repository
import com.quickblox.android_ui_kit.domain.entity.DialogEntity
import com.quickblox.android_ui_kit.domain.entity.TypingEntity
import com.quickblox.android_ui_kit.domain.enti... | 1 | Kotlin | 0 | 4 | 0ef856d22efb1540d6e238a073badbf31c03961a | 1,713 | android-ui-kit | MIT License |
src/main/kotlin/com/belveth/bullettime/domain/post/mapper/PostMapper.kt | belveth | 482,193,761 | false | null | package com.belveth.bullettime.domain.post.mapper
import com.belveth.bullettime.domain.post.dto.CreatePostDto
import com.belveth.bullettime.domain.post.dto.PostDto
import com.belveth.bullettime.domain.post.dto.UpdatePostDto
import com.belveth.bullettime.domain.post.entity.PostEntity
import org.mapstruct.*
@Mapper(com... | 0 | Kotlin | 0 | 1 | 83fecf1962934d35eceeb5542c005c56f7135f54 | 915 | bullet-time | MIT License |
app/src/main/kotlin/com/gigamole/composescrollbars/sample/MainScreenDemoContent.kt | GIGAMOLE | 684,139,984 | false | {"Kotlin": 332829} | package com.gigamole.composescrollbars.sample
import androidx.compose.animation.AnimatedContent
import androidx.compose.animation.animateColorAsState
import androidx.compose.animation.core.Spring
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.animation.core.spring
import androidx.co... | 0 | Kotlin | 3 | 95 | 2d72e0bb7d674c6316c2e1a709dda1242dbeefc0 | 52,829 | ComposeScrollbars | MIT License |
library/src/main/java/com/andreacioccarelli/billingprotector/crypt/HashGeneratior.kt | cioccarellia | 141,766,102 | false | null | package com.andreacioccarelli.billingprotector.crypt
import java.security.MessageDigest
import kotlin.experimental.and
/**
* Designed and Developed by Andrea Cioccarelli
*/
object HashGeneratior {
private const val HASH_METHOD = "MD5"
fun hash(input: String): String {
val md = MessageDigest.getIn... | 1 | Kotlin | 6 | 35 | 478e93464fac69f3b1fef72f6e53d6c41f24d146 | 633 | billing-protector | Apache License 2.0 |
privacy_plugin/plugins/src/main/kotlin/TempTest.kt | ZakAnun | 759,869,114 | false | {"Kotlin": 10351} | import com.android.build.api.artifact.SingleArtifact
import com.android.build.api.variant.ApplicationAndroidComponentsExtension
import com.android.build.gradle.AppPlugin
import org.gradle.api.Plugin
import org.gradle.api.tasks.TaskProvider
import org.gradle.api.initialization.Settings
import org.gradle.kotlin.dsl.regis... | 0 | Kotlin | 0 | 0 | 153680bc486adf22930c43a205814c77135e8250 | 2,693 | PrivacyPlugin | Apache License 2.0 |
android/src/main/java/dev/igorcferreira/rsstodon/android/db/entity/StatusEntity.kt | igorcferreira | 569,381,753 | false | {"Kotlin": 103347} | package dev.igorcferreira.rsstodon.android.db.entity
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import java.util.*
@Entity(tableName = "status")
data class StatusEntity(
@PrimaryKey val id: String,
@ColumnInfo(name = "content") val content: String,
@ColumnI... | 0 | Kotlin | 0 | 0 | 00c454f4506048adb983c308445ee6926348d1a6 | 477 | RSSTodon-Kotlin | Apache License 2.0 |
aTalk/src/main/java/org/atalk/impl/neomedia/jmfext/media/protocol/rtpdumpfile/RawPacketScheduler.kt | cmeng-git | 704,328,019 | false | {"Kotlin": 14364024, "Java": 2718723, "C": 275021, "Shell": 49203, "Makefile": 28273, "C++": 13642, "HTML": 7793, "CSS": 3127, "JavaScript": 2758, "AIDL": 375} | /*
* Copyright @ 2015 Atlassian Pty Ltd
*
* 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 | Kotlin | 0 | 0 | 90e83dd8c054a5f480d03e8b0b1912b41bd79b0c | 2,256 | atalk-hmos_kotlin | Apache License 2.0 |
app/src/test/java/com/example/quotableapp/fakes/FakeObjectsCreators.kt | slowikj | 428,242,218 | false | {"Kotlin": 295506} | package com.example.quotableapp.fakes
import androidx.paging.PagingConfig
import com.example.quotableapp.common.DispatchersProvider
import com.example.quotableapp.data.remote.common.ApiResponseInterpreter
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.c... | 12 | Kotlin | 0 | 1 | 1011bd6fd1793fdc8d20a3fa7116ab1bd7639187 | 1,819 | quotable-android-app | Apache License 2.0 |
pix/src/main/kotlin/br/com/zup/pix/exception/handlers/InternalExceptionHandler.kt | danielgutknecht | 349,216,101 | true | {"Kotlin": 45022} | package br.com.zup.pix.exception.handlers
import br.com.zup.pix.exception.ExceptionHandler
import br.com.zup.pix.exception.ExceptionHandler.StatusWithDetails
import br.com.zup.pix.exception.types.InternalException
import io.grpc.Status
import java.lang.Exception
class InternalExceptionHandler: ExceptionHandler<Intern... | 0 | Kotlin | 0 | 0 | 3c85cd8a2b62a5b15f0c065bb95dd320e7fb05d1 | 618 | orange-talents-01-template-pix-keymanager-grpc | Apache License 2.0 |
app/src/main/java/org/fossasia/susi/ai/skills/skilllisting/contract/ISkillListingView.kt | Maimoi | 163,274,923 | true | {"Kotlin": 467372, "Java": 42275, "Shell": 2946} | package org.fossasia.susi.ai.skills.skilllisting.contract
import org.fossasia.susi.ai.dataclasses.SkillsBasedOnMetrics
/**
*
* Created by chiragw15 on 15/8/17.
*/
interface ISkillListingView {
fun visibilityProgressBar(boolean: Boolean)
fun updateAdapter(metrics: SkillsBasedOnMetrics)
fun displayError(... | 0 | Kotlin | 0 | 0 | 545385e725793162e31d1a42fd1c771ea43a668e | 323 | susi_android | Apache License 2.0 |
mui-kotlin/src/jsMain/kotlin/mui/base/Dropdown.kt | karakum-team | 387,062,541 | false | {"Kotlin": 1406331, "TypeScript": 2249, "JavaScript": 1167, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/base/Dropdown")
package mui.base
/**
*
* Demos:
*
* - [Menu](https://mui.com/base-ui/react-menu/)
*
* API:
*
* - [Dropdown API](https://mui.com/base-ui/react-menu/components-api/#dropdown)
*/
external val Dropdown: react.FC<DropdownProps>
| 0 | Kotlin | 5 | 36 | f16625a1a7ecd16eae808761497618faceae8f6d | 316 | mui-kotlin | Apache License 2.0 |
app/src/main/java/com/alvayonara/openweatherapps/core/di/NetworkModule.kt | alvayonara | 341,443,640 | false | {"Kotlin": 41580} | package com.alvayonara.openweatherapps.core.di
import com.alvayonara.openweatherapps.BuildConfig
import com.alvayonara.openweatherapps.core.data.source.remote.network.ApiService
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import dagger.Module
import dagger.Provides... | 0 | Kotlin | 0 | 0 | 6e0deb68cad5cba72ac188fe116e61d8cc8fbdd8 | 1,470 | openweather-android | Apache License 2.0 |
app/src/main/java/com/romnan/kamusbatak/presentation/preferences/PreferencesScreenState.kt | deddyrumapea | 458,088,031 | false | {"Kotlin": 204411, "CMake": 1603} | package com.romnan.kamusbatak.presentation.preferences
import com.romnan.kamusbatak.BuildConfig
import com.romnan.kamusbatak.domain.model.ThemeMode
data class PreferencesScreenState(
val isUpdatingLocalDb: Boolean,
val localDbLastUpdatedAt: Long?,
val currentThemeMode: ThemeMode,
val isThemeModeDialog... | 0 | Kotlin | 0 | 1 | 9be3a715e89974009cf1707455d907c72f63b6f7 | 787 | KamusBatak | Apache License 2.0 |
src/main/kotlin/com/mygame/data/GameFrame.kt | theapache64 | 400,972,673 | false | null | package com.mygame.data
import androidx.compose.ui.graphics.Color
data class Circle(
val color: Color,
val radius: Float,
val x: Float,
val y: Float
)
data class GameFrame(
val score: Int,
val circles: List<Circle>
) | 0 | Kotlin | 0 | 5 | d7efabb53be77e7d5406629d98abdb463c769255 | 243 | compose-desktop-game-template | Apache License 2.0 |
src/main/kotlin/com/github/rafaelldi/tyeplugin/runtimes/TyeReplicaRuntime.kt | rafaelldi | 342,595,811 | false | null | package com.github.rafaelldi.tyeplugin.runtimes
import com.github.rafaelldi.tyeplugin.model.TyeServiceReplica
import com.intellij.openapi.vfs.VirtualFile
class TyeReplicaRuntime<T>(val replica: T, parentRuntime: TyeServiceRuntime<*>) :
TyeBaseRuntime(replica.getName()) where T : TyeServiceReplica {
init {
... | 0 | Kotlin | 1 | 8 | 5824f812f483745b40c1a2ce24297b96b16d2d71 | 1,915 | tye-plugin | MIT License |
app/src/main/java/com/nykaa/nykaacat/network/NetworkExtention.kt | AntimKhel | 750,518,139 | false | {"Kotlin": 26168} | package com.nykaa.nykaacat.network
import androidx.annotation.Keep
import retrofit2.HttpException
import retrofit2.Response
suspend fun <T : Any> safeApiCall(
execute: suspend () -> Response<T>
): ApiResponse<T> {
return try {
val response = execute()
val body = response.body()
if (res... | 0 | Kotlin | 0 | 0 | 37c6266c16869897f0d019ac9cb1808c37b42cf3 | 1,270 | NykaaNyan | Apache License 2.0 |
HappyBirthday/marsphotos/src/test/java/com/example/happybirthday/marsphotos/MarsApiServiceTest.kt | ETSEmpiricalStudyKotlinAndroidApps | 496,360,419 | false | {"Kotlin": 718685, "Java": 174794} | package com.example.happybirthday.marsphotos
import com.example.happybirthday.network.MarsApiService
import com.squareup.moshi.Moshi
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
import junit.framework.Assert.*
import kotlinx.coroutines.runBlocking
import org.junit.Before
import org.junit.Test
impo... | 0 | null | 0 | 0 | 147caab2622d15c52cd5b8cf21779c73481c9020 | 1,286 | android-dev | MIT License |
app/src/main/java/com/example/goalstracker/MainActivity.kt | Mohanmanuhs | 795,360,347 | false | {"Kotlin": 79018} | package com.example.goalstracker
import android.os.Build
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.annotation.RequiresApi
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.Surface
import androidx... | 0 | Kotlin | 0 | 0 | 76a9efc0a96b479629dbee6296d32f23556bb84e | 1,128 | Daily-Drive | MIT License |
src/main/kotlin/tools/aqua/turnkey/plugin/util/Collections.kt | tudo-aqua | 860,027,153 | false | {"Kotlin": 105116} | /*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2019-2024 The TurnKey Authors
*
* 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 | Kotlin | 0 | 0 | aa1e199db82737d171925ee72508b89b58662f81 | 1,120 | turnkey-gradle-plugin | Creative Commons Attribution 4.0 International |
app/src/main/java/com/github/dimitarstoyanoff/outdoorsy/data/remote/RemoteApi.kt | DimitarStoyanoff | 716,590,174 | false | {"Kotlin": 35961} | /*
* Copyright 2023 dimitarstoyanoff.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 0 | Kotlin | 0 | 0 | fa9ab3ccc4080a83c996eb7351ae8c7f30808ebd | 1,478 | outdoorsy | Apache License 2.0 |
langsmith-java-core/src/main/kotlin/com/langsmith/api/services/async/RunManifestServiceAsync.kt | langchain-ai | 774,515,765 | false | {"Kotlin": 2288977, "Shell": 1314, "Dockerfile": 305} | // File generated from our OpenAPI spec by Stainless.
@file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102
package com.langsmith.api.services.async
import com.langsmith.api.core.RequestOptions
import com.langsmith.api.models.RunManifestRetrieveParams
import com.langsmith.api.mod... | 1 | Kotlin | 0 | 2 | 922058acd6e168f6e1db8d9e67a24850ab7e93a0 | 654 | langsmith-java | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.