file_path stringlengths 6 261 | repository stringclasses 2
values | language stringclasses 1
value | content stringlengths 121 454k |
|---|---|---|---|
app/src/main/java/com/vdc/generativeai/screens/TextChatscreen.kt | unknown_repo | kotlin | package com.vdc.generativeai.screens
import android.annotation.SuppressLint
import com.vdc.generativeai.viewmodels.ChatViewModel
import androidx.activity.ComponentActivity
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import ... |
Corona-Warn-App/src/main/java/de/rki/coronawarnapp/submission/ui/homecards/RapidTestPositiveCard.kt | unknown_repo | kotlin | package de.rki.coronawarnapp.submission.ui.homecards
import android.view.ViewGroup
import de.rki.coronawarnapp.R
import de.rki.coronawarnapp.coronatest.type.rapidantigen.SubmissionStateRAT
import de.rki.coronawarnapp.databinding.HomeSubmissionRapidStatusCardPositiveNotSharedBinding
import de.rki.coronawarnapp.submissi... |
app/src/main/kotlin/com/mgorski/discountasciiwarehouse/asciiitemlist/AsciiItemViewModel.kt | unknown_repo | kotlin | package com.mgorski.discountasciiwarehouse.asciiitemlist
import android.databinding.ObservableField
import android.view.View
import com.mgorski.discountasciiwarehouse.R
import com.mgorski.discountasciiwarehouse.asciiitemlist.di.ItemListComponent
import com.mgorski.discountasciiwarehouse.model.AsciiItem
import com.mgor... |
mmkunyi/src/main/java/com/zawhtetnaing/mmkunyi_app_assignment_zhn/mvp/presenters/JobListPresenter.kt | unknown_repo | kotlin | package com.zawhtetnaing.mmkunyi_app_assignment_zhn.mvp.presenters
import android.arch.lifecycle.LiveData
import android.arch.lifecycle.MutableLiveData
import com.zawhtetnaing.mmkunyi_app_assignment_zhn.data.models.JobsModel
import com.zawhtetnaing.mmkunyi_app_assignment_zhn.data.vos.JobVO
import com.zawhtetnaing.mmku... |
app/src/main/java/com/mafqud/android/auth/register/RegisterScreen.kt | unknown_repo | kotlin | package com.mafqud.android.auth.register
import androidx.compose.animation.animateContentSize
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.ScaffoldState
import androidx.compose.mate... |
androidApp/src/main/java/com/mdgroup/nasawallpapers/presentation/views/RatingBarView.kt | unknown_repo | kotlin | package com.mdgroup.nasawallpapers.presentation.views
import android.content.res.Configuration
import android.view.ContextThemeWrapper
import android.widget.RatingBar
import androidx.compose.foundation.layout.wrapContentSize
import androidx.compose.material.ExperimentalMaterialApi
import androidx.compose.runtime.Compo... |
kotlin-inject-compiler-ksp/src/main/kotlin/me/tatarka/inject/compiler/ksp/Util.kt | unknown_repo | kotlin | package me.tatarka.inject.compiler.ksp
import com.squareup.kotlinpoet.ClassName
import com.squareup.kotlinpoet.KModifier
import com.squareup.kotlinpoet.ParameterizedTypeName.Companion.parameterizedBy
import com.squareup.kotlinpoet.TypeName
import com.squareup.kotlinpoet.TypeVariableName
import org.jetbrains.kotlin.ksp... |
dclassmacro/src/main/kotlin/org/astronkt/dclassmacro/DClassFileParser.kt | unknown_repo | kotlin | @file:Suppress("ktlint:standard:no-wildcard-imports")
package org.astronkt.dclassmacro
import com.github.h0tk3y.betterParse.combinators.*
import com.github.h0tk3y.betterParse.grammar.Grammar
import com.github.h0tk3y.betterParse.grammar.parser
import com.github.h0tk3y.betterParse.lexer.literalToken
import com.github.h... |
app/src/main/java/com/cerminnovations/moviesboard/ui/adapter/ArtistMoviesAdapter.kt | unknown_repo | kotlin | package com.cerminnovations.moviesboard.ui.adapter
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
import com.cerminnovations.moviesboard.data.remote.model.cast... |
web/widgets/src/jsMain/kotlin/modifiers/width.kt | unknown_repo | kotlin | package org.jetbrains.compose.common.foundation.layout
import org.jetbrains.compose.common.ui.unit.Dp
import org.jetbrains.compose.common.ui.Modifier
import org.jetbrains.compose.common.internal.castOrCreate
import org.jetbrains.compose.web.css.px
import org.jetbrains.compose.web.css.width
actual fun Modifier.width(s... |
android-sample/src/main/kotlin/net/aquadc/properties/android/sample/app.kt | unknown_repo | kotlin | package net.aquadc.properties.android.sample
import android.app.Activity
inline val Activity.app get() = application as App
|
app/src/main/java/com/ruthvikbr/starbucksindiacompose/ui/screens/profile/components/ProfileDetails.kt | unknown_repo | kotlin | package com.ruthvikbr.starbucksindiacompose.ui.screens.profile.components
import ProfilePicture
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.material.MaterialTheme
import androidx.co... |
app/src/main/java/com/battlelancer/seriesguide/shows/ShowMenuItemClickListener.kt | unknown_repo | kotlin | // SPDX-License-Identifier: Apache-2.0
// Copyright 2015-2019, 2021-2024 Uwe Trottmann
package com.battlelancer.seriesguide.shows
import android.content.Context
import android.view.MenuItem
import android.widget.PopupMenu
import androidx.fragment.app.FragmentManager
import com.battlelancer.seriesguide.R
import com.ba... |
sample/app/src/main/java/com/vk/id/sample/app/screen/bottomnav/BottomNavigation.kt | unknown_repo | kotlin | package com.vk.id.sample.app.screen.bottomnav
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.material3.Icon
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.NavigationBar
import androidx.compose.material3.NavigationBarItem
import androidx.compose.materi... |
app/src/main/java/com/f2h/f2h_admin/screens/group/assign_delivery/AssignDeliveryFragment.kt | unknown_repo | kotlin | package com.f2h.f2h_admin.screens.group.assign_delivery
import android.Manifest
import android.app.Application
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.v... |
app/src/main/java/chill/me/kotlintodo/models/Note.kt | unknown_repo | kotlin | package chill.me.kotlintodo.models
import android.os.Parcelable
import chill.me.kotlintodo.states.Priority
import chill.me.kotlintodo.states.Priority.Lowest
import chill.me.kotlintodo.utility.getCurrentDateTimeFormatted
import kotlinx.android.parcel.Parcelize
@Parcelize
data class Note(
val title: String,
val conte... |
app/src/main/java/com/example/virtustacktestapp/ui/main/WordAdapter.kt | unknown_repo | kotlin | package com.example.virtustacktestapp.ui.main
/*
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ListAdapter
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import com.example.virtustacktestapp.R
import com.example.virtustac... |
common/sdk/recipe/core/impl/src/commonMain/kotlin/io/chefbook/sdk/recipe/core/impl/data/cache/RecipesCacheImpl.kt | unknown_repo | kotlin | package io.chefbook.sdk.recipe.core.impl.data.cache
import io.chefbook.libs.coroutines.CoroutineScopes
import io.chefbook.libs.logger.Logger
import io.chefbook.sdk.category.api.internal.data.cache.CategoriesCacheReader
import io.chefbook.sdk.recipe.book.api.external.domain.entities.RecipeBook
import io.chefbook.sdk.re... |
library/src/main/java/com/zorro/swipe/adapter/RecyclerSwipeAdapter.kt | unknown_repo | kotlin | package com.zorro.swipe.adapter
import android.annotation.SuppressLint
import com.zorro.swipe.interfaces.SwipeItemMangerInterface
import com.zorro.swipe.interfaces.SwipeAdapterInterface
import com.zorro.swipe.impl.SwipeItemMangerImpl
import androidx.recyclerview.widget.RecyclerView
import com.zorro.swipe.SwipeLayout
... |
app/src/main/java/com/imnstudios/enefte/ui/screens/setupprofile/WelcomeScreen.kt | unknown_repo | kotlin | package com.imnstudios.enefte.ui.screens.setupprofile
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import... |
app/src/main/java/com/example/diagnosetuberculosis/View/Results/RecommandationActivity.kt | unknown_repo | kotlin | package com.example.diagnosetuberculosis.View.Results
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.example.diagnosetuberculosis.databinding.ActivityRecommandationBinding
class RecommandationActivity : AppCompatActivity() {
private lateinit var binding: ActivityRecommandatio... |
Fragment/ViewPager/src/main/java/fragment/develop/android/viewpager/ViewPagerMainFragment.kt | unknown_repo | kotlin | package fragment.develop.android.viewpager
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import kotlinx.android.synthetic.main.fragment_view_pager.*
class ViewPagerMainFragment : Fragment() {
companion obj... |
fitcoachapp-feature-auth-ui/src/commonMain/kotlin/com/fitcoachapp/feature/auth/ui/SignupScreen.kt | unknown_repo | kotlin | package com.fitcoachapp.feature.auth.ui
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.material.Button
import androidx.compose.material.MaterialTheme
import androidx.compose.material.OutlinedTextF... |
library/src/main/java/com/nextcloud/common/User.kt | unknown_repo | kotlin | /*
* Nextcloud Android Library
*
* SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2022 Chris Narkiewicz <hello@ezaquarii.com>
* SPDX-License-Identifier: MIT
*/
package com.nextcloud.common
import android.accounts.Account
interface User {
val accountName... |
test-shared/src/main/java/com/foobarust/testshared/repositories/FakeSellerRepositoryImpl.kt | unknown_repo | kotlin | package com.foobarust.testshared.repositories
import androidx.paging.PagingData
import com.foobarust.domain.models.explore.ItemCategory
import com.foobarust.domain.models.seller.*
import com.foobarust.domain.repositories.SellerRepository
import com.foobarust.testshared.serialize.*
import kotlinx.coroutines.flow.Flow
i... |
android/src/com/android/tools/idea/run/deployment/liveedit/LiveEditOutputBuilder.kt | unknown_repo | kotlin | /*
* Copyright (C) 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 app... |
app/src/main/java/com/artbird/onsite/ui/components/Input.kt | unknown_repo | kotlin | package com.artbird.onsite.ui.components
import androidx.compose.foundation.interaction.MutableInteractionSource
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.text.KeyboardActions
import androidx.compose.foundation.text.Keybo... |
app/src/main/java/moe/mipa/service/MipaService.kt | unknown_repo | kotlin | package moe.mipa.service
import android.accessibilityservice.AccessibilityService
import android.accessibilityservice.GestureDescription
import android.accessibilityservice.GestureDescription.StrokeDescription
import android.content.Intent
import android.graphics.Path
import android.os.Bundle
import android.util.Log
i... |
app/src/main/java/com/motivemobileapp/MainActivity.kt | unknown_repo | kotlin | package com.motivemobileapp
import android.os.Bundle
import android.support.design.widget.BottomNavigationView.OnNavigationItemSelectedListener
import android.support.v7.app.AppCompatActivity
import com.motivemobileapp.schedule.ScheduleFragment
import com.motivemobileapp.tasks.TasksFragment
import kotlinx.android.synt... |
presentation/src/main/java/com/yapp/bol/presentation/view/mypage/MyPageFragment.kt | unknown_repo | kotlin | package com.yapp.bol.presentation.view.mypage
import android.content.Intent
import androidx.fragment.app.viewModels
import com.yapp.bol.presentation.R
import com.yapp.bol.presentation.base.BaseFragment
import com.yapp.bol.presentation.databinding.FragmentMyPageBinding
import dagger.hilt.android.AndroidEntryPoint
impor... |
app/src/main/java/com/sianis/woltsequence/MainActivity.kt | unknown_repo | kotlin | package com.sianis.woltsequence
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.viewModels
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.Ex... |
app/src/main/java/com/simplefoodscanner/di/BarcodeScanningModule.kt | unknown_repo | kotlin | package com.simplefoodscanner.di
import android.content.Context
import com.google.mlkit.vision.barcode.common.Barcode
import com.google.mlkit.vision.codescanner.GmsBarcodeScannerOptions
import com.google.mlkit.vision.codescanner.GmsBarcodeScanning
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallI... |
app/src/main/java/com/example/carrental/Activities/LoginActivity.kt | unknown_repo | kotlin | package com.example.carrental.Activities
import android.app.Activity
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.Button
import android.widget.ProgressBar
import android.widget.Toast
import androidx.activity.result... |
listmaker2/app/src/main/java/com/trios2024ammy/listmaker2/ui/main/MainFragment.kt | unknown_repo | kotlin | package com.trios2024evmg.listmaker.ui.main
import androidx.fragment.app.viewModels
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.LinearLayoutManager
import com.trios2024evmg.... |
app/src/main/java/com/soussidev/kotlin/nicenavigation/PageFragment2.kt | unknown_repo | kotlin | package com.soussidev.kotlin.nicenavigation
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
/**
* A simple [Fragment] subclass.
*/
class PageFragment2 : Fragment() {
override fun onCreateView(inflater: ... |
app/src/main/java/com/sudhirkhanger/bakingapp/MainActivityFragment.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 wr... |
Chapter03/BeSocial/app/src/main/java/com/kotlinblueprint/besocial/util/AppToolbar.kt | unknown_repo | kotlin | package com.kotlinblueprint.besocial.util
import android.support.v7.widget.Toolbar
import com.kotlinblueprint.besocial.R
import com.kotlinblueprint.besocial.ui.activity.ProfileActivity
import org.jetbrains.anko.startActivity
/**
* Created by hardik.trivedi on 01/10/17.
*/
interface AppToolbar {
val toolbar: Too... |
core-ui/src/main/java/com/anytypeio/anytype/core_ui/features/editor/holders/other/LinkToObjectDelete.kt | unknown_repo | kotlin | package com.anytypeio.anytype.core_ui.features.editor.holders.other
import android.widget.FrameLayout
import androidx.core.view.updateLayoutParams
import androidx.core.view.updatePadding
import androidx.recyclerview.widget.RecyclerView
import com.anytypeio.anytype.core_ui.BuildConfig
import com.anytypeio.anytype.core_... |
AndroidCode/app/src/main/java/com/rootusergroup/roofify/data/daos/UserDAO.kt | unknown_repo | kotlin | package com.rootusergroup.roofify.data.daos
import androidx.lifecycle.LiveData
import androidx.room.*
import com.rootusergroup.roofify.data.entities.User
@Dao
interface UserDAO {
//Insertar o actualizar usuario
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun insertOrUpdateUser(user: User)
... |
app/src/main/java/com/codepath/apps/restclienttemplate/models/Tweet.kt | unknown_repo | kotlin | package com.codepath.apps.restclienttemplate.models
import android.os.Parcelable
import android.util.Log
import com.codepath.apps.restclienttemplate.Helper.TimeFormatter
import kotlinx.parcelize.Parcelize
import org.json.JSONArray
import org.json.JSONObject
@Parcelize
class Tweet(var body:String="",
var c... |
app/src/main/java/com/batdemir/similar/flora/example/ui/product/filter/ProductFilterFragment.kt | unknown_repo | kotlin | package com.batdemir.similar.flora.example.ui.product.filter
import android.content.Context
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.navigation.fragment.findNavCon... |
input-engine/src/androidTest/java/de/tillhub/inputengine/AndroidComposeRule.kt | unknown_repo | kotlin | package de.tillhub.inputengine
import android.content.Intent
import androidx.activity.ComponentActivity
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.semantics.SemanticsProperties
import androidx.compose.ui.test.SemanticsMatcher
import androidx.compose.ui.test.SemanticsNodeInteraction
import and... |
app/src/main/java/com/eugenio/marvelsuperheroes/MarvelSuperHeroesApp.kt | unknown_repo | kotlin | package com.eugenio.marvelsuperheroes
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class MarvelSuperHeroesApp: Application() |
SampleCodeKotlin/src/main/kotlin/com/huawei/arengine/demos/cloudimage/controller/AugmentedImageRenderController.kt | unknown_repo | kotlin | /*
* Copyright 2023. 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
*
... |
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... |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bulk/Musicplay.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... |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bold/Link21.kt | unknown_repo | kotlin | package moe.tlaster.icons.vuesax.vuesaxicons.bold
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... |
app/src/main/java/com/web0zz/givemeamovie/view/ui/home/HomeViewModel.kt | unknown_repo | kotlin | package com.web0zz.givemeamovie.view.ui.home
import androidx.lifecycle.*
import com.web0zz.givemeamovie.data.remote.Resource
import com.web0zz.givemeamovie.model.entity.Movie
import com.web0zz.givemeamovie.model.network.movie_lists.MovieListSection
import com.web0zz.givemeamovie.repository.HomeRepository
import dagger... |
flint-core/src/main/java/com/vox/exposure/flint_core/Flint.kt | unknown_repo | kotlin | /*
* Copyright 2023 i-vox
*
* 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 wri... |
dobLib/src/main/java/com/docwei/doblib/ZeTaTrack.kt | unknown_repo | kotlin | package com.docwei.doblib
import android.app.Activity
import android.app.Application
import android.os.Bundle
import android.util.Log
/**
* Created by liwk on 2021/6/12.
*/
object ZeTaTrack : Application.ActivityLifecycleCallbacks {
var frontBackgroundHelper:ZeTaFrontBackgroundHelper?=null
fun init(applicat... |
searchview/src/main/java/com/tcqq/searchview/widget/SearchLayout.kt | unknown_repo | kotlin | /*
* Copyright 2018 <NAME>, <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 i... |
samples/android-autodsl/app/src/main/java/com/autodsl/sample/Anim.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 wri... |
features/feature-settings/src/main/kotlin/com/maximillianleonov/cinemax/feature/settings/components/Settings.kt | unknown_repo | kotlin | /*
* Copyright 2022 <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 wr... |
app/src/main/java/com/z80h3x/kezd_kov/di/ApplicationModule.kt | unknown_repo | kotlin | package com.example.news.di
import android.content.Context
import dagger.Module
import dagger.Provides
import javax.inject.Singleton
@Module
class ApplicationModule(@get:Provides @Singleton val context: Context)
|
app/src/main/java/com/thezayin/kainaclean/ui/theme/Color.kt | unknown_repo | kotlin | package com.thezayin.kainaclean.ui.theme
import androidx.compose.ui.graphics.Color
val Black = Color(0xFF1C1E21) //Dark Background
val Blue = Color(0xFF1877F2) //Primary
val DarkRed = Color(0xFFC30052) //Dark Error
val LightRed = Color(0xFFFF84B7)
val LightBlack = Color(0xFF3A3B3C) //Dark Surface |
app/src/main/java/com/realitix/mealassistant/fragment/MealPagerFragment.kt | unknown_repo | kotlin | package com.realitix.mealassistant.fragment
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.core.content.ContextCompat
import androidx.fragment.app.viewModels
import androidx.lifecycle.observe
impo... |
app/widget/src/main/java/com/gmail/jiangyang5157/widget/SquareFrameLayout.kt | unknown_repo | kotlin | package com.gmail.jiangyang5157.widget
import android.content.Context
import android.util.AttributeSet
import android.widget.FrameLayout
/**
* Created by Yang Jiang on April 21, 2018
*/
open class SquareFrameLayout : FrameLayout {
constructor(context: Context) : super(context)
constructor(context: Context... |
app/src/main/kotlin/lazy/of/go/to/app/splash/SplashActivity.kt | unknown_repo | kotlin | package lazy.of.go.to.app.splash
import android.content.Intent
import lazy.of.go.to.app.login.LoginActivity
import lazy.of.go.to.app.main.MainActivity
import lazy.of.go.to.base.MvpActivity
class SplashActivity: MvpActivity<SplashFragment, SplashContract.Presenter>(), SplashFragment.OnFragmentListener {
override ... |
realm/realm-annotations-processor/src/main/java/io/realm/processor/RealmProxyInterfaceGenerator.kt | unknown_repo | kotlin | /*
* Copyright 2019 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
app/src/main/kotlin/org/jdc/template/ux/individualedit/IndividualEditViewModel.kt | unknown_repo | kotlin | package org.jdc.template.ux.individualedit
import android.arch.lifecycle.ViewModel
import android.databinding.ObservableField
import kotlinx.coroutines.experimental.launch
import org.jdc.template.R
import org.jdc.template.livedata.SingleLiveEvent
import org.jdc.template.model.db.main.individual.Individual
import org.j... |
app/src/main/java/com/ovidiu/portfolio/MainApplication.kt | unknown_repo | kotlin | package com.ovidiu.portfolio
import android.app.Application
import com.jakewharton.threetenabp.AndroidThreeTen
import com.ovidiu.portfolio.di.DaggerApplicationComponent
class MainApplication : Application() {
val applicationComponent by lazy {
DaggerApplicationComponent.factory().create(applicationContext... |
src/app/src/main/java/heartRateMonitor/ui/views/DailyPage.kt | unknown_repo | kotlin | package heartRateMonitor.ui.views
import android.util.Log
import android.widget.Toast
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.Image
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.foundation.horizontalScroll
import androidx.compose.foundation.l... |
app/src/main/java/com/buychemi/crm/ui/activity/FollowUpRecordsActivity.kt | unknown_repo | kotlin | package com.buychemi.crm.ui.activity
import android.content.Intent
import android.graphics.Color
import android.support.v4.content.ContextCompat
import android.support.v7.widget.LinearLayoutManager
import android.view.View
import com.buychemi.crm.R
import com.buychemi.crm.base.BaseActivity
import com.buychemi.crm.bean... |
androidApp/src/main/java/com/example/notekmm/android/MainActivity.kt | unknown_repo | kotlin | package com.example.notekmm.android
import android.os.Bundle
import android.util.Log
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.lazy.LazyColu... |
app/src/main/kotlin/io/github/nuhkoca/vivy/domain/boundary/DoctorsBoundaryCallback.kt | unknown_repo | kotlin | /*
* Copyright (C) 2020. <NAME>. 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 required by applic... |
app/src/main/java/com/appchamp/dragdroptwolists/MainActivity.kt | unknown_repo | kotlin | package com.appchamp.dragdroptwolists
import android.content.ClipData
import android.content.Context
import android.os.Bundle
import android.util.Log
import android.util.TypedValue
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.view.animation.AlphaAnimation
imp... |
graphics/graphics-core/src/main/java/androidx/graphics/opengl/FrameBufferRenderer.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... |
app/src/main/kotlin/com/serhatsurguvec/androidcleankotlin/layers/presentation/example/ExampleFragment.kt | unknown_repo | kotlin | package com.serhatsurguvec.androidcleankotlin.layers.presentation.example
import android.os.Bundle
import android.support.v7.widget.DividerItemDecoration
import android.support.v7.widget.LinearLayoutManager
import android.view.View
import android.widget.Toast
import com.serhatsurguvec.androidcleankotlin.R
import com.s... |
client/app/src/main/java/com/microsoft/research/karya/database/models/PayoutInfoRecord.kt | unknown_repo | kotlin | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
/**
* This file was auto-generated using specs and scripts in the db-schema
* repository. DO NOT EDIT DIRECTLY.
*/
package com.microsoft.research.karya.database.models
import androidx.room.Entity
import androidx.room.ForeignKey
import andro... |
app/src/main/java/id/teman/app/mitra/ui/registration/food/RegistrationFoodOwnerFormScreen.kt | unknown_repo | kotlin | package id.teman.app.mitra.ui.registration.food
import android.net.Uri
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Scaffol... |
app/src/main/kotlin/com/flxrs/dankchat/data/database/entity/MessageHighlightEntity.kt | unknown_repo | kotlin | package com.flxrs.dankchat.data.database.entity
import android.util.Log
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.Ignore
import androidx.room.PrimaryKey
@Entity(tableName = "message_highlight")
data class MessageHighlightEntity(
@PrimaryKey(autoGenerate = true)
val id: L... |
app/src/main/java/com/lau/developerhelper/MainActivity.kt | unknown_repo | kotlin | package com.lau.developerhelper
import android.app.Activity
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.NotificationManager.IMPORTANCE_DEFAULT
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.content.Intent... |
app/src/main/java/com/manarimjesse/githubprofiles/presentation/common/components/SimpleCellDescription.kt | unknown_repo | kotlin | package com.manarimjesse.githubprofiles.presentation.common.components
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Text
i... |
app/src/main/java/com/oxyethylene/emojiclipboard/domain/model/EmojiTnList.kt | unknown_repo | kotlin | package com.oxyethylene.emojiclipboard.domain.model
import android.util.Log
import com.oxyethylene.emojiclipboard.domain.base.Thumbnail
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
/**
* 默认展示一个 emoji,另外还包含了以这个 emoji 为基础的衍生 emoji 列表
* @property name ... |
sentry-android-integration-tests/sentry-uitest-android/src/androidTest/java/io/sentry/uitest/android/AutomaticSpansTest.kt | unknown_repo | kotlin | package io.sentry.uitest.android
import androidx.lifecycle.Lifecycle
import androidx.test.core.app.launchActivity
import androidx.test.espresso.Espresso
import androidx.test.espresso.IdlingRegistry
import androidx.test.espresso.action.ViewActions
import androidx.test.espresso.matcher.ViewMatchers
import androidx.test.... |
HTTPShortcuts/app/src/main/java/ch/rmy/android/http_shortcuts/adapters/BaseAdapter.kt | unknown_repo | kotlin | package ch.rmy.android.http_shortcuts.adapters
import android.content.Context
import android.support.annotation.StringRes
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.TextView
import ch.rmy.android.http_shortcuts.R
import ch.rmy.a... |
app/src/main/java/com/rerere/iwara4a/ui/screen/playlist/PlaylistDialog.kt | unknown_repo | kotlin | package com.rerere.iwara4a.ui.screen.playlist
import android.widget.Toast
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.Crossfade
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.animation.animateContentSize
import androidx.compose.foundation.E... |
app/src/main/java/com/example/eonet/domain/utils/DateFormatter.kt | unknown_repo | kotlin | package com.example.eonet.domain.utils
import android.util.Log
import java.time.ZoneId
import java.time.ZonedDateTime
import java.time.format.DateTimeFormatter
import javax.inject.Inject
class DateFormatter @Inject constructor() {
fun formatDate(date:String?):String{
if(date!=null){
return tr... |
app/src/main/java/org/jamescowan/gattclient/view/MainActivity.kt | unknown_repo | kotlin | package org.jamescowan.gattclient.view
import android.Manifest
import android.bluetooth.BluetoothDevice
import android.content.Intent
import android.content.pm.PackageManager
import android.os.Bundle
import android.support.v4.app.ActivityCompat
import android.support.v4.content.ContextCompat
import android.support.v7.... |
android/DartsScorecard/app/src/test/java/nl/entreco/dartsscorecard/play/Play01AnimatorHandlerTest.kt | unknown_repo | kotlin | package nl.entreco.dartsscorecard.play
import android.view.View
import android.view.ViewPropertyAnimator
import androidx.viewpager.widget.ViewPager
import nl.entreco.dartsscorecard.base.widget.MaxHeightRecyclerView
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.Mock
im... |
app/src/main/java/nz/co/panpanini/kotlindatabinding/ui/repo/RepoActivity.kt | unknown_repo | kotlin | package nz.co.panpanini.kotlindatabinding.ui.repo
import android.content.Context
import android.content.Intent
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.support.v7.widget.DividerItemDecoration
import android.support.v7.widget.LinearLayoutManager
import android.support.v7.w... |
ui-kit/src/main/java/com/quickblox/android_ui_kit/presentation/dialogs/FeaturesDialog.kt | unknown_repo | kotlin | /*
* Created by Injoit on 3.11.2023.
* Copyright © 2023 Quickblox. All rights reserved.
*/
package com.quickblox.android_ui_kit.presentation.dialogs
import android.content.Context
import android.view.View
import com.quickblox.android_ui_kit.R
import com.quickblox.android_ui_kit.presentation.base.BaseDialog
import ... |
core/resources/src/androidMain/kotlin/com/opencritic/resources/images/SharedImageResource.android.kt | unknown_repo | kotlin | package com.opencritic.resources.images
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.painter.Painter
import androidx.compose.ui.res.painterResource
@Composable
fun SharedImageResource.asPainter(): Painter =
painterResource(id = imageRes.drawableResId) |
shared/src/commonMain/kotlin/com/mocoding/pokedex/ui/pokedex/components/PokemonGrid.kt | unknown_repo | kotlin | package pokedex.ui.pokedex.components
import androidx.compose.animation.core.*
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxWidth
import android... |
app/src/main/java/ru/santaev/clipboardtranslator/ui/HistoryFragment.kt | unknown_repo | kotlin | package ru.santaev.clipboardtranslator.ui
import androidx.lifecycle.Observer
import androidx.lifecycle.ViewModelProviders
import androidx.databinding.DataBindingUtil
import android.os.Bundle
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widge... |
modules/support/src/main/java/com/david/support/base_class/BaseFragment.kt | unknown_repo | kotlin | package com.david.support.base_class
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.viewbinding.ViewBinding
import co... |
app/src/main/java/com/example/startupappgro/adapter/AdapterPostCommunity.kt | unknown_repo | kotlin | package com.example.startupappgro.adapter
import android.content.DialogInterface
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.example.startupappgro.R
import com.example.startupappgro.model.ModelPostCommunity
import com.example.startupappgr... |
presentation/src/test/java/com/doctoror/splittor/presentation/groupsoverview/GroupItemViewModelMapperTest.kt | unknown_repo | kotlin | package com.doctoror.splittor.presentation.groupsoverview
import android.content.res.Resources
import com.doctoror.splittor.R
import com.doctoror.splittor.domain.groups.Group
import com.doctoror.splittor.domain.groups.GroupMember
import com.doctoror.splittor.domain.numberformat.FormatAmountWithCurrencyUseCase
import o... |
presentation/src/test/java/com/doctoror/splittor/presentation/groupsoverview/GroupItemViewModelMapperTest.kt | unknown_repo | kotlin | package com.doctoror.splittor.presentation.groupsoverview
import android.content.res.Resources
import com.doctoror.splittor.R
import com.doctoror.splittor.domain.groups.Group
import com.doctoror.splittor.domain.groups.GroupMember
import com.doctoror.splittor.domain.numberformat.FormatAmountWithCurrencyUseCase
import o... |
core/infrastructure/common/src/main/java/com/rlad/core/infrastructure/common/di/CommonModule.kt | unknown_repo | kotlin | package com.rlad.core.infrastructure.common.di
import android.app.Application
import androidx.room.Room
import com.rlad.core.domain.repository.AppSettingsRepository
import com.rlad.core.domain.usecase.GetAvailableDataSourcesUseCase
import com.rlad.core.domain.usecase.GetItemByIdUseCase
import com.rlad.core.domain.usec... |
android/app/src/main/java/com/fabirt/debty/ui/MainActivity.kt | unknown_repo | kotlin | package com.fabirt.debty.ui
import android.app.PendingIntent
import android.content.Intent
import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import androidx.core.app.NotificationCompat
import androidx.core.app.NotificationManagerCompat
import androidx.core.view.WindowComp... |
app/src/main/java/com/stx/xhb/enjoylife/ui/activity/VideoDetailsActivity.kt | unknown_repo | kotlin | package com.stx.xhb.enjoylife.ui.activity
import android.content.Intent
import android.os.Bundle
import android.support.v4.view.ViewCompat
import android.support.v7.widget.Toolbar
import android.text.TextUtils
import android.view.View
import android.widget.ImageButton
import android.widget.ImageView
import android.wid... |
insets/src/main/kotlin/com/xiaocydx/insets/InsetsInspector.kt | unknown_repo | kotlin | /*
* Copyright 2023 xiaocydx
*
* 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 w... |
presentation/src/main/java/com/goms/presentation/view/outing/component/OutingStudentCard.kt | unknown_repo | kotlin | package com.goms.presentation.view.outing.component
import android.content.Context
import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.*
import androidx.compose.foundation.shape.CircleShape
import androidx.compose.foundation.shape.RoundedCorne... |
app/src/main/java/com/junerver/cloudnote/ui/activity/LoginActivity.kt | unknown_repo | kotlin | package com.junerver.cloudnote.ui.activity
import android.content.Intent
import android.text.TextUtils
import com.junerver.cloudnote.net.BmobMethods
import com.edusoa.ideallecturer.fetchNetwork
import com.edusoa.ideallecturer.toBean
import com.edusoa.ideallecturer.toJson
import com.elvishew.xlog.XLog
import com.idealw... |
android/app/src/main/java/com/brianbhuang/fakelocation/Splash.kt | unknown_repo | kotlin | package com.brianbhuang.fakelocation
import android.app.Activity
import android.content.Intent
import android.content.pm.PackageManager
import android.os.Bundle
import android.os.Handler
import android.view.Menu
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import androidx.core.app.Act... |
app/src/main/java/com/siju/acexplorer/main/model/data/music/AlbumDetailDataFetcher.kt | unknown_repo | kotlin | package com.siju.acexplorer.main.model.data.music
import android.content.Context
import android.provider.MediaStore
import com.siju.acexplorer.common.types.FileInfo
import com.siju.acexplorer.main.model.data.DataFetcher
import com.siju.acexplorer.main.model.data.DataFetcher.Companion.canShowHiddenFiles
import com.siju... |
library/src/main/java/com/ola/chat/picker/utils/MatrixEvaluator.kt | unknown_repo | kotlin | package com.ola.chat.picker.utils
import android.animation.TypeEvaluator
import android.graphics.Matrix
class MatrixEvaluator : TypeEvaluator<Matrix> {
private val mTempStartValues = FloatArray(9)
private val mTempEndValues = FloatArray(9)
private val mTempMatrix = Matrix()
override fun evaluate(frac... |
common/src/androidMain/kotlin/com/artemchep/keyguard/copy/LogRepositoryAndroid.kt | unknown_repo | kotlin | package com.artemchep.keyguard.copy
import android.util.Log
import com.artemchep.keyguard.common.service.logging.LogLevel
import com.artemchep.keyguard.common.service.logging.LogRepositoryChild
class LogRepositoryAndroid(
) : LogRepositoryChild {
override suspend fun add(
tag: String,
message: Str... |
vuesaxicons/src/commonMain/kotlin/moe/tlaster/icons/vuesax/vuesaxicons/bold/Cd.kt | unknown_repo | kotlin | package moe.tlaster.icons.vuesax.vuesaxicons.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.Compa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.