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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
core/src/main/java/org/nekobasu/core/SingleModuleFragment.kt | nekobasu-framework | 175,214,451 | false | null | package org.nekobasu.core
import android.os.Bundle
import android.os.Parcelable
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.VisibleForTesting
import androidx.fragment.app.Fragment
abstract class Param(open val moduleClass: Class<out UiModule<*,*... | 0 | Kotlin | 0 | 0 | fd066449ccb37854a50697af8fb5e2b7e69291d0 | 2,427 | nekobasu | Apache License 2.0 |
shared/src/commonMain/kotlin/me/next/serverdriven/core/ServerDrivenNodeProvider.kt | vinisauter | 697,948,272 | false | {"Kotlin": 30229, "Swift": 580, "Shell": 228} | package me.next.serverdriven.core
import me.next.serverdriven.core.library.SDLibrary
import me.next.serverdriven.core.tree.ServerDrivenNode
interface ServerDrivenNodeProvider{
val library: SDLibrary
val node: ServerDrivenNode
} | 0 | Kotlin | 0 | 0 | 5e0822a5d96e58e68ce37145f8677158aa226f80 | 239 | compose-multiplatform-sdui | Apache License 2.0 |
src/main/kotlin/ru/quipy/service/DefaultAuthService.kt | sad-bkt | 622,333,499 | false | null | package ru.quipy.service
import com.itmo.microservices.demo.auth.api.model.AuthenticationRequest
import com.itmo.microservices.demo.auth.api.model.AuthenticationResult
import org.springframework.security.access.AccessDeniedException
import org.springframework.security.core.Authentication
import org.springframework.sec... | 0 | Kotlin | 1 | 0 | ee51280a483cb804483ec1a747865ca3324aa49a | 1,655 | tiny-event-sourcing-demo | Apache License 2.0 |
plugins/kotlin/idea/tests/testData/quickfix/smartCastImpossibleInIfThen/ifThen3.kt | ingokegel | 72,937,917 | false | null | // "Replace 'if' expression with safe access expression" "true"
// WITH_STDLIB
class Test {
var x: String? = ""
fun test() {
if (x != null) foo(<caret>x)
}
fun foo(s: String) = 1
}
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.SmartCastImpossibleInIfThenFactory$createQuickFix$1 | 1 | null | 1 | 2 | b07eabd319ad5b591373d63c8f502761c2b2dfe8 | 315 | intellij-community | Apache License 2.0 |
particle-aa/android/src/main/kotlin/network/particle/aa_flutter/bridge/module/AABridge.kt | Particle-Network | 553,295,413 | false | {"Dart": 429438, "Kotlin": 151950, "Swift": 132938, "Java": 23062, "Ruby": 20903, "Python": 5032, "Objective-C": 266} | package network.particle.aa_flutter.bridge.module
import android.app.Activity
import androidx.annotation.Keep
import com.blankj.utilcode.util.GsonUtils
import com.blankj.utilcode.util.LogUtils
import com.particle.base.ParticleNetwork
import com.particle.base.isSupportedERC4337
import com.particle.erc4337.ParticleNetwo... | 0 | Dart | 6 | 17 | f98ce8ab0e35b649b72da1b4b1efdb321fd5eafc | 4,331 | particle-flutter | Apache License 2.0 |
mod_main/src/main/java/com/sum/main/MainActivity.kt | aa845863168 | 783,307,642 | false | {"Kotlin": 705864, "Java": 13836} | package com.sum.main
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.navigation.NavController
import androidx.navigation.findNavController
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.alibaba.an... | 0 | Kotlin | 0 | 0 | 4ef823ab4927e6e85ba8972dbebcc44b507c4e09 | 3,302 | CombatProject | Apache License 2.0 |
app/src/main/java/dev/entao/speak/model/Account.kt | yangentao | 181,301,596 | false | null | package dev.entao.speak.model
import dev.entao.kava.base.Length
import dev.entao.kava.sql.*
class Account : Model() {
@PrimaryKey
@AutoInc
var id: Long by model
@Unique
@Index
@Length(32)
var phone: String by model
@Length(64)
var pwd: String by model
companion object : ModelClass<Account>()
} | 0 | Kotlin | 0 | 0 | bbc3ef0dd96a553af61654bbc25c983aa87ac255 | 310 | keb | MIT License |
src/main/kotlin/no/nav/familie/ef/sak/vurdering/medlemskap/Medlemskapsgrunnlag.kt | blommish | 359,371,467 | false | {"YAML": 13, "Ignore List": 2, "CODEOWNERS": 1, "Maven POM": 1, "Dockerfile": 1, "Text": 1, "Markdown": 1, "XML": 4, "JSON": 21, "Kotlin": 394, "Java": 1, "GraphQL": 8, "SQL": 43, "Shell": 1} | package no.nav.familie.ef.sak.vurdering.medlemskap
import no.nav.familie.ef.sak.integration.dto.pdl.PdlSøker
import no.nav.familie.kontrakter.ef.søknad.SøknadOvergangsstønad
class Medlemskapsgrunnlag(val søker: PdlSøker,
val medlemskapshistorikk: Medlemskapshistorikk,
... | 1 | null | 1 | 1 | 0e850df593c82a910c68c2393e6d2f30fc49eaa7 | 357 | familie-ef-sak | MIT License |
common/src/test/java/io/blockv/common/JsonUnitTest.kt | VatomInc | 401,319,567 | true | {"Kotlin": 317235, "Java": 3833} | package io.blockv.common
import io.blockv.common.util.JsonUtil
import org.json.JSONArray
import org.json.JSONObject
import org.junit.Assert
import org.junit.Test
class JsonUnitTest {
@Test
fun primitiveAddTest() {
val left = JSONObject().put("a", "A")
val right = JSONObject().put("b", "B")
val expec... | 0 | null | 0 | 1 | e306fc8255172df99eb0f63ba639c58960c29951 | 2,244 | android-sdk | RSA Message-Digest License |
shared/src/iosMain/kotlin/com/intive/picover/shared/common/uri/Uri.ios.kt | Android-Guild | 719,500,100 | false | {"Kotlin": 116975, "Swift": 760} | package com.intive.picover.shared.common.uri
import dev.gitlive.firebase.storage.File
actual class Uri(actual val data: String) {
actual fun toFile(): File {
TODO("Not yet implemented")
}
}
| 10 | Kotlin | 0 | 0 | 9e78dacd17eb34455601e06bb37cee721f7c3aeb | 197 | Picover-KMP | Apache License 2.0 |
app/src/main/java/com/bossed/waej/ui/AdjRecordActivity.kt | Ltow | 710,230,789 | false | {"Kotlin": 2304560, "Java": 395495, "HTML": 71364} | package com.bossed.waej.ui
import android.os.Bundle
import android.view.View
import androidx.recyclerview.widget.LinearLayoutManager
import com.blankj.utilcode.util.GsonUtils
import com.blankj.utilcode.util.LogUtils
import com.blankj.utilcode.util.ToastUtils
import com.bossed.waej.R
import com.bossed.waej.adapter.AdjR... | 0 | Kotlin | 0 | 0 | 8c2e9928f6c47484bec7a5beca32ed4b10200f9c | 2,994 | wananexiu | Mulan Permissive Software License, Version 2 |
src/main/kotlin/ApiModels.kt | Plastix | 99,883,218 | false | null | import com.google.gson.annotations.SerializedName
data class Activity(val distance: Double, // meters
@SerializedName("total_elevation_gain")
val elevationGain: Double, // meters
@SerializedName("moving_time")
val movingTime: Int, // secon... | 0 | Kotlin | 0 | 1 | 029f11d4bb0fb8587447186f236dbdec32937f37 | 851 | Strava-Summer-2017-Stats | MIT License |
CounterCycle/app/src/main/java/com/glung/github/counter/cycle/MainActivity.kt | brianegan | 45,690,301 | false | null | package com.glung.github.counter.cycle
import android.content.Context
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.view.View
import android.widget.LinearLayout
import org.jetbrains.anko.button
import org.jetbrains.anko.textView
import org.jetbrains.anko.verticalLayout
import ... | 1 | null | 1 | 1 | a233446c2ab9f2ac843d7c611ba1a5a91abb8400 | 1,526 | DroidconFr | MIT License |
app/src/main/java/com/nullpointer/nourseCompose/ui/share/measureItem/ContainerMeasureItem.kt | Hcnc100 | 734,531,705 | false | {"Kotlin": 126563} | package com.nullpointer.nourseCompose.ui.share.measureItem
import androidx.compose.animation.animateColorAsState
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Surface
import androidx.compose.runtime.Composable
import androidx... | 0 | Kotlin | 0 | 0 | 0880a76cd818c2c90e82a798d8354a966c9165b1 | 968 | NurseCompose2 | MIT License |
Music Wiki/MusicWiki/app/src/main/java/com/adityamshidlyali/musicwiki/model/artistmodel/ArtistTopTracksResponse.kt | AdityaShidlyali | 591,732,762 | false | null | package com.adityamshidlyali.musicwiki.model.artistmodel
import com.google.gson.annotations.SerializedName
/**
* File contains the Artist's top tracks Response POJO,
* parsed by Retrofit ScalarConverters
*/
data class ArtistTopTracksResponse(
val toptracks: TopTracks
)
data class TopTracks(
val track: Lis... | 0 | Kotlin | 0 | 0 | 8170c323fec9c628249b3b85999666a15bc415fa | 521 | MusicWiki_Assessment | MIT License |
presentation/src/main/java/com/sebastianopighi/moviefinder/utils/BaseActivity.kt | sebastianopighi | 166,530,880 | false | {"Kotlin": 47579, "Java": 1122} | package com.sebastianopighi.moviefinder.utils
import android.content.Context
import android.net.ConnectivityManager
import android.net.NetworkInfo
import android.support.v7.app.AlertDialog
import android.support.v7.app.AppCompatActivity
import android.view.View
import android.widget.ProgressBar
import com.sebastianopi... | 0 | Kotlin | 0 | 0 | d6b096e5a64943b33e858610edd878d6f7b2d8e1 | 2,455 | movie-finder | MIT License |
kurrent-example-service/src/test/kotlin/org/lodenstone/kurrent/example/service/ComponentTest.kt | papaledoupe | 162,044,250 | false | null | package org.lodenstone.kurrent.example.service
import io.restassured.RestAssured.`when`
import io.restassured.RestAssured.given
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.Matchers.equalTo
import org.junit.ClassRule
import org.junit.Test
import org.slf4j.LoggerFactory
import org.testcontainers.con... | 0 | Kotlin | 0 | 0 | ff3310d44946aa00bd7091b2ce790c93492d6d52 | 4,241 | kurrent | MIT License |
src/jsMain/kotlin/net.ormr.userskripter/js/UnsafeJs.kt | Olivki | 567,409,820 | false | {"Kotlin": 80483} | /*
* Copyright 2022 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | 0 | Kotlin | 0 | 2 | 733ac4cb140bcd21614693f05ac717828f9d698f | 725 | userskripter | Apache License 2.0 |
app/src/main/java/me/hegj/wandroid/di/module/share/ShareByIdModule.kt | hegaojian | 206,478,384 | false | null | package me.hegj.wandroid.di.module.share
import com.jess.arms.di.scope.ActivityScope
import dagger.Module
import dagger.Provides
import me.hegj.wandroid.mvp.contract.share.ShareByIdContract
import me.hegj.wandroid.mvp.model.share.ShareByIdModel
/**
* ================================================
* Description... | 1 | null | 100 | 713 | 622016c9695c01f3a134a23c4af1f76686aad6f1 | 1,164 | WanAndroid | Apache License 2.0 |
src/main/java/space/impact/space/api/world/gen/layer/base/WorldGeneratorData.kt | GT-IMPACT | 596,182,208 | false | null | package space.impact.space.api.world.gen.layer.base
import net.minecraft.block.Block
import space.impact.space.api.world.gen.biome.Biome
import space.impact.space.api.world.gen.chunk.ChunkProviderBase
import space.impact.space.utils.Array2
class WorldGeneratorData(
val chunkProvider: ChunkProviderBase,
val ch... | 0 | Kotlin | 0 | 0 | bc08703a93b60d0150f38995c74f61f41613da20 | 503 | S.P.A.C.E | MIT License |
src/day13/b/day13b.kt | pghj | 577,868,985 | false | {"Kotlin": 94937} | package day13.b
import readInputLines
import shouldBe
fun main() {
val msg = readInput()
val div0 = Message(listOf(Message(2)))
val div1 = Message(listOf(Message(6)))
msg.add(div0)
msg.add(div1)
msg.sort()
val i0 = msg.indexOfFirst { it === div0 } + 1
val i1 = msg.indexOfFirst { it ==... | 0 | Kotlin | 0 | 0 | 4b6911ee7dfc7c731610a0514d664143525b0954 | 2,141 | advent-of-code-2022 | Apache License 2.0 |
src/day13/b/day13b.kt | pghj | 577,868,985 | false | {"Kotlin": 94937} | package day13.b
import readInputLines
import shouldBe
fun main() {
val msg = readInput()
val div0 = Message(listOf(Message(2)))
val div1 = Message(listOf(Message(6)))
msg.add(div0)
msg.add(div1)
msg.sort()
val i0 = msg.indexOfFirst { it === div0 } + 1
val i1 = msg.indexOfFirst { it ==... | 0 | Kotlin | 0 | 0 | 4b6911ee7dfc7c731610a0514d664143525b0954 | 2,141 | advent-of-code-2022 | Apache License 2.0 |
client-app/app/src/main/java/org/feup/group4/supermarket/adapters/Coupons.kt | fernandorego | 609,645,133 | false | null | package org.feup.group4.supermarket.adapters
import android.app.Activity
import android.content.Context
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import org.feup.group4.supermarket.R
import org.feup.group4.supermarket.model.Coupon
val coupons = ArrayList<C... | 0 | Kotlin | 0 | 0 | 624e2b8950465534e0627820ba89b4ea43a3e582 | 1,014 | feup-cpm-supermarket | MIT License |
buildSrc/src/main/java/Libs.kt | PizzaMarinara | 489,516,976 | false | null | object Libs {
const val ktLintVersion = "0.43.2"
const val gradlePluginVersion = "7.1.3"
const val androidGradlePlugin = "com.android.tools.build:gradle:$gradlePluginVersion"
const val ktLint = "com.pinterest:ktlint:$ktLintVersion"
object Plugins {
object Spotless {
const val ve... | 0 | Kotlin | 0 | 1 | f412b59d58119e3cb2dd48c717497f7aad3b108d | 5,735 | yaat | MIT License |
app/src/main/java/cucerdariancatalin/sms_messenger/adapters/ContactsAdapter.kt | cucerdariancatalin | 586,080,344 | false | null | package cucerdariancatalin.sms_messenger.adapters
import android.text.TextUtils
import android.util.TypedValue
import android.view.Menu
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import com.bumptech.glide.Glide
import com.simplemobiletools.comm... | 0 | Kotlin | 0 | 2 | bde8d17dfc800c3a291a96d3b4ee653f335019bb | 3,285 | SMSMessenger | MIT License |
common/src/commonMain/kotlin/com/darkrockstudios/apps/hammer/common/data/timelinerepository/TimeLineDatasource.kt | Wavesonics | 499,367,913 | false | {"Kotlin": 1630287, "Swift": 32452, "CSS": 2064, "Ruby": 1578, "Shell": 361} | package com.darkrockstudios.apps.hammer.common.data.timelinerepository
import com.darkrockstudios.apps.hammer.common.data.ProjectDef
import com.darkrockstudios.apps.hammer.common.dependencyinjection.injectIoDispatcher
import com.darkrockstudios.apps.hammer.common.fileio.HPath
import com.darkrockstudios.apps.hammer.com... | 19 | Kotlin | 6 | 128 | 5eb281596110fe9c315f9c53d5412a93078f870d | 2,623 | hammer-editor | MIT License |
ui-kit/src/test/java/com/quickblox/android_ui_kit/stub/source/LocalFileDataSourceStub.kt | QuickBlox | 637,751,718 | false | {"Kotlin": 1833847} | /*
* Created by Injoit on 08.02.2023.
* Copyright © 2023 Quickblox. All rights reserved.
*/
package com.quickblox.android_ui_kit.stub.source
import com.quickblox.android_ui_kit.data.dto.local.file.LocalFileDTO
import com.quickblox.android_ui_kit.data.source.local.LocalFileDataSource
open class LocalFileDataSourceS... | 1 | Kotlin | 0 | 4 | 0ef856d22efb1540d6e238a073badbf31c03961a | 1,063 | android-ui-kit | MIT License |
airwallex/src/main/java/com/airwallex/android/view/BillingWidget.kt | airwallex | 231,053,387 | false | null | package com.airwallex.android.view
import android.app.Activity
import android.content.Context
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.View
import android.widget.LinearLayout
import com.airwallex.android.core.model.Address
import com.airwallex.android.core.model.Billing
i... | 2 | null | 4 | 7 | 2898fb7f3fcbe71ee9e27981618777b195eb01c5 | 3,702 | airwallex-payment-android | MIT License |
common-app-covpass/src/main/java/de/rki/covpass/app/updateinfo/UpdateInfoCovpassFragment.kt | Digitaler-Impfnachweis | 376,239,258 | false | null | /*
* (C) Copyright IBM Deutschland GmbH 2021
* (C) Copyright IBM Corp. 2021
*/
package de.rki.covpass.app.updateinfo
import android.os.Bundle
import android.view.View
import com.ibm.health.common.navigation.android.FragmentNav
import com.ibm.health.common.navigation.android.findNavigator
import de.rki.covpass.app.... | 33 | Kotlin | 60 | 185 | 7301f1500dab4a686aa40341500667cf4cc54d1e | 1,605 | covpass-android | Apache License 2.0 |
app/src/main/java/com/example/qpuc/fragments/PlayersFragment.kt | PierreLeBlond | 842,879,957 | false | {"Kotlin": 39813} | package com.example.qpuc.fragments
import android.os.Bundle
import android.view.View
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.GridLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.example.qpuc.PlayerItemView
import com.example.qpuc... | 0 | Kotlin | 0 | 0 | d92204a4fd31a577a2ce81ede45172933b1d548a | 5,351 | qpuc | MIT License |
app/src/main/java/com/example/basicfirebase/MapsActivity.kt | YatinGarg07 | 518,119,226 | false | {"Kotlin": 65284, "PHP": 1151} | package com.example.basicfirebase
import android.content.ContentValues
import android.content.ContentValues.TAG
import android.content.Context
import android.content.pm.PackageManager
import android.graphics.Bitmap
import android.graphics.Canvas
import android.graphics.drawable.BitmapDrawable
import android.graphics.d... | 0 | Kotlin | 0 | 0 | 6d48ea5bd439512f2e7c7a971681286bb5d8cc74 | 17,015 | dash-it | MIT License |
kt/godot-library/src/main/kotlin/godot/gen/godot/CollisionShape.kt | ShalokShalom | 343,354,086 | true | {"Kotlin": 516486, "GDScript": 294955, "C++": 262753, "C#": 11670, "CMake": 2060, "Shell": 1628, "C": 959, "Python": 75} | // THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName")
package godot
import godot.annotation.GodotBaseType
import god... | 0 | null | 0 | 1 | 7b9b195de5be4a0b88b9831c3a02f9ca06aa399c | 2,023 | godot-jvm | MIT License |
api/src/main/kotlin/me/modesto/compass/anno/ModuleAnno.kt | modestoma | 495,862,673 | false | {"Kotlin": 34384} | package me.modesto.compass.anno
/**
* Description.
*
* @author Created by <NAME> in 2022/5/29
*/
annotation class ModuleAnno(val module: String) | 0 | Kotlin | 0 | 0 | ca79422f0300eed5bc56110bf06a2d59e6ac3c54 | 149 | compass | Apache License 2.0 |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/broken/Direct.kt | Tlaster | 560,394,734 | false | {"Kotlin": 25133302} | package moe.tlaster.icons.vuesax.vuesaxicons.broken
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.... | 0 | Kotlin | 0 | 2 | b8a8231e6637c2008f675ae76a3423b82ee53950 | 3,750 | VuesaxIcons | MIT License |
app/src/main/java/io/github/vladimirmi/internetradioplayer/data/db/entity/Station.kt | DL44227 | 178,415,007 | true | {"Kotlin": 342234, "Java": 7538} | package io.github.vladimirmi.internetradioplayer.data.db.entity
import androidx.room.*
import io.github.vladimirmi.internetradioplayer.domain.model.Media
import java.util.*
/**
* Created by <NAME> 28.08.2018.
*/
@Entity(foreignKeys = [ForeignKey(
entity = Group::class,
parentColumns = ["id"],
... | 0 | Kotlin | 0 | 0 | d2eac5d745d69ed9510eba5c08529c04927db3f1 | 1,242 | InternetRadioPlayer | MIT License |
app/src/main/java/com/test/a1consmostest/MainActivity.kt | Abhishek1511991 | 361,062,594 | false | null | package com.test.a1consmostest
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import androidx.recyclerview.widget.DividerItemDecoratio... | 0 | Kotlin | 0 | 0 | 6968615b92ce1c0d2de33f3d40397e716c9d72d4 | 3,417 | 1Consmos_Test | Apache License 2.0 |
livedata/src/main/java/jp/co/fuller/yakan/livedata/Event.kt | fuller-inc | 355,201,243 | false | null | package jp.co.fuller.yakan.livedata
/**
* a type for fire [EventLiveData]. an alias of [Unit]
*/
typealias Event = Unit
| 5 | Kotlin | 2 | 4 | 417c5d2f55d48833c7c45c0737df0618ec1105e7 | 123 | yakan | Apache License 2.0 |
src/test/kotlin/kmat/array/IArrayTest.kt | ChanSek | 191,615,919 | false | null | package kmat.array
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.Assertions.assertEquals
class IArrayTest {
@Test
fun `array creation through varargs`() {
val arr = iArrayOf(2, 3, 5, 7)
val intArr = intArrayOf(2, 3, 5, 7)
val iArr = iArrayOf(2, 3, 5, 7)
assert... | 0 | Kotlin | 0 | 0 | 70cdb7ecec8681f5b16ab66ea39ec1c9799f1cf4 | 892 | KMat | Apache License 2.0 |
src/test/kotlin/kmat/array/IArrayTest.kt | ChanSek | 191,615,919 | false | null | package kmat.array
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.Assertions.assertEquals
class IArrayTest {
@Test
fun `array creation through varargs`() {
val arr = iArrayOf(2, 3, 5, 7)
val intArr = intArrayOf(2, 3, 5, 7)
val iArr = iArrayOf(2, 3, 5, 7)
assert... | 0 | Kotlin | 0 | 0 | 70cdb7ecec8681f5b16ab66ea39ec1c9799f1cf4 | 892 | KMat | Apache License 2.0 |
client/slack-api-client/src/main/kotlin/com/kreait/slack/api/group/groups/GroupsLeaveMethod.kt | ironaraujo | 249,748,914 | true | {"Kotlin": 1212878, "Shell": 935} | package com.kreait.slack.api.group.groups
import com.kreait.slack.api.contract.jackson.group.groups.ErrorGroupsLeaveResponse
import com.kreait.slack.api.contract.jackson.group.groups.GroupsLeaveRequest
import com.kreait.slack.api.contract.jackson.group.groups.SuccessfulGroupsLeaveResponse
import com.kreait.slack.api.g... | 0 | null | 0 | 0 | 07edb441421961b0d84d8f95e97f8b25f48a360e | 594 | slack-spring-boot-starter | MIT License |
sqlite-embedder-chicory/src/jvmMain/kotlin/ru/pixnews/wasm/sqlite/open/helper/chicory/host/module/wasi/func/FdSync.kt | illarionov | 769,429,996 | false | {"Kotlin": 1077242, "C": 65190, "C++": 61910} | /*
* Copyright 2024, the wasm-sqlite-open-helper project authors and contributors. Please see the AUTHORS file
* for details. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
* SPDX-License-Identifier: Apache-2.0
*/
package ru.pixnews.wasm.sqlite.open.helper.chic... | 0 | Kotlin | 0 | 1 | 49bab6c6cd72999124e35ba009a1f8adfe9d8bb5 | 1,876 | wasm-sqlite-open-helper | Apache License 2.0 |
data/src/main/java/ch/srg/dataProvider/integrationlayer/data/SpriteSheet.kt | SRGSSR | 469,671,723 | false | null | package ch.srg.dataProvider.integrationlayer.data
import android.util.Rational
/**
* Copyright (c) SRG SSR. All rights reserved.
* <p>
* License information is available from the LICENSE file.
*/
data class SpriteSheet(
val urn: String,
val rows: Int,
val columns: Int,
val thumbnailHeight: Int,
... | 2 | Kotlin | 0 | 0 | 301bc0e145436294efd91f319effea53e0f499ef | 497 | srgdataprovider-android | MIT License |
src/main/kotlin/uk/gov/justice/digital/hmpps/createandvaryalicenceapi/service/probation/ProbationSearchResponse.kt | ministryofjustice | 384,371,667 | false | {"Kotlin": 1243805, "Shell": 9832, "Dockerfile": 1340} | package uk.gov.justice.digital.hmpps.createandvaryalicenceapi.service.probation
data class ProbationSearchResponse(
val content: List<ProbationSearchResponseResult>,
)
| 7 | Kotlin | 0 | 1 | f35bf67ea47fc783c49e35d915d40d42a4200aba | 171 | create-and-vary-a-licence-api | MIT License |
src/commonMain/kotlin/ai/hypergraph/kaliningraph/parsing/FLTheory.kt | breandan | 245,074,037 | false | {"Kotlin": 1562461, "Haskell": 744, "OCaml": 200} | package ai.hypergraph.kaliningraph.parsing
import ai.hypergraph.kaliningraph.types.*
// https://en.wikipedia.org/wiki/Regular_grammar
typealias REG = Set<Π2A<Σᐩ>>
val REG.language: REL by cache { REL(this) }
// Subsumption holds a fortiori: REG <: CFG <: CJL
val REG.asCFG: CFG by cache { map { (a, b) -> a to listOf(... | 0 | Kotlin | 9 | 117 | ab5d42a16081b76173191b57c9ff786c7d5c6f41 | 3,361 | galoisenne | Apache License 2.0 |
foregroundsdk/src/main/java/com/rotemati/foregroundsdk/internal/connectivity/ConnectivityJobService.kt | ironSource | 302,076,724 | false | null | package com.rotemati.foregroundsdk.internal.connectivity
import android.app.job.JobInfo
import android.app.job.JobParameters
import android.app.job.JobScheduler
import android.app.job.JobService
import android.content.ComponentName
import android.content.Context
import android.os.PersistableBundle
import com.rotemati.... | 1 | Kotlin | 0 | 19 | 01a38f1f30a705a03b24731bac1909bcb16d1d75 | 2,434 | alleviate | The Unlicense |
app/src/main/java/com/github/vase4kin/teamcityapp/base/tabs/data/OnTextTabChangeEvent.kt | vase4kin | 68,111,887 | false | null | /*
* Copyright 2019 <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 wri... | 0 | null | 11 | 52 | 9abb1ed56c127d64679124c38d30b0014ec024de | 913 | TeamCityApp | Apache License 2.0 |
kotlin/ktor/pokedex/src/main/kotlin/com/pradyotprkshpokedex/domain/modal/GenerationVII.kt | pradyotprksh | 385,586,594 | false | {"Kotlin": 2932498, "Dart": 1066884, "Python": 319755, "Rust": 180589, "Swift": 149003, "C++": 113494, "JavaScript": 103891, "CMake": 94132, "HTML": 57188, "Go": 45704, "CSS": 18615, "SCSS": 17864, "Less": 17245, "Ruby": 13609, "Dockerfile": 8581, "C": 8043, "Shell": 7657, "PowerShell": 3045, "Nix": 2616, "Makefile": 1... | package com.pradyotprkshpokedex.domain.modal
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class GenerationVII(
@SerialName("icons") val icons: Icons? = Icons(),
@SerialName("ultra-sun-ultra-moon") val ultraSunUltraMoon: UltraSunUltraMoon? = UltraSunUltr... | 0 | Kotlin | 11 | 24 | 4caa1e3995d2c51de8cc98183dd22486c4309292 | 330 | development_learning | MIT License |
app/src/main/java/com/example/jetpack_compose_all_in_one/demos/tiktok/components/profile/ProfileAppBar.kt | myofficework000 | 626,474,700 | false | {"Kotlin": 1392414} | package com.example.jetpack_compose_all_in_one.demos.tiktok.components.profile
import androidx.compose.material.*
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.ArrowBack
import androidx.compose.material.icons.filled.MoreVert
import androidx.compose.runtime.Composable
import... | 21 | Kotlin | 22 | 222 | 4de5418608d6917b5c97fac7d868454c424daa26 | 1,246 | Jetpack-Compose-All-in-one-Guide | MIT License |
oldAndroidProjects/More Projects/PraticeProjects/AndReadyCode/basic-android-kotlin-compose-training-inventory-app-starter/app/src/main/java/com/example/inventory/data/InventoryDatabase.kt | shivathapaa | 800,628,391 | false | {"Kotlin": 3491940, "Shell": 2341, "Swift": 621} | package com.example.inventory.data
import android.content.Context
import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
@Database(entities = [Item::class], version = 1, exportSchema = false)
abstract class InventoryDatabase : RoomDatabase() {
abstract fun itemDao(): ItemDao
... | 0 | Kotlin | 0 | 0 | c32fbea3c5dd8ee9c1286d30528f7daeabb2b190 | 1,425 | Android-Practice-Projects | The Unlicense |
presentation/src/main/java/com/yapp/bol/presentation/model/MemberResultItem.kt | YAPP-Github | 634,125,431 | false | {"Kotlin": 369447} | package com.yapp.bol.presentation.model
data class MemberResultItem(
val id: Int,
val role: String,
val nickname: String,
val level: Int,
var score: Int?,
val rank: Int,
)
| 1 | Kotlin | 2 | 14 | 4b5efbf0d68d5d2b03d4afd5a08e73e5bb67bd9b | 197 | onboard-aos | Apache License 2.0 |
android_app/app/src/main/java/com/match/android/ui/navigation/Navigator.kt | ivanschuetz | 363,045,305 | false | null | package com.match.android.ui.navigation
import androidx.navigation.NavController
import com.match.android.ui.navigation.NavigationCommand
import com.match.android.ui.navigation.NavigationCommand.Back
import com.match.android.ui.navigation.NavigationCommand.BackTo
import com.match.android.ui.navigation.NavigationComman... | 1 | null | 1 | 1 | 4a7fa336e3b4a60f4b3a8cce7c1b70f3afa6dff3 | 844 | peer_locator_apps | MIT License |
desktop/gui/src/main/kotlin/com/soyle/stories/storyevent/storyEventList/StoryEventListViewListener.kt | Soyle-Productions | 239,407,827 | false | null | package com.soyle.stories.storyevent.storyEventList
interface StoryEventListViewListener {
fun getValidState()
fun openStoryEventDetails(storyEventId: String)
fun renameStoryEvent(storyEventId: String, newName: String)
} | 45 | Kotlin | 0 | 9 | 1a110536865250dcd8d29270d003315062f2b032 | 226 | soyle-stories | Apache License 2.0 |
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Robot/Intake.kt | Lunerwalker2 | 298,631,196 | true | {"Gradle": 6, "Java Properties": 2, "Shell": 1, "Ignore List": 1, "Batchfile": 1, "Markdown": 7, "Text": 3, "YAML": 3, "XML": 21, "Java": 91, "Kotlin": 20} | package org.firstinspires.ftc.teamcode.Robot
import com.qualcomm.robotcore.hardware.DcMotor
import com.qualcomm.robotcore.hardware.DcMotorSimple
import org.firstinspires.ftc.teamcode.Util.HardwareNames
//Class that controls the front rollers of the robot
class Intake(robot: Robot): Component(robot) {
//The mo... | 0 | Java | 0 | 0 | 455cfe28af1ac44eba7a846f33ee16f4c7c8975a | 1,388 | UltimateGoal1002 | MIT License |
idea-plugin/src/main/kotlin/com/chutneytesting/idea/actions/util/dependencies-util.kt | owerfelli | 791,217,559 | true | {"Markdown": 64, "Batchfile": 2, "Shell": 2, "Gradle Kotlin DSL": 6, "INI": 5, "Java": 984, "HTML": 64, "JavaScript": 6, "Kotlin": 241, "SQL": 4, "Java Properties": 1, "Dockerfile": 3, "CSS": 1, "TypeScript": 250} | import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.module.Module
import com.intellij.openapi.module.ModuleManager
import com.intellij.openapi.project.Project
import com.intellij.openapi.roots.DependencyScope
import com.intellij.openapi.roots.ModuleRootManager
import com.intellij.open... | 0 | null | 0 | 0 | a7b0bf69921fd29f846763ba4e67e271dbfaad13 | 2,781 | chutney | Apache License 2.0 |
app/src/main/java/com/hh/androidbaselibrary/ui/dataStore/view/DataStoreActivity.kt | hHui056 | 673,264,161 | false | {"Java": 261954, "Kotlin": 113384, "C": 402, "Batchfile": 225} | package com.hh.androidbaselibrary.ui.dataStore.view
import android.annotation.SuppressLint
import android.os.Bundle
import com.hh.baselibrary.mvp.BaseActivity
import com.hh.androidbaselibrary.R
import com.hh.androidbaselibrary.ui.dataStore.contract.DataStoreContract
import com.hh.androidbaselibrary.ui.dataStore.presen... | 1 | null | 1 | 1 | ef73087afb2269623d6a2eac534ed1cde7b86050 | 1,387 | android_mvp_generate | Mulan Permissive Software License, Version 2 |
app/src/main/kotlin/com/dot/gallery/feature_node/presentation/ignored/setup/IgnoredSetupDestination.kt | IacobIonut01 | 614,314,251 | false | {"Kotlin": 1381485, "Shell": 455} | package com.dot.gallery.feature_node.presentation.ignored.setup
sealed class IgnoredSetupDestination(val route: String) {
data object Label : IgnoredSetupDestination("label")
data object Location : IgnoredSetupDestination("location")
data object Type : IgnoredSetupDestination("type")
data object Matche... | 87 | Kotlin | 66 | 1,292 | 261ceb8c5ade6ede7b295536b9384ac12d77f572 | 408 | Gallery | Apache License 2.0 |
app/src/main/java/com/example/tracktogether/repository/NotificationRepository.kt | reubencww | 719,651,264 | false | {"Kotlin": 324884} | package com.example.tracktogether.repository
import android.util.Log
import com.example.tracktogether.Interfaces.INotification
import com.google.firebase.firestore.FirebaseFirestore
/**
* This repo calls firestore for retrieving device token in device db
* Take in user id, approval status and notification interface... | 0 | Kotlin | 0 | 0 | d85425cb4e85d49713264b5ae157f02a207aa191 | 1,244 | TrackTogether | Apache License 2.0 |
caip/src/main/java/io/novafoundation/nova/caip/caip19/Caip19MatcherFactory.kt | novasamatech | 415,834,480 | false | {"Kotlin": 7667771, "Java": 14723, "JavaScript": 425} | package io.novafoundation.nova.caip.caip19
import io.novafoundation.nova.caip.caip19.matchers.Caip19Matcher
import io.novafoundation.nova.caip.caip19.matchers.asset.AssetMatcher
import io.novafoundation.nova.caip.caip19.matchers.asset.Erc20AssetMatcher
import io.novafoundation.nova.caip.caip19.matchers.asset.Slip44Ass... | 17 | Kotlin | 6 | 9 | 67cd6fd77aae24728a27b81eb7f26ac586463aaa | 1,831 | nova-wallet-android | Apache License 2.0 |
app/src/main/java/com/rmkrishna/mpermission/MainActivity.kt | rksaravanan17 | 163,178,645 | true | {"Kotlin": 28646, "Java": 7431} | /*
*
* Copyright 2018 <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 applicabl... | 0 | Kotlin | 0 | 0 | c4237c64dafc9b984a3860347f3b57b120f88ef0 | 3,586 | MPermission | Apache License 2.0 |
app/src/main/java/com/dshagapps/tupanakuy/common/domain/repository/DataRepository.kt | DaShagy | 635,954,834 | false | null | package com.dshagapps.tupanakuy.common.domain.repository
import android.net.nsd.NsdManager.RegistrationListener
import com.dshagapps.tupanakuy.common.domain.model.Chat
import com.dshagapps.tupanakuy.common.domain.model.Classroom
import com.dshagapps.tupanakuy.common.domain.model.Message
import com.dshagapps.tupanakuy.... | 0 | Kotlin | 0 | 0 | dc1e9df53fae617ee998f338d75b6ca5c4ff1c02 | 1,684 | tupanakuy | MIT License |
app/src/main/java/ru/ra66it/updaterforspotify/data/repositories/SpotifyRepository.kt | engmms | 229,234,986 | true | {"Kotlin": 90535} | package ru.ra66it.updaterforspotify.data.repositories
import ru.ra66it.updaterforspotify.data.network.SpotifyApi
import ru.ra66it.updaterforspotify.domain.model.Result
import ru.ra66it.updaterforspotify.domain.model.Spotify
import ru.ra66it.updaterforspotify.presentation.utils.safeApiCall
import javax.inject.Inject
im... | 0 | null | 0 | 0 | 88a9a766bab69d4ebcacc166c188f6a33b4a57f2 | 950 | updater-for-spotify | MIT License |
features/discovery/src/main/kotlin/feature/playground/product/hunt/posts/di/DiscoveryModuleBinds.kt | shawnthye | 420,680,965 | false | {"Kotlin": 416438} | package feature.playground.product.hunt.posts.di
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ViewModelComponent
import feature.playground.product.hunt.posts.data.DiscoverDataSource
import feature.playground.product.hunt.posts.data.DiscoverDataSourceImpl
... | 0 | Kotlin | 0 | 0 | 15df4f3acc202e88f2de0e62549e6e5386440c9e | 546 | playground | MIT License |
app/src/main/java/com/bayraktar/healthybackandneck/ui/Adapters/CalenderAdapter.kt | OzerBAYRAKTAR | 681,364,096 | false | {"Kotlin": 391409} | package com.bayraktar.healthybackandneck.ui.Adapters
import android.graphics.Color
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.bayraktar.healthybackandneck.R
import com.bayraktar.hea... | 0 | Kotlin | 0 | 0 | ffff5bab67a36818fa49b9993b33d1f8842e3ac6 | 2,173 | Fitbess-FitnessApplication | MIT License |
app/src/main/java/com/banuba/sdk/example/videocall/BanubaClientToken.kt | Banuba-Samples | 593,546,713 | false | null | package com.banuba.sdk.example.videocall
/**
* Client token for Banuba SDK. Consider obfuscation in release app.
*/
const val BANUBA_CLIENT_TOKEN: String = "<KEY>
| 0 | Kotlin | 0 | 0 | 5d2f24b55e3b14958921f7999f2fad4c6cde3dfa | 167 | videocall-android-kotlin | MIT License |
src/main/kotlin/pl/jwizard/api/network/contributor/dto/ContributorData.kt | jwizard-bot | 744,983,606 | false | {"Kotlin": 37713} | /*
* Copyright (c) 2024 by JWizard
* Originally developed by <NAME> <https://miloszgilga.pl>
*/
package pl.jwizard.api.network.contributor.dto
import pl.jwizard.api.network.contributor.ContributeVariant
data class ContributorData(
val nickname: String,
val profileLink: String,
val profileImageUrl: String,
val ... | 0 | Kotlin | 0 | 0 | 3fec7aeafe09b5d40ce7f7b994979c9e9b0ded57 | 350 | jwizard-api | Apache License 2.0 |
funcify-feature-eng-materializer/src/main/kotlin/funcify/feature/materializer/response/SerializedGraphQLResponseFactory.kt | anticipasean | 458,910,592 | false | null | package funcify.feature.materializer.response
/**
*
* @author smccarron
* @created 2022-08-05
*/
interface SerializedGraphQLResponseFactory {
fun builder(): SerializedGraphQLResponse.Builder
}
| 0 | Kotlin | 0 | 0 | 202a13324edc1d477c82b3de54a55a4cb72669ad | 204 | funcify-feature-eng | Apache License 2.0 |
projects/workforce-allocations-to-delius/src/main/kotlin/uk/gov/justice/digital/hmpps/integrations/delius/event/registration/Registration.kt | ministryofjustice | 500,855,647 | false | null | package uk.gov.justice.digital.hmpps.integrations.delius.event.registration
import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.FetchType
import jakarta.persistence.Id
import jakarta.persistence.JoinColumn
import jakarta.persistence.ManyToOne
import jakarta.persistence.OneToM... | 4 | Kotlin | 0 | 2 | d0c94f043b3b9d21aa3015e5f76b2462c473e76b | 2,113 | hmpps-probation-integration-services | MIT License |
app/src/main/java/dev/lucianosantos/exerciseplanner/fragments/collections/adapters/RoutineListAdapter.kt | lucianosantosdev | 579,394,983 | false | null | package dev.lucianosantos.exerciseplanner.fragments.collections.adapters
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.AsyncListDiffer
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import dev.lucianosantos.exercisepl... | 4 | Kotlin | 0 | 0 | 4f76125af0407248f0cb0d2441b0f0d50cc1df51 | 2,451 | ExercisePlanner | Apache License 2.0 |
src/nativeMain/kotlin/com.qiaoyuang.algorithm/round1/Questions29.kt | qiaoyuang | 100,944,213 | false | {"Kotlin": 294050} | package com.qiaoyuang.algorithm.round1
fun test29() {
printlnResult(testCase1())
printlnResult(testCase2())
printlnResult(testCase3())
printlnResult(testCase4())
printlnResult(testCase5())
printlnResult(testCase6())
}
/**
* Questions29: Println the matrix by clockwise and from outside to insi... | 0 | Kotlin | 3 | 6 | afb00ba9c3e590e8b9327899c3a49511f2b5a8d7 | 2,410 | Algorithm | Apache License 2.0 |
src/nativeMain/kotlin/com.qiaoyuang.algorithm/round1/Questions29.kt | qiaoyuang | 100,944,213 | false | {"Kotlin": 294050} | package com.qiaoyuang.algorithm.round1
fun test29() {
printlnResult(testCase1())
printlnResult(testCase2())
printlnResult(testCase3())
printlnResult(testCase4())
printlnResult(testCase5())
printlnResult(testCase6())
}
/**
* Questions29: Println the matrix by clockwise and from outside to insi... | 0 | Kotlin | 3 | 6 | afb00ba9c3e590e8b9327899c3a49511f2b5a8d7 | 2,410 | Algorithm | Apache License 2.0 |
src/main/kotlin/me/rhysxia/explore/server/configuration/graphql/annotation/GraphqlHandler.kt | RhysXia | 362,829,891 | false | null | package me.rhysxia.explore.server.configuration.graphql.annotation
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RUNTIME)
@MustBeDocumented
annotation class GraphqlHandler(
val parentType: String = "",
val fieldName: String = ""
)
| 6 | Kotlin | 0 | 0 | 8896c3c2916493ceb45b8cad488fd007446a65c9 | 260 | explore-server | MIT License |
src/main/kotlin/org/veupathdb/vdi/lib/common/env/DBEnvGroup.kt | VEuPathDB | 619,968,031 | false | {"Kotlin": 39055} | package org.veupathdb.vdi.lib.common.env
import org.veupathdb.vdi.lib.common.field.SecretString
data class DBEnvGroup(
val enabled: Boolean?,
val name: String?,
val ldap: String?,
val pass: SecretString?,
val controlSchema: String?,
val dataSchema: String?,
val poolSize: UByte?,
) {
companion object {... | 1 | Kotlin | 0 | 0 | 94bbb45ba6686ac54f746db300f778f485c7d1d2 | 1,935 | vdi-component-common | Apache License 2.0 |
app/src/main/java/com/domker/doctor/tool/photo/ExifItem.kt | MaisonWan | 330,649,879 | false | {"Kotlin": 424567, "Java": 274179} | package com.domker.doctor.tool.photo
/**
* 展示Exif的属性
*
* Created by wanlipeng on 2021/5/18 4:50 下午
*/
data class ExifItem(
// 分类
val subject: String,
// 展示内容
val content: String,
// 类型
val type: Int = TYPE_NORMAL,
// 扩展
val expend: Any? = null
)
| 0 | Kotlin | 0 | 0 | df13773545f278b8e2946a93bd0b30477e176120 | 286 | AppDoctor | Apache License 2.0 |
services/csm.cloud.project.api.timeseries/src/main/kotlin/com/bosch/pt/csm/cloud/projectmanagement/common/utils/LocaleUtils.kt | boschglobal | 805,348,245 | false | {"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344} | /*
* ************************************************************************
*
* Copyright: <NAME> Power Tools GmbH, 2018 - 2023
*
* ************************************************************************
*/
package com.bosch.pt.csm.cloud.projectmanagement.common.utils
import java.util.Locale
fun Loca... | 0 | Kotlin | 3 | 9 | 9f3e7c4b53821bdfc876531727e21961d2a4513d | 553 | bosch-pt-refinemysite-backend | Apache License 2.0 |
app/src/main/java/io/aiico/tnews/ui/navigation/NewsNavigator.kt | isalig | 256,065,262 | false | null | package io.aiico.tnews.ui.navigation
import io.aiico.news.feature.feed.navigation.FeedRouter
class NewsNavigator : FeedRouter {
private var router: NewsRouter? = null
fun setRouter(router: NewsRouter) {
this.router = router
}
fun removeRouter() {
router = null
}
fun showFeed() {
router?.sh... | 0 | Kotlin | 0 | 1 | 86b55b2b6ebe0367a52a373f64439769ac46d346 | 409 | tinkoff-news | Apache License 2.0 |
core/src/test/java/io/customer/sdk/data/store/ClientTest.kt | customerio | 355,691,391 | false | {"Kotlin": 574486, "Shell": 10050, "Makefile": 1568, "Ruby": 257} | package io.customer.sdk.data.store
import android.os.Bundle
import io.customer.commontest.core.RobolectricTest
import io.customer.sdk.Version
import org.amshove.kluent.shouldBeEqualTo
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
@RunWith(RobolectricTestRunner::cla... | 9 | Kotlin | 9 | 13 | 7ee9714bff991675042e7929ae269272f69a4706 | 2,506 | customerio-android | MIT License |
ClassExample/src/main/kotlin/Player3.kt | veyselharun | 540,364,292 | false | null |
class Player3 (name: String) {
} | 0 | Kotlin | 1 | 0 | f26b2190f9a4ccdc2ce3d5a9535340c8cf5499ec | 37 | DesingPatterns | MIT License |
app/src/main/java/com/gastropodinteractive/kotlinmvp/base/BaseFragment.kt | KeiLazu | 144,144,276 | false | null | package com.gastropodinteractive.kotlinmvp.base
import android.content.Context
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.View
import dagger.android.support.AndroidSupportInjection
/**
* Created by <NAME> on 8/9/2018
* check https://github.com/KeiLazu for more
*/
abstract... | 0 | Kotlin | 0 | 0 | 3e1134eef4f6774d2efb5e3fdb9a89d66885cc4f | 1,286 | Kotlin-MVP | MIT License |
app/src/main/java/com/example/virtusavellino/CapocannoniereFragment.kt | AndreaMagliulo | 815,258,755 | false | {"Kotlin": 14462} | package com.example.virtusavellino
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TableLayout
import android.widget.TableRow
import android.widget.TextView
import androidx.fragment.app.Fragment
class CapocannoniereFragment : Fra... | 0 | Kotlin | 0 | 0 | 5ae1bfff70d115fd8f641d57dc0ccbc77597d8f8 | 3,321 | ApplicazionePDM | Apache License 2.0 |
app/src/main/java/com/sharehands/sharehands_frontend/view/schedule/TodayServiceFragment.kt | kmkim2689 | 649,790,966 | false | {"Kotlin": 714518} | package com.sharehands.sharehands_frontend.view.schedule
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.sharehands.sharehands_frontend.R
import com.sharehands... | 0 | Kotlin | 0 | 0 | fa28733c4814bb0bcc42be23308c7cf23567e633 | 1,097 | sharehands-android | The Unlicense |
solar/src/main/java/com/chiksmedina/solar/outline/money/CardSend.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.outline.money
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.M... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 6,257 | SolarIconSetAndroid | MIT License |
app/src/main/java/com/android/hq/gank/gankkotlin/ui/adapter/ListAdapter.kt | heqiangflytosky | 283,121,001 | false | {"Kotlin": 55835} | package com.android.hq.gank.gankkotlin.ui.adapter
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.RecyclerView
import com.android.hq.gank.gankkotlin.R
import com.android.hq.gank.gankkotlin.data.*
import com.and... | 0 | Kotlin | 0 | 1 | 1a8ef154d9dc116859275d5a5e2081732b9a4db9 | 5,870 | GankKotlin | Apache License 2.0 |
autoconsent/autoconsent-impl/src/main/java/com/duckduckgo/autoconsent/impl/AutoconsentFeatureNameUtil.kt | hojat72elect | 822,396,044 | false | {"Kotlin": 11627106, "HTML": 65873, "Ruby": 16984, "C++": 10312, "JavaScript": 5520, "CMake": 1992, "C": 1076, "Shell": 784} |
package com.duckduckgo.autoconsent.impl
import com.duckduckgo.autoconsent.api.AutoconsentFeatureName
/**
* Convenience method to get the [AutoconsentFeatureName] from its [String] value
*/
fun autoconsentFeatureValueOf(value: String): AutoconsentFeatureName? {
return AutoconsentFeatureName.values().find { it.... | 0 | Kotlin | 0 | 0 | 54351d039b85138a85cbfc7fc3bd5bc53637559f | 339 | DuckDuckGo | Apache License 2.0 |
sample/src/main/java/com/jshvarts/lexiesample/presentation/notelist/NoteListViewModelFactory.kt | jshvarts | 153,018,042 | false | null | package com.jshvarts.lexiesample.presentation.notelist
import android.arch.lifecycle.ViewModel
import android.arch.lifecycle.ViewModelProvider
import com.jshvarts.lexiesample.domain.NoteListUseCase
class NoteListViewModelFactory(private val initialState: State?,
private val noteListUseC... | 0 | Kotlin | 0 | 0 | 5b07a7d24dca82071c7723c88575d0e0b414bd4c | 566 | Lexie2 | Apache License 2.0 |
src/main/kotlin/com/binbraw/Application.kt | fahmigutawan | 610,577,637 | false | null | package com.binbraw
import io.ktor.server.application.*
import io.ktor.server.engine.*
import io.ktor.server.netty.*
import com.binbraw.configuration.*
import com.binbraw.di.ApiInjection
import com.binbraw.di.TableInjection
import com.binbraw.data.database.DatabaseProvider
import com.binbraw.util.PasswordManager
impor... | 0 | Kotlin | 0 | 1 | 2b18fd59dc0198925dea279f71f08182d601e4ff | 1,484 | Ktor-Detaq | MIT License |
app/src/main/java/com/dantes/backstack/fargment/IdeasFragment.kt | vol4arrra | 155,413,913 | false | {"Kotlin": 31667} | package com.dantes.backstack.fargment
import android.content.Context
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Button
import com.dantes.backstack.MainActivityRouter
import com.dantes.ba... | 0 | Kotlin | 0 | 0 | f63dd3537c352667d2f9d4e3aec24cd87503cbb9 | 1,081 | lrt-fragments-back-stack | Apache License 2.0 |
app/src/main/java/com/example/mykotlinapp/ui/components/form/field_validators/RadioGroupFieldValidator.kt | vbounyasit | 522,266,559 | false | {"Kotlin": 507212} | package com.example.mykotlinapp.ui.components.form.field_validators
import android.content.Context
import android.widget.RadioGroup
import android.widget.Toast
import com.example.mykotlinapp.ui.components.form.FieldValidator
import com.example.mykotlinapp.ui.components.form.ValidationErrorData
import com.example.mykot... | 0 | Kotlin | 0 | 1 | a9812a061f9214b44ba326b77afe335a003cc22e | 843 | MyAndroidApp | Apache License 2.0 |
app/src/main/kotlin/com/dot/gallery/feature_node/presentation/common/components/MediaImage.kt | IacobIonut01 | 614,314,251 | false | null | /*
* SPDX-FileCopyrightText: 2023 IacobIacob01
* SPDX-License-Identifier: Apache-2.0
*/
package com.dot.gallery.feature_node.presentation.common.components
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.animateColorAsState
import androidx.compose.animation.core.animateDpAsSt... | 87 | null | 66 | 997 | 3510ea658dff358a0ea0716997082d0e06234c83 | 6,673 | Gallery | Apache License 2.0 |
smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/protocol/HttpProtocolUnitTestResponseGenerator.kt | kggilmer | 424,309,372 | true | {"Kotlin": 1738709, "Shell": 372} | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
package software.amazon.smithy.kotlin.codegen.rendering.protocol
import software.amazon.smithy.codegen.core.Symbol
import software.amazon.smithy.kotlin.codegen.core.*
import software.amazon.smithy.kotli... | 0 | Kotlin | 0 | 0 | df9c0461526e2c74e53407687f2310f463dd486d | 7,397 | smithy-kotlin | Apache License 2.0 |
app/src/main/java/com/kotlin/mvvm/ui/news/NewsActivity.kt | WaheedNazir | 219,207,243 | false | null | package com.kotlin.mvvm.ui.news
import android.os.Bundle
import androidx.activity.viewModels
import androidx.recyclerview.widget.LinearLayoutManager
import com.kotlin.mvvm.R
import com.kotlin.mvvm.base.BaseActivity
import com.kotlin.mvvm.databinding.ActivityNewsArticlesBinding
import com.kotlin.mvvm.databinding.EmptyL... | 1 | null | 52 | 340 | 927cb99e06917e58948ec858817dc5d3cd081639 | 3,004 | Kotlin-MVVM-Architecture | MIT License |
build-src/github-api/src/main/kotlin/json/Asset.kt | mohamedotaku | 746,142,354 | false | {"Kotlin": 848796} | package json
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
data class Asset(
@SerialName("browser_download_url") val browserDownloadUrl: String,
@SerialName("content_type") val contentType: String,
@SerialName("created_at") val createdAt: String,
@Seri... | 0 | Kotlin | 0 | 1 | 36fd4f0d8d1e91a74a9fe7560c4d07eee60ca50c | 767 | tachiyomi-extensions-template | Apache License 2.0 |
app/src/main/java/com/example/hiretop/ui/screens/candidate/profile/EditOrAddEducationSection.kt | Renekakpo | 757,782,501 | false | {"Kotlin": 402882} | package com.example.hiretop.ui.screens.candidate.profile
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.co... | 0 | Kotlin | 0 | 0 | 87446d3943eb660c4adb7c7e8ca69cd4f8d0e50a | 10,755 | hiretop | MIT License |
Compose/Udemy/course02/mealz/app/src/main/java/com/example/mealzapp/MealzApplication.kt | PierreVieira | 314,919,628 | false | null | package com.example.mealzapp
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class MealzApplication : Application() | 0 | Kotlin | 0 | 0 | 089c1c1e18a353c325e6cd51bfd02f0477ae53bf | 158 | AndroidApps | MIT License |
shared/src/androidMain/kotlin/korsi/sher/poem/data/local/DatabaseDriverFactory.kt | hamidrezasahraei | 680,321,487 | false | null | package korsi.sher.poem.data.local
import android.content.Context
import com.squareup.sqldelight.android.AndroidSqliteDriver
import com.squareup.sqldelight.db.SqlDriver
import korsi.sher.database.PoemDatabase
actual class DatabaseDriverFactory (
private val context: Context
){
actual fun create(): SqlDriver {... | 0 | Kotlin | 0 | 9 | 9f2b000ea8e14f31fca34522b344dbfafdd69365 | 476 | KorsiSher | MIT License |
app/src/main/java/com/codingWithUmair/app/notify/ui/screens/textNote/TextNoteViewModel.kt | rajaumair7890 | 649,727,543 | false | null | package com.codingWithUmair.app.notify.ui.screens.textNote
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.viewModelScope
import and... | 0 | Kotlin | 0 | 0 | c0fb3cf6ed0a60d3a2a3a1b23ecc4ebb73366a07 | 2,181 | Notify | Apache License 2.0 |
app/src/test/java/nl/jovmit/lyrics/main/register/RegisterFeature.kt | mitrejcevski | 187,831,953 | false | {"Kotlin": 200363, "Shell": 202} | package nl.jovmit.lyrics.main.register
import androidx.lifecycle.Observer
import com.nhaarman.mockitokotlin2.inOrder
import com.nhaarman.mockitokotlin2.whenever
import nl.jovmit.lyrics.InstantTaskExecutorExtension
import nl.jovmit.lyrics.common.TestCoroutineDispatchers
import nl.jovmit.lyrics.main.auth.AuthenticationR... | 1 | Kotlin | 0 | 0 | e1241d35629bf60c4e60e6744759b8064d1b0d62 | 2,409 | lyrics | Apache License 2.0 |
dessert-clicker/app/src/main/java/com/example/dessertclicker/data/DessertUiState.kt | Gabriel-Rodrigues13 | 741,078,861 | false | {"Kotlin": 280491} | package com.example.dessertclicker.data
import androidx.annotation.DrawableRes
import com.example.dessertclicker.data.Datasource.dessertList
data class DessertUiState(
val currentDessertIndex: Int = 0,
val dessertSold : Int = 0,
val totalRevenue: Int = 0,
val currentDessertPrice: Int = dessertList[cur... | 0 | Kotlin | 0 | 0 | 2317f01290b6e7f938ea3915ae555a40a5e31f45 | 438 | android_pathway | MIT License |
app/src/main/java/com/irancell/nwg/ios/network/get/SubmittedAuditService.kt | afshin1394 | 755,443,887 | false | {"Kotlin": 803604} | package com.irancell.nwg.ios.network.get
import com.irancell.nwg.ios.data.remote.response.AuditStateResponse
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path
interface SubmittedAuditService {
@GET("audit/submit-audit-project/{id}")
fun getSubmittedAudit(@Path("id") audit_id : Int): C... | 0 | Kotlin | 0 | 0 | 23a544780da643c4fa190bbe48d3bd9aa5673d88 | 345 | Audit | MIT License |
src/main/kotlin/no/nav/medlemskap/regler/v1/registrerteOpplysninger/FinnesOpplysningerIJoarkRegel.kt | navikt | 225,422,169 | false | {"Kotlin": 930982, "Gherkin": 415998, "Shell": 151, "Dockerfile": 147} | package no.nav.medlemskap.regler.v1.registrerteOpplysninger
import no.nav.medlemskap.domene.Datagrunnlag
import no.nav.medlemskap.domene.InputPeriode
import no.nav.medlemskap.domene.Journalpost
import no.nav.medlemskap.domene.Journalpost.Companion.finnesDokumenterMedTillatteTeamer
import no.nav.medlemskap.domene.Ytels... | 11 | Kotlin | 1 | 0 | ed1f6144b9c96ebec188b0b627c7ad106cc4e523 | 1,441 | medlemskap-oppslag | MIT License |
app/src/main/java/io/navendra/kreddit/services/IDataService.kt | navi25 | 149,083,448 | false | null | package io.navendra.kreddit.services
import io.navendra.kreddit.models.api.RedditNewsData
interface IDataService {
fun getRedditNewsData() : List<RedditNewsData>?
} | 0 | Kotlin | 0 | 1 | 5d0f90d36534268933118d5542623564c731cc93 | 171 | Kreddit | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.