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
samples/kotlin-anvil/src/main/kotlin/dev/arukumar/scabbard/anvil/ComponentMerging.kt
arunkumar9t2
145,462,355
false
null
/* * Copyright 2022 Arunkumar * * 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...
24
null
32
844
dde9550a7515d20668d789710298bbed6017cc09
1,176
scabbard
Apache License 2.0
kales-cli/src/test/kotlin/kales/cli/task/GenerateControllerTaskTest.kt
felipecsl
170,625,125
false
null
package kales.cli.task import com.github.ajalt.clikt.core.UsageError import com.google.common.truth.Truth.assertThat import org.junit.Test import org.junit.Rule import org.junit.rules.TemporaryFolder import java.io.File class GenerateControllerTaskTest { @get:Rule val tempDir = TemporaryFolder() @Test fun `test...
19
null
7
80
4a6bdd8918b5d2a12119ac6704a05451f7da05ad
2,042
kales
Apache License 2.0
examples/complete/android/demo/src/main/java/com/amazon/styledictionaryexample/color/BaseColorListItem.kt
amzn
75,121,110
false
{"JavaScript": 1216574, "TypeScript": 14876, "Shell": 127}
/** * Copyright 2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * or in the...
225
JavaScript
545
3,901
399de1331adfa16a94ba3f724a54f9267aa23345
1,331
style-dictionary
Apache License 2.0
app/src/main/java/com/xindaxin/sale/mvp/service/OrderService.kt
wangtonggen
150,836,909
false
null
package com.xindaxin.sale.mvp.service /** * @author: wtg by 2018/9/27 0027 * * * @desc: 订单类型的service * **/ @Deprecated("已经用CommonService来代替") interface OrderService { }
1
null
1
1
501fdcbf5aa7a2480353b70e27db03fb50c21c8b
175
Sale
Apache License 2.0
src/main/kotlin/Main.kt
Starlight220
367,166,731
false
null
package io.starlight.inspector import com.github.starlight220.actions.Environment import kotlin.streams.asSequence fun main() { println("config: ${System.getenv("INSPECTOR_CONFIG")}") val env = Environment.loadFrom<InspectorEnv>("INSPECTOR_CONFIG") /* Process: 1. Recursively walk files; for each f...
3
Kotlin
0
1
12d15ccef559bcc918c52b1525ccd10b23d6cfe4
983
Inspector
MIT License
domain/src/main/java/com/kekulta/events/domain/models/id/CommunityId.kt
kekulta
817,411,794
false
{"Kotlin": 317565}
package com.kekulta.events.domain.models.id import kotlinx.serialization.Serializable @JvmInline @Serializable value class CommunityId(val id: String)
0
Kotlin
0
7
b2b08eb781e27927354109d638d89c76ffe024be
152
Events
MIT License
app/src/main/java/com/example/linkup/MessageAdapter.kt
aayushkumar20
661,624,280
false
null
package com.example.linkup import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.TextView import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.RecyclerView.ViewHolder import com.google.firebase.auth...
0
Kotlin
0
1
ddffe464a6d0112edaeb55e1596673db8b92d3d1
2,072
ChatApp-LinkUp
MIT License
data/src/main/kotlin/pl/bkacala/threecitycommuter/repository/stops/RealBusStopsRepository.kt
BlazejKacala
738,632,039
false
{"Kotlin": 61083}
package pl.bkacala.threecitycommuter.repository.stops import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow import kotlinx.coroutines.flow.flowOn import pl.bkacala.threecitycommuter.client.NetworkClient import pl.bkacala.threecitycommuter.dao.BusStopsDao import p...
0
Kotlin
0
0
ee30b6050eea76f9f3cffa887821df826f903440
1,862
3citycommuter
Apache License 2.0
android/app/src/main/java/com/algorand/android/modules/transactionhistory/domain/mapper/PendingBaseTransactionMapper.kt
perawallet
364,359,642
false
{"Swift": 8753304, "Kotlin": 7709389, "Objective-C": 88978, "Shell": 7715, "Ruby": 4727, "C": 596}
/* * Copyright 2022 Pera Wallet, LDA * 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 writing,...
22
Swift
62
181
92fc77f73fa4105de82d5e87b03c1e67600a57c0
5,750
pera-wallet
Apache License 2.0
app/src/test/java/com/miguelbrmfreitas/itunes_searcher/StringExtensionTest.kt
MiguelbrmFreitas
548,562,167
false
{"Kotlin": 31180}
package com.miguelbrmfreitas.itunes_searcher import com.miguelbrmfreitas.domain.util.extensions.toFormattedDate import org.junit.Test import kotlin.test.assertEquals class StringExtensionTest { companion object { const val FAKE_API_DATE = "2009-07-10T07:00:00Z" const val VALID_FORMATTED_DATE = "Ju...
0
Kotlin
0
4
330dec36427618e74ae5bf132889d5fba3b0e87f
492
iTunes-searcher
MIT License
app/src/main/java/com/meetup/constraint/activity/ButtonTransitionActivity.kt
hulu
168,592,870
false
null
package com.meetup.constraint.activity import android.os.Bundle import android.transition.TransitionManager import androidx.appcompat.app.AppCompatActivity import androidx.constraintlayout.widget.ConstraintSet import com.meetup.constraint.R import kotlinx.android.synthetic.main.button_transition_manager.* class Butto...
0
Kotlin
0
2
d22a6fbe66f86d336182f18d3f2cade9295ffef5
2,753
android-constraintlayout
Apache License 2.0
app/src/main/java/com/biprangshu/newsapp/domain/usecases/SelectArticles.kt
jarvis1704
842,046,734
false
{"Kotlin": 79496}
package com.biprangshu.newsapp.domain.usecases import com.biprangshu.newsapp.data.local.NewsDao import com.biprangshu.newsapp.domain.model.Article import com.biprangshu.newsapp.domain.repository.NewsRepository import kotlinx.coroutines.flow.Flow class SelectArticles( private val newsRepository: NewsRepository ) {...
0
Kotlin
0
2
8c87ccb34701c0759b18dbd15f6f5df09e071754
425
News-App
Apache License 2.0
benchmark/src/main/java/com/schinizer/hackernews/benchmark/CollectBaselineProfile.kt
Schinizer
468,942,528
false
null
package com.schinizer.hackernews.benchmark import androidx.benchmark.macro.ExperimentalBaselineProfilesApi import androidx.benchmark.macro.junit4.BaselineProfileRule import androidx.test.uiautomator.By import androidx.test.uiautomator.Direction import org.junit.Rule import org.junit.Test @OptIn(ExperimentalBaselinePr...
0
Kotlin
0
0
d6f98f4260123fde99fbbe1cee4aa3f367b3368d
906
HackerNewsV2
Apache License 2.0
src/main/kotlin/com/deflatedpickle/bugmagic/client/render/entity/AutoPlanterRender.kt
DeflatedPickle
141,510,202
false
null
/* Copyright (c) 2019-2020 DeflatedPickle under the MIT license */ package com.deflatedpickle.bugmagic.client.render.entity import com.deflatedpickle.bugmagic.api.client.RenderCastable import com.deflatedpickle.bugmagic.common.entity.mob.AutoPlanterEntity import net.minecraft.client.renderer.entity.RenderManager /**...
18
Kotlin
1
3
1781740bb23631aee8daef0806441182c387044e
511
BugMagic
MIT License
app/src/main/java/host/stjin/anonaddy/ui/usernames/UsernamesSettingsFragment.kt
anonaddy
854,490,200
false
{"Kotlin": 1335623}
package host.stjin.anonaddy.ui.usernames import android.app.Activity import android.content.Context import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.view.animation.AnimationUtils import androidx.activity.resu...
0
Kotlin
0
3
ac5d5ee3d7ca14cf88711c1c92ec991fb1ce5ef3
14,464
addy-android
MIT License
cinema-server/src/main/kotlin/io/github/ermadmi78/kobby/cinema/server/resolvers/QueryResolver.kt
ermadmi78
417,880,765
false
{"Kotlin": 12831}
package io.github.ermadmi78.kobby.cinema.server.resolvers import graphql.kickstart.tools.GraphQLQueryResolver import io.github.ermadmi78.kobby.cinema.api.kobby.kotlin.dto.FilmDto import io.github.ermadmi78.kobby.cinema.server.dao.CinemaDao import org.springframework.stereotype.Component /** * Created on 16.10.2021 ...
0
Kotlin
0
4
80f42a2863db80131f1636b2b10d5dc10eb4db48
600
kobby-gradle-tutorial
Apache License 2.0
navigation/navigation-fragment-compose/src/main/java/androidx/navigation/fragment/compose/ComposableFragmentNavigator.kt
androidx
256,589,781
false
{"Kotlin": 102794437, "Java": 64412412, "C++": 9138104, "AIDL": 617598, "Python": 310931, "Shell": 189529, "TypeScript": 40586, "HTML": 35176, "Groovy": 27482, "ANTLR": 26700, "Svelte": 20307, "CMake": 18033, "C": 16982, "GLSL": 3842, "Swift": 3153, "JavaScript": 3019}
/* * Copyright 2024 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
28
Kotlin
937
5,108
89ec14e39cf771106a8719337062572717cbad31
3,231
androidx
Apache License 2.0
tesla-core/src/commonMain/kotlin/org/teslatoolkit/model/SpeedLimitMode.kt
szantogab
442,446,551
true
{"Kotlin": 83956, "Shell": 418}
package org.teslatoolkit.model import kotlinx.serialization.SerialName import kotlinx.serialization.Serializable @Serializable data class SpeedLimitMode( @SerialName("active") val isActive: Boolean, @SerialName("pin_code_set") val isPinCodeSet: Boolean, @SerialName("current_limit_mph") val currentLimitM...
0
null
0
0
92d8ed0d62b053b2a96d3e3ba5ad881c051162c9
451
tesla.kt
MIT License
src/main/kotlin/frc/robot/commands/chassis/EncoderReset.kt
Acoliver102
333,227,519
false
null
package frc.robot.commands.chassis import edu.wpi.first.wpilibj2.command.InstantCommand import frc.robot.subsystems.Chassis import mu.KotlinLogging class EncoderReset: InstantCommand() { init { } override fun initialize() { Chassis.resetMotorEncoder() } }
0
Kotlin
0
0
6e31ab9ee658e27dc924fb0b47b4956cdbca1be5
285
swerve-base
MIT License
src/main/kotlin/com/raynigon/raylevation/infrastructure/controller/HealthCheckController.kt
raynigon
524,500,850
false
null
package com.raynigon.raylevation.infrastructure.controller import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.RequestMapping import org.springframework.web.bind.annotation.RestController /** * Simple controller which provides a static response. * This should be ...
3
null
0
1
b92322f564060eb860e1d7c81432ce4d38e6935f
784
raylevation
Apache License 2.0
android/src/main/kotlin/com/nell/flutter_vap/NativeVapView.kt
rsathish5885
445,481,357
true
{"Dart": 5365, "Kotlin": 4969, "Objective-C": 4769, "Ruby": 910}
package com.nell.flutter_vap import android.content.Context import android.view.View import com.tencent.qgame.animplayer.AnimConfig import com.tencent.qgame.animplayer.AnimView import com.tencent.qgame.animplayer.inter.IAnimListener import com.tencent.qgame.animplayer.util.ScaleType import io.flutter.embedding.engine....
1
Dart
1
0
6e0ec9a0e678ae3a399cd4606da77da66499a43b
3,576
VAP
MIT License
api/src/main/java/com/stocksexchange/api/model/rest/parameters/TransactionCreationParameters.kt
nscoincommunity
277,168,471
true
{"Kotlin": 2814235}
package com.stocksexchange.api.model.rest.parameters import android.os.Parcelable import com.stocksexchange.api.model.rest.Protocol import com.stocksexchange.api.model.rest.Wallet import kotlinx.android.parcel.Parcelize @Parcelize data class TransactionCreationParameters( val wallet: Wallet, val mode: Mode, ...
0
null
0
0
52766afab4f96506a2d9ed34bf3564b6de7af8c3
1,267
Android-app
MIT License
app/src/main/java/com/nikola/jakshic/dagger/leaderboard/Leaderboard.kt
google0593
258,759,268
true
{"Kotlin": 175036}
package com.nikola.jakshic.dagger.leaderboard import androidx.room.Entity import androidx.room.PrimaryKey import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) class _Leaderboard(@Json(name = "leaderboard") val leaderboard: List<Leaderboard>?) @Entity(tableName = "lead...
0
null
0
1
6cb7322f77e041745d6b5a3ba702a3685a141704
585
dagger
MIT License
rd-kt/rd-core/src/test/kotlin/com/jetbrains/rd/util/test/cases/AdviseVsViewTest.kt
JetBrains
107,686,809
false
null
package com.jetbrains.rd.util.test.cases import com.jetbrains.rd.util.lifetime.Lifetime import com.jetbrains.rd.util.lifetime.LifetimeDefinition import com.jetbrains.rd.util.lifetime.onTermination import com.jetbrains.rd.util.reactive.Property import com.jetbrains.rd.util.test.framework.RdTestBase import kotlin.test.T...
36
null
53
384
cbf1373f7a764d0aeccee3146c814a69cea34ae7
3,472
rd
Apache License 2.0
app/src/main/java/net/attilaszabo/peopledemo/data/sources/local/database/CacheDatabaseController.kt
atoka93
152,560,205
false
null
package net.attilaszabo.peopledemo.data.sources.local.database import io.reactivex.Flowable import net.attilaszabo.peopledemo.data.people.IPeopleDatabaseSource import net.attilaszabo.peopledemo.data.sources.local.database.models.PersonDatabase import net.attilaszabo.peopledemo.domain.people.Person import javax.inject....
0
Kotlin
0
1
2bd1fbcc03d4a97766329a8a2410fe7149a548f8
1,424
android-people-demo
Apache License 2.0
app/src/main/java/org/simple/clinic/summary/teleconsultation/sync/TeleconsultationFacilityInfo.kt
simpledotorg
132,515,649
false
{"Kotlin": 6129044, "Shell": 1660, "HTML": 545}
package org.simple.clinic.summary.teleconsultation.sync import androidx.room.Dao import androidx.room.Entity import androidx.room.Insert import androidx.room.OnConflictStrategy import androidx.room.PrimaryKey import androidx.room.Query import androidx.room.RawQuery import androidx.sqlite.db.SimpleSQLiteQuery import or...
13
Kotlin
73
236
ff699800fbe1bea2ed0492df484777e583c53714
2,674
simple-android
MIT License
core/src/main/java/dev/jorgealejandro/tm/discoveryapi/core/dto/base/Resource.kt
alelopez07
762,431,658
false
{"Kotlin": 74216}
package dev.jorgealejandro.tm.discoveryapi.core.dto.base import dev.jorgealejandro.tm.discoveryapi.core.dto.constants.ConnectionStateConstants import dev.jorgealejandro.tm.discoveryapi.core.dto.constants.StatusConstants as Status /** * [Resource] * Class representing a resource that can be in one of three states: ...
0
Kotlin
0
0
a49b6c6d25f2f40535254e4ab697cecba0faa43f
3,461
discovery-api-impl
MIT License
lib-blast-types/src/test/kotlin/org/veupathdb/lib/blast/common/BlastQueryWithListsImplTest.kt
VEuPathDB
303,794,401
false
{"Kotlin": 1591983, "Java": 400446, "RAML": 118287, "Dockerfile": 3589, "Shell": 2218, "SQL": 2160}
package org.veupathdb.lib.blast.common import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.DisplayName import org.junit.jupiter.api.Nested import org.junit.jupiter.api.Test import org.veupathdb.lib.blast.common.fields.* @DisplayName("Blast Query with Lists Config Interface Compliance") internal abs...
20
Kotlin
0
0
e0639a45d45fce3e393ab1eff1176c5c75375738
12,447
service-multi-blast
Apache License 2.0
data_wallet/src/main/java/io/igrant/data_wallet/activity/ConnectionDetailActivity.kt
decentralised-dataexchange
344,557,240
false
null
package io.igrant.data_wallet.activity import android.content.Intent import android.os.Bundle import android.os.Handler import android.os.Looper import android.util.Base64 import android.util.Log import android.view.MenuItem import android.view.View import android.widget.ImageView import android.widget.LinearLayout im...
0
Kotlin
0
0
904c77346fefac169238bffab6d00a98224868ec
16,447
ama-android-sdk
Apache License 2.0
src/test/kotlin/no/nav/familie/endringsmelding/endringsmelding/EndringsmeldingServiceTest.kt
bekk
647,235,139
false
null
package no.nav.familie.endringsmelding.endringsmelding import io.mockk.mockk import no.nav.familie.endringsmelding.api.ApiFeil import no.nav.familie.endringsmelding.endringsmelding.EndringsmeldingFeil.HAR_SPESIAL_TEGN import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test import org.junit....
2
Kotlin
0
1
3c10b9b9e770e20b05920cfb93537cb6e70471d8
7,200
nav-familie-endringsmelding-api
MIT License
app/src/main/java/com/orange/ods/app/ui/AppNavigation.kt
Orange-OpenSource
440,548,737
false
{"Kotlin": 944422, "HTML": 14150, "CSS": 1444, "Shell": 587, "JavaScript": 197}
/* * * Copyright 2021 Orange * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. * / */ package com.orange.ods.app.ui import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import ...
83
Kotlin
6
16
20cfeabdf3a3b7cacf10eff18d5a7688d00e87bd
3,579
ods-android
MIT License
kotlin-mui-icons/src/main/generated/mui/icons/material/Plumbing.kt
JetBrains
93,250,841
false
null
// Automatically generated - do not modify! @file:JsModule("@mui/icons-material/Plumbing") @file:JsNonModule package mui.icons.material @JsName("default") external val Plumbing: SvgIconComponent
10
Kotlin
5
983
7ef1028ba3e0982dc93edcdfa6ee1edb334ddf35
198
kotlin-wrappers
Apache License 2.0
app/app/src/main/java/com/proct/activities/inreal/viewmodels/dishes/DetailedDishViewModel.kt
inRealAR
361,197,397
false
null
package com.proct.activities.inreal.viewmodels.dishes import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.proct.activities.inreal.data.model.Dish import com.proct.activities.inreal.utils.adapters.DetailedDi...
0
Kotlin
1
1
4f50e60dce104747c133954f38e1471ff25713b6
1,270
inReal
MIT License
app/src/main/java/tw/tonyyang/englishwords/repository/ExcelRepository.kt
solomaticcs
166,625,004
false
null
package tw.tonyyang.englishwords.repository import jxl.Sheet import jxl.Workbook import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.flow import tw.tonyyang.englishwords.App import tw.tonyyang.englishwords.R import tw.tonyyang.englishwords.data.excel.local.ExcelLocalDataSource import tw.tonyyang.english...
0
Kotlin
1
0
dedfb050f8aea0974622803df395d2aae4767bad
2,055
EnglishWords
Apache License 2.0
2021/kotlin/src/main/kotlin/com/codelicia/advent2021/Day3.kt
codelicia
627,407,402
false
null
package com.codelicia.advent2021 import java.util.SortedMap class Day3(private val input: List<String>) { private val forEachDigit = input.first().length private fun List<Int>.toInt() = this.joinToString("").toInt(2) private fun List<Int>.gamma() = this.toInt() private fun List<Int>.epsilo...
3
Kotlin
0
0
00534f828ad318ec1e9c5dddfbf35244846c4538
2,161
adventofcode
MIT License
src/main/kotlin/de/langerhans/discord/gitbot/models/PushEvent.kt
langerhans
65,149,975
false
null
package de.langerhans.discord.gitbot.models import com.google.gson.annotations.SerializedName /** * Created by maxke on 07.08.2016. */ data class PushEvent( val ref: String, val before: String, val after: String, val created: Boolean, val forced: Boolean, @Serialized...
0
Kotlin
5
3
205b9f37fc198bd9fa0be536f3adf60c247aa2f8
580
discord-github-webhooks
MIT License
azure-communication-ui/demo-app/src/chat/java/com/azure/android/communication/ui/chatdemoapp/ChatLauncherViewModel.kt
Azure
429,521,705
false
{"Kotlin": 2573728, "Java": 167445, "Shell": 3964, "HTML": 1856}
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.android.communication.ui.chatdemoapp import android.content.Context import androidx.lifecycle.ViewModel import com.azure.android.communication.common.CommunicationTokenCredential import com.azure.android....
6
Kotlin
27
24
96a897fb62cf8ce39a30f8bb7232df8aa888e084
2,385
communication-ui-library-android
MIT License
app/src/main/java/com/kalme/sudoku/ui/NumberPad.kt
ZaliveVerty
789,140,574
false
{"Kotlin": 25898}
package com.kalme.sudoku.ui import android.graphics.Canvas import android.graphics.Color import android.graphics.Paint import android.graphics.RectF import android.view.MotionEvent import android.view.View // Class to handle a custom keyboard-like control. Only accepts digits from 1 to 9 as Sudoku does not contain ze...
0
Kotlin
0
0
bbf2e3983b3e9869abcf7c9d7db375fc348d30f4
5,659
Sudoku
MIT License
app/src/main/java/com/android/encora/weather/api/data/Data.kt
laalmonte
868,937,257
false
{"Kotlin": 30571}
package com.android.encora.weather.api.data /* Data is the API class is the primary response from the API that holds status code, api message and results data */ data class Data<out T>(val status: Status, val data: T?, val message: String?) { companion object { fun <T> success(data: T?): Data<T> { return Da...
0
Kotlin
0
0
f199fa56a1d49335072525cc438e19124844c0c7
592
weather-checker
Freetype Project License
ktls-dsl/lang/src/main/kotlin/io/kotless/dsl/events/CloudWatch.kt
tchigher
209,689,628
true
{"Kotlin": 148053}
package io.kotless.dsl.events import kotlinx.serialization.Serializable /** AWS CloudWatch event representation */ @Suppress("ConstructorParameterNaming") @Serializable internal data class CloudWatch(val source: String, val `detail-type`: String)
0
null
0
0
b4dabca64109041148a741f77a0639f50eb654d5
249
kotless
Apache License 2.0
features/call/impl/src/main/kotlin/io/element/android/features/call/impl/ui/IncomingCallActivity.kt
element-hq
546,522,002
false
null
/* * Copyright (c) 2024 New Vector Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
9
null
4
955
31d0621fa15fe153bfd36104e560c9703eabe917
3,477
element-x-android
Apache License 2.0
samples/library-samples/android-library/src/main/kotlin/tz/co/asoft/Insect.kt
aSoft-Ltd
318,037,046
false
null
package tz.co.asoft class Insect( val breed: String )
5
Kotlin
2
1
620b9081f2e571be22d0f1f6946504652a493be4
58
builders
MIT License
app-tracking-protection/vpn-impl/src/test/java/com/duckduckgo/mobile/android/vpn/feature/settings/ProtectGamesSettingPluginTest.kt
duckduckgo
78,869,127
false
null
/* * Copyright (c) 2022 DuckDuckGo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
49
Kotlin
847
3,198
be3bcd0ff64a25d9732b72a618c27accce467a5a
3,216
Android
Apache License 2.0
subprojects/provider/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/EventLoop.kt
jnizet
146,316,824
true
{"Kotlin": 1080014, "Java": 5870, "Shell": 549}
/* * Copyright 2018 the original author or authors. * * 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 applica...
0
Kotlin
0
1
75ad0e760f9c6fe2d3f0728f60837a0b22184566
1,562
kotlin-dsl
Apache License 2.0
app/src/main/java/com/kickstarter/ui/adapters/data/ThanksData.kt
kickstarter
76,278,501
false
{"Kotlin": 5102024, "Java": 383986, "Ruby": 22177, "Shell": 6325, "Makefile": 3750}
package com.kickstarter.ui.adapters.data import android.util.Pair import com.kickstarter.models.Category import com.kickstarter.models.Project import com.kickstarter.services.DiscoveryParams class ThanksData( val backedProject: Project, val category: Category, val recommendedProjects: List<Pair<Project, D...
8
Kotlin
996
5,734
5d7d18eba8d9e5cc6c024ac582e76fafc9a33636
339
android-oss
Apache License 2.0
FluentUI.Demo/src/main/java/com/microsoft/fluentuidemo/demos/V2AvatarGroupActivity.kt
microsoft
257,221,908
false
{"Kotlin": 3021107, "Shell": 8996}
package com.microsoft.fluentuidemo.demos import android.os.Bundle import android.view.LayoutInflater import androidx.compose.foundation.background import androidx.compose.foundation.layout.* import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.LazyRow import androidx.compose.found...
40
Kotlin
90
574
851a4989a4fce5db50a1818aa4121538c1fb4ad9
20,015
fluentui-android
MIT License
quiz-demo-replicator/app/src/main/java/com/example/quizappbycouchbase/ReplicatorService.kt
shivay-couchbase
859,276,122
false
{"Kotlin": 47088, "Python": 2030}
package com.example.quizappbycouchbase data class ReplicatorConfig( var username: String, var password: String, var endpointUrl: String, var replicatorType: String, var heartBeat: Long, var continuous: Boolean, var selfSignedCert: Boolean)
0
Kotlin
0
0
0c5c23bd811ada4e72911b039b402f50361ad765
269
quiz-demo-replicator-with-named-collections
Apache License 2.0
app/src/main/java/tool/xfy9326/milink/nfc/service/ScreenMirrorTileService.kt
XFY9326
724,531,401
false
{"Kotlin": 275449}
package tool.xfy9326.milink.nfc.service import android.app.PendingIntent import android.content.Intent import android.service.quicksettings.TileService import androidx.core.service.quicksettings.PendingIntentActivityWrapper import androidx.core.service.quicksettings.TileServiceCompat import kotlinx.coroutines.flow.fir...
0
Kotlin
0
7
40e127ff5a078bd0b8a3697584f4f5fa90722d72
1,462
MiLinkNFC
MIT License
sample-kotlin/src/main/kotlin/com/facebook/samples/litho/kotlin/collection/CollectionActivity.kt
dayanruben
289,365,643
false
{"Gradle": 80, "Text": 2, "Markdown": 77, "Starlark": 157, "Java Properties": 51, "Shell": 20, "Ignore List": 4, "Batchfile": 12, "XML": 146, "Java": 1797, "SVG": 15, "Kotlin": 214, "Proguard": 9, "YAML": 5, "JavaScript": 7, "JSON": 1, "SCSS": 2, "HTML": 1141, "CSS": 1, "CMake": 2, "C++": 44, "C": 2, "MDX": 32, "Haskel...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
1
null
1
1
7d3b42946d644a53c6ece2c20f0177deb9e05459
4,032
litho
Apache License 2.0
bungee/src/main/java/catmoe/fallencrystal/moefilter/network/limbo/packet/s2c/PacketEmptyChunk.kt
CatMoe
638,486,044
false
{"Kotlin": 764903}
/* * Copyright 2023. CatMoe / FallenCrystal * * 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 o...
2
Kotlin
0
21
5a0f321eafffd1247a84e4a7e12d4efb50226368
4,592
MoeFilter
Apache License 2.0
atillaturkmen/src/main/java/com/github/atillaturkmen/Tile.kt
amirisback
391,295,733
false
null
package com.github.atillaturkmen import android.graphics.Canvas import android.graphics.Paint import android.graphics.Rect import com.github.atillaturkmen.GameView.Companion.screenWidth import com.github.atillaturkmen.GameView.Companion.screenHeight /** * Tile Class. * It goes from top to bottom * Purpose of the g...
0
null
3
9
7f39cb6283623ae73809143bdd56ddbe9121bca2
1,957
piano-tiles-clone
Apache License 2.0
app/src/main/java/com/rmakiyama/recyclerviewplayground/di/AppComponent.kt
rmakiyama
278,366,804
false
null
package com.rmakiyama.recyclerviewplayground.di import android.app.Application import com.rmakiyama.recyclerviewplayground.App import com.rmakiyama.recyclerviewplayground.data.RepositoryModule import com.rmakiyama.recyclerviewplayground.ui.MainActivityModule import dagger.BindsInstance import dagger.Component import d...
0
Kotlin
0
2
42be7ff0cb27d7a1e46f231c22ee9bad0d915775
805
recyclerview-playground
Apache License 2.0
loan-originations/src/main/kotlin/com/rstrazza/loanoriginations/controller/LoanOriginationController.kt
rstrazza
584,967,295
false
null
package com.rstrazza.loanoriginations.controller import com.fasterxml.jackson.databind.ObjectMapper import com.rstrazza.loanoriginations.model.LoanApplicationRequest import com.rstrazza.loanoriginations.model.LoanApplicationResponse import com.rstrazza.loanoriginations.model.LoanApplicationStatus import io.camunda.zee...
0
Kotlin
0
0
ac4ccdda339a211a7627fed51b22eb831b384092
2,514
camunda
MIT License
MessengerApp/app/src/main/java/mariamormotsadze/gigakhizanishvili/messengerapp/data/models/message/MessageModel.kt
Khizanag
387,831,217
false
{"Kotlin": 49965}
package mariamormotsadze.gigakhizanishvili.messengerapp.data.models.message import com.google.firebase.database.IgnoreExtraProperties import java.io.Serializable import java.util.* @IgnoreExtraProperties data class MessageModel ( val id: String? = null, val sendTime: String? = null, val text: String? = nu...
0
Kotlin
0
1
84ef5fb6b77eb0539d4cc7d2dcff8dc6031b0b8c
375
messenger-app-android
MIT License
application/feature/characters/core/api/src/main/java/com/stepango/blockme/feature/characters/core/api/di/CharactersCoreFeature.kt
formatools
289,781,857
false
{"Kotlin": 279989, "C++": 2058, "C": 545, "CMake": 190}
package com.stepango.blockme.feature.characters.core.api.di import com.stepango.blockme.feature.characters.core.api.domain.repository.MarvelRepository interface CharactersCoreFeature { fun getMarvelRepository(): MarvelRepository }
24
Kotlin
8
176
b6d3a1378c1bdc0c8e66d0240622975729070808
237
forma
Apache License 2.0
src/main/kotlin/uk/gov/justice/digital/hmpps/assessrisksandneeds/restclient/AuthenticatingRestClient.kt
ministryofjustice
373,137,019
false
{"Kotlin": 480397, "Dockerfile": 1027}
package uk.gov.justice.digital.hmpps.assessrisksandneeds.restclient import org.springframework.http.MediaType import org.springframework.security.oauth2.client.web.reactive.function.client.ServerOAuth2AuthorizedClientExchangeFilterFunction.clientRegistrationId import org.springframework.web.reactive.function.client.We...
4
Kotlin
0
0
39732c9fdfd1315245526ba7ab61c5a651ec982c
1,864
hmpps-assess-risks-and-needs
MIT License
features/account/accountDomain/src/androidMain/kotlin/io/spherelabs/accountdomain/repository/di/Koin.account.domain.android.kt
getspherelabs
687,455,894
false
{"Kotlin": 645187, "Ruby": 6822, "Swift": 1167, "Shell": 226}
package io.spherelabs.accountdomain.repository.di import io.spherelabs.designsystem.url.BrowserNavigator import org.koin.android.ext.koin.androidContext import org.koin.dsl.module actual fun platformModule() = module { single { BrowserNavigator(androidContext()) } }
25
Kotlin
21
134
09ce4d285d7dc88e265ca0534272f20c7254b82c
269
anypass-kmp
Apache License 2.0
embrace-android-sdk/src/integrationTest/kotlin/io/embrace/android/embracesdk/testcases/features/LowPowerFeatureTest.kt
embrace-io
704,537,857
false
{"Kotlin": 2879745, "C": 189341, "Java": 162931, "C++": 13140, "CMake": 4261}
package io.embrace.android.embracesdk.testcases.features import androidx.test.ext.junit.runners.AndroidJUnit4 import io.embrace.android.embracesdk.assertions.findSpanOfType import io.embrace.android.embracesdk.internal.arch.schema.EmbType import io.embrace.android.embracesdk.internal.clock.nanosToMillis import io.embr...
23
Kotlin
8
134
896e9aadf568ba527c76ec66f6f440baed29d1ee
1,778
embrace-android-sdk
Apache License 2.0
XClipper.Android/modules/core/src/main/java/com/kpstv/xclipper/data/model/Tag.kt
KaustubhPatange
253,389,289
false
null
package com.kpstv.xclipper.data.model import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey import com.kpstv.bindings.AutoGenerateConverter import com.kpstv.bindings.AutoGenerateListConverter import com.kpstv.bindings.ConverterType @Entity(tableName = "table_tag") @AutoGenerateCo...
1
Kotlin
10
69
20ef7cbc970702a2d2135064c374a1d2c2c92087
861
XClipper
Apache License 2.0
src/main/kotlin/AndroidExtensions.kt
icarohs7
165,426,064
false
null
import org.gradle.api.JavaVersion import org.gradle.api.Project import org.gradle.kotlin.dsl.get import java.io.File import com.android.build.gradle.AppExtension as AndroidApplicationBlock import com.android.build.gradle.TestedExtension as AndroidBlock fun AndroidBlock.addReleaseCertificate( project: Project, ...
0
Kotlin
0
1
50b7b26cd44bd5f72358d18bcb5f7de3aeaf0e19
3,934
unox-buildsrc
MIT License
Kotlin/Contest1/e.kt
JackBai0914
358,065,977
false
{"Jupyter Notebook": 2275731, "C++": 1135919, "JavaScript": 482729, "C": 81659, "Vue": 51397, "Python": 46151, "Kotlin": 45123, "Cuda": 25654, "HTML": 22328, "Shell": 9188, "Makefile": 1995, "EJS": 340, "Roff": 24}
private fun readLn() = readLine()!! // string line private fun readInt() = readLn().toInt() // single int private fun readLong() = readLn().toLong() // single long private fun readDouble() = readLn().toDouble() // single double private fun readStrings() = readLn().split(" ") // list of strings private fun readInts() = ...
0
Jupyter Notebook
0
0
a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9
1,421
Competitive-Programming-Codebase
MIT License
localization/src/main/java/com/cloud273/localization/CLTextView.kt
cloud273
378,564,499
false
null
package com.cloud273.localization import android.content.Context import android.util.AttributeSet import androidx.appcompat.widget.AppCompatTextView class CLTextView: AppCompatTextView { constructor(context: Context): super(context) { init(context, null) } constructor(context: Context, attrs: At...
0
Kotlin
0
0
66894f292eba938573673bea27361f3f3d583db6
1,027
localization_android
MIT License
sample/src/main/java/dev/gerlot/securewebview/sample/demos/FileAccessFragment.kt
marazmarci
792,284,123
true
{"Java Properties": 2, "Gradle": 4, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 1, "Ignore List": 4, "XML": 38, "INI": 1, "Proguard": 2, "Java": 4, "Kotlin": 16, "HTML": 2}
package dev.gerlot.securewebview.sample.demos import android.Manifest import android.content.pm.PackageManager import android.graphics.Bitmap import android.os.Build import android.os.Bundle import android.view.KeyEvent import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import an...
0
null
0
0
53db449c613d2a15961f8a81d4ce3eeb5f9e01af
6,582
SecureWebView
Creative Commons Zero v1.0 Universal
sample/src/main/java/dev/gerlot/securewebview/sample/demos/FileAccessFragment.kt
marazmarci
792,284,123
true
{"Java Properties": 2, "Gradle": 4, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 1, "Ignore List": 4, "XML": 38, "INI": 1, "Proguard": 2, "Java": 4, "Kotlin": 16, "HTML": 2}
package dev.gerlot.securewebview.sample.demos import android.Manifest import android.content.pm.PackageManager import android.graphics.Bitmap import android.os.Build import android.os.Bundle import android.view.KeyEvent import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import an...
0
null
0
0
53db449c613d2a15961f8a81d4ce3eeb5f9e01af
6,582
SecureWebView
Creative Commons Zero v1.0 Universal
src/main/java/uk/gov/justice/digital/hmpps/keyworker/batch/UpdateStatusRoute.kt
uk-gov-mirror
356,783,132
false
null
package uk.gov.justice.digital.hmpps.keyworker.batch import org.apache.camel.builder.RouteBuilder import org.apache.commons.lang3.StringUtils import org.springframework.beans.factory.annotation.Autowired import org.springframework.beans.factory.annotation.Value import org.springframework.boot.autoconfigure.condition.C...
1
null
1
1
3c27ed7c0c284ba955a82c9e7fd8cb49ae5ed3fe
1,375
ministryofjustice.keyworker-api
MIT License
app/src/main/java/com/goldze/mvvmhabit/aioui/bean/list/ListData.kt
fengao1004
505,038,355
false
{"Java Properties": 2, "Gradle": 6, "Shell": 1, "Markdown": 2, "Git Attributes": 1, "Batchfile": 1, "Text": 4, "Ignore List": 4, "Proguard": 3, "Java": 214, "XML": 141, "Kotlin": 158}
package com.goldze.mvvmhabit.aioui.bean.list data class ListData<T>( var current: String?, var orders: List<Any?>?, var pages: String?, var records: List<T>?, var searchCount: Boolean?, var size: String?, var total: String?, )
1
null
1
1
1099bd7bfcf8a81d545567ae875b3528aa5fb1cd
255
AIO
Apache License 2.0
dialects/sqlite-3-38/src/testFixtures/kotlin/app/cash/sqldelight/dialects/sqlite_3_38/SqliteTestFixtures.kt
sqldelight
44,677,680
false
{"Kotlin": 1931261, "Assembly": 66426, "Java": 11038, "JavaScript": 5390, "HTML": 2211}
package app.cash.sqldelight.dialects.sqlite_3_38 import com.alecstrong.sql.psi.test.fixtures.loadFolderFromResources import com.alecstrong.sql.psi.test.fixtures.toParameter import java.io.File object SqliteTestFixtures { val fixtures = loadFolderFromResources("fixtures_sqlite_3_38", File("build")).toParameter() }
606
Kotlin
516
6,152
f79bd8ae2cf991de6dccdb643376253402f665e1
319
sqldelight
Apache License 2.0
src/test/kotlin/guru/stefma/androidartifacts/plugin/AndroidArtifactsPluginTest.kt
digital-ember
154,821,460
false
null
package guru.stefma.androidartifacts.plugin import guru.stefma.androidartifacts.internal.default import guru.stefma.androidartifacts.internal.junit.AndroidBuildScript import guru.stefma.androidartifacts.internal.junit.AndroidTempDirectory import guru.stefma.androidartifacts.internal.junit.TempDir import org.assertj.co...
1
null
1
1
2d790ad803a6848a5032fc3196abe5b4b1652843
15,055
AndroidArtifacts
Apache License 2.0
dagger/src/main/java/com/thefuntasty/mvvm/dagger/fragment/BaseDaggerFragment.kt
okalman
193,893,166
true
{"Kotlin": 142401, "FreeMarker": 8054, "Java": 6806, "Ruby": 1104}
package com.thefuntasty.mvvm.dagger.fragment import android.content.Context import com.thefuntasty.mvvm.BaseViewModel import com.thefuntasty.mvvm.ViewState import com.thefuntasty.mvvm.fragment.ViewModelFragment import dagger.android.support.AndroidSupportInjection abstract class BaseDaggerFragment<VM : BaseViewModel<...
0
Kotlin
0
0
7564acba0e67ec86bd141904c774b8fcf8cced58
509
mvvm-android
MIT License
python/testSrc/com/intellij/python/reStructuredText/RestFormatterTest.kt
JetBrains
2,489,216
false
null
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.python.reStructuredText import com.intellij.openapi.command.WriteCommandAction import com.intellij.psi.codeStyle.CodeStyleManager import com.intellij.testFramework.fixtures.Base...
284
null
5162
16,707
def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0
1,044
intellij-community
Apache License 2.0
libnavui-maps/src/main/java/com/mapbox/navigation/ui/maps/internal/location/PuckAnimationEvaluator.kt
mapbox
87,455,763
false
null
package com.mapbox.navigation.ui.maps.internal.location import android.animation.TimeInterpolator import android.animation.TypeEvaluator import android.animation.ValueAnimator import com.mapbox.geojson.Point /** * A time and value interpolator for puck's animator. It uses [ConstantVelocityInterpolator] to * animate...
508
null
319
621
ad73c6011348cb9b24b92a369024ca06f48845ab
1,952
mapbox-navigation-android
Apache License 2.0
idea/testData/multiModuleQuickFix/deprecatedImplHeader/header/header.kt
damenez
176,209,431
true
{"Markdown": 56, "Gradle": 497, "Gradle Kotlin DSL": 215, "Java Properties": 12, "Shell": 11, "Ignore List": 10, "Batchfile": 9, "Git Attributes": 1, "Protocol Buffer": 12, "Java": 5238, "Kotlin": 43905, "Proguard": 7, "XML": 1594, "Text": 9172, "JavaScript": 239, "JAR Manifest": 2, "Roff": 209, "Roff Manpage": 34, "IN...
header fun foo(): Int
0
Kotlin
0
2
9a2178d96bd736c67ba914b0f595e42d1bba374d
21
kotlin
Apache License 2.0
mewwalletbl/src/main/java/com/myetherwallet/mewwalletbl/core/api/ApiManager.kt
MyEtherWallet
225,456,139
false
null
package com.myetherwallet.mewwalletbl.core.api import com.myetherwallet.mewwalletbl.core.api.analytics.AnalyticsApi import com.myetherwallet.mewwalletbl.core.api.analytics.AnalyticsClient import com.myetherwallet.mewwalletbl.core.api.dappradar.DappRadarApi import com.myetherwallet.mewwalletbl.core.api.dappradar.DappRa...
2
null
14
8
0c876055cad9373c425230b8444978bee11e2a52
1,559
mew-wallet-android-biz-logic
MIT License
idea/testData/debugger/tinyApp/src/stepInto/stepInto/syntheticMethods.kt
selvabrillio
29,902,185
false
{"Markdown": 20, "Kotlin": 13870, "Java": 4024, "CSS": 10, "Shell": 5, "Batchfile": 8, "Java Properties": 10, "INI": 6, "JavaScript": 52, "HTML": 102}
package syntheticMethods fun main(args: Array<String>) { val d: Base<String> = Derived() //Breakpoint! d.foo("") val a = 1 } open class Base<T> { open fun foo(t: T) { val a = 1 } } class Derived: Base<String>() { override fun foo(t: String) { val a = 1 } } // STEP_INT...
1
null
1
1
fad4261448261e0c8177123ca8ed3fa416aaddcb
324
kotlin
Apache License 2.0
phoenix-android/src/main/kotlin/fr/acinq/phoenix/android/settings/walletinfo/SwapInSignerViewModel.kt
ACINQ
192,964,514
false
null
/* * Copyright 2024 ACINQ SAS * * 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...
97
null
96
662
e2e2a8ee0bb9b4b6198cf89605a829d5c687e667
3,780
phoenix
Apache License 2.0
idea/testData/quickfix/createFromUsage/createFunction/call/funOnTrait.kt
JakeWharton
99,388,807
true
null
// "Create extension function 'T.foo'" "true" interface T fun test(t: T) { val b: Boolean = t.<caret>foo("1", 2) }
1
Kotlin
28
83
4383335168338df9bbbe2a63cb213a68d0858104
120
kotlin
Apache License 2.0
app/src/main/java/com/tasomaniac/devwidget/configure/PackageMatcherModel.kt
fkorotkov
119,068,308
false
{"Gradle": 3, "YAML": 2, "INI": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 76, "XML": 45, "Java": 10, "HTML": 1, "SVG": 3}
package com.tasomaniac.devwidget.configure import android.arch.lifecycle.ViewModel import com.jakewharton.rx.replayingShare import com.tasomaniac.devwidget.data.AppDao import com.tasomaniac.devwidget.data.FilterDao import com.tasomaniac.devwidget.data.insertApps import com.tasomaniac.devwidget.data.insertPackageMatche...
1
null
1
1
738a7678d37db5abece32421072b3b8b7627cf73
2,154
DevWidget
Apache License 2.0
report-service/src/main/kotlin/com/sandjelkovic/dispatchd/report/config/SecurityConfig.kt
sandjelkovic
77,168,649
false
null
package com.sandjelkovic.dispatchd.report.config import org.springframework.context.annotation.Configuration import org.springframework.security.config.annotation.web.builders.HttpSecurity import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter /** * @author sandjelkovic ...
24
null
1
2
20187c0d3dc9b4208f08d7debdcc5f9faf45f9df
575
dispatchd
Apache License 2.0
reactcomponentkit/src/main/java/com/github/skyfe79/android/reactcomponentkit/redux/Effect.kt
ReactComponentKit
186,415,677
false
{"Gradle": 4, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Proguard": 2, "Kotlin": 67, "XML": 15, "Java": 5}
package com.github.skyfe79.android.reactcomponentkit.redux // Utility for something like as reset some state. // Run it after dispatching new state to Components typealias Effect<STATE> = STATE.(STATE) -> STATE
2
Kotlin
2
11
f504aeddf45d84e17f432d50880128cf17baca54
211
AndroidReactComponentKit
MIT License
app/src/main/java/ru/nbsp/pushka/interactor/data/DataInteractor.kt
dimorinny
51,604,851
false
{"Gradle": 3, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 2, "Batchfile": 1, "Markdown": 1, "JSON": 1, "Proguard": 11, "Java": 14, "XML": 102, "Kotlin": 258}
package ru.nbsp.pushka.interactor.data import rx.Observable /** * Created by Dimorinny on 26.04.16. */ interface DataInteractor { fun clearAll(): Observable<Any> }
0
Kotlin
0
0
71ac416b33f628bbcec12fad4776f7abc242c882
171
pushka-android
MIT License
code/kotlin/io/read-file-to-string.kt
driver733
226,967,141
false
null
File("doc.txt").readText()
13
null
14
150
7bfda57b1db1ff8b3b59a73f9169ac200f3abbd5
26
kotlin-vs-java
MIT License
mqtt-client-Flutter/android/app/src/main/kotlin/io/emqx/flutter_mqtt/MainActivity.kt
emqx
297,556,171
false
null
package io.emqx.flutter_mqtt import io.flutter.embedding.android.FlutterActivity class MainActivity: FlutterActivity() { }
16
null
671
803
d88375ca7e295c2815405420330699feae13963f
125
MQTT-Client-Examples
MIT License
feature-search/src/main/java/com/aba/core/di/searchFragmentBinding.kt
amircoder
263,911,840
false
null
package com.aba.core.di import com.aba.core.presentation.SearchFragment import com.aba.core.scope.PerFragment import dagger.Module import dagger.android.ContributesAndroidInjector @Module abstract class searchFragmentBinding { @PerFragment @ContributesAndroidInjector(modules = [SearchFragmentModule::class]) ...
0
Kotlin
0
0
7357e3910b26a18d2a5618e35cd83e426ed5186d
380
MVICleanArchitecture
Apache License 2.0
app/src/androidTest/java/com/steleot/jetpackcompose/playground/compose/ui/OnSizeChangedScreenTest.kt
Vivecstel
338,792,534
false
{"Kotlin": 1538487}
package com.steleot.jetpackcompose.playground.compose.ui import androidx.compose.ui.test.junit4.createComposeRule import com.steleot.jetpackcompose.playground.compose.theme.TestTheme import org.junit.Rule import org.junit.Test class OnSizeChangedScreenTest { @get:Rule val composeTestRule = createComposeRule(...
1
Kotlin
46
346
0161d9c7bf2eee53270ba2227a61d71ba8292ad0
515
Jetpack-Compose-Playground
Apache License 2.0
base/src/main/java/com/yzq/base/startup/base/MainThreadTask.kt
yuzhiqiang1993
140,548,996
false
{"Kotlin": 368226, "Java": 153913, "CSS": 3721, "JavaScript": 3215, "HTML": 2415}
package com.yzq.base.startup.base /** * @description: 主线程初始化的任务 * @author : yuzhiqiang (<EMAIL>) * @date : 2022/1/7 * @time : 4:40 下午 */ abstract class MainThreadTask : BaseAppStartTask() { override fun isRunOnMainThread() = true }
0
Kotlin
0
0
f65f96b72df77536925e6f0ef56aa27d404ce206
243
kotlinCommon
MIT License
src/commonMain/kotlin/org/jetbrains/webwiz/generator/generator.kt
terrakok
413,509,623
false
null
package org.jetbrains.webwiz.generator import org.jetbrains.webwiz.generator.files.* import org.jetbrains.webwiz.models.GradlePlugin import org.jetbrains.webwiz.models.ProjectInfo import org.jetbrains.webwiz.models.Target.ANDROID import org.jetbrains.webwiz.models.isCommonNativeTargetPresent interface ProjectFile { ...
4
null
26
218
f3d7cc92c2e0d350aeb4f5980138aeed6947d8ae
1,620
kmp-web-wizard
MIT License
app/src/test/kotlin/io/orangebuffalo/simpleaccounting/business/users/UsersApiTest.kt
orange-buffalo
154,902,725
false
{"Kotlin": 1128358, "TypeScript": 575303, "Vue": 277186, "SCSS": 30742, "JavaScript": 6817, "HTML": 633, "CSS": 10}
package io.orangebuffalo.simpleaccounting.business.users import io.kotest.matchers.comparables.shouldBeEqualComparingTo import io.kotest.matchers.should import io.kotest.matchers.shouldBe import io.orangebuffalo.simpleaccounting.infra.TimeService import io.orangebuffalo.simpleaccounting.tests.infra.SimpleAccountingInt...
68
Kotlin
0
1
fee03f5cabe5376642e48c1ebd966916f5efd4f2
14,290
simple-accounting
Creative Commons Attribution 3.0 Unported
app/src/main/java/com/siju/acexplorer/home/model/HomeModel.kt
siju-s
427,592,750
false
null
/* * Copyright (C) 2017 Ace Explorer owned by Siju Sakaria * * 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 a...
4
Kotlin
5
2
68338f005f8365609f115390e7d770197b807763
1,216
AceExplorer
Apache License 2.0
scientific/src/commonTest/kotlin/unit/MolarMassUnitTest.kt
splendo
191,371,940
false
null
/* Copyright 2021 Splendo Consulting B.V. The Netherlands 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 appli...
89
null
7
93
6d2d2ff964d13ccb2768aa336fa7ef9941959e96
5,845
kaluga
Apache License 2.0
app/src/main/java/com/memorya/MyDebugTree.kt
matteofabris
347,469,835
false
null
package com.memorya import timber.log.Timber class MyDebugTree : Timber.DebugTree() { override fun createStackElementTag(element: StackTraceElement): String { return String.format( "${Constants.appName} [C:%s] [M:%s] [L:%s]", super.createStackElementTag(element), elemen...
0
Kotlin
0
0
729555be7398007dbab49fd1a53d599e4346dcc9
382
WordsMemory
MIT License
mf/contracts/src/main/kotlin/ch/maxant/kdc/mf/contracts/dto/Component.kt
swipswaps
334,778,954
true
{"Kotlin": 400394, "Java": 241451, "JavaScript": 211999, "HTML": 152112, "TypeScript": 10311, "Shell": 7185, "CSS": 2200, "Dockerfile": 911}
package ch.maxant.kdc.mf.contracts.dto import ch.maxant.kdc.mf.contracts.definitions.Configuration import ch.maxant.kdc.mf.contracts.entity.ComponentEntity import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.module.kotlin.readValue import java.util.* import kotlin.collections.ArrayList dat...
0
null
0
0
c80711aa6c9f9150dbeb0324a35baa83d2e1eb52
725
kafka-data-consistency
MIT License
BPContactCenter/src/main/java/com/brightpattern/bpcontactcenter/ContactCenterCommunicator.kt
ServicePattern
335,368,082
false
null
package com.brightpattern.bpcontactcenter import android.os.Build import android.content.Context import android.graphics.Bitmap import android.util.Log import com.android.volley.Request import com.android.volley.VolleyError import com.android.volley.toolbox.HurlStack import com.android.volley.toolbox.Volley import com...
4
Kotlin
1
1
fda8cdcd2dabebda2d2650e0ee6daaedb327f495
24,080
MobileAPI_Android
MIT License
compiler/testData/diagnostics/testsWithJsStdLib/localClassMetadata.kt
JetBrains
3,432,266
false
{"Kotlin": 79571273, "Java": 6776465, "Swift": 4063829, "C": 2609744, "C++": 1957654, "Objective-C++": 175279, "JavaScript": 130754, "Python": 59855, "Shell": 34920, "Objective-C": 21463, "Lex": 21452, "Batchfile": 11382, "CSS": 11368, "Ruby": 10470, "Dockerfile": 9907, "Groovy": 7092, "EJS": 5241, "CMake": 4473, "HTML...
// MODULE: lib // FILE: lib.kt interface I { fun foo(): String } abstract class A { abstract fun bar(): String } abstract class G<T> { abstract fun baz(): T } class C { private val propA = object : A() { override fun bar() = "propA.bar" fun x() = "OK" } private val propI = ...
181
Kotlin
5748
49,172
33eb9cef3d146062c103f9853d772f0a1da0450e
1,556
kotlin
Apache License 2.0
src/main/kotlin/com/pms/placemanagementsystemserverside/repository/program/ProgramJpaRepository.kt
sge-sistema-gerenciador-de-espacos
178,943,974
false
null
package com.pms.placemanagementsystemserverside.repository.program import com.pms.placemanagementsystemserverside.models.program.ProgramModel import org.springframework.data.jpa.repository.JpaRepository interface ProgramJpaRepository : JpaRepository<ProgramModel, Long>
0
Kotlin
0
0
d402ddb56d523062a4cfbff245a1c4d49aec7ba6
272
place-management-system-server-side
MIT License
src/commonTest/kotlin/nl/jacobras/humanreadable/i18n/LocaleLookupTest.kt
jacobras
696,961,730
false
{"Kotlin": 23915}
package nl.jacobras.humanreadable.i18n import nl.jacobras.humanreadable.HumanReadable import kotlin.test.Test import kotlin.test.assertEquals class LocaleLookupTest { private val locales = listOf( "zh-Hant-CN", "en-US", "nl-NL" ) @Test fun match() { assertEquals("zh-H...
0
Kotlin
0
1
716e71e0d1e15c4fd2ea82fdb2357f86f2b238e5
1,339
Human-Readable
MIT License
app/src/main/java/com/eightsines/worklifebalance/core/di/AppComponent.kt
restorer
124,869,954
false
null
package com.eightsines.worklifebalance.core.di import com.eightsines.worklifebalance.screen.goaleditor.di.GoalEditorModule import com.eightsines.worklifebalance.screen.goaleditor.di.GoalEditorSubcomponent import com.eightsines.worklifebalance.screen.goals.di.GoalsModule import com.eightsines.worklifebalance.screen.goa...
0
Kotlin
0
0
99cdf8dff6c2ec23273d9165635159ed218fbdd0
809
work-life-balance
MIT License
app/src/test/kotlin/com/mbcdev/folkets/ValuesWithTranslationsTests.kt
baz8080
66,878,179
false
{"Gradle": 4, "Java Properties": 2, "Shell": 3, "Text": 1, "Ignore List": 2, "Batchfile": 1, "YAML": 1, "Markdown": 1, "Proguard": 1, "Kotlin": 22, "XML": 17, "Java": 27, "CSS": 1}
package com.mbcdev.folkets import org.junit.Test import com.google.common.truth.Truth.assertThat /** * Tests for [ValuesWithTranslations] * * Created by barry on 09/10/2016. */ class ValuesWithTranslationsTests { @Test fun constructorShouldBeNullSafe() { ValuesWithTranslations(null) } @T...
0
Kotlin
2
2
1ae50a46c05d549f17a5bda1ac440ee46982dd4e
1,587
folkets_android
Apache License 2.0
app/src/main/java/com/cocdetails/ui/components/PagerComp.kt
iKhan1057
571,087,717
false
null
package com.cocdetails.ui.components import android.util.Log import androidx.compose.animation.core.Spring import androidx.compose.animation.core.animateDp import androidx.compose.animation.core.spring import androidx.compose.animation.core.updateTransition import androidx.compose.foundation.BorderStroke import androi...
0
Kotlin
0
0
761228f09ea423a1745e556330c4c2b34fe0af38
3,843
cocinfo
Apache License 2.0
app/src/main/java/com/example/saferdriving/activities/LiveDataActivity.kt
2rius
750,328,069
false
{"Kotlin": 79065}
package com.example.saferdriving.activities import android.content.* import android.os.Bundle import android.content.IntentFilter import android.os.Build import android.os.PersistableBundle import android.util.Log import android.view.View import androidx.appcompat.app.AppCompatActivity import androidx.core.content.Pe...
4
Kotlin
0
0
d8f041e1babac63918b93b4b55ef3ec596f8bbe9
5,518
safer-driving
MIT License
src/main/kotlin/io/github/t3r1jj/storapi/data/exception/StorageUnauthenticatedException.kt
t3rmian
160,053,549
false
null
package io.github.t3r1jj.storapi.data.exception import io.github.t3r1jj.storapi.authenticated.AuthenticatedStorage open class StorageUnauthenticatedException(message: String?, val storage: AuthenticatedStorage) : StorageException(message)
0
Kotlin
0
0
3021cb852e8b16bfd101e6fb4bc2589363ee4f76
244
storapi
MIT License