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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Presentation/src/main/java/com/hf/presentation/mapper/PersonViewMapper.kt | biodunalfet | 192,399,583 | false | null | package com.hf.presentation.mapper
import com.hf.presentation.model.PersonListItemView
import com.hf.presentation.model.PersonView
import javax.inject.Inject
class PersonViewMapper @Inject constructor() : ViewMapper<PersonListItemView, PersonView> {
override fun apply(v1: PersonListItemView): PersonView {
... | 1 | Kotlin | 5 | 4 | e01a1561ed87dd638d18f50661c3b3e809944f73 | 384 | StarWarsChar | Apache License 2.0 |
app/src/main/java/admin/mealbuffet/com/mealnbuffetadmin/nav/FragmentUpdateRestaurant.kt | Laxmanbalu | 161,735,936 | false | null | package admin.mealbuffet.com.mealnbuffetadmin.nav
import admin.mealbuffet.com.mealnbuffetadmin.custom.ExifUtil.rotateBitmap
import admin.mealbuffet.com.mealnbuffetadmin.model.RestaurantDetails
import admin.mealbuffet.com.mealnbuffetadmin.model.UpdateRestaurantDetails
import admin.mealbuffet.com.mealnbuffetadmin.networ... | 1 | null | 1 | 1 | 48d307aaf717b8dc92d033991be4bb7bd165fdec | 11,154 | MealNBuffetAdmin | Apache License 2.0 |
mobile_app1/module224/src/main/java/module224packageKt0/Foo556.kt | uber-common | 294,831,672 | false | null | package module224packageKt0;
annotation class Foo556Fancy
@Foo556Fancy
class Foo556 {
fun foo0(){
module224packageKt0.Foo555().foo3()
}
fun foo1(){
foo0()
}
fun foo2(){
foo1()
}
fun foo3(){
foo2()
}
} | 6 | Java | 6 | 72 | 9cc83148c1ca37d0f2b2fcb08c71ac04b3749e5e | 237 | android-build-eval | Apache License 2.0 |
core/src/main/java/com/diegobezerra/core/cinemais/domain/model/Schedule.kt | dsbezerra | 212,875,134 | false | {"Gradle Kotlin DSL": 6, "Java Properties": 2, "Shell": 1, "Text": 2, "Ignore List": 5, "Batchfile": 1, "Markdown": 1, "Proguard": 3, "Java": 2, "Kotlin": 124, "HTML": 10, "XML": 126, "INI": 1} | package com.diegobezerra.core.cinemais.domain.model
import com.diegobezerra.core.util.DateUtils
import com.diegobezerra.core.util.DateUtils.Companion.BRAZIL
import java.text.SimpleDateFormat
import java.util.Date
typealias Disclaimer = Map<Char, DisclaimerEntry>
data class Schedule(
val cinema: Cinema,
val d... | 1 | null | 1 | 1 | 93747bb7148cd46b76e9255f517405db1ae75fdd | 4,035 | cinemais-android | Apache License 2.0 |
collect_app/src/main/java/org/odk/collect/android/instancemanagement/InstanceDeleter.kt | getodk | 40,213,809 | false | null | package org.odk.collect.android.instancemanagement
import org.odk.collect.forms.FormsRepository
import org.odk.collect.forms.instances.Instance
import org.odk.collect.forms.instances.InstancesRepository
class InstanceDeleter(
private val instancesRepository: InstancesRepository,
private val formsRepository: F... | 220 | null | 1355 | 698 | 8370877853802de72e24d63d41726a6befa9d222 | 1,123 | collect | Apache License 2.0 |
app/src/main/java/pt/dbmg/mobiletaiga/network/response/DataLeaderChatMessages.kt | worm69 | 166,021,572 | false | {"Gradle": 7, "YAML": 12, "Java Properties": 2, "Markdown": 6, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Proguard": 3, "Kotlin": 464, "XML": 78, "Java": 55, "JSON": 2, "GraphQL": 1, "Dockerfile": 1} | package pt.dbmg.mobiletaiga.network.response
import com.google.gson.annotations.SerializedName
data class DataLeaderChatMessages(
@SerializedName("attributes")
val attributes: AttributesLeaderChatMessages,
@SerializedName("id")
val id: String, // 19
@SerializedName("links")
val links: Links1,
... | 0 | Kotlin | 0 | 4 | 8ec09bed018d57225b85e042865608952633c622 | 485 | mobiletaiga | Apache License 2.0 |
backend/src/main/kotlin/daniil/backend/entity/Like.kt | Yellowtyler | 704,670,810 | false | {"Kotlin": 112917, "TypeScript": 112495, "CSS": 5366, "HTML": 1721} | package daniil.backend.entity
import jakarta.persistence.*
import java.time.OffsetDateTime
import java.util.UUID
@Entity
@Table(name = "likes")
class Like(
@Id
@GeneratedValue
var id: UUID?,
@Column
val isLike: Boolean,
@Column
val createdAt: OffsetDateTime,
@ManyToOne(fetch = Fetch... | 0 | Kotlin | 0 | 1 | e4fcc14a0f221f27270d2e1ff66e0941e81ff5b9 | 764 | mytube | Apache License 2.0 |
ktor-http/jvm/src/io/ktor/http/URLBuilderJvm.kt | LloydFinch | 166,520,021 | true | {"Kotlin": 2419371, "Lua": 280, "HTML": 112} | package io.ktor.http
import java.net.*
/**
* Construct [Url] from [String]
*/
operator fun Url.Companion.invoke(fullUrl: String): Url = URLBuilder().apply {
takeFrom(URI(fullUrl))
}.build()
| 0 | Kotlin | 0 | 2 | 9b9fc6c3b853c929a806c65cf6bf7c104b4c07fc | 198 | ktor | Apache License 2.0 |
android/src/main/java/com/magicleap/magicscript/font/external/LominoFont.kt | magic-script | 187,085,008 | false | null | /*
* Copyright (c) 2019-2020 Magic Leap, Inc. All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | 41 | null | 2 | 16 | b1a543f22af76447e9e58788fc494324dc40be14 | 2,099 | magic-script-components-react-native | Apache License 2.0 |
app/src/main/java/com/albuquerque/starwarswiki/app/viewmodel/PeopleViewModel.kt | rebecaalbuquerque | 239,064,633 | true | {"Kotlin": 64750} | package com.albuquerque.starwarswiki.app.viewmodel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import br.albuquerque.data.ui.PersonUI
import br.albuquerque.domain.usecase.*
import com.albuquerque.starwarswiki.app.view.handler.PersonHandler
import br.albuquerque.core.livedata.Sing... | 0 | Kotlin | 0 | 0 | 6922ef43abaf29291fede9bf5c245e4f0c688b67 | 4,088 | entrevista-android | The Unlicense |
src/main/kotlin/xyz/yhsj/ktor/redis/RedisPlugin.kt | yhsj0919 | 554,551,088 | false | {"Kotlin": 70906, "JavaScript": 1503, "HTML": 890} | package xyz.yhsj.ktor.redis
import io.ktor.server.application.*
import io.ktor.util.*
import org.apache.commons.pool2.impl.GenericObjectPoolConfig
import redis.clients.jedis.Jedis
import redis.clients.jedis.JedisPool
import redis.clients.jedis.JedisPoolConfig
import redis.clients.jedis.Protocol
import redis.clients.j... | 0 | Kotlin | 1 | 1 | f2250c33df4ee361f3801cbf26cb4b727e3b53ee | 3,807 | ktor-ktorm | Apache License 2.0 |
template/app/src/main/kotlin/app/userflow/theme/change/ChangeThemeDestination.kt | kotlitecture | 738,057,168 | false | {"Kotlin": 385471, "HTML": 891} | package app.userflow.theme.change
import androidx.navigation.NavGraphBuilder
import core.ui.navigation.ArgsStrategy
import core.ui.navigation.NavigationDestination
import core.ui.navigation.NavigationStrategy
import kotlinx.serialization.builtins.serializer
/**
* Navigation destination for changing the theme.
*/
ob... | 0 | Kotlin | 0 | 0 | 4ba09e90973f8110cf22e645ce8727323e7d07e5 | 704 | template-android-compose | MIT License |
app/src/main/java/com/example/dropy/ui/components/shops/frontside/customer/orderprocess/deliveryinfomation/deliverymethod/DeliveryMethodDataClass.kt | dropyProd | 705,360,878 | false | {"Kotlin": 3916897, "Java": 20617} | package com.example.dropy.ui.components.shops.frontside.customer.orderprocess.deliveryinfomation.deliverymethod
import androidx.compose.ui.graphics.painter.Painter
data class DeliveryMethodDataClass(
var type:String,
var etaInMinutes: Int,
var price :Int,
var iconUrl : String
)
| 0 | Kotlin | 0 | 0 | 6d994c9c61207bac28c49717b6c250656fe4ae6b | 297 | DropyLateNights | Apache License 2.0 |
src/test/java/com/metriql/warehouse/snowflake/TestTimeframeSnowflake.kt | metriql | 370,169,788 | false | null | package com.metriql.warehouse.snowflake
import com.metriql.tests.TestTimeframe
class TestTimeframeSnowflake : TestTimeframe() {
override val testingServer = TestingEnvironmentSnowflake
}
| 30 | Kotlin | 19 | 253 | 10fa42434c19d1dbfb9a3d04becea679bb82d0f1 | 193 | metriql | Apache License 2.0 |
src/test/java/com/metriql/warehouse/snowflake/TestTimeframeSnowflake.kt | metriql | 370,169,788 | false | null | package com.metriql.warehouse.snowflake
import com.metriql.tests.TestTimeframe
class TestTimeframeSnowflake : TestTimeframe() {
override val testingServer = TestingEnvironmentSnowflake
}
| 30 | Kotlin | 19 | 253 | 10fa42434c19d1dbfb9a3d04becea679bb82d0f1 | 193 | metriql | Apache License 2.0 |
src/main/kotlin/com/pettcare/plugins/Sockets.kt | antelukic | 810,253,774 | false | {"Kotlin": 75020, "Dockerfile": 300} | package com.pettcare.plugins
import io.ktor.server.application.Application
import io.ktor.server.application.install
import io.ktor.server.websocket.WebSockets
import io.ktor.server.websocket.pingPeriod
import io.ktor.server.websocket.timeout
import java.time.*
fun Application.configureSockets() {
install(WebSock... | 0 | Kotlin | 0 | 0 | 7a7f370d3607511fa4dceacfdfd70dbe55fc4841 | 483 | PettCare-Server | Apache License 2.0 |
projects/unpaid-work-and-delius/src/dev/kotlin/uk/gov/justice/digital/hmpps/data/generator/DisabilityGenerator.kt | ministryofjustice | 500,855,647 | false | null | package uk.gov.justice.digital.hmpps.data.generator
import IdGenerator
import uk.gov.justice.digital.hmpps.controller.casedetails.entity.DisabilityEntity
import java.time.LocalDate
object DisabilityGenerator {
val DEFAULT = generate()
fun generate(id: Long = IdGenerator.getAndIncrement()) = DisabilityEntity(... | 4 | Kotlin | 0 | 2 | 9f6663d820fb8123d915107edfa9abc5f82d3fb6 | 491 | hmpps-probation-integration-services | MIT License |
android/src/main/kotlin/com/klarna/inapp/sdk/flutter_klarna_inapp_sdk/postpurchase/PostPurchaseExperienceHandler.kt | klarna | 263,862,690 | false | null | package com.klarna.inapp.sdk.flutter_klarna_inapp_sdk.postpurchase
import com.klarna.inapp.sdk.flutter_klarna_inapp_sdk.core.handler.BaseMethodHandler
import io.flutter.plugin.common.MethodChannel
internal object PostPurchaseExperienceHandler : BaseMethodHandler<PostPurchaseExperienceMethod>(PostPurchaseExperienceMet... | 1 | Kotlin | 9 | 8 | f2b955ecad2846c09e4d8b5fc466d016423b2ddc | 2,078 | flutter-klarna-inapp-sdk | Apache License 2.0 |
kbods-rdf/src/main/kotlin/org/kbods/rdf/BodsRdfConfig.kt | cosmin-marginean | 600,564,562 | false | null | package org.kbods.rdf
import org.eclipse.rdf4j.model.IRI
import org.kbods.rdf.plugins.BodsConvertPlugin
import org.kbods.read.BodsStatementType
data class BodsRdfConfig(
/**
* Will configure the importer to only process entity IDs, their types and relationships. Names,
* interest details, jurisdictions ... | 0 | Kotlin | 0 | 3 | a7cbc70eb35b76dcc73121f819ec4ac9e2a8617b | 1,237 | kbods | Apache License 2.0 |
src/main/kotlin/de/c4vxl/bedwars/shop/items/handlers/PlayerCompass.kt | c4vxl-Network | 850,861,120 | false | {"Kotlin": 83435} | package de.c4vxl.bedwars.shop.items.handlers
import de.c4vxl.bedwars.BedWars
import de.c4vxl.bedwars.shop.Shop
import de.c4vxl.bedwars.utils.ItemBuilder
import de.c4vxl.bedwars.utils.ScrollableInventory
import de.c4vxl.gamemanager.gamemanagementapi.event.GamePlayerRespawnEvent
import de.c4vxl.gamemanager.gamemanagemen... | 0 | Kotlin | 1 | 0 | 8ca288210e244da358bbcfee52da5381b3a252b0 | 4,259 | BedWars | Apache License 2.0 |
src/main/kotlin/de/c4vxl/bedwars/shop/items/handlers/PlayerCompass.kt | c4vxl-Network | 850,861,120 | false | {"Kotlin": 83435} | package de.c4vxl.bedwars.shop.items.handlers
import de.c4vxl.bedwars.BedWars
import de.c4vxl.bedwars.shop.Shop
import de.c4vxl.bedwars.utils.ItemBuilder
import de.c4vxl.bedwars.utils.ScrollableInventory
import de.c4vxl.gamemanager.gamemanagementapi.event.GamePlayerRespawnEvent
import de.c4vxl.gamemanager.gamemanagemen... | 0 | Kotlin | 1 | 0 | 8ca288210e244da358bbcfee52da5381b3a252b0 | 4,259 | BedWars | Apache License 2.0 |
Core/src/main/kotlin/dev/frozenmilk/dairy/core/dependencyresolution/dependencies/MutuallyExclusiveWith.kt | Dairy-Foundation | 723,515,808 | false | {"Kotlin": 226570, "Java": 102057} | package dev.frozenmilk.dairy.core.dependencyresolution.dependencies
import dev.frozenmilk.dairy.core.Feature
/**
* ensures none of the arguments are attached
*/
class MutuallyExclusiveWith(feature: Feature, vararg features: Class<out Feature>) : FeatureDependency(feature, *features) {
override fun resolves(args: C... | 0 | Kotlin | 2 | 4 | 4073af1f85ec1f2ceba134eb5d5c314b24221c44 | 727 | Dairy | BSD 3-Clause Clear License |
app/src/main/java/com/nivs/all/di_hilt_room/DIActivity.kt | niva-cu | 715,053,095 | false | {"Kotlin": 178887, "Java": 2596} | package com.nivs.all.di_hilt_room
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.TextView
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import com.nivs.all.R
import com.nivs.all.databinding.ActivityDiBinding
impor... | 0 | Kotlin | 0 | 0 | 7cef99bf38c66469ff21deca686c7ca9018e08fd | 1,127 | alltopics | Apache License 2.0 |
src/main/java/jp/co/soramitsu/androidfoundation/testing/ReadRes.kt | soramitsu | 373,586,020 | false | {"Kotlin": 20370} | package jp.co.soramitsu.androidfoundation.testing
import java.io.BufferedReader
import java.io.InputStream
import java.io.InputStreamReader
import java.io.Reader
fun Any.getFileContentFromResources(fileName: String): String {
return getResourceReader(fileName).readText()
}
fun Any.getResourceReader(fileName: Str... | 2 | Kotlin | 0 | 0 | c7065d188d4e7a95f66b505d0e8ca709dfff4fb0 | 567 | android-foundation | Apache License 2.0 |
android/Smartbread/app/src/main/java/jp/hacks/smartbread/GoogleFitApiDebugActivity.kt | jphacks | 212,725,412 | false | null | package jp.hacks.smartbread
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import com.google.android.gms.auth.api.signin.GoogleSignIn
import com.google.android.gms.fitness.Fitness
... | 4 | Kotlin | 2 | 0 | 1d85364715706b934ad61bbe1a842a3ead2f8932 | 4,582 | FK_1908 | MIT License |
heavy/src/main/kotlin/net/kotlinx/dropbox/DropboxClientUtil.kt | mypojo | 565,799,715 | false | {"Kotlin": 1477991, "Jupyter Notebook": 13540, "Java": 9531} | package net.kotlinx.dropbox
import com.dropbox.core.DbxRequestConfig
import com.dropbox.core.v2.DbxClientV2
/**
* https://github.com/dropbox/dropbox-sdk-java#setup
* https://www.dropbox.com/developers/apps
* */
object DropboxClientUtil {
fun create(clientIdentifier: String, accessToken: String): DbxClientV2 ... | 0 | Kotlin | 0 | 1 | 3ff862dfe1b3d19ec64348c5574394ac2129779e | 448 | kx_kotlin_support | MIT License |
bbfgradle/tmp/results/diffABI/nginftl_FILE.kt | DaniilStepanov | 346,008,310 | false | null | // Bug happens on JVM , JVM -Xuse-ir
// WITH_RUNTIME
// FILE: tmp0.kt
import kotlin.collections.*
import kotlin.properties.*
import kotlin.reflect.*
import kotlin.sequences.*
import kotlin.coroutines.*
import kotlin.ranges.*
fun isZeroUInt(n: UInt?):Boolean = TODO()
fun isZeroUInt2(n: UInt?): Boolean = TODO()
fun isZ... | 1 | null | 1 | 1 | e772ef1f8f951873ebe7d8f6d73cf19aead480fa | 1,773 | kotlinWithFuzzer | Apache License 2.0 |
src/main/kotlin/me/markhc/hangoutbot/commands/information/InformationCommands.kt | the-programmers-hangout | 259,086,717 | false | null | package me.markhc.hangoutbot.commands.information
import com.github.kittinunf.fuel.Fuel
import com.github.kittinunf.result.Result
import me.jakejmattson.discordkt.api.arguments.AnyArg
import me.jakejmattson.discordkt.api.arguments.CommandArg
import me.jakejmattson.discordkt.api.arguments.RoleArg
import me.jakejmattson... | 8 | Kotlin | 15 | 11 | 1cdd9626a512ce632e4d7677aac7197d7d5630fe | 4,857 | HangoutBot | MIT License |
app/src/main/java/com/wazing/gank/listener/OnLoadMoreListener.kt | cuixbo | 152,170,205 | false | {"Kotlin": 78852} | package com.wazing.gank.listener
interface OnLoadMoreListener {
fun onLoadMore()
fun onRetry()
open class SimpleOnLoadMoreListener : OnLoadMoreListener {
override fun onRetry() {
}
override fun onLoadMore() {
}
}
} | 0 | Kotlin | 6 | 0 | 31e6aaaeb6c5972d419ca2dde35ec30543a6df63 | 265 | Gank | Apache License 2.0 |
TestAndroid/EspressoUdemy/app/src/androidTest/java/ec/com/paul/espressoudemy/CustomMatcherActivityTest.kt | PaulMarcelo | 255,495,694 | false | null | package ec.com.paul.espressoudemy
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.action.ViewActions.typeText
import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.intent.Intents.intended
import an... | 0 | Kotlin | 0 | 0 | 5c363e7e5837eaec8c43c1edf6eafa69ab84725d | 2,532 | Android | Apache License 2.0 |
app/src/main/java/com/shentu/wallpaper/app/event/LoadOriginPictureEvent.kt | ljwcsdn | 352,574,969 | true | {"Kotlin": 727021} | package com.shentu.wallpaper.app.event
class LoadOriginPictureEvent constructor(var id: Int)
| 0 | null | 0 | 0 | af968a42622a50e1d21454dda22a644ee3e4d77f | 94 | MicroWallPager | Apache License 2.0 |
CODE/app/src/main/java/pt/isel/battleshipAndroid/ui/ShowPlayerRankView.kt | RaulJCS5 | 611,442,288 | false | null | package pt.isel.battleshipAndroid.ui
import androidx.compose.foundation.layout.*
import androidx.compose.material.Card
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier... | 0 | Kotlin | 0 | 2 | abe5e4633280e1b6729bb122ca0508b73dcff4ba | 6,675 | Battleship-android | MIT License |
app/src/main/java/com/example/calculator/telaHistorico.kt | MyPayTransirie | 294,414,508 | false | null | package com.example.calculator
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import kotlinx.android.synthetic.main.activity_tela_historico.*
import kotlinx.android.synthetic.main.activity_tela_historico.view.*
import org.json.JSONObject
class telaHistorico : AppCompa... | 0 | Kotlin | 0 | 0 | 98c3f7e104d17214ce22349b0d1df2e7e58e1087 | 632 | calculadora-basica-coderkarol | MIT License |
app/src/main/kotlin/com/cengels/progressor/fragments/SettingsFragment.kt | cengels | 197,942,120 | false | null | package com.cengels.progressor.fragments
import android.os.Bundle
import android.view.*
import androidx.appcompat.widget.Toolbar
import androidx.preference.Preference
import androidx.preference.PreferenceFragmentCompat
import com.cengels.progressor.R
import com.cengels.progressor.activities.MainActivity
class Setting... | 0 | Kotlin | 0 | 0 | e36d347977d9286b86daf05f7c62c7d7711731c9 | 1,750 | progressor-app | Apache License 2.0 |
entities/src/main/java/org/odk/collect/entities/javarosa/intance/LocalEntitiesInstanceAdapter.kt | getodk | 40,213,809 | false | {"Java": 3418497, "Kotlin": 2643677, "JavaScript": 2830, "Shell": 2559} | package org.odk.collect.entities.javarosa.intance
import org.javarosa.core.model.data.StringData
import org.javarosa.core.model.instance.TreeElement
import org.odk.collect.entities.javarosa.parse.EntityItemElement
import org.odk.collect.entities.storage.EntitiesRepository
import org.odk.collect.entities.storage.Entity... | 286 | Java | 1358 | 705 | c596233e3339fbdc34096413cdd3fa3a0dadee3c | 3,177 | collect | Apache License 2.0 |
certificatetransparency/src/main/kotlin/com/babylon/certificatetransparency/internal/loglist/model/v2/Operator.kt | babylonhealth | 152,060,574 | false | null | /*
* Copyright 2019 Babylon Partners Limited
*
* 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 a... | 1 | Kotlin | 24 | 197 | 15ea45c73631cf39c0bbf206b10641f0dbfef957 | 1,309 | certificate-transparency-android | Apache License 2.0 |
src/main/kotlin/alex34567.meatrespawner/tileentities/TileEntityMeatRespawner.kt | kateeckhart | 135,200,651 | false | {"Kotlin": 23378} | package alex34567.meatrespawner.tileentities
import alex34567.meatrespawner.blocks.ModBlocks
import alex34567.meatrespawner.capability.meatRespawner
import alex34567.meatrespawner.config.ModConfig
import alex34567.meatrespawner.util.RespawnPos
import alex34567.meatrespawner.util.nbtextensions.NBT
import alex34567.meat... | 0 | Kotlin | 0 | 0 | 56f1b0446ff7340ec8b9e639bf670efafc30b161 | 3,175 | meatRespawner | MIT License |
presentation/src/main/kotlin/app/web/drjackycv/presentation/products/productlist/ProductsListAdapter.kt | Drjacky | 256,785,326 | false | null | package app.web.drjackycv.presentation.products.productlist
import android.view.View
import app.web.drjackycv.domain.base.RecyclerItem
import app.web.drjackycv.presentation.base.adapter.BasePagedListAdapter
import app.web.drjackycv.presentation.products.entity.BeerCell
class ProductsListAdapter(onItemClick: (Recycler... | 7 | null | 117 | 780 | 6b9a39454e9260b6d979ca5c02f633e5e2d4bd2d | 410 | MVVMTemplate | MIT License |
app/src/main/java/com/sonder/newdemoapp/ui/detail/RecipeDetailActivity.kt | gazeing | 218,930,232 | false | null | package com.sonder.newdemoapp.ui.detail
import android.os.Bundle
import com.google.android.material.snackbar.Snackbar
import androidx.appcompat.app.AppCompatActivity
import com.sonder.newdemoapp.R
import kotlinx.android.synthetic.main.activity_recipe_detail.*
class RecipeDetailActivity : AppCompatActivity() {
ov... | 0 | Kotlin | 0 | 0 | 7ad51e42556c8db9b59be852e21d5c1012d56cb3 | 760 | NewAndDemoApp | Apache License 2.0 |
kotlin-remix-run-router/src/jsMain/generated/remix/run/router/ActionFunction.kt | JetBrains | 93,250,841 | false | {"Kotlin": 13723238, "JavaScript": 325789} | // Generated by Karakum - do not modify it manually!
package remix.run.router
/**
* Route action function signature
*/
typealias ActionFunction<Context> = (args: ActionFunctionArgs<Context>) -> js.promise.PromiseResult<DataFunctionValue>
| 34 | Kotlin | 165 | 1,294 | 5aaa9938ea3bee8a9bed5be39f8ab0729421d715 | 244 | kotlin-wrappers | Apache License 2.0 |
blockcanary/src/main/java/blockcanary/db/BlockInfoRepositoryImpl.kt | Knight-ZXW | 487,840,566 | false | {"Kotlin": 41897, "Java": 20493, "JavaScript": 8271, "HTML": 4778, "Python": 4341, "CSS": 1579, "Shell": 24} | package blockcanary.db
import android.content.Context
import android.content.SharedPreferences
import com.google.gson.Gson
import blockcanary.BlockInfo
import java.io.File
import java.io.FilenameFilter
import java.util.concurrent.ExecutorService
class BlockInfoRepositoryImpl(
private val mContext: Context,
ex... | 1 | Kotlin | 42 | 414 | 29162b35c7212bc1f7a36c7824ddbb935a6eb8e8 | 4,154 | BlockCanaryX | Apache License 2.0 |
src/main/java/org/sert2521/powerup/drivetrain/commands/Turn.kt | SouthEugeneRoboticsTeam | 116,520,482 | false | null | package org.sert2521.powerup.drivetrain.commands
import org.sert2521.powerup.drivetrain.Drivetrain
import org.sert2521.powerup.util.ENCODER_TICKS_PER_REVOLUTION
import org.sert2521.powerup.util.WHEELBASE_WIDTH
import org.sert2521.powerup.util.WHEEL_DIAMETER
import org.sertain.command.Command
import org.sertain.command... | 3 | Kotlin | 0 | 16 | 3ac6fb93797d2023d27784bf8d312605578ac903 | 2,623 | PowerUp-2018 | MIT License |
service/home-service/src/main/kotlin/eu/jrie/put/piper/piperhomeservice/api/message/util/Auth.kt | jakubriegel | 302,102,358 | false | null | package eu.jrie.put.piper.piperhomeservice.api.message.util
import org.springframework.security.core.Authentication
internal object Auth : Authentication {
override fun getName() = throw IllegalStateException()
override fun getAuthorities() = throw IllegalStateException()
override fun getCredentials() = t... | 2 | Kotlin | 1 | 1 | 0b8276517e40da4d119cb221493f05ba13e21a8b | 636 | Piper | MIT License |
app/src/main/java/com/ltu/m7019e/v23/themoviedb/viewmodel/SecondFragmentViewModelFactory.kt | Jovali99 | 639,393,965 | false | null | package com.ltu.m7019e.v23.themoviedb.viewmodel
import android.app.Application
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import java.lang.IllegalArgumentException
class SecondFragmentViewModelFactory (private val application: Application): ViewModelProvider.Factory {
override... | 0 | Kotlin | 0 | 1 | c6b7108fe7b912947894ad49043d3ac141e6be26 | 598 | GameDB | MIT License |
src/main/kotlin/model/StringType.kt | toolisticon | 493,962,736 | false | {"Kotlin": 474632, "Java": 1511} | package io.toolisticon.kotlin.avro.model
import _ktx.StringKtx
import io.toolisticon.kotlin.avro.model.wrapper.AvroSchema
import io.toolisticon.kotlin.avro.model.wrapper.AvroSchemaChecks.isLongType
import io.toolisticon.kotlin.avro.model.wrapper.SchemaSupplier
import io.toolisticon.kotlin.avro.value.*
import org.apach... | 8 | Kotlin | 0 | 4 | f055d311158a6135b97ba0a8c88ee154ac064e72 | 1,269 | avro-kotlin | Apache License 2.0 |
app/src/main/java/ru/techmas/magicmirror/api/RestApi.kt | techmas | 127,767,270 | false | {"Gradle": 3, "Java Properties": 2, "Shell": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "XML": 41, "Proguard": 1, "Java": 4, "Kotlin": 81} | package ru.techmas.magicmirror.api
import com.jakewharton.retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory
import java.io.IOException
import java.util.concurrent.TimeUnit
import okhttp3.Interceptor
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2... | 0 | Kotlin | 0 | 0 | 5fde89b53f7731dee27627eb8b15e9e508719a35 | 3,013 | magic_mirror_android | Apache License 2.0 |
commons/views/src/main/java/com/summit/views/ProgressBarDialog.kt | cesarwillymc | 326,488,032 | false | null |
package com.summit.views
import android.content.Context
import android.view.LayoutInflater
import androidx.annotation.StringRes
import androidx.appcompat.app.AlertDialog
import com.summit.views.databinding.ViewProgressDialogBinding
class ProgressBarDialog(
context: Context
) : AlertDialog(context, R.style.Custo... | 0 | Kotlin | 0 | 2 | 9583792cfc3832bdc5b76584ff90a741f4b87458 | 1,199 | AddFast | Apache License 2.0 |
app/src/main/java/dog/snow/androidrecruittest/DI/FragmentsBuilderModule.kt | Miltentt | 290,806,290 | true | {"Kotlin": 45418} | package dog.snow.androidrecruittest.DI
import dagger.Module
import dagger.android.ContributesAndroidInjector
import dog.snow.androidrecruittest.ui.ListFragment
@Module
abstract class FragmentsBuilderModule {
@ContributesAndroidInjector
abstract fun listfragment() : ListFragment
} | 0 | Kotlin | 0 | 0 | a86ac6a567d3e5d05bbc34db02632af4230131ca | 292 | android-recruitment-test | Apache License 2.0 |
slack_data_layer/src/commonMain/kotlin/dev/baseio/grpc/GrpcCalls.kt | oianmol | 528,898,439 | false | {"Kotlin": 752408, "Swift": 113141, "Ruby": 11800, "Shell": 587, "Objective-C": 486, "C": 1} | package dev.baseio.grpc
import dev.baseio.slackdata.common.KMEmpty
import dev.baseio.slackdata.common.kmEmpty
import dev.baseio.slackdata.protos.*
import dev.baseio.slackdomain.AUTH_TOKEN
import dev.baseio.slackdomain.CoroutineDispatcherProvider
import dev.baseio.slackdomain.datasources.local.SKLocalKeyValueSource
imp... | 3 | Kotlin | 21 | 235 | 143f06c11b757641fd3e67809f57dee9f2ffd04b | 15,333 | SlackComposeMultiplatform | Apache License 2.0 |
data/kernel/src/main/kotlin/black/bracken/zeropoint/data/kernel/model/ChosenApiDataSource.kt | blackbracken | 562,543,698 | false | {"Kotlin": 110068} | package black.bracken.zeropoint.data.kernel.model
enum class ChosenApiDataSource {
REMOTE,
FAKE,
UNSET,
}
| 12 | Kotlin | 0 | 1 | 221eb73653378689fa1ffb3f681a1f7482a1ef5a | 114 | zero-point | MIT License |
data/src/main/java/com/semicolon/data/util/HttpHandler.kt | Walkhub | 443,006,389 | false | null | package com.semicolon.data.util
import com.semicolon.domain.exception.*
import retrofit2.HttpException
import java.net.SocketTimeoutException
import java.net.UnknownHostException
class HttpHandler<T> {
private lateinit var httpRequest: suspend () -> T
private var onBadRequest: (message: String) -> Throwable ... | 5 | Kotlin | 1 | 29 | 5070c2c33365f2db6f57975078e1ecd7594f66fa | 2,866 | walkhub_android | MIT License |
androidScreenshotTestTool/src/main/java/by/game/binumbers/screenshot/test/tool/provider/LanguageProvider.kt | alexander-kulikovskii | 565,271,232 | false | {"Kotlin": 454229, "Swift": 3274, "Ruby": 2480, "Shell": 622} | package by.game.binumbers.screenshot.test.tool.provider
import com.google.testing.junit.testparameterinjector.TestParameter
internal object LanguageProvider : TestParameter.TestParameterValuesProvider {
override fun provideValues() = listOf(
"en", "ru"
)
}
| 0 | Kotlin | 0 | 10 | 66b1678b47a96a52ebef467111d1d4854a37486a | 275 | 2048-kmm | Apache License 2.0 |
ktmidi-ci/src/commonMain/kotlin/dev/atsushieno/ktmidi/ci/ImplementationSettings.kt | atsushieno | 340,913,447 | false | {"Kotlin": 888353, "Swift": 600, "HTML": 352, "Shell": 301} | package dev.atsushieno.ktmidi.ci
object ImplementationSettings {
/**
* JUCE 7.0.9 has a bug that it does not assign "subscribeId" field in Reply to Subscription message,
* which is required by Common Rules for MIDI-CI Property Extension specification (section 9.1).
* Therefore, it is impossible for ... | 9 | Kotlin | 6 | 69 | 48792a4826cea47edbec7eabcd62d5a489dd374e | 881 | ktmidi | MIT License |
course/src/main/java/org/openedx/course/presentation/unit/video/VideoViewModel.kt | openedx | 613,282,821 | false | {"Kotlin": 1313883} | package org.openedx.course.presentation.unit.video
import androidx.lifecycle.viewModelScope
import androidx.media3.common.C
import org.openedx.core.BaseViewModel
import org.openedx.course.data.repository.CourseRepository
import org.openedx.core.system.notifier.CourseNotifier
import org.openedx.core.system.notifier.Cou... | 68 | Kotlin | 12 | 9 | c736918608a5781f95d056f3494628c7e0bf7f19 | 1,368 | openedx-app-android | Apache License 2.0 |
app/src/main/java/com/dilsahozkan/papafood/common/MapExtention.kt | dilekdilsahozkan | 810,291,020 | false | {"Kotlin": 95375} | package com.dilsahozkan.papafood.common
import com.dilsahozkan.papafood.data.local.entity.NotificationEntity
import com.dilsahozkan.papafood.data.local.entity.RecipeEntity
import com.dilsahozkan.papafood.data.remote.model.Recipe
import com.dilsahozkan.papafood.data.remote.model.SearchRecipe
fun SearchRecipe.toLocal()... | 0 | Kotlin | 0 | 0 | 58c528af3a474136ea3d4946425c3ced79889a5a | 983 | PapaFood | MIT License |
domain/src/main/java/com/nomtek/domain/api/models/quote/AirQualityResponseModel.kt | nomtek | 158,526,655 | false | null | package com.nomtek.domain.api.models.quote
import com.google.gson.annotations.SerializedName
data class AirQualityResponseModel(
@SerializedName("id")
var id: String? = null,
@SerializedName("caqi")
var caqi: Double? = null
) | 0 | Kotlin | 0 | 0 | 750a111121c778b906d0876234b4994ad09f49cd | 262 | SmartMirror | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsstrengthsbasedneedsassessmentsapi/oasys/controller/response/OasysAssessmentVersionResponse.kt | ministryofjustice | 623,389,131 | false | {"Kotlin": 368674, "Makefile": 3803, "Dockerfile": 1194} | package uk.gov.justice.digital.hmpps.hmppsstrengthsbasedneedsassessmentsapi.oasys.controller.response
import uk.gov.justice.digital.hmpps.hmppsstrengthsbasedneedsassessmentsapi.controller.response.AssessmentResponse
import uk.gov.justice.digital.hmpps.hmppsstrengthsbasedneedsassessmentsapi.persistence.entity.Assessmen... | 3 | Kotlin | 0 | 0 | df9bfeb8a6954a96cb72e22b1edd997946114978 | 924 | hmpps-strengths-based-needs-assessments-api | MIT License |
feature/compose/garden_planting_list/src/main/java/tw/com/deathhit/feature/compose/garden_planting_list/GardenPlantingListScreen.kt | Deathhit | 718,070,517 | false | null | package tw.com.deathhit.feature.compose.garden_planting_list
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.collectAsState
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.paging.compose.collectAsLazyPagingItems
@Composabl... | 0 | null | 0 | 3 | 90511cf25cb743bce74da030fc6a108bd362331b | 1,075 | SunflowerClone | Apache License 2.0 |
libraries/core/src/androidTest/kotlin/io/plastique/util/AesCryptorTest.kt | plastiqueapp | 150,879,887 | false | null | package io.plastique.util
import android.security.keystore.KeyGenParameterSpec
import android.security.keystore.KeyProperties
import org.junit.After
import org.junit.Assert.assertEquals
import org.junit.Assert.assertFalse
import org.junit.Assert.assertNotEquals
import org.junit.Assert.assertTrue
import org.junit.Asser... | 0 | Kotlin | 2 | 9 | 9271853f3741add18822858cbad9d4f8e8104f54 | 3,249 | plastique | Apache License 2.0 |
libraries/core/src/androidTest/kotlin/io/plastique/util/AesCryptorTest.kt | plastiqueapp | 150,879,887 | false | null | package io.plastique.util
import android.security.keystore.KeyGenParameterSpec
import android.security.keystore.KeyProperties
import org.junit.After
import org.junit.Assert.assertEquals
import org.junit.Assert.assertFalse
import org.junit.Assert.assertNotEquals
import org.junit.Assert.assertTrue
import org.junit.Asser... | 0 | Kotlin | 2 | 9 | 9271853f3741add18822858cbad9d4f8e8104f54 | 3,249 | plastique | Apache License 2.0 |
shared/src/commonMain/kotlin/com/thomaskioko/tvmaniac/datasource/repository/tvshow/TvShowsRepository.kt | c0de-wizard | 361,393,353 | false | null | package com.thomaskioko.tvmaniac.datasource.repository.tvshow
import com.kuuurt.paging.multiplatform.PagingData
import com.thomaskioko.tvmaniac.datasource.cache.Show
import com.thomaskioko.tvmaniac.datasource.enums.ShowCategory
import com.thomaskioko.tvmaniac.datasource.repository.TrendingShowData
import com.thomaskio... | 3 | Kotlin | 1 | 16 | 051aaba6359199cb8f9815feb6e96e0f5580d589 | 857 | tv-maniac | Apache License 2.0 |
core/entity/src/main/kotlin/dev/pott/abonity/core/entity/subscription/UpcomingSubscriptions.kt | JohannesPtaszyk | 695,929,733 | false | {"Kotlin": 510273} | package dev.pott.abonity.core.entity.subscription
import kotlinx.datetime.LocalDate
data class UpcomingSubscriptions(
val subscriptions: Map<LocalDate, List<SubscriptionWithPeriodInfo>>,
val hasAnySubscriptions: Boolean,
val period: PaymentPeriod,
)
| 6 | Kotlin | 0 | 2 | 3a5d8e8c8f65c2131523a51dee620a602cfcf58c | 264 | Abonity | Apache License 2.0 |
app/src/main/java/fr/kokyett/rsspire/activities/EntriesActivity.kt | Kokyett | 640,213,902 | false | null | package fr.kokyett.rsspire.activities
import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.view.menu.MenuBuilder
import androidx.core.view.MenuCompat
... | 0 | null | 0 | 1 | 84bf480bfedf19d430bb0c3344c8d4b68cccdd7f | 3,787 | RSSpire | Do What The F*ck You Want To Public License |
app/src/main/java/com/gcect/gcectapp/ui/fragments/HistoryViewFragment.kt | anistdnt | 458,702,833 | true | {"Kotlin": 144960} | package com.gcect.gcectapp.ui.fragments
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import com.bumptech.glide.Glide
import com.gcect.gcectapp.R
import com.gcect.gcect... | 0 | Kotlin | 0 | 1 | 2a71986d8388ac5b6c079e200bacf23078cd9845 | 1,298 | GCECT-APP | MIT License |
app/src/main/java/com/kinsight/kinsightmultiplatform/ViewModels/IdeaViewModelFactory.kt | dmitrish | 214,333,630 | false | null | package com.kinsight.kinsightmultiplatform.ViewModels
import android.app.Application
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
class IdeaViewModelFactory(val application: Application, val userName: String) : ViewModelProvider.Factory {
override fun <T : ViewModel?> create(mod... | 0 | null | 11 | 42 | b2fd162b28e46a09983346efcfd16674f923cd02 | 409 | kinsight-multiplatform | Apache License 2.0 |
ui-common/src/main/java/com/facebook/fresco/ui/common/BaseControllerListener2.kt | facebook | 31,533,997 | false | {"Java": 2895425, "Kotlin": 1024596, "C++": 183862, "C": 53836, "Makefile": 10411, "Python": 10096, "Shell": 840} | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.fresco.ui.common
import com.facebook.fresco.ui.common.ControllerListener2.Extras
open class BaseController... | 233 | Java | 3751 | 17,073 | dbb46cebfffeeabf289db5f4a8d64950ba1e020d | 1,150 | fresco | MIT License |
app/src/main/java/com/github/meudayhegde/esputils/listeners/OnValidationListener.kt | meudayhegde | 179,924,023 | false | {"Kotlin": 373055, "HTML": 689} | package com.github.meudayhegde.esputils.listeners
interface OnValidationListener {
fun onValidated(verified: Boolean)
} | 0 | Kotlin | 0 | 0 | 64657bb214e6adc93d279dc08f6f6456932c6e69 | 124 | ESPUtils_android | Apache License 2.0 |
app/src/main/java/com/example/myapplication/data/movie_data/Movie.kt | AssasinNik | 751,365,646 | false | {"Kotlin": 183992, "Java": 97790} | package com.example.myapplication.data.movie_data
import androidx.room.Entity
import androidx.room.PrimaryKey
import androidx.room.TypeConverter
import androidx.room.TypeConverters
import com.example.myapplication.util.Converters
@Entity(tableName = "movies")
data class Movie(
@PrimaryKey val movieId: Int? = null... | 0 | Kotlin | 0 | 1 | 731cf4758f4c398b1780f4cd4625e98cd60ee8ef | 585 | Films_mob_app | Apache License 2.0 |
test/src/me/anno/tests/maths/grid/HexagonGridMathsTest.kt | AntonioNoack | 456,513,348 | false | null | package me.anno.tests.maths.grid
import me.anno.ecs.components.chunks.hexagon.HexagonGridMaths
import me.anno.ecs.components.chunks.hexagon.HexagonGridMaths.coordsToIndex
import me.anno.ecs.components.chunks.hexagon.HexagonGridMaths.indexToCoords
import me.anno.ecs.components.chunks.hexagon.HexagonGridMaths.neighbors
... | 0 | null | 3 | 24 | 63377c2e684adf187a31af0f4e5dd0bfde1d050e | 3,470 | RemsEngine | Apache License 2.0 |
demo/src/main/java/com/adamkobus/compose/navigation/demo/ui/tabhost/DemoTabs.kt | AdamKobus | 453,682,860 | false | null | package com.adamkobus.compose.navigation.demo.ui.tabhost
import com.adamkobus.compose.navigation.demo.R
object DemoTabs {
val Cats = DemoTabData(index = 0, R.drawable.ic_cat, R.string.tab_cats)
val Dogs = DemoTabData(index = 1, R.drawable.ic_dog, R.string.tab_dogs)
}
| 14 | Kotlin | 0 | 5 | a7dae0f6e2254ad074206eeee1d971e9d82ae741 | 278 | compose-navigation | MIT License |
app/src/main/java/ca/uwaterloo/ofn/ui/components/OptionButtons.kt | anukulkarni9 | 535,947,464 | false | {"Kotlin": 98233} | package ca.uwaterloo.ofn.ui.components
import android.util.Log
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.offset
import androidx.compose.material.BottomNavigation
import ... | 0 | Kotlin | 0 | 0 | b80497e8105fea16c904a985125ec9959a406841 | 2,924 | Open-Food-Network | MIT License |
lib/src/main/kotlin/kt/nio/context/dispatcher.kt | lesa1127 | 342,808,247 | false | null | package kt.nio
import kotlinx.coroutines.*
import kt.nio.singlethread.select.asIOCoroutineDispatcher
import java.util.concurrent.Executors
import kotlin.coroutines.ContinuationInterceptor
import kotlin.coroutines.CoroutineContext
internal val AVAILABLE_PROCESSORS = Runtime.getRuntime().availableProcessors()
internal ... | 1 | Kotlin | 1 | 1 | 781402de5a331867d110a45e4e232c12ee55260f | 872 | Kotlin-Nio | MIT License |
packages/model/src/commonMain/kotlin/elide/model/annotations/Model.kt | elide-dev | 506,113,888 | false | {"Kotlin": 3684260, "JavaScript": 1178449, "Java": 270000, "Protocol Buffer": 129393, "Shell": 59627, "Dockerfile": 34733, "Makefile": 25715, "Cap'n Proto": 14850, "CSS": 14718, "Python": 2760, "Handlebars": 1954, "PureBasic": 1623, "HTML": 1010, "Ruby": 47, "Swift": 23} | package elide.annotations
/**
* Marks an application-level class as a data model, which makes it eligible for reflective use (even in native
* circumstances such as on GraalVM).
*
* Classes marked as models become available for reflection for all constructors, fields, and methods. Models should
* typically only d... | 37 | Kotlin | 4 | 61 | bfe2aa004daa62cb844773e6c49b0773499afc7e | 582 | elide | MIT License |
shared/src/commonMain/kotlin/com/pablichj/templato/component/demo/treebuilders/PanelTreeBuilder.kt | pablichjenkov | 135,388,611 | false | null | package com.pablichj.templato.component.demo.treebuilders
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Add
import androidx.compose.material.icons.filled.Email
import androidx.compose.material.icons.filled.Home
import androidx.compose.material.icons.filled.Refresh
import an... | 0 | Kotlin | 0 | 26 | 578c5b01d9ae1dc8f2de64318d912304bf6116d1 | 4,805 | component-toolkit | The Unlicense |
app/src/main/java/com/zobaer53/starwars/app/planet/data/datasource/remote/PlanetRemoteDataSource.kt | zobaer53 | 718,458,210 | false | {"Kotlin": 99449} | package com.zobaer53.starwars.app.planet.data.datasource.remote
import com.zobaer53.starwars.app.planet.data.model.dto.PlanetDto
interface PlanetRemoteDataSource {
suspend fun getPlanet(page: Int): PlanetDto
} | 0 | Kotlin | 0 | 0 | f2afd064918b69c8f2e69691162006e33224c8e2 | 215 | StarWars | Apache License 2.0 |
src/main/java/zd/zero/waifu/motivator/plugin/motivation/VisualMotivationFactory.kt | diamondlee7 | 308,873,487 | true | {"Kotlin": 139102, "Java": 63057, "CSS": 538, "HTML": 283, "Shell": 80} | package zd.zero.waifu.motivator.plugin.motivation
import com.intellij.openapi.project.Project
import zd.zero.waifu.motivator.plugin.alert.VisualWaifuNotification
import zd.zero.waifu.motivator.plugin.alert.AlertConfiguration
import zd.zero.waifu.motivator.plugin.alert.NonTitledVisualNotification
import zd.zero.waifu.m... | 0 | null | 0 | 0 | eae1e1affaf7c67900bbfb4671016a26ce21a4be | 1,194 | waifu-motivator-plugin | MIT License |
arrow-libs/fx/arrow-fx-reactor/src/main/kotlin/arrow/fx/reactor/extensions/monok/monadError/MonoKMonadError.kt | clojj | 343,913,289 | true | {"Kotlin": 6274993, "SCSS": 78040, "JavaScript": 77812, "HTML": 21200, "Scala": 8073, "Shell": 2474, "Ruby": 83} | package arrow.fx.reactor.extensions.monok.monadError
import arrow.Kind
import arrow.core.Either
import arrow.fx.reactor.DeprecateReactor
import arrow.fx.reactor.ForMonoK
import arrow.fx.reactor.MonoK
import arrow.fx.reactor.MonoK.Companion
import arrow.fx.reactor.extensions.MonoKMonadError
import kotlin.Boolean
import... | 0 | null | 0 | 0 | 5eae605bbaeb2b911f69a5bccf3fa45c42578416 | 1,931 | arrow | Apache License 2.0 |
src/main/kotlin/Collections.kt | RodrigoMaliachi | 483,433,536 | false | {"Kotlin": 5740, "Java": 767} | class Collections {
} | 0 | Kotlin | 0 | 0 | ef763a28115360e683271d6edd85952d60786a80 | 21 | KotlinGuide | Creative Commons Zero v1.0 Universal |
src/main/kotlin/Collections.kt | RodrigoMaliachi | 483,433,536 | false | {"Kotlin": 5740, "Java": 767} | class Collections {
} | 0 | Kotlin | 0 | 0 | ef763a28115360e683271d6edd85952d60786a80 | 21 | KotlinGuide | Creative Commons Zero v1.0 Universal |
FetLifeKotlin/app/src/main/java/com/bitlove/fetlife/ui/base/BaseFragment.kt | JosephineSharp | 123,910,949 | false | null | package com.bitlove.fetlife.ui.base
import android.app.Fragment
import android.arch.lifecycle.Lifecycle
import android.arch.lifecycle.LifecycleOwner
import android.arch.lifecycle.LifecycleRegistry
import android.databinding.ViewDataBinding
import android.os.Bundle
import android.support.annotation.LayoutRes
import and... | 1 | null | 1 | 1 | 670d8f38aec11216a87edfaeae79b168f300a867 | 938 | android | MIT License |
js/js.translator/testData/box/vararg/jsExternalInterfaceVararg.kt | JetBrains | 3,432,266 | false | null | // DONT_TARGET_EXACT_BACKEND: JS
// KJS_WITH_FULL_RUNTIME
// Generated briges must not contain any casts!
// CHECK_NOT_CALLED_IN_SCOPE: function=THROW_CCE scope=collect1
// CHECK_NOT_CALLED_IN_SCOPE: function=THROW_CCE scope=collect2
// CHECK_NOT_CALLED_IN_SCOPE: function=THROW_CCE scope=collect3
// CHECK_NOT_CALLED_I... | 181 | null | 5748 | 49,172 | 33eb9cef3d146062c103f9853d772f0a1da0450e | 6,822 | kotlin | Apache License 2.0 |
feat/photo/src/main/kotlin/taiwan/no/one/photo/navigation/PhotoNavigation.kt | SmashKs | 587,383,005 | false | {"Kotlin": 53677} | package taiwan.no.one.photo.navigation
import androidx.compose.runtime.Composable
import androidx.navigation.NavController
import androidx.navigation.NavOptions
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavController
import kotli... | 0 | Kotlin | 0 | 0 | c13f13ab8f695adc3c06347312e7c6c5fd5b620a | 830 | TurboDisco | Apache License 2.0 |
geeksmediapicker/src/main/java/com/geeksmediapicker/utils/ViewExtensions.kt | RKSharma89 | 273,859,263 | true | {"Kotlin": 54189} | package com.geeksmediapicker.utils
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.widget.Toast
import com.geeksmediapicker.R
import kotlinx.android.synthetic.main.my_custom_toast.view.*
fun View.visible() {
if (visibility != View.VISIBLE){
visibi... | 0 | null | 0 | 0 | 173a32d057370fbf2e589cf5c0f19bd2056a9789 | 913 | GeeksMediaPicker | MIT License |
src/main/kotlin/com/deviseworks/mccBackend/Configuration.kt | rokuosan | 465,776,609 | false | {"Kotlin": 14664} | package com.deviseworks.mccBackend
import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.stereotype.Component
@Component
@ConfigurationProperties(prefix = "application")
class Configuration{
lateinit var foo: String
} | 1 | Kotlin | 0 | 0 | 0bac3a5fbfbf120c28fc7bc9f35b37fdae671a05 | 272 | mcc-backend | MIT License |
VehicleUI/src/main/java/com/drivequant/drivekit/vehicle/ui/bluetooth/fragment/SuccessBluetoothFragment.kt | DriveQuantPublic | 216,339,559 | false | {"Kotlin": 1621305, "Java": 8753} | package com.drivequant.drivekit.vehicle.ui.bluetooth.fragment
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.drivequant.drivekit.common.ui.DriveKitUI
import com.drivequant.drivekit.common.ui.extension.b... | 0 | Kotlin | 2 | 9 | 7eb8a49d22480eff0caf8fbfb90984a3101e59d7 | 2,825 | drivekit-ui-android | Apache License 2.0 |
library/src/iosMain/kotlin/com/myunidays/newrelik/TraceListener.ios.kt | MyUNiDAYS | 712,370,458 | false | {"Kotlin": 35458, "Shell": 1049} | package com.myunidays.newrelik
actual class TraceListener
| 0 | Kotlin | 0 | 6 | 47912fdfb27d010b2ddc5ce88815b192bba6651f | 59 | newrelik | MIT License |
app/src/main/java/io/github/wellingtoncosta/customviews/api/RepositoryService.kt | wellingtoncosta | 240,489,091 | false | null | package io.github.wellingtoncosta.customviews.api
import io.github.wellingtoncosta.customviews.domain.entity.Repository
interface RepositoryService {
suspend fun fetchAll(userName: String): List<Repository>
}
| 0 | Kotlin | 0 | 2 | 8a966f718acc687150134c1dee6cca168a721576 | 217 | android-custom-views | MIT License |
app/src/main/java/com/example/foodrecipeapplicaiton/ui/view/screens/ChatScreen.kt | sumeyrapolat | 809,992,467 | false | {"Kotlin": 147568} | package com.example.foodrecipeapplicaiton.ui.view.screens
import android.graphics.Bitmap
import androidx.activity.result.ActivityResultLauncher
import androidx.activity.result.PickVisualMediaRequest
import androidx.activity.result.contract.ActivityResultContracts
import androidx.compose.foundation.Image
import android... | 0 | Kotlin | 0 | 0 | f5a364557dafbdec33c3a26cf153f9d05fdc7ef4 | 11,129 | FoodRecipeApplication | MIT License |
src/test/kotlin/com/absheikh/ApplicationTest.kt | absheikh | 578,624,054 | false | {"Kotlin": 9822, "FreeMarker": 6141, "HTML": 65} | package com.absheikh
import io.ktor.server.routing.*
import io.ktor.http.*
import io.ktor.server.auth.*
import io.ktor.util.*
import io.ktor.server.sessions.*
import freemarker.cache.*
import io.ktor.server.freemarker.*
import io.ktor.server.http.content.*
import io.ktor.server.application.*
import io.ktor.server.resp... | 0 | Kotlin | 2 | 3 | 89cff02afbbdce8e84d2cca6ab855cff9eb17a69 | 801 | User-Authentication-With-Ktor-Freemarker-and-Postgres | MIT License |
app/src/main/java/com/steve_md/smartmkulima/model/mpesamodels/MpesaTransaction.kt | MuindiStephen | 559,873,955 | false | {"Kotlin": 539281, "Java": 83493, "CMake": 595, "C++": 247} | package com.steve_md.smartmkulima.model.mpesamodels
import com.google.gson.annotations.SerializedName
// The callback
data class MpesaTransaction(
@SerializedName("Body")
val body: Body
) {
data class Body(
@SerializedName("stkCallback")
val stkCallback: StkCallback
) {
data cl... | 3 | Kotlin | 1 | 5 | 68684f1f12deb4f5f9114096de93cb95b4deed0f | 1,166 | Agri-Sasa | MIT License |
domain/src/main/java/my/clean/domian/common/Mapper.kt | WenhaoWu | 208,652,075 | false | null | package my.clean.domian.common
import io.reactivex.Flowable
abstract class Mapper<in T, E> {
abstract fun mapFrom(from: T): E
fun flowable(from: T): Flowable<E> = Flowable.fromCallable { mapFrom(from) }
fun flowable(from: List<T>): Flowable<List<E>> =
Flowable.fromCallable { from.map { mapFrom(i... | 0 | Kotlin | 0 | 0 | a197a46d357d11d2d21b8fb83186ea2acab37c12 | 328 | clean_sample | Apache License 1.1 |
SceytChatUiKit/src/main/java/com/sceyt/sceytchatuikit/presentation/uicomponents/conversationinfo/media/adapter/viewholder/VoiceViewHolder.kt | sceyt | 549,073,085 | false | {"Kotlin": 1977226, "Java": 130301} | package com.sceyt.sceytchatuikit.presentation.uicomponents.conversationinfo.media.adapter.viewholder
import android.content.res.ColorStateList
import androidx.core.view.isVisible
import com.sceyt.chat.models.user.User
import com.sceyt.sceytchatuikit.R
import com.sceyt.sceytchatuikit.databinding.SceytItemChannelVoiceBi... | 1 | Kotlin | 0 | 0 | c1509fc14b97021473205ca2733c0472078af5e9 | 6,679 | sceyt-chat-android-uikit | MIT License |
core/content-core/src/main/java/com/devgary/contentcore/util/annotations/Experimental.kt | DevGary | 522,521,628 | false | {"Kotlin": 105447} | package com.devgary.contentcore.util.annotations
/**
* Signifies that the annotated code is experimental and will probably
* need improvements to iron out some issues
*/
annotation class Experimental
| 11 | Kotlin | 0 | 1 | 47a6a17793e29617a1c1b66e2ac394472dbd322b | 205 | ContentView | MIT License |
src/main/kotlin/data/persistence/DbFactory.kt | JJSwigut | 805,493,547 | false | {"Kotlin": 69924} | package data.persistence
import app.cash.sqldelight.driver.jdbc.sqlite.JdbcSqliteDriver
import com.jjswigut.klippaklip.Database
object DbFactory {
fun createDb(): Database {
val driver = JdbcSqliteDriver("jdbc:sqlite:klippaklip.db")
Database.Schema.create(driver)
return Database(driver)
... | 0 | Kotlin | 0 | 1 | 7c427cdb86bdeace9f1a51c4e4dc21922efb05d0 | 327 | KlippaKlip | MIT License |
embrace-android-sdk/src/test/java/io/embrace/android/embracesdk/injection/PayloadModuleImplTest.kt | embrace-io | 704,537,857 | false | {"Kotlin": 2807710, "C": 190147, "Java": 175321, "C++": 13140, "CMake": 4261} | package io.embrace.android.embracesdk.injection
import io.embrace.android.embracesdk.fakes.FakeOpenTelemetryModule
import io.embrace.android.embracesdk.fakes.injection.FakeAndroidServicesModule
import io.embrace.android.embracesdk.fakes.injection.FakeAnrModule
import io.embrace.android.embracesdk.fakes.injection.FakeC... | 19 | Kotlin | 8 | 133 | c3d8b882d91f7200c812d8ffa2dee5b820263c0d | 1,472 | embrace-android-sdk | Apache License 2.0 |
app/src/main/java/com/mlsa_uet_nc/repeatalarm/presentation/ui/alarm_list/AlarmListItem.kt | MLSA-UET-Lahore-NC | 866,128,754 | false | {"Kotlin": 21875} | package com.mlsa_uet_nc.repeatalarm.presentation.ui.alarm_list
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import andro... | 0 | Kotlin | 2 | 3 | 935ee25d7a68e18d630e00fb221a722b675b5ad4 | 2,369 | RepeatingAlarm | MIT License |
src/main/kotlin/REPLACE_DOMAIN/REPLACE_GROUP/REPLACE_APP_NAME/model/db/entities/DummyEntity.kt | nicos-dev | 552,050,005 | false | null | package REPLACE_DOMAIN.REPLACE_GROUP.REPLACE_APP_NAME.model.db.entities
import javax.persistence.*
@Entity(name = "dummy")
@Table(name = "dummy")
class DummyEntity(
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
val id: Long? null,
@Column(name = "name", nullable = false)
val name: Stri... | 0 | Kotlin | 0 | 0 | ace1f61d845a5d63d09bc162df7de6adf3aa3e22 | 337 | spring-boot-template-project | MIT License |
app/src/main/java/me/hgj/jetpackmvvm/demo/adapter/NavigationChildAdapter.kt | weileng11 | 258,465,593 | false | null | package me.hgj.jetpackmvvm.demo.adapter
import android.text.Html
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import me.hgj.jetpackmvvm.demo.R
import me.hgj.jetpackmvvm.demo.app.ext.setAdapterAnimion
import me.hgj.jetpackmvvm.demo.app.util.ColorUt... | 1 | Kotlin | 1 | 4 | 652e67dc7453a35654bb27c06a64e5ee7cc54690 | 873 | JetpackMvvmDemo | Apache License 2.0 |
app/src/main/java/me/hgj/jetpackmvvm/demo/adapter/NavigationChildAdapter.kt | weileng11 | 258,465,593 | false | null | package me.hgj.jetpackmvvm.demo.adapter
import android.text.Html
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import me.hgj.jetpackmvvm.demo.R
import me.hgj.jetpackmvvm.demo.app.ext.setAdapterAnimion
import me.hgj.jetpackmvvm.demo.app.util.ColorUt... | 1 | Kotlin | 1 | 4 | 652e67dc7453a35654bb27c06a64e5ee7cc54690 | 873 | JetpackMvvmDemo | Apache License 2.0 |
core/src/main/kotlin/Convenience.kt | PeterAttardo | 804,656,874 | false | {"Kotlin": 109509} | package com.attardo.assertainty.core
//Type returned by calls to <Table>#assert(...){...}
typealias AssertBlockResults<Column> = Map<DataAssertion<Column>, List<DataAssertionResult<Column>>>
//Type returned by calls to <Table>#compute(...){...}
typealias ComputeBlockResults<Column> = Map<DataAssertion<Column>, List<C... | 0 | Kotlin | 0 | 1 | ffc447856045a95b7b4833c5a7447c61289b4051 | 931 | Assertainty | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.