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/kotlin/com/helltar/artific_intellig_bot/Commands.kt | Helltar | 591,327,331 | false | null | package com.helltar.artific_intellig_bot
object Commands {
const val cmdChat = "/chat"
const val cmdChatCtx = "/chatctx" // dialog context
const val cmdChatCtxRemove = "/chatrm" // remove context
const val cmdChatAsText = "/chatastext"
const val cmdChatAsVoice = "/chatasvoice"
const val cmdSt... | 0 | Kotlin | 2 | 12 | 3a8f7cc25ad08e0a0ecd0b74a15642529456eb04 | 1,176 | artific_intellig_bot | MIT License |
minchat-client/src/main/kotlin/io/minchat/client/plugin/MinchatPlugin.kt | MinChat-official | 604,238,971 | false | {"Kotlin": 394469} | package io.minchat.client.plugin
import io.minchat.client.*
import io.minchat.rest.event.MinchatEvent
import kotlinx.coroutines.flow.*
/**
* A plugin that extends or changes the functionality of the minchat mod.
*
* @param name the name of this plugin. Should use kebab-case, e.g.: "amazing-minchat-plugin".
*/
abs... | 0 | Kotlin | 0 | 3 | 8f70585146311efe9fc49e4e3b93eb8becb92cba | 1,902 | MinChat | Apache License 2.0 |
finch-java-core/src/main/kotlin/com/tryfinch/api/services/async/ats/OfferServiceAsync.kt | Finch-API | 581,317,330 | false | null | @file:Suppress("OVERLOADS_INTERFACE") // See https://youtrack.jetbrains.com/issue/KT-36102
package com.tryfinch.api.services.async.ats
import com.tryfinch.api.core.RequestOptions
import com.tryfinch.api.models.AtsOfferListPageAsync
import com.tryfinch.api.models.AtsOfferListParams
import com.tryfinch.api.models.AtsOf... | 1 | Kotlin | 0 | 4 | 2c53f443c479e0b01499126413569edc5dc0b1ef | 912 | finch-api-java | Apache License 2.0 |
src/test/kotlin/ch/sourcemotion/vertx/redis/client/heimdall/testing/container/TestContainer.kt | wem | 305,085,016 | false | {"Kotlin": 162547} | package ch.sourcemotion.vertx.redis.client.heimdall.testing.container
import org.testcontainers.containers.GenericContainer
import org.testcontainers.containers.Network
import org.testcontainers.containers.ToxiproxyContainer
import org.testcontainers.utility.DockerImageName
internal class TestContainer(dockerImageNam... | 2 | Kotlin | 0 | 1 | 158e21b9de1a03b5ac5f2c9ffe050b3d2aa55fc6 | 937 | vertx-redis-client-heimdall | MIT License |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/RawOn.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3058356, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/RawOn")
package mui.icons.material
@JsName("default")
external val RawOn: SvgIconComponent
| 0 | Kotlin | 5 | 35 | f8b65644caf9131e020de00a02718f005a84b45d | 174 | mui-kotlin | Apache License 2.0 |
app/src/main/java/com/mindorks/framework/mvvm/ui/main/home/HomeViewModel.kt | luyenphong00 | 531,771,222 | false | null | package com.mindorks.framework.mvvm.ui.main.home
import androidx.lifecycle.*
import com.mindorks.framework.mvvm.common.BaseViewModel
import com.mindorks.framework.mvvm.data.model.DataResponseDepartment
import com.mindorks.framework.mvvm.data.model.DepartmentsModel
import com.mindorks.framework.mvvm.data.model.User
imp... | 0 | Kotlin | 0 | 0 | f2dab7e92ff3bb3cb0cddc3d3c555de0deaee21f | 3,813 | BookHouse | Apache License 2.0 |
assemblyadapter-list/src/androidTest/java/com/github/panpf/assemblyadapter/list/test/expandable/internal/ChildClickListenerStorageTest.kt | panpf | 42,781,599 | false | null | /*
* Copyright (C) 2021 panpf <<EMAIL>>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 0 | Kotlin | 33 | 169 | 00cf02eb1b2be82685a2997d5473579246e256c8 | 3,422 | assembly-adapter | Apache License 2.0 |
app/src/main/java/com/example/pemesanan_tiket/AdapterTiket.kt | mrAldirs | 690,418,747 | false | {"Kotlin": 79186, "PHP": 8500} | package com.example.pemesanan_tiket
import android.app.AlertDialog
import android.content.DialogInterface
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.LinearLayout
i... | 0 | Kotlin | 0 | 1 | 8f9086616eb0343bb4e0a1290ce60eb75ef66e9e | 4,596 | pemesanan-tiket-kotlin | Apache License 2.0 |
src/test/kotlin/com/mt/notion/api/database/DatabasesTest.kt | motui | 479,945,371 | false | null | package com.mt.notion.api.database
import com.mt.notion.api.database.response.query.Databases
import com.mt.notion.util.JsonUtil
import org.junit.jupiter.api.Assertions
import org.junit.jupiter.api.Test
/**
*
* @author it.motui
*/
internal class DatabasesTest {
@Test
fun deserialize() {
val json =... | 0 | Kotlin | 0 | 1 | 80b7b256d8d7c34b15cf79d1e5f539c8ef4736b4 | 4,141 | notion-sdk-kotlin | MIT License |
src/test/kotlin/org/lexem/angmar/analyzer/nodes/functional/statements/DestructuringElementStmtAnalyzerTest.kt | lexemlang | 184,409,059 | false | {"Kotlin": 3049940} | package org.lexem.angmar.analyzer.nodes.functional.statements
import org.junit.jupiter.api.*
import org.lexem.angmar.analyzer.*
import org.lexem.angmar.analyzer.data.primitives.*
import org.lexem.angmar.parser.functional.statements.*
import org.lexem.angmar.utils.*
internal class DestructuringElementStmtAnalyzerTest ... | 0 | Kotlin | 0 | 2 | 45fb563507a00c3eada89be9ab6e17cfe1701958 | 6,048 | angmar | MIT License |
src/main/kotlin/eu/jameshamilton/bf/backend/smali/SmaliCodeGenerator.kt | mrjameshamilton | 489,653,524 | false | {"Kotlin": 53514, "Brainfuck": 120, "Shell": 35} | package eu.jameshamilton.bf.backend.smali
import eu.jameshamilton.bf.backend.CodeGenerator
import eu.jameshamilton.bf.debug
import eu.jameshamilton.bf.frontend.Node
import java.io.File
import java.lang.Integer.toHexString
class SmaliCodeGenerator : CodeGenerator {
override fun generate(program: Node.Program, out... | 0 | Kotlin | 0 | 7 | 8a4c038b3f7a15599f1190aa142a8a3f3096038d | 3,145 | bf | MIT License |
src/main/kotlin/no/nav/familie/ba/sak/integrasjoner/økonomi/UtbetalingsoppdragGenerator.kt | navikt | 224,639,942 | false | null | package no.nav.familie.ba.sak.integrasjoner.økonomi
import no.nav.familie.ba.sak.common.Feil
import no.nav.familie.ba.sak.integrasjoner.økonomi.ØkonomiUtils.SMÅBARNSTILLEGG_SUFFIX
import no.nav.familie.ba.sak.integrasjoner.økonomi.ØkonomiUtils.andelerTilOpphørMedDato
import no.nav.familie.ba.sak.integrasjoner.økonomi.... | 6 | Kotlin | 0 | 7 | a33ee2c537dbe9d78dbbf79deb3e932898fed2f4 | 9,212 | familie-ba-sak | MIT License |
shared/src/main/kotlin/enums/WidgetType.kt | Semajian | 381,797,194 | false | null | package shared.enums
enum class WidgetType(val id: Int) {
Container(0),
Text(4),
Item(5)
} | 0 | null | 0 | 0 | c83c5cf60d0b51d750380eef820a792574d336c1 | 103 | Salmon | MIT License |
FoxBook-app/app/src/main/java/com/example/foxbook/fragments/FiltersFragment.kt | JuliManhupli | 720,413,399 | false | {"Kotlin": 178726, "Python": 62144, "HTML": 8834} | package com.example.foxbook.fragments
import android.graphics.drawable.ColorDrawable
import android.os.Bundle
import android.view.View
import android.widget.AdapterView
import android.widget.ArrayAdapter
import android.widget.Button
import android.widget.ImageButton
import android.widget.Spinner
import android.widget.... | 0 | Kotlin | 0 | 1 | e40b7ca20a59bd16621e8420b3c3bab100e3c73d | 10,548 | FoxBook | MIT License |
view/src/main/java/com/kizitonwose/calendar/view/internal/yearcalendar/YearRoot.kt | kizitonwose | 182,417,603 | false | {"Kotlin": 670112, "HTML": 343, "CSS": 102} | package com.kizitonwose.calendar.view.internal.yearcalendar
import android.content.Context
import android.graphics.Color
import android.graphics.drawable.ShapeDrawable
import android.graphics.drawable.shapes.RectShape
import android.view.View
import android.view.ViewGroup
import android.view.ViewGroup.LayoutParams.MAT... | 13 | Kotlin | 505 | 4,651 | 36de800a6c36a8f142f6432a0992e0ea4ae8a789 | 6,340 | Calendar | MIT License |
src/main/kotlin/me/kvdpxne/dtm/data/ArenaSpawnPointsTable.kt | kvdpxne | 666,098,225 | false | null | package me.kvdpxne.dtm.data
import me.kvdpxne.dtm.game.Arena
import me.kvdpxne.dtm.game.SpawnPoint
import org.ktorm.dsl.*
import org.ktorm.schema.Table
import org.ktorm.schema.varchar
import java.util.UUID
object ArenaSpawnPointsTable : Table<Nothing>("arena_spawn_points") {
val arena = varchar("arena")
val spaw... | 0 | Kotlin | 0 | 0 | 8923790304a205930d50889aa91c7a9c22e490cc | 1,034 | destroy-the-monument | Apache License 2.0 |
mobile/app/src/commonMain/kotlin/com/langsapp/architecture/SideEffect.kt | szymonklimek | 527,003,710 | false | {"Kotlin": 107952, "Swift": 6116, "Ruby": 2227, "Dockerfile": 400} | package com.langsapp.architecture
interface SideEffect
sealed interface CommonSideEffect : SideEffect {
abstract class NavigationSideEffect(direction: Direction) : CommonSideEffect {
enum class Direction { BACKWARD, FORWARD }
}
data class ShowPopUpMessage(val message: String) : CommonSideEffect
}
| 10 | Kotlin | 0 | 1 | 962898ea0667450bba1f42a87c42acdc7bf70368 | 320 | langsapp | Apache License 2.0 |
app/src/main/java/com/shashank/weatherapp/data/repositories/WeatherRepository.kt | Shashank02051997 | 362,272,928 | false | null | package com.shashank.weatherapp.data.repositories
import com.shashank.weatherapp.data.local.WeatherDatabase
import com.shashank.weatherapp.data.model.WeatherDataResponse
import com.shashank.weatherapp.data.model.WeatherDetail
import com.shashank.weatherapp.data.network.ApiInterface
import com.shashank.weatherapp.data.... | 9 | Kotlin | 9 | 90 | 2f002f40d69646e7c08dbc56de173a616df1b5e1 | 964 | WeatherApp-Android | The Unlicense |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/outline/Play.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Co... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 2,523 | VuesaxIcons | MIT License |
magical/src/main/kotlin/com/magical/map/model/IFeature.kt | raedev | 560,734,896 | false | null | package com.magical.map.model
/**
* 要素实体
* @author RAE
* @date 2022/11/19
* @copyright Copyright (c) https://github.com/raedev All rights reserved.
*/
interface IFeature {
fun setPrimaryValue(value: String)
fun getPrimaryValue(): String
fun setGeometryJson(json: String)
fun getGeometryJson(): ... | 0 | Kotlin | 0 | 0 | d9765db6c5690eef5d1078d4505ad26783857867 | 328 | GeoMagical | Apache License 2.0 |
bindings/darwin/darwin/foundation/src/main/kotlin/darwin/NSClass.kt | ygdrasil-io | 634,882,904 | false | {"Kotlin": 365216, "C": 3541, "Shell": 2951, "Objective-C": 1076, "C++": 567} | package darwin
open class NSClass(val name: String) : NSObject(ObjectiveC.objc_getClass(name)) {
val OBJ_CLASS = id
} | 1 | Kotlin | 1 | 0 | 20cc4d2a8da932a5255568942425ff15f1ab6418 | 119 | klang | MIT License |
src/main/kotlin/no/njoh/pulseengine/modules/scene/systems/physics/shapes/PointShape.kt | NiklasJohansen | 239,208,354 | false | null | package no.njoh.pulseengine.modules.scene.systems.physics.shapes
import no.njoh.pulseengine.data.Shape
import org.joml.Vector2f
data class PointShape(
/** Current position */
var x: Float = 0f,
var y: Float = 0f,
/** Last position, used to calculate velocity */
var xLast: Float = 0f,
var yLas... | 0 | Kotlin | 0 | 0 | d2c0d09732fed1f2221ee17e5a28f0e50857b333 | 1,138 | PulseEngine | MIT License |
billing/src/main/java/com/ribsky/billing/wrapper/BillingClientWrapperImpl.kt | nexy791 | 607,748,138 | false | null | package com.ribsky.billing.wrapper
import androidx.appcompat.app.AppCompatActivity
import com.ribsky.billing.client.BillingClient
import com.ribsky.billing.manager.SubManager
import jp.alessandro.android.iab.BillingProcessor
import jp.alessandro.android.iab.Item
import jp.alessandro.android.iab.PurchaseType
import jp.... | 0 | Kotlin | 0 | 7 | d2e9f7c04635e1793bfe8f421b4bc5ef162556c0 | 4,317 | dymka | Apache License 2.0 |
app/src/main/java/com/mollie/checkout/feature/base/BaseActivity.kt | mollie | 431,494,734 | false | null | package com.mollie.checkout.feature.base
import android.os.Bundle
import android.view.MenuItem
import androidx.annotation.LayoutRes
import androidx.appcompat.app.AppCompatActivity
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import com.google.android.material.snackbar.Snackba... | 1 | Kotlin | 2 | 2 | fa2ea1801b6ffc11246fa55fc779bc44427b2bba | 1,511 | demo-checkout-android | MIT License |
internal-publish-plugins/plugin-publish-plugin/src/main/kotlin/com/bselzer/gradle/internal/plugin/publish/plugin/PluginPublishExtensionExtensions.kt | Woody230 | 638,902,833 | false | {"Kotlin": 80247} | package com.bselzer.gradle.internal.plugin.publish.plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.create
private const val EXTENSION_NAME = "pluginPublishExtension"
val Project.pluginPublishExtension: PluginPublishExtension
get() = extensions.findByName(EXTENSION_NAME) as? PluginPublishExtensi... | 0 | Kotlin | 0 | 0 | 420226a7409d19a056831908280aac27c613993d | 483 | GradleExtensions | Apache License 2.0 |
AntiSocialNetwork-v3.1/app/src/main/java/flame4ost/antisocialnetwork/ua/view_model/user_list_vm/UserViewModelFactory.kt | googlove | 524,225,300 | false | null | package flame4ost.antisocialnetwork.ua.view_model.user_list_vm
import android.app.Application
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import flame4ost.antisocialnetwork.ua.repository.UserDataBaseDao
class UserViewModelFactory(
private val dataSource: UserDataBaseDao,
pr... | 0 | Kotlin | 0 | 0 | 64aa7e5def38d4642159e0790668c253e631fa28 | 705 | EkreativeCourses | MIT License |
Practice/Algorithms/Strings/Pangrams.kts | kukaro | 352,032,273 | false | null | import kotlin.collections.*
import kotlin.io.*
import kotlin.text.*
/*
* Complete the 'pangrams' function below.
*
* The function is expected to return a STRING.
* The function accepts STRING s as parameter.
*/
fun pangrams(s: String): String {
val map = HashMap<Char, Boolean>()
var result = 0
for (c... | 0 | Kotlin | 0 | 0 | 4f04ff7b605536398aecc696f644f25ee6d56637 | 776 | hacker-rank-solved | MIT License |
domain/src/main/kotlin/no/nav/su/se/bakover/domain/vilkår/VilkårsvurderingerEx.kt | navikt | 227,366,088 | false | {"Kotlin": 9509213, "Shell": 4372, "TSQL": 1233, "Dockerfile": 1211} | package no.nav.su.se.bakover.domain.vilkår
import arrow.core.Either
import arrow.core.left
import arrow.core.right
import behandling.revurdering.domain.VilkårsvurderingerRevurdering
import behandling.søknadsbehandling.domain.VilkårsvurderingerSøknadsbehandling
import vilkår.familiegjenforening.domain.Familiegjenforeni... | 1 | Kotlin | 1 | 1 | e0193ea73a8771537b04819641348093f011c1f8 | 3,169 | su-se-bakover | MIT License |
health/connect/connect-client/src/main/java/androidx/health/connect/client/impl/platform/records/AggregationMappings.kt | androidx | 256,589,781 | false | {"Kotlin": 102030536, "Java": 64427990, "C++": 9133578, "AIDL": 615135, "Python": 310931, "Shell": 189438, "TypeScript": 40586, "HTML": 35176, "Groovy": 27482, "ANTLR": 26700, "Svelte": 20307, "CMake": 18011, "C": 16982, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019} | /*
* 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... | 27 | Kotlin | 931 | 5,083 | 106587b3eb2ccd0d756991fae56d9d2cd67c1260 | 11,009 | androidx | Apache License 2.0 |
lite/examples/generative_ai/android/app/src/main/java/com/google/tensorflowdemo/util/StringExt.kt | tensorflow | 141,200,054 | false | null | /*
* Copyright 2023 The TensorFlow Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | 133 | null | 7394 | 7,912 | 9084c2efc4837ecaa2544b43ea2f3c26b593dde4 | 2,139 | examples | Apache License 2.0 |
app/app/src/main/java/com/example/genshin_wiki/data/responses/CharacterListResponse.kt | SlavaPerryAyeKruchkovenko | 600,055,723 | false | null | package com.example.genshin_wiki.data.responses
import com.google.gson.annotations.SerializedName
data class CharacterListResponse (
@SerializedName("data") val characters: List<CharacterResponse>
) | 0 | Kotlin | 0 | 0 | bd98b658211d3a73f12c96a356af3ad95f18ddd4 | 204 | Genshin_Wiki | MIT License |
library/src/main/kotlin/org/astronkt/client/AstronClientRepository.kt | rand0m-cloud | 860,244,492 | false | {"Kotlin": 180170, "Shell": 205} | @file:Suppress("unused", "MemberVisibilityCanBePrivate")
package org.astronkt.client
import kotlinx.coroutines.*
import kotlinx.coroutines.flow.MutableSharedFlow
import kotlinx.coroutines.flow.SharedFlow
import kotlinx.coroutines.flow.first
import org.astronkt.*
import java.nio.ByteBuffer
import java.nio.ByteOrder
im... | 0 | Kotlin | 0 | 3 | 4810a336c5eae76c20facae796cff7435d21c1e6 | 11,536 | astronkt | Apache License 2.0 |
calendar/src/main/kotlin/picker/dropdownTogglePicker/DropdownTogglePickerPopup.kt | Buldugmaster99 | 386,209,155 | false | null | package picker.dropdownTogglePicker
import javafx.collections.ObservableList
import javafx.geometry.Pos
import javafx.scene.paint.Color
import javafx.stage.Popup
import logic.listen
import tornadofx.*
class DropdownTogglePickerPopup(toggles: ObservableList<DropdownToggle>, change: (DropdownToggle) -> Unit): Popup() {... | 18 | Kotlin | 0 | 2 | beef0cbcfca23885f3960ea8e32e5a487e5ab353 | 1,100 | Calendar | MIT License |
api/src/test/kotlin/no/nav/helse/sparsom/api/dao/AktivitetDaoTest.kt | navikt | 527,874,798 | false | null | package no.nav.helse.sparsom.api.dao
import com.zaxxer.hikari.HikariConfig
import com.zaxxer.hikari.HikariDataSource
import org.flywaydb.core.Flyway
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.testcontainers.containers.Postgr... | 0 | Kotlin | 1 | 0 | 903a21b88a8a46ce9598998e758376540fcacc6a | 1,360 | helse-sparsom | MIT License |
app/src/main/java/com/getcode/view/main/bill/ScannableCode.kt | code-payments | 723,049,264 | false | {"Kotlin": 1903544, "C": 198685, "C++": 83029, "Java": 52287, "Shell": 5629, "Ruby": 3397, "CMake": 2594} | package com.getcode.view.main.bill
import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.viewinterop.AndroidView
i... | 1 | Kotlin | 11 | 14 | 720f236b98cccb91a6255d2124d4ba828f5e6720 | 1,152 | code-android-app | MIT License |
app/src/main/java/org/sugarandrose/app/util/manager/TutorialManager.kt | floschu | 114,451,356 | false | {"Kotlin": 248387, "Java": 19883, "Ruby": 1201} | package org.sugarandrose.app.util.manager
import android.content.Context
import android.view.View
import androidx.core.content.ContextCompat
import androidx.fragment.app.FragmentActivity
import org.sugarandrose.app.R
import uk.co.deanwild.materialshowcaseview.IShowcaseListener
import uk.co.deanwild.materialshowcasevie... | 0 | Kotlin | 0 | 0 | 6d0d443f9cdbaaab11259444e6134aac015b76ac | 2,523 | sugarandrose | Apache License 2.0 |
kotlin-4-devs-java/src/main/kotlin/interoperabilidade/java/HelloJavaFromKotlin.kt | acaciolivia | 753,864,245 | false | {"Kotlin": 8606, "Java": 1318} | package interoperabilidade.java
import interoperabilidade.Animal
fun main() {
val cat = Animal("Garfield", "cat", 10)
println(cat.show())
val dog = Animal("Totó", "dog", 8)
println(dog.show())
} | 0 | Kotlin | 0 | 0 | 9bcf088ae641f38e2407e516fa584e58f5f1b4f0 | 214 | kotlin-4-devs-java | Apache License 2.0 |
app/src/main/java/com/kproject/simplechat/presentation/screens/authentication/components/FieldType.kt | jsericksk | 437,991,571 | false | null | package com.kproject.simplechat.presentation.screens.authentication.components
enum class FieldType {
Email, Password, None
} | 0 | Kotlin | 1 | 7 | f59e552e2056fa4fc5b54eca535b24c3055d84e8 | 130 | Simple-Chat | MIT License |
src/main/kotlin/image/ImageViewer.kt | MorcilloSanz | 663,941,199 | false | {"Kotlin": 34890, "TeX": 17984} | package image
import java.awt.Dimension
import java.awt.Graphics
import javax.swing.JPanel
class ImageViewer : JPanel() {
private var image: Image? = null
fun setImage(image: Image) {
this.image = image
this.preferredSize = Dimension(image.width, image.height)
}
public override fun ... | 0 | Kotlin | 0 | 1 | 2cc7909433b2b00baaf58498c109d71db7bafdc8 | 470 | Kathtracer | MIT License |
app/src/main/java/com/transfers/transfertracker/view/dashboard/StatisticsComponent.kt | Josephhowerton | 527,618,192 | false | null | package com.transfers.transfertracker.view.dashboard
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.text.ClickableText
import androidx.compose.material.Card
import androidx.compose.mater... | 0 | Kotlin | 0 | 0 | 3f81d1bb6b2e36587f5b599ba4b1c4a0a415d7d7 | 12,715 | transfer-app | Creative Commons Zero v1.0 Universal |
lib_common/src/main/java/com/victor/lib/common/util/Loger.kt | tchigher | 286,360,359 | true | {"Kotlin": 517816} | package com.victor.lib.common.util
import android.util.Log
import com.victor.lib.common.base.AppConfig
/*
* -----------------------------------------------------------------
* Copyright (C) 2018-2028, by Victor, All rights reserved.
* -----------------------------------------------------------------
* File: Loger... | 0 | null | 0 | 0 | 27ff1cca8445b0c47b02a54dc65014f8a01df0dd | 949 | Cherry | Apache License 2.0 |
data/src/main/java/com/lighthouse/android/data/model/response/UserTokenDTO.kt | soma-lighthouse | 658,620,687 | false | {"Kotlin": 444678} | package com.lighthouse.android.data.model.response
import com.google.gson.annotations.SerializedName
import com.lighthouse.domain.entity.response.vo.TokenVO
import com.lighthouse.domain.entity.response.vo.UserTokenVO
data class UserTokenDTO(
@SerializedName("uuid")
val uuid: String?,
@SerializedName("user... | 0 | Kotlin | 0 | 0 | f6c297f85086b6df358948a26aac563b79e543a7 | 1,093 | FE-lingo-swap | Apache License 2.0 |
app/src/main/java/com/example/news/domain/model/profile/SourcesList.kt | KotezMorovez | 756,865,346 | false | {"Kotlin": 240591} | package com.example.news.domain.model.profile
data class SourcesList(
val sources: List<Source>
) | 0 | Kotlin | 0 | 0 | 6c55bfd6fd98b0ad7cf3f179b2387c33bd2d2e71 | 102 | News | MIT License |
modules/graphql/sources-jvm/definitions/RaptorGraphOperationDefinitionBuilder.kt | fluidsonic | 246,018,343 | false | null | package io.fluidsonic.raptor
import io.fluidsonic.raptor.graphql.internal.*
@RaptorDsl
public class RaptorGraphOperationDefinitionBuilder<Value> internal constructor(
private val additionalDefinitions: Collection<RaptorGraphDefinition>,
private val kotlinType: KotlinType,
private val name: String,
private val op... | 0 | Kotlin | 1 | 6 | aa106d096b700d6eadbcf9ef5df8ec102f7a3fac | 1,792 | raptor | Apache License 2.0 |
features/permission/src/main/java/com/github/dhaval2404/callrecorder/permission/util/PermissionManager.kt | Dhaval2404 | 236,434,194 | false | null | package com.github.dhaval2404.callrecorder.permission.util
import android.Manifest
import android.annotation.SuppressLint
import android.app.role.RoleManager
import android.content.Context
import android.content.pm.PackageManager
import com.github.dhaval2404.base.util.AndroidSDK
import com.github.dhaval2404.callrecord... | 0 | Kotlin | 1 | 3 | 825684009e4f257a745967410a4860c4a427c04a | 3,857 | CallRecorder | Apache License 2.0 |
ksoup-engine-korlibs/src/com/fleeksoft/ksoup/engine/KsoupEngineImpl.kt | fleeksoft | 719,100,459 | false | {"Kotlin": 1504105, "HTML": 36067, "Shell": 7600} | package com.fleeksoft.ksoup.engine
import com.fleeksoft.ksoup.io.*
import korlibs.io.lang.Charsets
object KsoupEngineImpl : KsoupEngine {
override fun getUtf8Charset(): Charset {
return CharsetImpl(Charsets.UTF8)
}
override fun charsetForName(name: String): Charset {
return CharsetImpl(n... | 7 | Kotlin | 11 | 281 | 4fd2972a008ee39df42c5ee8cb06ff54860d3e7b | 438 | ksoup | Apache License 2.0 |
TripKitDomain/src/main/java/com/skedgo/tripkit/routingstatus/Status.kt | skedgo | 38,415,407 | false | {"Gradle": 16, "Markdown": 6, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 13, "Batchfile": 1, "JSON": 21, "Kotlin": 326, "XML": 78, "Java": 339, "Proguard": 5, "INI": 6, "Git Attributes": 1, "YAML": 2} | package com.skedgo.tripkit.routingstatus
sealed class Status() {
class InProgress : Status()
class Completed : Status()
class Error(val message: String?) : Status()
}
| 2 | Java | 3 | 4 | 55fd2ddc7692ccf183499c387bdab32476732bdc | 174 | tripkit-android | Apache License 2.0 |
app/src/main/java/com/kylecorry/enginesense/infrastructure/connection/MockOnboardDiagnosticsChooser.kt | kylecorry31 | 507,320,010 | false | null | package com.kylecorry.enginesense.infrastructure.connection
import com.kylecorry.enginesense.domain.DiagnosticTroubleCode
import com.kylecorry.enginesense.domain.DiagnosticTroubleCodeStatus
import com.kylecorry.enginesense.infrastructure.device.IOnboardDiagnostics
import com.kylecorry.enginesense.infrastructure.device... | 7 | Kotlin | 0 | 0 | ccd29392e5c728fa353fc4267096c7911b58cf40 | 635 | Engine-Sense | MIT License |
vendor/vendor-android/base/src/main/kotlin/com/malinskiy/marathon/android/executor/listeners/screenshot/AdamScreenCaptureTestRunListener.kt | dandycheung | 240,221,665 | false | {"Gradle Kotlin DSL": 27, "CODEOWNERS": 1, "Shell": 11, "Text": 2, "Ignore List": 5, "Batchfile": 4, "YAML": 27, "EditorConfig": 1, "Markdown": 22, "XML": 54, "OpenStep Property List": 11, "Swift": 18, "JSON": 22, "INI": 8, "Java": 10, "Gherkin": 5, "Kotlin": 508, "Gradle": 3, "JavaScript": 27, "JSON with Comments": 1,... | package com.malinskiy.marathon.android.executor.listeners.screenshot
import com.malinskiy.marathon.android.AndroidDevice
import com.malinskiy.marathon.android.executor.listeners.NoOpTestRunListener
import com.malinskiy.marathon.android.model.TestIdentifier
import com.malinskiy.marathon.device.DevicePoolId
import com.m... | 1 | null | 1 | 1 | 39e4201ee0d2d93e2dfaeafa5982cb5eda0da932 | 2,590 | marathon | Apache License 2.0 |
app/src/androidTest/java/com/example/spacex/ExampleInstrumentedTest.kt | mejdi14 | 295,167,256 | false | null | package com.example.spacex
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.isDisplayed
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.ext.junit.rules.ActivityScenarioRule
impo... | 0 | Kotlin | 0 | 6 | 705830e05215541bdb9d228ee4a9f1560163c63f | 1,204 | spacex-android-client | MIT License |
android-client/src/main/kotlin/io/morfly/client/ui/comments/CommentScreen.kt | Morfly | 418,215,700 | false | null | package io.morfly.client.ui.comments
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Divider
import androidx.compose.material.Material... | 0 | Kotlin | 1 | 5 | e8d56a581eef6e63d1f0512e9d088b074ecbb735 | 1,799 | grpc-graphql-rest-sample | MIT License |
app/src/main/java/com/sandeep/music_recognizer_app/SplashActivity.kt | mssandeepkamath | 640,452,813 | false | {"Kotlin": 40641, "Java": 7051} | package com.sandeep.music_recognizer_app
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.ViewModelProvider
import com.google.android.gms.ads.AdRequest
import com.google.android.gms.ads.L... | 0 | Kotlin | 0 | 2 | 2a83dc192017d7f35effcb99d793b20062a5f480 | 2,280 | muzifind-android | Apache License 2.0 |
app/src/main/java/com/college/collegeconnect/database/dao/ThursdayDao.kt | collegeconnect | 214,762,501 | false | null | package com.college.collegeconnect.database.dao
import androidx.lifecycle.LiveData
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import com.college.collegeconnect.database.entity.ThursdayEntity
import com.college.collegeconnect.database.entity.TuesdayEntity
@Dao
interface ThursdayDao... | 12 | Java | 68 | 95 | bfa86cba1c0b053f6c10574c2a7a8f950375eb69 | 594 | CollegeConnect | Apache License 2.0 |
library/src/main/java/com/niekam/edgeprogressbar/EdgeProgress.kt | NieKam | 129,239,452 | false | null | package com.niekam.edgeprogressbar
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.animation.ObjectAnimator
import android.animation.ValueAnimator
import android.app.Activity
import android.content.Context
import android.graphics.*
import android.os.Build
import androi... | 0 | Kotlin | 1 | 0 | a4e1149b2b1cc33952e6f6e03a8de3dc3c4d1760 | 12,830 | EdgeProgressBar | Apache License 2.0 |
db/db-serialization/src/commonMain/kotlin/pw/binom/db/serialization/SQLCompositeDecoder.kt | caffeine-mgn | 182,165,415 | false | {"C": 13079003, "Kotlin": 1913743, "C++": 200, "Shell": 88} | package pw.binom.db.serialization
import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.SerializationException
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serialization.encoding.CompositeDecoder
import ko... | 7 | C | 2 | 59 | 580ff27a233a1384273ef15ea6c63028dc41dc01 | 4,462 | pw.binom.io | Apache License 2.0 |
src/test/kotlin/io/andrewohara/utils/http4k/ws/JavaWsHandlerTest.kt | oharaandrew314 | 367,413,369 | false | {"Kotlin": 91906, "HTML": 1435} | package io.andrewohara.utils.http4k.ws
import com.natpryce.hamkrest.assertion.assertThat
import com.natpryce.hamkrest.equalTo
import com.natpryce.hamkrest.hasSize
import org.http4k.core.Method
import org.http4k.core.Request
import org.http4k.core.Uri
import org.http4k.server.Jetty
import org.http4k.server.asServer
imp... | 0 | Kotlin | 0 | 2 | 9ea7b5b9e2ef974abdcf387091031eba2104ec78 | 1,342 | service-utils | Apache License 2.0 |
app/src/main/java/com/pauk/justminingcompanion/api/JustMiningService.kt | LiamAbyss | 326,745,567 | false | null | package com.pauk.justminingcompanion.api
import com.pauk.justminingcompanion.models.masternodes.MasternodeResponse
import com.pauk.justminingcompanion.models.StatusResponse
import com.pauk.justminingcompanion.models.stakings.StakingResponse
import com.pauk.justminingcompanion.models.wallets.WalletResponse
import retro... | 0 | Kotlin | 0 | 0 | de196b63ace6d370a109b6347323e994b329ab74 | 808 | JustMiningCompanion | MIT License |
common/src/main/kotlin/io/rippledown/model/condition/structural/CaseStructurePredicate.kt | TimLavers | 513,037,911 | false | {"Kotlin": 1339355, "Gherkin": 118321} | package io.rippledown.model.condition.structural
import io.rippledown.model.Attribute
import io.rippledown.model.RDRCase
import kotlinx.serialization.Serializable
@Serializable
sealed interface CaseStructurePredicate {
fun evaluate(case: RDRCase): Boolean
fun description(): String
fun alignAttributes(idTo... | 0 | Kotlin | 0 | 0 | 60d108b6dc606472631299f2a426dee8b6795fa3 | 434 | OpenRDR | MIT License |
admin/src/main/java/com/sampah/admin/ui/historySampah/HistorySampahActivity.kt | YofhiFauda | 761,065,041 | false | {"Kotlin": 164145} | package com.sampah.admin.ui.historySampah
import android.os.Bundle
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import com.sampah.admin.R
class HistorySampahActivity : AppCompatActivity() {
... | 0 | Kotlin | 0 | 2 | 0b3f92ef3a082fbff56635e26d3bcdb8e6da0da6 | 484 | Bank-Sampah-Digital | MIT License |
commons/network/src/main/java/com/cactus/network/di/Qualifiers.kt | rafaelkapi | 758,750,262 | false | {"Kotlin": 65510} | package com.cactus.network.di
import javax.inject.Qualifier
@Qualifier
@Retention(AnnotationRetention.BINARY)
annotation class BaseUrl
@Qualifier
@Retention(AnnotationRetention.BINARY)
annotation class PrivateKey
@Qualifier
@Retention(AnnotationRetention.BINARY)
annotation class LoggingInterceptor
| 0 | Kotlin | 0 | 0 | ee7dacf648d4d5932e5848d8c40dd4ad39f1aceb | 305 | TheMovie | MIT License |
app/src/main/kotlin/jp/co/yumemi/android/code_check/ui/view/MainActivity.kt | udeni-gtp01 | 652,266,667 | false | {"Kotlin": 68298} | /*
* Copyright © 2021 YUMEMI Inc. All rights reserved.
*/
package jp.co.yumemi.android.code_check.ui.compose
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Experimental... | 6 | Kotlin | 0 | 0 | 1e3845b2d76d285561fcfabcf29383dc988b0e8c | 1,428 | android-engineer-codecheck | Apache License 2.0 |
smartReplyInNotifications/src/main/java/com/example/smartreplyinnotifications/di/SmartReplyInNotificationComponentProvider.kt | BeokBeok | 246,285,005 | false | null | package com.example.smartreplyinnotifications.di
interface SmartReplyInNotificationComponentProvider {
fun getSmartReplyInNotificationComponent(): SmartReplyInNotificationComponent
} | 0 | Kotlin | 0 | 1 | 6588ae1291f66cf4d16bc074defa79c9283ca33e | 188 | Android10Spec | MIT License |
machines/src/main/kotlin/io/github/shkschneider/awesome/items/Imprisoner.kt | shkschneider | 555,774,039 | false | null | package io.github.shkschneider.awesome.items
import io.github.shkschneider.awesome.Awesome
import io.github.shkschneider.awesome.core.AwesomeItem
import io.github.shkschneider.awesome.core.AwesomeSounds
import io.github.shkschneider.awesome.core.AwesomeUtils
import net.fabricmc.fabric.api.item.v1.FabricItemSettings
im... | 0 | Kotlin | 0 | 0 | 806a3a79816b00ddda1dc12ce1a2a0322402b6aa | 5,296 | mc_awesome | MIT License |
sample/android/src/main/java/moe/tlaster/android/MainActivity.kt | Tlaster | 513,815,888 | false | null | package moe.tlaster.android
import android.os.Bundle
import android.view.WindowManager
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.core.view.WindowCompat
import moe.tlaster.common.App
class MainActivity : ComponentActivity() {
override fun onCreate(savedI... | 0 | Kotlin | 0 | 9 | 5e8046e6457e0e1439f27af6747c06c557b6af84 | 593 | SafeArea | MIT License |
autofill/autofill-impl/src/test/java/com/duckduckgo/autofill/impl/ui/credential/management/RegexBasedUrlIdentifierTest.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784} | /*
* Copyright (c) 2023 DuckDuckGo
*
* 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 ... | 67 | Kotlin | 901 | 3,823 | 6415f0f087a11a51c0a0f15faad5cce9c790417c | 1,625 | Android | Apache License 2.0 |
app/src/main/java/com/willowtree/vocable/utils/permissions/PermissionsChecker.kt | willowtreeapps | 188,443,410 | false | {"Kotlin": 340452} | package com.willowtree.vocable.utils.permissions
interface PermissionsChecker {
fun hasPermissions(permission: String): Boolean
fun shouldShowRequestPermissionRationale(permission: String): Boolean
}
| 73 | Kotlin | 14 | 98 | f71f9302f731926929ecece8897b140842021266 | 209 | vocable-android | MIT License |
app/src/main/java/com/guuidea/inreading/widget/CustomView.kt | richardy2012 | 320,735,404 | false | {"Java": 1278131, "HTML": 252483, "Kotlin": 184811} | package com.guuidea.inreading.widget
import android.content.Context
import android.graphics.*
import android.util.AttributeSet
import android.view.ContextThemeWrapper
import android.view.View
/**
* @file CustomView
* @description TODO
* @author 江 杰
* @createDate 2020/11/4 15:55
*/
class Custo... | 0 | Java | 1 | 0 | 08b186b66c8c9b29c71255b2b9e2a389044d5899 | 1,297 | Novels | MIT License |
annotation-processor/tests/cases/1/output-expected/json/encoding/NoneJSONCodec.kt | cybernetics | 196,933,210 | true | {"Kotlin": 640246} | package json.encoding
import codecProvider.CustomCodingContext
import com.github.fluidsonic.fluid.json.AbstractJSONDecoderCodec
import com.github.fluidsonic.fluid.json.JSONCodingType
import com.github.fluidsonic.fluid.json.JSONDecoder
import com.github.fluidsonic.fluid.json.missingPropertyError
import com.github.fluid... | 0 | Kotlin | 0 | 0 | e1991962108950fbeed46aa0e1f2dbaab2493bef | 1,424 | fluid-json | Apache License 2.0 |
build-logic/convention/src/main/kotlin/com/enam/convention/KotlinAndroid.kt | enamkirgec | 778,354,361 | false | {"Kotlin": 26957} | package com.enam.convention
import com.android.build.api.dsl.CommonExtension
import org.gradle.api.JavaVersion
import org.gradle.api.Project
import org.gradle.api.plugins.JavaPluginExtension
import org.gradle.kotlin.dsl.configure
import org.gradle.kotlin.dsl.withType
import org.jetbrains.kotlin.gradle.tasks.KotlinComp... | 0 | Kotlin | 0 | 0 | 16f73f1764ac56453a874531267170af2d7d5f22 | 1,159 | case-study-weather | Apache License 2.0 |
app/src/main/java/com/breezelinktelecom/features/viewPPDDStock/api/UpdateStockRepo.kt | DebashisINT | 851,532,207 | false | {"Kotlin": 15739075, "Java": 1026627} | package com.breezelinktelecom.features.viewPPDDStock.api
import com.breezelinktelecom.base.BaseResponse
import com.breezelinktelecom.features.viewPPDDStock.model.UpdateStockInputParamsModel
import io.reactivex.Observable
/**
* Created by Saikat on 05-10-2018.
*/
class UpdateStockRepo(val apiService: UpdateStockApi)... | 0 | Kotlin | 0 | 0 | 6b0e10f53cfab02f3790b9064bd705ee3dc87fef | 477 | LinkTelecom | Apache License 2.0 |
src/commonMain/kotlin/ru/capjack/tool/depin/Injector.ext.kt | CaptainJack | 144,030,622 | false | null | package ru.capjack.tool.depin
import ru.capjack.tool.reflect.callRef
import ru.capjack.tool.reflect.valueParameters
import kotlin.reflect.KCallable
import kotlin.reflect.KClass
inline fun <reified T : Any> Injector.get(): T {
return get(T::class)
}
inline fun <reified T : Any> Injector.get(name: String): T {
retur... | 0 | Kotlin | 0 | 0 | 83076dd9b664031b5449b585f0332179eaffc35c | 642 | tool-depin | MIT License |
guides/micronaut-rabbitmq/analytics/kotlin/src/main/kotlin/example/micronaut/AnalyticsListener.kt | micronaut-projects | 326,986,278 | false | null | package example.micronaut
import io.micronaut.context.annotation.Requires
import io.micronaut.context.env.Environment
import io.micronaut.rabbitmq.annotation.Queue
import io.micronaut.rabbitmq.annotation.RabbitListener
@Requires(notEnv = [Environment.TEST]) // <1>
@RabbitListener // <2>
class AnalyticsListener(privat... | 89 | null | 7 | 6 | e508781eed11b12cb630705365dc63ed3860f441 | 501 | micronaut-guides | Matrix Template Library License |
lithic-kotlin-core/src/test/kotlin/com/lithic/api/services/blocking/externalBankAccounts/MicroDepositServiceTest.kt | lithic-com | 658,974,440 | false | null | // File generated from our OpenAPI spec by Stainless.
package com.lithic.api.services.blocking.externalBankAccounts
import com.lithic.api.TestServerExtension
import com.lithic.api.client.okhttp.LithicOkHttpClient
import com.lithic.api.models.*
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.E... | 1 | null | 0 | 2 | 7fd02f6dcbd597a96e4ab4ad136de7f01a12c576 | 1,126 | lithic-kotlin | Apache License 2.0 |
ktor-client/ktor-client-cio/jvm/src/io/ktor/client/features/websocket/buildersCio.kt | RuiDTLima | 181,769,977 | true | {"Kotlin": 2537833, "Lua": 280, "HTML": 112} | package io.ktor.client.features.websocket
import io.ktor.client.*
import io.ktor.client.request.*
import io.ktor.http.*
/**
* Create raw [ClientWebSocketSession]: no ping-pong and other service messages are used.
*/
suspend fun HttpClient.webSocketRawSession(
method: HttpMethod = HttpMethod.Get, host: String = ... | 0 | Kotlin | 0 | 1 | 95b5b3b15c7b3b7a59f57aaf3baaa8076d05f195 | 2,097 | ktor | Apache License 2.0 |
src/main/kotlin/com/u6f6o/graveyard/domain/Graveyard.kt | u6f6o | 116,287,330 | false | null | package com.u6f6o.graveyard.domain
data class MovieQuery(val id: Int)
data class ActorQuery(val id: Int)
| 0 | Kotlin | 0 | 0 | 7fc2606d163117b92f42290f79adaa95044be1f3 | 106 | graveyard | MIT License |
app/src/main/java/com/pr0gramm/app/ui/TabsStateAdapter.kt | mopsalarm | 30,804,448 | false | {"Kotlin": 1414351, "Shell": 6752, "Python": 1124} | package com.pr0gramm.app.ui
import android.content.Context
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import androidx.fragment.app.FragmentPagerAdapter
/**
*/
class TabsStateAdapter : FragmentPagerAdapter {
constructor(context: Context, fragment: ... | 39 | Kotlin | 38 | 284 | d6917f3ec16b6664a90a4519843f3d3d4ccae2cf | 2,294 | Pr0 | MIT License |
media-viewer/src/main/java/com/goodayapps/widget/media_viewer/screens/main/MediaPreviewerActivity.kt | TalbotGooday | 387,824,522 | false | null | package com.goodayapps.widget.media_viewer.screens.main
import android.app.ActivityOptions
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.graphics.ColorUtils
import androidx.core.view.isVisible
import androidx.v... | 0 | Kotlin | 0 | 0 | e4a229ce2faa5a397af0bc919a3678d0e8b133ce | 7,028 | MediaViewer | Apache License 2.0 |
media-viewer/src/main/java/com/goodayapps/widget/media_viewer/screens/main/MediaPreviewerActivity.kt | TalbotGooday | 387,824,522 | false | null | package com.goodayapps.widget.media_viewer.screens.main
import android.app.ActivityOptions
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.graphics.ColorUtils
import androidx.core.view.isVisible
import androidx.v... | 0 | Kotlin | 0 | 0 | e4a229ce2faa5a397af0bc919a3678d0e8b133ce | 7,028 | MediaViewer | Apache License 2.0 |
app/src/main/java/com/prakashspicesfsm/features/addshop/api/assignedToDDList/AssignToDDListRepo.kt | DebashisINT | 550,812,561 | false | {"Kotlin": 11534271, "Java": 969251} | package com.prakashspicesfsm.features.addshop.api.assignedToDDList
import com.prakashspicesfsm.app.Pref
import com.prakashspicesfsm.features.addshop.model.assigntoddlist.AssignToDDListResponseModel
import io.reactivex.Observable
/**
* Created by Saikat on 03-10-2018.
*/
class AssignToDDListRepo(val apiService: Assi... | 0 | Kotlin | 0 | 0 | 782964079f264b5a184704f8d30d2b7dab616dc8 | 522 | PrakashSpices | Apache License 2.0 |
SceytChatUiKit/src/main/java/com/sceyt/sceytchatuikit/shared/helpers/LinkPreviewHelper.kt | sceyt | 549,073,085 | false | {"Kotlin": 1977226, "Java": 130301} | package com.sceyt.sceytchatuikit.shared.helpers
import android.content.Context
import android.webkit.URLUtil
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.lifecycleScope
import kotlinx.coroutines.*
import org.jsoup.Jsoup
import org.jsoup.nodes.Document
import java.net.URI
import java.net.UR... | 1 | Kotlin | 0 | 0 | c1509fc14b97021473205ca2733c0472078af5e9 | 7,860 | sceyt-chat-android-uikit | MIT License |
Android/app/src/main/java/com/fglshm/instagramclone/post/PostSelectFragment.kt | fglshm | 194,391,524 | false | null | package com.fglshm.instagramclone.post
import android.os.Bundle
import android.view.View
import com.fglshm.instagramclone.R
import com.fglshm.instagramclone.common.base.BaseFragment
import kotlinx.android.synthetic.main.fragment_post_select.*
class PostSelectFragment : BaseFragment() {
override fun getLayout(): ... | 0 | Kotlin | 0 | 0 | eb83381aebf38244aa517fefe2636ba3c44cbe84 | 1,415 | InstagramClone | MIT License |
cross-media-measurement/src/test/kotlin/org/wfanet/measurement/kingdom/daemon/DaemonDatabaseServicesClientImplTest.kt | pasin30055 | 339,132,053 | true | {"Kotlin": 1456795, "C++": 324565, "Starlark": 286289, "Java": 82307, "Shell": 12622} | // Copyright 2020 The Cross-Media Measurement 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 applic... | 0 | null | 0 | 0 | da31d3b50476cd613bc8cf51630bdbed1e1d02d4 | 10,338 | experimental | Apache License 2.0 |
common/src/main/kotlin/com/ing/zkflow/common/network/ZKNetworkParameters.kt | ing-bank | 550,239,957 | false | {"Kotlin": 1610321, "Shell": 1609} | package com.ing.zkflow.common.network
import net.corda.core.crypto.DigestAlgorithm
import net.corda.core.crypto.SignatureScheme
import java.nio.file.Path
interface ZKNetworkParameters {
/**
* The version of these ZKNetworkParameters.
*
* This is used to load the networkparameters used to create a t... | 0 | Kotlin | 4 | 9 | f6e2524af124c1bdb2480f03bf907f6a44fa3c6c | 1,704 | zkflow | MIT License |
common/src/main/kotlin/com/ing/zkflow/common/network/ZKNetworkParameters.kt | ing-bank | 550,239,957 | false | {"Kotlin": 1610321, "Shell": 1609} | package com.ing.zkflow.common.network
import net.corda.core.crypto.DigestAlgorithm
import net.corda.core.crypto.SignatureScheme
import java.nio.file.Path
interface ZKNetworkParameters {
/**
* The version of these ZKNetworkParameters.
*
* This is used to load the networkparameters used to create a t... | 0 | Kotlin | 4 | 9 | f6e2524af124c1bdb2480f03bf907f6a44fa3c6c | 1,704 | zkflow | MIT License |
src/core/src/main/java/com/poingstudios/godot/admob/core/utils/PluginConfiguration.kt | Poing-Studios | 262,182,756 | false | {"Kotlin": 80453, "Shell": 1529, "PowerShell": 1505} | package com.poingstudios.godot.admob.core.utils
class PluginConfiguration {
object Constants {
const val PLUGIN_VERSION = "3.0.2"
}
} | 3 | Kotlin | 27 | 249 | 0510ab714980a545fb868fee7f7e1f04a85d5364 | 150 | godot-admob-android | MIT License |
app/src/main/java/com/ch2_ps397/destinology/ui/screen/recommendation/DestinologyRecommendationViewModel.kt | rizfirsy-gh | 723,567,302 | false | {"Kotlin": 103246} | package com.ch2_ps397.destinology.ui.screen.recommendation
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.ch2_ps397.destinology.core.data.repository.ItineraryRepository
import com.ch2_ps397.destinology.core.model.MItinerary
import com.... | 0 | Kotlin | 1 | 1 | a7a18ffe405ed676653de3e6750b692f2b1dd69a | 1,332 | destinology-app | MIT License |
ktx-core/src/main/kotlin/ru/astrainteractive/astralibs/domain/mapping/Mapper.kt | Astra-Interactive | 422,588,271 | false | null | package ru.astrainteractive.astralibs.domain.mapping
/**
* Basic mapper for DTO objects
*/
interface Mapper<I, O> {
fun toDTO(it: I): O
fun fromDTO(it: O): I
} | 1 | Kotlin | 0 | 2 | edf18911e3b12c84975c8287e4f3eecba9396d04 | 170 | AstraLibs | MIT License |
app/src/main/java/com/example/android/roomwordssample/Exercise.kt | ninataa | 718,881,299 | false | {"Kotlin": 47314} | package com.example.android.roomwordssample
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
data class Exercise (val exercise_name: String
, val description: String, var set: String
, val filter: String, val group: String
, var added: Boo... | 0 | Kotlin | 0 | 0 | 2c8413a878aca81ba42aab15ff7ed6cc059aa51d | 342 | fitnessapp | Apache License 2.0 |
backend/src/main/kotlin/gplayapi/DeveloperApps.kt | stanbar | 162,640,520 | false | null | package com.stasbar.app.gplayapi
// Generated with https://www.json2kotlin.com/
class DeveloperApps(
val devId: String,
val apps: List<App>
)
// Generated with https://www.json2kotlin.com/
data class App(
val title: String,
val appId: String,
val url: String,
val icon: String,
val developer: Developer,
... | 8 | null | 1 | 1 | 3869ac8147d854b9fde6442398d89cfc51f5b401 | 564 | stasbar-app | Apache License 2.0 |
src/main/kotlin/de/md5lukas/pathfinder/behaviour/BasicPlayerPathingStrategy.kt | Sytm | 648,985,532 | false | null | package de.md5lukas.pathfinder.behaviour
import de.md5lukas.pathfinder.Node
import de.md5lukas.pathfinder.world.BlockAccessor
import de.md5lukas.pathfinder.world.BlockPosition
import org.bukkit.Material
class BasicPlayerPathingStrategy(
private var allowSwimming: Boolean,
private var swimmingPenalty: Double
)... | 0 | Kotlin | 0 | 0 | 6778979c06644c60bf963862fa4b5736351f0050 | 1,097 | pathfinder | MIT License |
app/src/main/java/mx/itesm/appdibujandounmanana/model/PaymentCardModel.kt | Maikindustries | 402,613,254 | false | null | package mx.itesm.appdibujandounmanana.model
class PaymentCardModel (val title: String, val image: Int,
val money: Int) | 1 | Kotlin | 0 | 0 | 11c0b496883cbab40c1090c1feca46a329ce94ca | 143 | AppDibujandoUnManana | MIT License |
android/FindingFalcone/app/src/main/java/com/pradyotprakash/findingfalcone/app/localization/TR.kt | pradyotprksh | 385,586,594 | false | {"Kotlin": 2946772, "Dart": 1066884, "Python": 321205, "Rust": 180589, "Swift": 149624, "C++": 113494, "JavaScript": 103891, "CMake": 94132, "HTML": 57188, "Go": 45704, "CSS": 18615, "SCSS": 17864, "Less": 17245, "Ruby": 13609, "Dockerfile": 9772, "C": 8043, "Shell": 7657, "PowerShell": 3045, "Nix": 2616, "Makefile": 1... | package com.pradyotprakash.findingfalcone.app.localization
/**
* The translation key classes which holds the values of the string keys which is
* required to be shown.
*/
object TR {
var appName = Translation.getString("appName")
var noDataFoundError = Translation.getString("noDataFoundError")
var okay ... | 0 | Kotlin | 11 | 24 | da2054de505260bdfa5ffa6d67674f0fa5ba8d3c | 1,021 | development_learning | MIT License |
src/main/java/com/simplerobot/component/jcq/GetterBeans.kt | ForteScarlet | 255,881,381 | false | null | /*
* Copyright (c) 2020. ForteScarlet All rights reserved.
* Project component-jcq (Code other than JCQ)
* File GetterBeans.kt (Code other than JCQ)
*
* You can contact the author through the following channels:
* github https://github.com/ForteScarlet
* gitee https://gitee.com/ForteScarlet
* email Forte... | 1 | null | 1 | 1 | 901af7b799e537bf102985b2a692e1e2e81be6a1 | 8,786 | simple-robot-component-JCQ | Apache License 2.0 |
app/src/main/java/io/ramesh/timesapidemo/data/db/dao/MediaMetaDataDao.kt | RameshBhupathi | 182,570,544 | false | {"Kotlin": 35384} | package io.ramesh.timesapidemo.data.db.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import io.ramesh.timesapidemo.data.api.model.MediaMetaData
/**
* Created by <NAME> on 2019-04-28.
*/
@Dao
interface MediaMetaDataDao {
@Insert(onCo... | 0 | Kotlin | 0 | 0 | ee0ccea3ea791bb97197e90c26f5ac14a8d6c3b1 | 552 | Demo | MIT License |
library/src/androidTest/java/dev/notrobots/androidstuff/extensions/TextViewTest.kt | notrobots | 414,987,636 | false | null | package dev.notrobots.androidstuff.extensions
import android.content.Context
import android.widget.TextView
import androidx.test.platform.app.InstrumentationRegistry
import junit.framework.TestCase
import org.junit.Before
import org.junit.Test
class TextViewTest : TestCase() {
private lateinit var context: Contex... | 0 | Kotlin | 0 | 0 | fd39ad3788df4638b5b9520752b6bdce9b9ac0b0 | 2,268 | android-stuff | MIT License |
src/jvmTest/kotlin/com/bkahlert/kommons/runtime/ClassPathTest.kt | bkahlert | 323,048,013 | false | null | package com.bkahlert.kommons.runtime
import com.bkahlert.kommons.Kommons
import com.bkahlert.kommons.io.path.deleteOnExit
import com.bkahlert.kommons.io.path.listDirectoryEntriesRecursively
import com.bkahlert.kommons.io.path.textContent
import com.bkahlert.kommons.runtime.ClassPathTest.META_INF.Services
import com.bk... | 7 | Kotlin | 0 | 9 | 35e2ac1c4246decdf7e7a1160bfdd5c9e28fd066 | 5,960 | kommons | MIT License |
app/src/main/java/com/cookiedinner/boxanizer/settings/components/PreferenceGroup.kt | CookieDinner | 782,371,313 | false | {"Kotlin": 40432} | package com.cookiedinner.boxanizer.main.components.preferences
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ColumnScope
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.... | 0 | Kotlin | 0 | 0 | 823ecb8de0ddbf9049419e307b70eb105bc0a16a | 991 | Boxanizer | MIT License |
sample/src/main/java/ru/cleverpumpkin/calendar/sample/CalendarMoveToDateFragment.kt | DaxeshV | 143,682,820 | true | {"Kotlin": 61183} | package ru.cleverpumpkin.calendar.sample
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.widget.Toolbar
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import ru.cleverpumpkin.calendar.CalendarDate
import ru.cleverpumpkin.calendar.Cale... | 0 | Kotlin | 0 | 1 | f0af305c1b4de75c7d74011886198d67a24070e4 | 2,042 | CrunchyCalendar | MIT License |
app/src/main/java/com/marverenic/reader/ui/common/article/ArticleViewModel.kt | marverenic | 101,457,590 | false | null | package com.marverenic.reader.ui.common.article
import android.content.Context
import android.databinding.BaseObservable
import android.databinding.Bindable
import android.view.View
import com.marverenic.reader.BR
import com.marverenic.reader.model.Article
import com.marverenic.reader.model.toDateString
import com.mar... | 0 | Kotlin | 1 | 5 | e4ae8bda8a4f9f2ad73fcf95b2c3f759a60cd056 | 1,735 | Paper | Apache License 2.0 |
android/Scanner3D/app/src/main/java/org/arjun/scanner3d/fragments/CameraFragment.kt | arjunkurup | 241,546,326 | false | {"JavaScript": 968626, "Python": 671228, "C++": 189924, "CMake": 78601, "HTML": 58267, "Kotlin": 29360, "Makefile": 7216, "Shell": 1981, "Dockerfile": 206} | package org.arjun.scanner3d.fragments
import android.annotation.SuppressLint
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.content.res.Configuration
import android.graphics.Color
import android.graphics.drawable.... | 3 | JavaScript | 0 | 0 | a5a26a670c5f1371f44d0a62ce6ca745a287bb3e | 16,499 | scanner-3d | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.