file_path stringlengths 6 261 | repository stringclasses 2
values | language stringclasses 1
value | content stringlengths 121 454k |
|---|---|---|---|
app/src/main/java/ke/co/tulivuapps/hoteltours/data/model/dto/TravelStyleDto.kt | unknown_repo | kotlin | package ke.co.tulivuapps.hobbyhorsetours.data.model.dto
import android.os.Parcelable
import com.google.gson.Gson
import kotlinx.parcelize.Parcelize
/**
* Created by brendenozie on 27.03.2023
*/
@Parcelize
data class TravelStyleDto(
val localId: Int?,
val id: String?,
val styleName : String?,
val pu... |
app/src/main/java/com/khush/weatherapp/data/location/DefaultLocationTracker.kt | unknown_repo | kotlin | package com.khush.weatherapp.data.location
import android.Manifest
import android.app.Application
import android.content.Context
import android.content.pm.PackageManager
import android.location.Location
import android.location.LocationManager
import androidx.core.content.ContextCompat
import com.google.android.gms.loc... |
app/src/main/java/de/p72b/umi/github/arch/RepositoryRepository.kt | unknown_repo | kotlin | package de.p72b.umi.github.arch
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import de.p72b.umi.github.services.RepositoriesResponse
import de.p72b.umi.github.services.Repository
import de.p72b.umi.github.services.WebService
import de.p72b.umi.github.vo.Resource
import de.p72b.umi.githu... |
extension-style-app/src/androidTest/java/com/mapbox/maps/testapp/style/layers/generated/FillExtrusionLayerTest.kt | unknown_repo | kotlin | // This file is generated.
package com.mapbox.maps.testapp.style.layers.generated
import android.graphics.Color
import androidx.test.annotation.UiThreadTest
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.mapbox.maps.extension.style.expressions.dsl.generated.*
import com.mapbox.maps.extension.style.la... |
AbanMagazinePhone/src/main/java/com/abanabsalan/aban/magazine/Utils/UI/Colors/ColorExtractor.kt | unknown_repo | kotlin | /*
* Copyright © 2022 By Geeks Empire.
*
* Created by <NAME> on 4/25/22, 5:58 AM
* Last modified 6/8/21, 9:17 AM
*
* Licensed Under MIT License.
* https://opensource.org/licenses/MIT
*/
package com.abanabsalan.aban.magazine.Utils.UI.Colors
import android.content.Context
import android.graphics.Bitmap
import a... |
app/src/main/java/com/greentoad/turtlebody/mediapicker/sample/ActivityHome.kt | unknown_repo | kotlin | package com.greentoad.turtlebody.mediapicker.sample
import android.annotation.SuppressLint
import android.content.Intent
import android.content.pm.ActivityInfo
import android.graphics.Color
import android.graphics.drawable.ColorDrawable
import android.net.Uri
import android.os.Bundle
import android.widget.Button
impo... |
app/src/main/java/com/rodoyf/satonda/feature_app/presentation/more/components/ProblemsPart.kt | unknown_repo | kotlin | package com.rodoyf.satonda.feature_app.presentation.more.components
import android.annotation.SuppressLint
import android.content.ActivityNotFoundException
import android.content.Intent
import android.net.Uri
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.lay... |
app/src/androidTest/java/net/skyscanner/backpack/card/BpkCardTest.kt | unknown_repo | kotlin | package net.skyscanner.backpack.card
import android.widget.TextView
import androidx.test.ext.junit.runners.AndroidJUnit4
import net.skyscanner.backpack.BpkSnapshotTest
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
@RunWith(AndroidJUnit4::class)
class BpkCardTest : BpkSnapshotTest() {
... |
app/src/main/java/com/kickstarter/ui/activities/ChangeEmailActivity.kt | unknown_repo | kotlin | package com.kickstarter.ui.activities
import android.content.Context
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import android.view.View
import android.view.inputmethod.InputMethodManager
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import andr... |
app/src/main/java/com/wifi/improv/demo/MainActivity.kt | unknown_repo | kotlin | package com.wifi.improv.demo
import android.Manifest
import android.content.pm.PackageManager
import android.os.Build
import android.os.Bundle
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.result.contract.ActivityResultContracts
... |
liveview-android/src/main/java/org/phoenixframework/liveview/domain/factory/ComposableNodeFactory.kt | unknown_repo | kotlin | package org.phoenixframework.liveview.domain.factory
import org.phoenixframework.liveview.data.core.CoreNodeElement
import org.phoenixframework.liveview.data.dto.AlertDialogDtoFactory
import org.phoenixframework.liveview.data.dto.AsyncImageDtoFactory
import org.phoenixframework.liveview.data.dto.BackHandlerDtoFactory
... |
feature/chat_core/src/main/kotlin/com/mobiledevpro/chat/core/view/recycler/RecyclerItem.kt | unknown_repo | kotlin | /*
* Copyright 2020 | <NAME> | http://mobile-dev.pro
*
*
* 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 appl... |
app/src/main/java/com/example/movplayv3/ui/components/others/MovplayAnimatedBackdrops.kt | unknown_repo | kotlin | package com.example.movplayv3.ui.components.others
import android.annotation.SuppressLint
import androidx.compose.animation.Crossfade
import androidx.compose.animation.core.Animatable
import androidx.compose.animation.core.AnimationEndReason
import androidx.compose.animation.core.LinearEasing
import androidx.compose.a... |
src/cds/core/src/main/kotlin/org/icpclive/cds/adapters/PreviousDayAdapter.kt | unknown_repo | kotlin | package org.icpclive.cds.adapters
import kotlinx.coroutines.*
import kotlinx.coroutines.flow.*
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.decodeFromStream
import org.icpclive.cds.*
import org.icpclive.cds.api.*
import org.icpclive.cds.settings.*
import org.icpclive.cds.tunning.AdvancedPro... |
app/src/main/java/com/example/swiftbargain/data/repository/RepositoryImpl.kt | unknown_repo | kotlin | package com.example.swiftbargain.data.repository
import android.net.Uri
import com.example.swiftbargain.data.local.DataStoreManager
import com.example.swiftbargain.data.local.room.RoomManager
import com.example.swiftbargain.data.local.room.entity.CartProductEntity
import com.example.swiftbargain.data.local.room.entity... |
app/src/main/java/com/fanstaticapps/randomticker/ui/cancel/CancelActivity.kt | unknown_repo | kotlin | package com.fanstaticapps.randomticker.ui.cancel
import android.os.Bundle
import com.fanstaticapps.randomticker.extensions.getBookmarkId
import com.fanstaticapps.randomticker.ui.BaseActivity
import org.koin.androidx.viewmodel.ext.android.viewModel
class CancelActivity : BaseActivity() {
private val cancelViewMod... |
akurateco/src/main/java/com/akurateco/sdk/model/request/order/AkuratecoSaleOrder.kt | unknown_repo | kotlin | /*
* Property of Akurateco (https://akurateco.com).
*/
package com.akurateco.sdk.model.request.order
import androidx.annotation.FloatRange
import androidx.annotation.NonNull
import androidx.annotation.Size
import com.akurateco.sdk.toolbox.AkuratecoValidation
import java.io.Serializable
/**
* The required order da... |
window/window-rxjava2/src/main/java/androidx/window/rxjava2/layout/WindowInfoTrackerRx.kt | unknown_repo | kotlin | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
libraries/rib-base/src/main/java/com/badoo/ribs/routing/source/backstack/BackStackFeatureState.kt | unknown_repo | kotlin | package com.badoo.ribs.routing.source.backstack
import android.os.Parcelable
import com.badoo.ribs.routing.history.RoutingHistory
import com.badoo.ribs.routing.history.RoutingHistoryElement
import kotlinx.android.parcel.Parcelize
@Parcelize
data class BackStackFeatureState<C : Parcelable>(
val backStack: BackSta... |
data/src/main/java/com/bayarsahintekin/data/repository/games/GameRepositoryImpl.kt | unknown_repo | kotlin | package com.bayarsahintekin.data.repository.games
import androidx.paging.ExperimentalPagingApi
import androidx.paging.Pager
import androidx.paging.PagingConfig
import androidx.paging.PagingData
import androidx.paging.map
import com.bayarsahintekin.data.entity.games.toDomain
import com.bayarsahintekin.domain.entity.gam... |
app/src/main/java/com/rickon/ximalayakotlin/fragment/DownloadedFragment.kt | unknown_repo | kotlin | package com.yx.myfm.fragment
import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.yx.myfm.R
class DownloadedFragment : BaseFragment(), View.OnClickListener {
override fun onCreate(savedInstanceState: Bundle?) {
... |
movie-search/impl/src/main/kotlin/io/morfly/streaming/moviesearch/impl/ui/MovieSearchScreen.kt | unknown_repo | kotlin | package io.morfly.streaming.moviesearch.impl.ui
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.*
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
imp... |
app/src/main/kotlin/kr/ac/snu/hcil/omnitrack/ui/pages/tracker/ManagedReminderListViewModel.kt | unknown_repo | kotlin | package kr.ac.snu.hcil.omnitrack.ui.pages.tracker
import android.app.Application
import io.realm.RealmQuery
import kr.ac.snu.hcil.omnitrack.OTApp
import kr.ac.snu.hcil.omnitrack.R
import kr.ac.snu.hcil.omnitrack.core.database.models.OTTrackerDAO
import kr.ac.snu.hcil.omnitrack.core.database.models.OTTriggerDAO
import ... |
app/src/main/java/com/neo/fbrules/core/HandlerError.kt | unknown_repo | kotlin | package com.neo.fbrules.core
import android.content.Context
import androidx.annotation.StringRes
import androidx.fragment.app.Fragment
import com.google.firebase.crashlytics.ktx.crashlytics
import com.google.firebase.ktx.Firebase
import com.neo.fbrules.R
import com.neo.fbrules.util.showAlertDialog
fun Fragment.handl... |
app/src/main/java/cc/sovellus/vrcaa/helper/NotificationHelper.kt | unknown_repo | kotlin | package cc.sovellus.vrcaa.manager
import android.Manifest
import android.annotation.SuppressLint
import android.app.NotificationChannel
import android.app.NotificationManager
import android.content.Context
import android.content.ContextWrapper
import android.content.SharedPreferences
import android.content.pm.PackageM... |
lib/src/main/java/com/sd/lib/vdialog/animator/slide/SlideUpDownRParentFactory.kt | unknown_repo | kotlin | package com.sd.lib.vdialog.animator.slide
import android.view.View
/**
* Slide relative to the view parent.
*
* show: slide up
*
* hide: slide down
*/
class SlideUpDownRParentFactory : SlideVerticalFactory() {
override fun getValueHidden(view: View): Float {
val parent = view.parent
if (pare... |
ui/src/main/java/jp/kaleidot725/easycalc/ui/screen/progress/component/QuestionCard.kt | unknown_repo | kotlin | package jp.kaleidot725.easycalc.feature.progress.component
import androidx.compose.animation.Crossfade
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.... |
camerakit/src/main/java/com/camerakit/api/camera2/Camera2.kt | unknown_repo | kotlin | package com.camerakit.api.camera2
import android.content.Context
import android.content.Context.CAMERA_SERVICE
import android.graphics.ImageFormat
import android.graphics.SurfaceTexture
import android.hardware.camera2.*
import android.media.ImageReader
import androidx.annotation.RequiresApi
import android.util.Log
imp... |
locus-api-android-sample/src/main/java/com/asamm/locus/api/sample/ActivityDashboard.kt | unknown_repo | kotlin | package com.asamm.locus.api.sample
import android.annotation.SuppressLint
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.widget.TextView
import androidx.fragment.app.FragmentActivity
import com.asamm.locus.api.sample.utils.SampleCalls
import com.asamm.loggerV2.logW
import lo... |
app/src/main/java/com/fjjukic/furniture4you/ui/rating/RatingReviewScreen.kt | unknown_repo | kotlin | package com.fjjukic.furniture4you.ui.rating
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layo... |
app/src/main/java/com/bergamin/marvelcharacters/feature/home/view/CharactersAdapter.kt | unknown_repo | kotlin | package com.bergamin.marvelcharacters.feature.home.view
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.bergamin.marvelcharacters.databinding.CharacterItemBinding
import com.bergamin.marvelcharacters.domain.model.Character
import com.bergamin... |
rialto/src/main/kotlin/kz/kasip/rialto/ui/createproject/CreateProjectViewModel.kt | unknown_repo | kotlin | package kz.kasip.order.ui.createproject
import androidx.compose.ui.text.input.TextFieldValue
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.google.firebase.Timestamp
import com.google.firebase.firestore.ktx.firestore
import com.google.firebase.ktx.Firebase
import dagger.hilt.an... |
presentation/src/main/java/com/doctoror/fuckoffmusicplayer/presentation/library/LibraryListPresenter.kt | unknown_repo | kotlin | /*
* 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 agreed to ... |
fluent-icons-extended/src/commonMain/kotlin/com/konyaco/fluent/icons/regular/ChatEmpty.kt | unknown_repo | kotlin |
package com.konyaco.fluent.icons.regular
import androidx.compose.ui.graphics.vector.ImageVector
import com.konyaco.fluent.icons.Icons
import com.konyaco.fluent.icons.fluentIcon
import com.konyaco.fluent.icons.fluentPath
public val Icons.Regular.ChatEmpty: ImageVector
get() {
if (_chatEmpty != null) {
... |
presentation/src/main/java/com/example/huitdduru/view/exchange/RefuseFragment.kt | unknown_repo | kotlin | package com.example.huitdduru.view.exchange
import android.os.Bundle
import android.view.View
import androidx.fragment.app.activityViewModels
import com.example.huitdduru.R
import com.example.huitdduru.base.BaseFragment
import com.example.huitdduru.databinding.FragmentRefuseBinding
import com.example.huitdduru.viewmod... |
app/src/play/java/chat/rocket/android/analytics/GoogleAnalyticsForFirebase.kt | unknown_repo | kotlin | package chat.rocket.android.analytics
import android.content.Context
import android.os.Bundle
import chat.rocket.android.analytics.event.AuthenticationEvent
import chat.rocket.android.analytics.event.ScreenViewEvent
import chat.rocket.android.analytics.event.SubscriptionTypeEvent
import chat.rocket.android.helper.Cons... |
ant-viewver/src/main/java/com/antourage/weaverlib/other/networking/NetworkBoundResource.kt | unknown_repo | kotlin | package com.antourage.weaverlib.networking
import android.content.Intent
import androidx.annotation.MainThread
import androidx.annotation.WorkerThread
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.localbroadcastmanager.content.LocalBroadcastManager
import com.antourage.we... |
app/src/main/java/com/yemreak/kotlinders/FavBookDetailActivity.kt | unknown_repo | kotlin | package com.yemreak.kotlinders
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_fav_book_detail.*
class FavBookDetailActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceSta... |
coil-base/src/androidTest/java/coil/fetch/FileFetcherTest.kt | unknown_repo | kotlin | package coil.fetch
import android.content.Context
import androidx.test.core.app.ApplicationProvider
import coil.ImageLoader
import coil.request.Options
import coil.size.Size
import coil.util.copyAssetToFile
import kotlin.test.assertEquals
import kotlin.test.assertNotNull
import kotlin.test.assertTrue
import kotlinx.co... |
app/src/main/java/com/example/swol/ui/ExerciseSearchViewModel.kt | unknown_repo | kotlin | package com.example.swol.ui
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.example.swol.data.FilteredExercisesRepository
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.example.swol.data.FilteredExercises
import com.example.swol.data.Wger... |
app/src/main/java/com/dinhlam/sharebox/helper/ShareHelper.kt | unknown_repo | kotlin | package com.dinhlam.sharebox.helper
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Build
import android.os.Bundle
import androidx.core.os.bundleOf
import androidx.fragment.app.FragmentAc... |
app/src/main/java/com/alisafdar/enocassessment/utils/Utils.kt | unknown_repo | kotlin | package com.alisafdar.enocassessment.utils
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.provider.MediaStore
import android.view.View
import androidx.fragment.app.Fragment
import androidx.lifecycle... |
app/src/main/java/com/lwt/qmqiu/fragment/GiftListFragment.kt | unknown_repo | kotlin | package com.lwt.qmqiu.fragment
import android.graphics.Rect
import android.view.View
import com.lwt.qmqiu.App
import com.lwt.qmqiu.R
import com.lwt.qmqiu.adapter.GiftListAdapter
import com.lwt.qmqiu.bean.GiftLog
import com.lwt.qmqiu.mvp.contract.GiftLogContract
import com.lwt.qmqiu.mvp.present.GiftLogPresent
import c... |
jvm/jvm-analysis-impl/src/com/intellij/codeInspection/test/junit/JUnitBeforeAfterInspection.kt | unknown_repo | kotlin | // Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.codeInspection.test.junit
import com.intellij.analysis.JvmAnalysisBundle
import com.intellij.codeInsight.AnnotationUtil
import com.intellij.codeInspection.*
import com.intellij.... |
app/src/main/java/com/nguyen/shelter/repo/SaleRemoteMediator.kt | unknown_repo | kotlin | package com.nguyen.shelter.repo
import android.util.Log
import androidx.paging.ExperimentalPagingApi
import androidx.paging.LoadType
import androidx.paging.PagingState
import androidx.paging.RemoteMediator
import androidx.room.withTransaction
import com.nguyen.shelter.api.entity.PropertyNetworkEntity
import com.nguyen... |
app/src/main/java/com/abhi/searchview/MainActivity.kt | unknown_repo | kotlin | package com.abhi.searchview
import android.os.Bundle
import android.support.design.widget.Snackbar
import android.support.v7.app.AppCompatActivity
import android.view.Menu
import android.view.MenuItem
import com.abhi.searchview.search.SearchItem
import com.abhi.searchview.search.SearchView
import com.abhi.searchview.s... |
app/src/main/java/com/dreamsoftware/melodiqtv/ui/screens/songhub/SongHubScreen.kt | unknown_repo | kotlin | package com.dreamsoftware.melodiqtv.ui.screens.songhub
import androidx.compose.runtime.Composable
import androidx.hilt.navigation.compose.hiltViewModel
import com.dreamsoftware.fudge.component.FudgeTvScreen
@Composable
fun SongHubScreen(
viewModel: SongHubViewModel = hiltViewModel(),
onOpenSongDetail: (String... |
common/src/commonMain/kotlin/com/artemchep/keyguard/feature/auth/login/LoginRoute.kt | unknown_repo | kotlin | package com.artemchep.keyguard.feature.auth.login
import androidx.compose.runtime.Composable
import com.artemchep.keyguard.feature.navigation.RouteForResult
import com.artemchep.keyguard.feature.navigation.RouteResultTransmitter
import com.artemchep.keyguard.provider.bitwarden.ServerEnv
data class LoginRoute(
val... |
android/src/main/kotlin/cl/ceisufro/fluttermbtilesextractor/Executor.kt | unknown_repo | kotlin | package cl.ceisufro.fluttermbtilesextractor
import android.app.Activity
import android.graphics.Bitmap
import android.graphics.BitmapFactory
import android.os.AsyncTask
import com.myroutes.mbtiles4j.MBTilesReadException
import com.myroutes.mbtiles4j.MBTilesReader
import com.myroutes.mbtiles4j.SQLHelper
import com.myro... |
Camera2Extensions/app/src/main/java/com/example/android/camera2/extensions/fragments/CameraFragment.kt | unknown_repo | kotlin | /*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
cbordata/src/main/java/com/ul/ims/gmdl/cbordata/security/mso/ValidityInfo.kt | unknown_repo | kotlin | /*
* Copyright (C) 2019 Google LLC
*
* 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... |
component/src/main/java/me/androidbox/component/event/VisitorSection.kt | unknown_repo | kotlin | package me.androidbox.component.event
import androidx.annotation.StringRes
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.material3.Material... |
tv/tv-material/src/main/java/androidx/tv/material/carousel/CarouselItem.kt | unknown_repo | kotlin | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
view/src/main/kotlin/com/zedalpha/shadowgadgets/view/inflation/Platform.kt | unknown_repo | kotlin | package com.zedalpha.shadowgadgets.view.inflation
import android.app.Activity
import android.app.Application
import android.content.Context
import android.os.Bundle
import android.util.AttributeSet
import android.view.LayoutInflater
import androidx.annotation.XmlRes
/**
* Attaches the platform helper, and searches t... |
app/src/main/java/com/example/smile/app/AppActivity.kt | unknown_repo | kotlin | package com.example.smile.app
import android.annotation.SuppressLint
import android.content.Intent
import android.content.res.Configuration
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.example.smile.R
import com.gyf.immersionbar.ktx.immersionBar
import com.hjq.toast.Toaster
impor... |
calvijncollege_cup/src/main/java/nl/viasalix/horarium/module/calvijncollege/cup/data/persistence/AppointmentDao.kt | unknown_repo | kotlin | package nl.viasalix.horarium.module.calvijncollege.cup.data.persistence
import androidx.lifecycle.LiveData
import androidx.room.*
import nl.viasalix.horarium.module.calvijncollege.cup.data.cup.model.Appointment
@Dao
interface AppointmentDao {
@Query("SELECT * FROM `appointment`")
fun getAll(): LiveData<List<A... |
firebase-common/src/main/java/com/google/firebase/ktx/Firebase.kt | unknown_repo | kotlin | /*
* Copyright 2019 Google LLC
*
* 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 i... |
app/src/main/java/com/gimangi/singleline_note/ui/memo/MemoDetailActivity.kt | unknown_repo | kotlin | package com.gimangi.singleline_note.ui.memo
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.text.Editable
import android.text.TextWatcher
import android.util.Log
import android.view.inputmethod.InputMethodManager
import android.widget.TextView
import androidx.recycl... |
bcmc/src/main/java/com/adyen/checkout/bcmc/internal/ui/view/BcmcView.kt | unknown_repo | kotlin | /*
* Copyright (c) 2022 Adyen N.V.
*
* This file is open source and available under the MIT license. See the LICENSE file for more info.
*
* Created by oscars on 29/9/2022.
*/
package com.adyen.checkout.bcmc.internal.ui.view
import android.content.Context
import android.util.AttributeSet
import android.view.Lay... |
lib-gson/src/main/java/net/codefeet/lemmyandroidclient/gen/types/GetCaptcha.kt | unknown_repo | kotlin | package net.codefeet.lemmyandroidclient.gen.types
import android.os.Parcelable
import kotlin.String
import kotlinx.parcelize.Parcelize
@Parcelize
public data class GetCaptcha(
public val auth: String?,
) : Parcelable
|
shared/src/iosMain/kotlin/main.ios.kt | unknown_repo | kotlin | import androidx.compose.ui.window.ComposeUIViewController
/**
* Creates a ComposeUIViewController for the main view controller of the application.
* This function initializes the Compose UI by setting up the root Composable function `App()`.
* @return A ComposeUIViewController displaying the main UI of the applicat... |
app/src/main/java/com/example/steamdroid/recycler/ProductAdapter.kt | unknown_repo | kotlin | package com.example.steamdroid.recycler
import android.os.Bundle
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavController
import androidx.recyclerview.widget.RecyclerView
import com.example.steamdroid.R
import com.examp... |
app/src/main/java/com/xxluciferinxx/wallpaperapp/WallpaperApp.kt | unknown_repo | kotlin | package com.xxluciferinxx.wallpaperapp
import android.app.Application
import com.xxluciferinxx.wallpaperapp.preferences.LoginPreferencesConfig
class WallpaperApp : Application() {
companion object {
var loginPref: LoginPreferencesConfig? = null
}
} |
core-data/src/main/kotlin/de/janniskilian/basket/core/data/localdb/entity/RoomShoppingList.kt | unknown_repo | kotlin | package de.janniskilian.basket.core.data.localdb.entity
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
@Entity(tableName = "shoppingList")
data class RoomShoppingList(
@ColumnInfo(name = "name")
val name: String,
@ColumnInfo(name = "searchName", index = true)... |
app/src/main/java/com/example/shopit/ui/login/LoginActivity.kt | unknown_repo | kotlin | package com.example.shopit.ui.login
import android.content.Intent
import android.os.Bundle
import android.util.Log
import android.widget.Button
import android.widget.EditText
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.example.shopit.MainActivity
import com.example.shopit.R
i... |
app/src/main/java/com/dermomedic/fragments/AnalyseViewModelFactory.kt | unknown_repo | kotlin | package com.dermomedic.fragments
import android.app.Application
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.dermomedic.database.AnalyseDatabaseDao
class AnalyseViewModelFactory(
private val dataSource: AnalyseDatabaseDao,
private val application: Applicat... |
app/src/main/java/com/linc/inphoto/utils/extensions/BindingExt.kt | unknown_repo | kotlin | package com.linc.inphoto.utils.extensions
import android.content.Context
import androidx.viewbinding.ViewBinding
val ViewBinding.context: Context get() = root.context |
loupe-library/src/main/java/com/igreenwood/loupe/Loupe.kt | unknown_repo | kotlin | package com.igreenwood.loupe
import android.animation.Animator
import android.animation.ValueAnimator
import android.graphics.Matrix
import android.graphics.PointF
import android.graphics.Rect
import android.graphics.RectF
import android.graphics.drawable.BitmapDrawable
import android.util.TypedValue
import android.vi... |
app/src/main/java/br/com/fiap/locawebmailapp/components/email/EmailViewButton.kt | unknown_repo | kotlin | package br.com.fiap.locawebmailapp.components.email
import android.widget.Toast
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.... |
apps/student/src/androidTest/java/com/instructure/student/ui/renderTests/SubmissionDetailsRenderTest.kt | unknown_repo | kotlin | /*
* Copyright (C) 2019 - 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... |
presentation/src/main/java/com/globant/marvelapplication/util/BindingAdapters.kt | unknown_repo | kotlin | package com.marvel.marvelapplication.util
import android.widget.ImageView
import androidx.databinding.BindingAdapter
import com.bumptech.glide.Glide
import com.marvel.marvelapplication.R
object BindingAdapters {
@BindingAdapter("loadThumbnail")
@JvmStatic
fun loadImage(view: ImageView, imageUrl: String?) ... |
app/src/main/java/com/lee/leewanandroid/utils/ImageLoader.kt | unknown_repo | kotlin | package com.lee.leewanandroid.utils
import android.content.Context
import android.widget.ImageView
import com.bumptech.glide.load.engine.DiskCacheStrategy
import com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
import com.lee.leewanandroid.GlideApp
import com.lee.leewanandroid.R
object ImageLoader ... |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bulk/Archiveminus.kt | unknown_repo | kotlin | package moe.tlaster.icons.vuesax.vuesaxicons.bulk
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.co... |
feature/src/main/java/com/eoyeongbooyeong/main/MainNavigator.kt | unknown_repo | kotlin | package com.eoyeongbooyeong.main
import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember
import androidx.navigation.NavDestination
import androidx.navigation.NavDestination.Companion.hasRoute
import androidx.navigation.NavHostController
import androidx.navigation.NavOptions
import androidx.... |
core/design/src/main/kotlin/br/com/mob1st/core/design/organisms/header/Title.kt | unknown_repo | kotlin | package br.com.mob1st.core.design.organisms.header
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.LargeTopAppBar
import androidx.compose.material3.MediumTopAppBar
import androidx.compose.material3.TopAppBarDefaults
import androidx.compose.material3.TopAppBarScrollBehavior
... |
app/src/main/java/com/example/navigation/ui/fragment/DetailFragment.kt | unknown_repo | kotlin | package com.example.navigation.ui.fragment
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.databinding.DataBindingUtil
import androidx.fragment.app.Fragment
import androidx.lifecycl... |
apa102/src/main/java/com/example/androidthings/driversamples/KotlinMainActivity.kt | unknown_repo | kotlin | package com.example.androidthings.driversamples
import android.app.Activity
import com.google.android.things.contrib.driver.apa102.Apa102
import android.os.Handler
import android.os.HandlerThread
/**
* Created by lgleason on 6/17/17.
*/
class KotlinMainActivity : Activity() {
// please ignore this mess :)
/*
... |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/outline/Messageminus.kt | unknown_repo | kotlin | package moe.tlaster.icons.vuesax.vuesaxicons.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
import androidx... |
utils_library/src/main/java/com/smallcake/utils/SpannableStringUtils.kt | unknown_repo | kotlin | package com.smallcake.utils
import android.graphics.*
import android.graphics.drawable.Drawable
import android.net.Uri
import android.os.Build
import android.text.Layout
import android.text.SpannableStringBuilder
import android.text.Spanned
import android.text.TextPaint
import android.text.method.LinkMovementMethod
im... |
features/setting/map/src/main/kotlin/com/egoriku/grodnoroads/setting/map/ui/component/CheckableCard.kt | unknown_repo | kotlin | package com.egoriku.grodnoroads.setting.map.ui.component
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.Card
import androidx.compose.materi... |
app/src/main/java/com/yenaly/han1meviewer/ui/adapter/HanimeMyListVideoAdapter.kt | unknown_repo | kotlin | package com.yenaly.han1meviewer.ui.adapter
import android.content.Context
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.recyclerview.widget.DiffUtil
import coil.load
import com.chad.library.adapter4.BaseDifferAdapter
import com.cha... |
apps/teacher/src/androidTest/java/com/instructure/teacher/ui/pages/InboxMessagePage.kt | unknown_repo | kotlin | /*
* 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... |
mesh/src/main/java/io/particle/mesh/setup/flow/MeshFlowRunner.kt | unknown_repo | kotlin | package io.particle.mesh.setup.flow
import android.app.Application
import androidx.annotation.MainThread
import androidx.annotation.StringRes
import androidx.lifecycle.LiveData
import com.snakydesign.livedataextensions.liveDataOf
import com.squareup.okhttp.OkHttpClient
import io.particle.android.sdk.cloud.ParticleClou... |
ui/ui-core/src/androidAndroidTest/kotlin/androidx/ui/viewmodel/TestViewModelClasses.kt | unknown_repo | kotlin | /*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
app/src/test/java/com/willowtree/vocable/utils/FaceTrackingPermissionsTest.kt | unknown_repo | kotlin | package com.willowtree.vocable.utils
import android.Manifest
import com.willowtree.vocable.utils.permissions.FakePermissionRegisterForLaunch
import com.willowtree.vocable.utils.permissions.FakePermissionsChecker
import com.willowtree.vocable.utils.permissions.FakePermissionsRationaleDialogShower
import kotlinx.corouti... |
app/src/main/java/com/as/publishinglibtest/MainActivity.kt | unknown_repo | kotlin | package com.`as`.publishinglibtest
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import retrofit2.Retrofit
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity... |
app/templates/app-kotlin/src/main/java/service/LogoutWorker.kt | unknown_repo | kotlin | package <%= appPackage %>.service
import android.content.Context
import android.content.Intent
import <%= appPackage %>.model.OAuth
import <%= appPackage %>.service.push.PushExtras
import <%= appPackage %>.storage.Storage
object LogoutExecutor {
fun logoutAndStopDownloads(context: Context, storage: Storage) {
... |
app/src/main/java/com/mayarafelix/viewpagerpoc/SplashScreenActivity.kt | unknown_repo | kotlin | package com.mayarafelix.viewpagerpoc
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.view.WindowManager
import androidx.appcompat.app.AppCompatActivity
class SplashScreenActivity : AppCompatActivity() {
private val splashTimer: Long = 3000
override fun onCreat... |
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/CallIncoming.kt | unknown_repo | kotlin | 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... |
shared/src/composeSharedMain/kotlin/com/aglushkov/wordteacher/shared/general/views/CustomListItem.kt | unknown_repo | kotlin | package com.aglushkov.wordteacher.shared.general.views
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.BoxScope
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.... |
app/src/main/java/com/yiqi/news/mvp/ui/activity/SearchActivity.kt | unknown_repo | kotlin | package com.yiqi.news.mvp.ui.activity
import android.content.Intent
import android.os.Bundle
import android.support.v7.widget.GridLayoutManager
import com.jess.arms.base.BaseActivity
import com.jess.arms.di.component.AppComponent
import com.jess.arms.utils.ArmsUtils
import com.yiqi.news.di.component.DaggerSearchComp... |
app/src/main/java/com/codingwithumair/app/chatterbox/auth/GoogleAuthUiClient.kt | unknown_repo | kotlin | package com.codingwithumair.app.chatterbox.auth
import android.content.Context
import android.content.Intent
import android.content.IntentSender
import com.google.android.gms.auth.api.identity.BeginSignInRequest
import com.google.android.gms.auth.api.identity.BeginSignInRequest.GoogleIdTokenRequestOptions
import com.g... |
SceytChatUiKit/src/main/java/com/sceyt/sceytchatuikit/imagepicker/adapter/viewholders/GalleryVideoViewHolder.kt | unknown_repo | kotlin | package com.sceyt.sceytchatuikit.imagepicker.adapter.viewholders
import androidx.core.view.isVisible
import com.bumptech.glide.Glide
import com.sceyt.sceytchatuikit.R
import com.sceyt.sceytchatuikit.databinding.SceytItemGalleryVideoBinding
import com.sceyt.sceytchatuikit.imagepicker.adapter.GalleryMediaAdapter
import ... |
android/SusuPay/kotlin/app/src/main/java/com/example/kotlin/di/module/AppModule.kt | unknown_repo | kotlin | package com.example.kotlin.di.module
import android.content.Context
import com.example.kotlin.network.AuthHttpRequest
import com.example.kotlin.network.UserApi
import com.example.kotlin.repository.AuthRepository
import com.example.kotlin.repository.UserRepository
import com.example.kotlin.repository.local.LocalDataSou... |
app/src/main/java/com/webaddicted/kotlinproject/global/koin/AppModule.kt | unknown_repo | kotlin | package com.webaddicted.kotlinproject.global.koin
import androidx.room.Room
import com.google.gson.FieldNamingPolicy
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import com.jakewharton.retrofit2.adapter.kotlin.coroutines.CoroutineCallAdapterFactory
import com.webaddicted.kotlinproject.BuildConfig
imp... |
module2/src/main/java/pers/vaccae/module2/M2Activity.kt | unknown_repo | kotlin | package pers.vaccae.module2
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import pers.vaccae.module2.R
import pers.vaccae.module2.databinding.ActivityM2... |
presentation/src/androidTest/java/com/iwillteachyoukotlin/expensemanager/presentation/expense/EnterExpenseFeatureInstrumentedTest.kt | unknown_repo | kotlin | package com.iwillteachyoukotlin.expensemanager.presentation.expense
import android.support.test.espresso.Espresso.onData
import android.support.test.espresso.Espresso.onView
import android.support.test.espresso.action.ViewActions.*
import android.support.test.espresso.assertion.ViewAssertions.matches
import android.su... |
presentation/src/androidTest/java/com/iwillteachyoukotlin/expensemanager/presentation/expense/EnterExpenseFeatureInstrumentedTest.kt | unknown_repo | kotlin | package com.iwillteachyoukotlin.expensemanager.presentation.expense
import android.support.test.espresso.Espresso.onData
import android.support.test.espresso.Espresso.onView
import android.support.test.espresso.action.ViewActions.*
import android.support.test.espresso.assertion.ViewAssertions.matches
import android.su... |
app/src/main/java/com/lukaslechner/coroutineusecasesonandroid/playground/flow/exceptionhandling/6_exception_transparency.kt | unknown_repo | kotlin | package com.lukaslechner.coroutineusecasesonandroid.playground.flow.exceptionhandling
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.emitAll
import kotlinx.coroutines.flow.flow
impor... |
app/src/main/java/com/lukaslechner/coroutineusecasesonandroid/playground/flow/exceptionhandling/6_exception_transparency.kt | unknown_repo | kotlin | package com.lukaslechner.coroutineusecasesonandroid.playground.flow.exceptionhandling
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.catch
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.emitAll
import kotlinx.coroutines.flow.flow
impor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.