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/main/java/com/pro/audiotrimmer/AudioTrimmerView.kt | pro-softs | 331,846,158 | false | null | package com.pro.audiotrimmer
import android.content.Context
import android.graphics.Color
import android.util.AttributeSet
import android.util.Log
import androidx.annotation.ColorInt
import androidx.annotation.DrawableRes
import androidx.constraintlayout.widget.ConstraintLayout
import com.pro.audiotrimmer.databinding.... | 1 | Kotlin | 3 | 9 | 89c5c435041cb4098becfe797d983a83912452a7 | 7,058 | AudioTrimmer | MIT License |
src/main/kotlin/search/Match.kt | steep-wms | 237,438,539 | false | {"Kotlin": 1539171, "JavaScript": 233382, "SCSS": 38483, "Shell": 1830, "Dockerfile": 1598, "PLpgSQL": 1198} | package search
/**
* Specifies a match within a property of a found object
* @author <NAME>
*/
data class Match(
/**
* The property in which the match was found
*/
val locator: Locator,
/**
* A fragment of the property's value (an 'excerpt' or a 'preview'). If
* the property's value... | 37 | Kotlin | 5 | 38 | 8270b146664463b962e0c7387cf4f80d44b95e7b | 527 | steep | Apache License 2.0 |
notification-service/src/test/kotlin/at/ac/tuwien/dse/ss18/group05/TestDataGenerator.kt | fuvidani | 128,628,639 | false | {"Gradle": 9, "YAML": 40, "INI": 2, "Shell": 2, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Git Attributes": 1, "Markdown": 2, "Dockerfile": 9, "Kotlin": 106, "HTML": 7, "AsciiDoc": 5, "Java": 1, "JavaScript": 55, "JSON": 1, "JSON with Comments": 2, "SCSS": 2, "SVG": 1, "CSS": 3} | package at.ac.tuwien.dse.ss18.group05
/* ktlint-disable no-wildcard-imports */
import at.ac.tuwien.dse.ss18.group05.dto.*
class TestDataGenerator {
private val accidentLocation = GpsLocation(43.12, 12.00)
private val firstVehicleId = "first_vehicle_id"
private val secondVehicleId = "second_vehicle_id"
... | 0 | Kotlin | 2 | 2 | 21d0424a6a2f9ce230201a1f960619fdd14059c5 | 4,693 | autonomous-vehicle-data-processing | MIT License |
compiler/backend/src/org/jetbrains/jet/codegen/PlatformStaticGenerator.kt | chashnikov | 14,658,474 | false | {"Markdown": 19, "XML": 483, "Ant Build System": 23, "Ignore List": 8, "Protocol Buffer": 2, "Java": 4001, "Kotlin": 12341, "Text": 1204, "Roff": 68, "Roff Manpage": 10, "JAR Manifest": 1, "INI": 6, "HTML": 102, "Groovy": 7, "Gradle": 61, "Maven POM": 36, "Java Properties": 10, "CSS": 10, "JavaScript": 48, "JFlex": 3, ... | /*
* Copyright 2010-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 1 | null | 1 | 1 | 88a261234860ff0014e3c2dd8e64072c685d442d | 2,741 | kotlin | Apache License 2.0 |
src/main/kotlin/net/prosavage/factionsx/command/admin/cmd/maxpower/CmdAdminMaxPowerBoost.kt | ryderbelserion | 669,875,997 | false | null | package net.prosavage.factionsx.command.admin.cmd.maxpower
import net.prosavage.factionsx.command.engine.CommandInfo
import net.prosavage.factionsx.command.engine.CommandRequirementsBuilder
import net.prosavage.factionsx.command.engine.FCommand
import net.prosavage.factionsx.core.Permission
import net.prosavage.factio... | 0 | Kotlin | 0 | 0 | aa9715b3a2ec4f7750ff20a8cfe88aaff490654d | 1,318 | Factions | MIT License |
state_toggle_button_lib/src/main/java/dk/jdc/statetogglebutton/StateToggleButton.kt | naxx1000 | 538,540,918 | false | {"Kotlin": 10382} | package dk.jdc.statetogglebutton
import android.animation.ValueAnimator
import android.content.Context
import android.graphics.*
import android.util.AttributeSet
import android.view.MotionEvent
import android.view.View
import android.view.animation.DecelerateInterpolator
import androidx.core.content.res.ResourcesCompa... | 0 | Kotlin | 0 | 0 | a3c88adf7879e399e6a958775fcd4998547064bc | 9,359 | StateToggleButton | MIT License |
app/src/main/java/com/github/nytimesnewsapp/main/data/model/MostPopularResponse.kt | Edydaoud | 320,500,193 | false | null | package com.github.nytimesnewsapp.main.data.model
import kotlinx.serialization.Serializable
@Serializable
data class MostPopularResponse (
val status : String,
val copyright : String,
val num_results : Int,
val results : List<Results>
) | 0 | Kotlin | 0 | 0 | 5ca2ca1156b37b5cff8e7a8d0daa84b70e6c5d96 | 242 | NYTimeNews | Apache License 2.0 |
src/main/kotlin/cn/com/mustache/plugins/mybatis/link/provider/StatementLineMarkerProvider.kt | mustache-cn | 751,904,018 | false | {"Kotlin": 23242} | package cn.com.mustache.plugins.mybatis.link.provider
import cn.com.mustache.plugins.mybatis.link.constant.Icons
import cn.com.mustache.plugins.mybatis.link.util.isMybatisXmlToken
import cn.com.mustache.plugins.mybatis.link.util.targetMethodOrClass
import cn.com.mustache.plugins.mybatis.link.util.tooltipText
import co... | 0 | Kotlin | 0 | 0 | 7494949323ce2ac71fe3e1597c32bcf83a68591a | 2,030 | mybatis-link | Apache License 2.0 |
projects/core/src/main/kotlin/de/gfelbing/konfig/core/definition/KonfigDeclaration.kt | gfelbing | 181,820,208 | false | null | /*
* Copyright (c) 2019 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 0 | Kotlin | 2 | 2 | 252fd94d8bb5aaf6e55a13b9611165b40375058b | 3,892 | konfig | Apache License 2.0 |
app/src/main/java/com/ojhdtapp/action/logic/dao/SuggestDao.kt | ojhdt | 425,239,290 | false | {"Kotlin": 414237} | package com.ojhdtapp.action.logic.dao
import androidx.lifecycle.LiveData
import androidx.room.*
import com.ojhdtapp.action.logic.model.Suggest
@Dao
interface SuggestDao {
@Insert
fun insertSuggest(suggest: Suggest): Long
@Delete
fun deleteSuggest(suggest: Suggest)
@Update
fun updateSuggest(n... | 0 | Kotlin | 1 | 1 | 4fad043c6e30bf3392f5a7df75c02515db9f712d | 1,624 | Action | MIT License |
src/main/java/base/corelibrary/presentation/_baseclasses/CoreScopedViewModel.kt | icarohs7 | 182,456,142 | false | null | package base.corelibrary.presentation._baseclasses
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.launchIn
abstract class CoreScopedViewModel : ViewModel() {
/**
* Launch the collect... | 0 | Kotlin | 0 | 1 | 4f7444068187bc0d19498e3b312afbeb8e05983b | 463 | unox-android-corelibrary | MIT License |
Scientory-by-PHJ-STUDIO-android/app/src/main/java/com/example/scientorybyphjstudio/sungkyunkwanunivercity/sungkyunkwanunivercity2020.kt | Ttakttae | 388,518,361 | false | null | package com.example.scientorybyphjstudio.sungkyunkwanunivercity
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.scientorybyphjstudio.*
class sungkyunkwanunivercity2020 : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(s... | 0 | Kotlin | 0 | 0 | 1f9babe63736857dde325e7994a7164283dc76b3 | 416 | repositiories_from_PHJ_STUDIO | MIT License |
thirdparty/controlsfx-listeners/src/test/kotlin/ktfx/controlsfx/listeners/PlusMinusSliderTest.kt | hendraanggrian | 102,934,147 | false | null | package ktfx.controlsfx.listeners
import ktfx.controlsfx.test.BasePlusMinusSliderTest
import org.controlsfx.control.PlusMinusSlider
class PlusMinusSliderTest : BasePlusMinusSliderTest() {
override fun PlusMinusSlider.callOnValueChanged(
action: (PlusMinusSlider.PlusMinusEvent) -> Unit
): Unit = onValu... | 1 | Kotlin | 2 | 16 | d7b8aec230fef877ae067d14cb0bc21c53e3d361 | 339 | ktfx | Apache License 2.0 |
bloc-redux/src/commonMain/kotlin/com/onegravity/bloc/redux/select/Selector.kt | 1gravity | 470,411,711 | false | {"Kotlin": 342854, "Swift": 26969, "JavaScript": 11334, "CSS": 1544} | package com.onegravity.bloc.redux.select
/**
* Note: [Selector] inherit from [SelectorInput] because of support for composite selectors
*/
internal interface Selector<S, O> : SelectorInput<S, O> {
val recomputations: Long
fun isChanged(): Boolean
/**
* by calling this method, you will force the ne... | 0 | Kotlin | 3 | 34 | a911759197a447baca7acbb88a9cbe5b3f5f010d | 807 | Kotlin-Bloc | Apache License 2.0 |
app/src/main/java/com/calleb/numberguess/MainActivity.kt | AnsemoTembe2 | 277,482,247 | true | {"Kotlin": 4590} | package com.calleb.numberguess
import android.content.Context
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.PersistableBundle
import android.util.AttributeSet
import android.util.Log
import android.view.View
import android.widget.ScrollView
import android.widget.TextView
im... | 0 | Kotlin | 0 | 0 | f3663489fbec746ca74354c616089cdc34d2cf2e | 3,571 | NumberGuess | MIT License |
src/main/kotlin/sink/Sink.kt | pn | 169,702,570 | true | {"Kotlin": 104020, "Java": 616, "Smarty": 516, "Dockerfile": 389} | package leia.sink
import leia.logic.IncomingRequest
interface Sink {
suspend fun handle(incomingRequest: IncomingRequest): SinkResult
}
| 0 | Kotlin | 1 | 0 | 156707f8e0a6c5178ebe9cab39720977855fd862 | 143 | leia | MIT License |
src/test/kotlin/pro/leaco/autoform/ConvertTest.kt | leacoleaco | 605,030,215 | false | {"Kotlin": 28427} | package pro.leaco.autoform
import org.junit.jupiter.api.Test
class ConvertTest {
// data class Data{
// @VueFormDescriptor(
// label = "字符",
// rules = [FormRule(required = true)]
// )
// var expr: String = ""
// }
@Test
fun testConvertJson() {
}
}
| 0 | Kotlin | 0 | 0 | 328551e89cd7d8744cf6c32f5cce7811dd95c0b0 | 317 | el-form-auto-convertor | MIT License |
mobile application/app/src/main/java/com/example/planter/DetailsActivity.kt | ashen007 | 430,119,220 | false | {"Jupyter Notebook": 74800520, "Kotlin": 86619, "Python": 5433, "CSS": 124, "Procfile": 50} | package com.example.planter
import android.annotation.SuppressLint
import android.content.Context
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.LinearLa... | 0 | Jupyter Notebook | 0 | 0 | 40a189ed7eea98131c5e924087df31183868394f | 19,504 | Identify-Diseases-in-Crops-leaf | Apache License 2.0 |
faucet/src/main/kotlin/org/basinmc/faucet/internal/event/FilterExpose.kt | BasinMC | 59,916,990 | false | null | /*
* Copyright 2017 Hex <<EMAIL>>
* and other copyright owners as documented in the project's IP log.
*
* 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/lic... | 1 | Kotlin | 1 | 12 | 151c6a1897d80d2808387f46925cb470f2292537 | 1,493 | Basin | Apache License 2.0 |
java/src/main/kotlin/org/digma/intellij/plugin/idea/runcfg/OTELJarProviderStartup.kt | digma-ai | 472,408,329 | false | null | package org.digma.intellij.plugin.idea.runcfg
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.project.Project
import com.intellij.openapi.startup.StartupActivity
class OTELJarProviderStartup: StartupActivity {
override fun runActivity(project: Project) {
ApplicationM... | 245 | Kotlin | 3 | 6 | 9414f0f58041cad6d2c07efa69acad3677e4b8bd | 422 | digma-intellij-plugin | MIT License |
src/main/kotlin/offer/33.kt | Eynnzerr | 621,254,277 | false | null | package offer
class Solution33 {
fun verifyPostorder(postorder: IntArray): Boolean {
// BST 左子树小于根小于等于右子树,故可从数组读出右子树节点
// 判断是否满足全部右子树节点大于根
// 递归判断左右子树
if (postorder.size <= 1) return true
val root = postorder.last()
var rightStartIdx = 0
while (postorder[righ... | 0 | Kotlin | 0 | 0 | 0327df84200444e1e4ef4b7d7a9f8779e8d7443f | 744 | leetcode-kotlin | MIT License |
sample/src/test/kotlin/com/natura/android/sample/tokens/SpacingActivityTest.kt | emrachid | 377,983,691 | true | {"Kotlin": 198558, "Shell": 2439, "Ruby": 1565, "Makefile": 1403} | package com.natura.android.sample.components
import android.view.ViewGroup
import androidx.test.core.app.ActivityScenario
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.natura.android.sample.tokens.SpacingActivity
import kotlinx.android.synthetic.main.activity_spacing.*
import org.junit.Assert.assertE... | 0 | null | 0 | 0 | 3197429021d03d77a9ab084e5deb07be842f41af | 3,006 | natds-android | ISC License |
part2/src/Reminder.kt | bimzz | 108,716,683 | true | {"Kotlin": 5818} | fun main(args: Array<String>) {
var fNum = 11
var lNum = 2
//reminder adalah sisa pakai %
println("hai, ${fNum % lNum}")
} | 0 | Kotlin | 0 | 0 | c26125e831175f9782573de12c3fdbbe5a2536f8 | 139 | MasteringKotlin | Apache License 2.0 |
android/src/main/kotlin/ru/kovardin/flutter_yandex_ads/components/YandexAdsInterstitial.kt | luckydaemon | 473,250,246 | false | {"Dart": 30288, "Java": 25964, "Objective-C": 20276, "Kotlin": 15062, "Swift": 10834, "Ruby": 2332} | package ru.kovardin.flutter_yandex_ads.components
import android.content.Context
import android.util.Log
import com.yandex.mobile.ads.common.AdRequest
import com.yandex.mobile.ads.common.AdRequestError
import com.yandex.mobile.ads.common.ImpressionData
import com.yandex.mobile.ads.interstitial.InterstitialAd
import co... | 0 | Dart | 0 | 0 | cc7f3671dc82864b21fa2eb4819351deb3db9989 | 4,381 | flutter-yandex-ads | Do What The F*ck You Want To Public License |
utils/src/com/gapps/utils/TimeHelper.kt | SaschaZ | 144,776,953 | false | null | @file:Suppress("unused")
package com.gapps.utils
import com.gapps.utils.DateFormat.*
import com.gapps.utils.TimeUnit.*
import java.text.DecimalFormat
import java.text.SimpleDateFormat
import java.util.*
enum class DateFormat {
COMPLETE,
DATE_ONLY,
TIME_ONLY,
PLOT,
FILENAME
}
fun formatDate(forma... | 0 | Kotlin | 2 | 1 | fad373c4353459f26715e3ceb7feb136ff41ea84 | 3,238 | BitMEX-Helper | Apache License 2.0 |
src/main/kotlin/app/framework/server/Server.kt | bed72 | 664,335,364 | false | null | package app.framework.server
import io.ktor.serialization.kotlinx.json.json
import io.ktor.server.application.install
import io.ktor.server.application.Application
import io.ktor.server.plugins.cors.routing.CORS
import io.ktor.server.plugins.contentnegotiation.ContentNegotiation
import app.external.network.clients.J... | 0 | Kotlin | 0 | 0 | 460d121762a7afc7e861910766a5d7df28fa2954 | 572 | KingsCross | Apache License 2.0 |
src/main/kotlin/app/framework/server/Server.kt | bed72 | 664,335,364 | false | null | package app.framework.server
import io.ktor.serialization.kotlinx.json.json
import io.ktor.server.application.install
import io.ktor.server.application.Application
import io.ktor.server.plugins.cors.routing.CORS
import io.ktor.server.plugins.contentnegotiation.ContentNegotiation
import app.external.network.clients.J... | 0 | Kotlin | 0 | 0 | 460d121762a7afc7e861910766a5d7df28fa2954 | 572 | KingsCross | Apache License 2.0 |
compiler/testData/diagnostics/tests/operatorsOverloading/destructuringDeclarationWithInvoke.fir.kt | JetBrains | 3,432,266 | false | {"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML... | // ISSUE: KT-59715
class FunctionComponent {
val component1: () -> String = { "hello" }
}
class I {
operator fun invoke(): String = "hello"
}
class InvokeComponent {
val component1: I = I()
}
fun test_1(c: FunctionComponent) {
val (<!NOT_FUNCTION_AS_OPERATOR!>x<!>) = FunctionComponent()
val (<!N... | 181 | Kotlin | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 505 | kotlin | Apache License 2.0 |
transaction-analyzer/kotlin/src/test/kotlin/TransactionTest.kt | hantsy | 322,500,356 | false | {"Text": 2, "Ignore List": 1, "Markdown": 9, "YAML": 9, "Go": 1, "Go Checksums": 1, "Go Module": 1, "Maven POM": 4, "Java": 14, "Microsoft Visual Studio Solution": 1, "XML": 4, "C#": 12, "JSON": 5, "PHP": 12, "INI": 2, "Kotlin": 15, "JSON with Comments": 1, "JavaScript": 2, "Scala": 22} | import io.kotest.matchers.comparables.shouldBeEqualComparingTo
import io.kotest.matchers.date.shouldBeBefore
import io.kotest.matchers.should
import io.kotest.matchers.shouldBe
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import java.math.BigDecimal
import java.time.LocalDateTime
internal ... | 35 | Java | 0 | 8 | d266c1d7d074e88dace3dd2ce2c7ea20f42d5a79 | 1,113 | code-challenges | Apache License 2.0 |
app/src/main/java/com/theta360/sample/livestreaming/SoraMainActivity.kt | shiguredo | 169,501,535 | false | {"Gradle": 3, "Markdown": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Text": 1, "Java Properties": 1, "Proguard": 1, "XML": 9, "Kotlin": 23, "Java": 4} | // Copyright 2018 Ricoh Company, Ltd. All rights reserved.
// Copyright 2018 Shiguredo, Inc. All rights reserved.
package com.theta360.sample.livestreaming
import android.app.Activity
import android.media.AudioManager
import android.os.Bundle
import android.util.Log
import android.view.KeyEvent
import com.theta360.pl... | 1 | null | 1 | 1 | 28811b7a430dc2773b2a9d30009f2e2e47b0ecb7 | 10,281 | theta-plugin-ricoh-live-streaming-sample | Apache License 2.0 |
common/src/main/java/com/bcm/messenger/common/provider/accountmodule/IAmeAccountModule.kt | Era-CyberLabs | 576,196,269 | false | {"Java": 6276144, "Kotlin": 5427066, "HTML": 92928, "C": 30870, "Groovy": 12495, "C++": 6551, "CMake": 2728, "Python": 1600, "AIDL": 1267, "Makefile": 472} | package com.bcm.messenger.common.provider.accountmodule
import com.bcm.messenger.common.AccountContext
import com.bcm.messenger.common.provider.IAmeModule
interface IAmeAccountModule : IAmeModule {
val context: AccountContext
fun setContext(context: AccountContext)
} | 1 | null | 1 | 1 | 65a11e5f009394897ddc08f4252969458454d052 | 278 | cyberland-android | Apache License 2.0 |
src/main/kotlin/org/incava/mmonkeys/exec/CoroutineCorpusSimulation.kt | jpace | 483,382,354 | false | {"Kotlin": 197198, "Ruby": 674} | package org.incava.mmonkeys.exec
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
import org.incava.ikdk.io.Console
import org.incava.mmonkeys.mky.MatchData
import org.incava.mmonkeys.mky.Monkey
import org.incava.mmonkeys.mky.corpus... | 0 | Kotlin | 0 | 0 | fbe8f49af00e72539944c0c97388eafc8176b548 | 1,696 | mmonkeys | MIT License |
sungchef_android/app/src/main/java/com/ssafy/sungchef/data/model/responsedto/survey/SurveyResponse.kt | Leewoogun | 786,472,390 | false | {"Kotlin": 506880, "Java": 485803, "Python": 20414, "Shell": 4185, "Dockerfile": 3272} | package com.ssafy.sungchef.data.model.responsedto.survey
import com.google.gson.annotations.SerializedName
data class SurveyResponse(
@SerializedName("foodInfoList")
val surveyList : MutableList<SurveyInfoResponse>
)
data class SurveyInfoResponse(
val foodId : Int,
val foodImage : String,
val foo... | 1 | Kotlin | 3 | 0 | c51bbb6970e39fae27655cb7dfb0373e46acfc33 | 336 | Sungchef | MIT License |
kotlin/examples/src/main/kotlin/examples/hookeanSpring/softbody/Vertex.kt | facebookresearch | 495,505,391 | false | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package examples.hookeanSpring.softbody
import org.diffkt.*
data class Vertex(val pos: Vector2, val vel: Vector2, val mass: Flo... | 62 | Jupyter Notebook | 3 | 55 | 710f403719bb89e3bcf00d72e53313f8571d5230 | 705 | diffkt | MIT License |
app/src/main/java/com/fatihden/recyclerview/MainActivity2.kt | dengizfth | 831,345,905 | false | {"Kotlin": 6116} | package com.fatihden.recyclerview
import android.os.Bundle
import android.util.Log
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import com.fatihden.recyclerview.databinding.ActivityMain2Bindin... | 0 | Kotlin | 0 | 0 | 892e4ada7878d5d970a2083c0a0f045f1a35e162 | 1,828 | trash_rcycler_view | Apache License 2.0 |
galleryImagePicker/src/main/java/com/samuelunknown/galleryImagePicker/domain/useCase/getImagesUseCase/GetImagesUseCaseImpl.kt | Samuel-Unknown | 409,861,199 | false | {"Kotlin": 78145} | package com.samuelunknown.galleryImagePicker.domain.useCase.getImagesUseCase
import android.content.ContentResolver
import android.net.Uri
import android.provider.MediaStore
import com.samuelunknown.galleryImagePicker.domain.model.FolderDto
import com.samuelunknown.galleryImagePicker.domain.model.ImageDto
import kotli... | 0 | Kotlin | 2 | 8 | e9a179911b811df77055ff0a4bdbaaf70db7e75f | 2,758 | Gallery-Image-Picker | Apache License 2.0 |
app/src/main/java/com/concordium/wallet/data/walletconnect/Payload.kt | Concordium | 358,250,608 | false | {"Kotlin": 1385661, "Java": 94500, "HTML": 23222, "CSS": 664} | package com.concordium.wallet.data.walletconnect
sealed interface Payload {
data class ContractUpdateTransaction(
val address: ContractAddress,
val amount: String,
var maxEnergy: Long,
var maxContractExecutionEnergy: Long,
val message: String,
val receiveName: String... | 1 | Kotlin | 3 | 12 | 41f9755247c94f17254b3ddcd0a18696ba0a07dc | 449 | concordium-reference-wallet-android | Apache License 2.0 |
app/src/main/java/com/gscanlon21/reversedictionary/core/repository/DbBoundResource.kt | gscanlon21 | 280,552,061 | false | null | package com.gscanlon21.reversedictionary.core.repository
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.flowOn
import kotlinx.coroutines.flow.map
import kotlinx.co... | 1 | Kotlin | 4 | 1 | 5d5c799b0ae48a74fa1478c9a81e9710e79e8092 | 1,004 | reverse-dictionary | MIT License |
app/src/main/java/com/hzbank/aaronkotlin/KdbImgShowView.kt | fangkaijin | 855,047,074 | false | {"Kotlin": 21989} | package com.hzbank.aaronkotlin
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import com.hzbank.aaronkotlin.databinding.ViewKdbBigImgShowBinding
class KdbImgShowView(context: Context):
BaseCustomView<ViewKdbBigImgShowBinding>(context) {
override fun getBinding(... | 0 | Kotlin | 0 | 0 | db24e2697ae2b642bd6d06592e8c0a172efacd1d | 1,027 | SmartKT | Apache License 2.0 |
src/main/kotlin/com/jessecorbett/diskord/api/rest/response/PartialGuild.kt | incendium | 163,341,694 | true | {"Kotlin": 124695} | package com.jessecorbett.diskord.api.rest.response
import com.fasterxml.jackson.annotation.JsonProperty
data class PartialGuild(
@JsonProperty("owner") val userIsOwner: Boolean,
@JsonProperty("permissions") val permissions: Int,
@JsonProperty("icon") val iconHash: String?,
@JsonPropert... | 0 | Kotlin | 0 | 0 | 53d1f557d0cafc0a8d85f5333405df60bfffebe6 | 393 | Diskord | The Unlicense |
src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/services/GetAdjudicationsForPersonServiceTest.kt | ministryofjustice | 572,524,532 | false | {"Kotlin": 532188, "Python": 32511, "Shell": 13255, "Dockerfile": 1154, "Makefile": 684} | package uk.gov.justice.digital.hmpps.hmppsintegrationapi.services
import io.kotest.core.spec.style.DescribeSpec
import io.kotest.matchers.shouldBe
import org.mockito.Mockito
import org.mockito.internal.verification.VerificationModeFactory
import org.mockito.kotlin.verify
import org.mockito.kotlin.whenever
import org.s... | 1 | Kotlin | 1 | 2 | f155e4d9f0e21e1a04a4d4b4801b5029611e82de | 3,955 | hmpps-integration-api | MIT License |
app/src/main/java/com/rogergcc/certificatepinningdemo/data/GithubRepositoryImpl.kt | rogergcc | 634,036,003 | false | null | package com.rogergcc.certificatepinningdemo.data
import android.util.Log
import com.rogergcc.certificatepinningdemo.core.ObjetsProviders
import com.rogergcc.certificatepinningdemo.core.ResourceState
import com.rogergcc.certificatepinningdemo.data.cloud.api.GithubApiService
import com.rogergcc.certificatepinningdemo.da... | 0 | Kotlin | 0 | 0 | 51f149b849bffca7c9f725ccb3fc73b38253e1d2 | 3,241 | CertificatePinningDemo | Apache License 2.0 |
mobile/src/main/java/com/chernowii/camcontrol/activity/WelcomeActivity.kt | KonradIT | 77,837,779 | false | null | package com.chernowii.camcontrol.activity
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.os.Build
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.WindowManager
import androi... | 5 | Kotlin | 26 | 98 | 2a10cbdd00845c89be78a4946d0b4b55b8a922e4 | 5,070 | CamControl | MIT License |
example/src/test/kotlin/io/github/cares0/restdocskdsl/example/ExampleControllerTest.kt | cares0 | 838,722,287 | false | {"Kotlin": 144875, "HTML": 121834, "Vim Snippet": 2958} | package io.github.cares0.restdocskdsl.example
import io.github.cares0.restdocskdsl.dsl.*
import io.github.cares0.restdocskdsl.example.controller.ExampleController
import io.github.cares0.restdocskdsl.example.controller.dsl.FullUsageApiSpec
import io.github.cares0.restdocskdsl.example.controller.dsl.SimpleUsageApiSpec
... | 0 | Kotlin | 0 | 1 | 0c66f1ec08199ef155973746f8e77a4cb447b2b5 | 22,660 | rest-docs-kdsl | Apache License 2.0 |
app/src/main/java/com/example/weather_app/logic/network/WeatherService.kt | DietCokewithSugar | 312,742,829 | false | null | package com.example.weather_app.logic.network
import com.example.weather_app.WeatherApplication
import com.example.weather_app.logic.model.DailyResponse
import com.example.weather_app.logic.model.RealtimeResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path
interface WeatherService {
... | 0 | Kotlin | 0 | 2 | 176997140a1124a447d189d307b732ce55c1fa4c | 660 | WeatherApp | Apache License 2.0 |
mokito/src/main/java/io/hotmoka/android/mokito/view/manifest/ShowManifestFragment.kt | Hotmoka | 384,682,415 | false | {"Kotlin": 138868, "HTML": 11770} | package io.hotmoka.android.mokito.view.manifest
import io.hotmoka.android.mokito.view.state.ShowStateFragment
/**
* A fragment used to show the state of the manifest of a Hotmoka node.
*/
class ShowManifestFragment : ShowStateFragment() | 0 | Kotlin | 2 | 0 | a4e4c7e15c1debe263feaa19b69440abe64b99a5 | 240 | HotmokaAndroid | Apache License 2.0 |
app/src/main/java/tw/firemaples/onscreenocr/translate/event/InstallGoogleTranslatorEvent.kt | pietrocmcosta | 219,829,361 | true | {"Kotlin": 169763, "Java": 160325, "JavaScript": 3060, "Shell": 2536, "HTML": 420} | package tw.firemaples.onscreenocr.translate.event
import tw.firemaples.onscreenocr.event.BaseEvent
class InstallGoogleTranslatorEvent : BaseEvent | 0 | null | 0 | 0 | f4e3cfbe9f420a9762b99a65b647f0b95546fb5d | 147 | EverTranslator | Apache License 2.0 |
src/main/kotlin/co/mercenary/creators/kotlin/util/io/AbstractCachedContentResource.kt | mercenary-creators | 193,142,947 | false | null |
package co.mercenary.creators.kotlin.util.io
import co.mercenary.creators.kotlin.util.*
@IgnoreForSerialize
abstract class AbstractCachedContentResource @JvmOverloads constructor(data: ByteArray, path: String, type: String = DEFAULT_CONTENT_TYPE, time: Long = getTimeStamp(), sort: String = EMPTY_STRING) : AbstractCo... | 0 | Kotlin | 0 | 2 | 0ee41289f23aae6e4fbf15fd4f55b080d5959162 | 1,457 | mercenary-creators-kotlin-util | Apache License 2.0 |
sample/src/main/java/fr/bipi/sample/pickup/app/extensions/ThrowableExtension.kt | bastienpaulfr | 508,698,382 | false | null | package fr.bipi.sample.pickup.app.extensions
fun Throwable?.flattenCauses(): List<Throwable> = this?.run {
mutableListOf(this).apply {
if (cause != null) {
addAll(cause.flattenCauses())
}
}
} ?: emptyList()
| 0 | Kotlin | 0 | 0 | d2aa643f926b2e21fb1adf7303827a981b85e307 | 244 | android-pick-up | Apache License 2.0 |
backend/src/test/kotlin/de/sotterbeck/hbrscalcreator/teachingEvent/idGenerator/HashTeachingEventKeyGeneratorTest.kt | sotterbeck | 809,893,637 | false | {"Kotlin": 135064, "TypeScript": 89364, "Dockerfile": 2648, "CSS": 1721, "JavaScript": 442} | package de.sotterbeck.hbrscalcreator.teachingEvent.idGenerator
import assertk.assertThat
import assertk.assertions.isNotEqualTo
import de.sotterbeck.hbrscalcreator.teachingEvent.TeachingEventDto
import org.junit.jupiter.api.Test
import java.time.DayOfWeek
import java.time.LocalDate
import java.time.LocalTime
class H... | 0 | Kotlin | 0 | 3 | 581c32b57a14721a53afc116af65f672d4a44f6b | 1,664 | hbrs-cal-creator | Apache License 2.0 |
app/src/main/java/de/hamurasa/settings/model/Settings.kt | oberstrike | 237,395,186 | false | null | package de.hamurasa.settings.model
import android.content.Context
import com.chibatching.kotpref.KotprefModel
class Settings(context: Context) : KotprefModel(context) {
var writingType by booleanPref(true, WRITING_TYPE)
var standardType by booleanPref(true, STANDARD_TYPE)
var alternativeType by boolean... | 0 | Kotlin | 0 | 0 | 92ca55cadd101165efb4ee43e4ac2373de899511 | 1,144 | HaMuRasaAppVersion2 | MIT License |
templates/templates_jte/src/main/kotlin/com/hexagontk/templates/jte/JteAdapter.kt | hexagontk | 56,139,239 | false | null | package com.hexagontk.templates.jte
import com.hexagontk.core.media.MediaType
import com.hexagontk.core.media.TEXT_HTML
import com.hexagontk.core.media.TEXT_PLAIN
import com.hexagontk.templates.TemplatePort
import gg.jte.CodeResolver
import gg.jte.ContentType
import gg.jte.TemplateEngine
import gg.jte.TemplateOutput
i... | 18 | null | 99 | 578 | 7436f1985832d21696fe7c08a0f454add6520284 | 2,446 | hexagon | Apache License 2.0 |
common/src/main/java/dev/arunkumar/common/notification/Notification.kt | arunkumar9t2 | 156,014,529 | false | null | /*
* Copyright 2021 Arunkumar
*
* 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... | 2 | Kotlin | 9 | 48 | f6cdee22071167630d902a3713c6ee6dc7583f6e | 1,904 | base-android | Apache License 2.0 |
app/src/main/java/com/rejowan/deviceinfo/detailsMVVM/DeviceDetailsViewModel.kt | ahmmedrejowan | 778,650,948 | false | {"Kotlin": 296758, "Java": 38028} | package com.rejowan.deviceinfo.detailsMVVM
import android.view.Display
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.launch
class DeviceDetailsViewModel(private val repository: DeviceDetailsRepository) : ViewModel() {
val systemDataModel = repository.syste... | 0 | Kotlin | 0 | 0 | fe8bbd51042ca2fb5001f0e7bfddc0645d19bf0e | 2,118 | DeviceInfo | Apache License 2.0 |
app/src/main/java/io/github/joaogouveia89/inspirify/ui/quoteShow/QuoteShowViewModel.kt | joaogouveia89 | 766,586,843 | false | {"Kotlin": 53200} | package io.github.joaogouveia89.inspirify.ui.quoteShow
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import io.github.joaogouveia89.inspirify.data.DataRequest
import io.github.... | 0 | Kotlin | 0 | 0 | 24adaf63a83692e02728aef6fb28e7c33c36763a | 4,584 | inspirify | MIT License |
sample/app/src/wasmJsMain/kotlin/com/nxoim/decomposite/main.kt | nxoim | 753,475,897 | false | null | package com.nxoim.decomposite
import androidx.compose.material3.Text
import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.compose.ui.window.CanvasBasedWindow
import com.nxoim.decomposite.core.common.navigation.navigationRootDataProvider
import org.koin.core.context.startKoin
import org.koin.dsl.module
... | 1 | null | 0 | 9 | 70f95074d75bec15554cc7f6d15b06018787d38e | 627 | decomposite | Apache License 2.0 |
Durian/app/src/main/java/com/example/durian/Adapter/InformationAdapter.kt | jphacks | 212,724,948 | false | null | package com.example.durian.Adapter
import android.content.Context
import android.net.Uri
import android.view.LayoutInflater
import android.view.TextureView
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.browser.customtabs.CustomTabsIntent
import androidx.recyclerv... | 0 | Kotlin | 1 | 2 | 942b248b99c03097275044533737f4a1c7a82314 | 1,653 | SD_1903 | MIT License |
src/main/kotlin/com/github/shatteredsuite/core/message/processor/LangProcessor.kt | ShatteredSoftware | 263,221,103 | false | null | package com.github.shatteredsuite.core.message.processor
import com.github.shatteredsuite.core.data.generic.DataStore
import com.github.shatteredsuite.core.data.generic.GenericDataStore
import com.github.shatteredsuite.core.message.MessageProcessor
import com.github.shatteredsuite.core.message.lang.MessageSet
import j... | 5 | null | 3 | 1 | 13a5bd2ff37028281eb9fcb16f8418ee5e1508ed | 595 | ShatteredCore | MIT License |
app/src/main/java/pt/dbmg/mobiletaiga/network/response/DataFranchises.kt | worm69 | 166,021,572 | false | null | package pt.dbmg.mobiletaiga.network.response
import com.google.gson.annotations.SerializedName
data class DataFranchises(
@SerializedName("attributes")
val attributes: AttributesFranchises,
@SerializedName("id")
val id: String, // 1
@SerializedName("links")
val links: Links2,
@SerializedNa... | 0 | null | 0 | 4 | 8ec09bed018d57225b85e042865608952633c622 | 452 | mobiletaiga | Apache License 2.0 |
relateddigital-android/src/main/java/com/relateddigital/relateddigital_android/inapp/findtowin/FindToWinShowCodeInterface.kt | relateddigital | 379,568,070 | false | {"Kotlin": 1480607, "HTML": 21295} | package com.relateddigital.relateddigital_android.inapp.findtowin
interface FindToWinShowCodeInterface {
fun onCodeShown(code: String)
} | 0 | Kotlin | 2 | 6 | 471c7bf580e98675ad7b684bc81dd27eb55fa5ff | 141 | relateddigital-android | Amazon Digital Services License |
docusign-sdk-sample-kotlin/app/src/main/java/com/docusign/sdksamplekotlin/viewmodel/EnvelopeViewModel.kt | docusign | 271,858,855 | false | {"Kotlin": 171347} | package com.docusign.sdksamplekotlin.viewmodel
import android.util.Log
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.docusign.androidsdk.DocuSign
import com.docusign.androidsdk.dsmodels.DSEnvelope
import com.docusign.androidsdk.exceptions.DSEnvelopeException
import com.docusi... | 3 | Kotlin | 12 | 16 | e71409ff1e1315585ccf71f2a6ea4e2414541c79 | 5,383 | mobile-android-sdk | RSA Message-Digest License |
model/src/commonMain/kotlin/org/kethereum/Values.kt | wiyarmir | 469,944,902 | true | {"Kotlin": 724732} | package org.kethereum
import com.ionspin.kotlin.bignum.integer.BigInteger
val ETH_IN_WEI = BigInteger.parseString("1000000000000000000")
var DEFAULT_GAS_PRICE = BigInteger.parseString("20000000000")
var DEFAULT_GAS_LIMIT = BigInteger.parseString("21000")
const val DEFAULT_ETHEREUM_BIP44_PATH = "m/44'/60'/0'/0/0"
| 0 | Kotlin | 0 | 0 | a602f94b6b90938a958425930cb0058c985790f1 | 318 | KEthereum | MIT License |
app/src/main/java/com/pathmazing/hr/mvvm/navigator/LoginNavigator.kt | Ulseyha | 173,866,398 | false | null | package com.pathmazing.hr.mvvm.navigator
import com.pathmazing.baserequest.mvvm.CoreNavigator
import com.pathmazing.hr.mvvm.model.LoginResponse
interface LoginNavigator : CoreNavigator {
fun onLoginSucceed(loginResponse: LoginResponse)
} | 0 | Kotlin | 0 | 0 | b222145d691548c487496189b57d80dba0548b92 | 244 | BaseRequest | MIT License |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bulk/Airplanesquare.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 | 4,249 | VuesaxIcons | MIT License |
ruler-gradle-plugin/src/test/kotlin/com/spotify/ruler/plugin/dependency/DependencySanitizerTest.kt | spotify | 390,496,407 | false | null | /*
* Copyright 2021 Spotify AB
*
* 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 writin... | 10 | null | 9 | 99 | ba243c6e0579bd31b471c08884401849b8ebb8a9 | 3,791 | ruler | Apache License 2.0 |
app/src/main/java/com/czech/housegot/paging/HousesRemoteMediator.kt | Czeach | 607,636,125 | false | null | package com.czech.housegot.paging
import androidx.paging.ExperimentalPagingApi
import androidx.paging.LoadType
import androidx.paging.PagingState
import androidx.paging.RemoteMediator
import com.czech.housegot.database.HousesDao
import com.czech.housegot.database.RemoteKeysDao
import com.czech.housegot.models.Houses
i... | 0 | Kotlin | 1 | 0 | 6117dde442642a7e074ff42fb2c9368efe1b79c0 | 3,858 | HouseGOT | Apache License 2.0 |
plugins/kotlin/j2k/new/tests/testData/newJ2k/anonymousBlock/staticFieldUsageInInitBlockBeforeDeclarationWithInitializer.kt | JetBrains | 2,489,216 | false | null | internal object C {
var abc = 0
init {
abc = 2
}
init {
abc = 0
}
}
| 214 | null | 4829 | 15,129 | 5578c1c17d75ca03071cc95049ce260b3a43d50d | 106 | intellij-community | Apache License 2.0 |
plugins/github/src/org/jetbrains/plugins/github/pullrequest/ui/toolwindow/GHPRToolWindowRepositoryContentController.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.github.pullrequest.ui.toolwindow
import com.intellij.openapi.util.Key
import org.jetbrains.plugins.github.api.GHRepositoryCoordinates
import org.jet... | 229 | null | 4931 | 15,571 | 92c8aad1c748d6741e2c8e326e76e68f3832f649 | 1,083 | intellij-community | Apache License 2.0 |
app/src/main/java/com/github/bluetrees2/novpn/RootShellModel.kt | bluetrees2 | 281,864,959 | false | null | package com.github.bluetrees2.novpn
import android.os.SystemClock.uptimeMillis
import kotlinx.coroutines.*
import kotlinx.coroutines.sync.Mutex
import kotlinx.coroutines.sync.withLock
import java.io.*
import java.lang.IllegalArgumentException
import java.util.concurrent.TimeoutException
data class CommandResult(val r... | 0 | Kotlin | 0 | 3 | d5f904e778b5b3b07e8dfe1774cc4e25d63d21bf | 5,267 | novpn | MIT License |
app/src/main/java/com/example/news/details/domain/usecase/UpdateBookmarkStatusUseCase.kt | info-kareemmohamed | 865,667,916 | false | {"Kotlin": 159373} | package com.example.news.details.domain.usecase
import com.example.news.core.domain.model.SourceType
import com.example.news.core.domain.repository.NewsRepository
import javax.inject.Inject
class UpdateBookmarkStatusUseCase @Inject constructor(private val newsRepository: NewsRepository) {
suspend operator fun inv... | 0 | Kotlin | 0 | 0 | ab31a88fa3312190df856d34cdaa2068b5d61334 | 516 | News-App-Jetpack-Compose | MIT License |
buildSrc/src/main/kotlin/build/Arch.kt | goatbytes | 874,057,957 | false | {"Kotlin": 247772, "Java": 2243, "CSS": 1354} | /*
* Copyright 2024 GoatBytes.IO
*
* 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,
* d... | 1 | Kotlin | 0 | 0 | 3f5dd9f5a9b94b99671da6fd9fb4af364be2f50f | 1,727 | KFlect | MIT License |
src/main/kotlin/core/di/modules.kt | johnGachihi | 371,629,012 | false | null | package core.di
import app.actionMap
import core.exceptionhandling.ExceptionHandler
import core.exceptionhandling.ExceptionHandlerImpl
import core.requesthandling.RequestHandlerEventManager
import core.router.EndpointFactory
import core.router.KoinEndpointFactory
import core.requesthandling.RequestHandlerImpl
import o... | 0 | Kotlin | 0 | 0 | 3ff46ac42048bde5e4576ae34e19a6050b53db87 | 624 | Parking-Netty | Apache License 2.0 |
src/test/kotlin/io/titandata/titan/providers/local/RemoteLogTest.kt | pioro | 217,339,218 | true | {"Kotlin": 147429, "Shell": 4301, "Dockerfile": 582, "Batchfile": 486, "PowerShell": 170} | package io.titandata.titan.providers.local
import org.hamcrest.CoreMatchers
import org.junit.Assert
import org.junit.Test
class RemoteLogTest {
//TODO Update test for titan-server 0.3.1 release with URI and Multiple Remotes
//private fun exit(message: String, code: Int) {}
//private val command = RemoteL... | 0 | null | 0 | 0 | a5e28d7d63eb2af33e7b34b7060d3d7263c57166 | 476 | titan | Apache License 2.0 |
app/src/main/java/com/test/nytimessample/model/Result.kt | mayureshps21 | 696,606,400 | false | null | package com.test.nytimessample.model
import com.google.gson.annotations.SerializedName
data class Result(
@SerializedName("abstract")
var `abstract`: String,
@SerializedName("adx_keywords")
var adxKeywords: String,
@SerializedName("asset_id")
var assetId: Long,
@SerializedName("byline")
... | 0 | Kotlin | 0 | 0 | 4c65b080cb2e06d3cd648f5279a1af6a79d72d83 | 1,364 | NyTimesSample | Apache License 2.0 |
app/src/main/java/com/test/nytimessample/model/Result.kt | mayureshps21 | 696,606,400 | false | null | package com.test.nytimessample.model
import com.google.gson.annotations.SerializedName
data class Result(
@SerializedName("abstract")
var `abstract`: String,
@SerializedName("adx_keywords")
var adxKeywords: String,
@SerializedName("asset_id")
var assetId: Long,
@SerializedName("byline")
... | 0 | Kotlin | 0 | 0 | 4c65b080cb2e06d3cd648f5279a1af6a79d72d83 | 1,364 | NyTimesSample | Apache License 2.0 |
src/main/java/net/oxyopia/vice/features/misc/EvanNotification.kt | Oxyopiia | 689,119,282 | false | null | package net.oxyopia.vice.features.misc
import net.oxyopia.vice.Vice
import net.oxyopia.vice.Vice.Companion.storage
import net.oxyopia.vice.events.ClientTickEvent
import net.oxyopia.vice.events.TitleEvent
import net.oxyopia.vice.events.core.SubscribeEvent
import net.oxyopia.vice.utils.Utils
import net.oxyopia.vice.util... | 7 | null | 1 | 2 | ec72b9a16cd9d642e9e416a3d8d2acf1a869d9cf | 1,167 | ViceMod | MIT License |
sample/src/main/java/com/github/florent37/runtimepermission/sample/RuntimePermissionMainActivityKotlinCoroutine.kt | florent37 | 125,537,016 | false | null | package com.github.florent37.runtimepermission.sample
import android.Manifest
import android.os.Bundle
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatActivity
import com.github.florent37.runtimepermission.kotlin.PermissionException
import com.github.florent37.runtimepermission.kotlin.... | 8 | Java | 67 | 870 | 124c63455b39dc6cfe15e8fcad45b82b14abf6ae | 2,827 | RuntimePermission | Apache License 2.0 |
app/src/main/java/me/ykrank/s1next/view/adapter/delegate/FavouriteAdapterDelegate.kt | Tzzgang | 147,650,470 | false | null | package me.ykrank.s1next.view.adapter.delegate
import android.content.Context
import android.databinding.DataBindingUtil
import android.support.v7.widget.RecyclerView
import android.view.ViewGroup
import com.github.ykrank.androidtools.widget.RxBus
import me.ykrank.s1next.App
import me.ykrank.s1next.R
import me.ykrank.... | 1 | null | 1 | 1 | 9272f31a98ae1e1b26ab320b93fdb1133e991149 | 1,493 | S1-Next | The Unlicense |
src/main/kotlin/io/zayasanton/app/api/DoctorContactApi.kt | azayas97 | 784,997,922 | false | {"Kotlin": 68644} | package io.zayasanton.app.api
import io.zayasanton.app.api.models.request.CreateDoctorRequest
import io.zayasanton.app.api.models.request.GetDoctorByIDRequest
import io.zayasanton.app.api.models.request.GetDoctorsRequest
import io.zayasanton.app.api.models.request.UpdateDoctorRequest
import io.zayasanton.app.api.model... | 0 | Kotlin | 0 | 0 | cc53d45679d315dee6d8659e1fad2151c38b6afb | 4,076 | doctor-contact-service | MIT License |
feature/settings/src/androidMain/kotlin/org/michaelbel/movies/settings/SettingsNavigation.android.kt | michaelbel | 115,437,864 | false | {"Kotlin": 908384, "Swift": 692, "HTML": 606, "Shell": 235} | package org.michaelbel.movies.settings
import androidx.navigation.NavController
import androidx.navigation.NavGraphBuilder
import androidx.navigation.compose.composable
import androidx.navigation.navDeepLink
import org.michaelbel.movies.settings.ui.SettingsRoute
import org.michaelbel.movies.ui.shortcuts.INTENT_ACTION_... | 8 | Kotlin | 36 | 271 | 1da1d67e093ecb76057a06da0ef17f746ca06888 | 730 | movies | Apache License 2.0 |
data/src/main/java/com/spiderbiggen/manhwa/data/source/local/converter/InstantConverter.kt | spiderbiggen | 624,650,535 | false | {"Kotlin": 133343} | package com.spiderbiggen.manga.data.source.local.converter
import androidx.room.TypeConverter
import java.time.Instant as JavaInstant
import kotlinx.datetime.Instant
import kotlinx.datetime.toKotlinInstant
class InstantConverter {
@TypeConverter
fun fromString(value: String?): Instant? = value?.let { JavaInst... | 1 | Kotlin | 1 | 0 | 1365261722692c4c9531c7280c9203b7d8bd5159 | 439 | manhwa-reader | MIT License |
app/src/main/java/com/jesen/compose_bili/navigation/PageNavigation.kt | Jesen0823 | 432,540,052 | false | {"Kotlin": 464797, "Java": 200809} | package com.jesen.compose_bili.navigation
//import androidx.navigation.compose.NavHost
//import androidx.navigation.compose.composable
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeOut
import androidx.compose.animation.slid... | 0 | Kotlin | 2 | 9 | 39c1920c36d4fa8298f26cbefc67433f1db30a23 | 6,868 | Compose_bili_talk | Apache License 2.0 |
app/src/main/kotlin/me/sweetll/tucao/model/raw/Banner.kt | blackbbc | 78,953,199 | false | null | package me.sweetll.tucao.model.raw
data class Banner(val imgUrl: String,
val linkUrl: String,
val hid: String?,
val title: String? = null)
| 11 | Kotlin | 208 | 994 | e0c29ae6c37fcca916a3aba3cbae61e74292ff99 | 194 | Tucao | MIT License |
services/csm.cloud.project.project/src/main/kotlin/com/bosch/pt/iot/smartsite/project/taskcopy/facade/rest/TaskCopyController.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2023
*
* ************************************************************************
*/
package com.bosch.pt.iot.smartsite.project.taskcopy.facade.rest
import com.bosch.pt.csm.cloud.c... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 2,360 | bosch-pt-refinemysite-backend | Apache License 2.0 |
profilers-ui/testSrc/com/android/tools/profilers/cpu/CpuThreadsViewTest.kt | JetBrains | 60,701,247 | false | null | /*
* Copyright (C) 2018 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 | 6,007 | android | Apache License 2.0 |
spesialist-selve/src/main/kotlin/no/nav/helse/modell/automatisering/AutomatiskAvvisningCommand.kt | navikt | 244,907,980 | false | null | package no.nav.helse.modell.automatisering
import no.nav.helse.avvistPåGrunnAvEgenAnsattTeller
import no.nav.helse.avvistPåGrunnAvUtlandTeller
import no.nav.helse.avvistPåGrunnAvVergemålTeller
import no.nav.helse.mediator.GodkjenningMediator
import no.nav.helse.mediator.meldinger.HentEnhetløsning
import no.nav.helse.m... | 0 | Kotlin | 0 | 0 | e6407eb836046ced04e33a3eb7db4490a1df59c1 | 2,479 | helse-spesialist | MIT License |
app/src/main/java/com/ayni/heroesatwork/views/listeners/OnHeroDeletedListener.kt | aynigames | 107,723,388 | false | null | package com.ayni.heroesatwork.views.listeners
import com.ayni.heroesatwork.models.Player
interface OnHeroDeletedListener {
fun onHeroDeleted(hero: Player)
} | 0 | Kotlin | 0 | 0 | fe6408a16212403ff837096ed4c8be948efdae19 | 162 | heroes-at-work-android | MIT License |
app/src/main/java/network/minter/bipwallet/internal/dialogs/WalletDialog.kt | MinterTeam | 139,714,727 | false | null | /*
* Copyright (C) by MinterTeam. 2020
* @link <a href="https://github.com/MinterTeam">Org Github</a>
* @link <a href="https://github.com/edwardstock">Maintainer Github</a>
*
* The MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated docu... | 0 | null | 10 | 17 | a7c254e6e3744d9304d5bf6f9133096263727bfa | 4,728 | minter-android-wallet | MIT License |
app/src/main/java/network/minter/bipwallet/internal/dialogs/WalletDialog.kt | MinterTeam | 139,714,727 | false | null | /*
* Copyright (C) by MinterTeam. 2020
* @link <a href="https://github.com/MinterTeam">Org Github</a>
* @link <a href="https://github.com/edwardstock">Maintainer Github</a>
*
* The MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated docu... | 0 | null | 10 | 17 | a7c254e6e3744d9304d5bf6f9133096263727bfa | 4,728 | minter-android-wallet | MIT License |
app/src/main/java/com/pisey/kotlinrecyclerviewlikeplaystore/ui/component/activity/BaseActivity.kt | piseysen | 191,119,042 | false | null | package com.pisey.kotlinrecyclerviewlikeplaystore.ui.component.activity
import dagger.android.support.DaggerAppCompatActivity
abstract class BaseActivity :DaggerAppCompatActivity(){
} | 0 | Kotlin | 0 | 2 | 0e379cc084b5fdc19f09fd61012ff0888477a2a8 | 185 | KotlinRecyclerViewLikePlaystore | MIT License |
compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/pager/PageSize.kt | androidx | 256,589,781 | false | null | /*
* Copyright 2023 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... | 29 | null | 937 | 5,321 | 98b929d303f34d569e9fd8a529f022d398d1024b | 2,257 | androidx | Apache License 2.0 |
app/src/main/java/com/pdm/to_do_compose/data/preferences/DefaultPreferences.kt | pablin202 | 758,340,732 | false | {"Kotlin": 88769} | package com.pdm.to_do_compose.data.preferences
import android.content.SharedPreferences
import com.pdm.to_do_compose.domain.models.Priority
import com.pdm.to_do_compose.domain.models.ToDoTaskModel
import com.pdm.to_do_compose.domain.models.toEnumValue
import com.pdm.to_do_compose.domain.preferences.Preferences
class ... | 0 | Kotlin | 0 | 0 | ddb8c78ee0af550952022243a2eada5722dc8da9 | 1,811 | to-do-compose | MIT License |
client/android/div/src/main/java/com/yandex/div/internal/widget/OnInterceptTouchEventListenerHost.kt | divkit | 523,491,444 | false | {"Kotlin": 7327303, "Swift": 5164616, "Svelte": 1148832, "TypeScript": 912803, "Dart": 630920, "Python": 536031, "Java": 507940, "JavaScript": 152546, "CSS": 37870, "HTML": 23434, "C++": 20911, "CMake": 18677, "Shell": 8895, "PEG.js": 7210, "Ruby": 3723, "C": 1425, "Objective-C": 38} | package com.yandex.div.internal.widget
/**
* Interface definition for [android.view.ViewGroup] that holds and notifies
* an instance of [OnInterceptTouchEventListener]
*/
internal interface OnInterceptTouchEventListenerHost {
/**
* Listener itself.
*/
var onInterceptTouchEventListener: OnIntercep... | 5 | Kotlin | 128 | 2,240 | dd102394ed7b240ace9eaef9228567f98e54d9cf | 343 | divkit | Apache License 2.0 |
api/src/test/kotlin/com/google/prefab/api/AndroidTest.kt | google | 219,046,212 | false | null | /*
* Copyright 2019 Google LLC
*
* 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 agreed to ... | 35 | null | 34 | 194 | 176f5b1d6fc90297271b44c5452a6ebd9a98c39f | 15,252 | prefab | Apache License 2.0 |
app/src/main/java/com/ushatech/aestoreskotlin/ui/adapter/CartAdapter.kt | RedEyesNCode | 602,876,907 | false | null | package com.ushatech.aestoreskotlin.ui.adapter
import android.content.Context
import android.util.Log
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.ushatech.aestoreskotlin.R
import com.ushatech.aestoreskotlin... | 0 | Kotlin | 0 | 0 | 2721570afb9086dddcbb7e3ee6f77c42ec73beee | 3,042 | aestores.online_Kotlin | Apache License 2.0 |
sample-android/src/main/java/kelm/sample/signUp/form/SignUpFormView.kt | AllanHasegawa | 198,645,685 | false | null | package kelm.sample.signUp.form
import android.content.Context
import android.util.AttributeSet
import android.view.View
import android.widget.EditText
import android.widget.FrameLayout
import kelm.sample.R
import kelm.sample.SimpleTextWatcher
import kelm.sample.signUp.form.SignUpFormElement.EmailError
import kelm.sam... | 0 | Kotlin | 2 | 18 | f7e8c42cf84a4de32864582e981d129666957a7d | 3,960 | kelm | Apache License 2.0 |
features/finances/impl/src/main/kotlin/br/com/mob1st/features/finances/impl/ui/builder/intro/BuilderIntroViewModel.kt | mob1st | 526,655,668 | false | {"Kotlin": 527905, "Shell": 1558} | package br.com.mob1st.features.finances.impl.ui.builder.intro
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import br.com.mob1st.core.androidx.viewmodels.launchIn
import br.com.mob1st.core.kotlinx.coroutines.stateInWhileSubscribed
import br.com.mob1st.core.state.managers.AsyncLoadingStat... | 11 | Kotlin | 0 | 3 | e2fb243486f2d32a42ecfad165b83e65dc1ad256 | 2,195 | bet-app-android | Apache License 2.0 |
app/src/main/java/com/tinyfish/jeekalarm/ConfigService.kt | tifish | 244,591,555 | false | null | package com.tinyfish.jeekalarm
import com.tinyfish.jeekalarm.start.App
import kotlinx.serialization.Serializable
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import java.io.File
object ConfigService {
var data = ConfigData()
... | 0 | Kotlin | 0 | 0 | 87aed21470938ab1255a23284c1b83c5d8257f1a | 792 | JeekAlarm | Apache License 2.0 |
kernel/src/main/kotlin/eu/simonbinder/kart/kernel/binary/reader/Exceptions.kt | simolus3 | 246,149,736 | false | null | package eu.simonbinder.kart.kernel.binary.reader
abstract class KernelReaderException : Exception()
class InvalidKernelVersionException(
private val actual: Int
) : KernelReaderException() {
override fun toString(): String = "Unexpected Kernel version: $actual."
}
class ParsingException(
private val msg:... | 1 | Kotlin | 2 | 14 | 7d780397ccb20bc50265abd653e88f8c5a5751a2 | 493 | kart | MIT License |
kotlin-mui-icons/src/main/generated/mui/icons/material/TaskAltOutlined.kt | JetBrains | 93,250,841 | false | null | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/TaskAltOutlined")
@file:JsNonModule
package mui.icons.material
@JsName("default")
external val TaskAltOutlined: SvgIconComponent
| 12 | Kotlin | 5 | 983 | 372c0e4bdf95ba2341eda473d2e9260a5dd47d3b | 212 | kotlin-wrappers | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.