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/main/java/com/lifecycle/demo/inject/data/net/Params.kt | striveprince | 211,611,448 | false | null | package com.lifecycle.demo.inject.data.net
import com.lifecycle.demo.inject.data.net.converter.ApiParams
data class SignParams(var login_name: String, var password: String) : ApiParams
data class InterrogationParams(val task_category:Int,val pageIndex:Int = 1,val pageSize:Int = 10): ApiParams
| 0 | Kotlin | 0 | 2 | 651a6ecd744e8124c5002a075a4a8c325bebd977 | 298 | kotlin | Apache License 2.0 |
app/src/main/java/de/christinecoenen/code/zapp/app/settings/helper/PreferenceHelper.kt | mediathekview | 68,289,398 | false | {"Kotlin": 339638} | package de.christinecoenen.code.zapp.app.settings.helper
import android.content.Context
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import java.util.*
internal class PreferenceHelper(context: Context) {
companion object {
private const val SHARED_PEFERENCES_NAME = "ZAPP_SHARED_PREFERENCES... | 57 | Kotlin | 33 | 201 | 7a3cadf5a8b8efd1bb5cb9a0d6175c995e2f5aaf | 874 | zapp | MIT License |
src/main/kotlin/dev/koifysh/randomizer/ArchipelagoRandomizer.kt | KonoTyran | 833,936,250 | false | {"Kotlin": 175196, "Java": 12527} | package dev.koifysh.randomizer
import com.google.common.collect.ImmutableSet
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import dev.koifysh.randomizer.base.goals.*
import dev.koifysh.randomizer.base.items.*
import dev.koifysh.randomizer.base.locations.Advancement
import dev.koifysh.randomizer.base.l... | 0 | Kotlin | 0 | 0 | 6f6c8a585154d8cce094365b989e995df3357119 | 12,672 | archipelago-randomizer-fabric | Creative Commons Zero v1.0 Universal |
app/src/main/java/com/mkmusical/metalkindred/breweryfinder/data/BreweryService.kt | mkirshman | 726,925,278 | false | {"Kotlin": 12627} | package com.mkmusical.metalkindred.breweryfinder.data
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query
interface BreweryService {
@GET("GetBreweries")
fun getBreweries(
@Query("by_name") name: String?,
@Query("by_state") state: String?,
@Query("postalCode") p... | 0 | Kotlin | 0 | 0 | b3bd06b76bb1a79a21e63bf6b10d0fad1ce0e4c1 | 409 | BreweryFinderAndroid | MIT License |
frontend/src/main/kotlin/lodash.kt | jan-auer | 93,330,143 | false | null | /**
* Binding to the native lodash implementation (installed via npm).
*
* This requires a module loader that can provide the "lodash" module, likely
* installed with "npm install lodash".
*
* Also, if webpack is configured correctly, tree shaking will make sure that
* all unused lodash functions get eliminated ... | 0 | Kotlin | 2 | 11 | dbd4d18de4000a3f86731415c53853119640838e | 569 | kotlin-js-todo | The Unlicense |
app/src/main/java/com/droidfeed/data/db/SourceDao.kt | amitkpandey | 143,867,338 | true | {"Kotlin": 135129, "Java": 1630} | package com.droidfeed.data.db
import android.arch.lifecycle.LiveData
import android.arch.persistence.room.Dao
import android.arch.persistence.room.Insert
import android.arch.persistence.room.OnConflictStrategy
import android.arch.persistence.room.Query
import android.arch.persistence.room.Update
import com.droidfeed.d... | 0 | Kotlin | 0 | 0 | e58f0c03eef6f51f4303657ceae8d02e254a1336 | 765 | droid-feed | Apache License 2.0 |
src/main/kotlin/relativity/shape/RelativityShape.kt | AlexanderScherbatiy | 323,309,804 | false | null | package relativity.shape
import relativity.math.RelativityTransform
interface RelativityShape {
val segments: List<Segment>
val transforms: List<RelativityTransform>
val shapes: List<RelativityShape>
} | 0 | Kotlin | 0 | 0 | ec9ced9d11bfc988755b496ec7234926dd83c249 | 216 | RelativityTheoryShapes | MIT License |
src/main/kotlin/org/example/CountTokensRequest.kt | uaikit | 779,550,576 | false | {"Kotlin": 19453} | package org.example
import kotlinx.serialization.Serializable
@Serializable
data class CountTokensRequest(
val contents: List<Content>,
)
| 0 | Kotlin | 0 | 0 | 3066608c55c1a6e24fb6d518eff5b47880711ab4 | 144 | 8huneaoe24 | Apache License 2.0 |
parser/datacap-parser-mysql/src/main/kotlin/io/edurt/datacap/parser/mysql/companion/tree/Select.kt | devlive-community | 537,719,266 | false | null | package io.edurt.datacap.parser.mysql.companion.tree
import io.edurt.datacap.parser.mysql.companion.AstVisitor
import io.edurt.datacap.parser.mysql.companion.ast.Node
import io.edurt.datacap.parser.mysql.companion.ast.NodeLocation
import java.util.*
data class Select(override val location: Optional<NodeLocation>,
... | 32 | null | 94 | 865 | 1d6be5c990ed3f952bc28699ea15a68b1e2bc265 | 561 | datacap | Apache License 2.0 |
android/src/main/kotlin/com/f2fk/geofence_foreground_service/models/Zone.kt | Basel-525k | 697,356,437 | false | {"Kotlin": 38836, "Swift": 26171, "Dart": 24083, "Ruby": 2506, "Java": 670, "Objective-C": 38} | package com.f2fk.geofence_foreground_service.models
import com.f2fk.geofence_foreground_service.Constants
import com.google.android.gms.maps.model.LatLng
import java.io.Serializable
import java.util.ArrayList
class ZonesList(
val zones: ArrayList<Zone>?
) : Serializable {
fun toJson(): Map<String, *> {
... | 3 | Kotlin | 2 | 3 | ff352619eb487dcc304062ec373cd35fdea2d918 | 2,194 | geofence_foreground_service | Apache License 2.0 |
app/src/main/java/com/obvious/photosgridassignment/ui/photos/PhotoEntityDiffCallback.kt | SachinRupani | 485,911,013 | false | null | package com.obvious.photosgridassignment.ui.photos
import androidx.recyclerview.widget.DiffUtil
import com.obvious.photosgridassignment.domain.entities.PhotoEntity
/**
* Diff Callback for photos grid
*/
object PhotoEntityDiffCallback : DiffUtil.ItemCallback<PhotoEntity>() {
override fun areItemsTheSame(oldItem:... | 0 | Kotlin | 0 | 3 | b9a49aa01e10394a2234d4f1eb4f0e0994b39bed | 552 | PhotosGridAssignment | Apache License 2.0 |
src/main/kotlin/com/esop/HttpExceptionHandler.kt | ArunMurugan0 | 599,014,849 | false | null | package com.esop.exceptions
import io.micronaut.context.annotation.Requirements
import io.micronaut.context.annotation.Requires
import io.micronaut.http.HttpRequest
import io.micronaut.http.HttpResponse
import io.micronaut.http.annotation.Produces
import io.micronaut.http.server.exceptions.ExceptionHandler
import jak... | 1 | null | 0 | 1 | 3988f78145ddfc2c383d04f1e09254d1df362843 | 794 | esop-trading-refactor-sprint | Apache License 2.0 |
src/main/java/cn/edu/kmust/flst/web/reception/ReceptionMainController.kt | zbeboy | 128,647,683 | false | {"JavaScript": 1160910, "Java": 925800, "Kotlin": 263657, "HTML": 195302, "CSS": 141096} | package cn.edu.kmust.flst.web.reception
import cn.edu.kmust.flst.config.Workbook
import cn.edu.kmust.flst.domain.flst.tables.pojos.Article
import cn.edu.kmust.flst.domain.flst.tables.pojos.ArticleEn
import cn.edu.kmust.flst.domain.flst.tables.pojos.Menus
import cn.edu.kmust.flst.service.backstage.article.ArticleEnServ... | 2 | JavaScript | 0 | 0 | 895b865c6fec882a46f3b47f94e69bbda89724b3 | 16,410 | FLST | MIT License |
sample/src/main/java/io/github/koss/randux/sample/examples/simpleasync/SimpleAsyncActivity.kt | jamiesanson | 127,680,249 | false | null | /*
* MIT License
*
* Copyright (c) 2018 K-OSS Development
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... | 0 | Kotlin | 0 | 2 | 5b2ab15a46f39ef253c07e1bd7ab7117db9961e7 | 3,602 | Randux | MIT License |
androidApp/src/main/java/com/jittyandiyan/androidApp/KMMTApplication.kt | jittya | 361,707,096 | false | null | package com.jittyandiyan.androidApp
import android.app.Application
import android.os.Build
import android.provider.Settings
import com.kmmt.analytics.core.AppInfo
import com.kmmt.analytics.core.BuildType
import com.kmmt.analytics.event.log.events.EventAppOpened
import com.kmmt.analytics.event.log.logEvent
import com.k... | 0 | Kotlin | 10 | 221 | 2faa5eb1fdd785cc1b07f03b9c186af1a3acfc40 | 2,063 | KMMT | MIT License |
app/src/main/kotlin/com/ybj366533/yycamera/base/utils/TextUtils.kt | ybj366533 | 131,370,409 | false | null | package com.ybj366533.yycamera.base.utils
import android.support.annotation.ColorInt
import android.text.*
import android.text.style.ClickableSpan
import android.view.View
import java.nio.charset.Charset
/**
* 文字处理工具类
* Created by summer on 2017/11/8.
*/
/**
* 获取字符串字节长度
* cn = 2 byte, en = 1 byte
*/
inline val... | 0 | null | 3 | 19 | 08d6b4818173293f3f56409f2f4e79dec76e3aa5 | 3,982 | YY-Camera | Apache License 2.0 |
src/main/kotlin/best/leafyalex/gainzclient/bot/features/Bow.kt | ProbAlex | 861,028,735 | false | {"Kotlin": 145411, "Java": 2465} | package best.leafyalex.gainzclient.bot.features
import best.leafyalex.gainzclient.bot.StateManager
import best.leafyalex.gainzclient.bot.player.Inventory
import best.leafyalex.gainzclient.bot.player.Mouse
import best.leafyalex.gainzclient.utils.RandomUtils
import best.leafyalex.gainzclient.utils.TimeUtils
interface B... | 0 | Kotlin | 0 | 0 | b07663acd80e3c6680ed278b1f2e503d4507d1ce | 1,495 | GainzClient | MIT License |
app/src/main/java/com/spiral_root/android/test_app/ui/main/MainActivity.kt | unveloper | 529,228,570 | false | null | package com.spiral_root.android.test_app.ui.main
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material3.MaterialTheme
i... | 0 | Kotlin | 0 | 1 | a902f7f90e047d9d8a4aa471039b063c26fdcf0d | 2,964 | slf4j-timber | Apache License 2.0 |
android/app/src/main/java/hu/sztomek/wheresmybuddy/presentation/model/persistable/SplashModel.kt | sztomek | 126,842,323 | false | {"Markdown": 4, "Ignore List": 4, "Gradle": 3, "XML": 82, "Java Properties": 1, "Shell": 1, "Batchfile": 1, "Proguard": 1, "Kotlin": 224, "Java": 1, "JSON with Comments": 2, "JSON": 2, "JavaScript": 1} | package hu.sztomek.wheresmybuddy.presentation.model.persistable
import android.os.Parcel
import hu.sztomek.wheresmybuddy.presentation.util.*
data class SplashModel(val hasUser: Boolean?, val hasGcmToken: Boolean?) : KParcelable {
private constructor(p: Parcel) : this(
hasUser = p.readNullable { p.rea... | 0 | Kotlin | 0 | 1 | 9cf2842a4ad380c9b5d1f6524cf7893c6eb27946 | 710 | buddyfinder | Apache License 2.0 |
src/main/java/pages/LandingPage.kt | jsabak | 167,244,932 | false | null | package pages
import org.openqa.selenium.By
import org.openqa.selenium.WebElement
class LandingPage : Common() {
fun getSeed(): String {
return webElementLocatedBy(By.xpath("//pre/code/em")).text
}
private fun exercisesButtons(): WebElement {
return webElementLocatedBy(By.xpath("//div[@cla... | 0 | Kotlin | 0 | 0 | c267c378135985f67979cc5d792d8eee0d8b9a8c | 783 | antycaptcha-solutions-kotlin | MIT License |
app/src/main/java/com/quiet/onlytv/ui/player/PlayerActivity.kt | ludoven | 716,492,159 | false | {"Kotlin": 222636} | package com.quiet.onlytv.ui.player
import android.content.Context
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.ludoven.base.BaseActivity
import com.ludoven.base.mvp.DefaultPresenter
import com.quiet.onlytv.R
import com.quiet.onlytv.databinding.Activi... | 0 | Kotlin | 10 | 43 | 988b65cd8e1cc143b8d6f987f2ed262773726b2f | 1,043 | OnlyTV-For-TV | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/FileInvoice.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 5,073 | icons | MIT License |
AiAssistant/app/src/main/java/com/example/aiassistant/domain/usecase/ScheduleManager.kt | nippongun | 830,371,307 | false | {"Kotlin": 45935, "Python": 2487} | package com.example.aiassistant.domain.usecase
import android.content.Context
import android.icu.util.Calendar
import androidx.work.ExistingWorkPolicy
import androidx.work.OneTimeWorkRequestBuilder
import androidx.work.WorkManager
import androidx.work.workDataOf
import com.example.aiassistant.domain.model.ScheduledTas... | 0 | Kotlin | 0 | 0 | 1fae08b8f0b6d4b0aad144145d37478954a7d314 | 655 | AI-Assistant-App | MIT License |
plugin/src/main/kotlin/com/testknight/checklistGenerationStrategies/parentStrategies/MethodChecklistGenerationStrategy.kt | SERG-Delft | 371,368,272 | false | null | package com.testknight.checklistGenerationStrategies.parentStrategies
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiMethod
import com.intellij.psi.util.PsiTreeUtil
import com.testknight.models.testingChecklist.leafNodes.TestingChecklistLeafNode
import com.testknight.models.testingChecklist.parentNodes.... | 1 | Kotlin | 3 | 34 | af01538e5511d9ea6658bc65cf62a1fbda38181f | 4,095 | testknight | MIT License |
dcp_kotlin/src/test/kotlin/dcp/day289/day289.kt | sraaphorst | 182,330,159 | false | {"Text": 2, "Ignore List": 1, "Markdown": 214, "Python": 61, "Scala": 36, "XML": 2, "Java": 16, "INI": 3, "Gradle": 2, "Shell": 1, "Batchfile": 1, "Kotlin": 180, "CMake": 2, "C++": 85, "C": 1} | package dcp.day289
// day289.kt
// By <NAME>, 2020.
import io.kotlintest.properties.Gen
import io.kotlintest.properties.forAll
import io.kotlintest.specs.StringSpec
import org.junit.jupiter.api.Test
import kotlin.test.assertEquals
class UnitTests {
@Test
fun example1() {
val l = listOf(3, 4, 5)
... | 1 | null | 1 | 1 | 5981e97106376186241f0fad81ee0e3a9b0270b5 | 1,021 | daily-coding-problem | MIT License |
app/src/main/java/gr/padpad/marvellivedata/model/data/DashboardDataModel.kt | pandelisgreen13 | 195,199,562 | false | null | package gr.padpad.marvellivedata.model.data
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
@Parcelize
data class MarvelHeroesModel(val id: Int = 0,
val name: String = "",
val description: String = "",
val thum... | 0 | Kotlin | 0 | 3 | 30a7b54bd6f223ede31ef9d2c8319729f76da164 | 530 | MarvelLiveDataMvvm | Apache License 2.0 |
usvm-jvm/src/test/kotlin/org/usvm/samples/stream/DoubleStreamExampleTest.kt | UnitTestBot | 586,907,774 | false | {"Kotlin": 2623226, "Java": 476836} | package org.usvm.samples.stream
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Tag
import org.junit.jupiter.api.Test
import org.usvm.samples.JavaMethodTestRunner
import org.usvm.test.util.checkers.eq
import org.usvm.test.util.checkers.ignoreNumberOfAnalysisResults
import org.usvm.util.isException
... | 36 | Kotlin | 6 | 9 | 6bafd5c9f8301c179f74f3e8f0e8c9e911aaa5e1 | 15,581 | usvm | Apache License 2.0 |
app/src/main/java/com/shaochun/fourseasonsweather/logic/model/RealtimeResponse.kt | 1412952724 | 320,219,665 | false | null | package com.shaochun.fourseasonsweather.logic.model
import com.google.gson.annotations.SerializedName
/**
* @创建者: w_shaochun
* @时间: 2020/12/12 14:09
* @描述:
*/
class RealtimeResponse(val status: String, val result: Result) {
data class Result(val realtime: Realtime)
data class Realtime(
val skycon:... | 0 | Kotlin | 0 | 0 | f42352898e5832c5afc3a5e32c5de682016b3e56 | 502 | FourSeasonsWeather | Apache License 2.0 |
presentation/viewmodels/src/main/java/com/cupcake/viewmodels/login/LoginUiState.kt | The-Cupcake-team | 646,926,125 | false | null | package com.cupcake.ui.login
import java.lang.Error
data class LoginUiState(
val userName: String = "",
val password: String = "",
val userNameError: String = "",
val passwordError: String = "",
val isUserNameValid: Boolean = false,
val isPasswordValid: Boolean = false,
val isLoading: Bool... | 5 | Kotlin | 0 | 0 | f215bc977d9f5288d2a4cd8d4a625371a964b2f7 | 405 | Jobs-finder | MIT License |
codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/customizations/BeforeIteratingOverMapOrCollectionJsonCustomization.kt | smithy-lang | 308,027,791 | false | {"Rust": 4428309, "Kotlin": 3842117, "Smithy": 151231, "Python": 62946, "Shell": 49728, "TypeScript": 30713, "Dockerfile": 9790, "JavaScript": 5975, "Harbour": 5848, "Makefile": 5633, "CSS": 982, "RenderScript": 116} | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package software.amazon.smithy.rust.codegen.server.smithy.customizations
import software.amazon.smithy.model.shapes.CollectionShape
import software.amazon.smithy.model.shapes.MapShape
import software.am... | 345 | Rust | 188 | 504 | 8d8e7ab7aa6c3b388ffb2365a29ab03f87c24507 | 2,202 | smithy-rs | Apache License 2.0 |
app/src/main/java/android/project/shoppingapp/ui/basket/BasketModalSheetAdapter.kt | RavanSA | 556,878,799 | false | null | package android.project.shoppingapp.ui.basket
import android.project.shoppingapp.data.local.database.entity.BasketEntity
import android.project.shoppingapp.databinding.BasketItemBinding
import android.util.Log
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.AsyncLis... | 0 | Kotlin | 0 | 0 | a2063af1a70236454c1df377b7d59a49ca6d3b28 | 2,952 | ShoppingApp | MIT License |
app/src/main/java/ext/aks4125/nasajetpack/presentation/ui/search/PlanetTile.kt | Aks-4125 | 655,442,470 | false | null | package ext.aks4125.nasajetpack.presentation.ui.search
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose... | 2 | Kotlin | 0 | 0 | 2bf66f42b0a53282d66fb10e5ca892ce50daaa7b | 4,773 | nasa-jetpack-android | MIT License |
app/src/main/java/ir/roocket/sinadalvand/todo/data/model/Response.kt | sinadalvand | 394,678,385 | false | null | package ir.roocket.sinadalvand.todo.data.model
import com.google.gson.annotations.SerializedName
data class Response<T>(
/* response status code*/
@SerializedName("status")
var statusCode: Int = 200,
/* server message */
@SerializedName("msg")
var msg: String? = null,
/* data */
@Ser... | 0 | Kotlin | 0 | 2 | 5b6fc2a32bef9770398e9f6cc26907395fb86d5d | 365 | Todo | Apache License 2.0 |
sample/src/main/java/mohamedalaa/mautils/sample/gson/model/SnoozePolicy.kt | MohamedAlaaEldin636 | 178,618,838 | false | null | /*
* Copyright (c) 2019 Mohamed Alaa
*
* 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 agree... | 0 | Kotlin | 0 | 0 | 16d6a8fdbf0d851c74485bdc1a609afaf3bb76f9 | 1,709 | MAUtils | Apache License 2.0 |
wow-core/src/main/kotlin/me/ahoo/wow/metadata/CacheableMetadataParser.kt | Ahoo-Wang | 628,167,080 | false | {"Kotlin": 2461710, "TypeScript": 51145, "Java": 37656, "HTML": 15900, "Lua": 3978, "JavaScript": 2514, "Dockerfile": 820, "SCSS": 609, "Less": 413} | /*
* Copyright [2021-present] [<NAME> <<EMAIL>> (https://github.com/Ahoo-Wang)].
* 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... | 8 | Kotlin | 23 | 187 | 4fb54c314c31a7cd3c9515554879a2ca8fade764 | 1,125 | Wow | Apache License 2.0 |
solar/src/main/java/com/chiksmedina/solar/boldduotone/time/AlarmPlay.kt | CMFerrer | 689,442,321 | false | {"Kotlin": 36591890} | package com.chiksmedina.solar.boldduotone.time
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Com... | 0 | Kotlin | 0 | 0 | 3414a20650d644afac2581ad87a8525971222678 | 4,510 | SolarIconSetAndroid | MIT License |
app/src/main/java/org/watsi/enrollment/views/FeesSummaryView.kt | Meso-Health | 227,515,211 | false | null | package org.watsi.enrollment.views
import android.content.Context
import android.support.constraint.ConstraintLayout
import android.support.v7.widget.LinearLayoutManager
import android.util.AttributeSet
import android.view.LayoutInflater
import kotlinx.android.synthetic.main.view_fees_summary.view.line_items
import ko... | 0 | Kotlin | 3 | 1 | bba562b15e5e34d3239f417c45c6ec4755510c68 | 1,108 | meso-enrollment | Apache License 2.0 |
core/src/main/java/com/alamkanak/weekview/CanvasExtensions.kt | abedsh | 192,532,029 | false | {"Gradle": 7, "Markdown": 6, "INI": 6, "Shell": 1, "Text": 1, "Ignore List": 6, "Batchfile": 1, "Proguard": 5, "XML": 24, "Kotlin": 81, "Java": 1, "JSON": 1, "Java Properties": 1, "YAML": 1} | package com.alamkanak.weekview
import android.graphics.Canvas
fun Canvas.withTranslation(x: Float, y: Float, block: Canvas.() -> Unit) {
save()
translate(x, y)
block()
restore()
}
fun Canvas.drawInRect(
left: Float,
top: Float,
right: Float,
bottom: Float,
block: Canvas.() -> Unit... | 1 | null | 1 | 1 | aca35ad8103a4910eb70d37c3749ef8dc62166b5 | 403 | Android-Week-View | Apache License 2.0 |
app/src/main/java/org/penguin_stats/android/ui/HomeViewModel.kt | Flatigers | 677,761,874 | false | null | package org.penguin_stats.android.ui
import androidx.lifecycle.ViewModel
class HomeViewModel : ViewModel() {
} | 1 | Kotlin | 1 | 1 | 7c117fd2be2cbd332248d4373f63e39fd8769d57 | 112 | penguin-stats-android | MIT License |
app/src/main/java/net/squanchy/tweets/view/TwitterFooterFormatter.kt | sockeqwe | 131,958,461 | true | {"Kotlin": 440232, "Java": 41771, "Shell": 3057} | package net.squanchy.tweets.view
import android.content.Context
import android.support.annotation.StringRes
import net.squanchy.R
import net.squanchy.tweets.domain.view.TweetViewModel
import org.joda.time.DateTime
import org.joda.time.LocalDateTime
import org.joda.time.format.DateTimeFormat
import org.joda.time.format... | 0 | Kotlin | 0 | 1 | 660862a186a555a8c56ab786f536cd56019fd8b9 | 2,473 | squanchy-android | Apache License 2.0 |
app/src/main/java/de/schwerin/stoppCoronaDE/model/api/ApiInteractor.kt | Mandarin-Medien | 269,321,452 | false | null | package de.schwerin.stoppCoronaDE.model.api
import android.content.Context
import android.content.SharedPreferences
import de.schwerin.stoppCoronaDE.model.entities.configuration.ApiConfiguration
import de.schwerin.stoppCoronaDE.model.entities.infection.info.ApiInfectionInfoRequest
import de.schwerin.stoppCoronaDE.mode... | 0 | Kotlin | 0 | 1 | a8a489c25b55cce8b14d60b9afa3fb44cfecab43 | 11,413 | stopp-corona-de-android | Apache License 2.0 |
RailArea/src/main/kotlin/city/newnan/railarea/input/AreaInput.kt | NewNanCity | 467,094,551 | false | null | package city.newnan.railarea.input
import city.newnan.railarea.PluginMain
import city.newnan.railarea.config.Direction
import city.newnan.railarea.config.RailArea
import city.newnan.railarea.config.RailLine
import city.newnan.railarea.config.Station
import city.newnan.railarea.gui.showLineStationGui
import city.newnan... | 0 | Kotlin | 0 | 4 | 4a80fa4227bd6a659195fbdb9e022f71c9853be4 | 13,486 | Plugins | MIT License |
app/src/main/java/com/allever/app/jetpack/demo09/room/DBController.kt | devallever | 273,505,771 | false | null | package com.allever.app.jetpack.demo09.room
object DBController {
val userDao by lazy {
AppDB.getIns().userDao()
}
fun getUserById(id: Long): User? {
val result = userDao.getUserById(id)
return if (result.isEmpty()) {
null
} else {
result[0]
... | 0 | Kotlin | 0 | 0 | 7ef800d36883ae9f3bdbde0bdef8a9ad997f69ab | 329 | JetpackProject | Apache License 2.0 |
src/main/kotlin/io/mspencer/krunch/RegexParsers.kt | iBelieve | 93,285,414 | false | null | package io.mspencer.krunch
abstract class RegexParsers<out T> : CharParsers() {
abstract val goal: Parser<CharReader, T>
val endOfLine = literal("(\n|$)".toRegex()) map { Unit }
val restOfLine = match("(.*?)(\n|$)".toRegex()).map { it.groupValues[1] }
fun parse(source: String) = parse(goal, source)
... | 1 | Kotlin | 0 | 6 | 11714e7d10fc3d638e8b8d33a7be64e5aafe2151 | 321 | krunch | Apache License 2.0 |
src/main/kotlin/me/atroxego/pauladdons/features/dwarfenMines/MonolithESP.kt | AtroxEGO | 582,035,132 | false | null | package me.atroxego.pauladdons.features.dwarfenMines
import PaulAddons.Companion.mc
import PaulAddons.Companion.prefix
import me.atroxego.pauladdons.config.Config
import me.atroxego.pauladdons.render.RenderUtils.drawBox
import me.atroxego.pauladdons.utils.SBInfo
import me.atroxego.pauladdons.utils.Utils.addMessage
imp... | 0 | Kotlin | 0 | 6 | ee973c379ebdf2d4bc962f8f545592d97f0bd9a7 | 3,649 | PaulAddonsKotlin | The Unlicense |
app/src/main/java/site/leos/apps/lespas/gallery/GalleryBackupSettingDialogFragment.kt | scubajeff | 321,848,215 | false | null | /*
* Copyright 2019 <NAME> (<EMAIL>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 38 | null | 22 | 444 | 9e899f187855e7d5a7afa416865359be4ef342b2 | 14,622 | lespas | Apache License 2.0 |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Spy.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,912 | icons | MIT License |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/Spy.kt | localhostov | 808,861,591 | false | {"Kotlin": 79430321, "HTML": 331, "CSS": 102} | package me.localx.icons.rounded.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter... | 1 | Kotlin | 0 | 5 | cbd8b510fca0e5e40e95498834f23ec73cc8f245 | 4,912 | icons | MIT License |
AndroidDemo/app/src/main/java/com/yeyupiaoling/whisper/AudioView.kt | yeyupiaoling | 631,147,793 | false | null | package com.yeyupiaoling.whisper
import android.content.Context
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.graphics.Path
import android.graphics.Point
import android.util.AttributeSet
import android.view.View
class AudioView : View {
private var upSho... | 1 | C | 8 | 88 | a13b8b181c7676d107ea2aab3141f583a4cb5b83 | 5,785 | Whisper-Finetune | Apache License 2.0 |
test-consumers/compose/shared/src/commonMain/kotlin/uk/co/baconi/session/oauth/RefreshToken.kt | beercan1989 | 345,334,044 | false | {"Kotlin": 482856, "JavaScript": 63785, "TypeScript": 5223, "Dockerfile": 4481, "HTML": 1187} | package uk.co.baconi.session.oauth
import kotlinx.serialization.Serializable
import kotlin.jvm.JvmInline
@JvmInline
@Serializable
value class RefreshToken(val value: String) | 0 | Kotlin | 0 | 0 | 6c9dc444b85a1a552b46cc7b700994c47703ea65 | 175 | oauth-api | Apache License 2.0 |
FluentUI.Demo/src/main/java/com/microsoft/fluentuidemo/demos/ActionBarLayoutActivity.kt | microsoft | 257,221,908 | false | {"Kotlin": 3021107, "Shell": 8996} | package com.microsoft.fluentuidemo.demos
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import com.microsoft.fluentui.actionbar.ActionBarLayout
import com.microsoft.fluentui.snackbar.Snackbar
import com.microsoft.fluentuidemo.Demo
import com.microsoft.fluentuidemo.DemoActivit... | 25 | Kotlin | 103 | 574 | 851a4989a4fce5db50a1818aa4121538c1fb4ad9 | 2,246 | fluentui-android | MIT License |
app/src/main/java/org/yameida/worktool/service/PlayNotifyService.kt | gallonyin | 473,181,796 | false | null | package com.functorz.worktool.service
import android.app.*
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import android.graphics.Color
import android.media.projection.MediaProjectionManager
import android.os.Binder
import andro... | 1 | Kotlin | 118 | 643 | 12eda85c122129cef74cd53d2ce5ca8f95af4422 | 4,151 | worktool | Apache License 2.0 |
app/src/main/java/io/github/eh/eh/RestPicChangeActivity.kt | Singlerr | 367,322,450 | false | null | package io.github.eh.eh
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
class RestPicChangeActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_rest_pic_change)
}
} | 0 | Kotlin | 0 | 0 | 1cfab6c3ee0a456e09eea66c26682d97c809bd12 | 316 | EscapeHonbab | Creative Commons Zero v1.0 Universal |
src/main/kotlin/no/skatteetaten/aurora/gobo/graphql/user/CurrentUserQuery.kt | Skatteetaten | 135,263,220 | false | {"Kotlin": 729888, "HTML": 1433, "Shell": 426} | package no.skatteetaten.aurora.gobo.graphql.user
import com.expediagroup.graphql.generator.annotations.GraphQLDescription
import com.expediagroup.graphql.server.operations.Query
import graphql.schema.DataFetchingEnvironment
import no.skatteetaten.aurora.gobo.graphql.loadValue
import no.skatteetaten.aurora.gobo.securit... | 0 | Kotlin | 0 | 3 | 9a28e1d711756479696672f139568fdeadb74ac1 | 799 | gobo | Apache License 2.0 |
modules/lookinglass/src/main/kotlin/silentorb/mythic/lookinglass/SampledVolumes.kt | silentorb | 227,508,449 | false | null | package silentorb.mythic.lookinglass
import silentorb.mythic.scenery.Shading
import silentorb.mythic.spatial.Vector3
import java.nio.ByteBuffer
import kotlin.math.abs
import kotlin.math.max
fun normalizedFloatToUnsignedByte(value: Float): Byte =
(value * 255).toByte()
fun normalizedFloatToSignedByte(value: Float... | 0 | Kotlin | 0 | 2 | 74462fcba9e7805dddec1bfcb3431665df7d0dee | 4,935 | mythic-kotlin | MIT License |
include_build/lib-redux/src/commonMain/kotlin/lib/Redux.kt | tutu-ru-mobile | 293,538,485 | false | null | package lib
typealias MiddleWare<S, A> = (store: Redux.Store<S, A>, next: (A) -> Unit, action: A) -> Unit
object Redux {
interface Store<S, A> {
fun dispatch(action: A)
fun subscribeToState(subscription: (S) -> Unit)
val state: S
}
fun <S, A> store(initialState: S, vararg middlew... | 0 | Kotlin | 0 | 2 | 152a21c9573b067200d97dcf277eae973e8bc93d | 1,364 | gradle-plugin-github-token | Apache License 2.0 |
app/src/main/java/xyz/teamgravity/parkingspotsaver/injection/App.kt | raheemadamboev | 466,137,902 | false | {"Kotlin": 27429} | package xyz.teamgravity.parkingspotsaver.injection
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class App: Application() | 0 | Kotlin | 0 | 5 | d4da83a3b24fa34ea32c8977c68e3353bfd6406f | 166 | parking-spot-saver | Apache License 2.0 |
app/src/test/kotlin/com/equalexperts/slack/api/users/SlackTestUsers.kt | EqualExperts | 94,084,953 | false | {"Kotlin": 121397, "HCL": 15381} | package com.equalexperts.slack.api.users
import com.equalexperts.slack.api.profile.model.UserProfile
import com.equalexperts.slack.api.users.model.User
import com.equalexperts.slack.profile.SlackTestProfiles
object SlackTestUsers {
fun testBot(profile: UserProfile) = User(name = "TEST_BOT_USER",
profi... | 1 | Kotlin | 7 | 17 | 837f229cbfa89eb66392ea8277cb24f0b0b38e5f | 1,450 | slack-gardener | Apache License 2.0 |
app/src/main/java/com/jamieadkins/gwent/bus/NewDeckRequest.kt | jamieadkins95 | 75,647,202 | false | {"Kotlin": 340777, "Java": 15619} | package com.jamieadkins.gwent.bus
class NewDeckRequest(newDeckBundle: NewDeckBundle) : BaseBusEvent<NewDeckBundle>(newDeckBundle)
| 4 | Kotlin | 1 | 6 | e3f1e264f8b69ed2903656c95f45611f180283d4 | 131 | Roach | Apache License 2.0 |
tabby-core/src/commonMain/kotlin/com/sksamuel/tabby/effects/bracket.kt | xeruf | 339,163,399 | true | {"Kotlin": 122680} | package com.sksamuel.tabby.effects
import com.sksamuel.tabby.`try`.Try
/**
* Acquires a resource of type R using the given [acquire] effect, passes that resource to a [use] effect,
* with the [release] effect guaranteed to execute after the completion of the use effect.
*/
fun <R, A> IO.Companion.bracket(acquire: ... | 0 | null | 0 | 0 | 38a33811953aeb31dcc215bde370465010f24f31 | 972 | tabby | Apache License 2.0 |
cordapp/src/test/kotlin/tech/industria/training/iou/flow/IOUSettleFlowTests.kt | gatsinski | 141,544,650 | true | {"Kotlin": 42977, "HTML": 207} | package tech.industria.training.iou.flow
import net.corda.core.flows.FlowException
import net.corda.core.node.services.queryBy
import net.corda.finance.POUNDS
import org.junit.Test
import tech.industria.training.iou.state.IOUState
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith
class IOUSettleFlowT... | 0 | Kotlin | 0 | 0 | a9d08e2c3bac73f9624acfce8ea90eb5f73463ca | 1,272 | cordapp-iou-training | Apache License 2.0 |
Venmo/src/main/java/com/braintreepayments/api/venmo/VenmoResult.kt | braintree | 21,631,528 | false | {"Kotlin": 1036089, "Java": 700403, "Shell": 282} | package com.braintreepayments.api.venmo
/**
* Result of tokenizing a Venmo account
*/
sealed class VenmoResult {
/**
* The Venmo flow completed successfully. This [nonce] should be sent to your server.
*/
class Success internal constructor(val nonce: VenmoAccountNonce) : VenmoResult()
/**
... | 23 | Kotlin | 233 | 409 | 92dabb74f14e6203259511f6b6a51367e3247fc5 | 564 | braintree_android | MIT License |
save-cloud-common/src/commonMain/kotlin/com/saveourtool/save/info/OrganizationInfo.kt | cqfn | 300,279,336 | false | null | package com.saveourtool.save.info
import com.saveourtool.save.domain.Role
import kotlinx.serialization.Serializable
/**
* Represents all data related to the Organization
*
* @property name organization name
* @property userRoles map that matches usernames and roles
* @property avatar avatar of organization
*/
... | 133 | Kotlin | 1 | 24 | d4e45d233bf0d4fcb70fcd9b159c46af961df427 | 470 | save-cloud | MIT License |
data_component/src/main/java/com/xyoye/data_component/helper/Loading.kt | xyoye | 138,993,190 | false | null | package com.xyoye.data_component.helper
/**
* Created by xyoye on 2021/1/29.
*/
object Loading {
const val SHOW_LOADING = 1
const val SHOW_LOADING_MSG = 2
const val HIDE_LOADING = -1
const val HIDE_LOADING_FAILED = -2
const val HIDE_LOADING_SUCCESS = -3
} | 28 | null | 93 | 946 | b60bd028ce160ff37aba3eaf70fd0b2cbfa5eab0 | 280 | DanDanPlayForAndroid | Apache License 2.0 |
lib/src/test/kotlin/io/github/ccjhr/number/ulong/IsLessThanKtTest.kt | cc-jhr | 484,712,081 | false | null | package io.github.ccjhr.number.ulong
import io.github.ccjhr.mustSatisfy
import io.github.ccjhr.throwable.expectsException
import kotlin.test.Test
import kotlin.test.assertEquals
internal class IsLessThanKtTest {
@Test
fun `throws exception if the object is null`() {
// given
val obj: ULong? =... | 0 | Kotlin | 0 | 1 | b7339648f79ecec45a8e4458e6c23b01d6d8424f | 1,469 | nagare | Apache License 2.0 |
app/src/main/java/com/jadebyte/yonderjobs/job/JobsViewHolder.kt | wilburt | 122,201,108 | false | null | /*
* Copyright (c) 2018 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 0 | Kotlin | 0 | 0 | 7994646867704959ea3c9762142dedcca6d85207 | 2,537 | Yonder-Jobs | Apache License 2.0 |
dsl/src/main/kotlin/io/cloudshiftdev/awscdkdsl/aws_apigatewayv2_authorizers/_BuildableLastArgumentExtensions.kt | cloudshiftinc | 667,063,030 | false | {"Kotlin": 70198112} | @file:Suppress(
"RedundantVisibilityModifier",
"RedundantUnitReturnType",
"RemoveRedundantQualifierName",
"unused",
"UnusedImport",
"ClassName",
"REDUNDANT_PROJECTION",
"DEPRECATION"
)
package io.cloudshiftdev.awscdkdsl.aws_apigatewayv2_authorizers
import io.cloudshiftdev.awscdkdsl.ser... | 0 | Kotlin | 0 | 3 | 256ad92aebe2bcf9a4160089a02c76809dbbedba | 3,168 | awscdk-dsl-kotlin | Apache License 2.0 |
app/src/main/java/com/autumnsun/suncoinmarket/di/HomeModule.kt | fatihkurcenli | 459,047,502 | false | null | package com.autumnsun.suncoinmarket.di
import android.content.Context
import com.autumnsun.suncoinmarket.data.remote.CryptoApi
import com.autumnsun.suncoinmarket.features.feature_home.data.HomeRepositoryImp
import com.autumnsun.suncoinmarket.features.feature_home.domain.repository.HomeRepository
import com.autumnsun.s... | 0 | Kotlin | 0 | 4 | f8b092c399cdfa344ab331fcddc154e8182ca4d2 | 995 | SunCoinMarket | MIT License |
lib-core/src/main/kotlin/pl/codesamurai/latte/core/matcher/MatchFlag.kt | malloth | 198,045,075 | false | {"Kotlin": 39339} | package pl.codesamurai.latte.core.matcher
/**
* Strategy describing matching behaviour.
*/
public enum class MatchFlag {
/**
* Flag for matching views only inside active windows (activities, dialogs, popups).
*/
MATCH_ACTIVE_ROOTS,
/**
* Flag for matching views inside content view.
... | 0 | Kotlin | 0 | 6 | 0a83fed23d9932d28860cd78c839ef8fe8a294ab | 560 | latte | Apache License 2.0 |
mobzy-pathfinding/src/main/kotlin/com/mineinabyss/mobzy/pathfinding/components/PathfinderComponent.kt | MineInAbyss | 142,800,887 | false | {"Kotlin": 136165} | package com.mineinabyss.mobzy.pathfinding.components
import kotlinx.serialization.Serializable
import net.minecraft.world.entity.ai.goal.Goal
import org.bukkit.entity.Mob
/**
* The base class for serializable pathfinders. Subclasses define serializable properties to configure a pathfinder
* and a [build] function t... | 9 | Kotlin | 8 | 43 | 0a7290f60ac2362da2d4e032143a04f83c4f2033 | 510 | Mobzy | MIT License |
src/jvmMain/kotlin/app/MdToHtmlConverter.kt | PrzemyslawSwiderski | 50,616,127 | false | {"Kotlin": 29135, "SCSS": 3608, "HTML": 2529, "JavaScript": 1723} | package app
import app.model.MdMetadata
import com.charleskorn.kaml.Yaml
import kotlinx.serialization.decodeFromString
import kotlinx.serialization.encodeToString
import org.intellij.markdown.flavours.gfm.GFMFlavourDescriptor
import org.intellij.markdown.html.HtmlGenerator
import org.intellij.markdown.parser.MarkdownP... | 0 | Kotlin | 0 | 1 | ec5656b9fc26be86faff49cbefddbd10ba6fca30 | 3,266 | PrzemyslawSwiderski.github.io | MIT License |
app/src/main/java/com/nawrot/mateusz/recipey/navigation/NavigationRouter.kt | mateusz-nawrot | 109,833,275 | false | null | package com.nawrot.mateusz.recipey.navigation
import android.content.Context
import android.util.Log
import com.nawrot.mateusz.recipey.di.ActivityScope
import javax.inject.Inject
@ActivityScope
class NavigationRouter @Inject constructor(private val context: Context, private val navigator: Navigator) {
init {
... | 0 | Kotlin | 0 | 0 | a9750fc944886f785ec1be8311108352ea616376 | 530 | recipey | Apache License 2.0 |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/EyeCheck.kt | walter-juan | 868,046,028 | false | {"Kotlin": 34345428} | package com.woowla.compose.icon.collections.tabler.tabler.outline
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
im... | 0 | Kotlin | 0 | 3 | eca6c73337093fbbfbb88546a88d4546482cfffc | 2,630 | compose-icon-collections | MIT License |
app/src/main/java/com/cesarvaliente/preferences_foldable/PreferenceActivity.kt | CesarValiente | 439,875,972 | false | null | package com.cesarvaliente.preferences_foldable
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
class PreferenceActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_prefere... | 0 | Kotlin | 0 | 1 | ca10c35813140340f6ec656ed96c08ab69c4676f | 487 | preferences-foldable | MIT License |
xwidget/src/main/java/com/scott/xwidget/widget/XImageView.kt | DL-ZhangTeng | 684,488,376 | true | {"Java Properties": 2, "Gradle": 8, "Shell": 1, "Markdown": 1, "Batchfile": 1, "Text": 4, "Ignore List": 7, "Java": 12, "Kotlin": 40, "Groovy": 2, "XML": 24, "INI": 4, "Checksums": 12, "JAR Manifest": 1, "Proguard": 2} | package com.scott.xwidget.widget
import android.content.Context
import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatImageView
import com.scott.xwidget.annotation.XWidgetView
@XWidgetView("com.scott.xwidget")
class XImageView(context: Context, attrs: AttributeSet?) : AppCompatImageView(context, ... | 0 | null | 4 | 2 | 31b7a11da7f704fabbfe31de9dc46ba9abe9a5d9 | 603 | XWidget | Apache License 2.0 |
app/src/main/java/com/test/inventorymanagement/interfaces/UpdateItemSelectionListener.kt | nnarendra | 365,959,717 | false | null | package com.test.inventorymanagement.interfaces
interface UpdateItemSelectionListener {
fun updateStatus(position:Int, selectedFlag:Boolean)
} | 0 | Kotlin | 0 | 0 | 3fa9221f8ff40535024c5308c2ea18347ce2a1ee | 147 | Inventory_Management | Apache License 2.0 |
bootstrap-icons-compose/src/main/java/com/wiryadev/bootstrapiconscompose/bootstrapicons/normal/HandThumbsDown.kt | wiryadev | 380,639,096 | false | null | package com.wiryadev.bootstrapiconscompose.bootstrapicons.normal
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.S... | 0 | Kotlin | 0 | 2 | 1c199d953dc96b261aab16ac230dc7f01fb14a53 | 6,118 | bootstrap-icons-compose | MIT License |
src/test/kotlin/SimpleTest.kt | MagnoliaFly | 459,660,667 | false | {"Kotlin": 15046} | import kotlinx.coroutines.runBlocking
import me.xiaocao.GenshinQuery
import java.io.File
import kotlin.test.BeforeTest
import kotlin.test.Test
class SimpleTest {
lateinit var genshinQuery: GenshinQuery
@BeforeTest
fun before() {
genshinQuery = GenshinQuery(
salt = "xV8v4Qu54lUKrEYFZ... | 0 | null | 0 | 0 | 5ce8bfb38b6c285ef677102d16bb49705d9a39e2 | 1,261 | genshin-query | MIT License |
app/src/main/java/com/rollfood/rollfood/model/repository/food/FoodRepository.kt | RAMANai87 | 691,614,881 | false | {"Kotlin": 72973} | package com.rollfood.rollfood.model.repository.food
import com.rollfood.rollfood.model.data.Food
import com.rollfood.rollfood.model.data.FoodModel
import com.rollfood.rollfood.model.data.Response
import com.rollfood.rollfood.model.data.Result
import kotlinx.coroutines.flow.Flow
interface FoodRepository {
suspend... | 0 | Kotlin | 0 | 1 | 93efaf919a96a742d8e276655e6ec4d7e38df2db | 561 | RollFood | MIT License |
common/src/main/kotlin/juuxel/adorn/client/gui/screen/BrewerScreen.kt | Mephodio | 458,762,232 | true | {"Kotlin": 373481, "Java": 21807, "Shell": 1583} | package juuxel.adorn.client.gui.screen
import com.mojang.blaze3d.systems.RenderSystem
import juuxel.adorn.AdornCommon
import juuxel.adorn.block.entity.BrewerBlockEntity
import juuxel.adorn.menu.BrewerMenu
import net.minecraft.client.render.GameRenderer
import net.minecraft.client.util.math.MatrixStack
import net.minec... | 0 | null | 0 | 0 | 1334e4b6263c25450db6ae6acfb00bec436960bc | 1,296 | Adorn | MIT License |
android-weather-mvp-clean/remote/src/main/kotlin/io/sametkurumahmut/weather/remote/service/WeatherService.kt | sametkurumahmut | 116,595,636 | false | {"Text": 1, "Markdown": 1, "Gradle": 11, "Java Properties": 2, "Shell": 1, "Ignore List": 9, "Batchfile": 1, "Proguard": 3, "Kotlin": 117, "XML": 14, "Java": 4} | package io.sametkurumahmut.weather.remote.service
import io.reactivex.Single
import io.sametkurumahmut.weather.remote.model.RemoteCityWeather
import io.sametkurumahmut.weather.remote.service.response.Units
import io.sametkurumahmut.weather.remote.service.response.WeatherAPI
import retrofit2.http.GET
import retrofit2.h... | 1 | null | 1 | 1 | 329b53e856851d0fd505aa87d4e2aa3d1545ce41 | 882 | weather-mvp-clean | Apache License 2.0 |
countries/src/commonMain/kotlin/geo/CountryFilterUtils.kt | aSoft-Ltd | 694,870,214 | false | {"Kotlin": 15945} | @file:Suppress("NOTHING_TO_INLINE")
package geo
inline fun Country.matches(key: String): Boolean = label.contains(key, ignoreCase = true)
|| code.contains(key, ignoreCase = true)
|| currency.name.contains(key, ignoreCase = true)
|| dialingCode.contains(key.replace("+", "")) | 0 | Kotlin | 0 | 0 | 3a0e001f21079f5ce0dd76fbf558d803d12cec93 | 300 | geo-api | MIT License |
app/src/main/java/com/shevelev/wizard_camera/shared/mvvm/model/ModelBase.kt | AndroidSourceTools | 339,484,028 | true | {"Kotlin": 259308, "GLSL": 32096, "Java": 3377} | package com.shevelev.wizard_camera.shared.mvvm.model
interface ModelBase | 0 | null | 0 | 0 | 496cbc68749258d085734c6d0a724efa7a3b3d24 | 73 | WizardCamera | Apache License 2.0 |
app/src/main/java/com/allever/app/jetpack/MainActivity.kt | devallever | 273,505,771 | false | null | package com.allever.app.jetpack
import android.content.Context
import android.content.SharedPreferences
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProvider
import com.allever.app.jetpack.ext.log
import kotlinx.android.s... | 0 | Kotlin | 0 | 0 | 7ef800d36883ae9f3bdbde0bdef8a9ad997f69ab | 2,580 | JetpackProject | Apache License 2.0 |
jwt/domain/src/main/kotlin/org/sollecitom/chassis/jwt/domain/JwtParty.kt | sollecitom | 669,483,842 | false | {"Kotlin": 868890, "Java": 30834} | package org.sollecitom.chassis.jwt.domain
import org.sollecitom.chassis.core.domain.naming.Name
import java.security.PublicKey
interface JwtParty {
val name: Name
val publicKey: PublicKey
} | 0 | Kotlin | 0 | 2 | 0d5098080bee96f4595fd5384d29bda3bda55037 | 200 | chassis | MIT License |
use_case/thumbnail/src/androidTest/java/com/deathhit/use_case/thumbnail/ThumbnailUseCaseTest.kt | Deathhit | 441,678,015 | false | null | package com.deathhit.use_case.thumbnail
import androidx.paging.PagingData
import com.deathhit.data.thumbnail.ThumbnailDO
import com.deathhit.use_case.thumbnail.config.FakeThumbnailRepository
import dagger.hilt.android.testing.HiltAndroidRule
import dagger.hilt.android.testing.HiltAndroidTest
import kotlinx.coroutines.... | 0 | Kotlin | 0 | 2 | f6f96ca50bb33cdbd347848d1bb4904e10ed87b5 | 2,023 | MyGoodDoggoApp | Apache License 2.0 |
app/src/main/java/com/abedalkareem/amtabview/TabFragment.kt | Abedalkareem | 221,056,522 | false | null | package com.abedalkareem.amtabview
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import kotlinx.android.synthetic.main.fragment_tab.view.*
private const val ARG_TAB_IMAGE = "image"
class TabFragment : Fragment(... | 0 | Kotlin | 2 | 8 | 9066e10e9e15d201e294c1477a30945469942a4c | 989 | AMTabView-Android | MIT License |
clef-workflow-deploy/clef-workflow-deploy-app/src/main/java/io/arkitik/clef/workflow/deploy/app/multi-cheques-workflow.kt | arkitik | 443,436,455 | false | {"Kotlin": 433170, "Shell": 268, "Dockerfile": 244} | package io.arkitik.clef.workflow.deploy.app
import io.arkitik.clef.workflow.api.dsl.persistWorkflow
import io.arkitik.clef.workflow.sdk.engine.ClefWorkflowEngine
import org.slf4j.LoggerFactory
import org.springframework.boot.CommandLineRunner
import org.springframework.stereotype.Service
import org.springframework.tra... | 0 | Kotlin | 0 | 0 | 785e1b4ee583b6a6e3ea01e656eecd8365f171ef | 12,878 | clef-workflow | Apache License 2.0 |
app/src/main/java/com/studyup/classes/team/CardViewHolder.kt | UTN-FRBA-Mobile | 544,243,563 | false | {"Kotlin": 120176} | package com.studyup.classes.team
import android.widget.LinearLayout
import androidx.recyclerview.widget.RecyclerView
import com.studyup.R
import com.studyup.databinding.CardCellBinding
class CardViewHolder(
private val cardCellBinding: CardCellBinding,
onItemClick: (Int) -> Unit
): RecyclerView.ViewHolder(car... | 0 | Kotlin | 0 | 1 | d8453a7edf5653ff8b2fa7679b05662be3099c56 | 711 | StudyUp | MIT License |
memorydatasource/src/main/java/com/jlmari/android/basepokedex/memorydatasource/cache/Cache.kt | jlmari | 561,303,847 | false | {"Kotlin": 127493} | package com.jlmari.android.basepokedex.memorydatasource.cache
import com.jlmari.android.basepokedex.domain.models.ErrorModel
import com.jlmari.android.basepokedex.domain.utils.Failure
import com.jlmari.android.basepokedex.domain.utils.Response
import com.jlmari.android.basepokedex.domain.utils.Success
import java.util... | 0 | Kotlin | 0 | 0 | 3dcb577c0bf011e30c5769c21202aa6d98e94f8f | 1,052 | BasePokedex | Apache License 2.0 |
app/src/main/java/com/example/cpfitbit2/MyApplication.kt | andrea-io | 624,737,043 | false | null | package com.example.fitbit
import android.app.Application
import com.example.cpfitbit2.AppDatabase
class MyApplication : Application() {
val db by lazy { AppDatabase.getInstance(this) }
} | 0 | Kotlin | 0 | 0 | f1de448056f944b3ec3c6c00c3ac024222369780 | 193 | CP-FitBit2 | Apache License 2.0 |
composeApp/src/commonMain/kotlin/com/rwmobi/kunigami/ui/components/koalaplot/XAxisTitle.kt | ryanw-mobile | 794,752,204 | false | {"Kotlin": 1112930, "Ruby": 2466, "Swift": 693} | /*
* Copyright (c) 2024. <NAME>
* https://github.com/ryanw-mobile
* Sponsored by RW MobiMedia UK Limited
*
*/
package com.rwmobi.kunigami.ui.components.koalaplot
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.material3.MaterialTheme
... | 20 | Kotlin | 10 | 98 | e1e73f5b44baaef5ab87fd10db21775d442a3172 | 1,103 | OctoMeter | Apache License 2.0 |
devtools/common/src/commonMain/kotlin/com/maximbircu/devtools/common/presentation/configscreen/ConfigScreenPresenter.kt | maximbircu | 247,318,697 | false | null | package com.maximbircu.devtools.common.presentation.configscreen
import com.maximbircu.devtools.common.DevTools
import com.maximbircu.devtools.common.core.mvp.BasePresenter
import com.maximbircu.devtools.common.core.mvp.Presenter
import com.maximbircu.devtools.common.presentation.list.DevToolsListView
interface Confi... | 9 | Kotlin | 1 | 15 | 35205810c5f1af02dbbb9cb9b610f29e58ee99d1 | 2,076 | devtools-library | Apache License 2.0 |
pix-processor/src/main/kotlin/com/payments/pixprocessor/adapter/output/kafka/PaymentKafkaProducer.kt | jjeanjacques10 | 786,316,808 | false | {"Kotlin": 11151} | package com.payments.pixprocessor.adapter.output.kafka
import com.payment.Destination
import com.payment.Origin
import com.payment.TransactionItem
import com.payments.pixprocessor.domain.model.Transaction
import com.payments.pixprocessor.domain.port.output.MessageProducer
import org.slf4j.LoggerFactory
import org.spri... | 0 | Kotlin | 0 | 0 | 713a1e8f45739ed3b1b360a9ac5eaf60ebea8405 | 1,855 | payment-async-kafka | MIT License |
21_MVVM_Dagger/app/src/main/java/com/hellohasan/mvvm_dagger/ui/student/student_creation/StudentCreateDialogFragment.kt | hasancse91 | 297,706,458 | false | null | package com.hellohasan.mvvm_dagger.ui.student.student_creation
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import com.hellohasan.mvvm_dagger.R
import com.hellohasan.mvvm_dagger.data.local.d... | 0 | Kotlin | 4 | 12 | 89c245c45007e076eacf927aa17c7698e660d0db | 3,448 | android-course-v2 | MIT License |
app/src/main/java/com/oceanbrasil/ocean_android_introducao_30_06_2022/ResultadoActivity.kt | paulosalvatore | 509,095,060 | false | null | package com.oceanbrasil.ocean_android_introducao_30_06_2022
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.TextView
class ResultadoActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCrea... | 0 | Kotlin | 1 | 0 | 811c847d07d3f6688af280cca35c3aa87c3f57d2 | 841 | Samsung_Ocean_Android_Introducao | MIT License |
mvi-sample/src/main/java/com/gartesk/mosbyx/mvi/sample/view/home/HomeView.kt | gartesk | 233,407,512 | true | {"Kotlin": 362142} | /*
* Copyright 2020 MosbyX contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 0 | Kotlin | 0 | 0 | 394a725bd2adec9949eac212345a46dd4bc17b8a | 1,422 | mosbyx | Apache License 2.0 |
core/kotlinx-coroutines-core/src/test/kotlin/kotlinx/coroutines/experimental/sync/MutexTest.kt | sunnyzl | 124,298,574 | true | {"Kotlin": 1846254, "CSS": 8706, "Python": 7129, "JavaScript": 3487, "Ruby": 1927, "HTML": 1675, "Shell": 1308} | /*
* Copyright 2016-2017 JetBrains s.r.o.
*
* 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 agre... | 0 | Kotlin | 0 | 0 | b5d4286470fb3bf8226f91184c4975cb6065698a | 3,906 | kotlinx.coroutines | Apache License 2.0 |
core/kotlinx-coroutines-core/src/test/kotlin/kotlinx/coroutines/experimental/sync/MutexTest.kt | sunnyzl | 124,298,574 | true | {"Kotlin": 1846254, "CSS": 8706, "Python": 7129, "JavaScript": 3487, "Ruby": 1927, "HTML": 1675, "Shell": 1308} | /*
* Copyright 2016-2017 JetBrains s.r.o.
*
* 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 agre... | 0 | Kotlin | 0 | 0 | b5d4286470fb3bf8226f91184c4975cb6065698a | 3,906 | kotlinx.coroutines | Apache License 2.0 |
v201/src/main/kotlin/com/monta/library/ocpp/v201/blocks/metervalues/MeterValuesBlock.kt | monta-app | 852,955,703 | false | {"Kotlin": 565115} | package com.monta.library.ocpp.v201.blocks.metervalues
import com.monta.library.ocpp.common.profile.OcppConfirmation
import com.monta.library.ocpp.common.profile.OcppRequest
import com.monta.library.ocpp.common.profile.ProfileDispatcher
import com.monta.library.ocpp.common.session.OcppSession
import com.monta.library.... | 1 | Kotlin | 0 | 0 | cee4e7dd2f624c925918aaa7ecd2a971b75fd614 | 1,574 | library-ocpp | Apache License 2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.