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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
lib/agency/src/main/kotlin/org/kkris/osmgtfs/agency/Util.kt | kkris | 273,951,336 | false | null | package org.kkris.osmgtfs.agency
import de.jollyday.HolidayManager
import de.jollyday.ManagerParameters
import java.time.LocalDate
import java.util.*
object Util {
internal fun getHolidays(locale: Locale, start: LocalDate, end: LocalDate): List<LocalDate> {
val holidays = (start.year..end.year).flatMap {... | 0 | Kotlin | 0 | 2 | 263d25158c2741dd00d639d1b17a95080f761db7 | 723 | osm-gtfs | MIT License |
app/src/main/kotlin/com/mizukami2005/mizukamitakamasa/qiitaclient/view/adapter/ArticleListAdapter.kt | mizukami2005 | 72,331,822 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 15, "Kotlin": 24} | package com.mizukami2005.mizukamitakamasa.qiitaclient.view.adapter
import android.content.Context
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import com.mizukami2005.mizukamitakamasa.qiitaclient.model.Article
import com.mizukami2005.mizukamitakamasa.qiitaclient.view.Article... | 2 | Kotlin | 1 | 1 | 52ca2833d9b87ffdcd875f5e1f827b89dded30fd | 1,014 | qiita-client-app-android | MIT License |
app/src/main/java/com/spaceapp/presentation/explore/components/ExploreCard.kt | AhmetOcak | 552,274,999 | false | {"Kotlin": 385521} | package com.spaceapp.presentation.explore.components
import android.util.Log
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import ... | 0 | Kotlin | 1 | 2 | faac912d41d8decca902f79d725aa560d1e6a7bf | 4,614 | Explore-Universe | MIT License |
urbanairship-core/src/main/java/com/urbanairship/http/Response.kt | urbanairship | 58,972,818 | false | null | /* Copyright Airship and Contributors */
package com.urbanairship.http
import android.net.Uri
import androidx.annotation.RestrictTo
import androidx.annotation.VisibleForTesting
import com.urbanairship.UALog
import com.urbanairship.util.Clock
import com.urbanairship.util.DateUtils
import com.urbanairship.util.UAHttpSta... | 2 | null | 122 | 111 | 21d49c3ffd373e3ba6b51a706a4839ab3713db11 | 3,412 | android-library | Apache License 2.0 |
remote-server/src/main/kotlin/Form.kt | CLOVIS-AI | 464,628,603 | false | null | package opensavvy.formulaide.remote.server
import io.ktor.server.routing.*
import opensavvy.backbone.Ref.Companion.request
import opensavvy.formulaide.core.Department
import opensavvy.formulaide.core.Form
import opensavvy.formulaide.core.Template
import opensavvy.formulaide.remote.api
import opensavvy.formulaide.remot... | 0 | Kotlin | 0 | 0 | aa086b58e67a1cc0ae0fb5a936fe661b46646419 | 2,138 | Formulaide | Apache License 2.0 |
start/src/main/java/com/codelabs/state/todo/TodoViewModel.kt | Tonnie-Dev | 398,608,286 | false | null | /*
* Copyright (C) 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 app... | 0 | Kotlin | 0 | 0 | 89daf953bc546c3ea21f4198973c8612bab82970 | 2,689 | StateCodelab | Apache License 2.0 |
sentry/src/test/java/io/sentry/NoOpTransactionTest.kt | getsentry | 3,368,190 | false | null | package io.sentry
import kotlin.test.Test
import kotlin.test.assertNotNull
import kotlin.test.assertNull
class NoOpTransactionTest {
private val transaction = NoOpTransaction.getInstance()
@Test
fun `startChild does not return null`() {
assertNotNull(transaction.startChild("op"))
assertN... | 170 | null | 400 | 920 | ffa66c8d96f66d20feace09ea16d0c66e494f515 | 707 | sentry-java | MIT License |
plugins/kotlin/compiler-plugins/parcelize/tests/k1/test/org/jetbrains/kotlin/parcelize/ide/test/AbstractParcelizeK1QuickFixTest.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.kotlin.pacelize.ide.test
import org.jetbrains.kotlin.checkers.AbstractKotlinHighlightVisitorTest
abstract class AbstractParcelizeCheckerTest : AbstractKotlinHighlightVisitorT... | 214 | null | 4829 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 648 | intellij-community | Apache License 2.0 |
apollo-api/src/commonTest/kotlin/com/apollographql/apollo/api/internal/SimpleResponseReaderTest.kt | apollostack | 69,469,299 | false | null | package com.apollographql.apollo.api.internal
import com.apollographql.apollo.api.BigDecimal
import com.apollographql.apollo.api.CustomTypeAdapter
import com.apollographql.apollo.api.CustomTypeValue
import com.apollographql.apollo.api.EMPTY_OPERATION
import com.apollographql.apollo.api.ResponseField
import com.apollog... | 22 | null | 531 | 2,897 | f16ef0f4020af7a07c200f0fdcf1dac977d63637 | 24,336 | apollo-android | MIT License |
app/src/main/java/de/jensklingenberg/jetpackcomposeplayground/mysamples/github/material/switch/SwitchDemo.kt | Foso | 187,719,625 | false | null | package de.jensklingenberg.jetpackcomposeplayground.mysamples.github.material.switch
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Switch
import androidx.compose.runtime.Composable
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
@Composable
f... | 13 | null | 287 | 3,404 | 53b5945345cbc4dcddfd965eb73085096cb8791a | 555 | Jetpack-Compose-Playground | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/bold/BriefcaseArrowRight.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.bold
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
im... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 3,268 | icons | MIT License |
basic/src/main/java/com/xiaoxin/basic/widget/ViewClick.kt | XiaoXin956 | 474,917,723 | false | null | package com.xiaoxin.basic.widget
import android.view.View
inline fun View.click(init: ViewClickListener.() -> Unit) {
val viewClick = ViewClickListener()
viewClick.init()
setOnClickListener(viewClick)
setOnLongClickListener(viewClick)
}
class ViewClickListener : View.OnClickListener, View.OnLongClick... | 0 | Kotlin | 0 | 4 | bdbf05f52535978e947e3c1f0803e0f9dc4377d2 | 788 | Toolkit | Apache License 2.0 |
app/src/main/java/com/ibrahimcanerdogan/turkishairlinesassistant/model/available/domestic/response/BookingClassAvail.kt | icanerdogan | 727,407,042 | false | {"Kotlin": 412038, "HTML": 7398} | package com.ibrahimcanerdogan.turkishairlinesassistant.model.available.domestic.response
data class BookingClassAvail(
val RPH: String,
val ResBookDesigCode: String,
val ResBookDesigQuantity: String,
val ResBookDesigStatusCode: String
) | 0 | Kotlin | 0 | 1 | 6564a9cf8589028e9ced03a855a6b7eb07f7a5de | 253 | TurkishAirlinesAssistantApp | MIT License |
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/scene/entity/FishtankFishInfo.kt | Anime-Game-Servers | 642,871,918 | false | {"Kotlin": 535420} | package data.scene.entity
import org.anime_game_servers.core.base.annotations.AddedIn
import org.anime_game_servers.core.base.Version
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
@AddedIn(Version.GI_3_0_0)
@ProtoModel
interface FishtankFishInfo {
var fishDistanceFromWater: Float
var fi... | 0 | Kotlin | 3 | 6 | 9fc2c2ea7e3c2561ffaa66e7f58012ae1dcc4256 | 368 | anime-game-multi-proto | MIT License |
lib-whiteboard/src/main/kotlin/com/enigmastation/streampack/whiteboard/operation/ListOperationGrammar.kt | jottinger | 850,104,415 | false | {"Kotlin": 286785, "HTML": 32078, "Go": 2105, "Dockerfile": 923, "JavaScript": 676, "Svelte": 603, "Shell": 499, "TypeScript": 219, "Just": 148} | /* <NAME> (C)2024 */
package com.enigmastation.streampack.whiteboard.operation
import com.enigmastation.streampack.rules.ExtendedGrammar
import com.github.mpe85.grampa.createGrammar
import com.github.mpe85.grampa.parser.Parser
import com.github.mpe85.grampa.rule.Rule
open class ListOperationGrammar : ExtendedGrammar<... | 6 | Kotlin | 0 | 0 | 0ad05f65dd0f1db9ed3d125a876cf6e8e693a8c2 | 564 | streampack | MIT License |
generators/app/templates/presentation/src/main/java/com/kristal/generator/presentation/di/module/ServiceModule.kt | Cla1ty | 108,220,263 | false | null | package <%= appPackage %>.presentation.di.module
import dagger.Module
/**
* Created by Dwi_Ari on 10/14/17.
*/
@Module
abstract class ServiceModule {
// @ContributesAndroidInjector(modules = arrayOf(EmptyModule::class))
// internal abstract fun bindAlphabetList(): AlphabetListFragment
}
| 0 | Kotlin | 1 | 0 | 4133b44eb99c594155111fdb3be0b72730c0d6a2 | 299 | Generator-Kristal | The Unlicense |
compiler/fir/providers/src/org/jetbrains/kotlin/fir/resolve/calls/FirSyntheticNamesProvider.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2021 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.resolve.calls
import org.jetbrains.kotlin.fir.FirSession
import org.jetbrain... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 776 | kotlin | Apache License 2.0 |
app/src/main/java/com/example/recipeapp/data/api/RecipeApi.kt | Someboty | 747,740,247 | false | {"Kotlin": 109244} | package com.example.recipeapp.data.api
import com.example.recipeapp.data.models.network.NetworkRecipeDetailed
import com.example.recipeapp.data.models.network.NetworkRecipeContainer
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query
/**
* Interface defining the API endpoints for retrievi... | 0 | Kotlin | 0 | 0 | 15d50588b5ecde3440cc101cb69bfbf4e7c9b541 | 1,848 | Recipe_App | MIT License |
student/src/main/java/com/solutionteam/mindfulmentor/data/source/local/Converters.kt | DevSkillSeekers | 746,597,864 | false | {"Kotlin": 412451} | package com.solutionteam.mindfulmentor.data.local
import androidx.room.ProvidedTypeConverter
import androidx.room.TypeConverter
import com.google.gson.Gson
import java.util.Date
@ProvidedTypeConverter
class Converters(val gson: Gson) {
@TypeConverter
fun dateToLong(date: Date): Long = date.time
@TypeCon... | 1 | Kotlin | 0 | 1 | 931d510724b2ae15fd6277988241bd229b7513ea | 378 | GradesFromGeeks | Apache License 2.0 |
src/main/kotlin/com/mcdev/twitterapikit/model/Topic.kt | kojofosu | 421,822,016 | false | null | package com.mcdev.twitterapikit.model
import com.google.gson.annotations.SerializedName
data class Topic(
@SerializedName(value = "description")
var description: String?,
@SerializedName(value = "id")
var id: String?,
@SerializedName(value = "name")
var name: String?
)
| 0 | Kotlin | 2 | 34 | d358785609c5d787de8092d0643c47dd33cf0485 | 298 | TwitterApiKit | Apache License 2.0 |
samples/state-as-cells/features/base/ui/src/main/java/com/originsdigital/compositeadapter/ui/utils/FlowUtils.kt | netcosports | 382,011,704 | false | null | package com.originsdigital.compositeadapter.ui.utils
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.lifecycleScope
import androidx.lifecycle.repeatOnLifecycle
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.launch
fun <T : Any> observeFlow(
flo... | 1 | Kotlin | 0 | 11 | c91c094f42f745b584d97d836beeffec3c30c05c | 651 | CompositeAdapter_Android | Apache License 2.0 |
bot/engine/src/main/kotlin/definition/StoryDataStep.kt | theopenconversationkit | 84,538,053 | false | null | /*
* Copyright (C) 2017/2020 e-voyageurs technologies
*
* 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... | 163 | null | 127 | 475 | 890f69960997ae9146747d082d808d92ee407fcb | 1,990 | tock | Apache License 2.0 |
repository/src/main/java/ca/bc/gov/repository/di/QrScannerModule.kt | bcgov | 414,797,174 | false | {"Kotlin": 1356975, "Java": 582146} | package ca.bc.gov.repository.di
import ca.bc.gov.repository.scanner.QrScanner
import com.google.mlkit.vision.barcode.BarcodeScanner
import com.google.mlkit.vision.barcode.BarcodeScanning
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import jav... | 4 | Kotlin | 5 | 5 | 65815bb851e93dc1aa3397763d187ac829923fca | 618 | myhealthBC-android | Apache License 2.0 |
src/main/kotlin/homework1/ArrayDequeUtil.kt | faf0be172 | 340,895,478 | false | null | package homework1
import kotlin.math.min
import kotlin.math.max
/**
* The method [moveElement] moves element from one place to another
*/
fun ArrayDeque<Int>.moveElement(indexFrom: Int, indexTo: Int) {
if (this.size <= max(indexFrom, indexTo) || min(indexFrom, indexTo) < 0) {
throw ArrayIndexOutOfBound... | 1 | Kotlin | 0 | 0 | c53fb9c6b3398917c53efdbafd50f7e93cdfcdc7 | 532 | Kotlin_homeworks | Apache License 2.0 |
data/src/main/java/divyansh/tech/animeclassroom/database/CacheDatabase.kt | yash-k9 | 413,458,244 | true | {"HTML": 405869, "Kotlin": 194173} | package divyansh.tech.animeclassroom.database
import androidx.room.Database
import androidx.room.RoomDatabase
import divyansh.tech.animeclassroom.mangaModels.OfflineMangaModel
import divyansh.tech.animeclassroom.models.home.OfflineAnimeModel
@Database(entities = [OfflineAnimeModel::class, OfflineMangaModel::class], v... | 0 | HTML | 0 | 0 | 4b4fa3a89d6b83c132177e2ef0909e67fb614ad1 | 416 | AnimeClassroom | The Unlicense |
app/src/main/java/com/mytests/testExam/data/repository/AnimalFactsRepository.kt | FredNekrasov | 766,574,196 | false | {"Kotlin": 46693} | package com.mytests.testExam.data.repository
import com.mytests.testExam.data.local.dao.IAnimalFactsDao
import com.mytests.testExam.data.mappers.toDomain
import com.mytests.testExam.data.mappers.toEntity
import com.mytests.testExam.data.remote.dto.AnimalFactsDTO
import com.mytests.testExam.domain.model.AnimalFacts
imp... | 0 | Kotlin | 0 | 1 | e344e47e6cb1ba8f0634e3df75ffa3514270bc59 | 2,128 | my-tests | MIT License |
transformations/src/main/java/com/tsubasa/glide/transformations/BitmapTransformation.kt | Panjianan | 108,394,197 | false | null | package com.tsubasa.glide.transformations
import android.content.Context
import android.graphics.Bitmap
import com.bumptech.glide.Glide
import com.bumptech.glide.load.Transformation
import com.bumptech.glide.load.engine.Resource
import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool
import com.bumptech.glide.... | 1 | Kotlin | 1 | 6 | 9acd907f59b09402afbc61b7d08176ccec38e343 | 1,960 | GlideTransformations | Apache License 2.0 |
evervault-inputs/src/main/java/com/evervault/sdk/input/ui/InlinePaymentCardInput.kt | evervault | 650,073,299 | false | {"Kotlin": 81167} | package com.evervault.sdk.input.ui
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.fou... | 1 | Kotlin | 1 | 4 | 415907fa65ff3a456ccbebb41a550ee2f226c102 | 1,618 | evervault-android | MIT License |
exposed-jdbc/src/main/kotlin/org/jetbrains/exposed/sql/statements/jdbc/JdbcConnectionImpl.kt | JetBrains | 11,765,017 | false | null | package org.jetbrains.exposed.sql.statements.jdbc
import org.jetbrains.exposed.sql.ColumnType
import org.jetbrains.exposed.sql.Transaction
import org.jetbrains.exposed.sql.statements.Statement
import org.jetbrains.exposed.sql.statements.StatementType
import org.jetbrains.exposed.sql.statements.api.ExposedConnection
im... | 351 | null | 648 | 7,851 | f396d8ae6cf8923f574d2a6a1f098c88452957b6 | 4,399 | Exposed | Apache License 2.0 |
backend/data/src/main/kotlin/io/tolgee/formats/csv/in/CsvFileParser.kt | tolgee | 303,766,501 | false | {"TypeScript": 2960870, "Kotlin": 2463774, "JavaScript": 19327, "Shell": 12678, "Dockerfile": 9468, "PLpgSQL": 663, "HTML": 439} | package io.tolgee.formats.csv.`in`
import com.opencsv.CSVParserBuilder
import com.opencsv.CSVReaderBuilder
import io.tolgee.formats.csv.CsvEntry
import java.io.InputStream
class CsvFileParser(
private val inputStream: InputStream,
private val delimiter: Char,
private val languageFallback: String,
) {
val rawD... | 170 | TypeScript | 188 | 1,837 | 6e01eec3a19c151a6e0aca49e187e2d0deef3082 | 1,586 | tolgee-platform | Apache License 2.0 |
sdk/src/main/java/io/portone/sdk/android/issuebillingkeyandpay/IssueBillingKeyAndPayJavascriptInterface.kt | portone-io | 835,174,061 | false | {"Kotlin": 197769, "HTML": 1179} | package io.portone.sdk.android.issuebillingkeyandpay
interface IssueBillingKeyAndPayJavascriptInterface {
fun fail(
transactionType: String?,
txId: String?,
paymentId: String?,
billingKey: String?,
code: String,
message: String
)
} | 0 | Kotlin | 0 | 2 | 07509908b066a19fc5e0e96afca415816687d2f4 | 288 | android-sdk | MIT License |
integrasjonstest/src/test/kotlin/no/nav/helsearbeidsgiver/inntektsmelding/integrasjonstest/TrengerIT.kt | navikt | 495,713,363 | false | null | package no.nav.helsearbeidsgiver.inntektsmelding.integrasjonstest
import io.kotest.matchers.nulls.shouldNotBeNull
import io.kotest.matchers.shouldBe
import no.nav.helsearbeidsgiver.felles.BehovType
import no.nav.helsearbeidsgiver.felles.DataFelt
import no.nav.helsearbeidsgiver.felles.EventName
import no.nav.helsearbei... | 16 | Kotlin | 0 | 2 | f722ac506d9fb2459a4ff05fd807dc4909329b51 | 3,732 | helsearbeidsgiver-inntektsmelding | MIT License |
order-service/data-access/src/main/kotlin/com/food/ordering/system/order/service/dataaccess/order/entity/OrderItemEntity.kt | ani2fun | 558,480,625 | false | {"Kotlin": 161253, "PLpgSQL": 4264, "Shell": 113} | package com.food.ordering.system.order.service.dataaccess.order.entity
import jakarta.persistence.CascadeType
import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.Id
import jakarta.persistence.IdClass
import jakarta.persistence.JoinColumn
import jakarta.persistence.ManyToOne
i... | 0 | Kotlin | 0 | 0 | 66422bb8028aa8aae767de9fc2fdcdc31e2613d7 | 1,225 | food-ordering-system | Apache License 2.0 |
app/src/test/kotlin/no/nav/tiltakspenger/vedtak/db/TestDataHelper.kt | navikt | 487,246,438 | false | {"Kotlin": 990435, "Shell": 1318, "Dockerfile": 495, "HTML": 45} | package no.nav.tiltakspenger.vedtak.db
import mu.KotlinLogging
import no.nav.tiltakspenger.common.SaksnummerGenerator
import no.nav.tiltakspenger.libs.persistering.infrastruktur.PostgresSessionFactory
import no.nav.tiltakspenger.libs.persistering.infrastruktur.SessionCounter
import no.nav.tiltakspenger.utbetaling.port... | 8 | Kotlin | 0 | 1 | d96f55831e67b1afbe7f2221d299ccc744250c3a | 2,327 | tiltakspenger-vedtak | MIT License |
src/test/kotlin/br/com/zupacademy/mario/pix/cadastra/CadastraChavePixTest.kt | Mutrano | 387,557,514 | true | {"Kotlin": 40068} | package br.com.zupacademy.mario.pix.cadastra
import br.com.zupacademy.mario.CadastraKeyRequest
import br.com.zupacademy.mario.PixKeyManagerCadastraGrpcServiceGrpc
import br.com.zupacademy.mario.TipoDeChave
import br.com.zupacademy.mario.TipoDeConta
import br.com.zupacademy.mario.integration.ContaDoClienteNoItauClient
... | 0 | Kotlin | 0 | 0 | 63082c77003de9b4b165fc514d700374258d8bca | 5,912 | orange-talents-05-template-pix-keymanager-grpc | Apache License 2.0 |
app/src/main/java/com/qm/cleanmodule/ui/fragment/bottomsheet/BottomSheetViewModel.kt | Qenawi | 407,044,351 | false | null | package com.qm.cleanmodule.ui.fragment.bottomsheet
import androidx.databinding.ObservableBoolean
import androidx.databinding.adapters.TextViewBindingAdapter
import com.google.android.material.bottomsheet.BottomSheetBehavior
import com.qm.cleanmodule.base.viewmodel.BaseViewModel
import com.qm.cleanmodule.constants.Code... | 0 | Kotlin | 0 | 0 | 77ab5bba0e4c5a09da778a187dabe34aa062b451 | 1,414 | clean_poc | MIT License |
code/1758. Clean Architecture on Android 12-Clean-Architecture-on-Android/12-Clean-Architecture-on-Android/Demo2/final/mobile-ui/src/main/java/com/raywenderlich/android/creatures/ui/injection/module/BrowseActivityModule.kt | iOSDevLog | 186,328,282 | false | null | package com.raywenderlich.android.creatures.ui.injection.module
import com.raywenderlich.android.creatures.domain.interactor.browse.GetCreatures
import com.raywenderlich.android.creatures.presentation.browse.BrowseCreaturesViewModelFactory
import com.raywenderlich.android.creatures.presentation.mapper.CreatureMapper
i... | 0 | null | 1 | 4 | 8b81fbeb046abfeda95f9870c3c29b4998dbb12d | 759 | raywenderlich | MIT License |
app/src/main/java/com/pi3/teethkids/fragments/auth/RegisterFragment.kt | Johnviitoor | 662,683,322 | false | null | package com.pi3.teethkids.fragments.auth
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.navigation.findNavController
import com.pi3.teethkids.R
import com.pi3.teethkids.... | 0 | Kotlin | 0 | 0 | 084ee49d0b997f6c9a656aea6bf4ff09ed7d48ff | 3,548 | TeethKids_Kotlin | Apache License 2.0 |
app/unit-tests/src/org/commcare/android/tests/navigation/ExternalLaunchTests.kt | dimagi | 20,939,877 | false | null | package org.commcare.android.tests.navigation
import android.content.Intent
import android.os.Bundle
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.commcare.CommCareTestApplication
import org.commcare.activities.DispatchActivity
import org.commcare.activities.FormEntryActivity
import org.commcare.acti... | 32 | Java | 23 | 32 | 8a1bf52325ee7198e122eb1e43a21900e33ed29a | 3,829 | commcare-android | Apache License 2.0 |
compiler/frontend/src/org/jetbrains/kotlin/resolve/calls/tower/KotlinToResolvedCallTransformer.kt | yuexiaodong | 101,063,201 | true | {"Java": 24105373, "Kotlin": 24091694, "JavaScript": 144857, "Protocol Buffer": 57164, "HTML": 53068, "Lex": 18174, "Groovy": 14228, "ANTLR": 9797, "IDL": 8122, "Shell": 5436, "CSS": 4679, "Batchfile": 4437} | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* 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 agre... | 1 | Java | 1 | 1 | d5f0607cef375fd0a0b3fc8643fc95e2c93df4de | 25,708 | kotlin | Apache License 2.0 |
app/src/androidInstrumentedTest/kotlin/io/github/xxfast/decompose/router/app/TestPagesRouters.kt | xxfast | 599,478,957 | false | {"Kotlin": 64949, "Swift": 2406, "HTML": 676, "CSS": 342} | package io.github.xxfast.decompose.router.app
import android.content.pm.ActivityInfo
import androidx.compose.ui.test.ExperimentalTestApi
import androidx.compose.ui.test.assertTextContains
import androidx.compose.ui.test.assertTextEquals
import androidx.compose.ui.test.hasText
import androidx.compose.ui.test.junit4.cre... | 8 | Kotlin | 9 | 218 | f66446689428f1716c12e47d53cbcdf7be560283 | 1,226 | Decompose-Router | Apache License 2.0 |
src/org/toml/lang/icons/TomlIconProvider.kt | Falkenfighter | 46,069,512 | false | null | package org.toml.lang.icons
import com.intellij.ide.IconProvider
import com.intellij.psi.PsiElement
import org.toml.lang.core.psi.TomlFile
import javax.swing.Icon
public class TomlIconProvider : IconProvider() {
override fun getIcon(element: PsiElement, flags: Int): Icon? {
return when (element) {
... | 1 | null | 1 | 1 | 211da249631d3932a030ccc9bb05eef5d4987d50 | 635 | intellij-rust | MIT License |
app/src/main/java/com/sweet/dagger/di/AmountModule.kt | amirMohammadShirin | 839,199,119 | false | {"Kotlin": 15413} | package com.sweet.dagger.di
import dagger.Module
import dagger.Provides
import java.math.BigDecimal
@Module
class AmountModule {
@Provides
@MinAmount
fun provideMinAmount() = BigDecimal.ZERO
@Provides
@MaxAmount
fun provideMaxAmount() = BigDecimal(10000)
} | 0 | Kotlin | 0 | 1 | 0f428b2f133e8092dfb4ae75860053785d302f88 | 285 | dagger | MIT License |
app/src/main/java/com/hiteshsahu/notificationlistener/activity/dummy/BigTextMainActivity.kt | hiteshsahu | 240,263,632 | false | null | /*
Copyright 2016 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 applicable law or agreed to in writi... | 1 | Kotlin | 2 | 5 | c42f4dfecdc9aab51be1fd6340063969c840748e | 1,525 | Android-Notification-Demo | Apache License 2.0 |
build-logic/convention/src/main/kotlin/com/significo/bugtracker/AndroidCompose.kt | SignificoHealth | 824,561,094 | false | {"Kotlin": 237482} | package com.significo.bugtracker
import com.android.build.api.dsl.CommonExtension
import org.gradle.api.Project
import org.gradle.kotlin.dsl.dependencies
/**
* Configure Compose-specific options
*/
@Suppress("StringLiteralDuplication")
internal fun Project.configureAndroidCompose(
commonExtension: CommonExtensi... | 2 | Kotlin | 0 | 1 | ed27c4012925789e47f8fc422f9d095ab3a821df | 669 | bug-tracker-showcase-android | Apache License 2.0 |
compiler/tests-spec/testData/diagnostics/linked/expressions/constant-literals/integer-literals/hexadecimal-integer-literals/p-1/neg/2.1.fir.kt | android | 263,405,600 | true | null | // TESTCASE NUMBER: 1
val value_1 = 0x_1234567890
// TESTCASE NUMBER: 2
val value_2 = 0X_______23456789
// TESTCASE NUMBER: 3
val value_3 = 0X_2_3_4_5_6_7_8_9
// TESTCASE NUMBER: 4
val value_4 = <!ILLEGAL_CONST_EXPRESSION!>0x_<!>
| 0 | Kotlin | 37 | 316 | 74126637a097f5e6b099a7b7a4263468ecfda144 | 233 | kotlin | Apache License 2.0 |
turf/src/commonMain/kotlin/io/github/elcolto/geokjson/turf/measurement/Square.kt | elcolto | 807,275,879 | false | {"Kotlin": 320710} | package io.github.elcolto.geokjson.turf.measurement
import io.github.elcolto.geokjson.geojson.BoundingBox
import io.github.elcolto.geokjson.geojson.Position
import io.github.elcolto.geokjson.turf.ExperimentalTurfApi
/**
* Takes a bounding box and calculates the minimum square bounding box that would contain the inpu... | 44 | Kotlin | 0 | 2 | c7026b9765141120a74277287476195255a7735f | 1,310 | GeoKJSON | Apache License 2.0 |
sample/src/androidTest/java/com/sebaslogen/resacaapp/sample/hilt/ComposeActivityRecreationTests.kt | sebaslogen | 431,489,181 | false | {"Kotlin": 100252, "Swift": 621, "HTML": 339, "CSS": 102} | package com.sebaslogen.resacaapp.sample.hilt
import android.content.Intent
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.assertTextEquals
import androidx.compose.ui.test.junit4.createEmptyComposeRule
import androidx.test.core.app.ActivityScenario
import androidx.test.core.app.Applic... | 2 | Kotlin | 9 | 406 | 9d923bd86cc7c0db028a29c617c946091f627cff | 5,777 | resaca | MIT License |
host/src/commonMain/kotlin/base/binding/IndirectFunctionBindingProvider.kt | illarionov | 848,247,126 | false | {"Kotlin": 993693, "TypeScript": 3148, "CSS": 1042, "FreeMarker": 450, "JavaScript": 89} | /*
* Copyright 2024, the wasi-emscripten-host project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package at.released.weh.host.base.binding
import ... | 0 | Kotlin | 0 | 2 | eaa94b81d4da64d2ea763eb2cfe61a386d56f092 | 536 | wasi-emscripten-host | Apache License 2.0 |
src/main/kotlin/no/nav/eessi/pensjon/personidentifisering/PersonModel.kt | navikt | 178,813,650 | false | null | package no.nav.eessi.pensjon.personidentifisering
import no.nav.eessi.pensjon.eux.model.SedType
import no.nav.eessi.pensjon.eux.model.buc.SakType
import no.nav.eessi.pensjon.personoppslag.pdl.model.SokKriterier
import no.nav.eessi.pensjon.shared.person.Fodselsnummer
import java.time.LocalDate
data class IdentifisertP... | 1 | Kotlin | 2 | 6 | ecffc4ad04aa9da50a0a7de401e5b9eb5ea34f95 | 1,743 | eessi-pensjon-journalforing | MIT License |
plugins/opendmp-ffmpeg/src/main/kotlin/io/opendmp/plugin/ffmpeg/config/FFMPEGConfiguration.kt | rhinoman | 266,865,791 | false | null | package io.opendmp.plugin.ffmpeg.config
import io.opendmp.common.model.ProcessorType
import io.opendmp.common.model.plugin.FieldDescription
import io.opendmp.common.model.plugin.FieldType
import io.opendmp.common.model.plugin.PluginConfiguration
import io.opendmp.sdk.plugin.config.PluginConfigurationProvider
import or... | 6 | Kotlin | 5 | 27 | c7f36699647c6c4952e069d062099efe12e9b179 | 1,251 | odmp | Apache License 2.0 |
app/src/main/java/com/samuelokello/kazihub/domain/model/job/JobResponse.kt | OkelloSam21 | 749,782,789 | false | {"Kotlin": 326914} | package com.samuelokello.kazihub.domain.model.job
import com.google.gson.annotations.SerializedName
data class JobResponse(
@SerializedName("code")
val code: Int?,
@SerializedName("data")
val job: List<data>?,
@SerializedName("message")
val message: String?,
@SerializedName("status")
... | 0 | Kotlin | 0 | 0 | 6333e167c837eb9ae9d4549a09ca6ae621e12353 | 341 | KaziHub | MIT License |
android/app-newm/src/main/java/io/newm/NewmAppComposable.kt | projectNEWM | 435,674,758 | false | {"Kotlin": 559511, "Swift": 299324} | package io.newm
import android.content.Intent
import android.net.Uri
import androidx.activity.compose.BackHandler
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.ExitTransition
import androidx.compose.ani... | 2 | Kotlin | 9 | 16 | fcb5edf172891478ac612260c3eacdb42e1e943d | 9,265 | newm-mobile | Apache License 2.0 |
android/app-newm/src/main/java/io/newm/NewmAppComposable.kt | projectNEWM | 435,674,758 | false | {"Kotlin": 559511, "Swift": 299324} | package io.newm
import android.content.Intent
import android.net.Uri
import androidx.activity.compose.BackHandler
import androidx.annotation.DrawableRes
import androidx.annotation.StringRes
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.ExitTransition
import androidx.compose.ani... | 2 | Kotlin | 9 | 16 | fcb5edf172891478ac612260c3eacdb42e1e943d | 9,265 | newm-mobile | Apache License 2.0 |
src/main/kotlin/no/nav/medlemskap/regler/v1/Hovedregler.kt | navikt | 225,422,169 | false | {"Kotlin": 931416, "Gherkin": 415998, "Shell": 151, "Dockerfile": 147} | package no.nav.medlemskap.regler.v1
import no.nav.medlemskap.domene.Datagrunnlag
import no.nav.medlemskap.domene.Statsborgerskapskategori
import no.nav.medlemskap.domene.Ytelse
import no.nav.medlemskap.regler.ReglerForHovedsakligArbeidstaker
import no.nav.medlemskap.regler.common.Regel.Companion.jaKonklusjon
import no... | 9 | Kotlin | 1 | 0 | c58390762d85967f1a3f412abfddcbfcad99702d | 8,277 | medlemskap-oppslag | MIT License |
jdroid-android-sample/src/main/java/com/jdroid/android/sample/ui/google/signin/GoogleSignInFragment.kt | petsnarua | 258,267,623 | true | {"Kotlin": 742915, "Java": 383189, "HTML": 3936, "Shell": 2559, "JavaScript": 564} | package com.jdroid.android.sample.ui.google.signin
import android.content.Intent
import android.os.Bundle
import android.view.View
import android.widget.TextView
import com.google.android.gms.auth.api.signin.GoogleSignInAccount
import com.google.android.gms.common.SignInButton
import com.google.android.material.snack... | 0 | null | 0 | 0 | 8b4d1654fdabe6d2e13487f8045a83b2e6e0e5fe | 4,170 | jdroid-android | Apache License 2.0 |
compiler/ir/ir.tree/src/org/jetbrains/kotlin/ir/expressions/impl/IrInstanceInitializerCallImpl.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2016 JetBrains s.r.o.
*
* 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 agre... | 166 | null | 5771 | 46,772 | bef0946ab7e5acd5b24b971eca532c43c8eba750 | 1,232 | kotlin | Apache License 2.0 |
app/src/main/java/com/programmazionemobile/progettoLucaBenzi/MainActivity.kt | onboarding92 | 260,157,158 | false | null | @file:Suppress("DEPRECATION")
package com.programmazionemobile.progettoLucaBenzi
import android.content.pm.PackageManager
import android.graphics.*
import android.os.Bundle
import android.os.Environment
import android.os.Handler
import android.os.HandlerThread
import android.util.DisplayMetrics
import android.util.Lo... | 0 | Kotlin | 0 | 0 | 3e52355e03f4422fcbecacba39227ac3fc18df01 | 7,676 | AndroidAppObjectDetection | MIT License |
app/src/main/java/com/ahmed/carefer/ui/theme/Theme.kt | ahmedshaban1 | 571,586,573 | false | null | package com.ahmed.carefer.ui.theme
import android.app.Activity
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.lightColorScheme
import androidx.compose.runtime.Composable
import androidx.compose.runtime.SideEffect
import androidx.compose.ui.graphics.toArgb
import androidx.compose.ui.p... | 0 | Kotlin | 0 | 0 | 7b119d6495e4a406908fa2566ec3bf34f1a1fb97 | 1,268 | carefer | Apache License 2.0 |
urbanairship-debug/src/main/java/com/urbanairship/debug/deviceinfo/tag/groups/TagGroupFragment.kt | urbanairship | 58,972,818 | false | null | /* Copyright Urban Airship and Contributors */
package com.urbanairship.debug.deviceinfo.tag.groups
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModelProvider
import com.urbanairsh... | 2 | null | 122 | 111 | 21d49c3ffd373e3ba6b51a706a4839ab3713db11 | 1,765 | android-library | Apache License 2.0 |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/leagues/opmodes/autonomous/old/blue/BlueBackstageToCenterFull.kt | AtomicRobotics3805 | 693,892,433 | false | {"Kotlin": 244821, "Java": 56909} | package org.firstinspires.ftc.teamcode.leagues.opmodes.autonomous.old.blue
import com.qualcomm.robotcore.eventloop.opmode.Autonomous
import com.qualcomm.robotcore.eventloop.opmode.Disabled
import org.atomicrobotics3805.cflib.Constants
import org.atomicrobotics3805.cflib.driving.drivers.MecanumDrive
import org.atomicro... | 0 | Kotlin | 0 | 1 | a6e231e464ea8e85e33912381b40cd9f511913a1 | 1,716 | 2024-Centerstage | BSD 3-Clause Clear License |
app/src/main/java/com/example/whisper/vo/addcontact/AddContactUiModel.kt | alexandermalinov | 537,907,360 | false | {"Kotlin": 123950} | package com.example.whisper.vo.addcontact
import com.example.whisper.vo.contacts.ContactUiModel
data class AddContactUiModel(
val contacts: List<ContactUiModel> = emptyList(),
val isLoading: Boolean = false,
)
| 0 | Kotlin | 0 | 0 | d020aa0f2d977d2ac05840ca658072b0f722cd44 | 220 | whisper | MIT License |
sketch-core/src/main/kotlin/com/github/panpf/sketch/util/SketchUtils.kt | panpf | 14,798,941 | false | null | /*
* Copyright (C) 2022 panpf <<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 a... | 2 | null | 308 | 1,978 | 82ffde1ff148311bb5b36eb70a4c82224d1f3af4 | 4,808 | sketch | Apache License 2.0 |
app/src/main/java/com/google/firebase/udacity/daggerPosts/dagger/ui/main/posts/PostRecyclerAdapter.kt | mohameddawood | 210,697,211 | false | null | package com.google.firebase.udacity.daggerPosts.dagger.ui.main.posts
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.RecyclerView.ViewHol... | 0 | Kotlin | 1 | 5 | 4fefc6d03e915b9b95e428fda9176e753e49cd6a | 1,366 | Dagger2PostsApp | Apache License 2.0 |
app/src/main/java/com/example/usptu_map/project_objects/coordinates/MapPoints.kt | Naillin | 763,187,107 | false | {"Kotlin": 44616} | package com.example.usptu_map.project_objects.coordinates
import com.example.usptu_map.project_objects.base_entities.AcademicBuilding
import com.example.usptu_map.project_objects.base_entities.Building
import com.example.usptu_map.project_objects.base_entities.Dormitory
import com.example.usptu_map.project_objects.bas... | 0 | Kotlin | 0 | 0 | fc5320d053823c8a2e38f5851f4cd841168ba5df | 4,447 | USPTU_Map | MIT License |
underwave/src/commonMain/kotlin/com/aallam/underwave/log/Logger.kt | Aallam | 229,120,653 | false | null | package com.aallam.underwave.log
/**
* May be used to create a custom logging solution to override the [Default] behaviour.
*/
expect interface Logger {
/**
* Pass the log details off to the [Logger] implementation.
*
* @param priority the priority/type of this log message
* @param tag used ... | 0 | Kotlin | 0 | 0 | 0403c4c9cfdfc07a0de9e8e079c5cff00a15e421 | 564 | Underwave | Apache License 2.0 |
src/main/kotlin/org/move/ide/refactoring/MvRenameProcessor.kt | pontem-network | 279,299,159 | false | null | package org.move.ide.refactoring
import com.intellij.openapi.util.io.FileUtil
import com.intellij.psi.PsiElement
import com.intellij.psi.util.PsiTreeUtil
import com.intellij.refactoring.listeners.RefactoringElementListener
import com.intellij.refactoring.rename.RenamePsiElementProcessor
import com.intellij.usageView.U... | 4 | null | 7 | 69 | c0192da133a0d0b0cb22456f55d3ee8c7a973109 | 4,585 | intellij-move | MIT License |
app/src/main/java/com/example/instasocialwsapp/Post.kt | melisgb | 274,247,024 | false | null | package com.example.instasocialwsapp
class Post {
var postID : String? = null
var postContent : String? = null
var postImageUrl : String? = null
var dateCreated : String? = null
var postUserId : String? = null
var postPersonName : String? = null
var postProfImage : String? = null
const... | 0 | Kotlin | 0 | 0 | 1d291b334857938ae802be4919bb9e80a80dcecb | 779 | InstaSocialWSApp | MIT License |
common/src/main/java/ca/bc/gov/common/model/config/DataSetFeatureFlag.kt | bcgov | 414,797,174 | false | {"Kotlin": 1316203, "Java": 582146} | package ca.bc.gov.common.model.config
/**
* @author pinakin.kansara
* Created 2023-12-05 at 10:18 a.m.
*/
sealed class DataSetFeatureFlag(private val flags: Set<String>) {
fun isClinicalDocumentEnabled(): Boolean = flags.contains("clinicalDocument")
fun isCovid19TestResultEnabled(): Boolean = flags.contain... | 7 | Kotlin | 5 | 5 | d91c6c5a237d42ecf429ba66d01efb405f91666c | 1,224 | myhealthBC-android | Apache License 2.0 |
nanokt-android/src/main/java/com/conena/nanokt/android/os/MessageUtils.kt | conena | 592,106,905 | false | {"Kotlin": 415799} | /*
* Copyright (C) 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 i... | 1 | Kotlin | 1 | 77 | 0f3315d5a2d9ba602f6a4ea9757d859bdb040a29 | 1,835 | nanokt | Apache License 2.0 |
src/main/kotlin/org/jetbrains/fortran/lang/resolve/FortranUnitReferenceImpl.kt | sharkovadarya | 124,751,449 | false | {"Gradle": 1, "Gradle Kotlin DSL": 1, "INI": 1, "Shell": 1, "Text": 32, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "Java Properties": 1, "Kotlin": 169, "Fortran Free Form": 110, "Fortran": 11, "Java": 12, "XML": 2, "HTML": 18, "JFlex": 1} | package org.jetbrains.fortran.lang.resolve
import com.intellij.psi.PsiElement
import com.intellij.psi.util.PsiTreeUtil
import org.jetbrains.fortran.lang.psi.FortranProgramUnit
import org.jetbrains.fortran.lang.psi.ext.FortranNamedElement
import org.jetbrains.fortran.lang.psi.impl.FortranLabelDeclImpl
import org.jetbra... | 1 | null | 1 | 1 | cffd11994cf571bcd2c54b1d0c960e405c3c66f3 | 1,108 | fortran-plugin | Apache License 2.0 |
plugin/src/main/kotlin/me/dkim19375/bedwars/plugin/listener/PlayerDropItemListener.kt | UntouchedOdin0 | 369,201,206 | true | {"Kotlin": 274143} | /*
* MIT License
*
* Copyright (c) 2021 dkim19375
*
* 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... | 0 | null | 0 | 0 | 541da69bc8163d43851c087ce505aede7cfebe9e | 1,976 | Bedwars | MIT License |
app/src/androidTest/java/io/libredrop/android/testutils/ElapsedTimeIdlingResource.kt | libredrop | 156,920,250 | false | null | package io.libredrop.android.testutils
import androidx.test.espresso.IdlingResource
import androidx.test.espresso.IdlingResource.ResourceCallback
class ElapsedTimeIdlingResource(private val waitingTime: Long) : IdlingResource {
private val startTime: Long = System.currentTimeMillis()
private lateinit var reso... | 0 | Kotlin | 1 | 0 | 5d3ad24cbce02e4ec98f971f6961a2a59f1f563c | 867 | libredrop-android | MIT License |
libraries/core/src/androidTest/kotlin/com/bumble/appyx/core/plugin/BackPressHandlerTest.kt | bumble-tech | 493,334,393 | false | null | package com.bumble.appyx.core.plugin
import android.os.Parcelable
import androidx.activity.OnBackPressedCallback
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import a... | 68 | Kotlin | 45 | 754 | 1c13ab49fb3e2eb0bcd192332d597f8c05d3f6a9 | 8,755 | appyx | Apache License 2.0 |
src/test/kotlin/no/nav/helse/flex/service/SaksbehandlingsServiceTest.kt | navikt | 451,810,928 | false | {"Kotlin": 339483, "Dockerfile": 267} | package no.nav.helse.flex.service
import com.fasterxml.jackson.module.kotlin.readValue
import no.nav.helse.flex.FellesTestoppsett
import no.nav.helse.flex.any
import no.nav.helse.flex.arkivering.Arkivaren
import no.nav.helse.flex.domain.dto.Sykepengesoknad
import no.nav.helse.flex.objectMapper
import no.nav.helse.flex... | 4 | Kotlin | 0 | 0 | d2f70c0245adee2534e2d9497d3ffbd41894a1bf | 4,116 | sykepengesoknad-arkivering-oppgave | MIT License |
ksp-di/kmmsharedmodule/src/commonMain/kotlin/com/azharkova/kmmdi/shared/base/IView.kt | anioutkazharkova | 388,542,263 | false | null | package com.azharkova.kmmdi.shared.base
interface IView : com.azharkova.kmmdi.shared.base.IInputView
interface IInputView
| 0 | Objective-C | 0 | 8 | e211991b9f3fdcae5528d2389ac580df751d46b9 | 124 | ksp-di-playground | Apache License 2.0 |
core/src/main/kotlin/io/github/serpro69/kfaker/exception/RetryLimitException.kt | serpro69 | 174,969,439 | false | null | package io.github.serpro69.kfaker.exception
@Suppress("unused")
class RetryLimitException : Exception {
constructor(message: String) : super(message)
constructor(message: String, throwable: Throwable) : super(message, throwable)
constructor(throwable: Throwable) : super(throwable)
}
| 21 | null | 42 | 462 | 22b0f971c9f699045b30d913c6cbca02060ed9b3 | 300 | kotlin-faker | MIT License |
lib_net/src/main/java/com/caixin/android/net/callback/ResultCallbackBitmap.kt | Enowr | 270,223,076 | false | null | package com.caixin.android.net.callback
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import com.caixin.android.net.NetManager
import okhttp3.Call
import okhttp3.Response
// 图片结果回调
abstract class ResultCallbackBitmap : ResultCallback() {
override fun start() {}
override fun response(ca... | 0 | Kotlin | 0 | 0 | 45cc0234f28f5c2420f6b3abdf2e1226e9e72cb3 | 1,758 | AndroidHelperOld | Apache License 2.0 |
sample/src/main/java/com/kizitonwose/calendar/sample/compose/Example9Page.kt | kizitonwose | 182,417,603 | false | {"Kotlin": 670112, "HTML": 343, "CSS": 102} | package com.kizitonwose.calendar.sample.compose
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.animation.core.tween
import androidx.compose.foundation.background
import andro... | 13 | Kotlin | 505 | 4,651 | 36de800a6c36a8f142f6432a0992e0ea4ae8a789 | 13,216 | Calendar | MIT License |
server/src/test/kotlin/main/GenerateDbMigration.kt | maxtuzz | 225,085,025 | false | {"TypeScript": 118399, "Kotlin": 59202, "HTML": 1815, "CSS": 358, "Dockerfile": 207} | package main
import io.ebean.annotation.Platform
import io.ebean.dbmigration.DbMigration
/**
* Run this to generate migration sql based on changes to domain models
*/
fun main() {
val dbMigration = DbMigration.create()
dbMigration.setPlatform(Platform.POSTGRES)
dbMigration.setPathToResources("server/src/main/... | 22 | TypeScript | 0 | 2 | 60da9d67452bf040d8659a7e4cfb6e237602dc5b | 369 | tuzhub | Apache License 2.0 |
archroid-compiler/src/main/java/app/junhyounglee/archroid/compiler/codegen/SourceFileGenerator.kt | cutehackers | 194,770,993 | false | null | package app.junhyounglee.archroid.compiler.codegen
import app.junhyounglee.archroid.compiler.ArchroidProcessor
import app.junhyounglee.archroid.compiler.error
import com.squareup.kotlinpoet.FileSpec
import com.squareup.kotlinpoet.TypeSpec
import java.io.File
import java.io.IOException
import javax.annotation.processin... | 0 | Kotlin | 0 | 0 | 515d2b91dd7209c34a4c34761f474703d6200430 | 2,105 | Archroid | Apache License 2.0 |
navigation/src/main/java/com/beetlestance/androidextensions/navigation/data/NavigateOnceDirectionRequest.kt | beetlestance | 282,616,603 | false | null | package com.devdd.recipe.ui.utils.navigation
import androidx.navigation.NavDirections
import androidx.navigation.NavOptions
import androidx.navigation.fragment.FragmentNavigator
data class NavigateOnceDirectionRequest(
// directions for navigation
val directions: NavDirections,
// NavOptions stores speci... | 2 | Kotlin | 1 | 9 | 52514231c13695292826b2872792349590234197 | 1,064 | android-extensions | Apache License 2.0 |
ChartboostMediation/src/main/java/com/chartboost/chartboostmediationsdk/domain/MetricsEvent.kt | ChartBoost | 647,839,758 | false | {"Kotlin": 711726, "Ruby": 2509} | /*
* Copyright 2023-2024 Chartboost, Inc.
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file.
*/
package com.chartboost.chartboostmediationsdk.domain
/**
* The metrics to be collected for an ad lifecycle event. Each entity is a single event that
* correspond... | 0 | Kotlin | 0 | 0 | 18948613638191a0639eb264ec6e39f3d37bf722 | 1,033 | chartboost-mediation-android-sdk | MIT License |
kotlinx-coroutines-core/jvm/test/guide/example-flow-15.kt | hltj | 151,721,407 | false | null | /*
* Copyright 2016-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
// This file was automatically generated from coroutines-guide.md by Knit tool. Do not edit.
package kotlinx.coroutines.guide.flow15
import kotlinx.coroutines.*
import kotlinx.coroutines.flow.*
fun log(msg: ... | 1 | null | 106 | 255 | 9565dc2d1bc33056dd4321f9f74da085e6c0f39e | 806 | kotlinx.coroutines-cn | Apache License 2.0 |
src/test/kotlin/org/thiyagu/zally/reports/ReporterTest.kt | thiyagu06 | 384,658,347 | false | {"Kotlin": 53809, "HTML": 1660} | package org.thiyagu.zally.reports
import org.junit.jupiter.api.Test
import kotlin.test.assertTrue
class ReporterTest {
@Test
fun `should successfully generate report in the specific location`() {
assertTrue { true }
}
}
| 17 | Kotlin | 1 | 3 | 556ced61e8d0298feedb2bd490e37dc9c972dd64 | 243 | zally-gradle-plugin | MIT License |
odyssey/odyssey-compose/src/commonMain/kotlin/ru/alexgladkov/odyssey/compose/navigation/ComposeMultistackBuilder.kt | StanislavY | 451,101,456 | false | null | package ru.alexgladkov.odyssey.compose.navigation
import ru.alexgladkov.odyssey.compose.helpers.MutableScreenMap
import ru.alexgladkov.odyssey.compose.helpers.ScreenMap
import ru.alexgladkov.odyssey.core.destination.DestinationFlow
import ru.alexgladkov.odyssey.core.destination.DestinationMultiFlow
/**
* Compose mul... | 0 | Kotlin | 0 | 0 | b25d71a63ae8040b8fe40a9f494be3fcf1f8e8b2 | 1,158 | odyssey | MIT License |
feature/push/src/main/kotlin/de/tum/informatics/www1/artemis/native_app/feature/push/service/impl/NotificationSettingsServiceImpl.kt | ls1intum | 537,104,541 | false | null | package de.tum.informatics.www1.artemis.native_app.feature.push.service.impl
import de.tum.informatics.www1.artemis.native_app.core.data.NetworkResponse
import de.tum.informatics.www1.artemis.native_app.core.data.cookieAuth
import de.tum.informatics.www1.artemis.native_app.core.data.performNetworkCall
import de.tum.in... | 2 | Kotlin | 0 | 2 | 466a1c60c3b2f9a9b57c4a98adac0361e4c711c3 | 2,169 | artemis-android | Apache License 2.0 |
app/src/main/java/com/elementary/tasks/core/analytics/Traces.kt | naz013 | 165,067,747 | false | {"Kotlin": 2971145, "HTML": 20925} | package com.elementary.tasks.core.analytics
import android.content.Context
import com.elementary.tasks.R
import com.elementary.tasks.core.utils.Module
import com.elementary.tasks.core.utils.SuperUtil
import com.google.firebase.crashlytics.ktx.crashlytics
import com.google.firebase.crashlytics.setCustomKeys
import com.... | 0 | Kotlin | 3 | 6 | a6eecfda739be05a4b84e7d47284cd9e2bc782d6 | 1,525 | reminder-kotlin | Apache License 2.0 |
app/src/main/java/com/tharunbirla/librecuts/MainActivity.kt | tharunbirla | 873,590,113 | false | {"Kotlin": 41883} | package com.tharunbirla.librecuts
import android.Manifest
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.util.Log
import android.widget.Toast
import androidx.activity.result.ActivityResultLauncher
import andr... | 0 | Kotlin | 1 | 1 | dad8766e1511c46ddd3499453058d7a501b9868d | 5,954 | LibreCuts | MIT License |
common/src/commonMain/kotlin/entity/DiscordComponent.kt | kordlib | 202,856,399 | false | null | @file:Generate(
INT_KORD_ENUM, name = "ComponentType",
docUrl = "https://discord.com/developers/docs/interactions/message-components#component-object-component-types",
entries = [
Entry("ActionRow", intValue = 1, kDoc = "A container for other components."),
Entry("Button", intValue = 2, kDoc... | 54 | null | 82 | 922 | e99c5c583229d20e69632aae39cee47da637abef | 8,178 | kord | MIT License |
feature/teacher/impl/src/main/java/com/turtleteam/impl/data/repository/TeacherRepositoryImpl.kt | Egor-Liadsky | 711,194,733 | false | {"Kotlin": 188247} | package com.turtleteam.impl.data.repository
import com.turtleteam.api.BaseRepository
import com.turtleteam.api.data.repository.TeacherRepository
import com.turtleteam.api.models.GroupAndTeacher
import com.turtleteam.api.models.Schedule
import io.ktor.http.HttpMethod
import kotlinx.serialization.decodeFromString
import... | 0 | Kotlin | 0 | 0 | bbf8d1a4220fd781fb2ca007b7b7774e7bbb725d | 1,068 | TurtleAppAndroid | Apache License 2.0 |
src/nativeMain/kotlin/fr/amoya/ktaglib/platformdependent/file/NativeFileReader.kt | moya-a | 363,263,644 | false | null | package fr.amoya.ktaglib.platformdependent.file
/*
* fr.amoya.ktaglib.file
* As a part of the Project k-taglib
* @Author <NAME> : <<EMAIL>>
* Created on 30/04/2021
*/
class NativeFileReader : FileReader
{
override val size: Long
get() = -1L
override val cursor: Long
get() = 0L
override fun load(fil... | 0 | Kotlin | 0 | 1 | d3dd69285fa3d1d1efc35e22d5766f5a24a7f248 | 622 | k-taglib | MIT License |
src/test/kotlin/dev/shtanko/algorithms/leetcode/CountVowelsPermutationTest.kt | ashtanko | 203,993,092 | false | null | /*
* Copyright 2021 <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 wr... | 3 | Kotlin | 0 | 18 | dafb14ab0e1739d0ce9ad481a46c522689dab6b0 | 1,663 | kotlab | Apache License 2.0 |
app/src/main/java/com/dolar/mycoffee/entity/NetworkError.kt | Colibri91 | 452,211,546 | false | {"Kotlin": 39023} | package com.dolar.mycoffee.entity
/**
* Created by R. Mert Dolar on 7.01.2022.
*/
data class NetworkError(val errorCode: Int,
val error : String? = "",
val error_description : String? = "") | 0 | Kotlin | 0 | 0 | 7e1cfc3b59ee80c97ed63764a0f11db442972066 | 240 | CoffeeCompose | Apache License 2.0 |
basic_apps/motivation_generator/app/src/main/java/com/example/motivationgenerator/views/SplashActivity.kt | LucasGeek | 235,174,423 | false | null | package com.example.motivationgenerator.views
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.Toast
import com.example.motivationgenerator.R
import com.example.motivationgenerator.util.MotivationConstants
import com.e... | 0 | Kotlin | 0 | 0 | c4885d49adbd0cd6af461ca5a954bf9f28ce002e | 1,705 | Android-Native-APPS | MIT License |
kmongo-data/src/main/kotlin/org/litote/kmongo/DataRegistry.kt | Litote | 58,964,537 | false | null | /*
* Copyright (C) 2018 Litote
*
* 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 wr... | 42 | null | 74 | 797 | 4ee6939272ca54a342955130ae6d98eb947ace01 | 1,137 | kmongo | Apache License 2.0 |
ui/developer/settings/src/commonMain/kotlin/app/tivi/settings/developer/DevSettingsPresenter.kt | chrisbanes | 100,624,553 | false | null | // Copyright 2019, Google LLC, <NAME> and the Tivi project contributors
// SPDX-License-Identifier: Apache-2.0
package app.tivi.settings.developer
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.remember
import app.tivi.screens.DevLogScreen
import ap... | 21 | null | 857 | 6,290 | 1f8049e7f5898d6bd295c73fc6f1ed887e38d572 | 1,867 | tivi | Apache License 2.0 |
lib/src/main/kotlin/com/gshcherb/fixedtabs/FixedTabsDataSetObserver.kt | gshcherb | 144,211,549 | false | null | package com.gshcherb.fixedtabs
import android.database.DataSetObserver
import androidx.viewpager.widget.ViewPager
class FixedTabsDataSetObserver(
private val tabsLayout: FixedTabsLayout,
private val viewPager: ViewPager
) : DataSetObserver() {
override fun onChanged() {
super.onChanged()
... | 1 | null | 1 | 1 | 5162492de4bd3c61cf3e86cd7255a142d374e6cc | 545 | fixedtabslayout | Apache License 2.0 |
core/ui-kmp/src/androidMain/kotlin/org/michaelbel/movies/ui/compose/iconbutton/PasswordIcon.kt | michaelbel | 115,437,864 | false | null | package org.michaelbel.movies.ui.compose.iconbutton
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.material3.IconButton
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import a... | 7 | null | 31 | 186 | e7b74544e4951a2fd49cc02d7858fb8df89c0eae | 2,106 | movies | Apache License 2.0 |
common-ui/src/main/java/com/skydoves/common_ui/adapters/TvListAdapter.kt | skydoves | 225,837,633 | false | null | /*
* Designed and developed by 2019 skydoves (<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... | 4 | Kotlin | 52 | 353 | f9ef645bc86a9c13ab01624a7e6d21269c128b31 | 1,449 | GoldMovies | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.