path stringlengths 4 280 | owner stringlengths 2 39 | repo_id int64 21.1k 879M | is_fork bool 2
classes | languages_distribution stringlengths 13 1.95k ⌀ | content stringlengths 7 482k | issues int64 0 13.9k | main_language stringclasses 121
values | forks stringlengths 1 5 | stars int64 0 111k | commit_sha stringlengths 40 40 | size int64 7 482k | name stringlengths 1 100 | license stringclasses 93
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app/src/core/java/billing/Market.kt | alwaysmda | 362,380,486 | false | {"Kotlin": 210512} | package billing
import android.content.Intent
import android.net.Uri
import com.xodus.templatethree.BuildConfig
import com.xodus.templatethree.R
import org.json.JSONArray
import org.json.JSONObject
import java.util.*
data class Market(
var type: MarketType = MarketType.BAZAAR,
var name: String = "",
var n... | 0 | Kotlin | 0 | 1 | fe26ede160d1af5b6df0f94d4ecc5f574e5b9146 | 7,702 | TemplateThree | MIT License |
plugins/maven/src/main/java/org/jetbrains/idea/maven/statistics/MavenIndexUsageCollector.kt | JetBrains | 2,489,216 | false | null | // Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package org.jetbrains.idea.maven.statistics
import com.intellij.internal.statistic.eventLog.EventLogGroup
import com.intellij.internal.statistic.eventLog.events.EventFields
import com.intellij.inter... | 284 | null | 5162 | 16,707 | def6433a5dd9f0a984cbc6e2835d27c97f2cb5f0 | 2,863 | intellij-community | Apache License 2.0 |
app/src/main/java/com/huotu/android/mifang/fragment/QuanTabFragment.kt | hottech-jxd | 163,493,643 | false | {"Gradle": 5, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 4, "Batchfile": 1, "Proguard": 3, "Java": 25, "XML": 188, "Kotlin": 269, "JSON": 1} | package com.huotu.android.mifang.fragment
import android.app.Activity.RESULT_OK
import android.content.*
import android.net.Uri
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.widget.RecyclerView
import android.view.LayoutI... | 1 | null | 1 | 1 | d409993f3900a1ebef52bfd8ea2bbbd7799bce79 | 17,410 | mifang-shopman-android | Apache License 2.0 |
superframe-kotlin/src/main/java/com/hz/zxk/superframe_kotlin/base/adapter/BaseRecyclerViewAdapter.kt | crazyxiaoke | 223,301,380 | false | {"Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "INI": 4, "Proguard": 5, "Kotlin": 82, "XML": 36, "JSON": 1, "Java": 1} | package com.hz.zxk.superframe_kotlin.base.adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.Adapter
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.recyclerview.widget.RecyclerView
/**
@... | 0 | Kotlin | 0 | 0 | e83ade5f8d0a859bbc0c8537f087e17fd2051bba | 2,451 | SuperFrame | Apache License 2.0 |
superframe-kotlin/src/main/java/com/hz/zxk/superframe_kotlin/base/adapter/BaseRecyclerViewAdapter.kt | crazyxiaoke | 223,301,380 | false | {"Gradle": 7, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "INI": 4, "Proguard": 5, "Kotlin": 82, "XML": 36, "JSON": 1, "Java": 1} | package com.hz.zxk.superframe_kotlin.base.adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.Adapter
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding
import androidx.recyclerview.widget.RecyclerView
/**
@... | 0 | Kotlin | 0 | 0 | e83ade5f8d0a859bbc0c8537f087e17fd2051bba | 2,451 | SuperFrame | Apache License 2.0 |
app/src/main/java/com/fourteenrows/p2pcs/activities/trip/add_trip/location_trip/LocationTripPresenter.kt | FourteenRows | 185,977,617 | false | null | package com.fourteenrows.p2pcs.activities.trip.add_trip.location_trip
import com.android.volley.Request
import com.android.volley.Response
import com.android.volley.toolbox.JsonObjectRequest
import com.fourteenrows.p2pcs.R
import com.fourteenrows.p2pcs.model.database.ModelDatabase
import com.fourteenrows.p2pcs.model.d... | 0 | Kotlin | 0 | 0 | b88364cb6775aa24ef005845943d1086a7f76bbe | 3,102 | P2PCS | MIT License |
app/src/main/java/vn/loitp/a/cv/layout/shadow/ShadowLayoutActivityFont.kt | tplloi | 126,578,283 | false | null | package vn.loitp.a.cv.layout.shadow
import android.graphics.Color
import android.os.Bundle
import android.view.View
import androidx.core.view.isVisible
import com.loitp.annotation.IsFullScreen
import com.loitp.annotation.LogTag
import com.loitp.core.base.BaseActivityFont
import com.loitp.core.ext.openUrlInBrowser
impo... | 0 | Kotlin | 0 | 10 | 333bebaf3287b1633f35d29b8adaf25b19c1859f | 2,065 | base | Apache License 2.0 |
base/src/main/java/jp/juggler/util/data/CollectionUtils.kt | tateisu | 89,120,200 | false | {"Kotlin": 4343773, "Java": 324536, "Perl": 47551} | package jp.juggler.util.data
// same as x?.let{ dst.add(it) }
fun <T> T.addTo(dst: ArrayList<T>) = dst.add(this)
fun <E : List<*>> E?.notEmpty(): E? =
if (this?.isNotEmpty() == true) this else null
fun <E : Map<*, *>> E?.notEmpty(): E? =
if (this?.isNotEmpty() == true) this else null
fun ByteArray?.notEmpty... | 37 | Kotlin | 23 | 238 | f20f9fee8ef29bfcbba0f4c610ca8c2fb1c29d4f | 988 | SubwayTooter | Apache License 2.0 |
platform/backend/repository/sqlite/src/main/kotlin/io/hamal/repository/sqlite/record/trigger/Repository.kt | hamal-io | 622,870,037 | false | {"Kotlin": 2450833, "C": 1400046, "TypeScript": 323978, "Lua": 165691, "C++": 40651, "Makefile": 11728, "Java": 7564, "CMake": 2810, "JavaScript": 2640, "CSS": 1567, "Shell": 977, "HTML": 903} | package io.hamal.repository.sqlite.record.trigger
import io.hamal.lib.common.domain.Count
import io.hamal.lib.domain._enum.TriggerStatus
import io.hamal.lib.domain.vo.TriggerId
import io.hamal.repository.api.Trigger
import io.hamal.repository.api.TriggerCmdRepository.*
import io.hamal.repository.api.TriggerQueryReposi... | 38 | Kotlin | 0 | 0 | 7ead833ab99206c5a20bcb295103ee3642972423 | 7,751 | hamal | Creative Commons Zero v1.0 Universal |
FilmSearch/app/src/main/java/com/example/filmsearch/view/fragments/WatchLaterFragment.kt | skripkalisa | 442,273,516 | false | null | package com.example.filmsearch.view.fragments
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.example.filmsearch.databinding.FragmentWatchLaterBinding
import com.example.filmsearch.utils.AnimationHelper
... | 0 | Kotlin | 0 | 0 | 1ce519b6d07a0c5ab37f10f5fe3b9cddf03ac964 | 974 | SF_Android_proc | Apache License 2.0 |
app/src/main/java/com/eurobond/features/alarm/model/AttendanceReportDataModel.kt | DebashisINT | 467,012,976 | false | {"Kotlin": 13903116, "Java": 999599} | package com.eurobond.features.alarm.model
import com.eurobond.base.BaseResponse
/**
* Created by Kinsuk on 20-02-2019.
*/
class AttendanceReportDataModel : BaseResponse() {
var attendance_report_list: ArrayList<AttendanceReport>? = null
} | 0 | Kotlin | 0 | 0 | 199350926a457a54431252b1c680d5dcb609721c | 246 | Eurobond | Apache License 2.0 |
spotify-api/src/main/java/com/clipfinder/spotify/api/model/SearchResponseObject.kt | tosoba | 133,674,301 | false | null | /**
* Spotify Web API No description provided (generated by Openapi Generator
* https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.0.1
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech Do not e... | 1 | Kotlin | 1 | 1 | 84ae309c8c059308c16902ee43b0cdfd2740794c | 1,017 | ClipFinder | MIT License |
app/src/main/java/com/carlos/pokemen/ui/theme/Type.kt | Carlosokumu | 532,033,759 | false | null | package com.carlos.pokemen.ui.theme
import androidx.compose.material.Typography
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.Font
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.sp
import com.example.poked... | 0 | Kotlin | 0 | 3 | 3643e30c42c9172301684ebed0394d5dc0be3db3 | 1,891 | Pokemen | Apache License 2.0 |
dsl/src/commonTest/kotlin/it/unibo/collektive/aggregate/NeighboringTest.kt | Collektive | 575,470,747 | false | {"Kotlin": 118369, "JavaScript": 548} | package it.unibo.collektive.aggregate
import io.kotest.core.spec.style.StringSpec
import io.kotest.matchers.maps.shouldContainValue
import io.kotest.matchers.maps.shouldHaveSize
import it.unibo.collektive.Collektive.Companion.aggregate
import it.unibo.collektive.IntId
import it.unibo.collektive.aggregate.api.operators... | 6 | Kotlin | 2 | 7 | 824311a05f6d737fb45dbbb810b6201e50349975 | 2,653 | collektive | Apache License 2.0 |
compiler/fir/tree/src/org/jetbrains/kotlin/fir/extensions/predicate/DeclarationPredicate.kt | JetBrains | 3,432,266 | false | null | /*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.fir.extensions.predicate
import org.jetbrains.kotlin.fir.extensions.AnnotationFq... | 157 | null | 5209 | 42,102 | 65f712ab2d54e34c5b02ffa3ca8c659740277133 | 9,198 | kotlin | Apache License 2.0 |
src/main/kotlin/net/fabricmc/example/server/damage/Damage.kt | DasPhiller | 853,029,836 | false | {"Kotlin": 9671, "Java": 8520} | package net.fabricmc.example.server.damage
import net.minecraft.server.network.ServerPlayerEntity
import net.silkmc.silk.core.task.mcCoroutineTask
import java.util.UUID
import kotlin.time.Duration.Companion.seconds
object Damage {
private val isInCombat = mutableMapOf<UUID, Boolean>()
var ServerPlayerEntity.... | 0 | Kotlin | 0 | 1 | 99d2f0269852e6641b88d5c202059d22e7f1c4f9 | 707 | Klassenpvp | Creative Commons Zero v1.0 Universal |
sdk/onetap/onetap-common/src/main/kotlin/com/vk/id/onetap/common/auth/style/VKIDButtonRippleStyle.kt | VKCOM | 696,297,549 | false | {"Kotlin": 468006, "Shell": 10543, "AIDL": 3429, "JavaScript": 1092} | package com.vk.id.onetap.common.auth.style
import com.vk.id.common.InternalVKIDApi
@InternalVKIDApi
public enum class VKIDButtonRippleStyle {
DARK,
LIGHT,
}
| 0 | Kotlin | 1 | 18 | a0f4d0e936cef715d4a7e3384670e16e0949af4b | 167 | vkid-android-sdk | MIT License |
app/src/main/java/dev/androidblog/mysamples/data/model/Photo.kt | YoonKyoungTae | 441,923,584 | false | {"Kotlin": 8691} | package dev.androidblog.mysamples.data.model
data class Photo(
val id: String = "0",
val title: String = "",
val url: String = "",
var thumbnailUrl: String = ""
) | 0 | Kotlin | 0 | 0 | bcf74dde3cd77b212473ac69e0912949f895359b | 179 | ToolBox | MIT License |
kotlin-client/src/main/kotlin/com/couchbase/client/kotlin/annotations/Api.kt | couchbase | 151,122,650 | false | null | /*
* Copyright 2021 Couchbase, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 1 | null | 40 | 47 | ae4afe1760dc77b2f8541cd4339d3fd1ef529639 | 2,014 | couchbase-jvm-clients | Apache License 2.0 |
app/src/main/java/com/example/flixster/DetailActivity.kt | nilmo-contreras | 605,379,397 | false | null | package com.example.flixster
import android.os.Bundle
import android.util.Log
import android.widget.ImageView
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide... | 1 | Kotlin | 0 | 0 | 02905652d1909fbbde1e67dda29a26538aeb0a47 | 1,708 | FlixsterPlusPart2_App | Apache License 2.0 |
comet-core/src/test/kotlin/ren/natsuyuk1/comet/test/network/thirdparty/projectsekai/TestProjectSekaiAPI.kt | StarWishsama | 173,288,057 | false | null | /*
* Copyright (c) 2019-2022 StarWishsama.
*
* 此源代码的使用受 MIT 许可证约束, 欲阅读此许可证, 可在以下链接查看.
* Use of this source code is governed by the MIT License which can be found through the following link.
*
* https://github.com/StarWishsama/Comet-Bot/blob/dev/LICENSE
*/
package ren.natsuyuk1.comet.test.network.thirdparty.proj... | 14 | Kotlin | 19 | 188 | 61d85469adca9e49a8d012d3916dafd92a303d91 | 4,925 | Comet-Bot | MIT License |
idea/testData/jetPsiMatcher/expressions/call/_call1.kt | chashnikov | 14,658,474 | false | null | // NOT_EQUAL
f() | 0 | null | 0 | 1 | 88a261234860ff0014e3c2dd8e64072c685d442d | 16 | kotlin | Apache License 2.0 |
build-logic/convention/src/main/kotlin/com/melih/apps/pokeapp/SdkVersions.kt | melomg | 458,631,034 | false | {"Kotlin": 95088} | package com.melih.apps.pokeapp
object SdkVersions {
const val compileSdkVersion: Int = 34
const val minSdkVersion: Int = 27
const val targetSdkVersion: Int = 34
}
| 3 | Kotlin | 0 | 0 | 00fbfe60e75d26eeda2e9e1ce87250a6604d2fd1 | 176 | pokeapp-android | Apache License 2.0 |
app/src/main/java/ca/grantelliott/audiogeneapp/ui/home/HomeFragment.kt | grelliott | 291,516,382 | false | null | package ca.grantelliott.audiogeneapp.ui.home
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import ca.grantelliott.audiogeneapp.R
class HomeF... | 0 | Kotlin | 0 | 0 | 8300ca0a2981610dbbcefc3dd54b5adb9e86df6b | 583 | audiogene-app | MIT License |
mobile/src/main/java/com/sebastiansokolowski/healthguard/dataModel/StatisticData.kt | sebastiansokolowski | 125,769,078 | false | null | package com.sebastiansokolowski.healthguard.dataModel
/**
* Created by <NAME> on 16.09.19.
*/
data class StatisticData(var min: Float = Float.MAX_VALUE,
var max: Float = Float.MIN_VALUE,
var average: Float = 0f,
var sum: Float = 0f,
... | 1 | null | 1 | 1 | 5c164405abb457b91f04b15ff04ef1702cee6a54 | 355 | mHealth-Guard | Apache License 2.0 |
moove/domain/src/main/kotlin/io/charlescd/moove/domain/RegistryConfiguration.kt | xereda | 275,209,237 | true | {"TypeScript": 1799453, "Kotlin": 1191679, "Groovy": 592744, "Java": 308094, "Go": 74665, "JavaScript": 53282, "Smarty": 45219, "C#": 9630, "TSQL": 8959, "Shell": 6465, "HTML": 6449, "Dockerfile": 2110, "Makefile": 920} | /*
* Copyright 2020 ZUP IT SERVICOS EM TECNOLOGIA E INOVACAO SA
*
* 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... | 0 | null | 0 | 1 | d2597bf8a29920050ed0f566fa9846b9fc9eaaae | 1,741 | charlescd | Apache License 2.0 |
src/main/kotlin/com/github/erosb/jsonsKema/Const.kt | erosb | 314,666,360 | false | {"Kotlin": 262694} | package com.github.erosb.jsonsKema
data class ConstSchema(val constant: IJsonValue, override val location: SourceLocation) : Schema(location) {
override fun <P> accept(visitor: SchemaVisitor<P>) = visitor.visitConstSchema(this)
}
internal val constLoader: KeywordLoader = { ctx -> ConstSchema(ctx.keywordValue, ctx... | 19 | Kotlin | 8 | 49 | 26060fbad7917fc05d58b21184cba45ef97b53ba | 579 | json-sKema | MIT License |
app/src/main/java/com/capstone/urskripsi/ui/content/leaderboard/LeaderBoard.kt | Naufal0010 | 429,732,609 | false | null | package com.capstone.urskripsi.ui.content.leaderboard
data class LeaderBoard(
val image: String? = null,
val name: String? = null,
val progressBar: Int? = 0
)
| 0 | Kotlin | 1 | 0 | 46c57498547218b1fda601b5f811511d999bd859 | 172 | UrSkripsi | MIT License |
projects/core/src/main/kotlin/site/siredvin/peripheralworks/xplat/PeripheralWorksCommonHooks.kt | SirEdvin | 489,471,520 | false | null | package site.siredvin.peripheralworks.xplat
import dan200.computercraft.api.upgrades.UpgradeData
import net.minecraft.resources.ResourceLocation
import net.minecraft.world.item.CreativeModeTab
import site.siredvin.peripheralium.xplat.PeripheraliumPlatform
import site.siredvin.peripheralium.xplat.XplatRegistries
import... | 3 | Kotlin | 2 | 6 | 4261ad04499375f16704c8df3f3faeb0e314ac54 | 1,781 | UnlimitedPeripheralWorks | MIT License |
mastodon/src/commonMain/kotlin/fediapi/mastodon/model/status/Status.kt | wingio | 739,512,706 | false | {"Kotlin": 162782} | package fediapi.mastodon.model.status
import kotlinx.datetime.Instant
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import fediapi.HTML
import fediapi.Language
import fediapi.URL
import fediapi.mastodon.model.CustomEmoji
import fediapi.mastodon.model.Visibility
import fediapi.mastod... | 0 | Kotlin | 0 | 1 | 60720c72c90cd503e9b4cff88bcef1ac71c578b6 | 5,312 | fediapi | MIT License |
app/src/main/java/com/hy/baseapp/base/BaseFragment.kt | qwer2y | 484,959,139 | false | {"Kotlin": 349881, "Java": 73310} | package com.hy.baseapp.base
import android.os.Bundle
import android.view.View
import androidx.annotation.ColorRes
import androidx.databinding.ViewDataBinding
import com.gyf.immersionbar.ImmersionBar
import me.hy.base.base.fragment.BaseVmDbFragment
import me.hy.base.base.viewmodel.BaseViewModel
/**
* 描述 : 你项目中的Fragme... | 0 | Kotlin | 0 | 0 | e96ec50468fcdda690527180b7aeefc455871b7a | 1,925 | BaseApp | Apache License 2.0 |
app/src/main/java/com/kasuminotes/ui/app/chara/CharaUserData.kt | chilbi | 399,723,451 | false | {"Kotlin": 868235} | package com.kasuminotes.ui.app.chara
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fill... | 0 | Kotlin | 0 | 1 | 330d32057c4a86ee091cd9327e44cdf61235c38f | 6,564 | KasumiNotes | Apache License 2.0 |
src/test/kotlin/net/purefunc/kotlin/ddd/Sample.kt | PureFuncInc | 509,896,101 | false | null | package net.purefunc.kotlin.ddd
import net.purefunc.kotlin.ddd.domain.entity.DomainAggRoot
import net.purefunc.kotlin.ddd.domain.entity.DomainEntity
import net.purefunc.kotlin.ddd.domain.entity.DomainEntityId
import net.purefunc.kotlin.ddd.domain.entity.DomainEvent
import net.purefunc.kotlin.ddd.domain.entity.DomainMo... | 0 | Kotlin | 0 | 8 | 3ac62aec9dd74c46f316bae92014bd4ba15a6436 | 1,589 | kotlin-extensions | MIT License |
app/src/main/java/com/dev334/swipe/module/MyApplication.kt | iamanantshukla | 657,931,492 | false | null | package com.dev334.idog.module
import android.app.Application
import org.koin.android.ext.koin.androidContext
import org.koin.android.ext.koin.androidLogger
import org.koin.core.context.GlobalContext.startKoin
import org.koin.core.logger.Level
class MyApplication: Application() {
override fun onCreate() {
... | 0 | Kotlin | 0 | 0 | 32cd55684f2b7895767c7ba2b68c84a16ec7a6e8 | 502 | iDog | MIT License |
src/main/kotlin/de/uniwuerzburg/omod/core/PopulationDef.kt | L-Strobel | 592,367,144 | false | null | package de.uniwuerzburg.omod.core
import kotlinx.serialization.Serializable
/**
* Definition of the agent population in terms of sociodemographic features
*/
@Serializable
data class PopulationDef (
val homogenousGroup: Map<HomogeneousGrp, Double>,
val mobilityGroup: Map<MobilityGrp, Double>,
val age: M... | 0 | Kotlin | 0 | 1 | 7878381f833b6545ff682a12b6c6aa68a255207c | 341 | omod | MIT License |
demos/comida-app/src/main/kotlin/dev/tonycode/composed/comida/ui/screens/main/RestaurantCard.kt | tonycode | 734,835,138 | false | {"Kotlin": 13282} | package dev.tonycode.composed.comida.ui.screens.main
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.size
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.mate... | 0 | Kotlin | 0 | 0 | 99e9580b8a1e21acc46be76247325afc289861da | 1,473 | composed | MIT License |
ohlot-domain/src/main/kotlin/ohlot/account/model/exception/LoginIdExistsException.kt | PCloud63514 | 429,459,130 | false | null | package ohlot.account.model.exception
private const val MSG: String = "이미 존재하는 아이디 입니다."
class LoginIdExistsException: RuntimeException(MSG)
| 0 | Kotlin | 0 | 0 | e37809decf150a1d7fad79be10bde8aad9594ce0 | 142 | ohlot-architecture-hexagonal-template | Apache License 2.0 |
app/src/main/java/com/example/socialapp/PostAdapter.kt | BolisettySujith | 675,320,382 | false | null | package com.example.socialapp
import android.view.LayoutInflater
import android.view.OnReceiveContentListener
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.core.content.ContextCompat
import androidx.recyclerview.widget.RecyclerView... | 0 | Kotlin | 0 | 0 | 4aa62026094998f43105fb52f65f1c60e4eda050 | 2,763 | Post-It | MIT License |
src/main/kotlin/data/graph_save/GraphSaverUnified.kt | spbu-coding-2023 | 790,909,287 | false | {"Kotlin": 152697} | package data.graph_save
import model.graph_model.Graph
import java.nio.file.Path
fun graphSaveUnified(path: String, graph: Graph<*>) {
when {
path.endsWith(".graphml") -> saveGraphML(path, graph)
}
} | 3 | Kotlin | 0 | 1 | 2484a51767bc30093a810fa3af8077a97f0e007a | 217 | graphs-team-11 | MIT License |
idea/tests/testData/quickfix/typeMismatch/wrapWithCollectionLiteral/toArray.kt | JetBrains | 278,369,660 | false | null | // "Wrap element with 'arrayOf()' call" "true"
// WITH_RUNTIME
fun foo(a: String) {
bar(a<caret>)
}
fun bar(a: Array<String>) {}
| 0 | null | 30 | 82 | cc81d7505bc3e9ad503d706998ae8026c067e838 | 135 | intellij-kotlin | Apache License 2.0 |
app/src/main/kotlin/com/github/xero/istheapp/ui/adapters/notifyadapter/InterfaceNotifyMessageAdapter.kt | eurosabuj | 243,512,293 | false | {"Kotlin": 475240, "Java": 997} | package com.github.xero.istheapp.ui.adapters.notifyadapter
import com.github.xero.istheapp.ui.adapters.basedapter.InterfaceAdapter
/**
* Created by luis rafael on 20/03/18.
*/
interface InterfaceNotifyMessageAdapter : InterfaceAdapter{
fun onItemClick(key: String?, child: String,position:Int)
fun onItemLon... | 0 | Kotlin | 0 | 0 | aac16d6f41eaa4b38ddaa6a3c79079ed77e3bc8f | 370 | spy-app | Apache License 2.0 |
secdra-admin/src/main/kotlin/com/junjie/secdraadmin/controller/UserController.kt | lipstick-49 | 208,569,806 | true | {"Kotlin": 244725, "HTML": 4151} | package com.junjie.secdraadmin.controller
import com.junjie.secdraaccount.service.AccountService
import com.junjie.secdradata.constant.Gender
import com.junjie.secdradata.database.primary.dao.UserDAO
import com.junjie.secdradata.database.primary.entity.User
import org.springframework.web.bind.annotation.GetMapping
imp... | 0 | null | 0 | 0 | b4317e70fad3256c82a9c418cb2aa25fe14ef62f | 1,843 | secdra | MIT License |
tokisaki-function/src/main/kotlin/io/micro/function/infra/converter/ImageMapper.kt | spcookie | 730,690,607 | false | {"Kotlin": 224366, "Java": 21819} | package io.micro.function.infra.converter
import io.micro.function.domain.image.model.Image
import io.micro.function.domain.image.model.entity.AnimeCartoon
import io.micro.function.domain.image.model.entity.Girl
import io.micro.function.infra.po.ImagePO
import io.micro.function.types.ImageCategory
import jakarta.injec... | 0 | Kotlin | 0 | 0 | a0fb4013d85fc51e83754b2f0a21fe0920d71a8d | 828 | Tokisaki | Apache License 2.0 |
ThingsflowProject/app/src/main/java/com/dodopa/thingsflowproject/viewholder/EmptyViewHolder.kt | dodopa | 304,207,044 | false | null | package com.dodopa.thingsflowproject.viewholder
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.bumptech.glide.Glide
import com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
import com.dodopa.thingsflowproject.R
import com.dodopa.thingsflowproject.... | 10 | Kotlin | 0 | 0 | 65b1083e7e6cceb65e54f38220eb860c26893e90 | 541 | thigsflow_project | Apache License 2.0 |
time/src/commonMain/kotlin/com/merseyside/merseyLib/time/FormattedDate.kt | Merseyside | 396,607,192 | false | {"Kotlin": 107114, "Swift": 13697, "Ruby": 1888, "Shell": 119} | package com.merseyside.merseyLib.time
import kotlinx.serialization.KSerializer
import kotlinx.serialization.Serializable
import kotlinx.serialization.descriptors.PrimitiveKind
import kotlinx.serialization.descriptors.PrimitiveSerialDescriptor
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.ser... | 0 | Kotlin | 0 | 0 | 03ad897c5c471b4d2347ba3a5c5dcd05a444d2f3 | 1,501 | mersey-kmp-time | Apache License 2.0 |
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsmanageprisonvisitsorchestration/dto/orchestration/PrisonDto.kt | ministryofjustice | 575,484,836 | false | {"Kotlin": 770674, "Dockerfile": 1166} | package uk.gov.justice.digital.hmpps.hmppsmanageprisonvisitsorchestration.dto.orchestration
import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.Min
import uk.gov.justice.digital.hmpps.hmppsmanageprisonvisitsorchestration.dto.prison.register.PrisonRegisterPrisonDto
import uk.gov.just... | 3 | Kotlin | 0 | 4 | 91e614a4f2ee1101c96221a69c6fdf68a5b7b720 | 2,615 | hmpps-manage-prison-visits-orchestration | MIT License |
mastodon4j/src/main/java/com/sys1yagi/mastodon4j/api/entity/History.kt | andehr | 266,110,095 | true | {"Gradle": 6, "YAML": 1, "Java Properties": 2, "Shell": 1, "Text": 1, "Ignore List": 3, "Batchfile": 1, "Markdown": 1, "Java": 4, "Kotlin": 97, "JSON": 26} | package com.sys1yagi.mastodon4j.api.entity
import com.google.gson.annotations.SerializedName
/**
* Created by <NAME> on 22/05/2020.
*/
data class History (
@SerializedName("day") val day: Long = 0L,
@SerializedName("uses") val uses: Int = 0,
@SerializedName("accounts") val accounts: Int = 0){
} | 1 | Kotlin | 0 | 0 | fd22346ed920a8da21c38b0b2b9facb3f23baa1e | 311 | mastodon4j | MIT License |
app/src/main/java/de/rauschdo/animals/fragments/web/WebFragment.kt | rauschdo | 752,729,154 | false | {"Kotlin": 246779, "Java": 32524} | package de.rauschdo.animals.fragments.web
import android.annotation.SuppressLint
import android.os.Bundle
import android.view.KeyEvent
import android.view.MenuItem
import android.view.View
import android.webkit.HttpAuthHandler
import android.webkit.WebView
import android.webkit.WebViewClient
import androidx.navigation... | 0 | Kotlin | 0 | 0 | d193a3850a84cdcc591d2c1940711a84539ca98d | 4,097 | animals | MIT License |
domain/src/main/kotlin/no/nav/su/se/bakover/domain/beregning/fradrag/Fradragstype.kt | navikt | 227,366,088 | false | null | package no.nav.su.se.bakover.domain.beregning.fradrag
import arrow.core.Either
import arrow.core.left
import arrow.core.right
enum class Fradragstype {
NAVytelserTilLivsopphold,
Arbeidsinntekt,
OffentligPensjon,
PrivatPensjon,
Sosialstønad,
Kontantstøtte,
Introduksjonsstønad,
Kvalifise... | 6 | Kotlin | 0 | 0 | b0864f973c8986f58af07c4bc7f601caa602dbfc | 1,032 | su-se-bakover | MIT License |
rtron-transformer/src/main/kotlin/io/rtron/transformer/opendrive2roadspaces/analysis/FunctionBuilder.kt | tum-gis | 258,142,903 | false | null | /*
* Copyright 2019-2022 Chair of Geoinformatics, Technical University of Munich
*
* 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
*
... | 4 | null | 8 | 26 | 5d7013f8d0e0b65418c0256211d39dc28b71d019 | 8,003 | rtron | Apache License 2.0 |
app/src/main/java/com/inc/sada_pay_test/util/Constants.kt | AtifAbbAsi19 | 504,501,910 | false | null | package com.inc.sada_pay_test.util
object Constants {
val ANDROID: String ="android"
val DEVICE_TYPE: String ="x-device"
const val BASE_URL ="https://api.github.com/"
const val PREFERENCES_STORE_NAME ="setting"
} | 0 | Kotlin | 0 | 0 | 138d565cba2a2ed38ee01225751cb1521baa4aab | 232 | trending-repositories | Apache License 2.0 |
app/sepuling-kotlin/src/main/kotlin/smecalculus/bezmen/messaging/SepulkaClientImpl.kt | smecalculus | 481,685,166 | false | {"Maven POM": 15, "Text": 4, "Ignore List": 3, "AsciiDoc": 10, "Java": 102, "INI": 9, "PlantUML": 1, "Dockerfile": 10, "Jinja": 7, "YAML": 46, "Kotlin": 20, "SQL": 7, "XML": 2} | package smecalculus.bezmen.messaging
import smecalculus.bezmen.core.SepulkaService
import smecalculus.bezmen.messaging.SepulkaMessageEm.RegistrationRequest
import smecalculus.bezmen.messaging.SepulkaMessageEm.RegistrationResponse
import smecalculus.bezmen.messaging.SepulkaMessageEm.ViewingRequest
import smecalculus.be... | 11 | Java | 0 | 0 | c39dfa4126a55f2b01dbab7448d6e9c09f2f4fc5 | 1,117 | bezmen | MIT License |
v2.x/Showcase/app/src/main/kotlin/com/scichart/scishowcase/MainActivity.kt | tosky102 | 141,718,404 | true | {"Markdown": 1, "Java Properties": 28, "Shell": 14, "Batchfile": 14, "Proguard": 14, "Java": 187, "Kotlin": 61} | //******************************************************************************
// SCICHART® Copyright SciChart Ltd. 2011-2017. All rights reserved.
//
// Web: http://www.scichart.com
// Support: support@scichart.com
// Sales: sales@scichart.com
//
// MainActivity.kt is part of the SCICHART® Showcases. Permission is... | 0 | Java | 0 | 1 | ad34c990635e3a0779f7e9fce2585c643a63a5f9 | 4,259 | SciChart.Android.Examples | MIT License |
app/src/main/java/com/lifesolutions/bd/kotlinCode/utils/Notification.kt | alamin1x0 | 601,487,426 | false | {"Java": 2650731, "Kotlin": 822798, "Assembly": 59} | package com.lifesolutions.bd.kotlinCode.utils
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.graphics.BitmapFactory
import android.graphics.Color
import android.os.Build
import an... | 1 | null | 1 | 1 | 87b3217cedb0340417a8a0fae3b0ef2741ad9012 | 3,806 | Lifesolutions | BSD Source Code Attribution |
potassium-nitrite/src/main/kotlin/org/dizitart/kno2/Nitrite.kt | lamba92 | 701,275,830 | true | {"YAML": 7, "Gradle Kotlin DSL": 10, "Markdown": 11, "Shell": 1, "EditorConfig": 1, "Batchfile": 1, "Ignore List": 1, "Java": 1002, "XML": 7, "SVG": 1, "Kotlin": 20, "TOML": 1, "INI": 1} | /*
* Copyright (c) 2017-2020. Nitrite 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 app... | 0 | Java | 0 | 0 | be77b16e57f1fbb87b29cff782c8968654b8797f | 6,262 | nitrite-java | Apache License 2.0 |
app/src/main/java/com/example/sfutransiter/views/search_by/SearchBy.kt | Parfaits | 560,714,206 | false | {"Kotlin": 99931} | package com.example.sfutransiter.views.search_by
import android.R
import android.content.Context
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
... | 0 | Kotlin | 1 | 0 | a2258262f7d14d44c7ab4f249f1ce519b462e11c | 1,849 | SFU-Transiter | MIT License |
cli/src/main/kotlin/io/github/legion2/tosca_orchestrator/cli/Main.kt | Legion2 | 350,881,803 | false | null | package io.github.legion2.tosca_orchestrator.cli
import com.github.ajalt.clikt.core.subcommands
import io.github.legion2.tosca_orchestrator.cli.commands.*
fun createCLI(): RitamCli {
return RitamCli().subcommands(
GetResources(),
CreateResources(),
UpdateResources(),
ApplyResources... | 6 | Kotlin | 0 | 3 | fb4ef1a7bf3d79d258da2b6779381a87e0c435e9 | 414 | ritam | Apache License 2.0 |
app/src/main/java/com/example/demovideoplayer/video/VideoModule.kt | seksky333 | 799,025,497 | false | {"Kotlin": 28845} | package com.example.demovideoplayer.video
import com.example.demovideoplayer.network.datasource.remote.DemoDemoVideoApiImpl
import com.example.demovideoplayer.network.datasource.remote.DemoVideoRemoteDataSource
import com.example.demovideoplayer.video.repository.VideoRepository
import com.example.demovideoplayer.video... | 0 | Kotlin | 0 | 0 | 78dc1df1021de3d028038ebbabf5f61484a2d8a3 | 782 | demo-video-player | MIT License |
app/src/main/java/com/yueban/yopic/data/model/Historical.kt | yueban | 162,973,285 | false | {"Kotlin": 164160} | package com.yueban.yopic.data.model
import android.os.Parcelable
import androidx.room.ColumnInfo
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import kotlinx.android.parcel.Parcelize
@JsonClass(generateAdapter = true)
@Parcelize
data class Historical(
@Json(name = "quantity") @ColumnInfo(name... | 0 | Kotlin | 0 | 6 | dd2e23efadc4bd7c36f67670772f7ba3c7a55828 | 653 | YoPic | Apache License 2.0 |
app/src/main/java/info/hzvtc/hipixiv/inject/module/ActivityModule.kt | Tait4198 | 94,422,381 | false | null | package info.hzvtc.hipixiv.inject.module
import android.app.Activity
import android.content.Context
import dagger.Module
import dagger.Provides
import info.hzvtc.hipixiv.inject.annotation.ActivityContext
import info.hzvtc.hipixiv.net.ApiService
import info.hzvtc.hipixiv.net.OAuthService
import info.hzvtc.hipixiv.net.R... | 0 | Kotlin | 0 | 0 | 35def2de39973a82e0fcf03f63733bb34c32d98d | 881 | hi_pixiv | MIT License |
app/src/main/java/com/github/teracy/roompagingsample/di/ViewModelMapKey.kt | teracy | 138,241,414 | false | {"Kotlin": 46099} | package com.github.teracy.roompagingsample.di
import android.arch.lifecycle.ViewModel
import dagger.MapKey
import kotlin.reflect.KClass
@MapKey
annotation class ViewModelMapKey(val value: KClass<out ViewModel>) | 0 | Kotlin | 0 | 0 | 9ab546c5b8994da9c0d6ead40b98e2cb4faea371 | 212 | RoomPagingSample | Apache License 2.0 |
app/src/main/java/com/rahul/app/weatherapp/core/BaseViewModel.kt | yuganshu007 | 328,369,128 | false | null | package com.rahul.app.weatherapp.core
import androidx.lifecycle.ViewModel
open class BaseViewModel : ViewModel()
| 0 | Kotlin | 0 | 0 | aa3b4625d316d350577cb293784221aade4f450b | 117 | Weather-App | The Unlicense |
src/main/kotlin/com/mx/hush/core/drivers/HushVulnerabilityScanDriver.kt | mxenabled | 504,646,339 | false | null | /**
* Copyright 2020 MX Technologies.
*
* 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 t... | 0 | Kotlin | 0 | 3 | e828053c327b25f7328f0dac34ef145d0b041b8c | 2,366 | hush | Apache License 2.0 |
app/src/main/java/com/auth0/sample/MainActivity.kt | kpritam | 497,408,678 | false | {"Kotlin": 11404} | package com.auth0.sample
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.isVisible
import com.auth0.android.Auth0
import com.auth0.android.authentication.AuthenticationAPIClient
import com.auth0.android.authentication.AuthenticationException
import com.auth0.android.c... | 0 | Kotlin | 0 | 0 | 1449133da1ade3dcc26005e2408cc11f95899d2c | 9,876 | auth0-android-lock | MIT License |
common/src/main/java/com/ekoapp/ekosdk/uikit/common/Extensions.kt | amadeus-n | 467,842,651 | true | {"Kotlin": 1114879} | package com.ekoapp.ekosdk.uikit.common
import android.content.Context
import android.content.res.Resources
import android.graphics.Rect
import android.graphics.drawable.Drawable
import android.os.AsyncTask
import android.view.TouchDelegate
import android.view.View
import android.widget.ImageView
import android.widget.... | 0 | null | 0 | 0 | d4fe097da96f71ab281c9b39fafdaa901aed377c | 8,238 | ASC-UIKit-Android | Microsoft Public License |
src/main/kotlin/com/jerryjeon/logjerry/ui/ExceptionDetectionView.kt | jkj8790 | 521,791,909 | false | null | package com.jerryjeon.logjerry.ui
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.IntrinsicSize
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layo... | 4 | Kotlin | 3 | 36 | 096d09d3cdd19ab0d6f3290d51307d85ac4385c2 | 3,553 | LogJerry | Apache License 2.0 |
fixture/src/main/kotlin/com/appmattus/kotlinfixture/resolver/KNamedPropertyResolver.kt | gavelez | 310,143,296 | true | {"Kotlin": 536970, "Java": 2317} | /*
* Copyright 2020 Appmattus Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 0 | null | 0 | 0 | f618632233736ab5e2d6e27ca3497837eb54a27f | 1,308 | kotlinfixture | Apache License 2.0 |
2020/day3/day3.kt | flwyd | 426,866,266 | false | {"Julia": 207516, "Elixir": 120623, "Raku": 119287, "Kotlin": 89230, "Go": 37074, "Shell": 24820, "Makefile": 16393, "sed": 2310, "Jsonnet": 1104, "HTML": 398} | /*
* Copyright 2021 Google LLC
*
* 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 day3
import kotlin.time.ExperimentalTime
import kotlin.time.TimeSource
import kotlin.time.measureTimedValue
/* Input is ... | 0 | Julia | 1 | 5 | f2d6dbb67d41f8f2898dbbc6a98477d05473888f | 1,810 | adventofcode | MIT License |
app/src/main/java/dog/snow/androidrecruittest/repository/AlbumRepository.kt | Lejdi | 303,955,299 | false | {"Kotlin": 62566} | package dog.snow.androidrecruittest.repository
import dog.snow.androidrecruittest.repository.cache.dao.AlbumDao
import dog.snow.androidrecruittest.repository.cache.mapper.AlbumMapper
import dog.snow.androidrecruittest.repository.cache.model.Album
import dog.snow.androidrecruittest.repository.networking.service.AlbumRe... | 0 | Kotlin | 0 | 0 | 94bce0609da24f40fc77f9510be85cb48e5e814c | 2,178 | SnowDog_Recruit | Apache License 2.0 |
kotlin-typescript/src/jsMain/generated/typescript/couldStartTrivia.kt | JetBrains | 93,250,841 | false | {"Kotlin": 12635434, "JavaScript": 423801} | // Automatically generated - do not modify!
@file:JsModule("typescript")
package typescript
external fun couldStartTrivia(text: String, pos: Double): Boolean
| 38 | Kotlin | 162 | 1,347 | 997ed3902482883db4a9657585426f6ca167d556 | 161 | kotlin-wrappers | Apache License 2.0 |
app/src/test/java/com/dfavilav/marvelapplication/data/paging/SearchHeroesSourceTest.kt | davilav | 751,080,023 | false | {"Kotlin": 110960} | package com.dfavilav.marvelapplication.data.paging
import androidx.paging.PagingSource
import com.dfavilav.marvelapplication.data.local.MarvelDatabase
import com.dfavilav.marvelapplication.data.paging.hero.SearchHeroesSource
import com.dfavilav.marvelapplication.data.remote.FakeMarvelApi
import com.dfavilav.marvelappl... | 0 | Kotlin | 0 | 0 | 25beb759cd9e84ec7740e893fa17eed5b7f972b1 | 2,864 | MarvelApp | Apache License 2.0 |
logindomain/src/main/java/com/nikitamaslov/logindomain/interactor/LogInUseCase.kt | nikitamasloff | 182,624,620 | false | null | package com.nikitamaslov.logindomain.interactor
import com.nikitamaslov.logindomain.model.Credential
import com.nikitamaslov.logindomain.repository.LoginRepository
import io.reactivex.Completable
interface LogInUseCase {
operator fun invoke(credential: Credential): Completable
}
class LogInUseCaseImpl(private v... | 0 | null | 0 | 0 | cbdd62b9eab3ae3362c6fec4f8c0d498133174c0 | 482 | in-touch | Apache License 2.0 |
dsl/src/main/kotlin/cloudshift/awscdk/dsl/services/lookoutmetrics/CfnAnomalyDetectorFileFormatDescriptorPropertyDsl.kt | cloudshiftinc | 667,063,030 | false | null | @file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.lookoutmetrics
import cloudshift.awscdk.common.CdkDslMarker
import software.amazon.awscdk.IResolvable
i... | 1 | Kotlin | 0 | 0 | 17c41bdaffb2e10d31b32eb2282b73dd18be09fa | 2,776 | awscdk-dsl-kotlin | Apache License 2.0 |
browser-kotlin/src/jsMain/kotlin/web/cache/CacheStorage.kt | karakum-team | 393,199,102 | false | null | // Automatically generated - do not modify!
package web.cache
import js.core.ReadonlyArray
import web.http.Request
import web.http.Response
import web.url.URL
import kotlin.js.Promise
sealed external class CacheStorage {
fun delete(cacheName: String): Promise<Boolean>
fun has(cacheName: String): Promise<Bool... | 0 | Kotlin | 6 | 22 | 340fa5d93f874ebf14810ab797a9808af574e058 | 804 | types-kotlin | Apache License 2.0 |
app/src/androidMain/kotlin/kosh/app/di/AndroidAppComponent.kt | niallkh | 855,100,709 | false | {"Kotlin": 1892361, "Swift": 21492} | package kosh.app.di
import kosh.app.BuildConfig
class AndroidAppComponent : AppComponent {
override val debug: Boolean
get() = BuildConfig.DEBUG
}
| 0 | Kotlin | 0 | 3 | e0149252019f8b47ceede5c0c1eb78c0a1e1c203 | 161 | kosh | MIT License |
src/main/kotlin/com/baulsupp/okurl/services/jira/model/jira.kt | hhy5277 | 181,409,482 | true | {"Kotlin": 534300, "Shell": 10198} | package com.baulsupp.okurl.services.jira.model
data class ProjectCategory(val id: String, val name: String, val description: String, val self: String)
data class Project(
val id: String,
val key: String,
val name: String,
val avatarUrls: Map<String, String>,
val projectCategory: ProjectCategory?,
val proj... | 0 | Kotlin | 0 | 0 | a154485d96e91e75f0557bf7652aed434b9353d1 | 341 | okurl | Apache License 2.0 |
domain-access/src/main/java/pl/kamilszustak/read/domain/access/usecase/device/GetPhoneNumberUseCase.kt | swistak7171 | 289,985,013 | false | null | package pl.kamilszustak.read.domain.access.usecase.device
import pl.kamilszustak.read.domain.access.usecase.UseCase
/**
* For devices running Android M or higher you have to explicitly
* ask user for permission (android.permission.READ_PHONE_STATE).
*/
interface GetPhoneNumberUseCase : UseCase<String?> | 2 | Kotlin | 0 | 1 | 70d7be58042410bdb969035413b726126426e3d3 | 308 | read | Apache License 2.0 |
src/main/kotlin/Supervisor.kt | CuteReimu | 591,960,504 | false | null | package org.tfcc.bingo
import io.netty.channel.Channel
import io.netty.channel.ChannelId
// 用以记录channel和player的对应关系,非线程安全
object Supervisor {
private val channelIdToPlayer = HashMap<ChannelId, String>()
private val playerTokenToChannel = HashMap<String, Channel>()
fun add(channel: Channel, playerToken: S... | 4 | null | 0 | 4 | bf1c38776ce9796f5d2bf56e3a13427f5cecec5b | 843 | th-bingo | MIT License |
sample/src/main/java/ro/andob/outofroom/sample/view/EditTextX.kt | andob | 363,221,615 | false | null | package ro.andob.outofroom.sample.view
import android.text.Editable
import android.text.TextWatcher
import android.widget.EditText
fun EditText.setOnTextChangedListener(listener : (String) -> (Unit))
{
addTextChangedListener(object : TextWatcher
{
override fun beforeTextChanged(s : CharSequence?, star... | 0 | Kotlin | 0 | 4 | 418211123a4b782a9bf29d01692d006ada7cc0a7 | 545 | OutOfROOM | Apache License 2.0 |
src/main/kotlin/com/mino/smartcheck/config/SmartCheckProperties.kt | carlosmontoyargz | 216,790,827 | false | {"HTML": 671011, "TypeScript": 104755, "Kotlin": 18773, "JavaScript": 2481, "CSS": 1227, "Java": 972} | package com.mino.smartcheck.config
import org.springframework.boot.context.properties.ConfigurationProperties
@ConfigurationProperties(prefix = "jwt")
class SmartCheckProperties(var secretKey: String = "")
| 28 | HTML | 0 | 0 | 2e2f091a701e68381963d88994138b3f20601192 | 208 | ortograma | MIT License |
app/src/main/java/com/kusamaru/standroid/nicovideo/NicoVideoInfoFragment.kt | kusamaru | 442,642,043 | false | null | package com.kusamaru.standroid.nicovideo
import android.content.Intent
import android.content.res.ColorStateList
import android.graphics.Color
import android.os.Bundle
import android.text.Spannable
import android.text.Spanned
import android.text.method.LinkMovementMethod
import android.text.style.ClickableSpan
import ... | 0 | null | 0 | 3 | 5c58707eecc7a994fbd4bc900b22106697bf3806 | 21,275 | StanDroid | Apache License 2.0 |
app/src/main/java/com/jumpingphantom/flow/core/ui/containers/Elements.kt | JumpingPhantom | 811,400,534 | false | {"Kotlin": 109236} | package com.jumpingphantom.flow.core.ui.containers
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ColumnScope
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.RowScope
import android... | 0 | Kotlin | 0 | 0 | 7c82814773d647043401c8e67781af0cae0947a9 | 3,029 | Flow | MIT License |
app/src/main/java/com/magonxesp/randomanimepicker/ui/anime/compose/AnimeList.kt | magonxesp | 741,908,674 | false | {"Kotlin": 269209, "Makefile": 1027} | package com.magonxesp.randomanimepicker.ui.anime.compose
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.lazy.LazyColumn
import and... | 0 | Kotlin | 0 | 1 | 1d6738bade13a9567417d2eaba2c76d156a90d69 | 2,832 | RandomAnimePicker-android | MIT License |
libnavui-dropin/src/main/java/com/mapbox/navigation/dropin/component/recenter/RecenterViewModel.kt | k4anubhav | 439,334,238 | true | {"Kotlin": 4189704, "Java": 26254, "Python": 11580, "Makefile": 6163, "Shell": 5704} | package com.mapbox.navigation.dropin.component.recenter
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.onEach
import kotli... | 0 | null | 1 | 1 | 3751b1323b3e585976a5476176810049061ca1ec | 2,607 | mapbox-navigation-android | Apache License 2.0 |
app/src/main/java/com/frafio/myfinance/data/enums/db/PurchaseCode.kt | francescofiorella | 360,818,457 | false | {"Kotlin": 202595} | package com.frafio.myfinance.data.enums.db
import com.frafio.myfinance.utils.getCurrentLanguage
enum class PurchaseCode(val code: Int, val message: String) {
EMPTY_NAME(
1, when (getCurrentLanguage()) {
Languages.ENGLISH.value -> "Enter the purchase name."
Languages.ITALIANO.value ... | 0 | Kotlin | 0 | 1 | 95982a5b5725046a0cc95ef78a98776da86721b4 | 7,269 | MyFinance | MIT License |
Chapter3/favedish-presentation/src/main/java/com/favedish/presentation/dishdetails/model/DishDetailsPresentationNotification.kt | bpbpublications | 533,628,168 | false | null | package com.favedish.presentation.dishdetails.model
class DishDetailsPresentationNotification
| 0 | Kotlin | 5 | 7 | cd85b9fb89e307ad4977bcdb63121aa906f19427 | 95 | Clean-Architecture-for-Android | MIT License |
io/http/src/test/kotlin/io/bluetape4k/http/hc5/fluent/FluentExecutorExamples.kt | debop | 625,161,599 | false | {"Kotlin": 7504333, "HTML": 502995, "Java": 2273, "JavaScript": 1351, "Shell": 1301, "CSS": 444, "Dockerfile": 121, "Mustache": 82} | package io.bluetape4k.http.hc5.fluent
import io.bluetape4k.http.hc5.AbstractHc5Test
import io.bluetape4k.http.hc5.http.httpHostOf
import io.bluetape4k.junit5.folder.TempFolder
import io.bluetape4k.junit5.folder.TempFolderTest
import io.bluetape4k.logging.KLogging
import io.bluetape4k.logging.debug
import io.bluetape4k... | 0 | Kotlin | 0 | 1 | ce3da5b6bddadd29271303840d334b71db7766d2 | 3,162 | bluetape4k | MIT License |
src/main/kotlin/me/fzzyhmstrs/amethyst_imbuement/entity/hamster/HamsicleEntity.kt | fzzyhmstrs | 461,338,617 | false | null | package me.fzzyhmstrs.amethyst_imbuement.entity.hamster
import me.fzzyhmstrs.amethyst_core.interfaces.SpellCastingEntity
import net.minecraft.entity.*
import net.minecraft.entity.damage.DamageSource
import net.minecraft.nbt.NbtCompound
import net.minecraft.registry.tag.DamageTypeTags
import net.minecraft.world.LocalDi... | 16 | Kotlin | 7 | 3 | 9971606dfafa9422e9558238c7783f8e27bd34a3 | 1,529 | ai | MIT License |
src/test/java/com/hi/dhl/ext/RemoteMachineInfo.kt | hi-dhl | 547,103,098 | false | null | package com.hi.dhl.ext
import com.hi.dhl.common.Common
/**
* <pre>
* author: dhl
* date : 2022/9/10
* desc :
* </pre>
*/
data class RemoteMachineInfo(
val port: String,
val host: String,
val user: String,
val rootDir: String = Common.remoteRootDir
) | 3 | Kotlin | 9 | 89 | bccce0621b756f44c7d5eba026871fce5292c2be | 287 | SyncKit | Apache License 2.0 |
mapper/src/main/kotlin/com/kncept/mapper/java/time/JavaTimeModule.kt | kncept | 761,612,876 | false | {"Kotlin": 45446} | package com.kncept.mapper.java.time
import com.kncept.mapper.TypeMapper
import com.kncept.mapper.TypeMapperModule
class JavaTimeModule : TypeMapperModule {
var truncateTypesToEpochSecond = true
override fun mappers(): List<TypeMapper<*>> {
return listOf(
LocalDateTimeMapper(),
LocalDateMappe... | 0 | Kotlin | 0 | 0 | 09132cf7f3af26d46ae770546090b7e03e8d3539 | 584 | kotlin-dynamodb-mapper | MIT License |
tvshow/presentation/detail/src/main/java/com/movietime/tvshow/detail/presentation/model/UiTvShowDetail.kt | milanga | 471,352,982 | false | {"Kotlin": 191910} | package com.movietime.tvshow.detail.presentation.model
import com.movietime.domain.model.TvShowDetail
data class UiTvShowDetail(
val backdropPath: String,
val overview: String,
val tagline: String,
val title: String
)
fun TvShowDetail.toUiTvShowDetail(): UiTvShowDetail =
UiTvShowDetail(
b... | 0 | Kotlin | 0 | 0 | 4a7a64d5beb57aea9a47377b8d03456bd8d2abcd | 386 | MovieTime | Apache License 2.0 |
src/main/kotlin/io/github/kr8gz/playerstatistics/commands/ServerTotalCommand.kt | kr8gz | 780,166,652 | false | {"Kotlin": 42638, "Java": 2449} | package io.github.kr8gz.playerstatistics.commands
import io.github.kr8gz.playerstatistics.commands.ShareCommand.storeShareData
import io.github.kr8gz.playerstatistics.database.Leaderboard
import io.github.kr8gz.playerstatistics.database.Statistics
import io.github.kr8gz.playerstatistics.extensions.ServerCommandSource.... | 1 | Kotlin | 0 | 3 | 7ec35d74be4cdcd6d91b09193c2faf39e2cd96a2 | 2,756 | PlayerStatistics | MIT License |
modulecheck-api/src/main/kotlin/modulecheck/api/ProjectDependencies.kt | jeremiahvanofferen | 397,332,342 | true | {"Kotlin": 440018, "JavaScript": 9458, "CSS": 3037} | /*
* Copyright (C) 2021 <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 | null | 0 | 0 | 65455e246ffcfe398335af0ca87348d561348c54 | 1,263 | ModuleCheck | Apache License 2.0 |
src/main/kotlin/com/exactpro/th2/act/ssh/cfg/SshServiceConfiguration.kt | th2-net | 441,131,998 | false | {"Kotlin": 53956, "Java": 6977, "Dockerfile": 445} | /*
* Copyright 2020-2021 Exactpro (Exactpro Systems Limited)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 0 | Kotlin | 1 | 1 | 30643e1d58e370bc366e93ac6efd1c4a93fc0bf2 | 4,456 | th2-act-ssh | Apache License 2.0 |
app/src/main/java/dev/mahdisml/webimmortalguards/ui/MainViewModel.kt | mahdisml | 650,152,883 | false | null | package dev.mahdisml.webimmortalguards.ui
import android.app.Activity
import android.content.Context
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import dev.m... | 0 | Kotlin | 1 | 29 | f3870f22f9302efe80e83db88c5d3bcf4f312bb3 | 2,145 | WebImmortalGuards | MIT License |
src/test/resources/test-compile-data/jvm/kotlin-web-site/null-safety/caab662b5f82c6c847bb060aa8f9d04b.3.kt | AlexanderPrendota | 219,478,945 | false | null | fun main() {
//sampleStart
val a = "Kotlin"
val b: String? = null
println(b?.length)
println(a?.length) // Unnecessary safe call
//sampleEnd
} | 14 | Kotlin | 47 | 89 | 95326951087813b6dea8b5ef4234fc06f252bd80 | 158 | kotlin-compiler-server | Apache License 2.0 |
lib/src/main/java/zone/bitverse/connect/BitverseConnectApi.kt | Bitverse-Pte | 661,320,703 | false | null | package zone.bitverse.connect
import android.app.Application
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Handler
import android.util.Log
import com.squareup.moshi.Moshi
import com.walletconnect.android.Core
import com.walletconnect.android.CoreClient
import com... | 0 | Kotlin | 0 | 0 | b8e37ccac7bf5824e94130ca624c1446b012bdc2 | 7,500 | BitverseConnectKotlin | MIT License |
currencies/src/main/kotlin/by/jprof/telegram/bot/currencies/parser/CAD.kt | JavaBy | 367,980,780 | false | null | package by.jprof.telegram.bot.currencies.parser
class CAD : MonetaryAmountParserBase() {
override val currency: String = "CAD"
override val currencyRegex: String = "(CAD|CA$|Can$|C$)"
}
| 21 | Kotlin | 2 | 2 | 7e0f2c68e3acc9ff239effa34f5823e4ef8212c9 | 197 | jprof_by_bot | MIT License |
foosball/app/src/tablet/java/com/instructure/androidfoosball/activities/MainActivity.kt | instructure | 179,290,947 | false | null | /*
* Copyright (C) 2017 - present Instructure, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | 2 | Kotlin | 85 | 99 | 1bac9958504306c03960bdce7fbb87cc63bc6845 | 7,116 | canvas-android | Apache License 2.0 |
tools/conventions/src/main/kotlin/dev/elide/build/jvm/toolchain/GraalVMToolchainResolver.kt | elide-dev | 506,113,888 | false | {"Kotlin": 4156801, "Rust": 130170, "Java": 51233, "Python": 7851, "JavaScript": 6037, "Ruby": 2474, "C": 1926, "RenderScript": 578, "Shell": 160, "Pkl": 102, "TypeScript": 78, "Swift": 23} | /*
* Copyright (c) 2024 Elide Technologies, Inc.
*
* Licensed under the MIT license (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* https://opensource.org/license/mit/
*
* Unless required by applicable law or agreed to in writing,... | 75 | Kotlin | 16 | 97 | 652036fb4e8394e8ad1aced2f4bbfaa9e00a5181 | 1,490 | elide | MIT License |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.