Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
9
427k
package com.mobigod.statussaver.ui.splash import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.os.Handler import com.mobigod.statussaver.R import com.mobigod.statussaver.data.local.PreferenceManager import com.mobigod.statussaver.ui.saver.activity.Status...
package com.example.weather.data.di import android.content.Context import com.example.weather.data.remote.config.CacheControlInterceptor import com.example.weather.data.remote.config.RetrofitConfig import com.example.weather.data.remote.config.wrapresponse.WrapResponseAdapterFactory import com.google.gson.Gson import ...
package com.amaro.feature.list.plugin.mapper import com.amaro.feature.list.domain.model.Item import com.amaro.feature.list.domain.model.Owner import com.amaro.libraries.core.domain.mapper.ListMapper import com.amaro.libraries.networking.domain.model.ItemDTO import com.amaro.libraries.networking.domain.model.OwnerDTO ...
package ru.flexo.glideapps.myquestions.myquestionsautorefresh import org.openqa.selenium.By import org.openqa.selenium.OutputType import org.openqa.selenium.support.ui.ExpectedConditions import org.springframework.beans.factory.annotation.Autowired import org.springframework.stereotype.Service import java.io.File impo...
package com.codesroots.mac.cards.models data class mazad( val Result: List<Result> )
package com.example.roomloginapp.ui.fragments import android.annotation.SuppressLint import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import com.example.roomloginapp.R class DashboardPage : Fragment() { overri...
package com.gabrielribeiro.suacorrida.database import androidx.lifecycle.LiveData import androidx.room.* import com.gabrielribeiro.suacorrida.model.Run @Dao interface RunDAO { @Insert(onConflict = OnConflictStrategy.REPLACE) suspend fun insertRun(run : Run) @Delete suspend fun deleteRun(run: Run) ...
package com.gw.zph.application import android.annotation.SuppressLint import android.app.Activity import android.app.Application import android.os.Bundle import android.widget.Toast import com.amap.api.location.AMapLocation import com.cmic.sso.sdk.auth.AuthnHelper import com.facebook.stetho.Stetho import com.getkeepsa...
package com.name.name.musicappmvp.ui.main import com.name.name.musicappmvp.data.model.Song import com.name.name.musicappmvp.data.repository.LocalSongRepository import com.name.name.musicappmvp.data.source.OnGotListCallback import java.lang.Exception class MainLocalMusicPresenter( private val view: MainLocalMusicC...
package com.app.tf.livnlive import android.content.Intent import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.text.TextUtils import android.view.View import android.widget.EditText import com.google.firebase.auth.AuthResult import com.google.firebase.auth.FirebaseAuth import com.goo...
package com.example.kar_o_bar import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.View import android.widget.TextView class CarHostActivity : AppCompatActivity(), CarListFragment.ItemSelected { private lateinit var carDescription : TextView private lateinit var carDet...
package com.helmi_18104036.klintung.data import com.helmi_18104036.klintung.model.DataModel object DataPenginapan{ private val title = arrayOf( "Green Valley Resort", "Hotel Teratai Putih", "Atrium Resort Hotel", "Queen Garden Hotel", "RedDoorz Plus near UNSOED Purwokerto",...
@file:Suppress("UNUSED_VARIABLE") package esw.ocs.scripts.examples.paradox import csw.params.events.Event import csw.params.events.EventKey import csw.params.events.ObserveEvent import csw.params.events.SystemEvent import esw.ocs.dsl.core.script import esw.ocs.dsl.epics.EventVariable import esw.ocs.dsl.epics.ParamVar...
package leakcanary import leakcanary.internal.InternalLeakCanary object LeakCanary { data class Config( val dumpHeap: Boolean = true, val excludedRefs: ExcludedRefs = AndroidExcludedRefs.createAppDefaults().build(), val reachabilityInspectorClasses: List<Class<out Reachability.Inspector>> = AndroidReac...
package cn.ifafu.ifafu.ui.main.old_theme.scorepreview import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.viewModels import cn.ifafu.ifafu.databinding.MainOldScorePreviewFragmentBinding import cn.i...
package me.earth.headlessforge.api.command /** * A CommandManager that can register Commands * and execute messages. */ interface ICommandManager { /** Finds a Command for the given String and executes it. */ fun execute(msg: String) /** * Add a command that will always be executed first when the ...
package com.example.mahmoud_ashraf.tvshow.models import android.arch.lifecycle.LiveData import android.arch.paging.PagedList data class TvShowsResult( val data: LiveData<PagedList<Result>>, val networkStatus: LiveData<NetworkStatus>, val initialStatus: LiveData<NetworkStatus> )
package se.transport.taxilon import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.support.v7.widget.Toolbar import android.view.View import android.widget.TextView import spencerstudios.com.bungeelib.Bungee class FaqActivity : AppCompatActivity() { override fun onCreate(savedIn...
package com.easy.skin.utils import android.content.Context /** * 工具类 * @author 李轩林 */ internal object SkinThemeUtils { fun getResId(context: Context, attrs: IntArray): IntArray { val resIds = IntArray(attrs.size) val ta = context.obtainStyledAttributes(attrs) for (i in attrs...
@file:JvmName("ExtensionsUtils") package co.flickr.client.util import android.arch.lifecycle.LiveData import android.arch.lifecycle.LiveDataReactiveStreams import android.arch.lifecycle.ViewModel import android.arch.lifecycle.ViewModelProviders import android.support.v4.app.FragmentActivity import co.flickr.client.a...
package com.egoriku.radiotok.datasource.intertal.datasource.playlist import android.content.Context import com.egoriku.radiotok.common.ext.logD import com.egoriku.radiotok.common.ext.telephonyManager import com.egoriku.radiotok.datasource.datasource.playlist.ILocalStationsDataSource import com.egoriku.radiotok.datasou...
package com.home.kotlincoroutinesdemo.albums.model.remote class ApiAlbumsHelperImpl( private val apiService: ApiAlbumsService ) : ApiAlbumsHelper { override suspend fun getAlbums() = apiService.getAlbums() }
package com.awesome.zach.projectolympus import android.support.v7.widget.RecyclerView import android.view.ViewGroup class NotesAdapter(private val mNotesList: List<Note>): RecyclerView.Adapter<NotesViewHolder>() { override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): NotesViewHolder { val in...
package com.br.nextpage.data.dataSource interface BookLocalDataSource { // to do }
package com.ikey.launch import android.content.res.TypedArray import android.databinding.DataBindingUtil import android.support.v7.app.AppCompatActivity import android.os.Bundle import com.ikey.R import com.ikey.databinding.ActivityTutorialBinding import com.ikey.enums.NavigationFrom import com.ikey.launch.adapter.Tut...
package com.example.githubapitask.view.main import android.app.Application import android.util.Log import androidx.paging.PagedList import com.example.githubapitask.model.entity.UserModel import com.example.githubapitask.view.BaseViewModel import io.reactivex.observers.DisposableObserver import io.reactivex.su...
package com.vaibhavdhunde.app.elearning.data.source.remote import com.google.common.truth.Truth.assertThat import com.vaibhavdhunde.app.elearning.api.FakeElearningApi import com.vaibhavdhunde.app.elearning.data.FeedbacksRemoteDataSource import kotlinx.coroutines.runBlocking import org.junit.Before import org.junit.Tes...
package shared import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.newSingleThreadContext import kotlinx.coroutines.runBlocking fun main() = runBlocking<Unit> { val counterContext = newSingleThreadContext("CounterContext") var counter = 0 //sampleStart CoroutineScope(counterContext).m...
package com.coeater.android.api import com.coeater.android.model.FriendsInfo import com.coeater.android.model.User import okhttp3.MultipartBody import okhttp3.RequestBody import retrofit2.http.* import java.io.File interface UserApi { @GET("users/friend/") suspend fun getFriends(): FriendsInfo @GET("use...
package com.motional.rubiksquare import android.os.Bundle import android.view.Menu import android.view.MenuItem import androidx.activity.viewModels import androidx.appcompat.app.AppCompatActivity import androidx.databinding.DataBindingUtil.setContentView import androidx.fragment.app.DialogFragment import com.motional....
/* * Copyright (c) 2016. Sunghyouk Bae <sunghyouk.bae@gmail.com> * 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...
/* * Copyright 2023 Michael Johnston * * 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...
package com.stocksexchange.android.ui.trade.views import android.content.Context import android.graphics.Color import android.util.AttributeSet import android.widget.SeekBar import android.widget.TextView import androidx.annotation.ColorInt import androidx.core.content.withStyledAttributes import com.stocksexchange.an...
package io.infinity.newsapp.services.networkservices import android.content.Context import android.net.ConnectivityManager import android.net.Network import android.net.NetworkCapabilities import android.net.NetworkRequest import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.FlowPreview import...
package com.example.bookbnb.viewmodels import android.app.Application import androidx.databinding.ObservableArrayList import androidx.lifecycle.* import com.example.bookbnb.R import com.example.bookbnb.models.User import com.example.bookbnb.network.BookBnBApi import com.example.bookbnb.network.ResultWrapper import kot...
fun main () { println("Enter a number") var x = Integer.valueOf(readLine()) if (x>0) { println("Positive") } else if (x<0) { println("Negative") } else { println("Zero") } }
package net.corda.node.services.identity import net.corda.core.crypto.Crypto import net.corda.core.crypto.generateKeyPair import net.corda.core.identity.AnonymousParty import net.corda.core.identity.CordaX500Name import net.corda.core.identity.Party import net.corda.core.identity.PartyAndCertificate import net.corda.c...
package com.project.kaamwaala.fragment.admin.adminstall import android.content.Intent 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.MutableLiveData import an...
package com.wNagiesEducationalCenterj_9905.common.utils import android.app.Activity import android.content.Context import android.util.Patterns import android.view.View import android.view.WindowManager import android.view.inputmethod.InputMethodManager import android.widget.EditText import com.wNagiesEducationalCente...
package hr.fjukic.app_home.home.model import hr.fjukic.app_home.home.utils.HomeScreenElementType data class HomeCardUI( val title: String, val description: String = "", val drawableId: Int? = null, val elementType: HomeScreenElementType = HomeScreenElementType.HOME_CARD )
package ru.ktsstudio.wishlist.data.network.model.response data class AuthData ( val firstName: String?, val lastName: String?, val photo: String?, val email: String = "", val token: String?, val id: String? )
package org.remdev.widgetfactory.demoapp.fragment 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.Toast import org.remdev.widgetfactory.careplan.widgets.LicenseAgreementView import org.remdev...
package io.quarkus.code.rest import io.quarkus.code.config.CodeQuarkusConfig import io.quarkus.code.config.GitHubConfig import io.quarkus.code.config.GoogleAnalyticsConfig import io.quarkus.code.model.* import io.quarkus.code.service.PlatformService import io.quarkus.code.service.QuarkusProjectService import io.quarku...
package pl.valueadd.restcountries.persistence.dao import androidx.room.Dao import pl.valueadd.restcountries.persistence.entity.join.CountryBorderJoin @Dao abstract class CountryBorderDao : BaseDao<CountryBorderJoin>()
/* * Copyright (C) 2019 Anton Malinskiy * * 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 a...
package com.alejandrorios.core.contract import com.alejandrorios.core.CoroutineContextProvider import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Job import kotlinx.coroutines.cancelChildren import kotlinx.coroutines.launch /** * Created by Alejandro Rios on 2019-10-23 */ interface BasePresenter<Vie...
package com.control.back.halo.basic.service import org.springframework.data.domain.Page import org.springframework.data.domain.Pageable import org.springframework.data.domain.Sort import org.springframework.data.jpa.domain.Specification import java.io.Serializable interface IBaseService<T, ID : Serializable> { f...
package cn.cxy.browsebeauty.favorite import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.View.INVISIBLE import android.view.ViewGroup import android.widget.ImageView import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.RecyclerV...
package doggy.back.infra.parties import doggy.back.domain.partie.Partie import doggy.back.domain.partie.PartiePersistance import org.springframework.data.repository.findByIdOrNull import org.springframework.stereotype.Component @Component class PartiePersistanceSql( private val partiesRepository: PartiesDataRepos...
package com.example.stock import com.example.Order import com.example.Product import java.math.BigInteger class StockServiceImpl(private val getProducts: () -> List<Product>) : StockService { override fun getExistencesFromOrder(order: Order): List<Product> { return getProducts() .filter { ord...
package gg.rsmod.game.message.decoder import gg.rsmod.game.message.MessageDecoder import gg.rsmod.game.message.impl.IfButtonDMessage /** * @author Tom <rspsmods@gmail.com> */ class IfButtonDDecoder : MessageDecoder<IfButtonDMessage>() { override fun decode(opcode: Int, opcodeIndex: Int, values: HashMap<String,...
package org.nahoft.nahoft.activities import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.view.WindowManager import kotlinx.android.synthetic.main.activity_friends_user_guide.* import org.nahoft.nahoft.R class FriendsUserGuideActivity : AppCompatActivity() { override fun onCreat...
package mmorihiro.matchland.model enum class MessageType { CONNECT, NotConnect, TouchUp, NotEnough, NewItem }
package pl.gwynder.general.data.storage.entities interface DataStoreEntity { var id: String? }
package com.example.exposeddrop_downmenu import android.os.Bundle import androidx.fragment.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ArrayAdapter import com.example.exposeddrop_downmenu.databinding.FragmentFirstBinding class FirstFrag...
package com.mrebollob.drawaday.state import com.mrebollob.drawaday.shared.domain.model.Result /** * Immutable data class that allows for loading, data, and exception to be managed independently. * * This is useful for screens that want to show the last successful result while loading or a later * refresh has caus...
package com.example.retrofitmovies.ui.adapter import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import com.example.retrofitmovies.R import com.example.retrofitmovies.model.Result import com.squareup.picasso.Picasso import kotlinx....
package org.firstinspires.ftc.teamcode.motionProfiles import kotlin.math.abs import kotlin.math.sqrt import kotlin.math.pow import kotlin.math.sign class SCurveMotionProfile (var Vm: Double , var Am : Double, var Throw : Double, var gamma : Double, var startPos : Double){ val Sgn = Throw.sign * 1.0 val Yf = a...
package com.semicolon.dsm_sdk_v1 import android.os.Bundle import android.view.View import android.webkit.WebChromeClient import android.webkit.WebView import android.webkit.WebViewClient import androidx.appcompat.app.AppCompatActivity import com.semicolon.dsm_sdk_v1.BaseService.gson import com.semicolon.dsm_sdk_v1.Ds...
package io.mockk.impl.instantiation import kotlin.reflect.KClass class JsInstantiator(instanceFactoryRegistry: CommonInstanceFactoryRegistry) : AbstractInstantiator(instanceFactoryRegistry) { @Suppress("UNCHECKED_CAST") override fun <T : Any> instantiate(cls: KClass<T>): T { return instantiateViaI...
package com.example.breakingBad.ui.episodeDetails import androidx.lifecycle.* import com.example.breakingBad.base.BaseViewModel import com.example.breakingBad.data.models.character.Character import com.example.breakingBad.data.models.character.Episode import com.example.breakingBad.data.repository.Repository import co...
package com.aaandroiddev.cryptowatcher.ui.coinAllocation import com.github.mikephil.charting.data.PieData interface ICoinAllocation { interface View { fun drawPieChart(pieData: PieData) fun enableGraphLoading() fun disableGraphLoading() } interface Presenter { fun onCreate...
package com.example.myapplication open class Teacher { var designation = "Teacher" var collegeName = "Beginnersbook" fun does() { println("Teaching") } }
package pl.valueadd.restcountries.persistence.dao import androidx.room.Dao import androidx.room.Query import io.reactivex.Flowable import pl.valueadd.restcountries.persistence.entity.CallingCodeEntity @Dao abstract class CallingCodeDao : BaseDao<CallingCodeEntity>() { @Query(value = """ SELECT * ...
package com.mmy.charitablexi.model.personal.presenter import com.mmy.charitablexi.model.personal.ui.activity.AddAgreActivity import com.mmy.charitablexi.model.personal.view.ChoiceAgreView import com.mmy.frame.base.mvp.IPresenter import com.mmy.frame.data.bean.AgreListBean import com.mmy.frame.data.bean.IBean import ja...
package com.michal.idzkowski.trainingmetronome.storage class TrainingContract { companion object { val tableName: String = "Trainings" val columnId: String = "id" val columnName: String = "name" val columnColor: String = "color" val createTable: String = "CREATE TABLE if no...
package com.davoh.list_adapter import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.view.View import androidx.recyclerview.widget.DividerItemDecoration import androidx.recyclerview.widget.LinearLayoutManager import kotlinx.android.synthetic.main.activity_main....
package com.makentoshe.chiperchan import com.makentoshe.chiperchan.model.cipher.RouteCipher import junit.framework.Assert.assertEquals import org.junit.Test class RouteCipherTest { @Test fun `should encode and decode`() { val encoded = RouteCipher(4).encode("я люблю бонч") assertEquals("ябб ло...
package iflix.play.webview.player import android.content.Context import android.content.pm.ActivityInfo import android.os.Build import android.os.Bundle import android.os.Message import android.support.annotation.RequiresApi import android.support.v7.app.AppCompatActivity import android.view.View import android.view.V...
package lunar.meshes import lunar.LFace import lunar.LMesh import lunar.LVector import java.util.* fun boxMesh(boxWidth: Double, boxDepth: Double, boxHeight: Double, columns: Int, rows: Int, layers: Int) : LMesh{ var boxMesh: LMesh = LMesh() val step: LVector = LVector(boxWidth/columns, boxDepth/rows, boxHe...
package model.paginas import model.Especialidad import model.IPagina import model.Medico import org.jsoup.Jsoup class Temuco : IPagina { override val url: String get() = "https://clinicaalemanatemuco.cl/medicos-y-especialidades/listados-de-medicos-y-otros-profesionales" override fun getEspecialidades...
package com.mchew.atrestaurants.di import android.content.Context import com.mchew.atrestaurants.core.ImageManager import com.mchew.atrestaurants.core.PermissionManager import dagger.Module import dagger.Provides import dagger.hilt.InstallIn import dagger.hilt.android.qualifiers.ApplicationContext import dagg...
package com.example.stagepfe.Dao import com.example.stagepfe.entite.Appointment import java.util.HashMap interface AppointmentCallback { fun successAppointment(appointment: Appointment) fun failureAppointment() }
package ru.workout24.utills.custom_views import android.annotation.TargetApi import android.content.Context import android.os.Build import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import android.widget.ImageView import android.widget.ProgressBar import android.wid...
package com.store.shopp import android.os.Parcelable import kotlinx.android.parcel.Parcelize @Parcelize data class MovieModel(var title: String?,var price: String?, var detail: String?, var color: String?, var image: String?): Parcelable
package com.example.pagingapplication.services.hackernews import androidx.paging.PagingConfig import androidx.paging.PagingData import com.example.pagingapplication.model.HackerNews import kotlinx.coroutines.flow.Flow interface HackerNewsRepository { fun topStoriesFlow(): Flow<PagingData<HackerNews.Story>> c...
package br.com.yves.groupmatch.domain.models.calendar import br.com.yves.groupmatch.domain.models.Week import br.com.yves.groupmatch.domain.models.slots.CalendarTimeSlot data class Calendar( val id: Long = 0, val owner: String, val week: Week, val calendarTimeSlots: MutableList<CalendarTimeSlot>, val source...
package com.anu.utanglist import android.graphics.Bitmap import android.os.Bundle import android.support.v4.content.ContextCompat import android.support.v4.graphics.drawable.RoundedBitmapDrawable import android.support.v4.graphics.drawable.RoundedBitmapDrawableFactory import android.support.v7.app.AppCompatActivity im...
package com.shopomy.webservice import com.databindingwithrecyclerview.BuildConfig import okhttp3.Interceptor import okhttp3.OkHttpClient import okhttp3.Response import okhttp3.logging.HttpLoggingInterceptor import retrofit2.Retrofit import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory import retrofit2.c...
package com.ikukushev.nasaapp.pictures.apod import com.ikukushev.nasaapp.data.NasaApi import com.ikukushev.nasaapp.pictures.apod.db.ApodDao import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import javax.inject.Inject data class ApodRepository @Inject constructor( private val api: NasaApi...
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
3