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/kotlin/MainActivity2.kt | sitepoint-editors | 77,063,124 | true | {"Kotlin": 1583, "Java": 361} | package com.kotlineffiecienttechniques
import android.support.v7.app.ActionBarActivity
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import android.widget.Toast
import kotlinx.android.synthetic.main.activity_main_activity2.*
public class MainActivity2 : ActionBarActivity() {
ove... | 0 | Kotlin | 0 | 0 | f44719973c40e9f988cc6897612ebe82bef2971b | 850 | kotlinefficienttechniques | MIT License |
app/src/main/java/net/kibotu/androiddatabases/objectbox/model/Node.kt | kibotu | 189,729,497 | false | null | package net.kibotu.androiddatabases.objectbox.model
import net.kibotu.androiddatabases.room.model.Node
/**
* Tree Structure
*/
data class Node(var id: Int? = null, var children: List<Node>? = null) | 0 | Kotlin | 0 | 0 | 68bd7a4e38412bf99d420c1b24987f05a7bbc64f | 202 | AndroidDatabases | Apache License 2.0 |
src/main/kotlin/com/fobgochod/git/commit/settings/GitSettingsConfigurable.kt | fobgochod | 575,902,387 | false | null | package com.fobgochod.git.commit.settings
import com.fobgochod.git.commit.domain.option.ComponentType
import com.fobgochod.git.commit.domain.option.SkipCI
import com.fobgochod.git.commit.domain.option.ViewMode
import com.fobgochod.git.commit.util.GitBundle
import com.intellij.application.options.editor.CheckboxDescrip... | 1 | Kotlin | 1 | 4 | 455f4e0811843b3e3897d7ef3006b503547a5381 | 5,440 | git-commit-message-format | Apache License 2.0 |
quote/src/main/java/com/pyamsoft/tickertape/quote/dig/DigViewState.kt | pyamsoft | 371,196,339 | false | null | package com.pyamsoft.tickertape.quote.dig
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import com.pyamsoft.pydroid.arch.UiViewState
import com.pyamsoft.tickertape.quote.Ticker
import com.pyamsoft.tickertape.stocks.api.StockChart
import... | 5 | Kotlin | 0 | 1 | fa630755b2f2f7f81b5df592541d22b7ea35ac76 | 1,154 | tickertape | Apache License 2.0 |
save-backend/src/main/kotlin/com/saveourtool/save/backend/service/TestsSourceVersionService.kt | saveourtool | 300,279,336 | false | null | package com.saveourtool.save.backend.service
import com.saveourtool.save.backend.repository.TestSuitesSourceRepository
import com.saveourtool.save.backend.repository.TestsSourceSnapshotRepository
import com.saveourtool.save.backend.repository.TestsSourceVersionRepository
import com.saveourtool.save.backend.repository.... | 201 | null | 3 | 38 | e101105f8e449253d5fbe81ece2668654d08639f | 6,558 | save-cloud | MIT License |
src/test/kotlin/no/nav/syfo/api/JobApiSpek.kt | navikt | 303,972,532 | false | null | package no.nav.syfo.api
import io.ktor.application.*
import io.ktor.features.*
import io.ktor.http.*
import io.ktor.routing.*
import io.ktor.server.testing.*
import io.mockk.coEvery
import io.mockk.mockk
import io.mockk.verify
import no.nav.syfo.api.job.registerJobTriggerApi
import no.nav.syfo.api.job.urlPathJobTrigge... | 2 | Kotlin | 0 | 0 | 687dc87cc4bb54740bf83569d6bd4cd1269cc23f | 3,810 | esyfovarsel | MIT License |
app/src/main/java/com/example/inventory/ui/item/ItemEntryScreen.kt | BrunoCRezende | 862,005,793 | false | {"Kotlin": 74437} | /*
* Copyright (C) 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 0 | Kotlin | 0 | 0 | 8a87e1e263901a5b2c8f63031d95be9208ddf2e6 | 8,033 | App-SQLite---Android-Developer | Apache License 2.0 |
client/core/persistence/src/commonTest/kotlin/com/oztechan/ccc/client/core/persistence/PersistenceTest.kt | Oztechan | 102,633,334 | false | null | package com.oztechan.ccc.client.core.persistence
import com.oztechan.ccc.client.core.persistence.error.UnsupportedPersistenceException
import com.oztechan.ccc.client.core.persistence.fakes.Fakes.KEY
import com.oztechan.ccc.client.core.persistence.fakes.Fakes.mockBoolean
import com.oztechan.ccc.client.core.persistence.... | 29 | null | 30 | 331 | 6e693e802e78b411051be9c4398df2bd60023c46 | 3,393 | CCC | Apache License 2.0 |
urbanairship-debug/src/main/java/com/urbanairship/debug/event/BindingAdapters.kt | tmckeown-rsc | 193,259,287 | false | {"INI": 1, "Markdown": 12, "Shell": 3, "Batchfile": 1, "Proguard": 6, "Java": 621, "Kotlin": 49, "Python": 1, "Java Properties": 3, "C#": 2, "CSS": 1} | /* Copyright Airship and Contributors */
package com.urbanairship.debug.event
import android.databinding.BindingAdapter
import android.graphics.drawable.ColorDrawable
import android.support.annotation.ColorInt
import android.support.design.chip.Chip
import android.support.design.widget.FloatingActionButton
import and... | 1 | null | 1 | 1 | 5f672d6669f2191c73f5dde5071e1a7bab09579c | 1,968 | android-library | Apache License 2.0 |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/contactdiary/model/ContactDiaryPerson.kt | si-covid-19 | 286,833,811 | false | null | package de.rki.coronawarnapp.contactdiary.model
import de.rki.coronawarnapp.util.lists.HasStableId
import java.util.Locale
interface ContactDiaryPerson : HasStableId {
val personId: Long
var fullName: String
val phoneNumber: String?
val emailAddress: String?
}
fun List<ContactDiaryPerson>.sortByNameA... | 6 | null | 8 | 15 | 5a3b4be63b5b030da49216a0132a3979cad89af1 | 448 | ostanizdrav-android | Apache License 2.0 |
api/src/main/kotlin/de/axelrindle/pocketknife/PocketConfig.kt | axelrindle | 136,759,008 | false | {"Kotlin": 78917, "Java": 185} | package de.axelrindle.pocketknife
import org.apache.commons.io.IOUtils
import org.bukkit.configuration.InvalidConfigurationException
import org.bukkit.configuration.file.YamlConfiguration
import org.bukkit.plugin.java.JavaPlugin
import java.io.*
import java.nio.charset.StandardCharsets
/**
* A helper class for easil... | 1 | Kotlin | 1 | 1 | 6b7537fee337d8403cec7030116b3068636b95ae | 5,564 | PocketKnife | Apache License 2.0 |
app/src/main/java/ajar/huzefa/olaplay/data/PlaylistDao.kt | huzefaraja | 115,239,147 | false | {"Gradle": 3, "Java Properties": 2, "Markdown": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Kotlin": 38, "XML": 29, "Java": 1} | package ajar.huzefa.olaplay.data
import android.arch.persistence.room.*
/**
* This item is not currently in use
*/
@Dao
interface PlaylistDao {
@Query("SELECT * FROM playlist")
fun all(): List<Playlist>
@Query("SELECT * FROM playlist WHERE id=(:id)")
fun byId(id: Long): List<Playlist>
@Inser... | 1 | null | 1 | 1 | 779098baaf99b5a31389ec08ef33dff4a959f19e | 657 | ola_play | MIT License |
app/src/main/java/ir/esmaeili/stopcar/ui/fragments/newcar/NewCarViewModel.kt | BasetEsmaeili | 250,985,369 | false | null | package ir.esmaeili.stopcar.ui.fragments.newcar
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.SavedStateHandle
import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex.observers.DisposableSingleObserver
import io.reactivex.schedulers.Schedule... | 1 | null | 3 | 8 | 8287613ca3afb090f52e9bed02671a0375d1c3d9 | 4,577 | StopCar-Redesigned | Apache License 2.0 |
app/src/main/java/com/ggslk/ggslk/adapter/CategoryRecyclerAdapter.kt | ivantha | 130,317,391 | false | null | package com.ggslk.ggslk.adapter
import android.content.Context
import android.support.constraint.ConstraintLayout
import android.support.v4.app.FragmentManager
import android.support.v7.widget.CardView
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import andr... | 15 | Kotlin | 9 | 1 | 7747a78a451443f02354f2f57ba170ebdc6f5aee | 4,693 | ggslk-app | MIT License |
code-gen-with-kotlin/gradle-build-logic/src/main/kotlin/de/jjohannes/codegen/gradle/BuildGradleGen.kt | jjohannes | 225,674,785 | false | {"Text": 5, "Ignore List": 9, "Markdown": 26, "Gradle Kotlin DSL": 140, "Shell": 27, "Batchfile": 27, "INI": 30, "Java": 75, "Kotlin": 32, "Checksums": 24, "XML": 18, "C": 6, "Gradle": 12, "Groovy": 3, "YAML": 1} | package de.jjohannes.codegen.gradle
import de.jjohannes.codegen.CodeGenerator
import de.jjohannes.codegen.CodeGeneratorConfig
object BuildGradleGen : CodeGenerator {
override fun fileName(conf: CodeGeneratorConfig) = with(conf) {
"build.gradle.kts"
}
override fun generateContent(conf: CodeGenera... | 0 | Java | 3 | 48 | d730224ae5e45ce5b4156d2b022d081bbf2b97cd | 672 | gradle-demos | Apache License 2.0 |
app/src/main/java/com/rmnivnv/cryptomoon/ui/coinAllocation/ICoinAllocation.kt | ivnvrmn | 98,931,608 | false | null | package com.rmnivnv.cryptomoon.ui.coinAllocation
import com.github.mikephil.charting.data.PieData
interface ICoinAllocation {
interface View {
fun drawPieChart(pieData: PieData)
fun enableGraphLoading()
fun disableGraphLoading()
}
interface Presenter {
fun onCreate()
... | 2 | null | 14 | 113 | 4d1651ce680fbf49e71cafb7d49e2d49d059b5fd | 345 | CryptoMoon | Apache License 2.0 |
yas/src/main/java/io/github/amalhanaja/yas/Duration.kt | amalhanaja | 110,639,261 | false | {"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 6, "XML": 19, "Java": 2} | package io.github.amalhanaja.yas
import android.support.design.widget.Snackbar
/**
* Created by doy on 11/12/17.
* Email : amalhanaja@gmail.com
* Created On : 11/12/17.
*/
object Duration {
val INDEFINED = Snackbar.LENGTH_INDEFINITE
val SHORT = Snackbar.LENGTH_SHORT
val LONG = Snackbar.LENGTH_LONG
... | 1 | null | 1 | 1 | 7ce9c8fe9c087fdd106b8be696d82e6a5005ba04 | 356 | YetAnotherSnackbar | Apache License 2.0 |
app/src/main/java/ajar/huzefa/olaplay/data/Entity.kt | huzefaraja | 115,239,147 | false | {"Gradle": 3, "Java Properties": 2, "Markdown": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Proguard": 1, "Kotlin": 38, "XML": 29, "Java": 1} | package ajar.huzefa.olaplay.data
import android.content.Context
interface Entity {
fun insert(context: Context): Long
fun update(context: Context)
fun delete(context: Context)
interface OnEntitiesInsertedListener {
fun onEntitiesInserted(taskId: Int, entities: Array<out Entity?>?)
}
... | 1 | null | 1 | 1 | 779098baaf99b5a31389ec08ef33dff4a959f19e | 691 | ola_play | MIT License |
app/src/main/java/com/alanyuan/clipboard/ClipboardAdapter.kt | AlanGinger | 141,264,979 | false | null | package com.alanyuan.clipboard
import android.content.Context
import android.databinding.DataBindingUtil
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.ViewGroup
import com.alanyuan.clipboard.databinding.ItemClipboardBinding
class ClipboardAdapter : RecyclerView.A... | 0 | Kotlin | 0 | 0 | 0f37d385f4f26c575f0f3a6fba434a3b5668a6cb | 1,317 | GingersnapButler | Apache License 2.0 |
zircon.jvm/src/test/kotlin/org/hexworks/zircon/api/data/SizeTest.kt | entelente | 148,384,225 | false | null | package org.hexworks.zircon.api.data
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
class SizeTest {
@Test(expected = IllegalArgumentException::class)
fun shouldThrowExceptionWhenTerminalXLengthIsNegative() {
Size.create(
xLength = -1,
yLength ... | 1 | null | 1 | 1 | a8320415e949d47f55b316092a29f20469450720 | 5,580 | zircon | MIT License |
api/src/main/kotlin/com/duj/example/cleankt/api/entrypoint/queue/ExampleQueueConsumer.kt | CorreiaEduardo | 415,375,934 | false | {"Kotlin": 24682} | package com.duj.example.cleankt.api.entrypoint.queue
import com.duj.example.api.util.ApplicationLogger
import com.duj.example.cleankt.api.entrypoint.queue.message.ExampleMessage
import org.springframework.amqp.rabbit.annotation.RabbitListener
import org.springframework.stereotype.Component
@Component
class ExampleQue... | 0 | Kotlin | 0 | 0 | d3b8b989919517501fd1fa19c8a9807d95bbd8b1 | 536 | ex-clean-spring-kt | MIT License |
app/src/main/java/project/dheeraj/githubvisualizer/Activity/IssuesActivity.kt | dheerajkotwani | 265,686,465 | false | null | /*
* MIT License
*
* Copyright (c) 2020 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 1 | Kotlin | 19 | 96 | 31c1cac980876c01d0f06f5609b50b8da3de7e91 | 4,234 | GithubVisualizer | MIT License |
src/cds/src/main/kotlin/org/icpclive/api/Advanced.kt | icpc | 447,849,919 | false | null | package org.icpclive.api
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import org.icpclive.util.ColorSerializer
import org.icpclive.util.DurationInSecondsSerializer
import org.icpclive.util.humanReadable
import java.awt.Color
import kotlin.time.Duration
@Serializable
data class Tea... | 15 | null | 7 | 28 | a8f6d0f18f2b5b39781a0196fd1b531b0878013f | 3,900 | live-v3 | MIT License |
src/main/kotlin/felis/launcher/GameLauncher.kt | Felis-Project | 774,006,760 | false | {"Kotlin": 60108} | package felis.launcher
fun interface GameLauncher {
fun instantiate(args: Array<String>): GameInstance
}
| 3 | Kotlin | 1 | 2 | da20f2400be2442e640731c74365de2f14e64da8 | 110 | felis | MIT License |
cli/src/main/kotlin/tools/samt/cli/TypePrinter.kt | samtkit | 602,288,830 | false | {"Kotlin": 612490, "Batchfile": 1420, "Shell": 1226} | package tools.samt.cli
import com.github.ajalt.mordant.rendering.TextColors.*
import com.github.ajalt.mordant.rendering.TextStyles.bold
import tools.samt.semantic.Package
internal object TypePrinter {
fun dump(samtPackage: Package): String = buildString {
if (samtPackage.isRootPackage) {
appen... | 0 | Kotlin | 0 | 8 | 58f179de53ebb92da8e02cac021bb691b6447448 | 2,182 | core | MIT License |
cli/src/main/kotlin/tools/samt/cli/TypePrinter.kt | samtkit | 602,288,830 | false | {"Kotlin": 612490, "Batchfile": 1420, "Shell": 1226} | package tools.samt.cli
import com.github.ajalt.mordant.rendering.TextColors.*
import com.github.ajalt.mordant.rendering.TextStyles.bold
import tools.samt.semantic.Package
internal object TypePrinter {
fun dump(samtPackage: Package): String = buildString {
if (samtPackage.isRootPackage) {
appen... | 0 | Kotlin | 0 | 8 | 58f179de53ebb92da8e02cac021bb691b6447448 | 2,182 | core | MIT License |
app/src/main/java/com/bdlepla/android/mymusicplayer/business/CurrentPlayingStats.kt | bdlepla | 451,687,232 | false | null | package com.bdlepla.android.mymusicplayer.business
data class CurrentPlayingStats(
val currentPlaying: SongInfo?,
val currentPosition:Int,
val maxPosition:Int,
)
| 0 | Kotlin | 0 | 0 | 152be26baa42a3bbf6aa2da276f4ee8291eaa692 | 175 | MyMusicPlayer | MIT License |
app/src/main/java/com/devcommop/joaquin/codeforgood/ui/sponsors_screen/sponsor_detail_screen/SponsorDetailFragment.kt | RahulSoni0 | 522,188,041 | false | null | package com.devcommop.joaquin.codeforgood.ui.sponsors_screen.sponsor_detail_screen
import androidx.fragment.app.Fragment
import com.devcommop.joaquin.codeforgood.R
class SponsorDetailFragment : Fragment(R.layout.fragment_sponsor_detail) {
} | 0 | Kotlin | 1 | 1 | 02f20d700cea6bf0cd9a59ae51ffec9b928f41d8 | 243 | DucoSign | Creative Commons Zero v1.0 Universal |
app/src/main/java/org/avmedia/gShockPhoneSync/services/KeepAliveManager.kt | izivkov | 480,047,057 | false | {"Kotlin": 232698, "Shell": 69, "Ruby": 46} | package org.avmedia.gShockPhoneSync.services
import android.annotation.SuppressLint
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import androidx.core.app.NotificationCompat
import androidx.core.app.NotificationCompat.PRIORITY_DEFAULT
import androidx.core.... | 6 | Kotlin | 9 | 96 | 4a67d586e8eb94a4d5dba2120101e92a8fe513e7 | 2,449 | CasioGShockSmartSync | Apache License 2.0 |
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/skills/crafting/pottery/PotteryData.kt | 2011Scape | 578,880,245 | false | {"Kotlin": 8359518, "Dockerfile": 1354} | package gg.rsmod.plugins.content.skills.crafting.pottery
import gg.rsmod.plugins.api.cfg.Items
enum class PotteryData(vararg val products: PotteryItem, val urn: Boolean = true, val runeRequired: Int? = null) {
NOT_URNS(products = arrayOf(
PotteryItem(unfired = Items.CRACKED_FISHING_URN_UNF, fired = -1),
... | 36 | Kotlin | 138 | 32 | da66bb6d68ebae531ee325b909a6536e798b1144 | 7,724 | game | Apache License 2.0 |
game/plugins/src/main/kotlin/gg/rsmod/plugins/content/skills/crafting/pottery/PotteryData.kt | 2011Scape | 578,880,245 | false | {"Kotlin": 8359518, "Dockerfile": 1354} | package gg.rsmod.plugins.content.skills.crafting.pottery
import gg.rsmod.plugins.api.cfg.Items
enum class PotteryData(vararg val products: PotteryItem, val urn: Boolean = true, val runeRequired: Int? = null) {
NOT_URNS(products = arrayOf(
PotteryItem(unfired = Items.CRACKED_FISHING_URN_UNF, fired = -1),
... | 36 | Kotlin | 138 | 32 | da66bb6d68ebae531ee325b909a6536e798b1144 | 7,724 | game | Apache License 2.0 |
sample/src/main/java/com/seiko/immersionbar/sample/fragment/five/MineFiveFragment.kt | qdsfdhvh | 273,822,575 | true | {"Kotlin": 79797} | package com.seiko.immersionbar.sample.fragment.five
import android.os.Bundle
import com.seiko.immersionbar.immersionBar
import com.seiko.immersionbar.sample.R
import com.seiko.immersionbar.sample.utils.getResColor
/**
* @author geyifeng
* @date 2017/7/20
*/
class MineFiveFragment : BaseFiveFragment() {
overri... | 0 | Kotlin | 0 | 1 | 70e0969f96eae5cbf665e8edd38a32c63d3172c5 | 848 | immersionbar | Apache License 2.0 |
zircon.core/common/src/main/kotlin/org/hexworks/zircon/api/component/Visibility.kt | jmedinaJBM | 178,613,075 | true | {"Kotlin": 1311631, "Java": 128163} | package org.hexworks.zircon.api.component
/**
* Determines the Visibility of a component
*/
enum class Visibility {
/**
* Component is Visible
*/
Visible,
/**
* Component is invisible but occupies the space
*/
Hidden
//Invisible...maybe an option for later (but makes only sen... | 0 | Kotlin | 0 | 0 | 700f7542c1d59f5561f2aec084f9b6a1f50649b0 | 400 | zircon | MIT License |
core/src/commonMain/kotlin/response/ResponseDeserializers.kt | aSoft-Ltd | 546,494,559 | false | null | package response
import kotlinx.serialization.KSerializer
import kotlinx.serialization.json.Json
import response.failure.decodeFailureFromString
import response.success.decodeSuccessFromString
fun <D> Json.decodeResponseFromString(
dataSerializer: KSerializer<D>,
json: String,
): Response<D, Any?> = try {
... | 0 | Kotlin | 0 | 0 | 96728a0fea91820506113dba466663a8cfdb25aa | 1,039 | response | MIT License |
new-tab-page/new-tab-page-impl/src/test/java/com/duckduckgo/newtabpage/impl/shortcuts/NewTabShortcutsProviderTest.kt | duckduckgo | 78,869,127 | false | {"Kotlin": 14333964, "HTML": 63593, "Ruby": 20564, "C++": 10312, "JavaScript": 8463, "CMake": 1992, "C": 1076, "Shell": 784} | /*
* Copyright (c) 2024 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,980 | Android | Apache License 2.0 |
app/src/main/java/eu/kanade/domain/chapter/interactor/UpdateChapter.kt | AntsyLich | 378,910,163 | true | {"Kotlin": 2124469} | package eu.kanade.domain.chapter.interactor
import eu.kanade.domain.chapter.model.ChapterUpdate
import eu.kanade.domain.chapter.repository.ChapterRepository
class UpdateChapter(
private val chapterRepository: ChapterRepository,
) {
suspend fun await(chapterUpdate: ChapterUpdate) {
chapterRepository.u... | 0 | Kotlin | 1 | 4 | 3c40010afffa807017f0b56634d8c5323154b4e4 | 349 | tachiyomi | Apache License 2.0 |
app/src/main/java/com/envelope/pickyapp/ui/chooseinterests/ChooseInterestsActivity.kt | othreecodes | 195,314,696 | false | null | package com.envelope.pickyapp.ui.chooseinterests
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.envelope.pickyapp.R
class ChooseInterestsActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
se... | 0 | Kotlin | 1 | 1 | 934123d616dd16e19ad80205c5771a3c1f8860d3 | 594 | NewZZ | Apache License 2.0 |
app/src/main/java/com/marcodiegopia/myapplication/PremiumActivity.kt | SPVbug | 713,625,941 | false | {"Kotlin": 11329} | package com.marcodiegopia.myapplication
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
class PremiumActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
... | 0 | Kotlin | 0 | 0 | ed3285fd65e543b477d0414892f92288e572ae02 | 654 | miciclofem | Apache License 2.0 |
src/main/kotlin/utility/StringValidator.kt | EliFuzz | 669,912,353 | false | null | package utility
import java.lang.Enum.valueOf
import kotlin.reflect.KClass
fun validate(fieldName: String, fieldValue: String?): Validator<String> = object: Validator<String> {
override fun exists(): Validator<String> =
require(!fieldValue.isNullOrBlank())
{ "${prepend()} $fieldName must not be em... | 0 | Kotlin | 0 | 0 | b33744b4945c2726a4db8edae2f0a0a33f0d56bf | 1,674 | validator | MIT License |
app/src/main/java/dev/tomscott/hangman/model/GameState.kt | tscott0 | 147,972,570 | false | null | package dev.tomscott.hangman.model
enum class GameState {
PLAYING, WON, LOST
} | 0 | Kotlin | 0 | 0 | 9f98bbb7765599466535c5588c8efd696ee09a9c | 83 | hangman-android | MIT License |
app/src/main/java/me/gibsoncodes/spellingbee/utils/PreConditions.kt | GibsonRuitiari | 616,095,603 | false | null | package me.gibsoncodes.spellingbee.utils
inline fun <reified T:Any> checkNotNull(vararg values:T?) = checkValues(values = values, predicate = {it!=null})
inline fun<T:Any?> checkValues(vararg values:T, predicate: (T) -> Boolean, lazyMessage:String?=null) = checkValues(values=values,
predicate=predicate, lazyMessag... | 1 | Kotlin | 1 | 4 | 7549e6a3f49e7f897f54b6864d93f12b8d8c3f4b | 938 | SpellingBee | MIT License |
app/src/main/java/com/braisgabin/showmedamoney/data/MarvelResponseMapper.kt | BraisGabin | 161,705,625 | false | null | package com.braisgabin.showmedamoney.data
import com.braisgabin.showmedamoney.entities.Contact
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
class MarvelResponseMapper(
val data: MarvelListMapper
) {
fun toDomain(): List<Contact> {
return data.results.map {
val thumbnail = (it.thumbnail.path + "/st... | 0 | Kotlin | 0 | 0 | 9610f84170e89c69fe729acfbba300f971d9020a | 756 | showmedamoney | Apache License 2.0 |
app/src/main/java/com/punchthrough/blestarterappandroid/MainActivity.kt | Ricardo2308 | 473,727,427 | false | null | /*
* Copyright 2019 Punch Through Design 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 ... | 0 | Kotlin | 0 | 0 | ce59a8a933b51f89ff0a52cc9ac3ba285bb50eb6 | 13,089 | PendrogonBLEForeground | Apache License 2.0 |
app/src/main/java/com/punchthrough/blestarterappandroid/MainActivity.kt | Ricardo2308 | 473,727,427 | false | null | /*
* Copyright 2019 Punch Through Design 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 ... | 0 | Kotlin | 0 | 0 | ce59a8a933b51f89ff0a52cc9ac3ba285bb50eb6 | 13,089 | PendrogonBLEForeground | Apache License 2.0 |
src/commonMain/kotlin/io/github/optimumcode/json/schema/internal/factories/array/ArrayLengthAssertion.kt | OptimumCode | 665,024,908 | false | {"Kotlin": 340505} | package io.github.optimumcode.json.schema.internal.factories.array
import io.github.optimumcode.json.pointer.JsonPointer
import io.github.optimumcode.json.schema.ErrorCollector
import io.github.optimumcode.json.schema.ValidationError
import io.github.optimumcode.json.schema.internal.AssertionContext
import io.github.o... | 7 | Kotlin | 0 | 5 | e3bd94b6002733caf12193ae090882aee0aaf9dc | 1,114 | json-schema-validator | MIT License |
androidApp/home/src/main/java/tech/takahana/iconwallpaper/android/home/ui/screen/viewmodel/HomeSelectImageAssetViewModel.kt | Takahana | 435,170,985 | false | null | package tech.takahana.iconwallpaper.android.home.ui.screen.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import tech.takahana.iconwallpaper.uilogic.home.HomeSelectImageAssetUiLogic
import javax.inject.Inject
@HiltViewModel
cla... | 3 | Kotlin | 0 | 0 | c8f07de65b02a460e494e03fa6df7cc49d1f14de | 570 | IconWallpaper | MIT License |
sample-app/src/androidTest/java/com/atiurin/sampleapp/steps/UiElementsPageSteps.kt | sandrika1910 | 729,296,024 | false | {"Kotlin": 729807, "Java": 13828, "HTML": 2886, "Batchfile": 236, "Shell": 236} | package com.atiurin.sampleapp.steps
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.assertion.ViewAssertions
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.*
import androidx.test.espresso.matcher.ViewMatchers.isNotChecked
im... | 0 | Kotlin | 0 | 0 | a2a0606eceea530ab6811b814b946a8a94ebf817 | 1,753 | Testproject | Apache License 2.0 |
src/test/kotlin/com/spothero/employmentTest/controller/PriceControllerTest.kt | JenkinsMike | 447,331,203 | false | {"Kotlin": 40919, "Java": 138} | package com.spothero.employmentTest.controller
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Test
import org.junit.runner.RunWith
import org.mockito.junit.MockitoJUnitRunner
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
import org.springframework.boot.test.con... | 1 | Kotlin | 0 | 0 | 58424ed2f1d415c7145c7011b20b8dc2242994ae | 726 | Spothero | MIT License |
app/src/main/java/com/example/swapi/api/services/PeopleApi.kt | Bavon101 | 490,179,075 | false | null | package com.example.swapi.api.services
import com.example.swapi.api.models.People
import okhttp3.OkHttpClient
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
import retrofit2.http.GET
import retrofit2.http.Query
import java.util.concurrent.TimeUnit
const val BASE_URL = "https://us-centr... | 0 | Kotlin | 0 | 1 | d7f8ba8bff9dc8de8fbbeda4ca0480a5ba51d1c7 | 2,089 | swapi_android- | MIT License |
app/src/main/java/com/example/client_server_app/adapters/RecentConversationsAdapter.kt | alprshn | 686,412,897 | false | {"Kotlin": 82203} | package com.example.client_server_app.adapters
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.util.Base64
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.example.client_server_app.... | 0 | Kotlin | 0 | 1 | 08a5763e23beb9911919c93565dfe5c9f76b39f1 | 4,680 | Kotlin_Client_Server_App | MIT License |
src/commonMain/kotlin/com/harry1453/klaunchpad/impl/launchpads/minimk3/LaunchpadMiniMk3.kt | harry1453 | 246,051,071 | false | null | package com.harry1453.klaunchpad.impl.launchpads.minimk3
/**
* TODO Launchpad Mini MK3 Support
*/
public class LaunchpadMiniMk3
| 0 | Kotlin | 0 | 0 | 2caa063dcb784778720f463a6b58d40966cea89e | 131 | KLaunchpad | MIT License |
ComposeMVISample/app/src/main/java/com/hana/composemvisample/data/di/RepositoryModule.kt | DongChyeon | 585,783,153 | false | null | package com.hana.composemvisample.data.di
import com.hana.composemvisample.data.datasource.GithubDataSource
import com.hana.composemvisample.data.repository.GithubRepository
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ViewModelComponent
import dagger.h... | 0 | Kotlin | 1 | 1 | 74f849d86af673001960767dfb5bb7261dd46efc | 597 | Android-Samples | MIT License |
app/src/main/java/com/watch/noteapplication/feature_note/domain/use_case/AddNote.kt | ChandanJana | 784,058,990 | false | {"Kotlin": 43153} | package com.watch.noteapplication.feature_note.domain.use_case
import com.watch.noteapplication.feature_note.domain.model.InvalidNoteException
import com.watch.noteapplication.feature_note.domain.model.Note
import com.watch.noteapplication.feature_note.domain.repository.NoteRepository
class AddNote(
private val r... | 0 | Kotlin | 0 | 0 | ab6dba2c227079da66b1f3d99c7952cba530f1ca | 735 | Compose-NoteBook | MIT License |
UserCenter/src/main/java/com/kotlin/user/data/protocol/LoginReq.kt | xiao125 | 140,819,180 | false | {"Kotlin": 100467, "Java": 6793} | package com.kotlin.user.data.protocol
/**
* 登录请求体
*/
data class LoginReq(val mobile:String,val pwd:String,val pushId:String) | 0 | Kotlin | 0 | 0 | 8b8f75c853651f2952b3b9792e609d050ce5ab54 | 127 | KotlinDemo | Apache License 2.0 |
bpdm-gate/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/controller/AddressController.kt | eclipse-tractusx | 526,621,398 | false | null | /*******************************************************************************
* Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are ma... | 36 | Kotlin | 6 | 2 | c279eab5b76bd4db7778ae00af1787f222844129 | 4,023 | bpdm | Apache License 2.0 |
src/commonMain/kotlin/org/tix/config/data/raw/RawJiraFieldConfiguration.kt | ncipollo | 336,920,234 | false | {"Kotlin": 601503} | package org.tix.config.data.raw
import kotlinx.serialization.Contextual
import kotlinx.serialization.Serializable
import org.tix.serialize.dynamic.DynamicElement
@Serializable
data class RawJiraFieldConfiguration(
val default: Map<String, @Contextual DynamicElement> = mapOf(),
val epic: Map<String, @Contextua... | 8 | Kotlin | 0 | 3 | 02f87c827c1159af055f5afc5481afd45c013703 | 481 | tix-core | MIT License |
buildSrc/src/main/kotlin/App.kt | sanogueralorenzo | 115,441,256 | false | null | object App {
const val petproject = "com.sanogueralorenzo.namingishard"
const val sample = "com.sanogueralorenzo.sample"
}
| 3 | Kotlin | 309 | 1,599 | 9c27cce37376148d61394e0a4622521dc8805483 | 131 | Android-Kotlin-Clean-Architecture | Apache License 2.0 |
app/src/main/java/com/projectAnya/stunthink/presentation/component/selector/PortionSelector.kt | StuntedProject | 514,847,131 | false | {"Kotlin": 522096} | package com.projectAnya.stunthink.presentation.component.selector
import androidx.compose.animation.Crossfade
import androidx.compose.foundation.border
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.widthIn
import androidx.compo... | 0 | Kotlin | 0 | 1 | fb2cd6cb887908070962c8a4e05c87197c333d53 | 2,468 | Mobile | Freetype Project License |
domain/monster/core/src/commonMain/kotlin/br/alexandregpereira/hunter/domain/usecase/GetMonstersUseCase.kt | alexandregpereira | 347,857,709 | false | {"Kotlin": 1412071, "Swift": 754, "Shell": 139} | /*
* Copyright 2022 <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 in writi... | 4 | Kotlin | 5 | 85 | 5256ca9553e070f11a8cde5515afb74503b1a23c | 1,004 | Monster-Compendium | Apache License 2.0 |
amazon-chime-sdk/src/test/java/com/amazonaws/services/chime/sdk/meetings/internal/ingestion/EventTypeConvertersTests.kt | aws | 249,543,698 | false | null | package com.amazonaws.services.chime.sdk.meetings.internal.ingestion
import com.amazonaws.services.chime.sdk.meetings.analytics.EventAttributeName
import com.amazonaws.services.chime.sdk.meetings.utils.logger.Logger
import io.mockk.MockKAnnotations
import io.mockk.impl.annotations.MockK
import io.mockk.verify
import o... | 24 | Kotlin | 44 | 91 | 320a98419aa774a4b72d7951ffc47d303879db20 | 3,481 | amazon-chime-sdk-android | Apache License 2.0 |
support/src/main/java/com/landside/support/extensions/ImageLoadExtension.kt | landscapeside | 350,730,923 | false | null | package com.landside.support.extensions
import android.content.Context
import android.graphics.Bitmap
import android.graphics.drawable.Drawable
import android.widget.ImageView
import androidx.annotation.DrawableRes
import com.bumptech.glide.Glide
import com.bumptech.glide.Priority.HIGH
import com.bumptech.glide.load.D... | 0 | Kotlin | 0 | 0 | cf4ea14a78e9dc3e17fa2b42f8e951404822f8b9 | 5,246 | support | MIT License |
composeApp/src/commonMain/kotlin/search/presentation/SearchViewModel.kt | Ikutsu | 808,480,037 | false | {"Kotlin": 238395, "Swift": 608} | package io.ikutsu.osumusic.search.presentation
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import io.ikutsu.osumusic.core.data.getBeatmapBackgroundUrl
import io.ikutsu.osumusic.core.domain.DiffBeatmapState
import io.ikutsu.osumusic.core.domain.Music
import io.ikutsu.osumusic.player.pla... | 0 | Kotlin | 0 | 6 | 88825449bb089bcd31ea0df438ab5750422e05d8 | 3,221 | OsuMusic | MIT License |
examples/server-ktor/src/main/kotlin/HelloConfig.kt | rocketraman | 363,045,930 | false | {"Kotlin": 35639} | data class HelloConfig(
val response: String,
)
| 1 | Kotlin | 0 | 2 | eda5f277df4cb5c5f27489efcdcc96ad5e5131e3 | 50 | bootable | Apache License 2.0 |
app/src/main/kotlin/com/muedsa/agetv/model/age/AnimeDetailModel.kt | muedsa | 713,334,832 | false | {"Kotlin": 321497} | package com.muedsa.agetv.model.age
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class AnimeDetailModel(
@SerialName("id")
val id: Int,
@SerialName("name_other")
val nameOther: String,
@SerialName("company")
val company: String,
@Se... | 5 | Kotlin | 2 | 3 | 4ffd6435d30578575ce9479b55e97df6ca0ab590 | 2,071 | AGETV | MIT License |
09. Lazy (Bonus)/09.01 Missing setValue/solution.kts | evgeny-trushin | 136,894,138 | false | {"Kotlin": 15292, "Shell": 3369} | //error: missing 'setValue(Fixme.Home.Companion, KProperty<*>, Fixme.TimeOfOperation)'interface TimeOfOperation {
import kotlin.reflect.KProperty
interface TimeOfOperation {
fun getTime(): Int
}
enum class Home(var min: Int) : TimeOfOperation {
RELAX(59), CLEAN(58);
override fun getTime() = min
com... | 0 | Kotlin | 0 | 0 | 052845a963dccb788405386e0cef9db0f36bd110 | 635 | Kotlin-Script_CLI_Presentation_Trial-And-Error | MIT License |
instantsearch-compose/src/main/java/com/algolia/instantsearch/compose/filter/toggle/internal/FilterToggleStateImpl.kt | algolia | 55,971,521 | false | {"Kotlin": 689459} | package com.algolia.instantsearch.compose.filter.toggle.internal
import com.algolia.instantsearch.compose.filter.toggle.FilterToggleState
import com.algolia.instantsearch.compose.internal.trace
import com.algolia.instantsearch.compose.selectable.SelectableItemState
internal class FilterToggleStateImpl(
text: Stri... | 15 | Kotlin | 32 | 156 | cb068acebbe2cd6607a6bbeab18ddafa582dd10b | 588 | instantsearch-android | Apache License 2.0 |
app/src/main/java/com/theone/demo/data/model/bean/CollectBus.kt | Theoneee | 473,409,123 | false | {"Kotlin": 616409, "Java": 410498} | package com.theone.demo.data.model.bean
/**
* 作者 : hegaojian
* 时间 : 2020/3/4
* 描述 :
*/
class CollectBus(var id: Int, var collect: Boolean) | 0 | Kotlin | 4 | 6 | 66e7dd671635352c8039bc3bf47a715620347448 | 143 | QMUI-MVVM | Apache License 2.0 |
src/test/kotlin/clients/ActorClient.kt | frynet | 413,667,973 | false | {"Kotlin": 119539} | package clients
import com.frynet.theatre.data.actors.ActorCreate
import com.frynet.theatre.data.actors.ActorInfo
import org.springframework.cloud.openfeign.FeignClient
import org.springframework.web.bind.annotation.*
@FeignClient(
name = "actors",
url = "\${endpoint.url}"
)
@RequestMapping("/actors")
interf... | 0 | Kotlin | 0 | 0 | bb0bdfa37ed2b76e0c6a9badca128e4fcabd6bde | 777 | TheatreManager | MIT License |
server/src/main/kotlin/org/jetbrains/teamcity/sccache/SCCacheProjectFeatureProvider.kt | JetBrains | 305,432,581 | false | {"Kotlin": 28412, "Java": 8234} |
package org.jetbrains.teamcity.sccache
import jetbrains.buildServer.serverSide.InvalidProperty
import jetbrains.buildServer.serverSide.PropertiesProcessor
import jetbrains.buildServer.serverSide.oauth.OAuthConnectionDescriptor
import jetbrains.buildServer.serverSide.oauth.OAuthProvider
import jetbrains.buildServer.we... | 0 | Kotlin | 4 | 1 | 7c2f246990efc2a02111edb3147d5dffa06068ad | 1,700 | teamcity-sccache-plugin | Apache License 2.0 |
kotlin/src/main/kotlin/com/example/coroutineServer/web/controller/SomeProcessController.kt | retheviper | 499,837,316 | false | null | package com.example.coroutineServer.web.controller
import com.example.coroutineServer.domain.service.SomeProcessService
import com.example.coroutineServer.web.model.request.SomeProcessRequest
import com.example.coroutineServer.web.model.response.SomeProcessResponse
import org.springframework.web.bind.annotation.PostMa... | 0 | Kotlin | 0 | 2 | 10beb85fa8ae84a599c85e56a22888d5277342bc | 839 | AsyncServerExample | MIT License |
app/src/main/java/com/app/desafiodourado/feature/initial/data/InitialRepository.kt | maeceloacm1998 | 722,401,741 | false | {"Kotlin": 241880} | package com.app.desafiodourado.feature.initial.data
import com.app.desafiodourado.core.firebase.models.UserModel
interface InitialRepository {
suspend fun createUserInFirebase(user: UserModel): Result<Boolean>
suspend fun createChallengers(id: String): Result<Boolean>
suspend fun createMissions(id: String... | 0 | Kotlin | 0 | 0 | 436c024443452ebe87d073778ff6e0002666b40b | 340 | Desafio-Dourado | MIT License |
app/src/test/java/com/example/android/architecture/blueprints/todoapp/LiveDataTestUtil.kt | YChaeeun | 380,507,092 | false | null | package com.example.android.architecture.blueprints.todoapp
import androidx.annotation.VisibleForTesting
import androidx.lifecycle.LiveData
import androidx.lifecycle.Observer
import java.util.concurrent.CountDownLatch
import java.util.concurrent.TimeUnit
import java.util.concurrent.TimeoutException
// https://medium... | 0 | Kotlin | 0 | 0 | 7e35d3bf57d5f1fb5ed7520fce8a7dcaeaba399d | 1,226 | android-testing-codelab | Apache License 2.0 |
app/src/main/java/dev/rdnt/m8face/utils/VerticalComplication.kt | rdnt | 585,996,555 | false | null | package dev.rdnt.m8face.utils
import android.content.Context
import android.graphics.*
import android.util.Log
import androidx.core.content.ContextCompat
import androidx.core.graphics.ColorUtils
import androidx.core.graphics.drawable.toBitmap
import androidx.wear.watchface.CanvasComplication
import androidx.wear.watch... | 8 | null | 1 | 9 | fc5629da88acb66a90af7224f2c5dfc93f22d665 | 9,178 | m8 | MIT License |
ExoPlayer_end/app/src/main/java/com/linkedin/exoplayer/MainActivity.kt | rootofmylife | 415,455,956 | false | null | package com.linkedin.exoplayer
import android.net.Uri
import android.os.Bundle
import android.support.annotation.RawRes
import android.support.v7.app.AppCompatActivity
import com.google.android.exoplayer2.*
import com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
import com.google.android.exoplayer2.sou... | 0 | Kotlin | 0 | 0 | 7470d9baf6b9874d877a06a6d1e7dfd6ba454528 | 3,327 | android-audio-video | MIT License |
app/src/main/java/com/ezzy/adanianpixabay/data/repository/OfflineImageRepositoryImpl.kt | EzekielWachira | 437,988,176 | false | {"Kotlin": 54259} | package com.ezzy.adanianpixabay.data.repository
import com.ezzy.adanianpixabay.common.Resource
import com.ezzy.adanianpixabay.data.local.dao.ImageDao
import com.ezzy.adanianpixabay.domain.model.Image
import com.ezzy.adanianpixabay.domain.repository.OfflineImageRepository
import kotlinx.coroutines.flow.Flow
import java... | 0 | Kotlin | 0 | 1 | d9fe762a6a2cc293fbf234befd22d2df8f12335a | 1,001 | Adalabs-Pixabay | MIT License |
app/src/main/java/com/devspush/atom/components/card/fragment/StyledCardFragment.kt | devspush | 253,251,162 | false | null | package com.devspush.atom.components.card.fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.LinearLayoutManager
import com.devspush.atom.R
impo... | 0 | Kotlin | 0 | 0 | 5d3baf4bb9aa31b9db4b31e334d3074af408d6a3 | 2,225 | atom-android-single-page | MIT License |
services/csm.cloud.project.project/src/test/kotlin/com/bosch/pt/iot/smartsite/project/importer/boundary/ImportTaskIntegrationTest.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: Robert Bosch Power Tools GmbH, 2018 - 2023
*
* ************************************************************************
*/
package com.bosch.pt.iot.smartsite.project.importer.boundary
import com.bosch.pt.csm.clou... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 15,090 | bosch-pt-refinemysite-backend | Apache License 2.0 |
app/src/main/java/com/code/flower/GardenFragment.kt | cydear | 198,600,612 | false | null | package com.code.flower
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
/**
* [类功能说明]
*
* @author lary.huang
* @version v 1.4.8 2019-07-30 XLXZ Exp $
* @email <EMAIL>
*/
class GardenFragment : Fragment() {
... | 0 | Kotlin | 0 | 0 | 69ceac77dd7175915d892f07dbbfea66e76abf15 | 542 | android-flower | Apache License 2.0 |
app/src/main/java/com/isanz/inmomarket/ui/chat/ChatFragment.kt | Zenin0 | 777,260,226 | false | {"Kotlin": 143186} | package com.isanz.inmomarket.ui.chat
import android.os.Build
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.RequiresApi
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModelProvider
import androidx.lifecy... | 0 | Kotlin | 0 | 1 | 02689b6d62a56d2e509044b6226870bdffe132fc | 3,421 | InmoMarket | Creative Commons Zero v1.0 Universal |
backend/src/main/kotlin/de/predic8/openapicatalogbackend/repository/document/ReportRepository.kt | membrane | 845,459,914 | false | {"Kotlin": 49328, "Vue": 24276, "TypeScript": 13326, "JavaScript": 2766, "HTML": 982, "SCSS": 777} | package de.predic8.openapicatalogbackend.repository.document
import de.predic8.openapicatalogbackend.model.entity.document.Report
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.stereotype.Repository
import java.util.*
@Repository
interface ReportRepository : JpaRepository<Repo... | 0 | Kotlin | 0 | 1 | 223dd88fdf178104b32c74c8b322fa05b4706aa4 | 330 | openapi-catalog | Apache License 2.0 |
app/src/main/java/dev/jahidhasanco/fliq/ui/fragments/ProfileFragment.kt | JahidHasanCO | 405,033,258 | false | {"Kotlin": 72063} | package dev.jahidhasanco.fliq.ui.fragments
import android.content.Intent
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import dev.jahidhasanco.fliq.R
import dev.jahidhasanco.fliq.ui.activity.LoginActivity
class ... | 2 | Kotlin | 4 | 19 | e08959114ace3d85c8454cfc56e086a23b35857f | 718 | Fliq.-The-Movie-DB | MIT License |
app/src/main/java/dev/abbasian/applyhistory/ui/company/CompanyViewState.kt | MahdiAbbasian | 776,492,945 | false | {"Kotlin": 74395} | package dev.abbasian.applyhistory.ui.company
import dev.abbasian.applyhistory.domain.model.CompanyEntity
sealed class CompanyViewState {
object Loading : CompanyViewState()
data class Success(val companies: List<CompanyEntity>) : CompanyViewState()
data class Error(val message: String) : CompanyViewState(... | 0 | Kotlin | 0 | 2 | 14015250821265ae0e39460251acf8f257629040 | 324 | ApplyHistory | MIT License |
jipp-core/src/main/java/com/hp/jipp/model/PrinterIccProfiles.kt | billmcchesney1 | 331,642,692 | true | {"Kotlin": 717942, "Java": 348565, "Python": 51275, "Shell": 1417} | // Copyright 2018 HP Development Company, L.P.
// SPDX-License-Identifier: MIT
//
// DO NOT MODIFY. Code is auto-generated by genTypes.py. Content taken from registry at
// https://www.iana.org/assignments/ipp-registrations/ipp-registrations.xml, updated on 2020-06-10
@file:Suppress("MaxLineLength", "WildcardImport")
... | 21 | Kotlin | 0 | 0 | 720731fefaf95a6aceceb20ec8034873fb2736a7 | 1,904 | jipp | MIT License |
src/main/kotlin/no/torvundconsulting/sms/model/Sms.kt | frodeto | 701,642,562 | false | {"Kotlin": 20995} | package no.torvundconsulting.sms.model
import java.time.Instant
import java.time.LocalDateTime
import java.time.ZoneId
@Suppress("unused", "PropertyName", "MemberVisibilityCanBePrivate")
class Sms(
val date: LocalDateTime? = null,
val protocol: String? = null,
val address: String? = null,
val type: St... | 0 | Kotlin | 0 | 0 | 3d57d0028daf26cfb86db89ddd6ca6407c98dba4 | 1,898 | sms-backup-processor | MIT License |
cupertino-icons-extended/src/commonMain/kotlin/io/github/alexzhirkevich/cupertino/icons/filled/SquareOnSquare.kt | alexzhirkevich | 636,411,288 | false | {"Kotlin": 5215549, "Ruby": 2329, "Swift": 2101, "HTML": 2071, "Shell": 868} | /*
* Copyright (c) 2023-2024. Compose Cupertino project and open source contributors.
*
* 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... | 18 | Kotlin | 31 | 848 | 54bfbb58f6b36248c5947de343567903298ee308 | 3,494 | compose-cupertino | Apache License 2.0 |
src/main/kotlin/me/aberrantfox/judgebot/extensions/UserExtensions.kt | the-programmers-hangout | 251,074,065 | false | null | package me.aberrantfox.judgebot.extensions
import me.jakejmattson.discordkt.api.extensions.jda.fullName
import net.dv8tion.jda.api.entities.User
fun User.verboseDescriptor() = "**${this.asMention} :: ${this.fullName()} :: ID :: ${this.id}**" | 0 | Kotlin | 0 | 1 | 3d70f5d4cb3dbf17bfcfad7bb9db21785a6ab343 | 243 | JudgeBot-old | MIT License |
annotation-processor/test-cases/1/output-expected/externalType/KT30280PrimitiveJsonCodec.kt | fluidsonic | 105,949,984 | false | null | package externalType
import codecProvider.CustomCodingContext
import codecProvider.KT30280Primitive
import io.fluidsonic.json.AbstractJsonCodec
import io.fluidsonic.json.JsonCodingType
import io.fluidsonic.json.JsonDecoder
import io.fluidsonic.json.JsonEncoder
import io.fluidsonic.json.readBooleanOrNull
import io.flui... | 9 | Kotlin | 4 | 26 | 2c43bd1929fc1f1daa73eee67c1cd0b436f95c98 | 1,197 | fluid-json | Apache License 2.0 |
onboarding/src/main/java/com/proxer/easydo/onboarding/ui/screen/Onboarding.kt | binkos | 405,064,940 | false | {"Kotlin": 41409} | package com.proxer.easydo.onboarding.ui.screen
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.s... | 0 | Kotlin | 0 | 0 | 2508089e15254123f470cd23a98c91b3509a10bc | 4,915 | easy-do | Apache License 2.0 |
src/main/kotlin/me/shedaniel/architect/plugin/transformers/GenerateFakeFabricModJson.kt | Paspartout | 338,587,068 | true | {"Kotlin": 55605, "Java": 3853} | package me.shedaniel.architect.plugin.transformers
import me.shedaniel.architect.plugin.Transformer
import org.gradle.api.Project
import org.zeroturnaround.zip.ByteSource
import org.zeroturnaround.zip.ZipUtil
import java.nio.file.Files
import java.nio.file.Path
import java.util.*
object GenerateFakeFabricModJson : Tr... | 0 | null | 0 | 0 | 21d2a47623ea3670eed68c055172125c6d9af8df | 913 | architectury-plugin | MIT License |
feature/profile/src/main/kotlin/team/duckie/app/android/feature/profile/screen/edit/ProfileEditScreen.kt | duckie-team | 503,869,663 | false | null | /*
* Designed and developed by Duckie Team, 2022
*
* Licensed under the MIT.
* Please see full license: https://github.com/duckie-team/duckie-android/blob/develop/LICENSE
*/
@file:OptIn(ExperimentalComposeUiApi::class)
package team.duckie.app.android.feature.profile.screen.edit
import androidx.activity.compose.... | 19 | Kotlin | 2 | 34 | 4fa7edae1fd24811ec278b0e24236c247f98dff0 | 7,510 | duckie-android | MIT License |
src/main/kotlin/org/jetbrains/research/testspark/bundles/plugin/PluginDefaultsBundle.kt | JetBrains-Research | 563,889,235 | false | {"Kotlin": 733171, "Java": 5347, "Shell": 1563} | package org.jetbrains.research.testspark.bundles.plugin
import com.intellij.DynamicBundle
import org.jetbrains.annotations.Nls
import org.jetbrains.annotations.PropertyKey
/**
* Loads the `resources` directory.
*/
object PluginDefaultsBundle : DynamicBundle(PluginBundlePaths.defaults) {
/**
* Gets the req... | 66 | Kotlin | 19 | 51 | e1553b15f05f8e125f17aba1e062e4f3ad2c00e3 | 470 | TestSpark | MIT License |
generator/graphql-kotlin-federation/src/test/kotlin/com/expediagroup/graphql/generator/federation/directives/contact/ContactDirectiveTest.kt | ExpediaGroup | 148,706,161 | false | null | /*
* Copyright 2024 Expedia, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 68 | null | 345 | 1,739 | d3ad96077fc6d02471f996ef34c67066145acb15 | 4,051 | graphql-kotlin | Apache License 2.0 |
packages/test-sync/src/commonMain/kotlin/io/realm/kotlin/test/mongodb/util/KtorTestMethods.kt | realm | 235,075,339 | false | {"Kotlin": 4524507, "C++": 124405, "SWIG": 25944, "Shell": 23822, "C": 5126, "CMake": 2765, "Ruby": 1586, "Java": 1470, "Dockerfile": 1090} | /*
* Copyright 2022 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... | 232 | Kotlin | 52 | 868 | 97f288c4d00e6c8f0fb28e1a595bdc5c08ecdaec | 944 | realm-kotlin | Apache License 2.0 |
app/src/main/java/com/jodi/cophat/ui/base/view/ThermometerListener.kt | cophat | 241,760,374 | false | null | package com.jodi.cophat.ui.base.view
import com.jodi.cophat.data.local.entity.AnswerType
interface ThermometerListener {
fun onAnswerChanged(answerType: AnswerType)
} | 4 | Kotlin | 0 | 0 | 2272aca57494ef39a09d948549eb9fead5c3f68c | 173 | cophat | Apache License 2.0 |
app/src/main/java/com/github/jing332/tts_server_android/help/plugin/ui/Item.kt | jing332 | 536,800,727 | false | null | package com.github.jing332.tts_server_android.help.plugin.ui
data class Item(val name: String, val value: Any) | 4 | Kotlin | 60 | 581 | ab8d7140295ec359a4d0aea94f403a271f47c037 | 111 | tts-server-android | MIT License |
LearnKotlin/app/src/main/java/sg/edu/nus/learnkotlin/ActivityBreak.kt | aficat | 207,585,289 | false | null | package sg.edu.nus.learnkotlin
import android.content.Intent
import android.graphics.Color
import android.graphics.Typeface
import android.os.Bundle
import android.support.design.widget.BottomNavigationView
import android.support.v7.app.AppCompatActivity
import android.text.Spannable
import android.text.SpannableStrin... | 0 | Kotlin | 0 | 0 | ccc06fecb092de4e94fbed09d8438db1524d905f | 6,983 | LearnKotlin | MIT License |
example/src/commonMain/kotlin/main.kt | typfel | 772,761,428 | false | {"Rust": 12808, "Kotlin": 1317} | import crossterm.ClearType
import crossterm.Terminal
import crossterm.Event
import crossterm.KeyCode
fun main(args: Array<String>) {
val terminal = Terminal()
terminal.execute(
listOf(
crossterm.Command.EnableMouseCapture,
crossterm.Command.EnterAlternateScreen
)
)
... | 0 | Rust | 0 | 0 | 9955afc5d5e7f5e3f5a79ba87a924b8a04485218 | 964 | crossterm-kmp | MIT License |
app/src/main/java/org/sorz/lab/tinykeepass/autofill/TinyAutofillService.kt | ahxxm | 307,118,518 | true | {"Java Properties": 2, "Gradle": 3, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 1, "Ignore List": 2, "XML": 45, "Proguard": 1, "Java": 16, "Kotlin": 11} | package org.sorz.lab.tinykeepass.autofill
import android.os.Build
import android.os.CancellationSignal
import android.service.autofill.AutofillService
import android.service.autofill.FillCallback
import android.service.autofill.FillRequest
import android.service.autofill.FillResponse
import android.service.autofill.Sa... | 0 | null | 0 | 0 | da4ebc4959721984fc4f8514a2e34e8d11da5f9d | 2,168 | TinyKeePass | Apache License 2.0 |
src/main/kotlin/ru/qiwi/devops/mission/control/service/ingress/IngressEventsService.kt | qiwi | 329,911,226 | false | null | package ru.qiwi.devops.mission.control.service.ingress
import reactor.core.publisher.Flux
import ru.qiwi.devops.mission.control.model.event.Event
import ru.qiwi.devops.mission.control.model.ingress.IngressInfo
interface IngressEventsService {
fun getIngressEvents(): Flux<Event<IngressInfo>>
} | 1 | Kotlin | 1 | 1 | a5b4a1dc716841bbf0439fa309e3a2b85bbeb1d3 | 299 | k8s-mission-control | MIT License |
app/src/main/java/sk/kasper/space/utils/ContextExtensions.kt | ValterKasper | 253,570,488 | false | null | package sk.kasper.space.utils
import android.content.Context
import java.io.InputStream
fun Context.readFileFromAssets(fileName: String): String {
val inputStream: InputStream = assets.open(fileName)
val size: Int = inputStream.available()
val buffer = ByteArray(size)
inputStream.read(buffer)
inpu... | 1 | Kotlin | 14 | 131 | 2fadfa5596b255508d0bf8ece61e00a6c0f0aef2 | 379 | space-app | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.