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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
application/feature/characters/detail/databinding/src/main/java/com/stepango/blockme/feature/characters/detail/impl/presentation/ICharacterDetailViewModel.kt | formatools | 289,781,857 | false | null | package com.stepango.blockme.feature.characters.detail.impl.presentation
import androidx.lifecycle.LiveData
import com.stepango.blockme.feature.characters.core.api.domain.model.ICharacter
interface ICharacterDetailViewModel {
val data: LiveData<ICharacter>
val state: LiveData<ICharacterDetailViewState>
... | 26 | Kotlin | 8 | 170 | ab6d34281de6eb896512aa16b51a0e817dbae001 | 674 | forma | Apache License 2.0 |
SkeletonMVVM/domain/src/test/java/io/github/brunogabriel/domain/usecases/FetchPhotoUseCasesTest.kt | brunogabriel | 231,361,296 | false | null | package io.github.brunogabriel.domain.usecases
import com.nhaarman.mockitokotlin2.any
import com.nhaarman.mockitokotlin2.doReturn
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.whenever
import io.github.brunogabriel.domain.entities.Photo
import io.github.brunogabriel.domain.repository.Photo... | 0 | Kotlin | 0 | 2 | 35f644e487d9c1c430cd2c919d03f0f3cdd99df9 | 1,251 | android-skeleton-mvvm | MIT License |
SkeletonMVVM/domain/src/test/java/io/github/brunogabriel/domain/usecases/FetchPhotoUseCasesTest.kt | brunogabriel | 231,361,296 | false | null | package io.github.brunogabriel.domain.usecases
import com.nhaarman.mockitokotlin2.any
import com.nhaarman.mockitokotlin2.doReturn
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.whenever
import io.github.brunogabriel.domain.entities.Photo
import io.github.brunogabriel.domain.repository.Photo... | 0 | Kotlin | 0 | 2 | 35f644e487d9c1c430cd2c919d03f0f3cdd99df9 | 1,251 | android-skeleton-mvvm | MIT License |
app/src/main/java/com/ys/nearbypaint/utiles/NearbyPaintLog.kt | bokonon | 161,996,269 | false | null | package com.ys.nearbypaint.utiles
import android.util.Log
import com.ys.nearbypaint.BuildConfig
class NearbyPaintLog {
companion object {
private const val PRE_FIX = "NP "
fun d(tag: String, message: String) {
if (BuildConfig.DEBUG) {
Log.d(PRE_FIX + tag, message)
... | 0 | Kotlin | 0 | 0 | 656b73653fca5e1dadd870a6526087e43402570c | 534 | NearbyPaint | Apache License 2.0 |
src/main/kotlin/postus/models/youtube/YoutubeRefreshResponse.kt | Sparklinefyi | 803,040,488 | false | {"Kotlin": 146272, "Shell": 2903, "Dockerfile": 72, "Procfile": 55} | package postus.models.youtube
import kotlinx.serialization.Serializable
@Serializable
data class YoutubeRefreshResponse(
val access_token: String,
val expires_in: Int,
val id_token: String?,
val scope: String,
val token_type: String
)
| 0 | Kotlin | 0 | 0 | 05b6122fca0d70cffa9be44c09159de312ebbfbe | 257 | PostUs-Server | MIT License |
detekt-cli/src/test/kotlin/io/gitlab/arturbosch/detekt/cli/runners/ConfigExporterSpec.kt | detekt | 71,729,669 | false | null | package io.gitlab.arturbosch.detekt.cli.runners
import io.github.detekt.test.utils.NullPrintStream
import io.github.detekt.test.utils.createTempFileForTest
import io.gitlab.arturbosch.detekt.cli.parseArguments
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import java.nio.file.File... | 171 | null | 707 | 5,129 | 369d67390b6512ae01763e1fd71437d8a0f7b24a | 719 | detekt | Apache License 2.0 |
app/src/main/java/com/szymonstasik/kalkulatorsredniejwazonej/menu/MenuViewModel.kt | DeNatur | 266,577,972 | false | null | package com.szymonstasik.kalkulatorsredniejwazonej.menu
import android.app.Application
import android.util.Log
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.szymonstasik.kalkulatorsredniejwazonej.da... | 0 | Kotlin | 0 | 0 | 5e4fee0a5a2f363f4173e68ed1e0d4adcdf4a7fe | 2,611 | Weighted_Average_Calculator_Mobile_App | Apache License 2.0 |
data/src/main/java/com/doctoror/splittor/data/numberformat/NumberFormatDataModuleProvider.kt | Doctoror | 639,914,602 | false | null | package com.doctoror.splittor.data.numberformat
import com.doctoror.splittor.domain.numberformat.FormatAmountWithCurrencyUseCase
import org.koin.dsl.module
import java.util.Locale
fun provideNumberFormatDataModule() = module {
factory<FormatAmountWithCurrencyUseCase> {
FormatAmountWithCurrencyUseCaseImpl... | 0 | Kotlin | 0 | 1 | 4d2e88ecc753210cc6e98b7b2118464308160aba | 350 | Android-Architecture-Demos | Apache License 2.0 |
lib/core/src/main/java/com/zuko/billingz/core/misc/CleanUpz.kt | rjsuzuki | 342,498,037 | false | null | /*
* Copyright 2021 rjsuzuki
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writ... | 3 | Kotlin | 1 | 2 | 0c1fbf2b9db73f8b85078bbe76bdf5602539d76f | 884 | billingz | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/approvedpremisesapi/service/cas1/Cas1ApplicationStatusService.kt | ministryofjustice | 515,276,548 | false | {"Kotlin": 8393388, "Shell": 15748, "Dockerfile": 1667, "Mustache": 383} | package uk.gov.justice.digital.hmpps.approvedpremisesapi.service.cas1
import org.springframework.stereotype.Service
import uk.gov.justice.digital.hmpps.approvedpremisesapi.jpa.entity.ApplicationRepository
import uk.gov.justice.digital.hmpps.approvedpremisesapi.jpa.entity.ApprovedPremisesApplicationEntity
import uk.gov... | 21 | Kotlin | 2 | 5 | 5b02281acd56772dc5d587f8cd4678929a191ac0 | 1,188 | hmpps-approved-premises-api | MIT License |
src/main/kotlin/com/hrappv/ui/feature/MainActivity.kt | m37moud | 601,815,217 | false | null | package com.hrappv.ui.feature
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Surface
import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
impo... | 0 | Kotlin | 0 | 0 | 37e0e8268348cfdceb3e5d0c726c7f4a88635615 | 8,791 | HRSystem | Apache License 2.0 |
gi/src/commonMain/kotlin/org/anime_game_servers/multi_proto/gi/data/item/widget/one_of_gather_point_detector/OneOfGatherPointDetectorDataNotify.kt | Anime-Game-Servers | 642,871,918 | false | {"Kotlin": 1651536} | package org.anime_game_servers.multi_proto.gi.data.item.widget.one_of_gather_point_detector
import org.anime_game_servers.core.base.Version.GI_1_1_0
import org.anime_game_servers.core.base.annotations.AddedIn
import org.anime_game_servers.core.base.annotations.proto.AltName
import org.anime_game_servers.core.base.anno... | 0 | Kotlin | 2 | 6 | 7639afe4f546aa5bbd9b4afc9c06c17f9547c588 | 777 | anime-game-multi-proto | MIT License |
src/main/kotlin/com/pokerplayer/util/HandAnalyzer.kt | Mokane3562 | 123,499,809 | false | null | package com.pokerplayer.util
import com.pokerplayer.model.Card
import com.pokerplayer.model.Hand
import com.pokerplayer.model.Rank
import java.lang.IllegalArgumentException
object HandAnalyzer {
fun isStraight(hand: Hand): Boolean {
val sortedCards = hand.list.sortedBy { it.rank }
if (getDistance(... | 4 | Kotlin | 2 | 2 | b31b57bdee968d76480a40f67e2a8253aa47c14e | 2,206 | PokerBot-kt-Gradle | Apache License 2.0 |
src/main/kotlin/com/dzirbel/kotify/db/model/Track.kt | dzirbel | 211,595,180 | false | null | package com.dzirbel.kotify.db.model
import com.dzirbel.kotify.db.DatabaseRepository
import com.dzirbel.kotify.db.ReadWriteCachedProperty
import com.dzirbel.kotify.db.SavableSpotifyEntity
import com.dzirbel.kotify.db.SavedDatabaseRepository
import com.dzirbel.kotify.db.SavedEntityTable
import com.dzirbel.kotify.db.Spot... | 0 | Kotlin | 0 | 5 | db92754fc86f86dc5836ff7cb24e7f987501560c | 4,690 | kotify | MIT License |
app/src/main/java/io/github/kdesp73/petadoption/ui/components/MyCard.kt | KDesp73 | 776,598,529 | false | {"Kotlin": 412576, "Shell": 1165} | package io.github.kdesp73.petadoption.ui.components
import androidx.compose.foundation.BorderStroke
import androidx.compose.material3.CardColors
import androidx.compose.material3.CardDefaults
import androidx.compose.material3.CardElevation
import androidx.compose.material3.MaterialTheme
import androidx.compose.materia... | 0 | Kotlin | 0 | 0 | 768a32b99bae1639b5f50cb3ad6e07713505a108 | 1,234 | PawrfectMatch | MIT License |
src/test/kotlin/SimpleTestCases.kt | h0tk3y | 84,680,038 | false | {"Kotlin": 121497, "C": 6067} | import org.junit.Assert
import org.junit.runner.RunWith
import org.junit.runners.Parameterized
val simpleTestCases = mutableListOf<TestCase>()
fun TestCase.registerSimple() = also { simpleTestCases.add(it) }
fun Iterable<TestCase>.registerSimple() = apply { forEach { simpleTestCases.add(it) } }
@RunWith(Parameterized... | 0 | Kotlin | 3 | 8 | 3ce171ab6870c44c93233dbca5ccffebc631d3c4 | 2,537 | compilers-course | Apache License 2.0 |
app/src/test/java/org/organics/types/time/OnceTriggerLogic.kt | raydenvoldeskine | 382,943,468 | false | null | package org.organics.types.time
import org.organics.types.Duration
class OnceTriggerLogic(val time: TimeProvider, val duration: Duration) {
var triggered: Boolean = false
var token: TimeToken? = null
fun trigger() {
token = time.invokeOnceAfter(duration) {
triggered = true
}
... | 0 | Kotlin | 0 | 0 | 2b8dc001c9cf963240538c8fe7dc4ec1a23d508e | 392 | flat-time-app | MIT License |
api-monitor-client/src/main/java/com/don/api_monitor_client/PluginInterceptor.kt | donchakkappan | 729,605,619 | false | {"Kotlin": 123235} | /*
* Copyright [2023] [<NAME> <EMAIL>]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | 0 | Kotlin | 0 | 1 | b6562d6fe68d4ccf70be75b0688041eee8dbe9d3 | 3,459 | android-api-testing-plugin | Apache License 2.0 |
src/main/kotlin/com/thelastpickle/tlpstress/profiles/keyvalue/KeyValue.kt | phanirajl | 144,058,099 | true | {"Kotlin": 54340, "Shell": 704} | package com.thelastpickle.tlpstress.profiles.keyvalue
import com.datastax.driver.core.PreparedStatement
import com.datastax.driver.core.Session
import com.thelastpickle.tlpstress.StressContext
import com.thelastpickle.tlpstress.generators.DataGenerator
import com.thelastpickle.tlpstress.generators.Field
import com.the... | 0 | Kotlin | 0 | 0 | 40cb2d28fdee18a06a6c38a81f121d9b83a9e004 | 2,530 | tlp-stress | Apache License 2.0 |
customer-web/src/main/kotlin/br/com/feign/example/customer/web/CustomerApplication.kt | ricardofpu | 126,609,140 | false | null | package br.com.feign.example.customer.web
import br.com.feign.example.customer.repository.config.RepositoryConfig
import org.apache.logging.log4j.LogManager
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.EnableAutoConfiguration
import org.springframework.boot.autoconfig... | 0 | Kotlin | 0 | 0 | 686a9c316f236aa831cef511bb577e93f5bcf0e2 | 1,766 | feign-integration-example | Apache License 2.0 |
app/src/main/java/com/reysand/files/ui/util/ContextWrapper.kt | reysand | 735,609,226 | false | {"Kotlin": 75158} | /*
* Copyright 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 in wr... | 1 | Kotlin | 0 | 0 | 217b9bc79182d02d53d1e5254f5882b06ea7e3b7 | 941 | test | Apache License 2.0 |
feeder-web/src/test/kotlin/ru/timmson/feeder/bot/subscriber/BotLoggerShould.kt | timmson | 603,205,306 | false | {"Kotlin": 80325, "HTML": 67355, "Dockerfile": 376} | package ru.timmson.feeder.bot.subscriber
import com.pengrad.telegrambot.model.Chat
import com.pengrad.telegrambot.model.Message
import com.pengrad.telegrambot.model.Update
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.mockito.Mock... | 0 | Kotlin | 0 | 0 | e4e9071a7ee05ce846b65732d0f60b2f9435ba85 | 1,147 | feeder | MIT License |
csense-javafx/src/main/kotlin/csense/javafx/styling/Region.kt | csense-oss | 158,028,223 | false | null | @file:Suppress("NOTHING_TO_INLINE")
package csense.javafx.styling
import csense.javafx.viewdsl.*
import csense.kotlin.*
import csense.kotlin.annotations.threading.*
import javafx.geometry.*
import javafx.scene.layout.*
/**
*
* @receiver Region
* @param padding Number
*/
@InUi
fun Region.setPadding(padding: Numbe... | 0 | Kotlin | 0 | 0 | 9e2d33647452dafde11e9c9f60f27271d7733a3d | 2,493 | csense-javafx | MIT License |
ui/src/main/kotlin/tv/dotstart/beacon/ui/repository/RepositoryModule.kt | dotStart | 59,450,805 | false | {"Kotlin": 304955, "Less": 8602} | /*
* Copyright 2020 <NAME> <<EMAIL>>
* and other copyright owners as documented in the project's IP log.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lic... | 7 | Kotlin | 4 | 35 | bfa429062a852010842923268535a8d0f133e683 | 1,486 | Beacon | Apache License 2.0 |
nebulosa-skycatalog/src/main/kotlin/nebulosa/skycatalog/SkyObjectType.kt | tiagohm | 568,578,345 | false | {"Kotlin": 2578484, "TypeScript": 403673, "HTML": 208928, "JavaScript": 48941, "SCSS": 11404, "Python": 2817, "Makefile": 313} | package nebulosa.skycatalog
// https://vizier.cds.unistra.fr/cgi-bin/OType
enum class SkyObjectType(
val description: String,
val classification: ClassificationType,
vararg val codes: String,
) {
ACTIVE_GALAXY_NUCLEUS("Active Galaxy Nucleus", ClassificationType.GALAXY, "AGN", "AG?"),
ALPHA2_CVN_VA... | 3 | Kotlin | 2 | 4 | 98d2fea4bc5d953350409d08823d642dbb95a199 | 13,361 | nebulosa | MIT License |
remote/src/main/kotlin/com/tailoredapps/androidapptemplate/remote/mapper/ExampleMapper.kt | MaxGierlachowski | 414,183,550 | true | {"Kotlin": 50181} | package com.tailoredapps.androidapptemplate.remote.mapper
import com.tailoredapps.androidapptemplate.core.model.Example
import com.tailoredapps.androidapptemplate.remote.dtos.ExampleDto
internal fun ExampleDto.toObject(): Example {
return Example(
exampleField = exampleField
)
}
internal fun Example.... | 0 | Kotlin | 0 | 0 | aa0fecc2bf51e11eacbd99e94b74fca9d41d87ff | 408 | AndroidAppTemplate | Apache License 2.0 |
FirstLineCodeForAndroid/Chapter3/ActivityTest/app/src/main/java/com/rxf113/activitytest/StandardFunction.kt | rxf113 | 397,638,698 | false | null | package com.rxf113
/**
* 标准函数
*/
fun main() {
val list = listOf("Apple", "Bannana", "Orange", "Pear", "Grape")
// val builder = StringBuilder()
// builder.append("Start eating fruits.\n")
// for (fruit in list) {
// builder.append(fruit).append("\n")
// }
// builder.append("Ate all fruits."... | 0 | Kotlin | 0 | 1 | 5bac57a9979901c7e249083148f62ec5c172899a | 1,181 | FirstLineCodeForAndroid | Apache License 2.0 |
src/main/kotlin/org/veupathdb/lib/cli/diamond/commands/View.kt | VEuPathDB | 848,883,430 | false | {"Kotlin": 75383} | /*
* Copyright 2024 VEuPathDB
*
* 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 ... | 0 | Kotlin | 0 | 0 | 8aaf8994d8059cf80c17548d5e08958a77e9e7f5 | 1,079 | lib-jvm-diamondcli | Apache License 2.0 |
app/src/main/java/com/hellodiffa/cabaca/data/remote/response/genre/ResourceItem.kt | ddiffa | 272,392,303 | false | null | package com.hellodiffa.cabaca.data.remote.response.genre
import com.squareup.moshi.Json
data class ResourceItem(
@Json(name="icon_url")
val iconUrl: String,
@Json(name="count")
val count: Int,
@Json(name="id")
val id: Long,
@Json(name="title")
val title: String
) | 0 | Kotlin | 0 | 0 | b6d9e74cec991bfe2743fe02a357da660c0619ff | 277 | Cabaca | MIT License |
example/android/app/src/main/kotlin/org/sigrok/flutter_libserialport_example/MainActivity.kt | jpnurmi | 298,890,600 | false | null | package org.sigrok.flutter_libserialport_example
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
| 41 | C++ | 43 | 98 | e9c1fd940d26b2fc1674d5cb724027245c0ed094 | 145 | flutter_libserialport | MIT License |
mvvm/src/commonMain/kotlin/ViewModel.kt | InsanusMokrassar | 535,572,808 | false | null | package dev.inmo.navigation.mvvm
import dev.inmo.navigation.core.NavigationNode
//abstract class ViewModel<T> : NavigationNode<T>()
| 0 | Kotlin | 0 | 1 | 04da241170950a1bbba34904fe2bcecc7f8441e9 | 134 | navigation | MIT License |
src/test/kotlin/net/de1mos/dutchtreat/DutchTreatScenarioTest.kt | de1mos242 | 310,675,978 | false | null | package net.de1mos.dutchtreat
import com.justai.jaicf.BotEngine
import com.justai.jaicf.context.manager.InMemoryBotContextManager
import com.justai.jaicf.reactions.text
import com.justai.jaicf.test.BotTest
import io.ktor.util.*
import net.de1mos.dutchtreat.config.ActivatorsConfig
import net.de1mos.dutchtreat.config.Ap... | 6 | Kotlin | 0 | 0 | 878d5408e9aeee795ba6e7238d7f066df114977a | 17,190 | dutch-treat | Apache License 2.0 |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/LocationAlt.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.straight.bold
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
i... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 2,581 | icons | MIT License |
android/src/main/java/expo/modules/foregroundactions/ExpoForegroundActionsService.kt | Acetyld | 707,073,464 | false | {"Kotlin": 12159, "TypeScript": 11529, "Java": 9108, "Ruby": 4237, "JavaScript": 3735, "Swift": 3607, "Objective-C++": 2670, "Objective-C": 327, "C": 103} | package expo.modules.foregroundactions
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.net.Uri
import android.os.Build... | 0 | Kotlin | 0 | 4 | 01bb45eab9af08e5aee9745e5b466e7d9bc522ff | 5,018 | expo-foreground-actions | MIT License |
app/src/main/java/com/tricoder/androidtask/ui/SignInActivity.kt | tridevdeka | 475,801,927 | false | {"Kotlin": 38874} | package com.tricoder.androidtask.ui
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Toast
import com.tricoder.androidtask.R
import kotlinx.android.synthetic.main.activity... | 0 | Kotlin | 0 | 0 | 5e1cb2080566a8b649494aacb3d7820207210104 | 1,913 | Notes-App | MIT License |
app/src/main/java/com/keygenqt/firebasestack/ui/guest/components/ViewModelGuest.kt | keygenqt | 378,967,946 | false | null | /*
* Copyright 2021 Vitaliy Zarubin
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 0 | Kotlin | 0 | 4 | 64ba220a4864c57ea1857bff3b964428f462f678 | 5,431 | android-FirebaseStack | Apache License 2.0 |
src/main/kotlin/net/devoev/vanilla_cubed/item/armor/ModArmorItem.kt | Devoev | 473,273,645 | false | null | package net.devoev.vanilla_cubed.item.armor
import net.devoev.vanilla_cubed.item.behavior.*
import net.minecraft.block.BlockState
import net.minecraft.entity.Entity
import net.minecraft.entity.EquipmentSlot
import net.minecraft.entity.LivingEntity
import net.minecraft.item.ArmorItem
import net.minecraft.item.ItemStack... | 0 | Kotlin | 1 | 1 | de643af130ab191dcdecdf6b1a3aaa57135939a4 | 1,375 | vanilla-cubed | Creative Commons Zero v1.0 Universal |
app/src/main/java/org/mixitconf/view/ui/fragment/HomeFragment.kt | mixitconf | 123,981,169 | false | null | package org.mixitconf.view.ui.fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import org.mixitconf.R
class HomeFragment : Fragment() {
override fun onCreateView(inflater: LayoutInflater, container: ... | 1 | Kotlin | 1 | 2 | ba39fdb7f0767c112fff91e888a0dc86b3fa8c40 | 431 | mixit-android | Apache License 2.0 |
test-lab-plugin/src/main/kotlin/com/simple/gradle/testlab/internal/artifacts/JunitFetcher.kt | SimpleFinance | 172,124,705 | false | null | package com.simple.gradle.testlab.internal.artifacts
import com.google.cloud.storage.Storage
import com.google.cloud.storage.Storage.BlobListOption.prefix
import com.simple.gradle.testlab.internal.log
import java.io.File
internal class JunitFetcher(
storage: Storage,
bucketName: String,
destDir: File,
... | 4 | Kotlin | 1 | 8 | 93d39466419d8d17fbac32e668e90f5f069c6ac0 | 692 | gradle-test-lab-plugin | Apache License 2.0 |
data/src/main/java/com/ps/data/dto/BelongsToCollectionDto.kt | satyamgarg | 709,651,406 | false | {"Kotlin": 69827, "Java": 47915} | package com.ps.data.dto
import com.squareup.moshi.Json
data class BelongsToCollectionDto(
@Json(name = "id")
val id: Int,
@Json(name = "name")
val name: String,
@Json(name = "poster_path")
val posterPath: String?,
@Json(name = "backdrop_path")
val backdropPath: String?,
)
| 0 | Kotlin | 0 | 0 | c3f26dbb729ae89a51dc3f498ef1bb65692cddb0 | 311 | ps-movie-app | MIT License |
app/src/main/java/com/close/hook/ads/ui/fragment/app/AppsPagerFragment.kt | zjyzip | 727,763,936 | false | {"Kotlin": 198469, "Java": 117687, "AIDL": 400} | package com.close.hook.ads.ui.fragment.app
import android.os.Bundle
import android.util.TypedValue
import android.view.Gravity
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageButton
import android.widget.LinearLayout
import androidx.coordinatorlayout... | 0 | Kotlin | 42 | 358 | ea76134a62d0094ed2054eb95f8369202358f929 | 9,216 | AdClose | Apache License 2.0 |
app/src/main/java/com/ck/car2/viewmodels/HomeViewModel1.kt | ck227 | 545,379,350 | false | null | package com.ck.car2.viewmodels
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.viewModelScope
import com.ck.car2.R
import com.ck.car2.data.Result
import com.ck.car2.data.home.HomeRepository
import com.ck.car2.model.HotIcon
import com.ck.car2.utils.ErrorMessage
... | 0 | Kotlin | 0 | 0 | 0fdcb1d041a90eb8289e03dd3771bc34784b6a82 | 2,154 | CarByCompose | Apache License 2.0 |
src/main/kotlin/kotlinmudv2/action/actions/informational/CreateLookAtMobInRoomAction.kt | danielmunro | 515,227,142 | false | {"Kotlin": 214222, "Dockerfile": 179, "Makefile": 134} | package kotlinmudv2.action.actions.informational
import kotlinmudv2.action.Action
import kotlinmudv2.action.Command
import kotlinmudv2.action.Syntax
import kotlinmudv2.game.AffectType
import kotlinmudv2.mob.Mob
import kotlinmudv2.mob.alertDisposition
fun createLookAtMobInRoomAction(): Action {
return Action(
... | 0 | Kotlin | 0 | 0 | 28b5a049c54ad072ccade19c9ad2bb36b9cf8909 | 819 | kotlinmud-v2 | MIT License |
app/src/main/java/io/github/wulkanowy/ui/modules/login/studentselect/LoginStudentSelectView.kt | nixls | 229,817,246 | true | {"Kotlin": 813857, "Shell": 220} | package io.github.wulkanowy.ui.modules.login.studentselect
import io.github.wulkanowy.ui.base.BaseView
interface LoginStudentSelectView : BaseView {
fun initView()
fun updateData(data: List<LoginStudentSelectItem>)
fun openMainView()
fun showProgress(show: Boolean)
fun showContent(show: Boole... | 0 | Kotlin | 0 | 0 | 830471b9a055f318d61d40a9d010e2cf834bab6f | 451 | wulkanowy | Apache License 2.0 |
app/src/main/java/com/nikitosii/studyrealtorapp/core/source/db/entity/SearchPropertiesDataEntity.kt | meanswar | 702,052,508 | false | {"Kotlin": 729537, "HTML": 262565} | package com.nikitosii.studyrealtorapp.core.source.db.entity
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.nikitosii.studyrealtorapp.core.source.db.RealtorDataBase
import com.nikitosii.studyrealtorapp.core.source.local.model.request.SearchRequest
@Entity(tableName = RealtorDataBase.DATABASE_TA... | 0 | Kotlin | 0 | 0 | 585993079699b2c1bbca02ca8ba1648c08b7f429 | 711 | StudyRealtorApp | MIT License |
src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/core/init/RecipeCategoriesInit.kt | RealYusufIsmail-Mc-Mods | 585,447,214 | false | null | /*
* Copyright 2022 RealYusufIsmail.
*
*
* 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 ... | 5 | Kotlin | 0 | 1 | 489463ed9acf2c27c202bacd23070f660dc32fd1 | 2,644 | Armour-and-Tools-Mod | Apache License 2.0 |
scan-framework/src/main/java/com/getbouncer/scan/framework/image/ImageExtensions.kt | getbouncer | 185,235,235 | false | null | package com.getbouncer.scan.framework.image
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.graphics.ImageFormat
import android.graphics.Rect
import android.media.Image
import android.renderscript.RenderScript
import androidx.annotation.CheckResult
import com.getbouncer.scan.framewo... | 13 | null | 37 | 174 | bf490afe479ec5d2b4c3276e74350fa26e82daa8 | 2,365 | cardscan-android | MIT License |
app/src/main/java/io/github/gmathi/novellibrary/fragment/RecentlyUpdatedNovelsFragment.kt | gmathi | 92,864,511 | false | null | package io.github.gmathi.novellibrary.fragment
import android.annotation.SuppressLint
import android.os.Bundle
import android.view.*
import androidx.core.content.ContextCompat
import androidx.lifecycle.lifecycleScope
import androidx.recyclerview.widget.DividerItemDecoration
import io.github.gmathi.novellibrary.R
impor... | 20 | null | 22 | 96 | ff35dc386834db35e761c87089ef595957a6fa86 | 5,065 | NovelLibrary | Apache License 2.0 |
src/games/caveswing/CaveSwingParams.kt | SimonLucas | 164,656,451 | false | {"Text": 64, "Ignore List": 1, "Git Attributes": 1, "Markdown": 2, "Kotlin": 178, "Java": 28, "XML": 1, "JavaScript": 1, "HTML": 1, "Jupyter Notebook": 3, "Python": 1} | package games.caveswing
import math.Vector2d
import java.io.Serializable
import java.util.*
data class CaveSwingParams (
// duration
var maxTicks: Int = 1000,
// forces
var gravity: Vector2d = Vector2d(0.0, 0.4),
var hooke: Double = 0.02,
var lossFactor: Double = 0.999... | 0 | Kotlin | 2 | 1 | e247f1c0b2d7e7d571f7366060f4e66377402f01 | 933 | KotlinTest | MIT License |
app/src/main/java/com/kickstarter/ui/toolbars/ProjectToolbar.kt | kickstarter | 76,278,501 | false | null | package com.kickstarter.ui.toolbars
import android.content.Context
import android.util.AttributeSet
import com.kickstarter.R
import com.kickstarter.libs.BaseActivity
import com.kickstarter.ui.views.IconButton
class ProjectToolbar @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null,
de... | 7 | null | 989 | 5,751 | 73aff77701b232f4fd8f994b525ef2ef3dbac7fa | 658 | android-oss | Apache License 2.0 |
app/src/main/java/com/example/itexblog/ui/AddPostFragment.kt | darothub | 230,796,284 | false | null | package com.example.itexblog.ui
import android.app.Application
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.provider.MediaStore
import android.... | 1 | null | 1 | 1 | 9c06b39188600ad5853ef00d5e37d1c83472cbc1 | 16,358 | itexblog | MIT License |
common/src/main/kotlin/org/jetbrains/teamcity/vault/HashiCorpVaultResponse.kt | JetBrains | 98,586,359 | false | null | package org.jetbrains.teamcity.vault
import org.springframework.vault.support.VaultResponse
sealed class HashiCorpVaultResponse<out L : Throwable, out R : VaultResponse>
data class Error(val value: Exception) : HashiCorpVaultResponse<Exception, Nothing>(){
constructor(errorMessage: String): this(IllegalStateExce... | 29 | null | 18 | 28 | 5c174cbe404547b1bb980766ac45bea40c971006 | 439 | teamcity-hashicorp-vault-plugin | Apache License 2.0 |
kamp-common/src/main/kotlin/ch/leadrian/samp/kamp/common/neon/VehicleNeonMapObjectProvider.kt | Double-O-Seven | 142,487,686 | false | null | package ch.leadrian.samp.kamp.common.neon
import ch.leadrian.samp.kamp.core.api.entity.MapObjectBase
interface VehicleNeonMapObjectProvider {
fun createNeon(neonColor: NeonColor): MapObjectBase
} | 1 | null | 1 | 7 | af07b6048210ed6990e8b430b3a091dc6f64c6d9 | 203 | kamp | Apache License 2.0 |
app/src/main/java/com/digitaldream/toyibatskool/fragments/StudentFeesDetailsFragment.kt | Toochidennis | 706,639,845 | false | {"Java": 2011403, "Kotlin": 1130212} | package com.digitaldream.linkskool.fragments
import android.content.Context
import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import android.widget... | 1 | null | 1 | 1 | c193cd69a9fa95d0f54a3834eeede67f2ccbe242 | 14,860 | toyibat | MIT License |
sample/src/main/java/jp/co/cyberagent/android/gpuimage/sample/utils/AppUtil.kt | hotdl | 557,762,954 | true | {"Java Properties": 1, "Markdown": 5, "Gradle": 4, "Shell": 1, "Batchfile": 1, "Ignore List": 1, "Python": 1, "INI": 2, "Text": 2, "XML": 9, "CMake": 1, "C": 1, "Java": 96, "GLSL": 3, "Kotlin": 24} | package jp.co.cyberagent.android.gpuimage.sample.utils
import android.app.Application
object AppUtil {
lateinit var app: Application
} | 0 | Java | 0 | 0 | 8439bd2c15bf69fcd59c99e6b6098eabf313cded | 140 | android-gpuimage | Apache License 2.0 |
plugins/kotlin/compiler-reference-index/tests/testData/compilerIndex/functions/topLevel/extensionWithCustomFileName/Main.kt | ingokegel | 72,937,917 | false | null | @file:JvmName("CustomKotlinName")
fun Int.topLevelEx<caret>tension() {
}
fun topLevelFunction() {
} | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 103 | intellij-community | Apache License 2.0 |
app/src/androidTest/java/com/example/fastlanex/screenshot/ScreenshotTaker.kt | free5ty1e | 160,397,352 | false | {"Gemfile.lock": 1, "Gradle": 7, "Java Properties": 1, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Ruby": 2, "INI": 1, "Proguard": 1, "Kotlin": 20, "XML": 17, "Java": 1, "Markdown": 1} | package com.example.fastlanex.screenshot
import android.util.Log
import androidx.test.runner.screenshot.Screenshot
import java.io.IOException
fun takeScreenshot(parentFolderPath: String = "", screenShotName: String) {
Log.d(TAG, "Taking screenshot of '$screenShotName'")
val screenCapture = Screenshot.capture(... | 0 | Kotlin | 0 | 0 | 31fd97a4934f19cf4a21ab2b801f7e8ee3e84138 | 1,270 | fastlanex | MIT License |
app/src/main/java/br/com/alphaaquilae/halloffamebr/InformacoesActivity.kt | DanielIlaro | 138,787,845 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 19, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 9, "Proguard": 1, "Kotlin": 29, "XML": 115, "Java": 3, "HTML": 96, "CSS": 2, "JavaScript": 1} | package br.com.alphaaquilae.halloffamebr
import android.content.Intent
import android.database.Cursor
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.renderscript.Sampler
import android.view.View
import android.widget.*
import org.json.JSONArray
import org.json.JSONException
imp... | 1 | null | 1 | 1 | 01785a6fb869b891d74312458b90a2d4682d7f1b | 8,397 | HallofFameBR | MIT License |
kotlindemo/src/main/java/com/gm/kotlindemo/ItemDragAndSwipeUseActivity.kt | goutham106 | 104,326,282 | false | {"Java": 161240, "Kotlin": 123542} | package com.gm.kotlindemo
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.os.Bundle
import android.support.v4.content.ContextCompat
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.support.v7.widg... | 1 | null | 1 | 1 | 5c06bc674f3dd15d29613e2999ab72043f0fe74a | 5,464 | GmRecyclerviewAdapter | Apache License 2.0 |
compiler/testData/diagnostics/tests/multiplatform/widerVisibility_expectIsEffectivelyFinal_fakeOverride.kt | JetBrains | 3,432,266 | false | null | // FIR_IDENTICAL
// MODULE: m1-common
// FILE: common.kt
open class Base {
protected open fun foo() {}
}
expect class Foo : Base
// MODULE: m2-jvm()()(m1-common)
// FILE: jvm.kt
actual class Foo : Base() {
public override fun foo() {
}
}
| 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 253 | kotlin | Apache License 2.0 |
app/src/main/java/com/kieronquinn/app/taptap/components/base/BoundFragment.kt | KieronQuinn | 283,883,226 | false | null | package com.kieronquinn.app.taptap.components.base
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.view.updatePadding
import androidx.core.widget.NestedScrollView
import androidx.recyclerview.widget.Recycler... | 52 | Kotlin | 2 | 2,251 | abec5a3e139786beeea75e2fb5677013d0719bf1 | 3,302 | TapTap | Apache License 2.0 |
core/deserialization.common.jvm/src/org/jetbrains/kotlin/load/kotlin/PackageAndMetadataPartProvider.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.load.kotlin
import org.jetbrains.kotlin.serialization.deserialization.MetadataPa... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 416 | kotlin | Apache License 2.0 |
kotlin/src/test/kotlin/com/spoonacular/client/model/AnalyzeRecipeInstructions200ResponseParsedInstructionsInnerTest.kt | valpackett | 787,267,296 | true | {"Markdown": 1853, "PowerShell": 1, "Go": 164, "Shell": 20, "Perl": 310, "Haskell": 23, "C#": 321, "PHP": 310, "JavaScript": 306, "Ruby": 313, "TypeScript": 328, "Batchfile": 2, "Java": 486, "INI": 4, "Scala": 1, "Python": 315, "C++": 316, "CMake": 1, "Rust": 156, "Lua": 305, "Kotlin": 321} | /**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package com.spoonacular.client.model
import io.... | 0 | Java | 0 | 0 | b961f48275936e1daa8a8197d09b870b73da44df | 1,262 | spoonacular-api-clients | MIT License |
app/src/main/java/com/plcoding/calorytracker/MainActivity.kt | saxenasachin | 759,865,160 | false | {"Kotlin": 479758} | package com.plcoding.calorytracker
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Scaffold
import androidx.compose.ma... | 0 | Kotlin | 0 | 0 | e95d71a96076ef4339906982eb31c8d0009c5a92 | 7,561 | CaloryTracker | The Unlicense |
app/src/main/java/devsec/app/easykitchen/ui/main/adapter/ExpertRecipesAdapter.kt | KvRae | 558,504,485 | false | null | package devsec.app.easykitchen.ui.main.adapter
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import devsec.app.easykitchen.R
import devsec.app.easykitchen.data.models.Food
class ExpertRecipesAdapter(private val expertRecipesL... | 0 | Kotlin | 1 | 3 | c9ee3e2426407da25e28a12d1cbccdffc751d814 | 900 | Easy-Kitchen-Android | MIT License |
app/src/main/java/com/redvelvet/trivia_game/domain/entity/CorrectAnswer.kt | RedVelvet-Team | 661,473,736 | false | null | package com.redvelvet.trivia_game.domain.entity
data class CorrectAnswer(
val height: Int,
val size: Int,
val url: String,
val width: Int
)
| 0 | Kotlin | 0 | 3 | b1cf6e438b78f490b7b8d4b87fb37260840459f9 | 157 | Trivia-Game | Apache License 2.0 |
app/src/test/java/ru/rznnike/eyehealthmanager/app/presentation/acuity/instruction/AcuityInstructionPresenterTest.kt | RznNike | 207,148,781 | false | null | package ru.rznnike.eyehealthmanager.app.presentation.acuity.instruction
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.mockito.Mock
import org.mockito.junit.jupiter.MockitoExtension
import org.mockito.kotlin.only
import org.mockito.kotlin.verify
import ru.rznnike.eyeheal... | 0 | null | 1 | 5 | ea21e191ea3d6797be32f7f5e66e8e0ebae30ab6 | 1,081 | EyeHealthManager | MIT License |
DesignSystem/src/main/java/com/yourssu/design/compose/atom/Picker.kt | yourssu | 364,290,281 | false | null | package com.yourssu.design.compose.atom
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.LazyListState
import androidx.compose.foundation.lazy.itemsIndexed
import androidx.compose.materia... | 1 | Kotlin | 1 | 16 | 3d34628922ea9b078fd676df0892e4d7244389ae | 6,518 | YDS-Android | MIT License |
src/main/java/com/andres_k/lib/library/core/component/container/PdfCol.kt | Draym | 319,586,872 | false | null | package com.andres_k.lib.library.core.component.container
import com.andres_k.lib.library.core.component.ComponentTypeCode
import com.andres_k.lib.library.core.component.PdfComponent
import com.andres_k.lib.library.core.property.*
import com.andres_k.lib.library.utils.FontCode
import com.andres_k.lib.library.utils.con... | 0 | Kotlin | 0 | 1 | 5084ca91cf25328afa3238abc19d1f0e3c095fe1 | 5,359 | PDF-Flex | MIT License |
src/test/kotlin/de/pflugradts/passbird/domain/service/password/storage/NamespaceBasedPasswordEntryRepositoryTest.kt | christianpflugradt | 522,173,174 | false | {"Kotlin": 419080} | package de.pflugradts.passbird.domain.model.password
import de.pflugradts.passbird.application.eventhandling.PassbirdEventRegistry
import de.pflugradts.passbird.domain.model.namespace.NamespaceSlot
import de.pflugradts.passbird.domain.model.transfer.Bytes.Companion.bytesOf
import de.pflugradts.passbird.domain.service.... | 1 | Kotlin | 0 | 0 | d4c1cdb680921367bead02d67f5bd04df32558bb | 6,300 | PwMan3 | Apache License 2.0 |
src/main/kotlin/me/fzzyhmstrs/amethyst_imbuement/entity/PlayerBulletEntity.kt | fzzyhmstrs | 461,338,617 | false | null | package me.fzzyhmstrs.amethyst_imbuement.entity
import com.google.common.base.MoreObjects
import me.fzzyhmstrs.amethyst_core.entity_util.ModifiableEffectEntity
import me.fzzyhmstrs.amethyst_core.modifier_util.AugmentConsumer
import me.fzzyhmstrs.amethyst_core.modifier_util.AugmentEffect
import net.minecraft.entity.Ent... | 9 | Kotlin | 5 | 3 | 5cfab8c66335546b660875a114df1e5f051808c2 | 2,261 | ai | MIT License |
app/src/main/java/es/upm/bienestaremocional/data/questionnaire/PSSManager.kt | Emotional-Wellbeing | 531,973,820 | false | null | package es.upm.bienestaremocional.data.questionnaire
import es.upm.bienestaremocional.data.database.entity.PSS
class PSSManager: QuestionnaireManager<PSS>()
{
override val answers: Array<Int?> = arrayOfNulls(Questionnaire.PSS.numberOfQuestions)
override val questionsWithInvertedScore : Set<Int> = Questionnair... | 0 | Kotlin | 0 | 1 | 1f579af1073a4a8ac99011b0a881a5dcfb424821 | 1,928 | App | Apache License 2.0 |
app/src/main/java/com/nelc/cakesizer/welcomeactivity/WelcomeScreen.kt | chakflying | 636,123,689 | false | {"Kotlin": 166436, "Shell": 350, "PowerShell": 283} | package com.nelc.cakesizer.welcomeactivity
import androidx.appcompat.content.res.AppCompatResources.getDrawable
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.core.Animatable
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.RepeatMode
im... | 0 | Kotlin | 0 | 0 | 2295f2a2923852309513ef244e2fc50768a7eab8 | 20,642 | cakesizer | MIT License |
src/commonTest/kotlin/test.kt | meoowe | 715,696,632 | false | {"Kotlin": 25560, "Shell": 127} | import korlibs.image.color.*
import korlibs.korge.input.*
import korlibs.korge.tests.*
import korlibs.korge.tween.*
import korlibs.korge.view.*
import korlibs.math.geom.*
import korlibs.time.*
import kotlin.test.*
class MyTest : ViewsForTesting() {
@Test
fun test() = viewsTest {
val log = arrayListOf<S... | 0 | Kotlin | 1 | 2 | 62ce112516105309f57d4f03b42e7772cd0b1742 | 819 | ClickyCat | MIT License |
common/src/main/java/com/theone/common/binding/ViewBindingAdapter.kt | Theoneee | 473,409,123 | false | {"Kotlin": 616409, "Java": 410498} | package com.theone.common.binding
import android.text.InputType
import android.text.TextUtils
import android.view.View
import android.widget.CheckBox
import android.widget.CompoundButton
import android.widget.EditText
import androidx.databinding.BindingAdapter
import com.theone.common.ext.notNull
// ┏┓ ┏┓
//┏┛┻━━━... | 0 | Kotlin | 4 | 6 | 66e7dd671635352c8039bc3bf47a715620347448 | 2,106 | QMUI-MVVM | Apache License 2.0 |
oroboro-service/src/main/kotlin/com/samuelgenio/oroboroservice/infrastructure/repositories/ContractRepository.kt | samuelgenio | 574,716,413 | false | null | package com.samuelgenio.oroboroservice.infrastructure.repositories
import com.samuelgenio.oroboroservice.domain.Contract
import org.springframework.data.jpa.repository.JpaRepository
interface ContractRepository : JpaRepository<Contract, String> | 0 | Kotlin | 0 | 0 | a700ca3c145d37b77162e5717edd0efa4a3af6d8 | 246 | simple-axon-saga | Apache License 2.0 |
kotlinpoet-ktx/src/com/hendraanggrian/kotlinpoet/PropertySpecBuilder.kt | hendraanggrian | 209,613,746 | false | null | package com.hendraanggrian.kotlinpoet
import com.hendraanggrian.kotlinpoet.collections.AnnotationSpecList
import com.hendraanggrian.kotlinpoet.collections.AnnotationSpecListScope
import com.hendraanggrian.kotlinpoet.collections.KdocContainer
import com.hendraanggrian.kotlinpoet.collections.KdocContainerScope
import co... | 1 | Kotlin | 0 | 3 | 21ea36d6d746c69d6da44572b664fd8e0ea91f7d | 7,007 | kotlinpoet-ktx | Apache License 2.0 |
domain/src/main/java/com/vr/app/sh/domain/UseCase/DownloadUserPhoto.kt | Vadim-Rudak | 510,027,925 | false | {"Kotlin": 257696} | package com.vr.app.sh.domain.UseCase
import com.vr.app.sh.domain.model.response.SendFile
import com.vr.app.sh.domain.repository.internet.PhotoInternetRepo
class DownloadUserPhoto(private val photoInternetRepo: PhotoInternetRepo) {
suspend fun execute(userId:Int,pathToSave:String): SendFile {
return photoI... | 0 | Kotlin | 0 | 0 | 8a3e4f80636a19187cf053f4a9e58301f1b135ef | 372 | SH | Apache License 2.0 |
graphql-dgs-spring-graphql/src/main/kotlin/com/netflix/graphql/dgs/springgraphql/DgsGraphQLSourceBuilder.kt | Netflix | 317,375,887 | false | {"Kotlin": 1491640, "Java": 289007, "HTML": 14098, "Python": 8827, "TypeScript": 3328, "JavaScript": 2934, "Makefile": 1328} | /*
* Copyright 2024 Netflix, 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... | 92 | Kotlin | 285 | 3,018 | 57977c665c775048fc5028527e752037a8ffcba6 | 6,901 | dgs-framework | Apache License 2.0 |
sso/src/main/java/ir/net_box/sso/widget/LoginButton.kt | NetBox-Platform | 727,620,911 | false | {"Kotlin": 16150} | package ir.net_box.sso.widget
import android.content.Context
import android.content.res.TypedArray
import android.graphics.Typeface
import android.util.AttributeSet
import android.util.TypedValue
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout... | 0 | Kotlin | 0 | 3 | 696650c6156b8551f04dc2f3f709a8cef67bbd4a | 4,476 | sso | MIT License |
sso/src/main/java/ir/net_box/sso/widget/LoginButton.kt | NetBox-Platform | 727,620,911 | false | {"Kotlin": 16150} | package ir.net_box.sso.widget
import android.content.Context
import android.content.res.TypedArray
import android.graphics.Typeface
import android.util.AttributeSet
import android.util.TypedValue
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout... | 0 | Kotlin | 0 | 3 | 696650c6156b8551f04dc2f3f709a8cef67bbd4a | 4,476 | sso | MIT License |
app/src/main/java/quick/sms/quicksms/ui/SplashActivity.kt | masudr4n4 | 135,783,994 | true | {"Kotlin": 87623} | package quick.sms.quicksms.ui
import quick.sms.quicksms.backend.getPermissions
import android.Manifest
import android.content.pm.PackageManager
import org.jetbrains.anko.*
import android.os.Bundle
import android.support.v4.content.ContextCompat
import android.view.View
import com.google.android.gms.ads.AdRequest
impor... | 0 | Kotlin | 0 | 0 | 8abe860df3d0ed763ef5f068c91033731c26f405 | 3,678 | quickSMS | Creative Commons Attribution 4.0 International |
mui-icons-kotlin/src/jsMain/kotlin/mui/icons/material/PetsTwoTone.kt | karakum-team | 387,062,541 | false | {"Kotlin": 3060426, "TypeScript": 2249, "HTML": 724, "CSS": 86} | // Automatically generated - do not modify!
@file:JsModule("@mui/icons-material/PetsTwoTone")
package mui.icons.material
@JsName("default")
external val PetsTwoTone: SvgIconComponent
| 0 | Kotlin | 5 | 35 | 83952a79ffff62f5409461a2928102d0ff95d86b | 186 | mui-kotlin | Apache License 2.0 |
src/main/kotlin/com/resnik/math/graph/Identifyable.kt | mtresnik | 348,187,516 | false | null | package com.resnik.math.graph
interface Identifyable {
fun getID() : Long?
fun setID(newID : Long)
} | 0 | Kotlin | 0 | 0 | 9f0ca1eaac656f6db479ea6a607868ab1d09719e | 112 | graph | Apache License 2.0 |
layoutk_tab/src/main/java/com/mozhimen/xmlk/layoutk/tab/commons/ITabSelectedListener.kt | mozhimen | 747,030,456 | false | {"Kotlin": 822394, "Java": 560662} | package com.mozhimen.uicorek.layoutk.tab.commons
/**
* @ClassName ITabSelectedListener
* @Description TODO
* @Author Mozhimen & <NAME>
* @Date 2022/11/16 11:39
* @Version 1.0
*/
interface ITabSelectedListener<ITEM> {
fun onTabItemSelected(index: Int, prevItem: ITEM?, currentItem: ITEM)
} | 0 | Kotlin | 4 | 4 | 7888e57b6f71298cc95ab8538043844d9cbf1551 | 300 | AXmlKit | Apache License 2.0 |
app/src/main/java/com/gmrit/gdsc/activities/see_your_interest/LearnWebDevActivity.kt | saikiran1224 | 436,351,656 | false | {"Kotlin": 115847} | package com.gmrit.gdsc.activities.see_your_interest
import android.annotation.SuppressLint
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.ImageView
import com.bumptech.glide.Glide
import com.gmrit.gdsc.R
import com.gmrit.gdsc.activities.gene... | 0 | Kotlin | 0 | 2 | 052bb3e092ec624c90051c9a79c7a72072ab0026 | 1,483 | GDSC_GMRIT_App | MIT License |
baselineprofile/src/main/kotlin/ru/resodostudios/cashsense/baselineprofile/StartupBaselineProfile.kt | f33lnothin9 | 674,320,726 | false | null | package ru.resodostudios.cashsense.baselineprofile
import androidx.benchmark.macro.MacrobenchmarkScope
import androidx.benchmark.macro.junit4.BaselineProfileRule
import org.junit.Rule
import org.junit.Test
import ru.resodostudios.cashsense.PACKAGE_NAME
/**
* Baseline Profile for app startup. This profile also enable... | 0 | null | 3 | 33 | a246a75e4a67ee55170652e7b16346039c10b427 | 788 | cashsense | Apache License 2.0 |
app/src/main/java/com/dfl/xkdc/schedulers/RxSchedulers.kt | dfloureiro | 148,074,026 | false | null | package com.dfl.xkdc.schedulers
import io.reactivex.Scheduler
/**
* Rx Schedulers to subscribe on
*/
interface RxSchedulers {
/**
* scheduler input output
*/
fun io(): Scheduler
/**
* scheduler computation work
*/
fun computation(): Scheduler
/**
* scheduler UI thread... | 0 | Kotlin | 1 | 1 | 7b999dd9237fa9f65b8353dcca7feaf4a8389de1 | 362 | xkcd-reader | Apache License 2.0 |
features/login/ui/src/androidUnitTest/kotlin/dev/alvr/katana/features/login/ui/di/FeaturesLoginUiModuleTest.kt | alvr | 446,535,707 | false | {"Kotlin": 466631, "Swift": 594} | package dev.alvr.katana.features.login.ui.di
import dev.alvr.katana.common.session.domain.usecases.SaveSessionUseCase
import dev.alvr.katana.common.user.domain.usecases.SaveUserIdUseCase
import io.kotest.core.spec.style.FreeSpec
import io.mockk.mockkClass
import org.koin.core.annotation.KoinExperimentalAPI
import org.... | 3 | Kotlin | 0 | 59 | 0c85dd5b4e24f7011a18dd18cc424836060b7592 | 787 | katana | Apache License 2.0 |
core-kotlin-modules/core-kotlin-collections-map/src/test/kotlin/com/baeldung/multimap/MultiMapUnitTest.kt | Baeldung | 260,481,121 | false | {"Kotlin": 1855665, "Java": 48276, "HTML": 4883, "Dockerfile": 292} | package com.baeldung.multimap
import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
import kotlin.test.assertFalse
import kotlin.test.assertNull
import kotlin.test.assertTrue
class MultiMapUnitTest {
@Test
fun `when put one element then it should have size 1`() {
val multiMap = MultiMap<... | 14 | Kotlin | 294 | 465 | f1ef5d5ded3f7ddc647f1b6119f211068f704577 | 5,341 | kotlin-tutorials | MIT License |
core/src/commonMain/kotlin/org/kobjects/kowa/core/module/Exportable.kt | kobjects | 340,712,554 | false | {"Kotlin": 165863} | package org.kobjects.kowa.core.module
import org.kobjects.kowa.binary.WasmWriter
import org.kobjects.kowa.core.expr.CodeWriter
interface Exportable {
fun writeExportDescription(writer: WasmWriter)
fun writeExportDescription(writer: CodeWriter)
} | 0 | Kotlin | 0 | 3 | 5b9254491f695ca557329d0eb339ed8272957478 | 258 | kowa | Apache License 2.0 |
app/src/main/java/com/rami/koroutinesdemo/ui/customviews/MovieCardView.kt | rami-de | 214,674,311 | false | null | package com.rami.koroutinesdemo.ui.customviews
import android.content.Context
import android.util.AttributeSet
import android.widget.ImageView
import android.widget.TextView
import androidx.constraintlayout.widget.ConstraintLayout
import com.rami.koroutinesdemo.R
class MovieCardView(context: Context, attrs: Attribute... | 0 | Kotlin | 0 | 0 | 2b748717e49ead520bc5c4f2b247b4e7fc826f83 | 717 | KoroutinesDemo | MIT License |
app/src/main/java/cucerdariancatalin/twitter/core/networking/Endpoints.kt | darian-catalin-cucer | 586,378,625 | false | null | package dalian.razvan.cucer.twitterusersearch.core.networking
object Endpoints {
const val BASE_URL = "https://api.twitter.com/2/"
//User lookup API reference https://developer.twitter.com/en/docs/twitter-api/users/lookup/api-reference
const val USERS = "users/"
const val BY_USERNAMES = "by?usernames... | 0 | null | 0 | 2 | e876ac28d2b0bb81ee132a0a453a006cd7c52f54 | 544 | TwitterChallenge | MIT License |
src/test/kotlin/org/example/vaadinmvp/CalculatorModelTest.kt | napperley | 97,088,666 | false | {"CSS": 301463, "Kotlin": 6444} | package org.example.vaadinmvp
import junit.framework.TestCase
import org.junit.Before
import org.junit.Test
class CalculatorModelTest : TestCase() {
val model = CalculatorModel()
@Before
fun beforeTest() {
model.value = 0.0
}
@Test
fun testClear() {
val actual = model.run {
... | 0 | CSS | 0 | 0 | a3ccb6caa1c8694957d75953f20a43334372f3dd | 1,240 | vaadin-mvp | Apache License 2.0 |
app/src/main/kotlin/github/buriedincode/bookshelf/models/Book.kt | Buried-In-Code | 216,420,518 | false | {"Kotlin": 151756, "JavaScript": 5009, "CSS": 758, "Dockerfile": 462} | package github.buriedincode.bookshelf.models
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import github.buriedincode.bookshelf.Utils.toString
import github.buriedincode.bookshelf.tables.BookSeriesTable
import github.buriedincode.bookshelf.tables.BookTable
import github.buriedincode.bookshelf.tables... | 2 | Kotlin | 0 | 0 | 0b3c2a22e36720893b084c311e11991423edd0e0 | 6,007 | Bookshelf | MIT License |
app/src/main/java/br/com/jxr/cstv/data/remote/dto/TeamDto.kt | joaoreis | 516,848,448 | false | {"Kotlin": 41799} | package br.com.jxr.cstv.data.remote.dto
import android.os.Parcelable
import com.squareup.moshi.Json
import kotlinx.parcelize.Parcelize
@Parcelize
data class TeamDto(
val id: Int,
val name: String,
@Json(name = "image_url")
val imageUrl: String?
) : Parcelable
| 0 | Kotlin | 0 | 0 | 79d3d78d98327a59c995c1d2b8214e7e1f066d45 | 278 | cstv | MIT License |
app/src/main/java/br/com/sommelier/domain/usecase/CreateUserUseCase.kt | ronaldocoding | 665,333,427 | false | null | package br.com.sommelier.domain.usecase
import arrow.core.Either
import br.com.sommelier.base.result.Problem
import br.com.sommelier.base.usecase.UseCase
import br.com.sommelier.domain.model.UserDomain
import br.com.sommelier.domain.model.UserInfo
import br.com.sommelier.domain.repository.AuthRepository
import br.com.... | 0 | Kotlin | 0 | 1 | 6bf68ad93bf87fca0825fa71d0a7b28178ac3b8e | 967 | sommelier | MIT License |
shcDecoder/src/main/java/ca/bc/gov/shcdecoder/model/ImmunizationStatus.kt | bcgov | 399,972,903 | false | null | package ca.bc.gov.vaxcheck.model
/**
* [ImmunizationStatus]
*
* @author <NAME>
*/
enum class ImmunizationStatus {
FULLY_IMMUNIZED,
PARTIALLY_IMMUNIZED,
INVALID_QR_CODE
} | 6 | Kotlin | 6 | 22 | 57d929c8c73620021b59386c084536091cbfe91a | 186 | BCVAX-Android | Apache License 2.0 |
src/main/kotlin/com/pos/domain/TempDto.kt | tabilzad | 158,113,630 | false | {"HTML": 36745, "Kotlin": 17312, "CSS": 8013, "JavaScript": 6915} | package com.pos.domain
data class TempDto(
val temp: List<EntryCreationDto> = mutableListOf()
) | 0 | HTML | 0 | 0 | f1224cef728b0757e3d7b8cb096e66af519a94c4 | 100 | internal-proxy | MIT License |
ui/uiImpl/src/main/java/com/rcgonzalezf/uiimpl/media/SomePlayerFactory.kt | rcgonzalezf | 369,413,599 | false | null | package com.rcgonzalezf.uiimpl.media
import android.content.Context
import android.widget.Toast
import com.rcgonzalezf.ui.media.PlayerFactory
import com.rcgonzalezf.ui.media.SomePlayer
import javax.inject.Inject
class SomePlayerFactory @Inject constructor(val context: Context): PlayerFactory {
override fun creat... | 0 | Kotlin | 0 | 0 | 8520406f595ba82a9bca184ec7bfe08e6020aa4e | 382 | databinding-multi-module-issue | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.