file_path stringlengths 6 261 | repository stringclasses 2
values | language stringclasses 1
value | content stringlengths 121 454k |
|---|---|---|---|
rounded/src/commonMain/kotlin/me/localx/icons/rounded/outline/TachometerAltAverage.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... |
app/src/main/java/com/xm/question/ui/launcher/LauncherScreen.kt | unknown_repo | kotlin | package com.xm.question.ui.launcher
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.fo... |
app/src/main/java/de/eso/weather/domain/forecast/platform/WeatherForecastProvider.kt | unknown_repo | kotlin | package de.eso.weather.domain.forecast.platform
import android.util.Log
import de.eso.weather.domain.forecast.api.WeatherTO
import de.eso.weather.domain.forecast.service.ForecastProvider
import de.eso.weather.domain.shared.api.Location
import io.reactivex.rxjava3.core.Single
class WeatherForecastProvider : ForecastPr... |
data/api/src/main/java/akio/apps/myrun/data/authentication/api/model/SignInSuccessResult.kt | unknown_repo | kotlin | package akio.apps.myrun.data.authentication.api.model
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
@Parcelize
data class SignInSuccessResult(
val isNewUser: Boolean,
val signInMethod: SignInMethod,
) : Parcelable
|
petcare/src/main/java/io/wso2/android/api_authenticator/sdk/petcare/features/login/presentation/screens/auth_screen/components/SMSOTPAuth.kt | unknown_repo | kotlin | package io.wso2.android.api_authenticator.sdk.petcare.features.login.presentation.screens.auth_screen.components
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth... |
app/src/main/java/com/cureya/cure4mind/relaxation/viewHolder/VideoViewHolder.kt | unknown_repo | kotlin | package com.cureya.cure4mind.relaxation.viewHolder
import androidx.recyclerview.widget.RecyclerView
import coil.imageLoader
import coil.request.ImageRequest
import com.cureya.cure4mind.databinding.CardMusicAndVideoBinding
import com.cureya.cure4mind.model.Content
import com.cureya.cure4mind.relaxation.ui.MusicVideoFra... |
app/src/main/java/com/breezeiksindustries/app/domain/PriorityDao.kt | unknown_repo | kotlin | package com.breezeiksindustries.app.domain
import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import com.breezeiksindustries.app.AppConstant
@Dao
interface PriorityDao {
@Query("SELECT * FROM " + AppConstant.PRIORITY_TABLE)
fun getAll(): List<PriorityListEntity>
@Insert
... |
app/src/main/java/com/pt/pro/notepad/data/DBCounter.kt | unknown_repo | kotlin | package com.pt.pro.notepad.data
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import com.pt.common.BuildConfig.*
import com.pt.common.global.logProvCrash
import com.pt.common.global.toStr
import com.pt.common.moderator.over.MySQLiteOpenHelper
import com.pt.common.stable.*
import com.pt.p... |
app/src/main/java/top/easelink/lcg/ui/main/article/view/ArticleFragment.kt | unknown_repo | kotlin | package top.easelink.lcg.ui.main.article.view
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.lifecycle.ViewModelProvider
import androidx.recyclerview.widget.DefaultItemAnimator
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.R... |
health-services/ExerciseSampleCompose/app/src/main/java/com/example/exercisesamplecompose/app/MainActivity.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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
health-services/ExerciseSampleCompose/app/src/main/java/com/example/exercisesamplecompose/app/MainActivity.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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
app/src/main/java/id/ac/undip/ce/student/muhammadrizqi/footballapps/db/MyDatabaseOpenHelper.kt | unknown_repo | kotlin | package id.ac.undip.ce.student.muhammadrizqi.footballapps.db
import android.content.Context
import android.database.sqlite.SQLiteDatabase
import org.jetbrains.anko.db.*
class MyDatabaseOpenHelper(ctx: Context): ManagedSQLiteOpenHelper(ctx, "Favorite.db", null){
companion object {
private var instance: MyD... |
2019-android-applications/github-repo/shared/src/main/java/io/codelabs/githubrepo/shared/data/Owner.kt | unknown_repo | kotlin | /*
* Copyright (c) 2019. Designed & developed by <NAME>(c). For the love of Android development.
*/
package io.codelabs.githubrepo.shared.data
import android.os.Parcelable
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parc... |
app/src/main/java/com/naver/maps/map/compose/demo/map/LiteModeScreen.kt | unknown_repo | kotlin | /*
* Copyright 2022 SOUP
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... |
app/src/playstore/java/openfoodfacts/github/scrachx/openfood/camera/CameraSizePair.kt | unknown_repo | kotlin | @file:Suppress("DEPRECATION")
package openfoodfacts.github.scrachx.openfood.camera
import android.hardware.Camera
import com.google.android.gms.common.images.Size
/**
* Stores a preview size and a corresponding same-aspect-ratio picture size. To avoid distorted
* preview images on some devices, the picture size mu... |
app/src/main/java/com/mapswithme/maps/settings/SettingsPrefsFragment.kt | unknown_repo | kotlin | package com.mapswithme.maps.settings
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.speech.tts.TextToSpeech
import android.text.Spannable
import android.text.SpannableString
import android.text.style.ForegroundColo... |
NameStats/app/src/main/java/com/egenvall/namestats/common/di/module/ActivityModule.kt | unknown_repo | kotlin | package com.egenvall.namestats.common.di.module
import android.app.Activity
import android.support.v7.app.AppCompatActivity
import com.egenvall.namestats.common.di.scope.PerScreen
import com.egenvall.namestats.common.threading.AndroidUiExecutor
import com.egenvall.namestats.common.threading.RxIoExecutor
import dagger.... |
app/src/main/java/com/example/androiddevchallenge/MainActivity.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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
app/src/main/java/com/gladysproject/gladys/MainActivity.kt | unknown_repo | kotlin | package com.gladysproject.gladys
import android.content.Intent
import android.os.Bundle
import android.preference.PreferenceManager
import android.support.design.widget.BottomNavigationView
import android.support.v4.app.Fragment
import android.support.v7.app.AppCompatActivity
import android.view.Menu
import android.vi... |
mapme/src/test/java/nz/co/trademe/mapme/util/TestItem.kt | unknown_repo | kotlin | package nz.co.trademe.mapme.util
import androidx.recyclerview.widget.DiffUtil
import java.util.*
data class TestItem(val id: String = UUID.randomUUID().toString(), val startPosition: Int, val zIndex: Float = 0f)
class TestItemDiffCallback(private val mOldList: List<nz.co.trademe.mapme.util.TestItem>, private val mNe... |
s4-repository-layer/final-project/app/src/main/java/com/droidcon/easyinvoice/data/entities/InvoiceItem.kt | unknown_repo | kotlin | package com.droidcon.easyinvoice.data.entities
import androidx.room.Entity
import androidx.room.ForeignKey
import androidx.room.PrimaryKey
@Entity(
tableName = "invoice_items",
foreignKeys = [
ForeignKey(
entity = Invoice::class,
parentColumns = ["id"],
childColumns... |
app/src/main/kotlin/com/tezov/gofo/recycler/ScrollingHoldOneWay.kt | unknown_repo | kotlin | package com.tezov.gofo.recycler
import android.annotation.SuppressLint
import android.view.MotionEvent
import android.view.View
class ScrollingHoldOneWay: View.OnTouchListener {
companion object{
const val MIN_DISTANCE_TO_LOCK_DIRECTION = 250.0f
}
private var direction:Boolean? = null
private... |
animk_builder/src/main/java/com/mozhimen/animk/builder/bases/BaseAnimationBuilder.kt | unknown_repo | kotlin | package com.mozhimen.animk.builder.bases
import android.view.animation.Animation
import android.view.animation.AnimationSet
/**
* @ClassName AnimationApi
* @Description TODO
* @Author mozhimen / <NAME>
* @Date 2022/11/17 22:50
* @Version 1.0
*/
abstract class BaseAnimationBuilder<BUILDER> : BaseAnimBuilder<BUIL... |
activity_fragment/src/main/java/com/example/activity_fragments/Fragment1.kt | unknown_repo | kotlin | package com.example.activity_fragments
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_1.*
// TODO: Rename parameter arguments, choose names that match
// the fragmen... |
app/src/main/java/com/fjjukic/furniture4you/ui/components/Toolbar.kt | unknown_repo | kotlin | package com.fjjukic.furniture4you.ui.components
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Icon
import androidx.compose.material... |
app/src/main/java/me/pisal/abaclone/scene/card/CardsViewModel.kt | unknown_repo | kotlin | package me.pisal.abaclone.scene.card
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import me.pisal.abaclone.model.entity.Card
class CardsViewModel : ViewModel() {
private val _cards = MutableLiveData<List<Card>>()
} |
apzkr-pzpi-21-11-kokhanevych-pavlo/Task4-MobileClient/src/main/java/com/animal/hotel/presentation/utils/Event.kt | unknown_repo | kotlin | package com.animal.hotel.presentation.utils
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
class Event<T>(
value: T
) {
private var _value: T? = value
fun get(): T? = _value.also { _value = null }
}
// --- helper methods / aliases
... |
sample/src/main/java/io/lamart/glyph/sample/masterdetail/MasterDetailActivity.kt | unknown_repo | kotlin | package io.lamart.glyph.sample.masterdetail
import android.os.Bundle
import android.view.ViewGroup
import android.widget.FrameLayout
import androidx.appcompat.app.AppCompatActivity
import io.lamart.glyph.Dispose
import io.lamart.glyph.GlyphScope
import io.lamart.glyph.invoke
import io.lamart.glyph.sample.masterdetail.... |
app/src/main/java/com/coinninja/coinkeeper/util/crypto/BitcoinUri.kt | unknown_repo | kotlin | package com.coinninja.coinkeeper.util.crypto
import android.net.Uri
import app.dropbit.annotations.Mockable
import app.dropbit.commons.currency.BTCCurrency
import app.dropbit.commons.util.isNotNullOrEmpty
import app.dropbit.commons.util.urlDecode
import app.dropbit.commons.util.urlEncode
import com.coinninja.coinkeepe... |
MLKit-Sample/module-vision/src/main/java/com/huawei/mlkit/sample/views/graphic/BaseGraphic.kt | unknown_repo | kotlin | /**
* Copyright 2020. Huawei Technologies Co., Ltd. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... |
Section5/video5.5/Services/app/src/main/java/vafa/mona/com/service/MainActivity.kt | unknown_repo | kotlin | package vafa.mona.com.service
import android.content.Intent
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.view.View
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setConte... |
ui/ui-test/src/androidTest/java/androidx/ui/test/BitmapCapturingTest.kt | unknown_repo | kotlin | /*
* Copyright 2019 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/org/commcare/logging/DataChangeLogger.kt | unknown_repo | kotlin | package org.commcare.logging
import android.content.Context
import android.net.Uri
import android.os.Environment
import org.apache.commons.lang3.StringUtils
import org.commcare.CommCareApplication
import org.commcare.android.logging.ReportingUtils
import org.commcare.util.LogTypes
import org.commcare.utils.CrashUtil
i... |
app/src/main/java/ru/kabylin/andrey/vocabulator/ui/WordListActivity.kt | unknown_repo | kotlin | package ru.kabylin.andrey.vocabulator.ui
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import android.support.v7.widget.LinearLayoutManager
import android.view.Menu
import android.view.MenuItem
import android.view.View
import android.view.ViewGroup
import kotlinx.android.synthetic.... |
app/src/main/java/com/cityu/airship/MainActivity.kt | unknown_repo | kotlin | package com.cityu.airship
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.MotionEvent
import android.widget.SeekBar
import com.cityu.airship.model.FlightModel
import com.cityu.airship.model.MotorSerializer
import kotlinx.android.synthetic.main.activi... |
src/main/kotlin/dev/dexsr/gmod/palworld/toolbox/savegame/composeui/libint/ExternalDrag.desktop.kt | unknown_repo | kotlin | /*
* Copyright 2023 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... |
feat-favorite-coins/src/main/java/com/mathroda/favorite_coins/FavoriteCoinsViewModel.kt | unknown_repo | kotlin | package com.mathroda.favorite_coins
import androidx.compose.runtime.State
import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.mathroda.common.state.DialogState
import com.mathroda.common.state.MarketState
import com.mathroda.core.state.... |
weather-brazil/app/src/main/java/br/com/weather/brazil/view/viewmodel/WeatherViewModel.kt | unknown_repo | kotlin | package br.com.weather.brazil.view.viewmodel
import android.app.Application
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import br.com.weather.brazil.data.dto.Weather
import br.com.weather.brazil.data.repository.WeatherRepository
import br.com.we... |
app/src/main/java/com/thuong/langnotenative/ui/home/HomeViewModel.kt | unknown_repo | kotlin | package com.thuong.langnotenative.ui.home
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.viewModelScope
import com.thuong.langnotenative.db.AppDao
import com.thuong.langnotenative.db.... |
app/src/main/java/ua/polodarb/gmsflags/ui/screens/flagChange/extScreens/AddMultipleFlags.kt | unknown_repo | kotlin | package ua.polodarb.gmsflags.ui.screens.flagChange.extScreens
import androidx.compose.foundation.ExperimentalFoundationApi
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.Row... |
app/src/foss/java/me/blog/korn123/easydiary/activities/gms/drive/RecoverPhotoActivity.kt | unknown_repo | kotlin | package me.blog.korn123.easydiary.gms.drive
import androidx.appcompat.app.AppCompatActivity
class RecoverPhotoActivity : AppCompatActivity()
|
lib/src/main/kotlin/com/dbflow5/SqlUtils.kt | unknown_repo | kotlin | @file:JvmName("SqlUtils")
package com.dbflow5
import android.content.ContentValues
import android.net.Uri
import com.dbflow5.isNotNullOrEmpty
import com.dbflow5.quoteIfNeeded
import com.dbflow5.stripQuotes
import com.dbflow5.config.FlowManager
import com.dbflow5.database.DatabaseWrapper
import com.dbflow5.query.NameA... |
app/src/main/java/me/li2/movies/ui/sort/SortAdapter.kt | unknown_repo | kotlin | /*
* Created by <NAME> on 2020-05-30.
* https://github.com/li2
*/
package me.li2.movies.ui.sort
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import com.jakewharton.rxbinding4.view.clicks
import me.li2.android.common.rx.throttleFirstShort
... |
app/src/main/java/com/example/mvplayer/ListFragment.kt | unknown_repo | kotlin | package com.example.mvplayer
import android.content.Intent
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.AdapterView
import android.widget.ArrayAdapter
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.It... |
vanguard/src/main/java/app/baianat/com/vanguard/views/spinner/SpinnerValidationCase.kt | unknown_repo | kotlin | package app.baianat.com.vanguard.views.spinner
import android.view.View
import android.widget.AdapterView
import android.widget.CompoundButton
import android.widget.Spinner
import app.baianat.com.vanguard.utils.print
import app.baianat.com.vanguard.validationCase.CaseArgs
import app.baianat.com.vanguard.validationCase... |
feature/filters/src/main/java/ru/tech/imageresizershrinker/feature/filters/data/model/Convolution3x3Filter.kt | unknown_repo | kotlin | /*
* ImageToolbox is an image editor for android
* Copyright (c) 2024 T8RIN (Malik Mukhametzyanov)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software
* dist... |
app/src/main/java/com/yiyuanliu/currency/MainActivityUi.kt | unknown_repo | kotlin | package com.yiyuanliu.currency
import android.animation.*
import android.animation.Animator.AnimatorListener
import android.content.Context
import android.content.res.ColorStateList
import android.content.res.Resources
import android.graphics.PorterDuff
import android.graphics.Typeface
import android.graphics.drawable... |
app/src/main/kotlin/net/primal/android/core/compose/icons/primaliconpack/NavSearchFilled.kt | unknown_repo | kotlin | package net.primal.android.core.compose.icons.primaliconpack
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... |
AndroidSDKCore/src/main/java/com/leanplum/migration/wrapper/IWrapper.kt | unknown_repo | kotlin | /*
* Copyright 2022, Leanplum, Inc. All rights reserved.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you unde... |
app/src/main/java/cz/prague/cvut/fit/steuejan/amtelapp/adapters/realtime/ShowTeamsFirestoreAdapter.kt | unknown_repo | kotlin | package cz.prague.cvut.fit.steuejan.amtelapp.adapters.realtime
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.RelativeLayout
import android.widget.TextView
import androidx.fragment.app.FragmentActivity
import androidx.lifec... |
app/src/main/kotlin/de/markusfisch/android/binaryeye/fragment/EncodeFragment.kt | unknown_repo | kotlin | package de.markusfisch.android.binaryeye.fragment
import android.content.Context
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.*
import de.markusfisch.android.binaryeye.R
import de.markusfi... |
ground/src/main/java/com/google/android/ground/persistence/remote/firebase/schema/SurveysCollectionReference.kt | unknown_repo | kotlin | /*
* Copyright 2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
app/src/main/java/com/amar/modularnewsapp/common/BaseViewModelFactory.kt | unknown_repo | kotlin | package com.amar.modularnewsapp.common
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
class BaseViewModelFactory<T>(val creator: () -> T) : ViewModelProvider.Factory {
override fun <T : ViewModel?> create(modelClass: Class<T>): T {
return creator() as T
}
} |
app/src/main/java/ru/luckycactus/steamroulette/presentation/features/login/LoginViewModel.kt | unknown_repo | kotlin | package ru.luckycactus.steamroulette.presentation.features.login
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.viewModelScope
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.launch
import ru.luckycactus.steamroulette.R
import ru.luck... |
serve-app/Partner/src/main/java/org/evidyaloka/partner/ui/home/dsp/DspSchoolAdapter.kt | unknown_repo | kotlin | package org.evidyaloka.partner.ui.home.dsp
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.navigation.findNavController
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.bumptech.glide.load.resource.bitmap.CenterCrop
im... |
features/preference/src/androidTest/java/com/escodro/preference/PreferenceSectionTest.kt | unknown_repo | kotlin | package com.escodro.preference
import androidx.compose.ui.test.junit4.createComposeRule
import androidx.compose.ui.test.onNodeWithText
import androidx.test.platform.app.InstrumentationRegistry
import com.escodro.designsystem.AlkaaTheme
import com.escodro.preference.model.AppThemeOptions
import com.escodro.preference.p... |
naked4u/src/main/kotlin/io/popbrain/naked4u/utils.kt | unknown_repo | kotlin | /**
* Copyright (C) 2020 Popbrain aka Garhira.
*
* 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... |
app/src/main/java/com/fireblocks/sdkdemo/ui/viewmodel/BackupKeysViewModel.kt | unknown_repo | kotlin | package com.fireblocks.sdkdemo.ui.viewmodel
import com.fireblocks.sdk.keys.KeyBackupStatus
import com.fireblocks.sdkdemo.FireblocksManager
import com.fireblocks.sdkdemo.ui.main.BaseViewModel
import com.fireblocks.sdkdemo.ui.main.UiState
import com.fireblocks.sdkdemo.ui.observers.ObservedData
import kotlinx.coroutines.... |
cap07-add-creatures/src/main/java/tech/salvatore/livro_android_kotlin_paulo_salvatore/viewmodel/CreaturesViewModel.kt | unknown_repo | kotlin | package tech.salvatore.livro_android_kotlin_paulo_salvatore.viewmodel
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import tech.salvatore.livro_android_kotlin_paulo_salvatore.model.domain.Creature
import tech.salvatore.livro_android_kot... |
app/src/main/java/com/dispositivosmoveis/ritterflix/ui/signin/SignInViewModel.kt | unknown_repo | kotlin | package com.dispositivosmoveis.ritterflix.ui.signin
import androidx.lifecycle.ViewModel
class SignInViewModel : ViewModel() {
// TODO: Implement the ViewModel
} |
feature_image/src/main/java/com/adrianwitaszak/tool_image/ImageModule.kt | unknown_repo | kotlin | package com.adrianwitaszak.tool_image
import android.app.WallpaperManager
import android.content.Context
import com.adrianwitaszak.tool_image.imagemanager.ImageManager
import com.adrianwitaszak.tool_image.imagemanager.ImageManagerImpl
import com.adrianwitaszak.tool_image.wallpapersetter.WallpaperSetter
import com.adri... |
sample-app/src/androidTest/java/com/atiurin/sampleapp/tests/espresso/ViewInteractionActionsTest.kt | unknown_repo | kotlin | package com.atiurin.sampleapp.tests.espresso
import android.os.SystemClock
import android.view.KeyEvent
import android.view.View
import androidx.test.espresso.action.EspressoKey
import androidx.test.espresso.action.ViewActions.click
import com.atiurin.sampleapp.R
import com.atiurin.sampleapp.framework.ultronext.append... |
app/src/main/java/com/levibostian/tellerexample/viewmodel/GitHubUsernameViewModel.kt | unknown_repo | kotlin | package com.levibostian.tellerexample.viewmodel
import android.content.Context
import android.content.SharedPreferences
import android.preference.PreferenceManager
import androidx.lifecycle.LiveData
import androidx.lifecycle.LiveDataReactiveStreams
import androidx.lifecycle.ViewModel
import com.f2prateek.rx.preference... |
app/src/main/java/com/appclasses/smartcart/whychoose2.kt | unknown_repo | kotlin | package com.appclasses.smartcart
import android.content.Intent
import android.os.Bundle
import android.widget.Button
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
class whychoose2 : AppCompatA... |
android/src/main/kotlin/com/gdelataillade/alarm/services/NotificationService.kt | unknown_repo | kotlin | package com.gdelataillade.alarm.alarm
import com.gdelataillade.alarm.models.NotificationActionSettings
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import andro... |
app/src/main/java/com/github/naz013/tasker/utils/Notifier.kt | unknown_repo | kotlin | package com.github.naz013.tasker.utils
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.graphics.Color
import android.os.Build
import androidx.annotation.RequiresApi
import androidx... |
app/src/main/java/id/indosw/xlstojson/kotlin/JsonToExcelActivity.kt | unknown_repo | kotlin | @file:Suppress("SpellCheckingInspection")
package id.indosw.xlstojson.kotlin
import android.Manifest
import android.annotation.SuppressLint
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Bundle
import android.view.View
import android.widget.*
import and... |
TearnApp/app/src/main/java/com/tearnsv/tearnapp/ui/home/HomeViewModel.kt | unknown_repo | kotlin | package com.tearnsv.tearnapp.ui.home
import android.util.Log
import android.view.View
import androidx.lifecycle.*
import com.tearnsv.tearnapp.TearnApplication
import com.tearnsv.tearnapp.data.Recommendations
import com.tearnsv.tearnapp.repository.TearnRepository
import kotlinx.coroutines.Dispatchers
import kotlinx.cor... |
tabler/src/commonMain/kotlin/com/woowla/compose/icon/collections/tabler/tabler/outline/DiamondOff.kt | unknown_repo | kotlin | 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... |
app/src/main/java/com/medieverone/teststarwarsapi/di/modules/RoomModule.kt | unknown_repo | kotlin | package com.medieverone.teststarwarsapi.di.modules
import android.content.Context
import androidx.room.Room
import androidx.room.RoomDatabase
import com.medieverone.data.database.ImagesDatabase
import com.medieverone.data.database.StarWarsDatabase
import dagger.Module
import dagger.Provides
import javax.inject.Qualifi... |
codegen-compiler/src/main/kotlin/com/freeletics/khonshu/codegen/codegen/nav/NavEntryComponentGetterGenerator.kt | unknown_repo | kotlin | package com.freeletics.khonshu.codegen.codegen.nav
import com.freeletics.khonshu.codegen.NavEntryData
import com.freeletics.khonshu.codegen.codegen.Generator
import com.freeletics.khonshu.codegen.codegen.common.retainedComponentFactoryCreateName
import com.freeletics.khonshu.codegen.codegen.common.retainedParentCompon... |
app/src/main/java/org/stepic/droid/ui/dialogs/TimeIntervalPickerDialogFragment.kt | unknown_repo | kotlin | package org.stepic.droid.ui.dialogs
import android.app.Dialog
import android.content.DialogInterface
import android.os.Bundle
import android.support.v4.app.DialogFragment
import android.widget.NumberPicker
import biz.kasual.materialnumberpicker.MaterialNumberPicker
import com.afollestad.materialdialogs.MaterialDialog
... |
Polaris/src/main/java/com/st/polaris/ble/BlePolarisDiscoveryForConfiguration.kt | unknown_repo | kotlin | package com.st.polaris.ble
import android.annotation.SuppressLint
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.os.Bundle
import android.view.Menu
import android.widget.ImageView
import androidx.appcompat.app.AlertDialog... |
app/src/main/java/com/android/demoeditor/screens/ImgSelectorFragment.kt | unknown_repo | kotlin | package com.android.demoeditor.screens
import android.app.Application
import com.android.demoeditor.R
import com.android.demoeditor.databinding.FragmentImgSelectorBinding
import android.os.Bundle
import androidx.fragment.app.Fragment
import com.android.demoeditor.recyclerViews.ImageShowerAdapter
import com.android.dem... |
core/designsystem/src/test/kotlin/com/merxury/blocker/core/designsystem/CollapsingTopAppBarScreenshotTests.kt | unknown_repo | kotlin | /*
* Copyright 2023 Blocker
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
samples/counter/mosaic/src/main/kotlin/com/slack/circuit/sample/counter/mosaic/MosaicCounterCircuit.kt | unknown_repo | kotlin | // Copyright (C) 2022 Slack Technologies, LLC
// SPDX-License-Identifier: Apache-2.0
package com.slack.circuit.sample.counter.mosaic
import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import a... |
app/src/main/java/com/example/googlemapdirection/screens/authentications/login/loginAuth.kt | unknown_repo | kotlin | package com.example.googlemapdirection.screens.authentications.login
import android.content.ContentValues.TAG
import android.content.Context
import android.util.Log
import com.example.googlemapdirection.response.UserResponse
import com.example.googlemapdirection.utils.FirebaseKeyConstants
import com.example.googlemapd... |
mod_user/src/main/java/com/sum/user/dialog/SelectBirthdayDialog.kt | unknown_repo | kotlin | package com.sum.user.dialog
import android.view.Gravity
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.fragment.app.FragmentActivity
import com.sum.framework.base.BaseDialog
import com.sum.framework.base.BaseDialogFragment
import com.sum.framework.ext.onClick
import com.sum.framework.... |
android-skin-loader-lib/src/main/java/com/tencent/fskin/SkinInflaterFactory.kt | unknown_repo | kotlin | package com.tencent.fskin
import android.content.Context
import android.content.res.Resources.NotFoundException
import android.util.AttributeSet
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import cn.feng.skin.manager.util.L
import com.example.android_skin_loader_lib.BuildConfig
... |
app/src/main/java/ar/com/wolox/android/bootstrap/ui/base/BaseFragment.kt | unknown_repo | kotlin | package ar.com.wolox.android.bootstrap.ui.base
import android.os.Bundle
import android.view.View
import androidx.fragment.app.Fragment
import ar.com.wolox.android.bootstrap.network.util.RequestStatus
abstract class BaseFragment<V : BaseView, M : BaseViewModel> : Fragment(), BaseView {
abstract val viewModel: M
... |
app/src/main/kotlin/au/id/rlac/unitconverter/app/ConverterPresenter.kt | unknown_repo | kotlin | package au.id.rlac.unitconverter.app
import android.os.Bundle
import android.os.Parcel
import android.os.Parcelable
import au.id.rlac.unitconverter.converter.Measure
import au.id.rlac.unitconverter.converter.MeasurementSystem
import au.id.rlac.unitconverter.converter.UnitConverter
import au.id.rlac.util.android.*
impo... |
android/common-ui/src/main/java/any/ui/common/widget/ServicesDropdown.kt | unknown_repo | kotlin | package any.ui.common.widget
import any.base.R as BaseR
import any.ui.common.R as CommonUiR
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.animation.core.spring
import androidx.compose.animation.core.tween
import androidx.compose.animation.fadeOut
import androidx.compose.animation.s... |
サンプル/GeekNews-master/data/src/main/java/com/howshea/data/viewModel/DataTypeViewModel.kt | unknown_repo | kotlin | package com.howshea.data.viewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.howshea.basemodule.component.lifecycle.RxViewModel
import com.howshea.basemodule.extentions.dispatchDefault
import com.howshea.data.model.Data
import com.howshea.data.repository.DataServices
impor... |
app/src/main/java/com/rokoblak/chatbackup/ui/commonui/DetailsContent.kt | unknown_repo | kotlin | package com.rokoblak.gittrendingcompose.ui.common.composables
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ColumnScope
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.runtime.Composable
... |
app/src/main/java/com/example/perfumeryscores/ui/players/PlayersFragment.kt | unknown_repo | kotlin | package com.example.perfumeryscores.ui.players
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.SimpleAdapter
import androidx.fragment.app.Fragment
import androidx.fragment.app.viewModels
import com.example.perfumeryscores.AppAppli... |
core/src/main/java/com/marknjunge/core/data/network/interceptors/NetworkConnectionInterceptor.kt | unknown_repo | kotlin | package com.marknjunge.core.data.network.interceptors
import android.content.Context
import android.net.ConnectivityManager
import com.marknjunge.core.utils.NoInternetException
import okhttp3.Interceptor
import okhttp3.Response
internal class NetworkConnectionInterceptor(private val context: Context) : Interceptor {
... |
Android/app/src/main/java/com/app/myfoottrip/ui/view/dialogs/EditNicknameDialog.kt | unknown_repo | kotlin | package com.app.myfoottrip.ui.view.dialogs;
import android.os.Bundle
import android.util.Log
import android.view.*
import android.widget.ImageView
import androidx.appcompat.widget.AppCompatButton
import androidx.fragment.app.DialogFragment
import androidx.fragment.app.activityViewModels
import com.app.myfoottrip.R
imp... |
app/src/main/java/com/jiwoo/choi/nanumcar/rx/AutoActivatedDisposable.kt | unknown_repo | kotlin | package com.jiwoo.choi.gwangju_contest.rx
import android.arch.lifecycle.Lifecycle
import android.arch.lifecycle.LifecycleObserver
import android.arch.lifecycle.LifecycleOwner
import android.arch.lifecycle.OnLifecycleEvent
import io.reactivex.disposables.Disposable
// 라이프사이클 오너에 등록하는 익스텐션
class AutoActivatedDisposable... |
Konsultacja.kt | unknown_repo | kotlin | package com.example.ktg
//wymagane importy związane z działaniem aplikacji
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.view.WindowManager
import android.widget.Toast
import androidx.appcompat.app.ActionBar
import androidx.appcompat.app.AppCompatActivity
import com.g... |
app/src/main/java/com/rynkbit/coffeestore/data/repository/tasks/SetTransactionStateAsyncTask.kt | unknown_repo | kotlin | package com.rynkbit.coffeestore.data.repository.tasks
import android.os.AsyncTask
import com.rynkbit.coffeestore.data.dao.CustomerTransactionDao
import com.rynkbit.coffeestore.data.entity.Customer
import com.rynkbit.coffeestore.data.entity.TransactionState
class SetTransactionStateAsyncTask(
private val customerT... |
app/src/main/java/com/rynkbit/coffeestore/data/repository/tasks/SetTransactionStateAsyncTask.kt | unknown_repo | kotlin | package com.rynkbit.coffeestore.data.repository.tasks
import android.os.AsyncTask
import com.rynkbit.coffeestore.data.dao.CustomerTransactionDao
import com.rynkbit.coffeestore.data.entity.Customer
import com.rynkbit.coffeestore.data.entity.TransactionState
class SetTransactionStateAsyncTask(
private val customerT... |
app/src/main/java/com/azyoot/relearn/service/common/ReLearnLauncher.kt | unknown_repo | kotlin | package com.azyoot.relearn.service.common
import android.content.ActivityNotFoundException
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.os.Build
import com.azyoot.relearn.domain.entity.ReLearnTranslation
import com.azyoot.relearn.domain.entity.SourceT... |
zcnetwork/src/main/java/com/zoomcar/zcnetwork/core/ZcNetworkBuilder.kt | unknown_repo | kotlin | package com.zoomcar.zcnetwork.core
import android.app.Activity
import androidx.fragment.app.Fragment
import com.zoomcar.zcnetwork.utils.ZcRequestType
/*
* @created 08/01/2020 - 12:35 PM
* @project ZC-Network-Client
* @author Paras
*/
class ZcNetworkBuilder {
private var activity: Activity? = null
privat... |
app/src/main/java/bg/dabulgaria/tibroish/presentation/ui/photopicker/gallery/GridPickerAdapter.kt | unknown_repo | kotlin | package bg.dabulgaria.tibroish.presentation.ui.photopicker.gallery//package bg.dabulgaria.tibroish.presentation.ui.protocol.list
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import bg.dabulgaria.tibroish.R
import com.bumptec... |
common/src/main/java/com/jon/common/ui/main/MainActivity.kt | unknown_repo | kotlin | package com.jon.common.ui.main
import android.Manifest
import android.annotation.SuppressLint
import android.content.*
import android.net.Uri
import android.os.Bundle
import android.os.IBinder
import android.os.PowerManager
import android.provider.Settings
import android.view.Menu
import android.view.View
import andro... |
app/src/main/java/com/basickotlin/login/LoginActivity.kt | unknown_repo | kotlin | package com.basickotlin.login
import android.content.Intent
import android.os.Bundle
import android.widget.ImageView
import android.widget.TextView
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.basickotlin.R
import com.basickotlin.confirmation.ConfirmationActivity
import com.go... |
feature/home/src/main/java/dev/enesky/feature/home/HomeViewModel.kt | unknown_repo | kotlin | package dev.enesky.feature.home
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.paging.cachedIn
import dev.enesky.core.common.delegate.Event
import dev.enesky.core.common.delegate.EventDelegate
import dev.enesky.core.common.delegate.UiState
import dev.enesky.core.common.del... |
SampleCodeKotlin/src/main/kotlin/com/huawei/arengine/demos/augmentedimage/service/ImageKeyPointService.kt | unknown_repo | kotlin | /**
* Copyright 2021. Huawei Technologies Co., Ltd. All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* U... |
app/src/main/java/com/hariofspades/constraintsetzone/NestedActivity.kt | unknown_repo | kotlin | package com.hariofspades.constraintsetzone
import android.annotation.TargetApi
import android.os.Build
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.annotation.LayoutRes
import androidx.constraintlayout.widget.ConstraintLayout
import androidx.constraintlayout.widget.Constrain... |
websocketservice/src/main/java/studio/attect/websocketservice/WebSocketService.kt | unknown_repo | kotlin | package studio.attect.websocketservice
import android.app.Notification
import android.app.Service
import android.content.Context
import android.content.Intent
import android.os.IBinder
import android.util.Log
import androidx.lifecycle.Observer
import okhttp3.*
import okio.ByteString
import studio.attect.staticviewmod... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.