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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
src/test/kotlin/canon/parser/xml/strategy/MultipleChoiceStrategyTest.kt | leftshiftone | 205,671,409 | false | null | package canon.parser.xml.strategy
import canon.extension.toNode
import canon.parser.xml.CanonXmlParser
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
class MultipleChoiceStrategyTest {
@Test
fun `ordinary parsing`() {
val xml = "<multipleChoice id='testId' class='... | 0 | Kotlin | 1 | 0 | 5babc577eeca5655cf92e64dd2693c591c72eb50 | 1,816 | canon | MIT License |
material-icon/src/main/kotlin/team/duckie/quackquack/material/icon/quackicon/outlined/Home.kt | duckie-team | 523,387,054 | false | {"Kotlin": 901061, "MDX": 51559, "JavaScript": 6871, "CSS": 1060} | /*
* Designed and developed by Duckie Team 2023.
*
* Licensed under the MIT.
* Please see full license: https://github.com/duckie-team/quack-quack-android/blob/main/LICENSE
*/
package team.duckie.quackquack.material.icon.quackicon.outlined
import androidx.compose.ui.graphics.StrokeCap.Companion.Round as strokeCa... | 45 | Kotlin | 8 | 99 | 24d44663cf5bea29fc73595b5f60be03b08e162b | 3,555 | quack-quack-android | MIT License |
iris-mock-compiler/src/main/kotlin/dev/arildo/iris/processor/IrisMockProcessorProvider.kt | arildojr7 | 634,544,161 | false | null | package dev.arildo.iris.processor
import com.google.devtools.ksp.processing.SymbolProcessor
import com.google.devtools.ksp.processing.SymbolProcessorEnvironment
import com.google.devtools.ksp.processing.SymbolProcessorProvider
class IrisMockProcessorProvider : SymbolProcessorProvider {
override fun create(enviro... | 1 | Kotlin | 1 | 2 | 9bff3b96da90cd91c74d446c139f6e4bbb67135d | 462 | iris-mock | Apache License 2.0 |
app/src/main/java/ru/popov/bodya/howmoney/presentation/ui/account/activities/AccountActivity.kt | popovbodya | 141,707,159 | false | null | package ru.popov.bodya.howmoney.presentation.ui.account.activities
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.support.v4.app.Fragment
import android.widget.Toast
import com.arellomobile.mvp.presenter.InjectPresenter
import com.arellomobil... | 0 | Kotlin | 1 | 0 | dcf1146ad4ca51ffbebf8dd6c931fbbdf5602a2c | 4,598 | HowMoney | MIT License |
flow/src/main/java/pro/progr/flow/composable/EditYear.kt | anastas-makar | 643,590,978 | false | null | package pro.progr.flow.composable
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material.Icon
import androidx.compose.material.IconButton
import androidx.compose.material.TextField
import... | 0 | Kotlin | 0 | 0 | 5e9562f98129215dc0e113bd7e2683892f3bfb94 | 2,122 | Flow | MIT License |
flow/src/main/java/pro/progr/flow/composable/EditYear.kt | anastas-makar | 643,590,978 | false | null | package pro.progr.flow.composable
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material.Icon
import androidx.compose.material.IconButton
import androidx.compose.material.TextField
import... | 0 | Kotlin | 0 | 0 | 5e9562f98129215dc0e113bd7e2683892f3bfb94 | 2,122 | Flow | MIT License |
basic-example/product/src/main/kotlin/com/pintailconsultingllc/product/controllers/dto/CategoryDTO.kt | cebartling | 347,271,498 | false | null | package com.pintailconsultingllc.product.controllers.dto
import com.pintailconsultingllc.product.jpa.entities.Category
import java.time.LocalDateTime
import java.util.UUID
data class CategoryDTO(
val id: UUID,
val version: Int,
var name: String,
val deleted: Boolean,
val createdAt: LocalDateTime,
... | 0 | Kotlin | 0 | 0 | 2687b751e3eb3d2482c9548791dc14df75330a70 | 733 | saga-pattern-examples | MIT License |
src/main/kotlin/entities/EntityRenderer.kt | MJARuijs | 238,959,670 | false | null | package com.blazeit.game.entities
import com.blazeit.game.graphics.Camera
import com.blazeit.game.graphics.lights.AmbientLight
import com.blazeit.game.graphics.lights.DirectionalLight
import com.blazeit.game.graphics.rendertargets.RenderTarget
import com.blazeit.game.graphics.rendertargets.attachments.AttachmentType
i... | 0 | Kotlin | 0 | 0 | ba34391da0b523907d84d71e47b70f4ad3c12173 | 2,776 | Morgan | MIT License |
app/src/main/java/com/roughlyunderscore/cubinghub/data/export/TwistyTimerAnalyzer.kt | RoughlyUnderscore | 764,166,604 | false | {"Kotlin": 140508} | package com.roughlyunderscore.cubinghub.data.export
import com.roughlyunderscore.cubinghub.data.export.type.Punishment
import com.roughlyunderscore.cubinghub.data.export.type.Solve
import com.roughlyunderscore.cubinghub.util.safeSubList
import com.roughlyunderscore.cubinghub.util.twistyTimeStringToTimestamp
class Twi... | 0 | Kotlin | 0 | 0 | a130514d6b4077dda9065c64a68520aed6d49672 | 1,634 | CubingHub | Apache License 2.0 |
kotest-assertions/kotest-assertions-shared/src/commonMain/kotlin/io/kotest/data/blocking/forAll10.kt | kotest | 47,071,082 | false | {"Kotlin": 4736924, "CSS": 352, "Java": 145} | package io.kotest.data.blocking
import io.kotest.data.Row10
import io.kotest.data.forAll
import io.kotest.data.forNone
import io.kotest.data.headers
import io.kotest.data.table
import io.kotest.mpp.reflection
fun <A, B, C, D, E, F, G, H, I, J> forAll(
vararg rows: Row10<A, B, C, D, E, F, G, H, I, J>,
testfn: (A... | 141 | Kotlin | 648 | 4,435 | 2ce83d0f79e189c90e2d7bb3d16bd4f75dec9c2f | 1,776 | kotest | Apache License 2.0 |
src/test/kotlin/com/github/epadronu/balin/core/BrowserSpec.kt | nielsfalk | 87,980,374 | true | {"Kotlin": 46165} | /******************************************************************************
* Copyright 2016 Edinson E. Padrón Urdaneta
*
* 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... | 0 | Kotlin | 0 | 0 | 607387ce173eb5c8bbf2f758e85118d71c04cda1 | 11,641 | balin | Apache License 2.0 |
app/src/main/java/com/oceanbrasil/ocean_jornada_android_maio_2023/model/source/local/hint/HintDao.kt | DevNicolasLacerda | 653,788,623 | false | null | package com.oceanbrasil.ocean_jornada_android_maio_2023.model.source.local.hint
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
@Dao
interface HintDao {
@Insert
fun insert(hint: HintEntity)
@Insert(onConflict = OnConflictStrategy.IGN... | 0 | Kotlin | 0 | 1 | 9949a844148dba8fcb3bc5f14b9315287344dab2 | 441 | jornada_android_ocean | MIT License |
components/wall/src/main/java/top/sunhy/talking/wall/WallViewModel.kt | RDSunhy | 421,280,382 | false | null | package top.sunhy.talking.wall
import top.sunhy.common.vm.CommonViewModel
class WallViewModel: CommonViewModel() {
} | 0 | Kotlin | 0 | 0 | ff8d615fceeb21169caba21df32e120e2ac783f6 | 118 | android-component | Apache License 2.0 |
Chapter07/Exercise7.01/app/src/main/java/com/example/movieapp/model/MoviesResponse.kt | PacktPublishing | 449,952,238 | false | {"Kotlin": 66206} | package com.example.movieapp.model
data class MoviesResponse(
val page: Int,
val results: List<Movie>
) | 0 | Kotlin | 3 | 20 | 00fbde0ecec8dccb8bf838504d9b40f9b1187574 | 112 | Simplifying-Android-Development-with-Coroutines-and-Flows | MIT License |
kvision-modules/kvision-material/src/jsMain/kotlin/io/kvision/material/chips/ChipEvents.kt | rjaros | 120,835,750 | false | {"Kotlin": 3524783, "CSS": 25183, "JavaScript": 16390, "HTML": 2425} | /*
* Copyright (c) 2017-present Robert Jaros
* Copyright (c) 2024 Maanrifa Bacar Ali <dev.manrif@gmail.com>
*
* 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, includ... | 17 | Kotlin | 65 | 1,235 | 7daa34594be70c037bfbaeefbfd1e3d7629e1e0b | 1,754 | kvision | MIT License |
app/src/test/java/com/ahmed3elshaer/geosquar/utils/Extensions.kt | ahmed3elshaer | 217,612,454 | false | null | /*
* *
* * Created by <NAME> on 10/28/19 7:24 AM
* * Copyright (c) 2019 . All rights reserved.
* * Last modified 10/28/19 7:24 AM
*
*/
package com.ahmed3elshaer.geosquar.utils
import org.mockito.Mockito
private fun <T> any(): T {
Mockito.any<T>()
return uninitialized()
}
private fun <T> uninitializ... | 0 | Kotlin | 7 | 25 | 0ba53aeb717182a4c3bbde83a6b46a3ad4635246 | 340 | GeoSquar | MIT License |
app/src/main/java/com/futag/futag/presentation/adapter/PostRecyclerAdapter.kt | FUTAG-Software | 365,867,008 | false | {"Kotlin": 158142} | package com.futag.futag.presentation.adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.AsyncListDiffer
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.Re... | 0 | Kotlin | 1 | 9 | 61e221679ae4385fff7f0667f9e4e0e28195c127 | 2,528 | FUTAG-Android | MIT License |
data/src/main/kotlin/team/applemango/runnerbe/data/user/repository/UserRepositoryImpl.kt | ricky-buzzni | 485,390,072 | false | {"Kotlin": 615137} | /*
* RunnerBe © 2022 Team AppleMango. all rights reserved.
* RunnerBe license is under the MIT.
*
* [UserRepositoryImpl.kt] created by Ji Sungbin on 22. 2. 28. 오후 11:38
*
* Please see: https://github.com/applemango-runnerbe/RunnerBe-Android/blob/main/LICENSE.
*/
package team.applemango.runnerbe.data.user.reposi... | 0 | null | 0 | 0 | f48fb298c07732a9c32afcff0bddb16f9fe2e37a | 5,091 | RunnerBe-Android | MIT License |
0450.Delete Node in a BST.kt | sarvex | 842,260,390 | false | {"Kotlin": 1775678, "PowerShell": 418} | /**
* Definition for a binary tree node.
* public class TreeNode {
* int val;
* TreeNode left;
* TreeNode right;
* TreeNode() {}
* TreeNode(int val) { this.val = val; }
* TreeNode(int val, TreeNode left, TreeNode right) {
* this.val = val;
* this.left = left;
* this.right = right;
* }
* }
*/
internal clas... | 0 | Kotlin | 0 | 0 | 71f5d03abd6ae1cd397ec4f1d5ba04f792dd1b48 | 916 | kotlin-leetcode | MIT License |
app/src/main/java/com/steleot/sample/ui/Constants.kt | Vivecstel | 321,435,519 | false | null | package com.steleot.sample.ui
const val SCAN_RESULT = "scan-result"
const val IS_SAVED = "is_saved"
| 0 | Kotlin | 0 | 2 | d379c43d99c524161d57c59eddd430b8e8323e1b | 101 | ble-kotlin | Apache License 2.0 |
plot-builder-portable/src/commonMain/kotlin/jetbrains/datalore/plot/builder/defaultTheme/DefaultTooltipsTheme.kt | JetBrains | 176,771,727 | false | null | /*
* Copyright (c) 2022. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package jetbrains.datalore.plot.builder.defaultTheme
import jetbrains.datalore.base.values.FontFace
import jetbrains.datalore.plot.builder.defaultTheme.values.ThemeOption.Ele... | 67 | Kotlin | 37 | 771 | ffa5728a09b348fae441a96aba27e5812a22c18c | 1,878 | lets-plot | MIT License |
feature_workbrowse/src/main/java/com/andtv/flicknplay/workbrowse/data/repository/GenreRepository.kt | procoder1128 | 553,094,605 | false | null | /*
* Copyright (C) 2021 Flicknplay
*
* 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 w... | 0 | Kotlin | 1 | 4 | 45d661d6b872c13b6a1235bbb9a44c91740d3f9d | 1,330 | blockchain | Apache License 2.0 |
app/src/main/java/io/flaterlab/kyrgyzdaamy/service/response/StreetResponse.kt | chorobaev | 355,274,946 | false | {"Kotlin": 168085} | package io.flaterlab.kyrgyzdaamy.service.response
import com.google.gson.annotations.SerializedName
data class StreetResponse(
@SerializedName("cityName")val cityName: String,
@SerializedName("id") val id: Int,
@SerializedName("name") val name: String
){
override fun toString(): Strin... | 0 | Kotlin | 0 | 1 | a1c17e42cefdf0536f4e1b9c235e0f434b9a1e58 | 363 | kyrgyz-daamy | MIT License |
app/src/main/java/com/hakmar/employeelivetracking/features/profile/di/ProfileDataModule.kt | enginemre | 584,733,724 | false | null | package com.hakmar.employeelivetracking.features.profile.di
import com.hakmar.employeelivetracking.common.domain.repository.DataStoreRepository
import com.hakmar.employeelivetracking.features.profile.data.remote.ProfileApi
import com.hakmar.employeelivetracking.features.profile.data.repository.ProfileRepositoryImpl
im... | 0 | Kotlin | 0 | 0 | 5e348e0a5aac89b4e60607a14a4ef9bbd68545a5 | 1,420 | employee_live_tracking | The Unlicense |
app/src/main/kotlin/dev/sanmer/pi/ui/theme/Shape.kt | SanmerApps | 720,492,308 | false | {"Kotlin": 190008, "Java": 9998, "AIDL": 2361} | package dev.sanmer.pi.ui.theme
import androidx.compose.material3.Shapes
val Shapes = Shapes() | 0 | Kotlin | 2 | 99 | 2239a6bb7920b97cfa4f75ade1df2b68f634997d | 95 | PI | MIT License |
src/test/kotlin/com/github/sukhinin/krabatron/proxy/ProxyTest.kt | sukhinin | 336,881,876 | false | null | package com.github.sukhinin.krabatron.proxy
import io.kotest.assertions.throwables.shouldThrow
import io.kotest.core.spec.style.ShouldSpec
import io.kotest.matchers.shouldBe
internal class ProxyTest : ShouldSpec({
should("parse host and port") {
val proxy = Proxy(Proxy.Type.HTTP, "127.0.0.1:8080")
... | 0 | Kotlin | 0 | 0 | 972aa714174a3cdeb724f443b7464b772cd52c5f | 715 | krabatron | MIT License |
utils/src/main/kotlin/com/ing/zkflow/util/Collections.kt | ing-bank | 550,239,957 | false | {"Kotlin": 1610321, "Shell": 1609} | package com.ing.zkflow.util
fun <T> List<T>.extendTo(newSize: Int, default: T): List<T> {
require(size <= newSize) {
"List size ($size) is larger than requested size ($newSize)."
}
return this + List(newSize - size) {
default
}
}
fun <T> List<T>.shrinkTo(newSize: Int): List<T> {
re... | 0 | Kotlin | 4 | 9 | f6e2524af124c1bdb2480f03bf907f6a44fa3c6c | 461 | zkflow | MIT License |
spring-restdocs-dsl-processor/src/main/kotlin/com/github/jntakpe/restdocs/dsl/processor/ProcessingEnvExtensions.kt | jntakpe | 163,886,345 | false | null | package com.github.jntakpe.restdocs.dsl.processor
import com.github.jntakpe.restdocs.dsl.processor.ApiDocumentedProcessor.Companion.KAPT_KOTLIN_GENERATED_OPTION_NAME
import java.io.File
import javax.annotation.processing.ProcessingEnvironment
import javax.annotation.processing.RoundEnvironment
import javax.lang.model.... | 10 | Kotlin | 0 | 2 | 96c8a5d63990c7bfd7235add51fd769ccb8c19d5 | 889 | spring-restdocs-dsl | Apache License 2.0 |
app/src/main/java/com/stocksexchange/android/model/PerformedCurrencyMarketActions.kt | nscoincommunity | 277,168,471 | true | {"Kotlin": 2814235} | package com.stocksexchange.android.model
import android.os.Parcelable
import com.stocksexchange.api.model.rest.CurrencyMarket
import kotlinx.android.parcel.Parcelize
@Parcelize
data class PerformedCurrencyMarketActions(
val updatedCurrencyMarketsMap: MutableMap<Int, CurrencyMarket> = mutableMapOf(),
val favor... | 0 | null | 0 | 0 | 52766afab4f96506a2d9ed34bf3564b6de7af8c3 | 3,261 | Android-app | MIT License |
wasi-emscripten-fs/src/linuxMain/kotlin/linux/LinuxStat.kt | illarionov | 769,429,996 | false | {"Kotlin": 1838071} | /*
* Copyright 2024, the wasm-sqlite-open-helper 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 ru.pixnews.wasm.sqlite.open.helper.host... | 0 | Kotlin | 1 | 3 | 5f513e2413987ce681f12ea8e14a2aff2c56a7fd | 3,042 | wasm-sqlite-open-helper | Apache License 2.0 |
src/main/kotlin/com/github/insanusmokrassar/AutoPostSmartTimerTrigger/SmartTimerConfigTimeItem.kt | InsanusMokrassar | 143,629,437 | false | null | package com.github.insanusmokrassar.AutoPostSmartTimerTrigger
import com.github.insanusmokrassar.AutoPostSmartTimerTrigger.utils.*
import kotlinx.serialization.*
import kotlinx.serialization.internal.ArrayListSerializer
import org.joda.time.DateTime
@Serializable
class SmartTimerConfigTimeItem (
@Optional
val... | 0 | Kotlin | 0 | 0 | 21c65c8f1285ed1a03a887749759ff68ad2832ba | 1,638 | AutoPostSmartTimerTrigger | Apache License 2.0 |
app/src/main/java/com/chjaeggi/boardgametracker/users/UsersFragment.kt | chjaeggi | 162,888,339 | false | null | package com.chjaeggi.boardgametracker.users
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import com.chjaeggi.boardgametracker.R
import com.chjaeggi.boardgametracker.databinding.FragmentUsersBinding
import ... | 0 | Kotlin | 0 | 1 | 63397107c03404ad4ec9e130f5f1a38ec3a0ae15 | 848 | boardgametracker | Apache License 2.0 |
app/src/main/kotlin/com/ending0421/multirepo/DemoApp.kt | ending0421 | 877,172,260 | false | {"Kotlin": 26609} | package com.ending0421.multirepo
import android.app.Application
import com.ending0421.multirepo.di.appModule
import com.ending0421.multirepo.di.networkModule
import com.ending0421.multirepo.di.repositoryModule
import com.ending0421.multirepo.di.useCaseModule
import com.ending0421.multirepo.di.viewModelModule
import or... | 0 | Kotlin | 0 | 0 | 09cc88524dc5a60c1963dc21a3a8e67828ee4c66 | 816 | ComposeArchitecture | Apache License 2.0 |
app/src/main/java/com/fanstaticapps/randomticker/ui/BaseActivity.kt | carvaq | 300,246,718 | false | null | package com.fanstaticapps.randomticker.ui
import android.widget.Toast
import androidx.annotation.StringRes
import androidx.appcompat.app.AppCompatActivity
/**
* Created by carvaq
* Date: 20/09/2017
* Project: RandomTicker
*/
abstract class BaseActivity : AppCompatActivity() {
protected fun toast(@StringRes ... | 0 | Kotlin | 0 | 1 | e17cdec6f94112ab0446712f44cec38147a886b4 | 406 | random-ticker | Apache License 2.0 |
z2-kotlin-plugin/src/hu/simplexion/z2/kotlin/adaptive/ir/arm2ir/ArmCallBuilder.kt | spxbhuhb | 665,463,766 | false | {"Kotlin": 1615216, "CSS": 166528, "Java": 13957, "HTML": 1560, "JavaScript": 975} | package hu.simplexion.z2.kotlin.adaptive.ir.arm2ir
import hu.simplexion.z2.kotlin.adaptive.FqNames
import hu.simplexion.z2.kotlin.adaptive.Indices
import hu.simplexion.z2.kotlin.adaptive.Strings
import hu.simplexion.z2.kotlin.adaptive.ir.arm.ArmCall
import hu.simplexion.z2.kotlin.adaptive.ir.arm.ArmSupportFunctionArgu... | 5 | Kotlin | 0 | 1 | b883ad66b061c9a2707db94944f679e9c5929567 | 5,387 | z2 | Apache License 2.0 |
app/src/main/java/com/example/android/marsphotos/BindingAdapters.kt | aadarshsing | 667,079,650 | false | null | package com.example.android.marsphotos
import android.view.View
import android.widget.ImageView
import androidx.core.net.toUri
import androidx.databinding.BindingAdapter
import androidx.recyclerview.widget.RecyclerView
import coil.load
import com.example.android.marsphotos.network.MarsPhoto
import com.example.android.... | 0 | Kotlin | 0 | 0 | 0c7d15d7f537af0fcc4efadd941db178b502ca6e | 1,616 | MarsphotoApp | Apache License 2.0 |
databinding-observables-rx/src/test/java/io/androidalatan/databinding/observables/rx/ObservableDoubleRxAdapterTest.kt | android-alatan | 464,567,867 | false | null | package io.androidalatan.databinding.observables.rx
import androidx.databinding.ObservableDouble
import org.junit.jupiter.api.Test
class ObservableDoubleRxAdapterTest {
@Test
fun toObservable() {
val observableBoolean = ObservableDouble(1.0)
val testObserver = observableBoolean
.t... | 0 | Kotlin | 1 | 2 | 4be87a61a89ff1e8010ec2b8227a1fa307bfda8d | 2,143 | Databinding | MIT License |
kotlin-lecture/src/main/kotlin/inflearn/lec19/JumpAndLabel.kt | highright96 | 499,829,960 | false | {"Kotlin": 114073, "Java": 941} | package inflearn.lec19
fun main() {
val arr = listOf(1, 2, 3)
run {
arr.forEach { number ->
if (number == 2) {
return@run
}
}
}
arr.forEach { number ->
if (number == 2) {
return@forEach
}
}
loop@ for (i in 1.... | 0 | Kotlin | 0 | 2 | c3cd06deba34ac5b1e60650c638af65034d6ac42 | 463 | kotlin-sandbox | MIT License |
app/src/main/java/com/example/ch8n/search/MovieSearchActivity.kt | ch8n | 311,709,766 | false | null | package com.example.ch8n.search
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.view.View
import android.widget.Toast
import com.example.ch8n.search.adapter.MovieSearchAdapter
import com.e... | 0 | Kotlin | 0 | 0 | 43368c4b734973a5be740de1ada2ee9059cbf753 | 3,527 | Mvvm-movie-list-sample | Apache License 2.0 |
android/app/src/main/kotlin/com/example/menu_pos/MainActivity.kt | emrbli | 438,076,432 | false | null | package com.example.menu_pos
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | null | 0 | 0 | 9b33764a5dd955c4c9fb02a1bd0fa1b57346384d | 125 | menu_pos | MIT License |
src/main/kotlin/com/baulsupp/okurl/services/weekdone/model/weekdone.kt | yschimke | 48,341,449 | false | {"Kotlin": 515385, "Shell": 843, "Smarty": 777} | package com.baulsupp.okurl.services.weekdone.model
| 16 | Kotlin | 15 | 126 | 32ad9f89d17500399ac16b735f1398ad6ca32f41 | 51 | okurl | Apache License 2.0 |
app/src/main/java/dev/jahidhasanco/firebasemvvm/viewmodel/AuthViewModel.kt | JahidHasanCO | 524,866,956 | false | null | package dev.jahidhasanco.firebasemvvm.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import dev.jahidhasanco.firebasemvvm.data.model.User
import dev.jahidhasanco.firebasemvvm.repository.AuthRepository
import dev.jahidhasanco.fir... | 0 | Kotlin | 4 | 6 | 6dafbd735a5fd0c15654c75589a6bb984f87c0a5 | 3,179 | Android-MVVM-Architecture-Firebase-Dagger-Hilt-Coroutines-Flow | MIT License |
core/src/commonMain/kotlin/com/erolc/mrouter/backstack/entry/PageEntry.kt | ErolC | 786,106,502 | false | {"Kotlin": 283488, "Swift": 1008} | package com.erolc.mrouter.backstack.entry
import androidx.compose.animation.core.ExperimentalTransitionApi
import androidx.compose.animation.core.MutableTransitionState
import androidx.compose.animation.core.rememberTransition
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fill... | 0 | Kotlin | 0 | 3 | 6948878733c1866218ead13b6bb5b8e18dfaa0bf | 8,950 | MRouter | Apache License 2.0 |
app/src/main/java/com/alex/cooksample/ui/recipes/detail/RecipeDetailFragment.kt | oleksandr-riabykh | 452,447,704 | false | null | package com.alex.cooksample.ui.recipes.detail
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import com.alex.cook... | 0 | Kotlin | 0 | 0 | 5c80926fbac618ab7929e67bce1361d07d947dfa | 3,592 | cookapp | MIT License |
app/src/main/java/id/rllyhz/dailyus/presentation/ui/post/PostFragment.kt | rllyhz | 563,114,184 | false | {"Kotlin": 132812} | package id.rllyhz.dailyus.presentation.ui.post
import android.Manifest
import android.annotation.SuppressLint
import android.app.Activity.RESULT_OK
import android.content.Context.INPUT_METHOD_SERVICE
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.gr... | 0 | Kotlin | 0 | 0 | 29510cf4ae67e83ca2e57825f3d70fb5a3798f70 | 13,478 | DailyUs | MIT License |
app/src/main/java/com/example/wellcome/MainActivity.kt | WellcomeSolution | 407,485,016 | false | {"Kotlin": 189938, "Java": 72597} | package com.example.wellcome
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import com.google.android.material.bottomsheet.BottomSheetBehavior
import androidx.fragment.app.Fragment
import android.content.Intent
import android.util.Log
import android.view.Window
impor... | 0 | Kotlin | 0 | 3 | 6e01f6922c3c8ce86df15286f94ced6ea8b5e185 | 1,383 | Wellcome | MIT License |
nfclib/src/main/java/com/zhengsr/nfclib/NfcType.kt | LillteZheng | 287,002,688 | false | null | package com.zhengsr.nfclib
/**
* @author by zhengshaorui 2020/8/27 11:35
* describe:
*/
enum class NfcType {
EDEF,
UNKOWN
} | 0 | Kotlin | 0 | 3 | a3e1e6afc6346c5855d3028ceeda13a43d2d5170 | 135 | NfcDemo | Apache License 2.0 |
packages/expo-dev-menu-interface/android/src/main/java/expo/interfaces/devmenu/DevMenuDelegateInterface.kt | expo | 65,750,241 | false | {"Gemfile.lock": 1, "YAML": 79, "Git Config": 1, "JSON with Comments": 175, "Ignore List": 236, "JSON": 713, "Markdown": 291, "JavaScript": 1979, "Text": 62, "Git Attributes": 7, "Shell": 66, "Ruby": 99, "TSX": 976, "Gradle": 106, "Java Properties": 5, "Batchfile": 4, "INI": 8, "Proguard": 10, "XML": 273, "Kotlin": 121... | package expo.interfaces.devmenu
import android.os.Bundle
interface DevMenuDelegateInterface {
/**
* Returns a `Bundle` with the most important information about the current app.
*/
fun appInfo(): Bundle?
/**
* Returns a [ReactHostWrapper] ot the currently shown app. It is a context of what the dev men... | 668 | TypeScript | 5226 | 32,824 | e62f80228dece98d5afaa4f5c5e4fb195f3daa15 | 436 | expo | Apache License 2.0 |
src/main/kotlin/com/frontleaves/greenchaincarbonledger/config/startup/StartupConfiguration.kt | carbon-ledger | 766,586,691 | false | {"JSON": 3, "Maven POM": 1, "Text": 1, "Ignore List": 1, "Markdown": 1, "INI": 1, "Kotlin": 50, "YAML": 24, "HTML": 6, "Java": 132, "XML": 1} | package com.frontleaves.greenchaincarbonledger.config.startup
import com.frontleaves.greenchaincarbonledger.annotations.KotlinSlf4j.Companion.log
import org.springframework.boot.CommandLineRunner
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.s... | 0 | Java | 0 | 0 | e150719a39a181c0d641b11e2e35d0e78c6ad075 | 4,105 | GreenChainCarbonLedger | MIT License |
md-mathjax/src/desktopMain/kotlin/com/wakaztahir/markdowncompose/mathjax/MathJax.kt | Qawaz | 485,501,273 | false | null | package com.wakaztahir.markdowncompose.mathjax
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.runtime.*
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.ImageBitmap
import androidx.compose.ui.graphics.toComposeImageBitmap
i... | 0 | Kotlin | 0 | 0 | 5293904088ab9ace4d4b1e7e7788437cadd513d6 | 1,750 | markdown-compose | MIT License |
src/commonMain/kotlin/com/dxc/ssi/agent/didcomm/model/issue/data/CredentialOffer.kt | dxc-technology | 259,322,339 | false | {"Kotlin": 598967, "Objective-C": 537589, "Objective-C++": 442889, "C": 238203, "Ruby": 12614, "Shell": 7187, "Swift": 1114} | package com.dxc.ssi.agent.didcomm.model.issue.data
import kotlinx.serialization.Serializable
//Marker interface
interface CredentialOffer | 3 | Kotlin | 6 | 5 | 9bede83e0358b16d6dc9459ccc2fd85541027b6c | 139 | ssi-mobile-sdk | Apache License 2.0 |
compiler/src/main/java/cn/jailedbird/arouter/ksp/compiler/InterceptorSymbolProcessorProvider.kt | JailedBird | 611,236,215 | false | {"Kotlin": 62632, "Java": 10223} | package cn.jailedbird.arouter.ksp.compiler
import cn.jailedbird.arouter.ksp.compiler.utils.*
import cn.jailedbird.arouter.ksp.compiler.utils.findAnnotationWithType
import cn.jailedbird.arouter.ksp.compiler.utils.findModuleName
import com.alibaba.android.arouter.facade.annotation.Interceptor
import com.google.devtools.... | 0 | Kotlin | 6 | 50 | 900ac09731c0326f6a0d5cebdc43844462ca9ef8 | 6,606 | ArouterKspCompiler | Apache License 2.0 |
src/main/kotlin/kuery/operators/LogicalOperators.kt | hofiisek | 416,094,974 | false | {"Kotlin": 21891} | package kuery.operators
import kuery.ParameterizedSqlizable
import kuery.functions.Condition
import kuery.functions.MultiParamCondition
import kuery.functions.NoParamCondition
import kuery.functions.SingleParamCondition
sealed class LogicalOperator : ParameterizedSqlizable() {
abstract val parent: LogicalOperato... | 0 | Kotlin | 0 | 0 | bce795f2b51db59c4b35221852259abfa27486e3 | 3,208 | KueryDSL | MIT License |
app/src/main/java/br/com/chicorialabs/passhash/ui/main/MainFragment.kt | chicorasia | 385,574,545 | false | null | package br.com.chicorialabs.passhash.ui.main
import android.app.AlertDialog
import android.content.DialogInterface
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import br.com.chicorialabs.passhash.databinding.Add... | 0 | Kotlin | 0 | 1 | f7e8b05f01dc98d245c531b3cdf3c05fa56d04b4 | 2,534 | passhash | MIT License |
server/src/main/kotlin/io/provenance/invoice/calculator/InvoiceCalculator.kt | hyperschwartz | 446,950,410 | false | {"Kotlin": 270514, "Shell": 2246, "Dockerfile": 263} | package io.provenance.invoice.calculator
import io.provenance.invoice.domain.dto.InvoiceDto
import io.provenance.invoice.domain.dto.PaymentDto
import io.provenance.invoice.util.enums.InvoiceStatus
import io.provenance.invoice.util.enums.PaymentStatus
import io.provenance.invoice.util.extension.daysBetweenI
import io.p... | 0 | Kotlin | 0 | 0 | d69c623e3c0ae51a2bbb2dde73bcdc860a0b2a39 | 4,618 | service-invoice | Apache License 2.0 |
ksdtoolkit-core/src/main/kotlin/hr.unipu.ksdtoolkit/models/ModelInheritedCompoundInterest.kt | unipu-ict | 327,935,092 | false | null | package hr.unipu.ksdtoolkit.models
import hr.unipu.ksdtoolkit.integration.RungeKuttaIntegration
/**
* Inheritance of Simple Compound Interest Model.
*
* @author [<NAME>](mailto:<EMAIL>)
*/
class ModelInheritedCompoundInterest : ModelSimpleCompoundInterest() {
// Static properties:
companion object {
... | 0 | Kotlin | 0 | 2 | add686d7d83c918b917df70b787b164970dec272 | 2,429 | ksdtoolkit | Apache License 2.0 |
rxhive-core/src/main/kotlin/com/sksamuel/rxhive/evolution/StrictSchemaEvolver.kt | sksamuel | 13,625,531 | false | null | package com.sksamuel.rxhive.evolution
import com.sksamuel.rxhive.DatabaseName
import com.sksamuel.rxhive.Struct
import com.sksamuel.rxhive.StructType
import com.sksamuel.rxhive.TableName
import org.apache.hadoop.hive.metastore.IMetaStoreClient
/**
* An implementation of [SchemaEvolver] that requires the schema in th... | 0 | Kotlin | 46 | 318 | a604ef62ae6bcbd148594b51ed52c4cee910c099 | 1,330 | akka-patterns | Apache License 2.0 |
app/src/main/java/mr/lalic/playground/MainActivity.kt | lalicmarko | 342,654,472 | false | null | package mr.lalic.playground
import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.material.MaterialTheme
import androidx.compose.material... | 1 | Kotlin | 0 | 0 | 71d7db8486c21be278759f14df1fe73d1b8ede5d | 1,389 | playground | Apache License 2.0 |
feature/edit-note/api/src/main/java/ru/maksonic/beresta/feature/edit_note/api/EditNoteApi.kt | maksonic | 580,058,579 | false | null | package ru.maksonic.beresta.feature.edit_note.api
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
/**
* @Author maksonic on 23.02.2023
*/
interface EditNoteApi {
interface Ui {
@Composable
fun Widget(isNotesScrollUp: () -> Boolean, modifier: Modifier)
}
} | 0 | Kotlin | 0 | 0 | 5704d413cd57a8eabe27b02a185a999fce2ca1e4 | 315 | Beresta | MIT License |
src/main/kotlin/com/github/rushyverse/api/entity/PlayerNPCEntity.kt | Rushyverse | 578,345,187 | false | null | package com.github.rushyverse.api.entity
import com.github.rushyverse.api.position.IAreaLocatable
import net.kyori.adventure.text.Component
import net.minestom.server.entity.EntityType
import net.minestom.server.entity.GameMode
import net.minestom.server.entity.Player
import net.minestom.server.network.packet.server.p... | 0 | Kotlin | 0 | 2 | bf3a94b26e277c7515af45089ad906f8a949c81d | 1,969 | api | MIT License |
examples/function/update/updateAFunction/main.kt | GWT-M3O-TEST | 485,009,715 | false | null |
package examples.function.update
import com.m3o.m3okotlin.M3O
import com.m3o.m3okotlin.services.function
suspend fun main() {
M3O.initialize(System.getenv("M3O_API_TOKEN"))
val req = FunctionUpdateRequest(Name = "helloworld",)
try {
val response = FunctionServ.update(req)
println(response)
} ... | 1 | Kotlin | 1 | 0 | 54158b584ba47bd7323a484804dcd78c55ef7f69 | 366 | m3o-kotlin | Apache License 2.0 |
app/src/main/java/com/rejowan/pdfreaderpro/database/DBHelper.kt | ahmmedrejowan | 696,907,897 | false | {"Kotlin": 179727, "Java": 163713} | package com.rejowan.pdfreaderpro.database
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import android.database.sqlite.SQLiteOpenHelper
open class DBHelper(context: Context) : SQLiteOpenHelper(context, DATABASE_NAME, null, DATABASE_VERSION) {
companion object {
const val DA... | 1 | Kotlin | 0 | 3 | c89445b7039bf02dd7ea9d169df8686058e50e1a | 769 | PdfReaderPro | Apache License 2.0 |
app/src/main/java/com/biachacon/todolist/database/AppDatabase.kt | BiaChacon | 220,573,047 | false | null | package com.biachacon.todolist.database
import androidx.room.Database
import androidx.room.RoomDatabase
import com.biachacon.todolist.dao.TaskDao
import com.biachacon.todolist.dao.ToDoListDao
import com.biachacon.todolist.model.Task
import com.biachacon.todolist.model.ToDoList
@Database(
entities = [Task::class,T... | 0 | Kotlin | 1 | 1 | 817297beb5c24ebf80431345f69ee8d3f65bbd4e | 481 | ToDoList | MIT License |
app/src/main/java/com/example/simplepay/SimplePayApp.kt | naveenfunk | 831,210,966 | false | {"Kotlin": 50354} | package com.example.simplepay
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class SimplePayApp : Application()
| 0 | Kotlin | 0 | 0 | 372577b2b58dfc0e3e80e57f486fa0df2aa65373 | 156 | SimplePay | MIT License |
ktlint-ruleset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/rules/AnnotationRule.kt | pinterest | 64,293,719 | false | null | package com.pinterest.ktlint.ruleset.standard.rules
import com.pinterest.ktlint.rule.engine.core.api.ElementType
import com.pinterest.ktlint.rule.engine.core.api.ElementType.ANNOTATED_EXPRESSION
import com.pinterest.ktlint.rule.engine.core.api.ElementType.ANNOTATION
import com.pinterest.ktlint.rule.engine.core.api.Ele... | 32 | Kotlin | 463 | 5,475 | c8f7d6c7b62977189c5cfa0fcacf917520abe153 | 18,411 | ktlint | MIT License |
product/appkit/src/main/kotlin/com/reown/appkit/ui/routes/account/what_is_network/WhatIsNetworkRoute.kt | reown-com | 851,466,242 | false | {"Kotlin": 2055654, "Java": 4294, "Shell": 1676} | package com.reown.appkit.ui.routes.account.what_is_network
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import ... | 6 | Kotlin | 1 | 8 | 893084b3df91b47daa77f8f964e37f84a02843b1 | 2,913 | reown-kotlin | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/linear/Wifi.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.linear
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 2,634 | VuesaxIcons | MIT License |
app/src/main/java/com/example/myapplication/main/adapters/BlogPostAdapter.kt | ahmedfadul123 | 524,736,305 | false | {"Kotlin": 24993} | package com.example.myapplication.main.adapters
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.example.myapplication.R
import com.example.myapplication.ap... | 0 | Kotlin | 0 | 3 | 8d61aa902a416d07995f415dafe11fb271e624b8 | 1,554 | Learning-Retrofit | Apache License 2.0 |
libkit/src/main/java/com/merxury/libkit/utils/ServiceHelper.kt | lihenggui | 115,417,337 | false | null | package com.merxury.libkit.utils
import com.elvishew.xlog.XLog
import com.merxury.libkit.RootCommand
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext
class ServiceHelper(private val packageName: String) {
private val logger = XLog.tag("Servi... | 14 | Kotlin | 37 | 323 | bf2979d5b94c60ab3a172cfec0fff38420e10519 | 2,396 | blocker | Apache License 2.0 |
app/src/main/java/com/uxstate/instantscore/data/remote/json/FixtureDetailsJsonParser.kt | Tonnie-Dev | 578,703,528 | false | {"Kotlin": 256289, "Java": 130256} | package com.uxstate.instantscore.data.remote.json
import com.uxstate.instantscore.domain.models.fixture_details.*
import javax.inject.Inject
import javax.inject.Singleton
import org.json.JSONObject
// force single instance of FixtureDetailsJsonParser for the entire app process
@Singleton
/*
Use @Inject so that Hilt ... | 0 | Kotlin | 2 | 0 | 5061dc42b599751afb7f6cbf5bff7122afe7a70d | 10,541 | InstantScore | The Unlicense |
app/src/main/java/com/hha/heinhtetaung/mm_kunyi/event/FirebaseEvent.kt | zack1191 | 142,954,194 | false | null | package com.hha.heinhtetaung.mm_kunyi.event
import com.hha.heinhtetaung.mm_kunyi.data.vo.JobsVO
/**
* Created by E5 on 8/2/2018.
*/
class FirebaseEvent {
companion object
class JobsLoadedEvent {
private lateinit var job: List<JobsVO>
fun JobsLoaded(jobs: List<JobsVO>) {
this.jo... | 0 | Kotlin | 0 | 0 | fa1c70a37218215b2b7938d90d2b94f62932ea6f | 420 | PADC-5-HHA-MM-KuNyi | Apache License 2.0 |
ion-schema/src/test/kotlin/com/amazon/ionschema/writer/internal/constraints/ValidValuesWriterTest.kt | amazon-ion | 148,685,964 | false | {"Kotlin": 804755, "Inno Setup": 15625, "Java": 795, "Shell": 631} | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package com.amazon.ionschema.writer.internal.constraints
import com.amazon.ionschema.model.ConsistentDecimal
import com.amazon.ionschema.model.ConsistentTimestamp
import com.amazon.ionschema.model.Constraint.V... | 40 | Kotlin | 14 | 27 | 7a9ee6d06e9cfdaa530310f5d9be9f5a52680d3b | 2,745 | ion-schema-kotlin | Apache License 2.0 |
src/test/kotlin/com/randomlychosenbytes/kotlintest/DummyTest.kt | wmentzel | 295,164,360 | false | null | package com.randomlychosenbytes.kotlintest
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.TestInstance
import org.junit.jupiter.api.TestInstance.Lifecycle
@TestInstance(Lifecycle.PER_CLASS)
class DummyTest {
@Test
fun `test the truth`() {
... | 0 | Kotlin | 0 | 0 | 850a00918b6585d9fcc8c2b1eb864f0c2c587b9a | 349 | github-actions-test | MIT License |
src/main/kotlin/ChatTheSpire/console/TreasureChestOpenConsoleCommand.kt | FylmTM | 246,153,979 | false | null | package ChatTheSpire.console
import ChatTheSpire.command.TreasureChestOpenCommand
import basemod.DevConsole
import basemod.devcommands.ConsoleCommand
class TreasureChestOpenConsoleCommand : ConsoleCommand() {
init {
minExtraTokens = 0
maxExtraTokens = 0
}
override fun execute(tokens: Arr... | 0 | Kotlin | 0 | 0 | 898f415a1d9f2a20d8d91bd89ff7b3f1bf7cf53d | 555 | ChatTheSpire | MIT License |
app/src/main/java/com/dr1009/app/gr/ui/retrofit/RetrofitViewModel.kt | koji-1009 | 283,180,624 | false | null | package com.dr1009.app.gr.ui.retrofit
import androidx.hilt.Assisted
import androidx.hilt.lifecycle.ViewModelInject
import androidx.lifecycle.*
import com.dr1009.app.gr.entity.RepositoryFragment
import com.dr1009.app.gr.repository.RetrofitRepository
import kotlinx.coroutines.launch
class RetrofitViewModel @ViewModelIn... | 0 | Kotlin | 0 | 0 | bf43cb3748483408bb2644efddbf8c257fef0607 | 840 | GraphQL-Retrofit | MIT License |
aws/src/test/java/com/nimbusframework/nimbusaws/annotation/services/functions/DocumentStoreFunctionResourceCreatorTest.kt | zmyer | 232,053,429 | true | {"Kotlin": 535208, "Java": 75469, "JavaScript": 12405, "CSS": 297, "Dockerfile": 148} | package com.nimbusframework.nimbusaws.annotation.services.functions
import com.nimbusframework.nimbusaws.CompileStateService
import com.nimbusframework.nimbusaws.annotation.processor.FunctionInformation
import com.nimbusframework.nimbusaws.annotation.services.FunctionEnvironmentService
import com.nimbusframework.nimbu... | 0 | null | 0 | 0 | 77aa887df9e8613c40cf355e97acc1f91d4b67e0 | 2,793 | nimbus-core | MIT License |
pig-runtime/src/org/partiql/pig/runtime/IntermediateRecord.kt | alancai98 | 312,336,136 | true | {"Kotlin": 752870, "FreeMarker": 20128} | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "... | 0 | Kotlin | 0 | 0 | 105495c4afc4d81890c3949088d0b5e0a45f3257 | 3,591 | partiql-ir-generator | Apache License 2.0 |
onebusaway-sdk-java-core/src/main/kotlin/com/open_transit/api/services/blocking/StopService.kt | OneBusAway | 864,202,238 | false | {"Kotlin": 1841904, "Shell": 3662, "Dockerfile": 399} | // File generated from our OpenAPI spec by Stainless.
@file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102
package com.open_transit.api.services.blocking
import com.open_transit.api.core.RequestOptions
import com.open_transit.api.models.StopRetrieveParams
import com.open_transit... | 0 | Kotlin | 0 | 0 | 4139f96c4d90517f472a1b2561df813ad231f904 | 586 | java-sdk | Apache License 2.0 |
app/src/main/java/qwqeqrqwqeqr/android/room/database/dao/BookDao.kt | qwqeqrqwqeqr | 775,294,342 | false | {"Kotlin": 30769} | package qwqeqrqwqeqr.android.room.database.dao
import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import androidx.room.Transaction
import androidx.room.Update
import kotlinx.coroutines.flow.Flow
import qwqeqrqwqeqr.android... | 0 | Kotlin | 0 | 0 | f27e718eb35c05e431630f3e37608e321bf97356 | 1,362 | android-room-sample | Apache License 2.0 |
app/src/main/java/vn/sunasterisk/travelapp/data/DataManager.kt | duccnv-1684 | 177,320,613 | false | null | package vn.sunasterisk.travelapp.data
interface DataManager
| 0 | Kotlin | 0 | 0 | 06f5e2a790a37bb65aa6c60a744372aa3257282f | 61 | travel_app | Apache License 2.0 |
app/src/main/java/tr/com/gndg/self/ui/product/stateScreens/HistoryStateScreen.kt | Cr3bain | 840,332,370 | false | {"Kotlin": 567278} | package tr.com.gndg.self.ui.product.stateScreens
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import a... | 0 | Kotlin | 0 | 0 | 12e58c3753a642bfd922d9cca44486eef3453e88 | 5,644 | self | Apache License 2.0 |
app/src/main/java/com/tcc/alif/data/util/StringExtension.kt | Limatucano | 343,949,865 | false | null | package com.tcc.alif.data.util
import android.text.Editable
import android.text.Html
fun String?.emptyIfNull() : String = if(this == "null" || this == null) "" else this
fun String.fromHtml() = Html.fromHtml(this, Html.FROM_HTML_MODE_COMPACT)
fun Editable?.size(): Int{
if(this == null){
return 0
}
... | 0 | Kotlin | 0 | 4 | a5774ef6e248f94d9e886bda5fcb972af6056c23 | 343 | alif | MIT License |
app/src/main/java/com/artf/chatapp/App.kt | CoderEslam | 567,322,476 | false | null | package com.artf.chatapp
import android.app.Application
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.OnLifecycleEvent
import androidx.lifecycle.ProcessLifecycleOwner
import com.google.firebase.database.FirebaseDatabase
import dagger.hilt.android.HiltAndroidA... | 0 | Kotlin | 0 | 0 | e83e946c7fb843453764e9aaaeb481a458b5eecf | 1,223 | ChatApp-2-master | Apache License 2.0 |
properties/src/main/kotlin/net/aquadc/properties/executor/adapter.kt | Miha-x64 | 102,399,925 | false | null | package net.aquadc.properties.executor
import net.aquadc.properties.ChangeListener
import net.aquadc.properties.diff.DiffChangeListener
import net.aquadc.properties.internal.Unset
import net.aquadc.properties.internal.unset
import java.lang.UnsupportedOperationException
import java.util.concurrent.Executor
import java... | 11 | Kotlin | 10 | 118 | d0a804271d0aaaa6368a2addce3ef7f081f5f560 | 3,465 | Lychee | Apache License 2.0 |
app/src/main/java/com/example/android/politicalpreparedness/MyApplication.kt | tudang88 | 615,278,817 | false | null | package com.example.android.politicalpreparedness
import android.app.Application
import androidx.lifecycle.SavedStateHandle
import com.example.android.politicalpreparedness.database.ElectionDatabase
import com.example.android.politicalpreparedness.election.ElectionsViewModel
import com.example.android.politicalprepare... | 0 | Kotlin | 0 | 0 | 284cda7122972dbffb95b9d4d06ae38c2315a3fb | 1,578 | PoliticalPreparedness | Apache License 2.0 |
gherkinatorbdd/src/main/java/com/codefirst/bdd/gherkinatorbdd/v2/GherkinatorEngine.kt | MichBogus | 112,871,825 | false | null | package com.codefirst.bdd.gherkinatorbdd.v2
import android.content.Context
import com.codefirst.bdd.gherkinatorbdd.GherkinatorRobot
import com.codefirst.bdd.gherkinatorbdd.v2.helper.FeatureFilePathHelper
import com.codefirst.bdd.gherkinatorbdd.v2.scenarioprovider.FileReader
import com.codefirst.bdd.gherkinatorbdd.v2.s... | 0 | Kotlin | 0 | 0 | 9ef9b85583f67662d91ed71ae4160500c35b5e0e | 908 | Gherkinator | Apache License 2.0 |
domain/src/main/kotlin/team/duckie/app/android/domain/recommendation/usecase/FetchRecommendationsUseCase.kt | duckie-team | 503,869,663 | false | {"Kotlin": 1819917} | /*
* Designed and developed by Duckie Team, 2022
*
* Licensed under the MIT.
* Please see full license: https://github.com/duckie-team/duckie-android/blob/develop/LICENSE
*/
package team.duckie.app.android.domain.recommendation.usecase
import androidx.compose.runtime.Immutable
import team.duckie.app.android.doma... | 32 | Kotlin | 1 | 8 | 5dbd5b7a42c621931d05a96e66431f67a3a50762 | 616 | duckie-android | MIT License |
testing/src/main/java/com/whiskersapps/sniffer/Testing.kt | Whiskers-Apps | 841,668,228 | false | {"Kotlin": 8502} | package com.whiskersapps.sniffer
class Testing {
} | 0 | Kotlin | 0 | 1 | e3d9c295d152924f6ce9eaf1bfb793d06ba940b9 | 51 | sniffer-kt | MIT License |
cryptoclient/src/main/java/com/sombrero/cryptoclient/CryptoService.kt | tonihuotari | 145,533,443 | false | null | package com.sombrero.cryptoclient
import com.sombrero.cryptoclient.apimodels.ApiCoinListing
import com.sombrero.cryptoclient.apimodels.ApiTickerListing
import com.sombrero.cryptoclient.apimodels.ApiTickerSpecific
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Path
interface CryptoServi... | 0 | Kotlin | 0 | 0 | 87a64568167f481abb100447a901af433eea9ca3 | 597 | crypto-cap | Apache License 2.0 |
app/src/main/java/com/tverona/scpanywhere/downloader/StateData.kt | tverona1 | 325,158,334 | false | null | package com.tverona.scpanywhere.downloader
/**
* Object representing state of async downloading & other IO operations
*/
data class StateData<out T>(val status: Status, val data: T?, val error: Throwable?) {
enum class Status {
SUCCESS,
ERROR,
UPDATE
}
companion object {
... | 1 | Kotlin | 0 | 6 | 6e8246b683ad46c2803fe69fc6890f915b280881 | 683 | SCPAnywhere | MIT License |
app/src/test/java/com/example/bookshelfapp/fake/FakeBookShelfRepository.kt | CyroPCJr | 856,417,973 | false | {"Kotlin": 23843} | package com.example.bookshelfapp.fake
import com.example.bookshelfapp.data.BookShelfRepository
import com.example.bookshelfapp.network.BookItem
class FakeBookShelfRepository : BookShelfRepository {
override suspend fun getVolumeBooks(query: String): List<BookItem> {
return FakeDataSource.bookResponse.ite... | 0 | Kotlin | 0 | 0 | 648deca515843bac409b6c95a9cd257f79aca587 | 330 | BookShelfApp | MIT License |
app/src/main/java/com/rumeysaozer/seyahatharitasi/model/Travel.kt | rumeysaozer0 | 505,480,200 | false | null | package com.rumeysaozer.seyahatharitasi.model
import androidx.room.Entity
import androidx.room.PrimaryKey
import java.io.Serializable
@Entity
class Travel (
var name : String,
var explanation : String,
var latittude: Double,
var longtitude : Double
) : Serializable {
@PrimaryKey(autoGener... | 0 | Kotlin | 0 | 0 | 0e93a7279502c6b81118e1e24b5d473ed45783f7 | 348 | GoogleMaps | MIT License |
app/src/main/java/org/ahivs/composeplayground/ui/row/SimpleRow.kt | laaptu | 645,137,012 | false | null | package org.ahivs.composeplayground.ui.row
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import androidx.compose.ui.layout.Layout
import androidx.compose.ui.layout.Measurable
import androidx.compose.ui.layou... | 0 | Kotlin | 0 | 0 | b3e4e08082c61c11e98bf45ad43ab75030006cbb | 2,225 | learn-jetpack-compose | MIT License |
rx/src/main/kotlin/com/github/fsbarata/functional/data/rx/SingleF.kt | fsbarata | 277,280,202 | false | {"Kotlin": 309214} | package com.github.fsbarata.functional.data.rx
import com.github.fsbarata.functional.Context
import com.github.fsbarata.functional.control.*
import io.reactivex.rxjava3.core.Single
import io.reactivex.rxjava3.core.SingleObserver
class SingleF<A: Any>(private val wrapped: Single<A>): Single<A>(),
MonadZip<SingleConte... | 0 | Kotlin | 2 | 0 | 9f3601b8c0fc26caf1b9303030313983a52cf2d9 | 2,068 | kotlin-functional | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/AdjustmentsShare.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.tabler.tabler.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
im... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 5,544 | compose-icon-collections | MIT License |
discussions/discussions-adapter-input-rest-spring-mvc/src/main/kotlin/org/orkg/discussions/adapter/input/rest/representations.kt | TIBHannover | 197,416,205 | false | {"Kotlin": 2686425, "Cypher": 216726, "Python": 4881, "Groovy": 1936, "Shell": 1803, "HTML": 240} | package org.orkg.discussions.adapter.input.rest
import com.fasterxml.jackson.annotation.JsonProperty
import java.time.OffsetDateTime
import org.orkg.common.ContributorId
import org.orkg.discussions.domain.DiscussionCommentId
data class DiscussionCommentRepresentation(
val id: DiscussionCommentId,
val message:... | 0 | Kotlin | 2 | 5 | 0df68801d82d8c36f6d3778d1971694b1b88b062 | 463 | orkg-backend | MIT License |
src/main/kotlin/com/example/domain/models/BaseResponse.kt | ToanBarcelona1998 | 858,525,458 | false | {"Kotlin": 35566, "HTML": 73} | package com.example.domain.models
import kotlinx.serialization.Serializable
@Serializable
data class BaseResponseSuccessful<T>(val message: String,val data: T , val code: Int = 200)
@Serializable
data class BaseResponseError<T>(val code : Int , val message: String , val data: T) | 0 | Kotlin | 0 | 1 | 429ba08bbe2014211f50e39fd78cbed53192639a | 281 | fast-ai | MIT License |
src/jsMain/kotlin/matt/file/file.kt | mgroth0 | 513,680,528 | false | {"Kotlin": 96456} | package matt.file
import matt.lang.model.file.FsFile
actual fun FsFile.toIoFile(): IoFile = TODO()
| 0 | Kotlin | 0 | 0 | 6368a86e214f5aa032ef622f6ed27a9929e0788a | 103 | file | MIT License |
app/src/main/java/com/engineerfred/kotlin/ktor/ui/navigation/AdminHomeNavGraph.kt | EngFred | 763,078,300 | false | {"Kotlin": 375304} | package com.engineerfred.kotlin.ktor.ui.navigation
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.navigation.NavHostController
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import com.engineerfred.kotlin.ktor.ui.screens.admin.ad... | 0 | Kotlin | 0 | 0 | bf9031db3581709d5de44181361e1246850b6092 | 1,798 | quiz-quest | MIT License |
src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/resolve/ref/Namespace.kt | anboralabs | 302,825,861 | false | null | package co.anbora.labs.firebase.lang.core.psi.resolve.ref
sealed class Visibility {
object Public : Visibility()
object Internal : Visibility()
}
enum class Namespace {
NAME,
TYPE,
SPEC_ITEM,
SCHEMA,
SCHEMA_FIELD,
MODULE,
STRUCT_FIELD,
DOT_ACCESSED_FIELD;
}
| 1 | Kotlin | 6 | 26 | aca37769ce7578ff8f2e08a5d05890a18bf918fe | 300 | intellij-firebase-highlighter | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.