file_path stringlengths 6 261 | repository stringclasses 2
values | language stringclasses 1
value | content stringlengths 121 454k |
|---|---|---|---|
consultans_sales/src/main/java/consultan/vanke/com/fragment/kt/MediaPlayFragment.kt | unknown_repo | kotlin | package consultan.vanke.com.fragment.kt
import android.os.Bundle
import android.speech.tts.TextToSpeech
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import consultan.vanke.com.R
import consultan.vanke.com.fragment.BaseFragment
import consultan.vanke.com.utils.MediaplayerUti... |
app/src/main/java/com/quiz/app/views/quizScreen/QuizScreenAdapter.kt | unknown_repo | kotlin | package com.quiz.app.views.quizScreen
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.RadioButton
import android.widget.RelativeLayout
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.aregyan.github.R
import com.qu... |
app/src/main/java/com/mizzugi/kensiro/app/panri/plugin/CheckConnection.kt | unknown_repo | kotlin | package com.mizzugi.kensiro.app.panri.plugin
import android.content.Context
import android.net.ConnectivityManager
import android.net.NetworkInfo
import java.net.InetAddress
import java.net.UnknownHostException
object CheckConnection {
private var isReachable: Boolean? = false
private var threadState: Boolean... |
common/design-compose/src/main/kotlin/app/ss/design/compose/widget/icon/SsIconButtonColors.kt | unknown_repo | kotlin | /*
* Copyright (c) 2022. Adventech <<EMAIL>>
*
* 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, modify, merge... |
common/src/main/java/br/com/mindbet/common/cryptography/PublicKeyHelper.kt | unknown_repo | kotlin | package br.com.mindbet.common.cryptography
import android.util.Base64
import kotlin.experimental.xor
object PublicKeyHelper {
private val composite: Array<ByteArray> by lazy {
arrayOf(
byteArrayOf(102, 49, 81, 111, 70, 109, 118, 83, 83, 78, 71, 112, 72, 122, 89, 78, 121, 122, 102, 97, 119, 120, 103, 77, 50, 78,... |
library/src/main/java/com/pixite/android/billingx/DebugBillingClient.kt | unknown_repo | kotlin | package com.pixite.android.billingx
import android.app.Activity
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import com.android.billingclient.api.BillingClient
import com.android.billingclient.api.BillingClientStateListener
im... |
examples/src/main/kotlin/com/algolia/instantsearch/examples/showcase/view/sortby/SortByShowcase.kt | unknown_repo | kotlin | package com.algolia.instantsearch.examples.showcase.view.sortby
import android.os.Bundle
import android.widget.ArrayAdapter
import androidx.appcompat.app.AppCompatActivity
import com.algolia.instantsearch.core.connection.ConnectionHandler
import com.algolia.instantsearch.core.hits.connectHitsView
import com.algolia.in... |
mvvm/src/androidMain/kotlin/ViewFragment.kt | unknown_repo | kotlin | package dev.inmo.navigation.mvvm
import android.os.Bundle
import android.view.*
import androidx.activity.OnBackPressedCallback
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.BoxScope
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composabl... |
sdk/src/main/java/io/stipop/data/AllStickerRepository.kt | unknown_repo | kotlin | package io.stipop.data
import android.util.Log
import io.stipop.Config
import io.stipop.Constants
import io.stipop.Stipop
import io.stipop.api.StipopApi
import io.stipop.models.StickerPackage
class AllStickerRepository(private val apiService: StipopApi): BaseRepository() {
suspend fun getStickerPackages(page: In... |
app/src/main/java/com/bossed/waej/ui/StoredActivity.kt | unknown_repo | kotlin | package com.bossed.waej.ui
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.widget.TextView
import androidx.recyclerview.widget.LinearLayoutManager
import com.bossed.waej.R
import com.bossed.waej.adapter.StoredAdapter
import com.bossed.waej.base.BaseActivity
import co... |
aacmvi/src/main/java/com/rohitss/aacmvi/activity/AacMviActivity.kt | unknown_repo | kotlin | /*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
ToDoList/app/src/main/java/com/example/todolist/ToDoStore.kt | unknown_repo | kotlin | package com.example.todolist
import android.content.Context
import android.content.Context.MODE_PRIVATE
import com.google.gson.Gson
import java.io.Serializable
class ToDoStore(private val context: Context) {
class ToDo (var description: String, var isImportant: Boolean): Serializable {
override fun toStri... |
app/src/main/java/com/wenjian/wanandroid/ui/collect/CollectFragment.kt | unknown_repo | kotlin | package com.wenjian.wanandroid.ui.collect
import androidx.fragment.app.Fragment
import androidx.lifecycle.flowWithLifecycle
import androidx.lifecycle.lifecycleScope
import com.wenjian.wanandroid.base.BaseListFragment
import com.wenjian.wanandroid.base.BaseRecyclerAdapter
import com.wenjian.wanandroid.entity.Article
i... |
app/src/main/java/br/edu/ifsp/scl/ads/pdm/contatoskt/adapter/ContatosAdapter.kt | unknown_repo | kotlin | package br.edu.ifsp.scl.ads.pdm.contatoskt.adapter
import android.text.Layout
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import br.edu.ifsp.scl.ads.pdm.contatoskt.R
import br.edu.ifsp.scl.ads.... |
lib-multisrc/gmanga/src/eu/kanade/tachiyomi/multisrc/gmanga/Gmanga.kt | unknown_repo | kotlin | package eu.kanade.tachiyomi.multisrc.gmanga
import android.util.Log
import eu.kanade.tachiyomi.network.GET
import eu.kanade.tachiyomi.network.POST
import eu.kanade.tachiyomi.network.await
import eu.kanade.tachiyomi.source.model.Filter
import eu.kanade.tachiyomi.source.model.FilterList
import eu.kanade.tachiyomi.source... |
app/src/main/java/com/nevereatalone/feature/cafeteria_list/interactor/CafeteriaListAdapter.kt | unknown_repo | kotlin | package com.nevereatalone.feature.cafeteria_list.interactor
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.nevereatalone.R
import com.nevereatalone.feature.models.Canteen
import kotlinx.android.extensions.LayoutContaine... |
jessie/src/main/java/cn/jessie/etc/BinderCursor.kt | unknown_repo | kotlin | package cn.jessie.etc
import android.database.Cursor
import android.database.MatrixCursor
import android.os.Bundle
import android.os.IBinder
/**
* @author 7hens
*/
internal class BinderCursor(columnNames: Array<String>, binder: IBinder) : MatrixCursor(columnNames) {
private var bundle = Bundle()
constructo... |
MovieApp/app/src/main/java/com/example/movieapp/ui/listmovie/MovieListFragment.kt | unknown_repo | kotlin | package com.example.movieapp.ui.listmovie
import android.os.Bundle
import android.view.View
import android.widget.AdapterView
import androidx.core.os.bundleOf
import androidx.fragment.app.viewModels
import androidx.lifecycle.LiveData
import androidx.navigation.fragment.findNavController
import com.example.movieapp.Bas... |
analytics/src/main/java/com/savvasdalkitsis/gameframe/feature/analytics/SimpleLoggingAnalytics.kt | unknown_repo | kotlin | /**
* Copyright 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 in writing,... |
sample/src/androidMain/kotlin/com/github/panpf/sketch/sample/ui/setting/AppSettingsDialogFragment.kt | unknown_repo | kotlin | /*
* Copyright (C) 2024 panpf <<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 law or agre... |
app/src/main/java/com/mateus/mytasks/helper/NotificationHelper.kt | unknown_repo | kotlin | package com.aduilio.mytasks.helper
import android.Manifest
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import androidx.core.app.NotificationCompat
imp... |
app/src/main/java/com/example/mcard/repository/source/architecture/viewModels/InteractionViewModel.kt | unknown_repo | kotlin | package com.example.mcard.repository.source.architecture.viewModels
import androidx.lifecycle.LiveData
internal interface InteractionViewModel <LiveDataType>: InteractionView
{
val liveDataState: LiveData<LiveDataType>
fun actionСompleted()
} |
game/src/main/java/com/reco1l/rimu/ui/layouts/Toasts.kt | unknown_repo | kotlin | package com.reco1l.rimu.ui.layouts
import android.graphics.Color
import android.graphics.Color.BLACK
import android.graphics.drawable.ColorDrawable
import android.view.MotionEvent
import com.reco1l.toolkt.android.fontColor
import com.reco1l.toolkt.android.setConstraints
import com.reco1l.rimu.constants.Ease
import com... |
app/src/main/java/com/theapphideaway/automatewithpython/Chapters/ChapterThreeActivity.kt | unknown_repo | kotlin | package com.theapphideaway.automatewithpython.Chapters
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import com.chaquo.python.Python
import com.theapphideaway.automatewithpython.R
import kotlinx.android.synthetic.main.activity_chapter_three.*
class ChapterThreeActivity : AppCompatActivity()... |
app/src/main/java/com/dareangel/tmessager/ui/view/messagesdisplayer/MessagesRecyclerViewOverScrollEffect.kt | unknown_repo | kotlin | package com.dareangel.tmessager.ui.view.messagesdisplayer
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.animation.AnimatorSet
import android.animation.ObjectAnimator
import android.graphics.Canvas
import android.view.View
import android.view.animation.AccelerateDecel... |
app/src/main/java/com/example/whatsonnews/activities/LoginScreen.kt | unknown_repo | kotlin | package com.example.whatsonnews.activities
import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import android.text.method.PasswordTransformationMethod
import android.util.Log
import android.util.Patterns
import android.view.View
import android.view.Window
import android.view.W... |
Example/PrebidInternalTestApp/src/main/java/org/prebid/mobile/renderingtestapp/plugplay/bidding/mopub/MopubNativeFragment.kt | unknown_repo | kotlin | /*
* Copyright 2018-2021 Prebid.org, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
modules/expo-bluesky-swiss-army/android/src/main/java/expo/modules/blueskyswissarmy/visibilityview/VisibilityViewManager.kt | unknown_repo | kotlin | package expo.modules.blueskyswissarmy.visibilityview
import android.graphics.Rect
class VisibilityViewManager {
companion object {
private val views = HashMap<Int, VisibilityView>()
private var currentlyActiveView: VisibilityView? = null
private var prevCount = 0
fun addView(view: VisibilityView) {... |
app/src/main/java/com/example/myevents/ui/screens/eventdetails/EventDetailsViewModel.kt | unknown_repo | kotlin | package com.example.myevents.ui.screens.eventdetails
import android.content.Context
import android.graphics.drawable.BitmapDrawable
import android.location.Address
import android.location.Geocoder
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.se... |
app/src/main/java/com/ytrewqwert/yetanotherjnovelreader/data/local/database/serie/SerieDao.kt | unknown_repo | kotlin | package com.ytrewqwert.yetanotherjnovelreader.data.local.database.serie
import androidx.room.Dao
import androidx.room.Query
import androidx.room.Transaction
import com.ytrewqwert.yetanotherjnovelreader.data.local.database.BaseDao
import kotlinx.coroutines.flow.Flow
@Dao
abstract class SerieDao : BaseDao<Serie>() {
... |
app/src/main/java/com/luisli/cagpt/app/CA4OAGPTApp.kt | unknown_repo | kotlin | package com.luisli.cagpt.app
import android.app.Application
import android.content.Context
import com.luisli.cagpt.BuildConfig
import com.luisli.cagpt.R
import com.luisli.cagpt.utils.SharedPref
import dagger.hilt.android.HiltAndroidApp
import timber.log.Timber
@HiltAndroidApp
class CA4OAGPTApp : Application() {
com... |
app/src/main/java/dev/test/photofeed_mvvm/model/remote/Social.kt | unknown_repo | kotlin | package dev.test.photofeed_mvvm.model.remote
import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.parcelize.Parcelize
@Parcelize
data class Social(
@SerializedName("instagram_username")
val instagram_username: String,
@SerializedName("paypal_email")
val paypal_... |
app/src/main/java/com/workfort/pstuian/app/ui/home/viewmodel/HomeViewModel.kt | unknown_repo | kotlin | package com.workfort.pstuian.app.ui.home.viewmodel
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.workfort.pstuian.app.ui.home.intent.HomeIntent
import com.workfort.pstuian.model.RequestState
import com.workfort.pstuian.repository.AuthRepository
import com.workfort.pstuian.repo... |
app/src/main/java/com/nomdoa5/nomdo/helpers/adapter/HomeAdapter.kt | unknown_repo | kotlin | package com.nomdoa5.nomdo.helpers.adapter
import android.content.res.Resources
import android.content.res.Resources.getSystem
import android.graphics.Rect
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.nomdoa5.nomdo.... |
composeApp/src/androidMain/kotlin/xyz/teamgravity/splashmultiplatformdemo/MainActivity.kt | unknown_repo | kotlin | package xyz.teamgravity.splashmultiplatformdemo
import android.animation.ObjectAnimator
import android.os.Bundle
import android.view.View
import android.view.animation.OvershootInterpolator
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.core.animation.doOnEnd
imp... |
abilityktest/src/main/java/com/mozhimen/abilityktest/scank/ScanKActivity.kt | unknown_repo | kotlin | package com.mozhimen.abilityktest.scank
import android.annotation.SuppressLint
import android.os.Bundle
import android.view.View
import android.widget.Toast
import com.mozhimen.abilityk.scank.ScanKQR
import com.mozhimen.abilityktest.databinding.ActivityScankBinding
import com.mozhimen.basick.elemk.activity.bases.BaseA... |
app/src/main/java/bruhcollective/itaysonlab/jetispot/playback/service/AudioFocusManager.kt | unknown_repo | kotlin | package bruhcollective.itaysonlab.jetispot.playback.service
import android.content.Context
import android.media.AudioManager
import androidx.core.content.getSystemService
import androidx.media.AudioAttributesCompat
import androidx.media.AudioFocusRequestCompat
import androidx.media.AudioManagerCompat
import bruhcollec... |
app/src/main/java/com/example/jetpackcomposetest/MainActivity.kt | unknown_repo | kotlin | package com.example.jetpackcomposetest
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import androidx.compose.Composable
import androidx.compose.Model
import androidx.ui.core.*
import androidx.ui.foundation.Clickable
import androidx.ui.foundation.VerticalScroller
import androidx.ui.graphics.C... |
app/src/main/java/com/tinyfish/jeekalarm/alarm/AlarmReceiver.kt | unknown_repo | kotlin | package com.tinyfish.jeekalarm.alarm
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import com.tinyfish.jeekalarm.schedule.ScheduleService
class AlarmReceiver : BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent) {
Notificat... |
app/src/main/java/com/dev/moviehut/data/repository/MovieRepository.kt | unknown_repo | kotlin | package com.dev.moviehut.data.repository
import androidx.lifecycle.MutableLiveData
import androidx.room.Room
import com.dev.moviehut.MoviehutApplication
import com.dev.moviehut.R
import com.dev.moviehut.data.local.DatabaseService
import com.dev.moviehut.data.model.Movie
import com.dev.moviehut.data.model.MovieData
imp... |
app/src/main/java/com/rentmycar/rentmycar/fragment/UserDashboardFragment.kt | unknown_repo | kotlin | package com.rentmycar.rentmycar.fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModelProvider
import androidx.navigation.fragment.findNavController... |
straight/src/commonMain/kotlin/me/localx/icons/straight/bold/PointOfSaleBill.kt | unknown_repo | kotlin | package me.localx.icons.straight.bold
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
i... |
core/src/main/java/com/oscarg798/amiibowiki/core/ui/imagegallery/ImageGalleryNavigation.kt | unknown_repo | kotlin | package com.oscarg798.amiibowiki.core.ui.imagegallery
import androidx.navigation.NavController
import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavType
import androidx.navigation.compose.composable
import androidx.navigation.compose.navArgument
import androidx.navigation.navDeepLink
import com.osc... |
android/src/main/kotlin/com/codesfirst/safetynet_attestation/Utils.kt | unknown_repo | kotlin | package com.codesfirst.safetynet_attestation
import android.os.Bundle
import android.content.pm.PackageManager
import android.content.pm.ApplicationInfo
import androidx.annotation.NonNull
import android.content.Context
import androidx.annotation.Nullable
class Utils {
companion object {
@Nullable
... |
NLiteAVDemo-Android-Java/call-ui/src/main/java/com/netease/yunxin/nertc/ui/p2p/fragment/onthecall/AudioOnTheCallFragment.kt | unknown_repo | kotlin | /*
* Copyright (c) 2022 NetEase, Inc. All rights reserved.
* Use of this source code is governed by a MIT license that can be
* found in the LICENSE file.
*/
package com.netease.yunxin.nertc.ui.p2p.fragment.onthecall
import android.Manifest.permission.CAMERA
import android.Manifest.permission.RECORD_AUDIO
import ... |
app/src/main/java/com/buychemi/crm/ui/adapter/AddDialogAdapter.kt | unknown_repo | kotlin | package com.buychemi.crm.ui.adapter
import android.content.Context
import android.support.v4.content.ContextCompat
import android.view.View
import android.widget.ImageView
import com.buychemi.crm.R
import com.buychemi.crm.view.recyclerview.ViewHolder
import com.buychemi.crm.view.recyclerview.adapter.CommonAdapter
/**... |
debug-updater/src/main/java/com/jakewharton/sdksearch/debug/updater/UpdateService.kt | unknown_repo | kotlin | package com.jakewharton.sdksearch.debug.updater
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.NotificationManager.IMPORTANCE_LOW
import android.app.Service
import android.content.Intent
import android.content.Intent.ACTION_INSTALL_PACKA... |
app/src/main/java/org/stepik/android/view/learning_actions/ui/adapter/delegate/UserReviewsActionAdapterDelegate.kt | unknown_repo | kotlin | package org.stepik.android.view.learning_actions.ui.adapter.delegate
import android.text.SpannedString
import android.view.View
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import androidx.core.text.buildSpannedString
import androidx.core.text.color
import androidx.core.view.isVisible
impor... |
demo/src/com/hendraanggrian/recyclerview/paginated/demo/PostAdapter.kt | unknown_repo | kotlin | package com.hendraanggrian.recyclerview.paginated.demo
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
class PostAdapter(val list: List<Post>) : RecyclerView.Adapter<PostAdapter.ViewHolder>() {
... |
app/src/androidTest/java/com/assessment/ui/main/MainActivityTest.kt | unknown_repo | kotlin | package com.assessment.ui.main
import android.app.Activity
import androidx.test.InstrumentationRegistry
import androidx.test.espresso.Espresso.onView
import androidx.test.espresso.action.ViewActions.click
import androidx.test.espresso.matcher.ViewMatchers.withId
import androidx.test.rule.ActivityTestRule
import andro... |
schematic-sample-kotlin/src/main/java/net/simonvt/schematic/sample/ui/dialog/NewListDialog.kt | unknown_repo | kotlin | /*
* Copyright (C) 2014 Simon Vig Therkildsen
*
* 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 ... |
paycomponent_kotlin/src/main/java/com/lxch/paycomponent_kotlin/AliPayResult.kt | unknown_repo | kotlin | package com.lxch.paycomponent_kotlin
import android.text.TextUtils
/**
* Created by luoxiaocheng on 2018/3/28.
*/
class AliPayResult(rawResult: Map<String, String>) {
var resultStatus: String? = null
get() = field
var result: String? = null
get() = field
var memo: String? = null
... |
ehook/src/main/java/com/ehook/okhttp/HttpClients.kt | unknown_repo | kotlin | package com.ehook.okhttp
import android.util.Log
import com.ehook.cache.LRUCache
import com.ehook.helper.MD5
import com.ehook.helper.TryHelper.tryMainThreadly
import com.ehook.utils.LogUtil
import okhttp3.*
import java.io.IOException
object HttpClients {
/**
* 同步下载资源文件,这里由于企业微信发送文件必须是本地路径,故缓存策略固定为DISK
... |
demo/src/androidTest/java/com/carlos/cutils/demo/ObjectTransformUtils.kt | unknown_repo | kotlin | package com.carlos.cutils.demo
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.carlos.cutils.util.LogUtils
import org.json.JSONObject
import org.junit.Test
import org.junit.runner.RunWith
/**
* Created by Carlos on 2019-11-20.
*/
@RunWith(AndroidJUnit4::class)
class ObjectTransformUtils {
@Test... |
app/src/main/java/com/example/demo/tworecyclerview/adapter/LeftAdapter.kt | unknown_repo | kotlin | package com.example.demo.tworecyclerview.adapter
import android.content.Context
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.RecyclerView
import com.example.demo.R
import com.example.demo.databinding.ItemSortLeftBinding... |
shared/src/commonMain/kotlin/screens/home/ListTab.kt | unknown_repo | kotlin | package screens.home
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ExperimentalLayoutApi
impo... |
app/src/main/kotlin/dev/pott/abonity/app/MainActivity.kt | unknown_repo | kotlin | package dev.pott.abonity.app
import android.content.Intent
import android.graphics.Color
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.provider.Settings
import androidx.activity.ComponentActivity
import androidx.activity.SystemBarStyle
import androidx.activity.compose.setConten... |
app/src/main/java/com/ncs/o2/UI/UIComponents/Adapters/TaskListAdapter.kt | unknown_repo | kotlin | import android.content.Context
import android.graphics.Paint
import android.view.LayoutInflater
import android.view.ViewGroup
import android.graphics.drawable.Drawable
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.Glide
import com.bumptech.glide.... |
app/src/main/java/knf/kuma/custom/WrapWebView.kt | unknown_repo | kotlin | package knf.kuma.custom
import android.content.Context
import android.content.res.Configuration
import android.os.Build
import android.util.AttributeSet
import android.webkit.WebView
class WrapWebView : WebView {
constructor(context: Context) : super(context.configurated)
constructor(context: Context, attrs:... |
app/src/main/java/com/tarun/example/coroutines/learn/base/AsynchronousFlow.kt | unknown_repo | kotlin | package com.tarun.example.coroutines.learn.base
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import com.tarun.example.coroutines.R
import kotlinx.coroutines.*
import kotlinx.coroutines.flow.*
import kotlin.system.measureTimeMillis
class AsynchronousFlow : AppCompatA... |
sample/src/main/java/com/example/coredemo/ui/networking/NetworkingFragment.kt | unknown_repo | kotlin | package com.example.coredemo.ui.networking
import android.os.Bundle
import android.view.View
import androidx.fragment.app.viewModels
import be.appwise.core.extensions.fragment.showSnackBar
import be.appwise.core.extensions.view.setupRecyclerView
import be.appwise.core.ui.base.BaseBindingVMFragment
import com.example.c... |
css-gg/src/commonMain/kotlin/compose/icons/cssggicons/Ring.kt | unknown_repo | kotlin | package compose.icons.cssggicons
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
import androidx.c... |
ui/link-details/android/src/main/kotlin/io/github/wykopmobilny/links/details/items/ParentCommentBindings.kt | unknown_repo | kotlin | package io.github.wykopmobilny.links.details.items
import android.content.res.ColorStateList
import androidx.core.content.ContextCompat
import androidx.core.view.isVisible
import com.github.wykopmobilny.ui.components.bind
import com.github.wykopmobilny.ui.components.setUserNick
import com.github.wykopmobilny.ui.compon... |
android/src/androidTest/java/tech/soit/quiet/service/PlaybackTest.kt | unknown_repo | kotlin | package tech.soit.quiet.service
import android.os.Bundle
import android.support.v4.media.MediaMetadataCompat
import android.support.v4.media.session.PlaybackStateCompat
import androidx.test.ext.junit.runners.AndroidJUnit4
import kotlinx.coroutines.runBlocking
import org.junit.Assert
import org.junit.Rule
import org.ju... |
app/src/main/java/com/hrrock/snapbook/fragments/ProfileGridViewFragment.kt | unknown_repo | kotlin | package com.hrrock.snapbook.fragments
import android.annotation.SuppressLint
import android.content.Context
import android.content.SharedPreferences
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.widget.GridLayoutManager
import android.support.v7.widget.RecyclerView
import an... |
app/src/main/java/com/hrrock/snapbook/fragments/ProfileGridViewFragment.kt | unknown_repo | kotlin | package com.hrrock.snapbook.fragments
import android.annotation.SuppressLint
import android.content.Context
import android.content.SharedPreferences
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.widget.GridLayoutManager
import android.support.v7.widget.RecyclerView
import an... |
app/src/androidTest/java/com/steleot/jetpackcompose/playground/compose/animation/GestureAnimationScreenTest.kt | unknown_repo | kotlin | package com.steleot.jetpackcompose.playground.compose.animation
import androidx.compose.ui.test.junit4.createAndroidComposeRule
import com.steleot.jetpackcompose.playground.MainActivity
import com.steleot.jetpackcompose.playground.compose.theme.TestTheme
import org.junit.Rule
import org.junit.Test
class GestureAnimat... |
app/src/main/java/mohsen/muhammad/minimalist/core/ext/GeneralExtensions.kt | unknown_repo | kotlin | package mohsen.muhammad.minimalist.core.ext
import android.content.BroadcastReceiver
import android.content.Context
import android.content.SharedPreferences
import android.content.res.Resources
import android.graphics.BitmapFactory
import android.graphics.ColorMatrix
import android.graphics.ColorMatrixColorFilter
impo... |
videoEditSdk/src/main/java/com/video/process/preview/GlPlayerView.kt | unknown_repo | kotlin | package com.video.process.preview
import android.content.Context
import android.graphics.SurfaceTexture
import android.os.Handler
import android.util.AttributeSet
import com.video.process.surface.MPlayerView
import com.video.player.player.mp.TextureSurfaceRenderer2
class GlPlayerView : MPlayerView {
var listene... |
symbol-processor-common/src/main/kotlin/ru/tinkoff/kora/ksp/common/TagUtils.kt | unknown_repo | kotlin | package ru.tinkoff.kora.ksp.common
import com.google.devtools.ksp.symbol.KSAnnotated
import com.google.devtools.ksp.symbol.KSAnnotation
import com.google.devtools.ksp.symbol.KSClassDeclaration
import com.google.devtools.ksp.symbol.KSPropertyDeclaration
import com.google.devtools.ksp.symbol.KSType
import com.google.dev... |
app/src/main/java/com/infinitepower/newquiz/core/navigation/NavDrawerContent.kt | unknown_repo | kotlin | package com.infinitepower.newquiz.core.navigation
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compo... |
app/src/main/java/com/samara/weatherflex/di/VmModule.kt | unknown_repo | kotlin | package com.samara.weatherflex.di
import androidx.lifecycle.ViewModel
import com.samara.core.di.vm.ViewModelAssistedFactory
import com.samara.weatherflex.presentation.MainActivityVm
import dagger.Binds
import dagger.Module
@Module
interface VmModule {
@Binds
@AppScope
fun bindMainActivityVm(viewModelFact... |
modules/tak/compose/icons/src/main/kotlin/dev/jonpoulton/alakazam/tak/compose/icons/raptorx/R2d2.kt | unknown_repo | kotlin | package dev.jonpoulton.alakazam.tak.compose.icons.raptorx
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.StrokeJo... |
components-core/src/main/java/com/airwallex/android/core/model/AirwallexError.kt | unknown_repo | kotlin | package com.airwallex.android.model
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
import java.io.Serializable
/**
* Airwallex uses conventional HTTP response codes to indicate the success or failure of an API
* request. Typically a status code in the 2xx range indicates success, status codes ... |
app/src/main/java/com/beok/gitbeoktree/SplashActivity.kt | unknown_repo | kotlin | package com.beok.gitbeoktree
import android.animation.AnimatorSet
import android.os.Bundle
import androidx.core.view.isInvisible
import com.beok.common.base.BaseActivity
import com.beok.common.ext.goActivity
import com.beok.gitbeoktree.databinding.ActivitySplashBinding
import com.beok.gitbeoktree.ext.*
import com.goog... |
simple-icons/src/commonMain/kotlin/compose/icons/simpleicons/MobxStateTree.kt | unknown_repo | kotlin | package compose.icons.simpleicons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Butt
import androidx.compose.ui.graphics.StrokeJoin.Miter
import androidx.compose.ui.graphics... |
virtue-back-press-dispatch/src/jvmMain/kotlin/com/eygraber/virtue/back/press/dispatch/PlatformNavigationHandler.jvm.kt | unknown_repo | kotlin | package com.eygraber.virtue.back.press.dispatch
import androidx.compose.runtime.Composable
import androidx.compose.runtime.DisposableEffect
import androidx.compose.runtime.rememberCoroutineScope
import com.eygraber.virtue.platform.CurrentPlatform
import com.eygraber.virtue.platform.Os
import com.eygraber.virtue.platfo... |
shared/src/commonMain/kotlin/view/TwinCircleAnimation.kt | unknown_repo | kotlin | package view
import androidx.compose.animation.core.*
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.ui.Alignment
i... |
app/src/main/java/com/ng/ui/test/TestActivity.kt | unknown_repo | kotlin | package com.ng.ui.test
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.view.View
import android.widget.ImageView
import butterknife.ButterKnife
import com.ng.nguilib.utils.LogUtils
import com.ng.ui.R
import kotlinx.android.synthetic.main.activity_test.*
/**
* @ProjectName: Ngu... |
hellocharts/src/main/java/lecho/lib/hellocharts/renderer/AxesRenderer.kt | unknown_repo | kotlin | package lecho.lib.hellocharts.renderer
import android.content.Context
import android.graphics.Canvas
import android.graphics.Paint
import android.graphics.Paint.Align
import android.graphics.Paint.FontMetricsInt
import android.graphics.Rect
import android.text.TextUtils
import lecho.lib.hellocharts.computator.ChartCom... |
app/src/main/java/com/concordium/wallet/data/util/IdentityAttributeConverterUtil.kt | unknown_repo | kotlin | package com.concordium.wallet.data.util
import android.content.Context
import com.concordium.wallet.R
import com.concordium.wallet.util.DateTimeUtil
import java.util.Locale
object IdentityAttributeConverterUtil {
fun convertAttribute(
context: Context,
attribute: Pair<String, String>
): Pair<... |
app/src/main/java/io/moonlighting/redditclientv2/ui/compose/RedditClientMainScreen.kt | unknown_repo | kotlin | package io.moonlighting.redditclientv2.ui.compose
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.width
import androidx.compose.material3.Ex... |
app/src/main/java/com/santalu/textmatcher/sample/SingleRuleActivity.kt | unknown_repo | kotlin | package com.santalu.textmatcher.sample
import android.content.Context
import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.santalu.textmatcher.findMatches
import com.santalu.textmatcher.rule.MentionRule
import com.santalu.textmatcher.style.MentionStyle
import ... |
app/src/main/java/com/example/sisterslab_ecommerce/ui/adapter/ProductAdapter.kt | unknown_repo | kotlin | package com.example.sisterslab_ecommerce.ui.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.RecyclerView
import com.example.sisterslab_ecommerce.R
import com.example.sisterslab_ecommerce.data.model.ProductResponse... |
app/src/main/java/com/example/sleepingkirby/definetask/remove/DailyTaskListCheckboxAdapter.kt | unknown_repo | kotlin | package com.example.sleepingkirby.definetask.remove
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.CheckBox
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
impo... |
Task-Tracker-GUI/desktop/src/jvmMain/kotlin/Main.kt | unknown_repo | kotlin | import androidx.compose.ui.window.Window
import androidx.compose.ui.window.application
import app.cash.sqldelight.driver.jdbc.sqlite.JdbcSqliteDriver
import app.tasktrackersystems.tasktracker.common.App
import app.tasktrackersystems.tasktracker.usecases.sqlite.Database
import java.nio.file.Files
import java.nio.file.Pa... |
payments-model/src/main/java/com/stripe/android/model/ConsumerSessionLookup.kt | unknown_repo | kotlin | package com.stripe.android.model
import androidx.annotation.RestrictTo
import com.stripe.android.core.model.StripeModel
import kotlinx.parcelize.Parcelize
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* The result of a call to retrieve the [ConsumerSession] for a Link user.
*... |
data/src/main/java/io/foundy/data/source/UserPagingSource.kt | unknown_repo | kotlin | package io.foundy.data.source
import androidx.paging.PagingSource
import androidx.paging.PagingState
import com.google.firebase.firestore.DocumentReference
import io.foundy.data.model.UserDto
import io.foundy.data.repository.UserRepository
import kotlinx.coroutines.tasks.await
class UserPagingSource(
private val ... |
interactiveplayer/src/main/java/io/dolby/interactiveplayer/streaming/multiview/MultiStreamingViewModel.kt | unknown_repo | kotlin | package io.dolby.interactiveplayer.streaming.multiview
import androidx.lifecycle.SavedStateHandle
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.millicast.subscribers.remote.RemoteVideoTrack
import dagger.hilt.android.lifecycle.HiltViewModel
import io.dolby.interactiveplayer.da... |
appcues/src/main/java/com/appcues/ui/primitive/ButtonPrimitive.kt | unknown_repo | kotlin | package com.appcues.ui.primitive
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material.ProvideTextStyle
import androidx.compose.material.Surface
import androidx.compose.runtime.Composa... |
appcues/src/main/java/com/appcues/ui/primitive/ButtonPrimitive.kt | unknown_repo | kotlin | package com.appcues.ui.primitive
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material.ProvideTextStyle
import androidx.compose.material.Surface
import androidx.compose.runtime.Composa... |
OneSignalSDK/onesignal/core/src/main/java/com/onesignal/IOneSignal.kt | unknown_repo | kotlin | package com.onesignal
import android.content.Context
import com.onesignal.debug.IDebugManager
import com.onesignal.inAppMessages.IInAppMessagesManager
import com.onesignal.location.ILocationManager
import com.onesignal.notifications.INotificationsManager
import com.onesignal.session.ISessionManager
import com.onesigna... |
app/src/main/java/com/marceljurtz/lifecounter/views/Counter/ICounterView.kt | unknown_repo | kotlin | package com.marceljurtz.lifecounter.views.Counter
import android.widget.LinearLayout
import com.marceljurtz.lifecounter.contracts.base.IView
import com.marceljurtz.lifecounter.enums.CounterType
import com.marceljurtz.lifecounter.models.Color
import com.marceljurtz.lifecounter.models.Counter
import com.marceljurtz.lif... |
android/app/src/main/java/com/kaelesty/audionautica/presentation/playlists/list/PlaylistCard.kt | unknown_repo | kotlin | package com.kaelesty.audionautica.presentation.playlists.list
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compos... |
VoiceCommandsReloadingSample/app/src/main/java/com/example/glass/voicecommandsreloadingsample/MainActivity.kt | unknown_repo | kotlin | /*
* Copyright 2021 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/luizhbfilho/workoutapp/ui/MainActivity.kt | unknown_repo | kotlin | package com.luizhbfilho.workoutapp.ui
import android.os.Bundle
import android.os.PersistableBundle
import androidx.appcompat.app.AppCompatActivity
import androidx.navigation.findNavController
import androidx.navigation.ui.AppBarConfiguration
import androidx.navigation.ui.navigateUp
import androidx.navigation.ui.setupA... |
app/src/main/java/com/tiagohs/hqr/ui/adapters/downloads/DownloadsAdapter.kt | unknown_repo | kotlin | package com.tiagohs.hqr.ui.adapters.downloads
import android.view.Menu
import android.view.MenuInflater
import android.view.MenuItem
import com.tiagohs.hqr.ui.callbacks.IDownloadCallback
import eu.davidea.flexibleadapter.FlexibleAdapter
class DownloadsAdapter(
private val listener: IDownloadCallback
): FlexibleAd... |
android/src/main/kotlin/tech/soit/quiet/player/PlaybackState.kt | unknown_repo | kotlin | package tech.soit.quiet.player
import android.os.Parcel
import android.os.Parcelable
data class PlaybackState constructor(
val state: State,
val position: Long,
val bufferedPosition: Long,
val speed: Float,
val error: PlayerError?,
val updateTime: Long,
val duration: Long,
) : Parcelable {... |
app/src/main/java/com/lj/app/composable/music/MusicMediumComposable.kt | unknown_repo | kotlin | package com.lj.app.composable.music
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.aspectRatio
import androidx.compose.foundation.layo... |
app/src/main/java/ethiopia/covid/android/data/ContactItem.kt | unknown_repo | kotlin | package ethiopia.covid.android.data
import androidx.annotation.DrawableRes
/**
* Created by BrookMG on 4/20/2020 in ethiopia.covid.android.data
* inside the project CoVidEt .
*/
data class ContactItem(@DrawableRes var regionFlagImageLink: Int, var regionPhoneNumber: String) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.