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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
android/src/main/kotlin/com/sayx/hm_cloud/callback/TextWatcherImp.kt | Rambo0422 | 584,657,563 | false | {"Kotlin": 386440, "Objective-C": 233182, "HTML": 5359, "Dart": 4600, "C": 3161, "Java": 1522, "Ruby": 1205} | package com.sayx.hm_cloud.callback
import android.text.Editable
import android.text.TextWatcher
abstract class TextWatcherImp : TextWatcher {
override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {
}
override fun onTextChanged(s: CharSequence?, start: Int, before: Int, coun... | 0 | Kotlin | 0 | 0 | 4a8043b3a55ee33032fabe76714590f26d17704c | 395 | hm_cloud_flutter | MIT License |
app/src/main/java/io/nosyntax/foundation/domain/model/app_config/AppConfig.kt | aelrahmanashraf | 683,553,348 | false | {"Kotlin": 192257, "Groovy": 3276, "HTML": 1491, "Batchfile": 1149, "Shell": 744} | package io.nosyntax.foundation.domain.model.app_config
data class AppConfig(
val app: App,
val configuration: Configuration
) {
data class App(
val id: String,
val name: String,
val category: String,
val description: String
)
data class Configuration(
val t... | 0 | Kotlin | 0 | 0 | 5ab9c734083fdd5a0d4d1f419fab0c5ffc932483 | 511 | nosyntax-foundation-android | MIT License |
app/shared/src/iosMain/kotlin/dev/avatsav/linkding/IosUiComponent.kt | avatsav | 576,855,763 | false | {"Kotlin": 255958, "Swift": 2031} | package dev.avatsav.linkding
import com.r0adkll.kimchi.annotations.ContributesSubcomponent
import dev.avatsav.linkding.inject.AppScope
import dev.avatsav.linkding.inject.UiScope
import dev.avatsav.linkding.inject.annotations.SingleIn
import dev.avatsav.linkding.ui.MainUIViewController
import me.tatarka.inject.annotati... | 2 | Kotlin | 0 | 9 | 73518b1652503edc4ba4323922281bc616a6be8f | 817 | linkding-apps | MIT License |
domain/src/main/kotlin/com/seanshubin/kotlin/tryme/domain/shell/Prototype.kt | SeanShubin | 129,466,612 | false | {"XML": 1, "Maven POM": 3, "Ignore List": 1, "Markdown": 1, "Shell": 1, "Text": 8, "JSON": 1, "Kotlin": 355, "HTML": 2, "Java": 2} | package com.seanshubin.code.sync.shell
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.asCoroutineDispatcher
import kotlinx.coroutines.launch
import java.io.OutputStreamWriter
import java.io.PrintWriter
import java.nio.charset.StandardCharsets
import java.n... | 1 | null | 1 | 1 | 1803f204372d994130167749c22f825c51c6a434 | 1,601 | kotlin-tryme | The Unlicense |
tools/ksp/site-processors/src/main/kotlin/com/varabyte/kobweb/ksp/util/RouteUtils.kt | varabyte | 389,223,226 | false | null | package com.varabyte.kobweb.ksp.util
import com.google.devtools.ksp.symbol.KSFile
import com.varabyte.kobweb.common.text.camelCaseToKebabCase
import com.varabyte.kobweb.common.text.prefixIfNot
import com.varabyte.kobweb.ksp.symbol.nameWithoutExtension
object RouteUtils {
/**
* Perform a default transformatio... | 109 | null | 70 | 1,556 | da9ea932d01d770cdd6cf2afce50edc9b615fde2 | 5,118 | kobweb | Apache License 2.0 |
app/src/main/java/com/breezefieldstatcon/features/viewAllOrder/api/OrderDetailsListRepo.kt | DebashisINT | 878,294,212 | false | {"Kotlin": 16043339, "Java": 1030448} | package com.breezefieldstatcon.features.viewAllOrder.api
import com.breezefieldstatcon.app.Pref
import com.breezefieldstatcon.features.login.model.productlistmodel.NewOdrScrOrderListModel
import com.breezefieldstatcon.features.viewAllOrder.OrdResponse
import com.breezefieldstatcon.features.viewAllOrder.model.NewOrderD... | 0 | Kotlin | 0 | 0 | 841b394cc9a8c393b0598bd87699d7d798cb1a96 | 1,507 | StatconEnergiaa | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsmanageadjudicationsapi/services/reported/AmendHearingOutcomeServiceTest.kt | ministryofjustice | 416,301,250 | false | null | package uk.gov.justice.digital.hmpps.hmppsmanageadjudicationsapi.services.reported
import jakarta.validation.ValidationException
import org.assertj.core.api.Assertions
import org.junit.jupiter.api.Nested
import org.junit.jupiter.api.Test
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params... | 6 | Kotlin | 0 | 3 | fc46931a8d940ffe3d2f14b497fc6d23f81212fa | 15,809 | hmpps-manage-adjudications-api | MIT License |
compiler/src/commonMain/kotlin/com/hsc/compiler/span/SourceMap.kt | sndyx | 775,217,744 | false | {"Kotlin": 256296} | package com.hsc.compiler.span
import kotlinx.io.buffered
import kotlinx.io.files.Path
import kotlinx.io.files.SystemFileSystem
import kotlinx.io.readString
import kotlin.random.Random
data class SourceMap(
val files: MutableMap<Int, SourceFile> = mutableMapOf()
) {
fun loadFile(path: Path): SourceFile {
... | 0 | Kotlin | 1 | 5 | 721bd33659baa0ce37c4a0c1df9dc3b2f64b743a | 1,363 | hsl | MIT License |
Rejestrator/app/src/main/java/com/example/rejestrator/view/viewmodel/Admin/AdminEmployeeListViewModel.kt | mikolajbuczak | 328,607,218 | false | null | package com.example.rejestrator.view.viewmodel.Admin
import android.app.Application
import android.util.Log
import android.widget.ArrayAdapter
import androidx.core.content.ContentProviderCompat.requireContext
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.Mutabl... | 0 | Kotlin | 1 | 1 | 0c5c0b556be1a56b79bc020ab81318377a6c76a9 | 6,708 | rejestrator-app | MIT License |
kotlin-eclipse-ui/src/org/jetbrains/kotlin/ui/refactorings/rename/KotlinRenameAction.kt | bvfalcon | 263,980,575 | false | null | /*******************************************************************************
* Copyright 2000-2015 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.a... | 19 | null | 7 | 43 | e6360b023e1e377325f1d10bda5755e3fc3af591 | 9,675 | kotlin-eclipse | Apache License 2.0 |
sample/src/main/java/com/drake/brv/sample/model/SimpleBindingModel.kt | liangjingkanji | 206,460,689 | false | null | package com.drake.brv.sample.model
import com.drake.brv.BindingAdapter
import com.drake.brv.item.ItemBind
import com.drake.brv.sample.R
import com.drake.brv.sample.databinding.ItemSimpleBinding
class SimpleBindingModel : ItemBind {
override fun onBind(holder: BindingAdapter.BindingViewHolder) {
// 不推荐这种方... | 6 | Kotlin | 261 | 2,047 | 47c95b9adadab18ec54a7419fbff5c591b885741 | 1,094 | BRV | MIT License |
app/src/main/java/com/liuxing/daily/view/CustomYearMonthSwitchPreference.kt | LiuXing0327 | 866,029,430 | false | {"Kotlin": 169365} | package com.liuxing.daily.view
import android.content.Context
import android.util.AttributeSet
import androidx.preference.Preference
import androidx.preference.PreferenceManager
import androidx.preference.PreferenceViewHolder
import com.google.android.material.materialswitch.MaterialSwitch
import com.liuxing.daily.R
i... | 0 | Kotlin | 0 | 8 | 21f1d6af69d0fa79f729b3b08f09146cbc4b6a6a | 1,321 | LiuXingDaily | Apache License 2.0 |
plugins/search-everywhere-ml/src/com/intellij/ide/actions/searcheverywhere/ml/SearchEverywhereFoundElementInfoWithMl.kt | pamikola | 10,377,361 | false | {"Text": 6921, "INI": 564, "YAML": 412, "Ant Build System": 10, "Batchfile": 34, "Shell": 621, "Markdown": 673, "Ignore List": 119, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 244, "XML": 6949, "SVG": 3540, "Kotlin": 47058, "Java": 79701, "HTML": 3201, "Java Properties": 211, "Gradle": 431, "Maven POM... | package com.intellij.ide.actions.searcheverywhere.ml
import com.intellij.ide.actions.searcheverywhere.SearchEverywhereContributor
import com.intellij.ide.actions.searcheverywhere.SearchEverywhereFoundElementInfo
import com.intellij.ide.util.gotoByName.GotoActionModel
import com.intellij.internal.statistic.eventLog.eve... | 1 | null | 1 | 1 | 839c8173ca942efd3da9f1190eac3de30f875f8c | 1,679 | intellij-community | Apache License 2.0 |
compiler/testData/codegen/box/constants/float.kt | JakeWharton | 99,388,807 | false | null | // IGNORE_BACKEND: JS_IR
fun box(): String {
if (1F != 1.toFloat()) return "fail 1"
if (1.0F != 1.0.toFloat()) return "fail 2"
if (1e1F != 1e1.toFloat()) return "fail 3"
if (1.0e1F != 1.0e1.toFloat()) return "fail 4"
if (1e-1F != 1e-1.toFloat()) return "fail 5"
if (1.0e-1F != 1.0e-1.toFloat()) r... | 12 | null | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 649 | kotlin | Apache License 2.0 |
app/src/main/java/eu/kanade/tachiyomi/source/online/all/NHentai.kt | az4521 | 176,152,541 | false | null | package eu.kanade.tachiyomi.source.online.all
import android.content.Context
import android.net.Uri
import com.github.salomonbrys.kotson.get
import com.github.salomonbrys.kotson.nullArray
import com.github.salomonbrys.kotson.nullLong
import com.github.salomonbrys.kotson.nullObj
import com.github.salomonbrys.kotson.nul... | 54 | null | 7 | 471 | a72df3df5073300e02054ee75dc990d196cd6db8 | 11,765 | TachiyomiAZ | Apache License 2.0 |
android/clientlib-ktx/src/main/java/com/solana/mobilewalletadapter/clientlib/MobileWalletAdapter.kt | yveskalume | 713,388,124 | true | {"Ignore List": 26, "Markdown": 12, "Text": 6, "Java Properties": 7, "Gradle": 23, "Shell": 8, "Batchfile": 7, "INI": 13, "Proguard": 6, "XML": 72, "Java": 82, "Kotlin": 70, "YAML": 12, "JSON": 21, "JSON with Comments": 9, "JavaScript": 11, "TSX": 37, "Ruby": 5, "Starlark": 1, "Diff": 1, "Dotenv": 2, "OpenStep Property... | package com.solana.mobilewalletadapter.clientlib
import android.app.Activity.RESULT_CANCELED
import android.content.ActivityNotFoundException
import com.solana.mobilewalletadapter.clientlib.protocol.JsonRpc20Client
import com.solana.mobilewalletadapter.clientlib.protocol.MobileWalletAdapterClient
import com.solana.mob... | 2 | null | 0 | 0 | db64eb559547ebd5abc4fe7e4e94865e694b84ff | 9,083 | mobile-wallet-adapter | Apache License 2.0 |
mobile_app1/module957/src/main/java/module957packageKt0/Foo482.kt | uber-common | 294,831,672 | false | null | package module957packageKt0;
annotation class Foo482Fancy
@Foo482Fancy
class Foo482 {
fun foo0(){
module957packageKt0.Foo481().foo6()
}
fun foo1(){
foo0()
}
fun foo2(){
foo1()
}
fun foo3(){
foo2()
}
fun foo4(){
foo3()
}
fun foo5(){
foo4()
}
fun foo6(){
foo5(... | 6 | Java | 6 | 72 | 9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e | 327 | android-build-eval | Apache License 2.0 |
src/main/kotlin/courses/udacity/Buildings.kt | gaurav-singh | 173,131,066 | false | {"Gradle": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 1, "INI": 1, "Kotlin": 82, "JSON": 2, "Java": 2} | package courses.udacity
/*
Let’s put this into practice using building materials and a building that needs certain amounts of those materials.
Create a new package and file and call them Buildings.
Create a class BaseBuildingMaterial with a property numberNeeded that is set to 1. You always need 1 of the base... | 0 | Kotlin | 0 | 1 | c800a4e71254b6b3b749c8b4dbb41f5742baa3d0 | 2,689 | grasp-kotlin | Apache License 2.0 |
app/src/main/java/com/zll/kotlin/binding/BindObservable.kt | neverwoodsS | 70,446,370 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Java": 2, "XML": 7, "Kotlin": 4} | package com.zll.hellokotlin.binding
import kotlin.properties.ReadWriteProperty
import kotlin.reflect.KProperty
/**
* Created by zhangll on 16/10/9.
*/
class BindObservable<T> (val default: T)
: ReadWriteProperty<Any?, T> {
var value : T? = null
val subscribers: MutableList<((T) -> Unit)> = mutableListOf()
... | 0 | Kotlin | 0 | 1 | 56f968727d20480336147b9eca947a03b4c93737 | 888 | KotlinBinding | MIT License |
app/src/free/java/com/example/dagger/MainActivityModule.kt | lkw1830 | 95,329,165 | false | {"Java": 10065, "Kotlin": 2869} | package com.example.dagger
import dagger.Module
import dagger.android.ContributesAndroidInjector
/**
* Created by LKW on 24/6/2017.
*/
@Module
abstract class MainActivityModule {
@ContributesAndroidInjector
internal abstract fun mainActivity(): MainActivity
}
| 1 | null | 1 | 1 | 641cca07192431e9fef0ea27f5380fb6a5692903 | 273 | android-dagger2-multiple-flavors-example | MIT License |
Final/presentation/src/main/java/ubb/thesis/david/monumental/common/FlatButton.kt | davidleiti | 163,836,279 | false | {"Text": 1, "Markdown": 1, "Gradle": 6, "Java Properties": 2, "Shell": 1, "Ignore List": 5, "Batchfile": 1, "Kotlin": 123, "JSON": 1, "Proguard": 2, "XML": 66, "Java": 2} | package ubb.thesis.david.monumental.common
import android.content.Context
import android.graphics.drawable.ColorDrawable
import android.graphics.drawable.Drawable
import android.graphics.drawable.GradientDrawable
import android.util.AttributeSet
import android.widget.FrameLayout
import android.widget.TextView
import a... | 0 | Kotlin | 0 | 2 | 59ca0edd6bf8f004c0a712ce532fcc107f58d147 | 2,332 | Monumental | MIT License |
idea/testData/intentions/declarations/convertMemberToExtension/genericProperty.kt | erokhins | 44,854,854 | true | {"Markdown": 33, "XML": 665, "Ant Build System": 45, "Ignore List": 7, "Git Attributes": 1, "Kotlin": 20967, "Java": 4534, "Protocol Buffer": 7, "Text": 4663, "JavaScript": 63, "JAR Manifest": 3, "Roff": 46, "Roff Manpage": 11, "INI": 17, "HTML": 152, "Groovy": 23, "Java Properties": 14, "Maven POM": 49, "Gradle": 74, ... | // ERROR: Property must be initialized or be abstract
// ERROR: Type parameter of a property must be used in its receiver type
class Owner<T> {
val <R> <caret>p: R
}
| 0 | Java | 0 | 1 | ff00bde607d605c4eba2d98fbc9e99af932accb6 | 171 | kotlin | Apache License 2.0 |
compose/foundation/foundation/src/androidAndroidTest/kotlin/androidx/compose/foundation/lazy/LazyCustomKeysTest.kt | virendersran01 | 367,029,992 | true | {"Java": 47531382, "Kotlin": 29631498, "Python": 304753, "Shell": 120357, "C++": 37213, "ANTLR": 19860, "HTML": 10802, "TypeScript": 6933, "CMake": 3330, "JavaScript": 1343} | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 0 | null | 0 | 1 | d013398a743b10a8202e24c3a1d3def900a78f8f | 7,755 | androidx | Apache License 2.0 |
app/src/main/java/com/biotel/iot/util/BluetoothLeScanner.kt | pandeypiyush94 | 282,539,893 | false | {"Java": 79144, "Kotlin": 39672} | package com.biotel.iot.util
import android.bluetooth.BluetoothAdapter.LeScanCallback
import android.os.Handler
import android.util.Log
@Suppress("MemberVisibilityCanBePrivate")
class BluetoothLeScanner(private val bluetoothAdapterWrapper: BluetoothAdapterWrapper) {
private val mHandler: Handler = Handler()
p... | 1 | Java | 1 | 1 | 5e8d9614a90a1c3d40061597e25892f7ef28f0f3 | 1,750 | Biotel-IoT | Apache License 2.0 |
analytics/src/test/java/io/appmetrica/analytics/impl/startup/uuid/UuidValidatorTest.kt | appmetrica | 650,662,094 | false | null | package io.appmetrica.analytics.impl.startup.uuid
import android.os.Build
import io.appmetrica.analytics.testutils.CommonTest
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.ParameterizedRobolectricTestRunner
import org.robolectric.annotati... | 2 | null | 7 | 54 | ae0626e12338a01ce0effad1e9e3706a85b9e752 | 1,851 | appmetrica-sdk-android | MIT License |
app/src/main/java/cn/iimedia/jb/ContactUsActivity.kt | ncxnbrwa | 143,690,461 | false | null | package cn.iimedia.jb
import android.os.Bundle
import android.text.TextUtils
import android.view.MotionEvent
import android.view.View
import cn.iimedia.jb.common.Config
import cn.iimedia.jb.http.APIConstants
import cn.iimedia.jb.http.bean.ContactUsBean
import com.xiong.appbase.base.BaseActivity
import com.xiong.appbas... | 1 | null | 1 | 1 | f7336035401cab53cb0158d9218e17669c82c4f4 | 5,081 | jb | Apache License 2.0 |
library/src/main/java/com/chuckerteam/chucker/api/internal/data/entity/HttpHeader.kt | koral-- | 202,359,454 | true | {"Java Properties": 1, "YAML": 3, "Markdown": 7, "Text": 1, "Gradle": 7, "Shell": 2, "Batchfile": 1, "Ignore List": 4, "INI": 3, "XML": 35, "Kotlin": 28, "Proguard": 2, "Java": 19} | package com.chuckerteam.chucker.api.internal.data.entity
internal data class HttpHeader(val name: String, val value: String)
| 0 | Java | 0 | 1 | 8c0367a2bb528855d057387b6e0aac19d9429183 | 126 | chucker | Apache License 2.0 |
compiler/resolution/src/org/jetbrains/kotlin/resolve/calls/components/CallableReferenceResolver.kt | yuexiaodong | 98,856,226 | true | {"Markdown": 40, "Shell": 6, "Batchfile": 10, "Kotlin": 33481, "Java": 5006, "HTML": 343, "JavaScript": 226, "INI": 70, "Java Properties": 15, "Proguard": 7, "CSS": 1, "Gradle Kotlin DSL": 14} | /*
* 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... | 0 | Java | 0 | 1 | 24865ba26a245b681750a1e9ad8da41a13460cf7 | 5,667 | kotlin | Apache License 2.0 |
SingleModuleApp/app/src/main/java/com/github/yamamotoj/singlemoduleapp/package99/Foo09921.kt | yamamotoj | 163,851,411 | false | {"Text": 1, "Ignore List": 30, "Markdown": 1, "Gradle": 34, "Java Properties": 11, "Shell": 6, "Batchfile": 6, "Proguard": 22, "Kotlin": 36021, "XML": 93, "INI": 1, "Java": 32, "Python": 2} | package com.github.yamamotoj.singlemoduleapp.package99
class Foo09921 {
fun method0() {
Foo09920().method5()
}
fun method1() {
method0()
}
fun method2() {
method1()
}
fun method3() {
method2()
}
fun method4() {
method3()
}
fun met... | 0 | Kotlin | 0 | 9 | 2a771697dfebca9201f6df5ef8441578b5102641 | 355 | android_multi_module_experiment | Apache License 2.0 |
src/main/kotlin/basic/grammar/demo2/test3.kt | programing-language | 375,609,760 | false | {"Gradle": 1, "Shell": 1, "Text": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 2, "Java Properties": 1, "Kotlin": 192, "Java": 3} | package basic.grammar.demo2
import basic.grammar.demo1.Country
import basic.grammar.demo1.CountryApp
import basic.grammar.demo1.CountryTest
/**
* Created by chenjinxin on 2021/6/11 下午3:24
*/
fun main() {
val countryApp = CountryApp()
val countryTest = CountryTest()
val countries = listOf<Country>()
... | 1 | null | 1 | 1 | f614aef0f625b0ac403dd0f8acfe3be384ae25e5 | 394 | KotlinCoreProgramming | Apache License 2.0 |
frames/src/main/java/com/checkout/frames/utils/constants/PaymentDetailsScreenConstants.kt | checkout | 140,300,675 | false | {"Kotlin": 1048834, "Java": 19853, "Shell": 517} | package com.checkout.frames.utils.constants
public object PaymentDetailsScreenConstants {
/** Screen padding in dp. */
public const val padding: Int = 16
/** Field bottom margin in dp. */
public const val marginBottom: Int = 24
}
| 14 | Kotlin | 37 | 51 | 6eda7b1a9331c5fb1ababa205e3f3123f1b56ff3 | 248 | frames-android | MIT License |
preview-designer/src/com/android/tools/idea/preview/util/device/DeviceSpecFileType.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2024 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... | 5 | null | 227 | 948 | 10110983c7e784122d94c7467e9d243aba943bf4 | 1,141 | android | Apache License 2.0 |
app/src/main/java/de/dhelleberg/spotifykidsplayer/ui/artists/ArtistFragment.kt | hovisto | 788,609,462 | false | {"Java": 59469, "Kotlin": 25676} | package de.dhelleberg.spotifykidsplayer.ui.artists
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.navigation.fragment.NavHostFragment
impo... | 0 | Java | 0 | 0 | 6f2f860fcc54f260c1063d0a376073a6cdaddcbb | 1,953 | spotify-kids-player | Apache License 2.0 |
chat/src/main/java/com/dastanapps/dastanlib/chat/beans/DChatMessage.kt | DastanIqbal | 268,110,924 | false | {"Java": 692857, "Kotlin": 417485} | package com.dastanapps.dastanlib.chat.beans
import com.dastanapps.dastanlib.DastanChatApp
import org.jivesoftware.smack.packet.Message
/**
* Created by DastanIqbal on 7/10/16.
*/
class DChatMessage(to: String, //public String from;
private val msg: String, private val isGroup: Boolean) {
pr... | 1 | null | 1 | 1 | a91a9ba58b9a9008a60c57e1126c0201338fb47f | 866 | DastanLib | MIT License |
library/src/main/java/com/goyourfly/tabviewpager/BaseTabViewPagerFragment.kt | h950059h | 181,263,638 | true | {"Java Properties": 2, "Gradle": 5, "Shell": 1, "Batchfile": 1, "Text": 6, "Ignore List": 4, "Proguard": 3, "Java": 690, "XML": 120, "Kotlin": 7, "JSON": 5, "Markdown": 1} | package com.goyourfly.tabviewpager
import android.content.Context
import android.graphics.Canvas
import android.graphics.Rect
import android.os.Bundle
import android.os.Handler
import android.support.v4.app.Fragment
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
impo... | 0 | Java | 2 | 0 | 92bbf3d37b0e6229f606a055ec4ff3fd11191251 | 5,927 | wormhole-wallet-android | Apache License 2.0 |
educational-core/src/com/jetbrains/edu/learning/ui/studyItemUIExt.kt | JetBrains | 43,696,115 | false | null | package com.jetbrains.edu.learning.ui
import com.intellij.openapi.util.NlsActions
import com.jetbrains.edu.coursecreator.StudyItemType
import com.jetbrains.edu.coursecreator.presentableName
import com.jetbrains.edu.learning.codeforces.courseFormat.CodeforcesCourse
import com.jetbrains.edu.learning.codeforces.courseFor... | 5 | null | 48 | 125 | 92c10f8e85078b7fdaaafa502ad3eedd5a7b2861 | 1,755 | educational-plugin | Apache License 2.0 |
mercury/src/main/java/com/yupaopao/mercury/library/tunnel/MessageController.kt | BixinTech | 573,245,841 | false | null | package com.yupaopao.mercury.library.tunnel
import android.os.Handler
import android.os.Looper
import com.yupaopao.mercury.library.common.AccessMessage
import com.yupaopao.mercury.library.common.Header
import com.yupaopao.mercury.library.tunnel.model.MercuryMessage
import java.util.HashMap
abstract class MessageCont... | 0 | Kotlin | 5 | 11 | 77fb8f41dadc18372a958810ac92e649d3929373 | 2,531 | sona-android | Apache License 2.0 |
src/main/kotlin/indi/midreamsheep/app/tre/shared/frame/engine/parser/paragraph/head/HeadParser.kt | Simple-Markdown | 744,897,915 | false | {"Kotlin": 264030, "Java": 62889} | package indi.midreamsheep.app.tre.shared.frame.engine.parser.paragraph.head
import androidx.compose.material3.Divider
import indi.midreamsheep.app.tre.api.annotation.render.line.LineParserMap
import indi.midreamsheep.app.tre.service.ioc.di.inject.mapdi.annotation.MapKey
import indi.midreamsheep.app.tre.shared.api.disp... | 0 | Kotlin | 0 | 3 | f6b076f509e8d6069bcd601594df1c663c04a91e | 2,443 | SMarkdown | Apache License 2.0 |
domain/src/main/java/com/chun/domain/repository/SearchRepository.kt | nchungdev | 398,720,732 | false | null | package com.chun.domain.repository
import com.chun.domain.model.Otaku
import kotlinx.coroutines.flow.Flow
interface SearchRepository {
suspend fun search(type: String, keyword: String, page: Int): Flow<List<Otaku>>
} | 0 | Kotlin | 0 | 0 | 92a75c4304243f379f168ad4eb786de1028cc727 | 222 | AnimeDi | MIT License |
donut-kata/src/main/kotlin/bnymellon/codekatas/donutkatakotlin/Donut.kt | tmaskibail | 256,564,070 | true | {"Java": 472828, "Kotlin": 39336} | /*
* Copyright 2020 The Bank of New York Mellon.
*
* 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 ... | 8 | Java | 0 | 1 | 496daf284c9a69a0ad53641cbdf73316bdba1215 | 1,496 | CodeKatas | Apache License 2.0 |
backend/app/src/test/kotlin/io/tolgee/autoTranslating/AutoTranslatingTest.kt | tolgee | 303,766,501 | false | null | package io.tolgee.autoTranslating
import io.tolgee.MachineTranslationTest
import io.tolgee.constants.MtServiceType
import io.tolgee.development.testDataBuilder.data.AutoTranslateTestData
import io.tolgee.dtos.request.translation.SetTranslationsWithKeyDto
import io.tolgee.fixtures.andAssertThatJson
import io.tolgee.fix... | 72 | null | 40 | 666 | 38c1064783f3ec5d60d0502ec0420698395af539 | 7,973 | tolgee-platform | Apache License 2.0 |
app/src/main/java/edu/fullerton/jd/workodoro/Globals.kt | jareddls | 658,175,268 | false | null | package edu.fullerton.jd.workodoro
enum class WorkState(val value:Int){
Work(0),
Break(1);
companion object{
fun getValueFromInt(value: Int) = WorkState.values().first{
it.value == value
}
}
} | 0 | Kotlin | 0 | 0 | 77b8a14581b9eef0e20e190787f75b7501031181 | 238 | Workodoro | MIT License |
app/src/main/java/com/inspiredandroid/braincup/composables/AnomalyPuzzleScreen.kt | developersancho | 236,515,425 | true | {"Kotlin": 208153, "Objective-C": 62694, "Swift": 54119, "HTML": 34592, "CSS": 2282} | package com.inspiredandroid.braincup.composables
import androidx.compose.Composable
import androidx.ui.core.dp
import androidx.ui.layout.Gravity
import androidx.ui.layout.Row
import androidx.ui.layout.Spacing
import com.inspiredandroid.braincup.DelayedTask
import com.inspiredandroid.braincup.games.AnomalyPuzzleGame
@... | 0 | null | 0 | 0 | e036f9280d7834e8a27748d5e4cfc357d12201b6 | 1,200 | Braincup | Apache License 2.0 |
app/src/test/kotlin/com/jmfg/training/kotlin/design/patterns/CalculadoraTest.kt | jmfernandezg | 641,180,465 | false | null | package com.jmfg.training.kotlin.design.patterns
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test
class CalculadoraTest {
@Test
fun testSuma() {
assertEquals(9, Calculadora().suma(4, 5), "La suma debe ser 9")
}
}
| 0 | Kotlin | 0 | 0 | 274292e72d3602a8df275871a73b4144055b14bb | 275 | kotlinDesignPatterns | Boost Software License 1.0 |
common/src/test/kotlin/tech/aaregall/lab/petclinic/common/reactive/UnitReactiveTest.kt | ArnauAregall | 720,654,012 | false | {"Kotlin": 379359} | package tech.aaregall.lab.petclinic.common.reactive
import org.assertj.core.api.Assertions.assertThat
import org.assertj.core.api.Assertions.assertThatCode
import org.junit.jupiter.api.Test
import reactor.core.publisher.Mono
internal class UnitReactiveTest {
data class Foo(val name: String)
data class Bar(v... | 0 | Kotlin | 0 | 1 | d1274ee52842cb398260ee7033fd28780b6be78f | 3,065 | micronaut-kotlin-petclinic-clean-architecture | Apache License 2.0 |
src/main/kotlin/io/github/tsgrissom/essentialskt/gui/ListEntitiesGui.kt | tsgrissom | 689,435,409 | false | {"Kotlin": 192657} | package io.github.tsgrissom.essentialskt.gui
import com.github.stefvanschie.inventoryframework.gui.GuiItem
import com.github.stefvanschie.inventoryframework.gui.type.ChestGui
import com.github.stefvanschie.inventoryframework.pane.OutlinePane
import com.github.stefvanschie.inventoryframework.pane.PaginatedPane
import i... | 0 | Kotlin | 0 | 0 | 0890088414f32d1f409a83a39fdcedb1b1d78144 | 4,858 | EssentialsKT-Plugin | MIT License |
CoronaStats/app/src/main/java/com/androiddevs/coronastats/ui/poko_classes/CityData.kt | KulkarniKaustubh | 269,743,514 | false | null | package com.androiddevs.coronastats.ui.poko_classes
import com.google.gson.annotations.SerializedName
data class CityData (
@SerializedName("name") val name : String,
@SerializedName("confirmed") val confirmed : Int,
@SerializedName("recovered") val recovered : String,
@SerializedName("deaths") val deaths : Stri... | 0 | Kotlin | 0 | 1 | 549156b572384a2322bb4b0f02108ef84c1b9c51 | 369 | CoronaIndiaStats | MIT License |
compiler/testData/diagnostics/tests/backingField/ReadForwardInAnonymous.kt | JetXing | 43,519,360 | true | {"Markdown": 34, "XML": 710, "Ant Build System": 44, "Git Attributes": 1, "Ignore List": 7, "Maven POM": 51, "Kotlin": 20291, "Groovy": 23, "Java": 4467, "Shell": 11, "Batchfile": 10, "Java Properties": 14, "Gradle": 74, "HTML": 150, "INI": 17, "CSS": 2, "JavaScript": 63, "Text": 4470, "ANTLR": 1, "Protocol Buffer": 7,... | class ReadForward() {
init {
val <!UNUSED_VARIABLE!>x<!> = <!BACKING_FIELD_USAGE_DEPRECATED, UNINITIALIZED_VARIABLE!>$a<!>
}
val a = 1
}
| 0 | Java | 0 | 0 | a55f9feacbf3e85ea064cc2aee6ecfd5e699918d | 158 | kotlin | Apache License 2.0 |
shared/src/commonMain/kotlin/com/abdul/dev/dailypulse/articles/presentation/ArticlesState.kt | AbdulWahab1539 | 817,914,695 | false | {"Kotlin": 36719, "Swift": 9122} | package com.abdul.dev.dailypulse.articles.presentation
import com.abdul.dev.dailypulse.articles.domain.Article
data class ArticlesState(
val articles: List<Article> = listOf(),
val loading: Boolean = false,
val error: String? = null,
)
| 0 | Kotlin | 0 | 0 | 31e830d383a616429ef4040ea6cc3346918da3dd | 250 | DailyPulse-KMP | Apache License 2.0 |
ime/android/src/main/kotlin/studio/lunabee/onesafe/ime/OneSafeKeyboardHelper.kt | LunabeeStudio | 624,544,471 | false | null | /*
* Copyright (c) 2023-2023 Lunabee Studio
*
* 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 ... | 1 | null | 1 | 2 | 4d6199939c91e0d6d31aa5328549a3ac442d046a | 1,528 | oneSafe6_SDK_Android | Apache License 2.0 |
idea/testData/refactoring/inline/inlineVariableOrProperty/property/accessors/PlusPlus.kt | JakeWharton | 99,388,807 | true | null | // ERROR: The following usages are not supported by the Inline refactoring. They won't be processed.\nUnsupported usage: property++
var <caret>property: Int
get() = 1
set(value) {
}
fun foo() {
property++
} | 0 | Kotlin | 28 | 83 | 4383335168338df9bbbe2a63cb213a68d0858104 | 224 | kotlin | Apache License 2.0 |
src/main/kotlin/no/nav/familie/ba/sak/kjerne/autovedtak/fødselshendelse/vilkårsvurdering/utfall/VilkårIkkeOppfyltÅrsak.kt | navikt | 224,639,942 | false | null | package no.nav.familie.ba.sak.kjerne.autovedtak.fødselshendelse.vilkårsvurdering.utfall
import no.nav.familie.ba.sak.kjerne.autovedtak.fødselshendelse.EvalueringÅrsak
import no.nav.familie.ba.sak.kjerne.vilkårsvurdering.domene.Vilkår
enum class VilkårIkkeOppfyltÅrsak(val beskrivelse: String, val metrikkBeskrivelse: S... | 7 | Kotlin | 1 | 9 | ed4d4d5945d965e411c81027c842347f3666e006 | 3,091 | familie-ba-sak | MIT License |
app/src/main/java/ca/bc/gov/bchealth/ui/home/immunizationschedules/ImmunizationSchedulesScreen.kt | bcgov | 414,797,174 | false | {"Kotlin": 1317950, "Java": 582146} | package ca.bc.gov.bchealth.ui.home.immunizationschedules
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.PaddingValues
import androidx... | 5 | Kotlin | 5 | 5 | a60f40136cec1d5910ba5d3a8b812b433993beba | 4,315 | myhealthBC-android | Apache License 2.0 |
opplysninger/src/test/kotlin/no/nav/dagpenger/opplysning/regel/StørreEnnEllerLikTest.kt | navikt | 415,800,876 | false | {"Kotlin": 617498, "Gherkin": 88690, "Dockerfile": 195} | package no.nav.dagpenger.opplysning.regel
import no.nav.dagpenger.opplysning.Faktum
import no.nav.dagpenger.opplysning.Opplysninger
import no.nav.dagpenger.opplysning.Regelkjøring
import no.nav.dagpenger.opplysning.Regelsett
import no.nav.dagpenger.opplysning.TestOpplysningstyper.beløpA
import no.nav.dagpenger.opplysn... | 1 | Kotlin | 0 | 0 | 448cb3d172eb9c69171d9274e947e290022b2f41 | 1,513 | dp-behandling | MIT License |
app/src/main/java/org/simple/clinic/drugs/selection/entry/CustomPrescriptionEntryController.kt | moealmaw | 138,648,110 | true | {"Kotlin": 347838} | package org.simple.clinic.drugs.selection.entry
import io.reactivex.Observable
import io.reactivex.ObservableSource
import io.reactivex.ObservableTransformer
import io.reactivex.rxkotlin.Observables
import io.reactivex.rxkotlin.ofType
import org.simple.clinic.drugs.PrescriptionRepository
import org.simple.clinic.util.... | 0 | Kotlin | 0 | 0 | d59ebd983c0d08d85d91041e33b7927528bbb559 | 2,221 | redapp | MIT License |
escpos4k/src/commonMain/kotlin/cz/multiplatform/escpos4k/usb/UsbDevice.kt | okarmazin | 517,312,886 | false | {"Kotlin": 266529} | /*
* Copyright 2024 escpos4k authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | 16 | Kotlin | 1 | 9 | e13a1669afe506002f460326a79de81e1fa2edb9 | 1,176 | escpos4k | Apache License 2.0 |
gjavac-core/src/main/kotlin/gjavac/utils/TypeInfo.kt | UnitedBitcoin | 128,917,851 | false | null | package gjavac.utils
import gjavac.cecil.ClassDefinition
open class TypeInfo(val signature: String, var isPrimitive: Boolean=false, var isArray: Boolean=false) {
fun primitiveType(): String? {
return when(signature) {
"B" -> "byte"
"C" -> "char"
"D" -> "double"
"F" -> "float"
"I" -... | 1 | null | 1 | 3 | c48bbfccb668907c7a3bd8c425651a88a4eb633d | 1,338 | gjavac | MIT License |
app/src/main/java/com/example/universitysystem/network/AuthApi.kt | SabirHalil | 707,783,946 | false | {"Kotlin": 99226} | package com.example.universitysystem.network
import com.example.universitysystem.data.models.ChangePasswordBody
import com.example.universitysystem.data.models.LoginBody
import com.example.universitysystem.data.models.TokenResponse
import retrofit2.Call
import retrofit2.http.*
interface AuthApi {
@POST("auth/Log... | 0 | Kotlin | 0 | 1 | 53a236db8ff589a5dc2824526ba2b98a90f2971d | 498 | University-System-Mobile-Kotlin | MIT License |
app/src/main/java/com/vpr/places_together/data/local/entity/GroupEntity.kt | v1p3rrr | 633,636,972 | false | null | package com.vpr.places_together.data.local.entity
import androidx.room.Entity
import androidx.room.Junction
import androidx.room.PrimaryKey
import androidx.room.Relation
@Entity(tableName = "groups")
data class GroupEntity(
@PrimaryKey(autoGenerate = true) val groupId: Long = 0,
val name: String,
val grou... | 0 | Kotlin | 0 | 0 | fc71609d48dbefd64950061c079f99cb599b5b25 | 342 | places-together | MIT License |
app/src/main/java/com/frogobox/consumableapps/consumable/themealdbapi/MealActivity.kt | amirisback | 252,696,217 | false | null | package com.frogobox.consumableapps.consumable.themealdbapi
import android.os.Bundle
import android.view.View
import com.bumptech.glide.Glide
import com.frogobox.consumableapps.R
import com.frogobox.consumableapps.base.BaseActivity
import com.frogobox.frogothemealdbapi.callback.MealResultCallback
import com.frogobox.f... | 0 | Kotlin | 0 | 6 | 22b41ec5719675d2aa01c103a3fef6bd79bfa31a | 2,524 | awesome-consumable-code | Apache License 2.0 |
FoodDelivery_Frontend/app/src/main/java/com/example/fooddelivery/Activity/MainActivity.kt | Marc-Kruiss | 457,861,367 | false | {"Kotlin": 53594, "Java": 13557, "HTML": 5358, "Dockerfile": 151} | package com.example.fooddelivery.Activity
import android.os.Bundle
import android.provider.Settings
import android.widget.LinearLayout
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.Recycl... | 0 | Kotlin | 0 | 0 | 408cf41199e3c5ccdf485018f0efce2e35896039 | 2,416 | Food-Delivery-Android | MIT License |
core/data/src/main/kotlin/com/example/visitedcountries/data/repository/details/DetailsRepository.kt | tecruz | 858,709,650 | false | {"Kotlin": 165426} | /*
* Designed and developed by 2024 tecruz
*
* 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 agr... | 1 | Kotlin | 0 | 0 | ee2f34939b17b387fcd67eab7a2308b7c7578bd4 | 920 | VisitedCountries | Apache License 2.0 |
meetup-1/demo/src/test/kotlin/com/nvisia/meetup/microservices/demo/config/CallerConfigTest.kt | NVISIA | 121,793,665 | false | null | /*
* Copyright (c) 2018 NVISIA
*
* 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, merge, publish, dis... | 4 | Kotlin | 1 | 2 | a1785ce6d37d5ff931c4a6359972398e84030797 | 4,119 | chicago-microservices-meetup | MIT License |
src/test/resources/org/jetbrains/pmdkotlin/deprecatedTest/LambdaSyntaxTest.kt | rpau | 78,425,817 | false | null | val f = { (a: Int, b: Int): Int -> a + b } | 0 | Kotlin | 0 | 0 | 0293752b90c2934705844b2156c6fd831014f643 | 42 | pmd-kotlin | Apache License 2.0 |
payments-core/src/main/java/com/stripe/android/view/CardWidgetProgressView.kt | stripe | 6,926,049 | false | null | package com.stripe.android.view
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.View
import android.view.animation.Animation
import android.view.animation.AnimationUtils
import android.widget.FrameLayout
import androidx.core.view.isInvisible
import... | 88 | null | 644 | 935 | bec4fc5f45b5401a98a310f7ebe5d383693936ea | 2,451 | stripe-android | MIT License |
lint/hilt/src/test/java/dev/whosnickdoglio/hilt/detectors/MissingAndroidEntryPointDetectorTest.kt | WhosNickDoglio | 603,477,912 | false | {"Kotlin": 274324, "Shell": 294} | /*
* Copyright (C) 2023 <NAME>
* SPDX-License-Identifier: MIT
*/
package dev.whosnickdoglio.hilt.detectors
import com.android.tools.lint.checks.infrastructure.TestFiles
import com.android.tools.lint.checks.infrastructure.TestLintTask
import com.google.testing.junit.testparameterinjector.TestParameter
import com.goo... | 9 | Kotlin | 0 | 8 | 743bd0cc18d604711b3cfad4f388ca14c21d7113 | 13,347 | dagger-rules | MIT License |
mobile/src/main/java/technology/mainthread/apps/gatekeeper/GatekeeperApp.kt | AndrewJack | 56,445,834 | false | null | package technology.mainthread.apps.gatekeeper
import androidx.collection.ArrayMap
import com.google.android.gms.common.ConnectionResult
import com.google.android.gms.common.GoogleApiAvailability
import com.google.firebase.database.FirebaseDatabase
import com.google.firebase.database.Logger
import com.google.firebase.... | 1 | Kotlin | 1 | 1 | be79515e068f4afdbc06cc1f31086847a0433c81 | 3,480 | gatekeeper | Apache License 2.0 |
app/src/main/java/jp/ddo/hotmist/unicodepad/UnicodeAdapter.kt | Ryosuke839 | 123,660,961 | false | null | /*
Copyright 2018 Ryosuke839
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 writ... | 35 | null | 33 | 304 | e2e4438d823c116eebdbec1372e33cf19e6edeb4 | 16,415 | UnicodePad | Apache License 2.0 |
flowToday/app/src/main/java/com/bestswlkh0310/flay/presentation/ui/component/FlayBottomButton.kt | bestswlkh0310 | 673,287,306 | false | null | package com.bestswlkh0310.flay.presentation.ui.component
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.foundation.layout.RowScope
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.Button
import androidx.compose.material3.ButtonDefaults
import... | 0 | Kotlin | 0 | 0 | 083c3980fdac95d64d08cdd6420fc40e72f48c25 | 1,077 | Flay | MIT License |
src/main/kotlin/miragefairy2024/mod/PoemModule.kt | MirageFairy | 721,291,232 | false | {"Kotlin": 731642, "Java": 13872, "Shell": 751} | package miragefairy2024.mod
import miragefairy2024.ModContext
import miragefairy2024.ModEvents
import miragefairy2024.clientProxy
import miragefairy2024.util.Translation
import miragefairy2024.util.aqua
import miragefairy2024.util.en
import miragefairy2024.util.formatted
import miragefairy2024.util.ja
import miragefai... | 0 | Kotlin | 1 | 1 | 8984b7f95691205b380dd7ae5e853740f1b3e620 | 3,232 | MirageFairy2024 | Apache License 2.0 |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/risk/changedetection/CombinedRiskLevelChangeDetector.kt | corona-warn-app | 268,027,139 | false | null | package de.rki.coronawarnapp.risk.changedetection
import android.content.Context
import androidx.core.app.NotificationManagerCompat
import de.rki.coronawarnapp.R
import de.rki.coronawarnapp.initializer.Initializer
import de.rki.coronawarnapp.notification.GeneralNotifications
import de.rki.coronawarnapp.notification.No... | 6 | null | 516 | 2,495 | d3833a212bd4c84e38a1fad23b282836d70ab8d5 | 7,671 | cwa-app-android | Apache License 2.0 |
src/main/kotlin/no/nav/klage/dokument/domain/dokumenterunderarbeid/JournalfoertDokumentUnderArbeidAsVedlegg.kt | navikt | 297,650,936 | false | {"Kotlin": 1027235, "Dockerfile": 133} | package no.nav.klage.dokument.domain.dokumenterunderarbeid
import jakarta.persistence.Column
import jakarta.persistence.DiscriminatorValue
import jakarta.persistence.Entity
import no.nav.klage.kodeverk.DokumentType
import no.nav.klage.oppgave.domain.klage.BehandlingRole
import java.time.LocalDateTime
import java.util.... | 4 | Kotlin | 4 | 1 | 73fdef1da6d11c8ab19dd0c9b12c143877b85680 | 1,472 | kabal-api | MIT License |
theme-m3/schedules/schedules-ui/src/main/kotlin/org/gdglille/devfest/android/theme/m3/schedules/ui/filters/FavoriteFilter.kt | GerardPaligot | 444,230,272 | false | null | package org.gdglille.devfest.android.theme.m3.schedules.ui.filters
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.Checkbox
import androidx.compose.material3.Text
import androidx.compose.... | 8 | null | 6 | 141 | d6e23529843f956d0c4c1ca7cca6a275422d3c22 | 1,788 | conferences4hall | Apache License 2.0 |
app/src/main/java/com/spiraclesoftware/androidsample/FirebaseMessagingService.kt | Benjiko99 | 153,489,461 | false | {"Kotlin": 304347} | package com.spiraclesoftware.androidsample
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.media.RingtoneManager
import android.os.Build
import androidx.core.app.NotificationCompat... | 0 | Kotlin | 0 | 0 | fa141a8e5afc530e29e944e4545fb3fda47e596b | 2,595 | Android-Sample | The Unlicense |
java/java-impl/src/com/intellij/ide/bookmark/providers/PackageNode.kt | ingokegel | 72,937,917 | false | null | // Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.bookmark.providers
import com.intellij.ide.bookmark.ui.tree.BookmarkNode
import com.intellij.ide.projectView.PresentationData
import co... | 214 | null | 4829 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 964 | intellij-community | Apache License 2.0 |
base/src/main/java/vn/xdeuhug/base/action/KeyboardAction.kt | xuandieu2k | 860,751,030 | false | {"Kotlin": 101859, "Java": 9204} | package vn.xdeuhug.base.action
import android.app.Activity
import android.content.Context
import android.view.View
import android.view.inputmethod.InputMethodManager
/**
* author : Android 轮子哥
* github : https://github.com/getActivity/AndroidProject-Kotlin
* time : 2020/03/08
* desc : 软键盘相关意图
*/
... | 0 | Kotlin | 0 | 0 | 27bbafccde6ed0d4a56b30a73fdff8f7bdfb3d5c | 1,686 | media_player | MIT License |
app/src/main/java/uz/abdurashidov/foodapp/presentation/theme/Type.kt | abdurashidovvv | 833,035,343 | false | {"Kotlin": 89089} | package uz.abdurashidov.foodapp.presentation.theme
import androidx.compose.material3.Typography
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.Font
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.sp
import u... | 0 | Kotlin | 0 | 0 | 5056871cef21c5a08ee80d3c69588c77c57c1d92 | 1,360 | FoodApp | MIT License |
core/src/main/java/com/silverpine/uu/core/UUThread.kt | SilverPineSoftware | 593,444,464 | false | null | package com.silverpine.uu.core
import android.os.Handler
import android.os.Looper
import com.silverpine.uu.logging.UULog
/**
* Some handy helpers for dealing with threads and loopers
*/
object UUThread
{
/**
* Checks to see if the currently running thread is the main thread or not
*
* @return tru... | 0 | Kotlin | 0 | 1 | ad2095f544a194db9af6f5b4c7fba814ec95ad75 | 2,378 | UUKotlinCore | MIT License |
features/licenses/impl/src/test/kotlin/io/element/android/features/licenses/impl/list/FakeLicensesProvider.kt | SchildiChat | 698,978,200 | false | {"Kotlin": 9118115, "Shell": 61766, "Python": 57175, "JavaScript": 20399, "Java": 9607, "HTML": 9416, "CSS": 2519, "Ruby": 1258} | /*
* Copyright (c) 2024 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 9 | Kotlin | 4 | 64 | 253df288ddbf75ddf418622623139336312b4463 | 1,107 | schildichat-android-next | Apache License 2.0 |
libMedia/src/main/java/io/github/toyota32k/media/lib/format/MediaMetadataRetrieverExt.kt | toyota-m2k | 405,057,265 | false | {"Kotlin": 186573, "Java": 32789} | package io.github.toyota32k.media.lib.format
import android.media.MediaMetadataRetriever
fun MediaMetadataRetriever.getString(key:Int):String? {
return try {
this.extractMetadata(key)
} catch (e:Exception) {
null
}
}
fun MediaMetadataRetriever.getInt(key:Int):Int? {
return try {
... | 0 | Kotlin | 0 | 0 | 1accf40802990817ef9deaa0fbda777c764378fe | 1,410 | android-media-processor | Apache License 2.0 |
src/test/enhetstester/kotlin/no/nav/familie/ba/sak/integrasjoner/journalføring/JournalføringControllerTest.kt | navikt | 224,639,942 | false | null | package no.nav.familie.ks.sak.api
import io.mockk.every
import io.mockk.mockk
import no.nav.familie.kontrakter.felles.PersonIdent
import no.nav.familie.ks.sak.integrasjon.journalføring.InnkommendeJournalføringService
import no.nav.familie.ks.sak.integrasjon.lagTilgangsstyrtJournalpost
import no.nav.familie.ks.sak.sikk... | 5 | null | 1 | 9 | ce534f2feb45a66b0b01ddda7edbd6646bae306b | 2,087 | familie-ba-sak | MIT License |
app/src/main/java/com/github/bgrebennikov/devbuff/data/local/explore/MappedTechnologiesModel.kt | DevBuffProject | 467,099,240 | false | null | package com.github.bgrebennikov.devbuff.data.local.explore
import android.os.Parcelable
import com.github.bgrebennikov.devbuff.presentation.ui.adapters.explore.ListItem
import kotlinx.parcelize.Parcelize
@Parcelize
data class MappedTechnologiesModel(
val name: String
) : ListItem, Parcelable {
override val it... | 0 | Kotlin | 1 | 0 | f7a7bbb301c8b572bdb323db47c1c973aadfabd3 | 368 | DevBuff-Android | MIT License |
data/src/main/kotlin/ru/cinema/data/db/tag/model/TagEntity.kt | alexBlack01 | 541,182,433 | false | null | package ru.cinema.data.db.tag.model
import org.jetbrains.exposed.dao.UUIDEntity
import org.jetbrains.exposed.dao.UUIDEntityClass
import org.jetbrains.exposed.dao.id.EntityID
import org.jetbrains.exposed.dao.id.UUIDTable
import ru.cinema.data.db.movie.model.MovieEntity
import ru.cinema.data.db.tagmovie.model.TagMovieTa... | 0 | Kotlin | 0 | 0 | 42aae0917fe632a3a9e0b3011eb8072c53941998 | 1,069 | cinema-backend | Apache License 1.1 |
app/src/main/java/com/example/labratour/presentation/di/LocationContainer.kt | Arye182 | 363,609,024 | false | null | package com.example.labratour.presentation.di
import com.example.labratour.presentation.LabratourApplication
import com.google.android.gms.location.FusedLocationProviderClient
import com.google.android.gms.location.LocationServices
import javax.inject.Singleton
class LocationContainer(labratourApplication: LabratourA... | 0 | Kotlin | 0 | 1 | 29339a2c4da4db799ab87006794695e11ea36c9b | 480 | LabraTour | MIT License |
app/src/main/java/com/example/chatgptapp1/models/Choices.kt | kossy205 | 606,203,141 | false | {"Kotlin": 84667} | package com.example.chatgptapp1.models
import java.io.Serializable
data class Choices(
//val text: String,
val index: Int,
val message: MMMessage,
val finish_reason: String,
//val logprobs: Any?,
): Serializable
| 1 | Kotlin | 0 | 1 | b7270298817fe41e37caa2bc96a84bf2ef578d8c | 234 | ChatGpt-Android-App | MIT No Attribution |
app/src/main/java/com/example/chatgptapp1/models/Choices.kt | kossy205 | 606,203,141 | false | {"Kotlin": 84667} | package com.example.chatgptapp1.models
import java.io.Serializable
data class Choices(
//val text: String,
val index: Int,
val message: MMMessage,
val finish_reason: String,
//val logprobs: Any?,
): Serializable
| 1 | Kotlin | 0 | 1 | b7270298817fe41e37caa2bc96a84bf2ef578d8c | 234 | ChatGpt-Android-App | MIT No Attribution |
buildSrc/src/main/kotlin/Versions.kt | kovalandrew | 291,888,846 | true | {"Kotlin": 22549} | object Versions {
object Android {
const val compileSdk = 28
const val targetSdk = 28
const val minSdk = 16
}
const val kotlin = "1.3.70"
object Plugins {
const val kotlin = Versions.kotlin
}
object Libs {
object Android {
const val appCompa... | 0 | null | 0 | 0 | f90e72efd7abef16286866c2d2f5ab9d43607181 | 606 | moko-permissions | Apache License 2.0 |
matrix/src/main/java/com/github/ch8n/matrix/types/lowerTriangle/LowerTriangleMatrix.kt | ch8n | 557,463,156 | false | null | package com.github.ch8n.matrix.types.lowerTriangle
import com.github.ch8n.matrix.MatrixIterator
import com.github.ch8n.matrix.core.Matrix
import com.github.ch8n.matrix.core.MatrixOperations
/***
* row --->
* X | 0 1 2 3
* 0 | 1 0 0 0
* 1 | 2 3 0 0
* 2 | 4 5 6 0
* 3 | 7 8 9 10
*
* lower triangle matrix ... | 0 | Kotlin | 0 | 1 | bb9264a832f9dfe5d5b9b861826ae65117dba994 | 2,661 | DataStructureKT | Adobe Glyph List License |
android/src/main/kotlin/dev/codeplex/flutter_plugin_webview/WebViewSwipeRefreshLayout.kt | mkc188 | 164,987,327 | true | {"Kotlin": 18231, "Dart": 14542, "Swift": 11816, "Ruby": 2793, "Objective-C": 413} | package dev.codeplex.flutter_plugin_webview
import android.content.Context
import android.support.v4.widget.SwipeRefreshLayout
import android.util.AttributeSet
import android.view.MotionEvent
class WebViewSwipeRefreshLayout : SwipeRefreshLayout {
constructor(context: Context?) : super(context)
constructor(co... | 0 | Kotlin | 0 | 0 | da875052679dceeb095e6445d99481ca82e286d4 | 620 | flutter_plugin_webview | Apache License 2.0 |
archive/193/solve.kt | daniellionel01 | 435,306,139 | false | null | /*
=== #193 Squarefree Numbers - Project Euler ===
A positive integer n is called squarefree, if no square of a prime divides n, thus 1, 2, 3, 5, 6, 7, 10, 11 are squarefree, but not 4, 8, 9, 12.
How many squarefree numbers are there below 250?
Difficulty rating: 55%
*/
fun solve(x: Int): Int {
return x*2;
}
fun ... | 0 | Kotlin | 0 | 1 | 1ad6a549a0a420ac04906cfa86d99d8c612056f6 | 378 | euler | MIT License |
meter-data/src/main/java/com/wackalooon/meter/data/storage/MeterDatabase.kt | Wackaloon | 56,212,468 | false | {"Kotlin": 33112} | package com.wackalooon.meter.data.storage
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import androidx.room.TypeConverters
import com.wackalooon.meter.data.model.Converters
import com.wackalooon.meter.data.model.MeterDatabaseEntity
private co... | 0 | Kotlin | 0 | 0 | 40986f366aded16446ce00674323f1ba462c4900 | 1,464 | EcoMeter | Apache License 2.0 |
src/test/kotlin/uk/gov/justice/digital/hmpps/visitscheduler/integration/mock/PrisonApiMockServer.kt | ministryofjustice | 409,259,375 | false | {"Kotlin": 1569345, "PLpgSQL": 168544, "FreeMarker": 14114, "Dockerfile": 1541, "Shell": 238} | package uk.gov.justice.digital.hmpps.visitscheduler.integration.mock
import com.github.tomakehurst.wiremock.WireMockServer
import com.github.tomakehurst.wiremock.client.WireMock.aResponse
import com.github.tomakehurst.wiremock.client.WireMock.get
import org.springframework.http.HttpStatus
import org.springframework.ht... | 11 | Kotlin | 2 | 5 | 8f35d10bbaa86b70551f3b29ad54db7678bc2f08 | 2,575 | visit-scheduler | MIT License |
train-departures-android/src/main/java/uk/co/baconi/pka/td/servicedetails/CallingPointsDrawable.kt | beercan1989 | 162,025,309 | false | null | package uk.co.baconi.pka.td.servicedetails
import android.content.Context
import android.graphics.Canvas
import android.graphics.ColorFilter
import android.graphics.Paint
import android.graphics.PixelFormat
import android.graphics.drawable.Drawable
import uk.co.baconi.pka.td.DepartureStatus.*
import uk.co.baconi.pka.t... | 5 | Kotlin | 0 | 0 | 79d6d8392077c21f5d93b4c6d511909d95d38c26 | 4,332 | playground-kotlin-android | Apache License 2.0 |
platform/execution-impl/src/com/intellij/execution/multilaunch/statistics/MultiLaunchEventFields.kt | JetBrains | 2,489,216 | false | null | package com.intellij.execution.multilaunch.statistics
import com.intellij.internal.statistic.eventLog.events.*
object MultiLaunchEventFields {
val ACTIVATE_TOOL_WINDOWS_FIELD = EventFields.Boolean("activate_tool_windows")
}
object FusExecutableRows {
val FIELD = ObjectListEventField("rows", FusExecutionRow())
}
... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 1,812 | intellij-community | Apache License 2.0 |
app/bhumi/app/src/main/java/com/kulik/bhumi/KaliyaganjActivity.kt | prisar | 576,866,237 | false | {"Kotlin": 73029, "JavaScript": 23157} | package com.kulik.bhumi
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.materi... | 0 | Kotlin | 0 | 0 | c67c27cefae2cf605d1b7f134f7c9b2d4edf21e3 | 1,549 | bhumi | MIT License |
app/src/main/java/com/github/roarappstudio/btkontroller/senders/KeyboardSender.kt | tumuyan | 272,476,729 | true | null | package com.github.roarappstudio.btkontroller.senders
import android.bluetooth.BluetoothDevice
import android.bluetooth.BluetoothHidDevice
import android.util.Log
import android.view.KeyEvent
import com.github.roarappstudio.btkontroller.Value
import com.github.roarappstudio.btkontroller.reports.KeyboardReport
import... | 0 | Kotlin | 4 | 23 | 9c0198c66a15b8b8229e1fa49efa3ff3ef311627 | 12,078 | Kontroller | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bulk/Calendaradd.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.bulk
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.co... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 8,079 | VuesaxIcons | MIT License |
model/src/main/java/vip/frendy/model/util/DeviceInfo.kt | frendyxzc | 93,138,214 | false | null | package vip.frendy.model.util
import android.content.Context
import android.provider.Settings
/**
* Created by iiMedia on 2017/6/2.
*/
object DeviceInfo {
fun getAndroidID(context: Context): String {
return Settings.System.getString(context.contentResolver, Settings.System.ANDROID_ID)
}
} | 1 | null | 5 | 18 | 045347c0f77f7e70305ab12d7d6868951cf1a092 | 311 | KotlinNews | MIT License |
eudi-wallet-oidc-android/src/main/java/com/ewc/eudi_wallet_oidc_android/models/CredentialOffer.kt | EWC-consortium | 749,764,479 | false | {"Kotlin": 185375} | package com.ewc.eudi_wallet_oidc_android.models
import com.google.gson.annotations.SerializedName
data class CredentialOffer(
@SerializedName("credential_issuer") var credentialIssuer: String? = null,
@SerializedName("credentials") var credentials: ArrayList<Credentials>? = null,
@SerializedName("grants"... | 0 | Kotlin | 1 | 0 | e871167d2fa027aaa95a7341ba1db8af550b1482 | 1,327 | eudi-wallet-oidc-android | Apache License 2.0 |
library/src/main/java/com/mukesh/imageproccessing/filters/FishEye.kt | mukeshsolanki | 61,812,387 | false | null | package com.mukesh.imageproccessing.filters
data class FishEye(var scale: Float = .5f) : Filter() | 2 | null | 101 | 465 | cf9c60d7b95aafd580b43c5fd7e8c26ac6211094 | 98 | photofilter | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.