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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/main/java/no/kasperi/Listeners/ForslagsElementClickListener.kt | Keezpaa | 538,821,448 | false | null | package no.kasperi.Listeners
import no.kasperi.Models.ForslagsElement
import no.kasperi.Models.HjemKategoriElement
interface ForslagsElementClickListener {
fun onKategoriClick(kategori : ForslagsElement)
fun onHjemKategoriClick(kategori : HjemKategoriElement)
} | 0 | Kotlin | 0 | 0 | 1d60fafdef8f99d040a7dcae8ca76df4e6db5bf7 | 272 | Food4U | MIT License |
app/src/main/java/com/example/tvmazeapp/data/model/Links.kt | luiz-matias | 219,049,110 | false | null | package com.example.tvmazeapp.data.model
data class Links(
val previousepisode: Previousepisode,
val self: Self
) | 0 | Kotlin | 0 | 0 | b756eeebf78a71ce7379e8b7c1179a8ec90e5018 | 122 | tvmaze-app | MIT License |
domain/src/main/java/com/allysonjeronimo/toshop/domain/entity/Category.kt | allysonjeronimo | 329,934,342 | false | null | package com.allysonjeronimo.toshop.domain.entity
data class Category(
val id:Long,
val resourceIconName:String,
val name:String
) | 0 | Kotlin | 0 | 3 | 0c5ffd6aaa3d31ac6ac6738abc5caafb000f0b19 | 142 | ToShop | MIT License |
app/src/main/java/com/example/assignment_8/activities/PlantListActivity.kt | Eaindrae | 222,049,972 | false | null | package com.example.assignment_8.activities
import android.animation.ObjectAnimator
import android.content.Intent
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.transition.Fade
import android.transition.Slide
import android.transition.Transition
import android.tran... | 0 | Kotlin | 0 | 0 | d603d455ddca3b49fc6cd4abb730dcfa2cdfda28 | 4,980 | MyPlantAnimation | Apache License 2.0 |
app/src/main/java/com/example/eyesup_application/MainActivity.kt | marckbarrion | 824,524,586 | false | {"Kotlin": 28031} | // MainActivity.kt
package com.example.eyesup_application
import android.Manifest
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.graphics.Color
import android.graphics.Matrix
import android.media.MediaPlayer
import android.os.Bundle
import android.util.Log
import androidx.activ... | 0 | Kotlin | 0 | 0 | 503d52e3ef9c694bdc08242d4f34ab7842b07d2f | 10,606 | EyesUp_Application | MIT License |
app/src/main/java/me/otomir23/partyverse/ui/map/MapWrapper.kt | kotekote-co | 595,217,132 | false | null | package me.otomir23.partyverse.ui.map
import android.Manifest
import androidx.compose.foundation.layout.*
import androidx.compose.runtime.*
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.viewinterop.Andr... | 0 | Kotlin | 0 | 1 | 20ed11329528cc32cf45c7ff0310be854287464a | 3,439 | partyverse-android | MIT License |
core/ui/src/androidTest/java/ytemplate/android/ui/templates/TestLoadingIndicator.kt | codeandtheory | 612,178,341 | false | {"Kotlin": 185287, "Shell": 2179} | package ytemplate.android.ui.templates
import androidx.compose.ui.test.assertIsDisplayed
import androidx.compose.ui.test.junit4.createComposeRule
import androidx.compose.ui.test.onNodeWithTag
import org.junit.Rule
import org.junit.Test
import ytemplate.android.core.ui.templates.AppLoadingIndicator
import ytemplate.and... | 11 | Kotlin | 3 | 22 | 8c7ebb298c16f9a72d6538b8ec0fb241a9fc7454 | 729 | ytemplate-android | Apache License 2.0 |
app/src/main/java/com/leandro/darksoulsapp/SignUpActivity.kt | lennardscript | 681,910,132 | false | {"Kotlin": 24976} | package com.leandro.darksoulsapp
import android.content.Intent
import android.content.res.ColorStateList
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.Button
import android.widget.EditText
import android.widget.TextView
import android.widget.Toa... | 0 | Kotlin | 0 | 0 | 3107df12ab717b9bab308dddd191c319e1e2ee0e | 2,364 | DarkSoulsApp | MIT License |
src/test/kotlin/example/ExampleTest.kt | mfalcier | 95,121,055 | false | null | package example
import org.junit.Assert
import org.junit.Rule
import org.junit.Test
import org.neo4j.driver.v1.Config
import org.neo4j.driver.v1.GraphDatabase
import org.neo4j.harness.junit.Neo4jRule
class ExampleTest {
// This rule starts a Neo4j instance
@Rule
@JvmField
var neo4j = Neo4jRule()
... | 0 | Kotlin | 3 | 5 | 1549d0e57da0835a08d3e3d7ea6129eb88c53872 | 1,872 | neo4j-kotlin-procedure-example | Apache License 2.0 |
google-cloud-datastore/src/main/kotlin/NamingHelpers.kt | Khan | 170,153,651 | false | null | /**
* Helpers for translating between kotlin and datastore property names.
*/
package org.khanacademy.datastore
import org.khanacademy.metadata.Meta
import kotlin.reflect.KAnnotatedElement
import kotlin.reflect.KClass
import kotlin.reflect.KParameter
import kotlin.reflect.full.findAnnotation
import kotlin.reflect.fu... | 10 | Kotlin | 2 | 7 | 245420984c7362f922f5b22bb34b973ab4a8a9cc | 1,778 | kotlin-datastore | MIT License |
src/main/kotlin/net/hanekawa/papika/toslack/PapikaToSlack.kt | kennydo | 98,774,461 | false | null | package net.hanekawa.papika.toslack
import com.timgroup.statsd.NonBlockingStatsDClient
import net.hanekawa.papika.common.getLogger
import net.hanekawa.papika.common.slack.SlackClient
import org.apache.kafka.clients.consumer.KafkaConsumer
import java.util.*
class PapikaToSlackBridge(val config: Config) {
companio... | 0 | Kotlin | 0 | 0 | fab4f5813ba74eb32162954274790989199d7d96 | 2,073 | papika2 | MIT License |
app/src/main/java/com/vitorpamplona/amethyst/model/Channel.kt | vitorpamplona | 587,850,619 | false | null | package com.vitorpamplona.amethyst.model
import androidx.lifecycle.LiveData
import com.vitorpamplona.amethyst.service.NostrSingleChannelDataSource
import com.vitorpamplona.amethyst.service.model.ChannelCreateEvent
import com.vitorpamplona.amethyst.ui.note.toShortenHex
import fr.acinq.secp256k1.Hex
import java.util.con... | 102 | Kotlin | 70 | 604 | a2d04c99081daa00cbd8ef6ef002c4e97bf94478 | 2,409 | amethyst | MIT License |
android/app/src/main/kotlin/com/example/shitshow/MainActivity.kt | Devlonoah | 414,564,334 | false | {"Dart": 27085, "HTML": 3695, "Swift": 404, "Kotlin": 125, "Objective-C": 38} | package com.example.shitshow
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 3789f8f255139a06691112accb98b4c7ec9beb3e | 125 | Bank_app-UI- | MIT License |
app/src/main/java/vip/qsos/select/SelectHolder.kt | hslooooooool | 239,998,824 | false | {"Kotlin": 23141} | package vip.qsos.select
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import kotlinx.android.synthetic.main.item_time_picker.view.*
/**
* @author : 华清松
*
* 选择器案例列表项
*/
class SelectHolder(itemView: View) : RecyclerView.ViewHolder(itemView) {
fun setData(data: String) {
item... | 0 | Kotlin | 0 | 2 | d66207f709cfa4097abfff1aa1a16cc6a85d4d32 | 361 | widgets-select | Apache License 2.0 |
src/main/kotlin/daniel/mybank/model/Client.kt | DanFonseca | 602,188,054 | false | null | package daniel.mybank.model
import com.fasterxml.jackson.annotation.JsonIgnore
import org.jetbrains.annotations.NotNull
import javax.persistence.Entity
import javax.persistence.Id
import javax.persistence.OneToOne
import javax.persistence.Table
@Entity
@Table(name = "client")
class Client (
@Id
var c... | 0 | Kotlin | 0 | 0 | b327cd4e8d7735b269708580d02bf865904109b8 | 485 | mybank | MIT License |
app/src/main/java/ro/alexmamo/firebase/data/User.kt | alexmamo | 373,479,949 | false | null | package ro.alexmamo.firebase.data
import java.util.*
data class User(
var name: String? = null,
var email: String? = null,
var photoUrl: String? = null,
var createdAt: Date? = null
) | 0 | Kotlin | 10 | 47 | c83e9deb3db13dda297fb508bd4908f69454c26f | 200 | FireApp | Apache License 2.0 |
platf-skia-awt/src/main/kotlin/org/jetbrains/letsPlot/skia/awt/view/SvgSkikoViewAwt.kt | JetBrains | 571,767,875 | false | {"Kotlin": 183331} | /*
* Copyright (c) 2023 JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package org.jetbrains.letsPlot.skia.awt.view
import org.jetbrains.letsPlot.awt.util.AwtEventUtil
import org.jetbrains.letsPlot.commons.event.MouseEventSpec
import org.jetbrain... | 5 | Kotlin | 2 | 131 | 765f5eaf2814ceb24f958af7de50e0c8a24a4307 | 2,465 | lets-plot-skia | MIT License |
app/src/main/java/com/mikimn/recordio/model/RegisteredCall.kt | mikimn | 400,547,041 | false | null | package com.mikimn.recordio.model
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.TypeConverters
import com.mikimn.recordio.db.Converters
import java.time.Duration
enum class CallType {
INCOMING,
OUTGOING,
MISSED
}
@Entity(tableName = "re... | 0 | Kotlin | 0 | 0 | cb00af440699414acaa7411c13231cde29893572 | 681 | recordio | The Unlicense |
src/jsMain/kotlin/io.rippledown.caseview/CaseTableHeader.kt | TimLavers | 513,037,911 | false | null | package io.rippledown.caseview
import emotion.react.css
import mui.material.TableCell
import mui.material.TableHead
import mui.material.TableRow
import mui.system.sx
import px4
import px8
import react.FC
import react.Props
import react.dom.html.ReactHTML
import react.dom.html.ReactHTML.th
import react.dom.html.ReactHT... | 0 | Kotlin | 0 | 0 | 870ceee75825a93920839a37a770f159664881a0 | 1,095 | OpenRDR | MIT License |
cva-common/src/main/kotlin/com/_2horizon/cva/common/confluence/dto/content/Storage.kt | esowc | 264,099,974 | false | null | package com._2horizon.cva.common.confluence.dto.content
import com.fasterxml.jackson.annotation.JsonProperty
data class Storage(
@JsonProperty("representation")
val representation: String,
@JsonProperty("value")
val value: String
)
| 3 | Kotlin | 1 | 1 | e3cf8d9b5f8c76c8c0138b47d24ee91eb3043f82 | 251 | ECMWF-Conversational-Virtual-Assistant | MIT License |
feature/calendar/public/src/test/kotlin/fixture/UpcomingReleaseDateFixtures.kt | illarionov | 305,333,284 | false | {"Kotlin": 2008969, "FreeMarker": 2782, "Shell": 855, "Fluent": 72} | /*
* Copyright (c) 2023, the Pixnews project authors and contributors. Please see the AUTHORS file for details.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package ru.pixnews.feature.calendar.fixture
import kotlinx.datetime.LocalDateTime
import kotlinx.... | 0 | Kotlin | 0 | 2 | 0ecc9582728c1cb3c408f94185ce079b289bcf42 | 2,604 | Pixnews | Apache License 2.0 |
data/RF02414/rnartist.kts | fjossinet | 449,239,232 | false | {"Kotlin": 8214424} | import io.github.fjossinet.rnartist.core.*
rnartist {
ss {
rfam {
id = "RF02414"
name = "consensus"
use alignment numbering
}
}
theme {
details {
value = 3
}
color {
location {
25 to ... | 0 | Kotlin | 0 | 0 | 3016050675602d506a0e308f07d071abf1524b67 | 2,858 | Rfam-for-RNArtist | MIT License |
src/main/kotlin/hu/netcode/slog/data/document/Post.kt | mobal | 282,811,538 | false | null | package hu.netcode.slog.data.document
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.databind.annotation.JsonSerialize
import hu.netcode.slog.serializer.ZonedDateTimeSerializer
import org.springframework.data.annotation.Id
import org.springframework.data.mongodb.core.mapping.Document
i... | 0 | Kotlin | 0 | 0 | 2666ecb0a98ea0e156d92aedc546ba63213fe403 | 1,310 | slog | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/filled/ChartPieSimpleCircleCurrency.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.filled
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 5,466 | icons | MIT License |
{{ cookiecutter.repo_name }}/core/src/main/java/{{ cookiecutter.core_package_dir }}/utils/injection/NavigationModule.kt | dawidfiruzek | 139,716,709 | false | {"Kotlin": 25345} | package {{ cookiecutter.core_package_name }}.utils.injection
import dagger.Binds
import dagger.Module
import {{ cookiecutter.core_package_name }}.navigation.Navigator
import {{ cookiecutter.core_package_name }}.navigation.NavigatorImpl
@Module
abstract class NavigationModule {
@Binds
abstract fun navigation(... | 0 | Kotlin | 1 | 1 | 84e73608198a3c1dc6fab439aa9f7d74142e7e38 | 358 | android-kotlin-template | Apache License 2.0 |
app/src/main/java/com/siliconstack/framework/cleanarch/data/source/local/AppDatabase.kt | sushantinfo4u | 304,494,423 | false | null | package com.siliconstack.rxkotlinassignment.data.room.appdatabase
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import com.siliconstack.framework.cleanarch.data.model.User
import com.siliconstack.framework.cleanarch.data.source.local.USerDao
@... | 0 | Kotlin | 0 | 0 | eec510f3de4ec29303efdf8c167672418610c099 | 935 | FinalRxAssignment | Apache License 2.0 |
Aula19Quiz/app/src/main/java/eduardo/gladzik/aula19quiz/activities/Activity18.kt | EduardoGladzik | 289,071,387 | false | null | package eduardo.gladzik.aula19quiz.activities
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.RadioButton
import eduardo.gladzik.aula19quiz.R
import eduardo.gladzik.aula19quiz.extension.toast
import eduardo.gladzik.au... | 0 | Kotlin | 0 | 0 | 7854c98a604dc4b436583ae0143e86c96ced739f | 1,929 | kotlin-android | MIT License |
korge-core/src/korlibs/image/format/ImageFormats.kt | korlibs | 80,095,683 | false | {"WebAssembly": 14293935, "Kotlin": 9728800, "C": 77092, "C++": 20878, "TypeScript": 12397, "HTML": 6043, "Python": 4296, "Swift": 1371, "JavaScript": 328, "Shell": 254, "CMake": 202, "CSS": 66, "Batchfile": 41} | package korlibs.image.format
import korlibs.encoding.*
import korlibs.image.bitmap.*
import korlibs.io.concurrent.atomic.*
import korlibs.io.file.*
import korlibs.io.lang.*
import korlibs.io.lang.ASCII
import korlibs.io.stream.*
import kotlin.coroutines.cancellation.*
open class ImageFormats(formats: Iterable<ImageFo... | 444 | WebAssembly | 121 | 2,207 | dc3d2080c6b956d4c06f4bfa90a6c831dbaa983a | 5,518 | korge | Apache License 2.0 |
wrapper/godot-library/src/main/kotlin/godot/generated/StreamTexture.kt | payload | 189,718,948 | true | {"Kotlin": 3888394, "C": 6051, "Batchfile": 714, "Shell": 574} | @file:Suppress("unused", "ClassName", "EnumEntryName", "FunctionName", "SpellCheckingInspection", "PARAMETER_NAME_CHANGED_ON_OVERRIDE", "UnusedImport", "PackageDirectoryMismatch")
package godot
import godot.gdnative.*
import godot.core.*
import godot.utils.*
import godot.icalls.*
import kotlinx.cinterop.*
// NOTE: T... | 0 | Kotlin | 1 | 2 | 70473f9b9a0de08d82222b735e7f9b07bbe91700 | 1,938 | kotlin-godot-wrapper | Apache License 2.0 |
RickandMorty/core/src/main/java/com/renatoramos/rickandmorty/data/store/local/paperdb/provider/episodes/EpisodesProvider.kt | renatoramos7 | 208,802,459 | false | null | package com.renatoramos.rickandmorty.data.store.local.paperdb.provider.episodes
import com.renatoramos.rickandmorty.data.store.dto.episodes.EpisodeDTO
import io.paperdb.Paper
import io.reactivex.Observable
class EpisodesProvider {
fun add(repos: List<EpisodeDTO>, page: Int, tagKey: String): Observable<List<E... | 0 | Kotlin | 1 | 1 | d953085a36b1daae251107cd4c18ac5b50eebb44 | 1,869 | Rick-And-Morty-Android | MIT License |
core/src/main/kotlin/io/github/iromul/home/media/movies/kox/copy/CommandFileExecutor.kt | iRomul | 739,488,993 | false | {"Kotlin": 2124} | package io.github.iromul.home.media.movies.kox.copy
import io.github.iromul.home.media.io.filesystem.FilesystemOperations
import io.github.iromul.home.media.movies.kox.model.CommandFile
class CommandFileExecutor(
private val filesystemOperations: FilesystemOperations
) {
fun exec(commandFile: CommandFile) {
... | 0 | Kotlin | 0 | 0 | 13182af6cd0c0c4130ccf83a4c95f0f558ac4a37 | 445 | home-media-movies-kox | MIT License |
app/src/main/java/de/j4velin/babyphone/Recorder.kt | j4velin | 266,587,635 | false | null | package de.j4velin.babyphone
import android.content.Context
import android.media.MediaRecorder
import android.util.Log
import java.io.File
import java.util.concurrent.atomic.AtomicBoolean
import java.util.concurrent.atomic.AtomicInteger
/**
* An object, which can be stopped
*/
interface Stoppable {
/**
* S... | 0 | Kotlin | 0 | 1 | 013c1a526e80f21717a82b18d4673d4693f86743 | 2,701 | Babyphone | Apache License 2.0 |
st_predicted_maintenance/src/main/java/com/st/predicted_maintenance/composable/PredictedMaintenanceAxeElementView.kt | STMicroelectronics | 81,465,478 | false | {"Kotlin": 2828028, "Java": 25368, "Shell": 13927, "HTML": 3291, "GLSL": 1461} | package com.st.predicted_maintenance.composable
import androidx.annotation.DrawableRes
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foun... | 12 | Kotlin | 58 | 114 | cd556743faffbf1e759543f639659ae3a40b789a | 3,836 | STBLESensor_Android | The Unlicense |
app/src/main/java/com/mizukikk/mltd/room/dao/IdolDao.kt | mizukikk | 268,541,057 | false | null | package com.mizukikk.mltd.room.dao
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.mizukikk.mltd.data.source.local.preferences.PreferencesHelper
import com.mizukikk.mltd.room.entity.*
import com.mizukikk.mltd.room.query.IdolItem
@Dao
i... | 0 | Kotlin | 0 | 0 | 10e765109df9d0aa68557e78720851eae51622f1 | 2,158 | MLTD | MIT License |
src/main/kotlin/names/MoorishNames.kt | Jaboo36 | 748,020,581 | false | {"Kotlin": 55361} | package names
object MoorishNames {
fun generateName(isFemale: Boolean): String {
val firstName = if (isFemale) femaleNames.random() else maleNames.random()
val lastName = maleNames.random()
val prefix = if (isFemale) prefix.first() else prefix.last()
return "$firstName $prefix$las... | 0 | Kotlin | 0 | 0 | 93dd227878face46b19273d16c802594126c0a93 | 1,484 | hyperborea-name-generator | Creative Commons Zero v1.0 Universal |
bash-cli/src/main/kotlin/ru/hse/spb/cli/commands/PwdCommand.kt | trilis | 237,592,057 | false | null | package ru.hse.spb.cli.commands
import java.io.File
/**
* This command simulates behaviour of 'pwd' bash command, printing current directory.
*/
class PwdCommand : Command {
/**
* Executes this command.
* @param input is ignored.
* @return absolute path of current directory.
*/
override... | 1 | Kotlin | 1 | 0 | dbeac5651ec14145245665ee5ae155550e6e77c6 | 405 | software-design-course | Apache License 2.0 |
phoenix-shared/src/commonMain/kotlin/fr.acinq.phoenix/utils/NetworkMonitor.kt | wiz | 359,536,747 | true | {"Kotlin": 436559, "Swift": 345238, "HTML": 2524, "CSS": 959} | package fr.acinq.phoenix.utils
import fr.acinq.lightning.utils.Connection
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.channels.ReceiveChannel
import kotlinx.coroutines.flow.StateFlow
import org.kodein.log.LoggerFactory
enum class NetworkState {
Available,
NotAvailable
}
@Opt... | 0 | null | 0 | 1 | 99782bafc218365ddcd4b504812df15337ca6103 | 518 | phoenix-kmm | Apache License 2.0 |
app/src/main/java/com/fberg/newsapp/feature/presentation/search/components/CountrySearchSelection.kt | FabioFehlberg | 567,386,268 | false | {"Kotlin": 62671} | package com.fberg.newsapp.feature.presentation.search.components
import androidx.compose.foundation.horizontalScroll
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
im... | 0 | Kotlin | 0 | 0 | b0bc34f5f1e836795b77d1ff3982f9c7d9e2804d | 3,272 | NewsAppCompose | MIT License |
src/main/kotlin/no/nav/NarePrometheus.kt | navikt | 170,293,591 | false | null | package no.nav
import io.prometheus.client.CollectorRegistry
import io.prometheus.client.Counter
import no.nav.nare.core.evaluations.Evaluering
class NarePrometheus(registry: CollectorRegistry) {
val idLabel = "identifikator"
val evaluationLabel = "evaluation"
private val telleverk: Counter = Counter
... | 1 | Kotlin | 0 | 0 | 0b41ab472f0034ae3b05eafd786dd55e1c6d5aed | 848 | nare-prometheus | MIT License |
app/src/main/java/com/pablo/desafio/shared/di/ActivityBuilderModule.kt | digounet | 134,750,176 | true | {"Kotlin": 35004} | package com.pablo.desafio.shared.di
import com.pablo.desafio.features.detail.MovieDetailActivity
import com.pablo.desafio.features.main.MainActivity
import dagger.Module
import dagger.Provides
import dagger.android.ContributesAndroidInjector
@Module
interface ActivityBuilderModule {
@ContributesAndroidInjector(mo... | 0 | Kotlin | 0 | 0 | 7887077f81caf400e7faf101c48de726520f85cc | 523 | desafio-android | The Unlicense |
platform/experiment/src/com/intellij/platform/experiment/ab/impl/experiment/ABExperiment.kt | sprigogin | 285,457,947 | false | {"Text": 9376, "INI": 516, "YAML": 419, "Ant Build System": 11, "Batchfile": 33, "Dockerfile": 10, "Shell": 633, "Markdown": 744, "Ignore List": 143, "Git Revision List": 1, "Git Attributes": 11, "EditorConfig": 260, "XML": 7826, "SVG": 4416, "Kotlin": 58363, "Java": 83686, "HTML": 3782, "Java Properties": 220, "Gradle... | // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.platform.experiment.ab.impl.experiment
import com.intellij.internal.statistic.eventLog.fus.MachineIdManager
import com.intellij.internal.statistic.utils.getPluginInfoByDescripto... | 1 | null | 1 | 1 | f1b733c79fd134e6646f28d1dc99af144c942785 | 5,824 | intellij-community | Apache License 2.0 |
src/main/java/miyucomics/hexical/prestidigitation/NoteblockEffect.kt | miyucomics | 757,094,041 | false | {"Kotlin": 328883, "Java": 28621, "GLSL": 1075, "Shell": 45} | package miyucomics.hexical.prestidigitation
import miyucomics.hexical.interfaces.PrestidigitationEffect
import net.minecraft.block.Blocks
import net.minecraft.block.NoteBlock
import net.minecraft.entity.Entity
import net.minecraft.server.network.ServerPlayerEntity
import net.minecraft.util.math.BlockPos
import net.min... | 0 | Kotlin | 3 | 1 | be79a0319f88e0cbff2b9afe1f7246b4632e79fe | 787 | hexical | MIT License |
app/src/main/java/com/kuss/krude/shizuku/FileExplorerServiceManager.kt | KusStar | 294,712,671 | false | {"Kotlin": 434644, "HTML": 47585, "Java": 5923, "Shell": 539, "AIDL": 476} | package com.kuss.krude.shizuku
import android.content.ComponentName
import android.content.ServiceConnection
import android.os.IBinder
import com.kuss.krude.BuildConfig
import com.kuss.krude.ui.components.internal.files.FileHelper
import com.kuss.krude.utils.ActivityHelper
import rikka.shizuku.Shizuku
import rikka.shi... | 0 | Kotlin | 1 | 22 | 3576afa9b98eb44913d12dfe87cf0de389e1bcb1 | 1,519 | krude | MIT License |
app/src/main/java/dev/mangione/andrea/androidhc12carcontroller/util/Point3d.kt | MangioneAndrea | 345,679,178 | false | null | package dev.mangione.andrea.androidhc12carcontroller.util
class Point3d(var x: Int, var y: Int, var z: Int) {
fun set(x: Int, y: Int, z: Int) {
this.x = x;
this.y = y;
this.z = z;
}
override fun toString(): String {
return "X: $x | Y:$y | Z:$z";
}
} | 0 | Kotlin | 0 | 0 | f8576d6fd91a2b70ade0d5a8b1a1fe8cdf6341ed | 299 | AndroidHC12CarController | MIT License |
app/src/main/java/com/skapps/YksStudyApp/view/NicknameAdd/AddNickNameViewModel.kt | sahinkaradeniz | 539,663,028 | false | {"Kotlin": 86204} | package com.skapps.YksStudyApp.view.NicknameAdd
import android.annotation.SuppressLint
import android.app.Application
import android.content.ContentValues
import android.content.Context
import android.util.Log
import android.widget.Toast
import androidx.core.content.ContextCompat
import androidx.lifecycle.MutableLiveD... | 0 | Kotlin | 1 | 3 | 900a82be997421aa7ff0676805df759538790ebe | 3,747 | PomodoroApp | MIT License |
Live-Page-Counter-Server/src/main/kotlin/com/poc/ktor/plugins/Sockets.kt | gsttarun | 552,278,377 | false | null | package com.poc.ktor.plugins
import MessageType
import WSMessage
import com.google.gson.Gson
import com.poc.ktor.LivePageCount
import com.poc.ktor.globalLogger
import io.ktor.server.application.*
import io.ktor.server.routing.*
import io.ktor.server.websocket.*
import io.ktor.websocket.*
import java.time.Duration
fun... | 0 | Kotlin | 0 | 0 | 9cb4e7f3dff6fa483df379d1118b7e98bb44a4d2 | 1,848 | Live-Page-Counter-Server-And-Client | The Unlicense |
app/src/main/java/com/example/journey/adapter/StoryAdapter.kt | Raideeen | 721,742,785 | false | {"Kotlin": 10282} | package com.example.journey.adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import coil.load
import com.example.journey.R
impo... | 0 | Kotlin | 0 | 1 | fdd23f955881effd047718baa42cef5e05ca3f24 | 2,080 | journey-app | MIT License |
crowth_app/android/app/src/main/kotlin/com/example/crowth_app/MainActivity.kt | shonorio | 413,147,360 | false | {"Dart": 30275, "HTML": 3855, "Swift": 404, "Kotlin": 127, "Objective-C": 38} | package com.example.crowth_app
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 0 | Dart | 0 | 0 | 88e28713cc0a5294ea846b8dcb51b8b7830840b0 | 127 | flutter_crowth | MIT License |
library/src/main/kotlin/ru/dimsuz/vanilla/Bind.kt | dimsuz | 284,305,456 | false | null | package ru.dimsuz.vanilla
import com.github.michaelbull.result.Err
import com.github.michaelbull.result.Ok
import com.github.michaelbull.result.get
import com.github.michaelbull.result.onFailure
import ru.dimsuz.vanilla.validator.just
/**
* Applies multiple validators to the value and then uses [bindFn] function to ... | 3 | Kotlin | 0 | 31 | ea42f6fb6c8b40b0e8ed94cf45958c4ac4de59f9 | 22,850 | vanilla | MIT License |
src/main/kotlin/no/nav/personbruker/dittnav/eventaggregator/done/DoneEventService.kt | navikt | 189,239,389 | false | null | package no.nav.personbruker.dittnav.eventaggregator.done
import no.nav.brukernotifikasjon.schemas.Done
import no.nav.brukernotifikasjon.schemas.Nokkel
import no.nav.brukernotifikasjon.schemas.builders.exception.FieldValidationException
import no.nav.personbruker.dittnav.eventaggregator.common.EventBatchProcessorServic... | 0 | Kotlin | 0 | 1 | 4c88ee694a12250707423a2ef80d09efb81ba724 | 6,133 | dittnav-event-aggregator | MIT License |
indexer-core/src/main/kotlin/io/github/saneea/fileindexer/core/filewatcher/DirWatcher.kt | saneea | 355,091,573 | false | null | package io.github.saneea.fileindexer.core.filewatcher
import io.github.saneea.fileindexer.core.common.FSEventKind
import io.github.saneea.fileindexer.core.common.FSEventKind.*
import io.github.saneea.fileindexer.core.utils.UsageRegistry
import java.nio.file.*
class DirWatcher(val listener: (FSEventKind, Path) -> Unit... | 0 | Kotlin | 0 | 0 | 942996dea4fbe17cbc00b6483be8c35b503485f9 | 2,878 | file-indexer | MIT License |
src/main/java/dev/tang/tool/XlsFileReader.kt | tangbomao | 215,714,503 | false | {"Kotlin": 19661} | package dev.tang.tool
import dev.tang.tool.export.DataExport
import dev.tang.tool.logger.Logger
import jxl.Cell
import jxl.Workbook
import jxl.WorkbookSettings
import java.io.File
import java.io.IOException
import java.util.*
/**
* Excel文件处理器
*
* @param outputDir 输出文件夹名称
* @param clientHidden 支持客户端隐藏数据,默认false
*... | 1 | Kotlin | 0 | 2 | bc611b8255d662d561d1b2808eb1daa20dce885f | 5,801 | excel2json | Apache License 2.0 |
src/main/kotlin/org/cikit/modules/hotspot/HotspotCollector.kt | b8b | 111,886,239 | false | null | package org.cikit.modules.hotspot
import io.prometheus.client.CollectorRegistry
import io.prometheus.client.hotspot.DefaultExports
import org.cikit.core.Collector
import org.cikit.core.MetricType
import org.cikit.core.MetricValue
import org.cikit.core.MetricWriter
class HotspotCollector(val labels: Map<String, String... | 1 | Kotlin | 0 | 1 | 29f967ae0a13b14653cc28a707aae1fdb355216d | 1,637 | universal_exporter | Apache License 2.0 |
IdentityVerification/IdentityVerificationKotlinExample/app/src/main/java/com/transmitsecurity/idvsdkdemoapp/fragments/RequiredCameraPermissionsFragment.kt | TransmitSecurity | 665,969,421 | false | null | package com.transmitsecurity.idvsdkdemoapp.fragments
import android.graphics.Typeface
import androidx.core.app.ActivityCompat
import com.transmitsecurity.idvsdkdemoapp.R
class RequiredCameraPermissionsFragment: FirstFragment() {
private val CAMERACODE = 100;
override val title: String
get() = getStri... | 0 | Kotlin | 0 | 0 | fb4ad7d3978b3c91ec2a05fbe8211b2829fc9f38 | 1,191 | transmit-android-samples | MIT License |
android/app/src/main/java/com/converse/dev/PushNotificationsService.kt | ephemeraHQ | 573,386,822 | false | {"TypeScript": 1199056, "Kotlin": 78440, "Swift": 66779, "JavaScript": 28731, "Ruby": 4019, "Objective-C++": 2703, "Shell": 401, "Objective-C": 327, "CSS": 34} | package com.converse.dev
import android.Manifest
import android.app.ActivityManager
import android.content.ComponentName
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.net.Uri
import android.os.Build
import android.os.Parcelable
import android.util.... | 102 | TypeScript | 3 | 34 | e3600a048ec7391cba1f1a511ff0849070d5ac72 | 13,985 | converse-app | MIT License |
notion-toggler-core/src/main/kotlin/io/yahorbarkouski/notion/toggler/core/FeatureFlag.kt | yahorbarkouski | 576,698,464 | false | null | package io.yahorbarkouski.notion.toggler.core
import io.yahorbarkouski.notion.toggler.core.annotation.Documented
import io.yahorbarkouski.notion.toggler.core.util.camelToWords
import kotlin.reflect.full.memberProperties
import kotlin.reflect.jvm.javaField
/**
* Base open class for feature flags,
* that represents a... | 4 | Kotlin | 0 | 2 | 5d77a4dfd9725069f14b89dd5a09ed2f864ecf0a | 1,665 | notion-toggler | Apache License 2.0 |
app/src/main/java/com/khanappsnj/procoreinterviewapp/CardAdapter.kt | SKGitKit | 631,069,664 | false | null | package com.khanappsnj.procoreinterviewapp
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.khanappsnj.procoreinterviewapp.databinding.CardItemBinding
import com.khanappsnj.procoreinterviewapp.Constants.NAME
import com.khanappsnj.procoreinterv... | 0 | Kotlin | 0 | 0 | a36b3b6fb2549b559f1ab3e3768254f4d0ce6a81 | 1,198 | Pokemon-TCG-app | MIT License |
src/main/kotlin/no/nav/pensjon/selvbetjening/fssgw/journalforing/JournalforingController.kt | navikt | 348,062,453 | false | null | package no.nav.pensjon.selvbetjening.fssgw.journalforing
import no.nav.pensjon.selvbetjening.fssgw.common.ControllerBase
import no.nav.pensjon.selvbetjening.fssgw.common.ServiceClient
import no.nav.pensjon.selvbetjening.fssgw.tech.jwt.JwsValidator
import no.nav.pensjon.selvbetjening.fssgw.tech.sts.ServiceTokenGetter
i... | 1 | Kotlin | 0 | 0 | e1126ba64bb8778cad6a549d30f59b9d8e3544ea | 1,404 | pensjon-selvbetjening-fss-gateway | MIT License |
libs/common/src/main/kotlin/gyldigSoeknad/VurdertGyldighet.kt | navikt | 417,041,535 | false | null | package no.nav.etterlatte.libs.common.gyldigSoeknad
import java.time.LocalDateTime
data class VurdertGyldighet(
val navn: GyldighetsTyper,
val resultat: VurderingsResultat,
val basertPaaOpplysninger: Any?
)
data class GyldighetsResultat(
val resultat: VurderingsResultat?,
val vurderinger: List<Vu... | 6 | Kotlin | 0 | 3 | 8d41d2e006b5df41eacef84a670bc162ed72233c | 514 | pensjon-etterlatte-saksbehandling | MIT License |
idea-plugin/examples/simple-preview-example/mpp-jvm/src/commonMain/kotlin/App.kt | JetBrains | 293,498,508 | false | null | import androidx.compose.material.Button
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.runtime.*
@Composable
fun App() {
MaterialTheme {
Button(onClick = {}) {
Text("Hello, ${getPlatformName()}!")
}
}
}
expect fun getPla... | 668 | Kotlin | 645 | 9,090 | 97266a0ac8c0d7a8ad8d19ead1c925751a00ff1c | 339 | compose-jb | Apache License 2.0 |
src/main/kotlin/me/rhysxia/explore/server/graphql/scalar/TimestampScalar.kt | RhysXia | 362,829,891 | false | null | package me.rhysxia.explore.server.graphql.scalar
import graphql.language.IntValue
import graphql.schema.Coercing
import graphql.schema.CoercingParseLiteralException
import graphql.schema.CoercingParseValueException
import graphql.schema.CoercingSerializeException
import me.rhysxia.explore.server.configuration.graphql.... | 6 | Kotlin | 0 | 0 | 8896c3c2916493ceb45b8cad488fd007446a65c9 | 1,240 | explore-server | MIT License |
livemap/src/commonMain/kotlin/jetbrains/livemap/mapobjects/MapPoint.kt | tchigher | 229,856,588 | true | {"Kotlin": 4345032, "Python": 257583, "CSS": 1842, "C": 1638, "Shell": 1590, "JavaScript": 1584} | /*
* Copyright (c) 2019. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package jetbrains.livemap.mapobjects
import jetbrains.datalore.base.spatial.LonLat
import jetbrains.datalore.base.typedGeometry.Vec
import jetbrains.datalore.base.values.Colo... | 0 | null | 0 | 0 | f6fd07e9f44c789206a720dcf213d0202392976f | 667 | lets-plot | MIT License |
nexa-plugins/adventure/src/main/kotlin/pixel/nexa/plugin/adventure/entity/item/ItemStack.kt | PixelVoyagers | 812,454,511 | false | {"Kotlin": 155472, "HTML": 14726} | package pixel.nexa.plugin.adventure.entity.item
import pixel.auxframework.component.annotation.Autowired
import pixel.auxframework.component.annotation.Component
import pixel.nexa.core.data.component.DataComponentMap
import pixel.nexa.core.data.component.IDataComponentType
import pixel.nexa.core.data.tag.CompoundTag
i... | 0 | Kotlin | 0 | 1 | 30aafb4f35fca79786a83a25a6fc0b3c445e8f69 | 3,081 | Nexa | Apache License 2.0 |
src/main/kotlin/io/github/sgtsilvio/gradle/oci/platform/Platform.kt | SgtSilvio | 522,265,898 | false | {"Kotlin": 356020} | package io.github.sgtsilvio.gradle.oci.platform
import io.github.sgtsilvio.gradle.oci.internal.compareTo
import java.io.Serializable
import java.util.*
/**
* @author <NAME>
*/
sealed interface Platform : Comparable<Platform>, Serializable {
val os: String
val architecture: String
val variant: String
... | 1 | Kotlin | 0 | 27 | ed359b94fd52ab47e7fc17fccc8db47694a3d767 | 1,765 | gradle-oci | Apache License 2.0 |
arrow-core/src/main/kotlin/arrow/core/Id.kt | benfleis | 119,547,943 | true | {"Kotlin": 1371767, "CSS": 115818, "HTML": 9227, "JavaScript": 7275, "Java": 4423, "Shell": 3057} | package arrow.core
import arrow.higherkind
fun <A> IdKind<A>.value(): A = this.ev().value
@higherkind
data class Id<out A>(val value: A) : IdKind<A> {
inline fun <B> map(f: (A) -> B): Id<B> = Id(f(value))
inline fun <B> flatMap(f: (A) -> IdKind<B>): Id<B> = f(value).ev()
fun <B> foldLeft(b: B, f: (B, ... | 0 | Kotlin | 0 | 0 | 0f63726be8d9c662156f3a1705cc86cd51101967 | 1,030 | arrow | Apache License 2.0 |
app/src/main/kotlin/com/gnoemes/shimori/appinitializers/ThreeTenBpInitializer.kt | gnoemes | 213,210,354 | false | null | /*
* Copyright 2018 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 0 | Kotlin | 0 | 9 | 7a8373881e2abc29be51a2030ddfd329d9928d80 | 1,486 | Shimori | Apache License 2.0 |
app/src/main/java/com/tazkrtak/staff/models/Ticket.kt | tazkrtak | 212,135,611 | false | null | package com.tazkrtak.staff.models
import android.util.Base64
import com.tazkrtak.staff.BuildConfig
import com.tazkrtak.staff.util.Mode
import javax.crypto.Cipher
import javax.crypto.spec.IvParameterSpec
import javax.crypto.spec.SecretKeySpec
class Ticket {
var userNationalId: String? = null
var totp: String? ... | 0 | Kotlin | 1 | 0 | 00db96ab69807237bf0d276413fcc43e889420fe | 2,005 | alpha-staff | Apache License 2.0 |
app/src/main/java/com/byy/mvvm_interviewtest/data/remote/ApiService.kt | bbyhao | 132,335,526 | false | null | package com.byy.mvvm_interviewtest.data.remote
import com.byy.mvvm_interviewtest.data.RateEntry
import io.reactivex.Observable
import retrofit2.http.GET
/**
* @author Created by fq on 2018/4/28.
*/
interface ApiService {
@GET("latest")
fun getRate(): Observable<RateEntry>
} | 0 | Kotlin | 0 | 6 | efaac1eb91e32cf87b51b99e143982cce7628ebb | 286 | mvvm_interview | Apache License 2.0 |
src/main/kotlin/us/timinc/mc/cobblemon/unimplementeditems/items/PostBattleItem.kt | timinc-cobble | 669,249,509 | false | {"Kotlin": 20737, "Java": 1329} | package us.timinc.mc.cobblemon.unimplementeditems.items
import com.cobblemon.mod.common.api.events.battles.BattleVictoryEvent
import com.cobblemon.mod.common.pokemon.Pokemon
import net.minecraft.item.ItemStack
interface PostBattleItem {
fun doPostBattle(itemStack: ItemStack, pokemon: Pokemon, event: BattleVictory... | 8 | Kotlin | 0 | 1 | 18678b071c7620589d6527d5a2cbb0974add939e | 328 | cobblemon-unimplemented-items-1.4-fabric | MIT License |
asm-debuglog-plugin/src/main/java/it/sephiroth/android/library/asm/plugin/debuglog/DebugArguments.kt | sephiroth74 | 429,513,067 | false | null | package it.sephiroth.android.library.asm.plugin.debuglog
import java.io.Serializable
enum class DebugArguments(val value: Int) : Serializable {
None(0), Short(1), Full(2)
}
| 0 | Kotlin | 0 | 0 | e8ec660baec7d813a42581c1974b5c1c33ba3bbc | 179 | AndroidDebugLog | MIT License |
src/test/kotlin/no/edgeworks/kotlinbeer/wallet/WalletControllerTest.kt | vehagn | 364,834,062 | false | null | package no.edgeworks.kotlinbeer.wallet
import io.mockk.every
import io.mockk.mockk
import no.edgeworks.kotlinbeer.user.UserDAO
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.autoconfi... | 0 | Kotlin | 0 | 0 | 09e221542a2bd1bd3fb6e4b3a072a255cd7130b6 | 1,892 | kotlinBeer | MIT License |
plugin/src/main/java/com/jacobibanez/plugin/android/godotplaygameservices/signin/SignInProxy.kt | Iakobs | 729,152,304 | false | {"Kotlin": 99074, "GDScript": 85564} | package com.jacobibanez.plugin.android.godotplaygameservices.signin
import android.util.Log
import com.google.android.gms.games.GamesSignInClient
import com.google.android.gms.games.PlayGames
import com.jacobibanez.plugin.android.godotplaygameservices.BuildConfig
import com.jacobibanez.plugin.android.godotplaygameserv... | 1 | Kotlin | 4 | 57 | 2fe3975082df827cc4bb9ee1b7e61703017ba8b8 | 3,303 | godot-play-game-services | MIT License |
app/src/main/java/com/ricknout/rugbyranker/di/AppModule.kt | victorvicari | 203,642,375 | true | {"Kotlin": 224788} | package com.ricknout.rugbyranker.di
import android.content.Context
import android.content.SharedPreferences
import androidx.room.Room
import androidx.work.WorkManager
import com.ricknout.rugbyranker.RugbyRankerApplication
import com.ricknout.rugbyranker.core.api.WorldRugbyService
import com.ricknout.rugbyranker.db.Rug... | 0 | Kotlin | 0 | 0 | eb89f49d829278ec08c6b60eb0f184c63f25d6c9 | 5,217 | rugby-ranker | Apache License 2.0 |
web/src/main/kotlin/com/github/niuhf0452/exile/web/MediaType.kt | niuhf0452 | 240,633,641 | false | null | package com.github.niuhf0452.exile.web
import com.github.niuhf0452.exile.common.PublicApi
import java.nio.charset.Charset
import java.nio.charset.UnsupportedCharsetException
@PublicApi
data class MediaType(
val text: String,
val type: String,
val subtype: String,
val tree: String? = nu... | 0 | Kotlin | 1 | 2 | 8020cb1ab799f7b1e75c73f762a9ee1ed493a003 | 2,836 | exile | Apache License 2.0 |
app/src/main/java/app/accrescent/client/ui/AppIcon.kt | accrescent | 438,517,305 | false | null | package app.accrescent.client.ui
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import app.accrescent.client.data.REPOSITORY_URL
import coil.compose.AsyncImage
@Composable
fun AppIcon(appId: Strin... | 21 | Kotlin | 9 | 250 | 0114324cd1a7d4dc700a47935f9553df7deb1426 | 484 | accrescent | ISC License |
shared/src/commonMain/kotlin/com/seyedjafariy/shared/model/dto/CompanyInfoDTO.kt | seyedjafariy | 520,298,973 | false | {"Kotlin": 101839} | package com.seyedjafariy.shared.model.dto
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class CompanyInfoDTO(
@SerialName("id")
val id: String,
@SerialName("name")
val name: String,
@SerialName("founder")
val founder: String,
@SerialN... | 0 | Kotlin | 0 | 7 | 65a91dbc992368e0552fde97c7975cdd5bed3b92 | 523 | Shuttle | Apache License 2.0 |
app/src/main/java/com/autosec/pie/screens/InstallNewPackage.kt | cryptrr | 850,497,911 | false | {"Kotlin": 355163, "Shell": 1942} | package com.autosec.pie.screens
import android.app.Activity
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxSize
impor... | 2 | Kotlin | 0 | 4 | bbad9def664e896635a22d186c783c2c7a9eb026 | 2,612 | AutoPie | Apache License 2.0 |
app/src/main/java/de/jepfa/yapm/util/Constants.kt | jenspfahl | 378,141,282 | false | null | package de.jepfa.yapm.util
import android.net.Uri
import java.text.DateFormat
import java.text.DecimalFormat
import java.text.NumberFormat
import java.text.SimpleDateFormat
import java.util.*
object Constants {
val HOMEPAGE = Uri.parse("https://anotherpass.jepfa.de")
val FOSS_SITE = "https://github.com/jenspf... | 0 | Kotlin | 0 | 6 | 6e3735dfd5aebecb3fdb283e444cdab0247e511a | 1,032 | ANOTHERpass | MIT License |
core/src/main/java/pn/android/core/base/StatusViewModel.kt | purenative | 577,193,628 | false | null | package pn.android.core.base
import android.annotation.SuppressLint
import android.content.Context
import org.orbitmvi.orbit.syntax.simple.SimpleSyntax
import org.orbitmvi.orbit.syntax.simple.intent
import timber.log.Timber
@SuppressLint("StaticFieldLeak")
abstract class StatusViewModel<STATE : Statusable, SIDE_EFFEC... | 5 | Kotlin | 0 | 9 | 97493e520eaa0c950447859477b5da136fb0adaf | 900 | pn-android | MIT License |
app/src/main/java/com/github/spacepilothannah/spongiform/ui/LoginActivity.kt | spacepilothannah | 175,169,331 | false | null | package com.github.spacepilothannah.spongiform.ui
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.annotation.TargetApi
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Build
import android.os.Bundle
import android.util.Lo... | 0 | Kotlin | 0 | 0 | 3e0b4bf1d1966024cf1a2a410f215d5e78ba5447 | 6,608 | spongiform-app | MIT License |
telegram-bot/src/main/kotlin/eu/vendeli/tgbot/api/chat/GetChatAdministrators.kt | vendelieu | 496,567,172 | false | null | @file:Suppress("MatchingDeclarationName")
package eu.vendeli.tgbot.api.chat
import eu.vendeli.tgbot.interfaces.Action
import eu.vendeli.tgbot.interfaces.WrappedTypeOf
import eu.vendeli.tgbot.interfaces.getInnerType
import eu.vendeli.tgbot.types.ChatMember
import eu.vendeli.tgbot.types.internal.TgMethod
class GetChat... | 0 | Kotlin | 2 | 65 | 4ed11db0d9b7aba66dfbcaf5511cd5d1970ecc26 | 652 | telegram-bot | Apache License 2.0 |
core/data/src/androidMain/kotlin/io/github/droidkaigi/confsched/data/contributors/ContributorsRepositoryModule.kt | DroidKaigi | 776,354,672 | false | {"Kotlin": 1119401, "Swift": 211686, "Shell": 2954, "Makefile": 1314, "Ruby": 386} | package io.github.droidkaigi.confsched.data.contributors
import dagger.Binds
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import dagger.multibindings.ClassKey
import dagger.multibindings.IntoMap
import io.github.droidkaigi.confsched.data.di.R... | 49 | Kotlin | 201 | 438 | 57c38a76beb5b75edc9220833162e1257f40ac06 | 1,039 | conference-app-2024 | Apache License 2.0 |
app/src/main/kotlin/com/tans/tfiletranserdesktop/ui/resources/Strings.kt | Tans5 | 341,413,863 | false | {"Kotlin": 387306} | package com.tans.tfiletranserdesktop.ui.resources
const val stringAppName = "tFileTransfer"
// Broadcast
const val stringLocalConnectionTitle = "Connect Remote Device via LocalNetwork"
const val stringLocalConnectionTips = "If two devices in the same local network, you can use this way create connection. \n Use QR co... | 1 | Kotlin | 2 | 35 | 0478156da948e4ea9816444d5ba1a10ce83ea1c7 | 1,310 | tFileTransfer_desktop | Apache License 2.0 |
src/main/kotlin/com/dannybierek/tools/hmc/model/Subsets.kt | dbierek | 630,756,451 | false | null | package com.dannybierek.tools.hmc.model
data class Subsets(
val AudioEmitters: List<String> = listOf(),
val Replicable: List<String> = listOf()
) | 0 | Kotlin | 0 | 0 | 415c0501028f80f340b56d620e3adb700e2f19d3 | 154 | HitmanModCreator | Apache License 2.0 |
app/src/main/java/com/gwj/sem4_anime_app/ui/register/RegisterFragment.kt | GWJian | 730,619,677 | false | {"Kotlin": 141201} | package com.gwj.sem4_anime_app.ui.register
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.viewModels
import androidx.lifecycle.lifecycleScope
import com.gwj.sem4_anime_app.ui.base.BaseFragment
import com.gwj.sem4_anime_app... | 0 | Kotlin | 0 | 0 | bc0e0d52caadcacf33c0b01e6dd3acc6f9f546d7 | 1,870 | sem4_anime_app | MIT License |
app/src/main/java/com/getstream/navigation/BottomNavigation.kt | 6879756e | 619,553,559 | false | null | package com.getstream.navigation
import androidx.compose.material3.Icon
import androidx.compose.material3.NavigationBar
import androidx.compose.material3.NavigationBarItem
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
@Composable
fun GetStreamPerusalBottomNavigation(
currentDes... | 0 | Kotlin | 0 | 0 | 91b19b587d734baf961b652d23ca5327f7311f42 | 958 | GetStreamPerusal | MIT License |
app/src/main/java/com/arjanvlek/oxygenupdater/activities/FAQActivity.kt | iGotYourBackMr | 254,597,651 | true | {"Kotlin": 640563, "Java": 101703} | package com.arjanvlek.oxygenupdater.activities
import android.annotation.SuppressLint
import android.graphics.Color
import android.os.Bundle
import android.view.MenuItem
import androidx.core.view.isVisible
import com.arjanvlek.oxygenupdater.BuildConfig
import com.arjanvlek.oxygenupdater.OxygenUpdater
import com.arjanv... | 0 | null | 0 | 0 | 884766371e62969831f2933ba790bbec4c2c1613 | 4,261 | oxygen-updater | MIT License |
sample/src/main/java/com/androidchekhov/pagingrecyclerview/presentation/CommentsPagingAdapter.kt | AndroidChekhov | 162,025,190 | false | null | package com.androidchekhov.pagingrecyclerview.presentation
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.androidchekhov.pagination.PagingAdapter
import com.androidchekhov.pagingrecyclerview.R
import com.androidchekh... | 0 | Kotlin | 0 | 0 | b56e1b0fe92c143e27a75f9a00ef82b81e741270 | 1,819 | paging-indicator-list | Apache License 2.0 |
dashboard/src/main/java/com/ekenya/rnd/dashboard/di/injectables/RoomModule.kt | JMDev2 | 691,496,412 | false | {"Kotlin": 63475, "Java": 14180} | package com.ekenya.rnd.dashboard.di.injectables
import android.content.Context
import com.ekenya.rnd.baseapp.di.ModuleScope
import com.ekenya.rnd.common.model.ShipData
import com.ekenya.rnd.dashboard.database.ShipDao
import com.ekenya.rnd.dashboard.database.ShipDatabase
import dagger.Module
import dagger.Provides
@Mo... | 0 | Kotlin | 1 | 0 | 6831467c3fecb9713926b9a520310d5e47b99e38 | 748 | ShipX | MIT License |
src/main/kotlin/com/github/theapache64/ambientide/data/repo/RulesRepo.kt | theapache64 | 598,237,118 | false | null | package com.github.theapache64.ambientide.data.repo
import com.github.theapache64.ambientide.model.IDE
import com.github.theapache64.ambientide.model.Rule
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.json.Json
import java.io.File
import javax.inject.Inject
import kotlin.time.ExperimentalT... | 0 | Kotlin | 0 | 3 | 55063b0be8b3152905f4e108ce5dff700892fb16 | 1,827 | ambient-IDE | Apache License 2.0 |
kine/src/main/java/com/kine/client/KineClient.kt | TrendingTechnology | 292,750,353 | true | {"Kotlin": 186420} | package com.kine.client
import com.kine.request.Request
import com.kine.response.KineResponse
/**
* kineClient for making the actual HTTP request to server.
*/
abstract class KineClient constructor(){
abstract fun canHandleRequest(url: String, method: Int): Boolean
@Throws(Throwable::class)
abstract f... | 0 | null | 0 | 0 | e496ea19a7949b846147343016ee2d6bb08a1613 | 444 | Kine | Apache License 2.0 |
app/src/main/kotlin/com/whereismymotivation/ui/content/ContentViewModel.kt | unusualcodeorg | 730,655,456 | false | {"Kotlin": 472092} | package com.whereismymotivation.ui.content
import androidx.lifecycle.SavedStateHandle
import com.whereismymotivation.data.repository.ContentRepository
import com.whereismymotivation.ui.base.BaseViewModel
import com.whereismymotivation.ui.common.browser.ContentBrowser
import com.whereismymotivation.ui.common.progress.L... | 0 | Kotlin | 4 | 38 | 5b77e6a6b14ae9ad21e8edd55e8c9b3cc2066f75 | 1,401 | wimm-android-app | Apache License 2.0 |
couchbase-lite/src/commonMain/kotlin/kotbase/ReplicatorActivityLevel.kt | jeffdgr8 | 518,984,559 | false | {"Kotlin": 2266831, "Python": 294} | /*
* Copyright 2022-2023 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0 | Kotlin | 0 | 7 | ec8fbeb0d3e6c487ec8fb48ba2ba5388c71a29b1 | 1,210 | kotbase | Apache License 2.0 |
common/kotlinx-coroutines-core-common/src/Annotations.kt | qwertyfinger | 153,363,619 | true | {"Kotlin": 1832146, "CSS": 8215, "JavaScript": 2505, "Shell": 2222, "Ruby": 1927, "HTML": 1675, "Java": 356} | /*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.coroutines.experimental
/**
* Marks declarations that are still **experimental** in coroutines API, which means that the design of the
* corresponding declarations has open issues which may ... | 0 | Kotlin | 0 | 0 | 4c76c6f4c47a34aa81a33c8c0c8bbaf942b83c68 | 1,697 | kotlinx.coroutines | Apache License 2.0 |
app/src/main/java/romansytnyk/spacex/ui/capsules/adapter/CapsulesAdapter.kt | RomanSytnyk | 124,294,424 | false | null | package romansytnyk.spacex.ui.capsules.adapter
import android.annotation.SuppressLint
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.StringRes
import kotlinx.android.synthetic.main.item_capsules.view.*
import romansytnyk.spacex.R
import romansytnyk.... | 0 | Kotlin | 1 | 10 | ae9caa0a36799b275d38c6aa0a9d40fb9dbdb8f4 | 2,897 | SpaceX-App-unofficial | Apache License 2.0 |
app/src/main/java/com/example/wordsapp/LetterListFragment.kt | MobyLab-Android-Workshop-2023 | 673,795,554 | false | null | package com.example.wordsapp
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import ... | 0 | Kotlin | 0 | 0 | c39edbcddbcd71be6aeb1f7eeb621c0b061ed295 | 2,579 | Words | Apache License 2.0 |
domain/learningandworkprogress/src/main/kotlin/uk/gov/justice/digital/hmpps/domain/learningandworkprogress/education/PreviousQualifications.kt | ministryofjustice | 653,598,082 | false | {"Kotlin": 1309284, "Mustache": 2705, "Dockerfile": 1375} | package uk.gov.justice.digital.hmpps.domain.learningandworkprogress.education
import uk.gov.justice.digital.hmpps.domain.learningandworkprogress.induction.KeyAwareDomain
import java.time.Instant
import java.util.UUID
/**
* Holds details about a Prisoner's educational qualifications, including where relevant, the gra... | 5 | Kotlin | 0 | 2 | 2342be2e0b94c24f8a25bb58b5e0c5964b3af9cd | 1,281 | hmpps-education-and-work-plan-api | MIT License |
app/src/main/java/com/qhy040404/libraryonetap/utils/migration/BaseMigration.kt | qhy040404 | 484,416,715 | false | null | package com.qhy040404.libraryonetap.utils.migration
import jonathanfinerty.once.Once
abstract class BaseMigration(private val commit: String) {
protected abstract val reason: String
protected abstract fun migrate()
fun doMigration() {
if (Once.beenDone(commit)) return
migrate()
Once.markDone(commit... | 1 | Kotlin | 0 | 9 | db5d2cf858f05a03273c5fe1e06944a713842c71 | 328 | Library-One-Tap-Android | Apache License 2.0 |
app/src/main/java/com/qhy040404/libraryonetap/utils/migration/BaseMigration.kt | qhy040404 | 484,416,715 | false | null | package com.qhy040404.libraryonetap.utils.migration
import jonathanfinerty.once.Once
abstract class BaseMigration(private val commit: String) {
protected abstract val reason: String
protected abstract fun migrate()
fun doMigration() {
if (Once.beenDone(commit)) return
migrate()
Once.markDone(commit... | 1 | Kotlin | 0 | 9 | db5d2cf858f05a03273c5fe1e06944a713842c71 | 328 | Library-One-Tap-Android | Apache License 2.0 |
app/src/main/java/com/apx6/chipmunk/app/ui/viewholder/AttachViewHolder.kt | volt772 | 506,075,620 | false | {"Kotlin": 305901} | package com.apx6.chipmunk.app.ui.viewholder
import androidx.recyclerview.widget.RecyclerView
import com.apx6.chipmunk.app.ext.setOnSingleClickListener
import com.apx6.chipmunk.databinding.ItemAttachBinding
import com.apx6.domain.dto.CmdAttachment
class AttachViewHolder(
private val binding: ItemAttachBinding,
... | 0 | Kotlin | 0 | 0 | c3d4a20422090153b40f9542bbc51a3368750034 | 723 | chipmunk | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.