veloria first commit
This commit is contained in:
commit
85994237a8
6
.idea/compiler.xml
generated
Normal file
6
.idea/compiler.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<bytecodeTargetLevel target="17" />
|
||||
</component>
|
||||
</project>
|
10
.idea/deploymentTargetSelector.xml
generated
Normal file
10
.idea/deploymentTargetSelector.xml
generated
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="deploymentTargetSelector">
|
||||
<selectionStates>
|
||||
<SelectionState runConfigName="app">
|
||||
<option name="selectionMode" value="DROPDOWN" />
|
||||
</SelectionState>
|
||||
</selectionStates>
|
||||
</component>
|
||||
</project>
|
19
.idea/gradle.xml
generated
Normal file
19
.idea/gradle.xml
generated
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="GradleMigrationSettings" migrationVersion="1" />
|
||||
<component name="GradleSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
<option value="$PROJECT_DIR$/app" />
|
||||
</set>
|
||||
</option>
|
||||
<option name="resolveExternalAnnotations" value="false" />
|
||||
</GradleProjectSettings>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
6
.idea/kotlinc.xml
generated
Normal file
6
.idea/kotlinc.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="KotlinJpsPluginSettings">
|
||||
<option name="version" value="1.9.0" />
|
||||
</component>
|
||||
</project>
|
10
.idea/migrations.xml
generated
Normal file
10
.idea/migrations.xml
generated
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectMigrations">
|
||||
<option name="MigrateToGradleLocalJavaHome">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
</set>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
9
.idea/misc.xml
generated
Normal file
9
.idea/misc.xml
generated
Normal file
@ -0,0 +1,9 @@
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
<option name="id" value="Android" />
|
||||
</component>
|
||||
</project>
|
137
app/build.gradle.kts
Normal file
137
app/build.gradle.kts
Normal file
@ -0,0 +1,137 @@
|
||||
import java.text.SimpleDateFormat
|
||||
import java.util.Date
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.android.application)
|
||||
alias(libs.plugins.kotlin.android)
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.veloria.now.shortapp"
|
||||
compileSdk = 34
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.veloria.now.shortapp"
|
||||
minSdk = 24
|
||||
targetSdk = 34
|
||||
versionCode = 3
|
||||
versionName = "1.0.2"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
create("release") {
|
||||
storeFile = file(project.properties["RELEASE_STORE_FILE"] as String)
|
||||
storePassword = project.properties["RELEASE_STORE_PASSWORD"] as String
|
||||
keyAlias = project.properties["RELEASE_KEY_ALIAS"] as String
|
||||
keyPassword = project.properties["RELEASE_KEY_PASSWORD"] as String
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = true
|
||||
isShrinkResources = true
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
signingConfig = signingConfigs.getByName("release")
|
||||
}
|
||||
debug {
|
||||
isMinifyEnabled = false
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
signingConfig = signingConfigs.getByName("release")
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
buildFeatures {
|
||||
viewBinding = true
|
||||
dataBinding = true
|
||||
}
|
||||
android.applicationVariants.all {
|
||||
val buildType = this.buildType.name
|
||||
val date = SimpleDateFormat("yyyy-MM-dd HH-mm-ss").format(Date())
|
||||
outputs.all {
|
||||
if (this is com.android.build.gradle
|
||||
.internal.api.ApkVariantOutputImpl
|
||||
) {
|
||||
this.outputFileName = "Veloria" +
|
||||
"_${android.defaultConfig.versionName}_${android.defaultConfig.versionCode}_${date}_${buildType}.apk"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation(libs.androidx.core.ktx)
|
||||
implementation(libs.androidx.appcompat)
|
||||
implementation(libs.material)
|
||||
implementation(libs.androidx.constraintlayout)
|
||||
implementation(libs.androidx.lifecycle.livedata.ktx)
|
||||
implementation(libs.androidx.lifecycle.viewmodel.ktx)
|
||||
implementation(libs.androidx.navigation.fragment.ktx)
|
||||
implementation(libs.androidx.navigation.ui.ktx)
|
||||
testImplementation(libs.junit)
|
||||
androidTestImplementation(libs.androidx.junit)
|
||||
androidTestImplementation(libs.androidx.espresso.core)
|
||||
|
||||
// Retrofit
|
||||
implementation(libs.okhttp)
|
||||
implementation(libs.logging.interceptor)
|
||||
implementation(libs.retrofit)
|
||||
implementation(libs.converter.gson)
|
||||
implementation(libs.mmkv)
|
||||
implementation(libs.kotlinx.coroutines.android)
|
||||
|
||||
implementation(libs.baserecyclerviewadapterhelper4)
|
||||
// banner
|
||||
implementation(libs.banner)
|
||||
implementation(libs.glide)
|
||||
|
||||
//utils
|
||||
implementation(libs.greenrobot.eventbus)
|
||||
implementation(libs.utilcodex)
|
||||
implementation(libs.shapeblurview)
|
||||
|
||||
// refresh
|
||||
implementation(libs.refresh.layout.kernel)
|
||||
implementation(libs.refresh.header.material)
|
||||
implementation(libs.scwang90.refresh.footer.classics)
|
||||
implementation(libs.github.refresh.footer.ball)
|
||||
|
||||
implementation(libs.getactivity.shapeview)
|
||||
implementation(libs.flexbox)
|
||||
|
||||
//media3
|
||||
implementation(libs.androidx.media3.ui)
|
||||
implementation(libs.androidx.media3.exoplayer)
|
||||
implementation(libs.androidx.media3.exoplayer.dash)
|
||||
implementation(libs.androidx.media3.exoplayer.hls)
|
||||
implementation(files("lib/lib-drama-explore-ffmpeg.aar"))
|
||||
|
||||
//facebook
|
||||
implementation(libs.com.facebook.android.facebook.android.sdk)
|
||||
|
||||
//adjust
|
||||
implementation(libs.adjust.android)
|
||||
implementation(libs.adjust.android.webbridge)
|
||||
implementation(libs.com.android.installreferrer.installreferrer2)
|
||||
|
||||
//billing
|
||||
implementation(libs.billing)
|
||||
|
||||
}
|
29
app/google-services.json
Normal file
29
app/google-services.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"project_info": {
|
||||
"project_number": "697499054017",
|
||||
"project_id": "veloria-4c04f",
|
||||
"storage_bucket": "veloria-4c04f.firebasestorage.app"
|
||||
},
|
||||
"client": [
|
||||
{
|
||||
"client_info": {
|
||||
"mobilesdk_app_id": "1:697499054017:android:1122057be3d9014a598940",
|
||||
"android_client_info": {
|
||||
"package_name": "com.veloria.now.shortapp"
|
||||
}
|
||||
},
|
||||
"oauth_client": [],
|
||||
"api_key": [
|
||||
{
|
||||
"current_key": "AIzaSyDSvyczWcreaZznx-bl1qFf9P5nkBZz0gM"
|
||||
}
|
||||
],
|
||||
"services": {
|
||||
"appinvite_service": {
|
||||
"other_platform_oauth_client": []
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"configuration_version": "1"
|
||||
}
|
4
app/gradle.properties
Normal file
4
app/gradle.properties
Normal file
@ -0,0 +1,4 @@
|
||||
RELEASE_STORE_FILE=appveloria.jks
|
||||
RELEASE_STORE_PASSWORD=appveloria123
|
||||
RELEASE_KEY_ALIAS=appveloria123
|
||||
RELEASE_KEY_PASSWORD=appveloria123
|
286
app/proguard-rules.pro
vendored
Normal file
286
app/proguard-rules.pro
vendored
Normal file
@ -0,0 +1,286 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
|
||||
|
||||
-keep public class * extends androidx.appcompat.app.AppCompatActivity
|
||||
-keep public class * extends androidx.fragment.app.Fragment
|
||||
-keep public class * extends android.app.Application
|
||||
-keep public class * extends android.app.Service
|
||||
-keep public class * extends android.content.BroadcastReceiver
|
||||
-keep public class * extends android.content.ContentProvider
|
||||
-keep public class * extends android.app.backup.BackupAgentHelper
|
||||
-keep public class * extends android.preference.Preference
|
||||
-keep public class * extends android.view.View
|
||||
-keep class android.support.** {*;}
|
||||
-keep interface android.support.** {*;}
|
||||
-keep public class * extends android.support.v4.**
|
||||
-keep public class * extends android.support.v7.**
|
||||
-keep public class * extends android.support.annotation.**
|
||||
-dontwarn android.support.**
|
||||
-keep class androidx.** {*;}
|
||||
-keep public class * extends androidx.**
|
||||
-keep interface androidx.** {*;}
|
||||
-keep class com.google.android.material.** {*;}
|
||||
-dontwarn androidx.**
|
||||
-dontwarn com.google.android.material.**
|
||||
-dontnote com.google.android.material.**
|
||||
|
||||
|
||||
-keepclasseswithmembernames class * {
|
||||
native <methods>;
|
||||
}
|
||||
|
||||
-keep public class * extends android.view.View{
|
||||
*** get*();
|
||||
void set*(***);
|
||||
public <init>(android.content.Context);
|
||||
public <init>(android.content.Context,android.util.AttributeSet);
|
||||
public <init>(android.content.Context,android.util.AttributeSet,int);
|
||||
}
|
||||
-keepclasseswithmembers class * {
|
||||
public <init>(android.content.Context, android.util.AttributeSet);
|
||||
public <init>(android.content.Context, android.util.AttributeSet, int);
|
||||
}
|
||||
|
||||
-keepclassmembers enum * {
|
||||
public static **[] values();
|
||||
public static ** valueOf(java.lang.String);
|
||||
}
|
||||
|
||||
-keep class * implements android.os.Parcelable {
|
||||
public static final android.os.Parcelable$Creator *;
|
||||
}
|
||||
|
||||
-keep public class * implements java.io.Serializable {*;}
|
||||
-keepclassmembers class * implements java.io.Serializable {
|
||||
static final long serialVersionUID;
|
||||
private static final java.io.ObjectStreamField[] serialPersistentFields;
|
||||
private void writeObject(java.io.ObjectOutputStream);
|
||||
private void readObject(java.io.ObjectInputStream);
|
||||
java.lang.Object writeReplace();
|
||||
java.lang.Object readResolve();
|
||||
}
|
||||
|
||||
-keep class **.R$* {*;}
|
||||
|
||||
-keepclassmembers class * {
|
||||
void *(**On*Event);
|
||||
void *(**On*Listener);
|
||||
}
|
||||
|
||||
-keepclassmembers class * extends android.webkit.WebViewClient {
|
||||
public void *(android.webkit.WebView, java.lang.String, android.graphics.Bitmap);
|
||||
public boolean *(android.webkit.WebView, java.lang.String);
|
||||
}
|
||||
-keepclassmembers class * extends android.webkit.WebViewClient {
|
||||
public void *(android.webkit.WebView, java.lang.String);
|
||||
}
|
||||
|
||||
-keepclassmembers class * {
|
||||
public <init>(org.json.JSONObject);
|
||||
}
|
||||
|
||||
-keepattributes Signature
|
||||
|
||||
-keepattributes InnerClasses
|
||||
|
||||
-assumenosideeffects class android.util.Log {
|
||||
public static *** v(...);
|
||||
public static *** d(...);
|
||||
public static *** i(...);
|
||||
public static *** w(...);
|
||||
public static *** e(...);
|
||||
}
|
||||
|
||||
-dontwarn kotlin.**
|
||||
-keep class kotlin.** { *; }
|
||||
-keep interface kotlin.** { *; }
|
||||
-keepclassmembers class kotlin.Metadata {
|
||||
public <methods>;
|
||||
}
|
||||
-keepclasseswithmembers @kotlin.Metadata class * { *; }
|
||||
-keepclassmembers class **.WhenMappings {
|
||||
<fields>;
|
||||
}
|
||||
-assumenosideeffects class kotlin.jvm.internal.Intrinsics {
|
||||
static void checkParameterIsNotNull(java.lang.Object, java.lang.String);
|
||||
}
|
||||
|
||||
-keep class kotlinx.** { *; }
|
||||
-keep interface kotlinx.** { *; }
|
||||
-dontwarn kotlinx.**
|
||||
-keep class org.jetbrains.** { *; }
|
||||
-keep interface org.jetbrains.** { *; }
|
||||
-dontwarn org.jetbrains.**
|
||||
|
||||
|
||||
-keep public class * implements com.bumptech.glide.module.GlideModule
|
||||
-keep class * extends com.bumptech.glide.module.AppGlideModule {
|
||||
<init>(...);
|
||||
}
|
||||
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
|
||||
**[] $VALUES;
|
||||
public *;
|
||||
}
|
||||
-keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
|
||||
*** rewind();
|
||||
}
|
||||
|
||||
-dontwarn org.bouncycastle.jsse.BCSSLParameters
|
||||
-dontwarn org.bouncycastle.jsse.BCSSLSocket
|
||||
-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
|
||||
-dontwarn org.conscrypt.Conscrypt$Version
|
||||
-dontwarn org.conscrypt.Conscrypt
|
||||
-dontwarn org.conscrypt.ConscryptHostnameVerifier
|
||||
-dontwarn org.openjsse.javax.net.ssl.SSLParameters
|
||||
-dontwarn org.openjsse.javax.net.ssl.SSLSocket
|
||||
-dontwarn org.openjsse.net.ssl.OpenJSSE
|
||||
|
||||
# ViewBinding
|
||||
-keepclassmembers class * implements androidx.viewbinding.ViewBinding {
|
||||
public static * inflate(android.view.LayoutInflater);
|
||||
}
|
||||
|
||||
-dontwarn javax.annotation.**
|
||||
-dontwarn javax.inject.**
|
||||
|
||||
-dontwarn okhttp3.logging.**
|
||||
-keep class okhttp3.internal.**{*;}
|
||||
-dontwarn okio.**
|
||||
|
||||
-dontwarn retrofit2.**
|
||||
-keep class retrofit2.** { *; }
|
||||
-keepattributes Signature
|
||||
-keepattributes Exceptions
|
||||
|
||||
-keep class com.google.gson.stream.** { *; }
|
||||
-keepattributes EnclosingMethod
|
||||
|
||||
-keepattributes *Annotation*
|
||||
-keepclassmembers class * {
|
||||
@org.greenrobot.eventbus.Subscribe <methods>;
|
||||
}
|
||||
-keep enum org.greenrobot.eventbus.ThreadMode { *; }
|
||||
|
||||
-keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
|
||||
<init>(java.lang.Throwable);
|
||||
}
|
||||
|
||||
-keep public class com.android.installreferrer.** { *; }
|
||||
|
||||
-keep class com.wang.avi.** { *; }
|
||||
-keep class com.wang.avi.indicators.** { *; }
|
||||
|
||||
-keepattributes SourceFile,LineNumberTable # Keep file names and line numbers.
|
||||
-keep public class * extends java.lang.Exception # Optional: Keep custom exceptions.
|
||||
|
||||
-keep class android.support.v8.renderscript.** { *; }
|
||||
-keep class androidx.renderscript.** { *; }
|
||||
|
||||
|
||||
-keepattributes Signature
|
||||
-keepattributes *Annotation*
|
||||
-keep class com.mbridge.** {*; }
|
||||
-keep interface com.mbridge.** {*; }
|
||||
-dontwarn com.mbridge.**
|
||||
-keepclassmembers class **.R$* { public static final int mbridge*; }
|
||||
|
||||
-keep public class com.mbridge.* extends androidx.** { *; }
|
||||
-keep public class androidx.viewpager.widget.PagerAdapter{*;}
|
||||
-keep public class androidx.viewpager.widget.ViewPager.OnPageChangeListener{*;}
|
||||
-keep interface androidx.annotation.IntDef{*;}
|
||||
-keep interface androidx.annotation.Nullable{*;}
|
||||
-keep interface androidx.annotation.CheckResult{*;}
|
||||
-keep interface androidx.annotation.NonNull{*;}
|
||||
-keep public class androidx.fragment.app.Fragment{*;}
|
||||
-keep public class androidx.core.content.FileProvider{*;}
|
||||
-keep public class androidx.core.app.NotificationCompat{*;}
|
||||
-keep public class androidx.appcompat.widget.AppCompatImageView {*;}
|
||||
-keep public class androidx.recyclerview.*{*;}
|
||||
|
||||
|
||||
-keepclassmembers class * implements android.os.Parcelable {
|
||||
public static final android.os.Parcelable$Creator *;
|
||||
}
|
||||
#noinspection ShrinkerUnresolvedReference
|
||||
#javascript
|
||||
-keepattributes JavascriptInterface
|
||||
-keepclassmembers class * { @android.webkit.JavascriptInterface <methods>; }
|
||||
#For AmazonAps integration
|
||||
-keep class com.amazon.device.ads.DtbThreadService {
|
||||
static *;
|
||||
}
|
||||
-keep public interface com.amazon.device.ads** {*; }
|
||||
#For Fairbid
|
||||
-keep public interface com.fyber.fairbid.ads.interstitial** {*; }
|
||||
-keep public interface com.fyber.fairbid.ads.rewarded** {*; }
|
||||
-keep class com.fyber.offerwall.*
|
||||
#For Fivead
|
||||
-keep public interface com.five_corp.ad** {*; }
|
||||
#For Fyber(Inneractive) integration
|
||||
-keep public interface com.fyber.inneractive.sdk.external** {*; }
|
||||
-keep public interface com.fyber.inneractive.sdk.activities** {*; }
|
||||
-keep public interface com.fyber.inneractive.sdk.ui** {*; }
|
||||
#For HyprMX integration
|
||||
-keepclassmembers class com.hyprmx.android.sdk.utility.HyprMXProperties {
|
||||
static *;
|
||||
}
|
||||
-keepclassmembers class com.hyprmx.android.BuildConfig {
|
||||
static *;
|
||||
}
|
||||
-keep public interface com.hyprmx.android.sdk.activity** {*; }
|
||||
-keep public interface com.hyprmx.android.sdk.graphics** {*; }
|
||||
# For Inmobi integration
|
||||
-keep class com.inmobi.*
|
||||
-keep public interface com.inmobi.ads.listeners** {*; }
|
||||
-keep public interface com.inmobi.ads.InMobiInterstitial** {*; }
|
||||
-keep public interface com.inmobi.ads.InMobiBanner** {*; }
|
||||
# For ironSource integration
|
||||
-keep public interface com.ironsource.mediationsdk.sdk** {*; }
|
||||
-keep public interface com.ironsource.mediationsdk.impressionData.ImpressionDataListener {*; }
|
||||
#For Maio integration
|
||||
-keep public interface jp.maio.sdk.android.MaioAdsListenerInterface {*; }
|
||||
#For MyTarget integration
|
||||
-keep class com.my.target.** {*;}
|
||||
# For Tapjoy integration
|
||||
-keep public interface com.tapjoy.** {*; }
|
||||
#For AndroidX
|
||||
-keep class androidx.localbroadcastmanager.content.LocalBroadcastManager { *;}
|
||||
-keep class androidx.recyclerview.widget.RecyclerView { *;}
|
||||
-keep class androidx.recyclerview.widget.RecyclerView$OnScrollListener { *;}
|
||||
#For Android
|
||||
-keep class * extends android.app.Activity
|
||||
#For Facebook integration
|
||||
-keepclassmembers class com.facebook.ads.internal.AdSdkVersion {
|
||||
static *;
|
||||
}
|
||||
-keepclassmembers class com.facebook.ads.internal.settings.AdSdkVersion {
|
||||
static *;
|
||||
}
|
||||
-keepclassmembers class com.facebook.ads.BuildConfig {
|
||||
static *;
|
||||
}
|
||||
-keep public interface com.facebook.ads** {*; }
|
||||
|
||||
-keep class com.android.billingclient.api.** { *; }
|
||||
|
||||
-keep class com.gytv.app.ui.data.**{ *; }
|
108
app/src/androidTest/java/com/now/shortapp/JGradleResponse.kt
Normal file
108
app/src/androidTest/java/com/now/shortapp/JGradleResponse.kt
Normal file
@ -0,0 +1,108 @@
|
||||
package com.veloria.now.shortapp
|
||||
|
||||
import androidx.test.platform.app.InstrumentationRegistry
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4
|
||||
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
import org.junit.Assert.*
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
|
||||
@RunWith(AndroidJUnit4::class)
|
||||
class JGradleResponse {
|
||||
@Volatile
|
||||
var allowModelTabMap: MutableMap<String,Int> = mutableMapOf<String,Int>()
|
||||
@Volatile
|
||||
private var paddingApiTubeTag: Int = 7814
|
||||
@Volatile
|
||||
private var priceAboutDictionary: MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
@Volatile
|
||||
var standArrows_sum: Long = 8500L
|
||||
|
||||
|
||||
|
||||
private fun previousNetSupportInstallIntentNormal() :String {
|
||||
var cycleDialog:Double = 8779.0
|
||||
var closeData:Double = 519.0
|
||||
var listenerHeight = "bbuf"
|
||||
println(listenerHeight)
|
||||
var trendingNeed = "storages"
|
||||
println(trendingNeed)
|
||||
var avoidReplacementCommandlineflag:String = "sighandler"
|
||||
if (cycleDialog >= -128 && cycleDialog <= 128){
|
||||
var event_y = min(1, kotlin.random.Random.nextInt(43)) % avoidReplacementCommandlineflag.length
|
||||
avoidReplacementCommandlineflag += cycleDialog.toString()
|
||||
}
|
||||
if (closeData >= -128 && closeData <= 128){
|
||||
var recommend_i:Int = min(1, kotlin.random.Random.nextInt(47)) % avoidReplacementCommandlineflag.length
|
||||
avoidReplacementCommandlineflag += closeData.toString()
|
||||
}
|
||||
if (listenerHeight == "last") {
|
||||
println("listenerHeight" + listenerHeight)
|
||||
}
|
||||
if(listenerHeight.length > 0) {
|
||||
if(avoidReplacementCommandlineflag.length > 0) {
|
||||
avoidReplacementCommandlineflag += listenerHeight.get(0)
|
||||
}
|
||||
}
|
||||
for(i in 0 .. min(1, trendingNeed.length - 1)) {
|
||||
println(trendingNeed.get(i))
|
||||
}
|
||||
if (null != trendingNeed) {
|
||||
var place_w:Int = min(1, kotlin.random.Random.nextInt(12)) % trendingNeed.length
|
||||
var e_title_y:Int = min(1, kotlin.random.Random.nextInt(71)) % avoidReplacementCommandlineflag.length
|
||||
var coins_z:Int = min(place_w,e_title_y)
|
||||
if (coins_z > 0){
|
||||
for(w in 0 .. min(1, coins_z - 1)){
|
||||
avoidReplacementCommandlineflag += trendingNeed.get(w)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return avoidReplacementCommandlineflag
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
fun useAppContext() {
|
||||
|
||||
var starSubdecoder = this.previousNetSupportInstallIntentNormal()
|
||||
|
||||
var starSubdecoder_len = starSubdecoder.length
|
||||
println(starSubdecoder)
|
||||
|
||||
println(starSubdecoder)
|
||||
|
||||
|
||||
var gradlewJ:Boolean = false
|
||||
if (!gradlewJ) {}
|
||||
|
||||
|
||||
this.allowModelTabMap = mutableMapOf<String,Int>()
|
||||
|
||||
this.paddingApiTubeTag = 7400
|
||||
|
||||
this.priceAboutDictionary = mutableMapOf<String,Long>()
|
||||
|
||||
this.standArrows_sum = 7296L
|
||||
|
||||
|
||||
|
||||
val jobLoginBackup = InstrumentationRegistry.getInstrumentation().targetContext
|
||||
var save7:MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
save7.put("hashed", 993L)
|
||||
save7.put("present", 564L)
|
||||
save7.put("angle", 734L)
|
||||
save7.put("vtag", 622L)
|
||||
save7.put("coll", 916L)
|
||||
if (save7.size > 177) {}
|
||||
|
||||
|
||||
assertEquals("com.example.shortapp", jobLoginBackup.packageName)
|
||||
}
|
||||
}
|
94
app/src/main/AndroidManifest.xml
Normal file
94
app/src/main/AndroidManifest.xml
Normal file
@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||||
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
|
||||
|
||||
<application
|
||||
android:name=".newsletter.XNBackground"
|
||||
android:allowBackup="true"
|
||||
android:dataExtractionRules="@xml/jv_rewards_detele"
|
||||
android:fullBackupContent="@xml/atu_share"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.Example"
|
||||
tools:targetApi="31">
|
||||
<!-- <meta-data-->
|
||||
<!-- android:name="com.google.android.actions"-->
|
||||
<!-- android:resource="@xml/bg_loading_dialog" />-->
|
||||
|
||||
<activity
|
||||
android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.YPDataActivity"
|
||||
android:exported="true"
|
||||
android:theme="@style/Theme.Splash">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
<intent-filter android:autoVerify="true">
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="veloriaapp" />
|
||||
|
||||
</intent-filter>
|
||||
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.PSVHomeSearchActivity"
|
||||
android:launchMode="singleTask"
|
||||
android:windowSoftInputMode="adjustPan" />
|
||||
<activity android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.HLanguageActivity" />
|
||||
<activity android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.MQVAutoWidthActivity" />
|
||||
<activity android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.RBZLatestDeteleActivity" />
|
||||
<activity android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.RCheckActivity" />
|
||||
<activity android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.VeStoreActivity" />
|
||||
<activity android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.VeMyWalletActivity" />
|
||||
<activity android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.VeFeedbackActivity" />
|
||||
<activity android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.VeFeedbackListActivity" />
|
||||
<activity android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.VeFeedbackDetailActivity" />
|
||||
<activity android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.VeLanguageActivity" />
|
||||
<activity android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.VeAccountDeletionActivity" />
|
||||
<activity android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.VeRewardsActivity" />
|
||||
<activity android:name="com.veloria.now.shortapp.subtractionCroll.bidirectional.VeTypeMoreActivity" />
|
||||
|
||||
|
||||
<meta-data
|
||||
android:name="com.facebook.sdk.ApplicationId"
|
||||
android:value="@string/facebook_app_id" />
|
||||
<meta-data
|
||||
android:name="com.facebook.sdk.ClientToken"
|
||||
android:value="@string/facebook_client_token" />
|
||||
|
||||
<activity
|
||||
android:name="com.facebook.FacebookActivity"
|
||||
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
|
||||
android:label="@string/app_name" />
|
||||
<activity
|
||||
android:name="com.facebook.CustomTabActivity"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
|
||||
<data android:scheme="@string/fb_login_protocol_scheme" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
</application>
|
||||
|
||||
</manifest>
|
BIN
app/src/main/ic_launcher-playstore.png
Normal file
BIN
app/src/main/ic_launcher-playstore.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 205 KiB |
113
app/src/main/java/com/veloria/now/shortapp/civil/BImage.kt
Normal file
113
app/src/main/java/com/veloria/now/shortapp/civil/BImage.kt
Normal file
@ -0,0 +1,113 @@
|
||||
package com.veloria.now.shortapp.civil
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.content.Context
|
||||
import android.os.Handler
|
||||
import androidx.media3.decoder.ffmpeg.FfmpegAudioRenderer
|
||||
import androidx.media3.exoplayer.DefaultRenderersFactory
|
||||
import androidx.media3.exoplayer.Renderer
|
||||
import androidx.media3.exoplayer.audio.AudioRendererEventListener
|
||||
import androidx.media3.exoplayer.audio.AudioSink
|
||||
import androidx.media3.exoplayer.mediacodec.MediaCodecSelector
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
@SuppressLint("UnsafeOptInUsageError")
|
||||
class BImage(context: Context?) : DefaultRenderersFactory(
|
||||
context!!
|
||||
) {
|
||||
@Volatile
|
||||
var animatorUploadVisit_count: Long = 7792L
|
||||
@Volatile
|
||||
private var postWhile_2Space: Double = 8440.0
|
||||
@Volatile
|
||||
var blackRegister_y4NetworkString: String = "reachable"
|
||||
@Volatile
|
||||
var description_hUnit_Array: MutableList<Float> = mutableListOf<Float>()
|
||||
|
||||
|
||||
init {
|
||||
var u_playerT:MutableMap<String,String> = mutableMapOf<String,String>()
|
||||
u_playerT.put("inter", "geocode")
|
||||
u_playerT.put("validate", "mpegwaveformatex")
|
||||
if (u_playerT.get("L") != null) {}
|
||||
|
||||
|
||||
setExtensionRendererMode(EXTENSION_RENDERER_MODE_ON)
|
||||
}
|
||||
|
||||
|
||||
public fun setupShapeDarkHeightNumber(arrowsBinding: String, setAdvert: Double, restartFirst: Long) :Float {
|
||||
var startRecent:MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
var watchList = 3386.0
|
||||
var coverSalt = 26.0
|
||||
var beanAnimator = 4848L
|
||||
var simulcastRecreateComponents:Float = 6718.0f
|
||||
watchList = 7214.0
|
||||
coverSalt += watchList
|
||||
coverSalt *= coverSalt
|
||||
beanAnimator -= 8688L
|
||||
|
||||
return simulcastRecreateComponents
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun buildAudioRenderers(
|
||||
context: Context,
|
||||
extensionRendererMode: Int,
|
||||
mediaCodecSelector: MediaCodecSelector,
|
||||
enableDecoderFallback: Boolean,
|
||||
audioSink: AudioSink,
|
||||
eventHandler: Handler,
|
||||
eventListener: AudioRendererEventListener,
|
||||
out: ArrayList<Renderer>
|
||||
) {
|
||||
var stellar_p = "bisect"
|
||||
|
||||
var generalizedtimeWelcome:Float = this.setupShapeDarkHeightNumber(stellar_p,1942.0,8915L)
|
||||
|
||||
var arrangement_generalizedtimeWelcome: Double = generalizedtimeWelcome.toDouble()
|
||||
println(generalizedtimeWelcome)
|
||||
|
||||
println(generalizedtimeWelcome)
|
||||
|
||||
|
||||
var secondsb:MutableList<String> = mutableListOf<String>()
|
||||
secondsb.add("unioned")
|
||||
secondsb.add("language")
|
||||
println(secondsb)
|
||||
|
||||
|
||||
this.animatorUploadVisit_count = 1522L
|
||||
|
||||
this.postWhile_2Space = 6704.0
|
||||
|
||||
this.blackRegister_y4NetworkString = "mbmode"
|
||||
|
||||
this.description_hUnit_Array = mutableListOf<Float>()
|
||||
|
||||
|
||||
out.add(FfmpegAudioRenderer())
|
||||
var backgroundu:MutableList<Int> = mutableListOf<Int>()
|
||||
backgroundu.add(474)
|
||||
backgroundu.add(705)
|
||||
backgroundu.add(549)
|
||||
backgroundu.add(256)
|
||||
backgroundu.add(511)
|
||||
backgroundu.add(563)
|
||||
|
||||
|
||||
super.buildAudioRenderers(
|
||||
context,
|
||||
extensionRendererMode,
|
||||
mediaCodecSelector,
|
||||
enableDecoderFallback,
|
||||
audioSink,
|
||||
eventHandler,
|
||||
eventListener,
|
||||
out
|
||||
)
|
||||
}
|
||||
}
|
@ -0,0 +1,109 @@
|
||||
package com.veloria.now.shortapp.civil
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
@Volatile
|
||||
var cutTotalSize: Float = 8209.0f
|
||||
@Volatile
|
||||
var nameDimensRevolution_dictionary: MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
|
||||
|
||||
|
||||
object JActivityAdapter {
|
||||
@Volatile
|
||||
var recentFooterStatus_list: MutableList<Double> = mutableListOf<Double>()
|
||||
@Volatile
|
||||
var hotsBackupNavigateArray: MutableList<Long> = mutableListOf<Long>()
|
||||
@Volatile
|
||||
var isLocal_0qTrendSet: Boolean = false
|
||||
|
||||
|
||||
|
||||
const val BASE_URL = "https://api-qjwl168.qjwl168.com/velo/"
|
||||
|
||||
|
||||
|
||||
const val authorization = "Authorization"
|
||||
const val ACCOUNT_TOKEN = "ACCOUNT_TOKEN"
|
||||
const val ACCOUNT_LANG_KEY = "ACCOUNT_LANG_KEY-key"
|
||||
const val PAGE_SIZE = 12
|
||||
|
||||
const val ACCOUNT_USERINFO = "ACCOUNT_USERINFO"
|
||||
const val SEARCH_CONTENT = "SEARCH_CONTENT"
|
||||
|
||||
var PLAYER_READY: Boolean = false
|
||||
var PLAYER_PLAYING: Boolean = false
|
||||
var PLAYER_IS_CURRENT_PAGE: Boolean = false
|
||||
var PLAYER_DETAILS_CAN_PLAY: Boolean = true
|
||||
var PLAYER_LOCK: Boolean = false
|
||||
var PLAYER_IS_SEEK = true
|
||||
var PLAYER_DETAIL_PLAYING: Boolean = false
|
||||
|
||||
const val RecommendPlayerView_PLAYER_STATUS_FINISH =
|
||||
"RecommendPlayerView_PLAYER_STATUS_FINISH"
|
||||
const val DetailPlayerView_PLAYER_STATUS_FINISH =
|
||||
"DetailPlayerView_PLAYER_STATUS"
|
||||
const val DetailPlayerView_DRAMA_SERIES = "DetailPlayerView_DRAMA_SERIES"
|
||||
const val DetailPlayerVieww_CLOSE = "DetailPlayerView_CLOSE"
|
||||
const val CONSTANTS_QUALITY = "CONSTANTS_QUALITY"
|
||||
const val CONSTANTS_QUALITY_REFRESH = "CONSTANTS_QUALITY_REFRESH"
|
||||
|
||||
const val VIDEO_SHORT_PLAY_ID = "VIDEO_SHORT_PLAY_ID"
|
||||
const val VIDEO_ACTIVITY_ID = "VIDEO_ACTIVITY_ID"
|
||||
const val VIDEO_EPISODES_SERIES_DATA = "VIDEO_EPISODES_SERIES_DATA"
|
||||
|
||||
const val VIDEO_STOP_PLAY = "VIDEO_STOP_PLAY"
|
||||
const val VIDEO_PAUSE_PLAY = "VIDEO_PAUSE_PLAY"
|
||||
const val VIDEO_START_PLAY = "VIDEO_START_PLAY"
|
||||
const val VIDEO_EPISODES_SERIES_DATA_LIST = "VIDEO_EPISODES_SERIES_DATA_LIST"
|
||||
|
||||
const val VIDEO_EPISODES_SERIES_DATA_CURRENT_POSITION = "VIDEO_EPISODES_SERIES_DATA_CURRENT_POSITION"
|
||||
const val VIDEO_PAY_REFRESH = "VIDEO_PAY_REFRESH"
|
||||
const val VIDEO_PAY_REFRESH_DISMISS = "VIDEO_PAY_REFRESH_DISMISS"
|
||||
|
||||
const val MY_LIST_TAB_POSITION = "MY_LIST_TAB_POSITION"
|
||||
|
||||
const val MY_LIST_ONCLICK_MORE = "MY_LIST_ONCLICK_MORE"
|
||||
const val WEB_VIEW_URL_STRING = "WEB_VIEW_URL_STRING"
|
||||
|
||||
const val WEB_VIEW_COM = "https://qjwl168.com/"
|
||||
const val WEB_VIEW_USER_AGREEMENT = "https://qjwl168.com/user_policy"
|
||||
const val WEB_VIEW_PRIVACY_POLICY = "https://qjwl168.com/private"
|
||||
|
||||
const val ACCOUNT_AUTO_REFRESH = "ACCOUNT_AUTO_REFRESH"
|
||||
const val ACCOUNT_OUT_LOGIN = "ACCOUNT_OUT_LOGIN"
|
||||
const val REFRESH_HOME = "REFRESH_HOME"
|
||||
|
||||
const val FEEDBACK_URL_INDEX: String = "https://campaign.qjwl168.com/pages/leave/index"
|
||||
const val FEEDBACK_URL_LIST: String = "https://campaign.qjwl168.com/pages/leave/list"
|
||||
const val FEEDBACK_URL_DETAIL: String = "https://campaign.qjwl168.com/pages/leave/detail"
|
||||
const val REWARDS_URL_DETAIL: String = "https://campaign.qjwl168.com/pages/luckydraw/index"
|
||||
|
||||
const val FEEDBACK_REQUEST_PERMISSIONS_PHOTO = "FEEDBACK_REQUEST_PERMISSIONS_PHOTO"
|
||||
const val FEEDBACK_REQUEST_PERMISSIONS_PHOTO_DETAIL = "FEEDBACK_REQUEST_PERMISSIONS_PHOTO_DETAIL"
|
||||
const val FEEDBACK_OPEN_PHOTO = "FEEDBACK_OPEN_PHOTO"
|
||||
const val FEEDBACK_OPEN_DETAIL = "FEEDBACK_OPEN_DETAIL"
|
||||
const val FEEDBACK_DETAIL_ID = "FEEDBACK_DETAIL_ID"
|
||||
|
||||
const val BUY_EPISODE = "BUY_EPISODE"
|
||||
|
||||
const val HOME_MAIN_VIDEO_INFO = "HOME_MAIN_VIDEO_INFO"
|
||||
const val HOME_LANGUAGE_REFRESH = "HOME_LANGUAGE_REFRESH"
|
||||
const val HOME_ENTER_THE_APP = "HOME_ENTER_THE_APP"
|
||||
const val HOME_USER_REFRESH = "HOME_USER_REFRESH"
|
||||
const val HOME_REFRESH_ME = "HOME_REFRESH_ME"
|
||||
const val HOME_LOGIN = "HOME_LOGIN"
|
||||
const val HOME_LEAVE_APP = "HOME_LEAVE_APP"
|
||||
const val HOME_ON_LINE = "HOME_ON_LINE"
|
||||
const val HOME_DDL_URL = "HOME_DDL_URL"
|
||||
const val HOME_NAVIGATE_TO_HOME = "HOME_NAVIGATE_TO_HOME"
|
||||
const val HOME_MAIN_VIDEO_STATUS = "HOME_MAIN_VIDEO_STATUS"
|
||||
|
||||
const val HOME_TYPE_MORE_STATE = "HOME_TYPE_MORE_STATE"
|
||||
const val HOME_TYPE_MORE_DATA = "HOME_TYPE_MORE_DATA"
|
||||
|
||||
const val LANGUAGE_TRANSLATES_STRING = "LANGUAGE_TRANSLATES_STRING"
|
||||
|
||||
const val PAY_ORDER_PAY_BEAN = "PAY_ORDER_PAY_BEAN"
|
||||
|
||||
}
|
175
app/src/main/java/com/veloria/now/shortapp/civil/NOFfmpeg.kt
Normal file
175
app/src/main/java/com/veloria/now/shortapp/civil/NOFfmpeg.kt
Normal file
@ -0,0 +1,175 @@
|
||||
package com.veloria.now.shortapp.civil
|
||||
|
||||
import android.graphics.drawable.Drawable
|
||||
import androidx.annotation.DrawableRes
|
||||
import androidx.annotation.StringRes
|
||||
import androidx.core.content.ContextCompat
|
||||
import com.blankj.utilcode.util.NetworkUtils
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.newsletter.XNBackground
|
||||
import com.veloria.now.shortapp.rewards.VSNotificationsDefault
|
||||
|
||||
@Volatile
|
||||
private var recommendExtractionTag: Long = 3057L
|
||||
|
||||
@Volatile
|
||||
var headerCharacterMargin: Double = 2012.0
|
||||
|
||||
@Volatile
|
||||
private var cancelAfterStr: String = "confidential"
|
||||
|
||||
|
||||
interface NOFfmpeg {
|
||||
fun showComplete() {
|
||||
getStatusLayout()?.let {
|
||||
if (!it.isShow()) {
|
||||
return
|
||||
}
|
||||
it.hide()
|
||||
}
|
||||
}
|
||||
|
||||
fun showEmptyData(listener: VSNotificationsDefault.OnRetryListener?) {
|
||||
getStatusLayout()?.let {
|
||||
if (!NetworkUtils.isConnected()) {
|
||||
showStateLayout(
|
||||
R.mipmap.auto_mz_drama_default_i3,
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_no_network }
|
||||
?: it.context.getString(R.string.normalBodyloadAttrs),
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_no_network_string }
|
||||
?: it.context.getString(R.string.episodeServiceNotifications),
|
||||
listener
|
||||
)
|
||||
return
|
||||
}
|
||||
showStateLayout(
|
||||
R.mipmap.button_banner,
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_no_data }
|
||||
?: it.context.getString(R.string.gradleUploadButton),
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_no_data_add }
|
||||
?: it.context.getString(R.string.infoEmpty),
|
||||
listener
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
fun getStatusLayout(): VSNotificationsDefault?
|
||||
|
||||
|
||||
fun showStateLayout(
|
||||
drawable: Drawable?,
|
||||
title: CharSequence?,
|
||||
hint: CharSequence?,
|
||||
listener: VSNotificationsDefault.OnRetryListener?
|
||||
) {
|
||||
getStatusLayout()?.let {
|
||||
it.show()
|
||||
it.setIcon(drawable)
|
||||
it.setTitle(title)
|
||||
it.setHint(hint)
|
||||
it.setOnRetryListener(listener)
|
||||
}
|
||||
}
|
||||
|
||||
fun showStateLayout(
|
||||
@DrawableRes drawableId: Int,
|
||||
title: String,
|
||||
string: String,
|
||||
listener: VSNotificationsDefault.OnRetryListener?
|
||||
) {
|
||||
getStatusLayout()?.let {
|
||||
showStateLayout(
|
||||
ContextCompat.getDrawable(it.context, drawableId),
|
||||
title,
|
||||
string,
|
||||
listener
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
fun showStateLayout(
|
||||
@DrawableRes drawableId: Int,
|
||||
@StringRes titleId: Int,
|
||||
@StringRes stringId: Int,
|
||||
listener: VSNotificationsDefault.OnRetryListener?
|
||||
) {
|
||||
getStatusLayout()?.let {
|
||||
showStateLayout(
|
||||
ContextCompat.getDrawable(it.context, drawableId),
|
||||
it.context.getString(titleId),
|
||||
it.context.getString(stringId),
|
||||
listener
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
fun showEmptyData() {
|
||||
getStatusLayout()?.let {
|
||||
showStateLayout(
|
||||
R.mipmap.button_banner,
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_no_data }
|
||||
?: it.context.getString(R.string.gradleUploadButton),
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_no_data_add }
|
||||
?: it.context.getString(R.string.infoEmpty),
|
||||
null
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
fun showSearchEmptyData() {
|
||||
getStatusLayout()?.let {
|
||||
showStateLayout(
|
||||
R.mipmap.iv_no_data_search,
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_not_found }
|
||||
?: it.context.getString(R.string.not_found),
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_not_found_string }
|
||||
?: it.context.getString(R.string.not_found_string),
|
||||
null
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
fun showErrorData(listener: VSNotificationsDefault.OnRetryListener?) {
|
||||
getStatusLayout()?.let {
|
||||
if (!NetworkUtils.isConnected()) {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
toast(TranslationHelper.getTranslation()?.veloria_network.toString())
|
||||
} else {
|
||||
toast(XNBackground.instance.getString(R.string.shapeSelected))
|
||||
}
|
||||
showStateLayout(
|
||||
R.mipmap.auto_mz_drama_default_i3,
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_no_network }
|
||||
?: it.context.getString(R.string.normalBodyloadAttrs),
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_no_network_string }
|
||||
?: it.context.getString(R.string.episodeServiceNotifications),
|
||||
listener
|
||||
)
|
||||
return
|
||||
}
|
||||
showStateLayout(
|
||||
R.mipmap.button_banner,
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_no_data }
|
||||
?: it.context.getString(R.string.gradleUploadButton),
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_no_data_add }
|
||||
?: it.context.getString(R.string.infoEmpty),
|
||||
null
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,622 @@
|
||||
package com.veloria.now.shortapp.civil
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.os.Build
|
||||
import android.os.Handler
|
||||
import android.os.Looper
|
||||
import android.widget.Toast
|
||||
import androidx.annotation.RequiresApi
|
||||
import com.veloria.now.shortapp.newsletter.XNBackground
|
||||
import java.text.SimpleDateFormat
|
||||
import java.time.Duration
|
||||
import java.time.LocalDateTime
|
||||
import java.time.format.DateTimeFormatter
|
||||
import java.util.Date
|
||||
import java.util.TimeZone
|
||||
import kotlin.math.max
|
||||
import kotlin.math.min
|
||||
|
||||
@Volatile
|
||||
var backgroundLoginLayoutStr: String = "loops"
|
||||
|
||||
@Volatile
|
||||
var rightExampleTrendsDictionary: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
|
||||
@Volatile
|
||||
private var playThemesPadding: Double = 160.0
|
||||
|
||||
|
||||
public fun obtainVisibleDisplay(aboutManual: Long, bottomNetwork: Long): MutableMap<String, Int> {
|
||||
var exampleTime_k = 9581.0
|
||||
var keywordWith_k9 = false
|
||||
var mmkvManual: Boolean = true
|
||||
var clangWrapperDotlock = mutableMapOf<String, Int>()
|
||||
exampleTime_k += 2767.0
|
||||
clangWrapperDotlock.put("placesThumbnailsTdecode", 848)
|
||||
keywordWith_k9 = true
|
||||
clangWrapperDotlock.put("blockhashVorbis", 0)
|
||||
mmkvManual = false
|
||||
clangWrapperDotlock.put("sunrastComplexSequences", 0)
|
||||
|
||||
return clangWrapperDotlock
|
||||
|
||||
}
|
||||
|
||||
|
||||
@RequiresApi(Build.VERSION_CODES.O)
|
||||
fun getTimeAgoDetailed(timeString: String): String {
|
||||
|
||||
var driversAvfilter = obtainVisibleDisplay(5940L, 6170L)
|
||||
|
||||
val _driversAvfiltertemp = driversAvfilter.keys.toList()
|
||||
for (index_8 in 0.._driversAvfiltertemp.size - 1) {
|
||||
val key_index_8 = _driversAvfiltertemp.get(index_8)
|
||||
val value_index_8 = driversAvfilter.get(key_index_8)
|
||||
if (index_8 == 78) {
|
||||
println(key_index_8)
|
||||
println(value_index_8)
|
||||
break
|
||||
}
|
||||
}
|
||||
var driversAvfilter_len = driversAvfilter.size
|
||||
|
||||
println(driversAvfilter)
|
||||
|
||||
|
||||
var trendsW: Long = 2424L
|
||||
if (trendsW <= 190L) {
|
||||
}
|
||||
|
||||
|
||||
val processBannerNavigate = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")
|
||||
var trendingJ: String = "deblocking"
|
||||
println(trendingJ)
|
||||
|
||||
|
||||
val freeType_b = LocalDateTime.parse(timeString, processBannerNavigate)
|
||||
var ffmpegC: Int = 8281
|
||||
while (ffmpegC == 120) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
val viewwBannerSetup = LocalDateTime.now()
|
||||
var utilz: MutableList<Double> = mutableListOf<Double>()
|
||||
utilz.add(385.0)
|
||||
utilz.add(288.0)
|
||||
utilz.add(910.0)
|
||||
if (utilz.size > 45) {
|
||||
}
|
||||
|
||||
|
||||
val stringPlayfair = Duration.between(freeType_b, viewwBannerSetup)
|
||||
var bingeE: Int = 3591
|
||||
if (bingeE == 179) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
return when {
|
||||
stringPlayfair.toDays() > 0 -> stringPlayfair.toDays().toString().plus(" ").plus(
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_days_ago.toString() }
|
||||
?: "days ago"
|
||||
)
|
||||
|
||||
stringPlayfair.toHours() > 0 -> stringPlayfair.toHours().toString().plus(" ").plus(
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_hours_ago.toString() }
|
||||
?: "hours ago"
|
||||
)
|
||||
|
||||
stringPlayfair.toMinutes() > 0 -> stringPlayfair.toMinutes().toString().plus(" ").plus(
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_minutes_ago.toString() }
|
||||
?: "minutes ago"
|
||||
)
|
||||
|
||||
stringPlayfair.seconds > 0 -> stringPlayfair.seconds.toString().plus(" ").plus(
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_seconds_ago.toString() }
|
||||
?: "seconds ago"
|
||||
)
|
||||
|
||||
else -> TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_just_now.toString() }
|
||||
?: "just now"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public fun queryUntilTranslationLatestCreatorArgument(
|
||||
leftPlayfair: Double,
|
||||
versionItems: String
|
||||
): Float {
|
||||
var avatarCheck: MutableList<Double> = mutableListOf<Double>()
|
||||
var handlerStay: Boolean = true
|
||||
var playType_o = 538.0
|
||||
var testnetsMakedpkgLenvlc: Float = 6626.0f
|
||||
handlerStay = false
|
||||
testnetsMakedpkgLenvlc += if (handlerStay) 3 else 16
|
||||
playType_o *= 9221.0
|
||||
|
||||
return testnetsMakedpkgLenvlc
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun toast(text: String) {
|
||||
var sourceid_h: String = "stbl"
|
||||
|
||||
var ftypShadows: Float = queryUntilTranslationLatestCreatorArgument(2633.0, sourceid_h)
|
||||
|
||||
var ftypShadows_application: Double = ftypShadows.toDouble()
|
||||
if (ftypShadows != 18.0f) {
|
||||
println(ftypShadows)
|
||||
}
|
||||
|
||||
println(ftypShadows)
|
||||
|
||||
|
||||
var manualw: Double = 3483.0
|
||||
while (manualw <= 56.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
handler.post {
|
||||
var ffmpegy: Boolean = true
|
||||
while (ffmpegy) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
Toast.makeText(XNBackground.instance, text, Toast.LENGTH_SHORT).show()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public fun appendAgentClipBusinessTotalZoom(pathScanner: Double): Int {
|
||||
var editRefresh: Double = 6831.0
|
||||
println(editRefresh)
|
||||
var secondsSmart: Float = 2934.0f
|
||||
var moreFactory = mutableListOf<Float>()
|
||||
var cellHeader: Long = 1358L
|
||||
var multiplicationTruncationSections: Int = 3682
|
||||
editRefresh = 4108.0
|
||||
secondsSmart -= secondsSmart
|
||||
cellHeader = 2237L
|
||||
|
||||
return multiplicationTruncationSections
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun verticalAfterSelection(builder: StringBuilder, count: Int, value: Int) {
|
||||
|
||||
var realtimeVoicemail: Int = appendAgentClipBusinessTotalZoom(1715.0)
|
||||
|
||||
println(realtimeVoicemail)
|
||||
|
||||
println(realtimeVoicemail)
|
||||
|
||||
|
||||
var description_qJ: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
description_qJ.put("dims", "strstart")
|
||||
description_qJ.put("backwards", "segfeature")
|
||||
description_qJ.put("computed", "pgno")
|
||||
description_qJ.put("readq", "colored")
|
||||
description_qJ.put("itle", "addresses")
|
||||
description_qJ.put("xmls", "zombie")
|
||||
if (description_qJ.get("x") != null) {
|
||||
}
|
||||
println(description_qJ)
|
||||
|
||||
|
||||
val bodyloadT = value.toString()
|
||||
var recenti: Double = 5693.0
|
||||
|
||||
|
||||
for (i in 0 until count - bodyloadT.length) {
|
||||
var createn: Long = 5474L
|
||||
if (createn >= 66L) {
|
||||
}
|
||||
|
||||
|
||||
builder.append('0')
|
||||
}
|
||||
builder.append(bodyloadT);
|
||||
}
|
||||
|
||||
|
||||
public fun insertEachDismissListPositive(androidRefresh: Double, scannerSize_6e: Int): Int {
|
||||
var eventNormal = mutableListOf<String>()
|
||||
var spacingLogging = mutableListOf<Double>()
|
||||
var modityItems = 8142.0f
|
||||
var moduleModel: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
var planartoyuyPretendClipped: Int = 8081
|
||||
modityItems = 5941.0f
|
||||
|
||||
return planartoyuyPretendClipped
|
||||
|
||||
}
|
||||
|
||||
|
||||
@SuppressLint("SimpleDateFormat")
|
||||
fun timeToString(time: Long): String {
|
||||
|
||||
var tlenGreedy = insertEachDismissListPositive(2374.0, 8432)
|
||||
|
||||
if (tlenGreedy > 1) {
|
||||
for (i_n in 0..tlenGreedy) {
|
||||
if (i_n == 0) {
|
||||
println(i_n)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
println(tlenGreedy)
|
||||
|
||||
|
||||
var paddingu: String = "xform"
|
||||
if (paddingu.length > 129) {
|
||||
}
|
||||
println(paddingu)
|
||||
|
||||
|
||||
val urlN = Date(time * 1000)
|
||||
var trendingZ: MutableList<Double> = mutableListOf<Double>()
|
||||
trendingZ.add(993.0)
|
||||
trendingZ.add(974.0)
|
||||
trendingZ.add(642.0)
|
||||
trendingZ.add(18.0)
|
||||
trendingZ.add(479.0)
|
||||
if (trendingZ.contains(3873.0)) {
|
||||
}
|
||||
|
||||
|
||||
return SimpleDateFormat("yyyy-MM-dd").format(urlN)
|
||||
}
|
||||
|
||||
|
||||
public fun layoutBackFreeTrace(): Long {
|
||||
var systemCharacter = 5201
|
||||
var giftSystem: String = "avassert"
|
||||
println(giftSystem)
|
||||
var cagetoryRight: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
println(cagetoryRight)
|
||||
var buyBanner: String = "autoclose"
|
||||
var datacentersProxy: Long = 406L
|
||||
systemCharacter *= systemCharacter
|
||||
|
||||
return datacentersProxy
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun createGmtOffsetString(
|
||||
includeGmt: Boolean, includeMinuteSeparator: Boolean, offsetMillis: Int
|
||||
): String {
|
||||
|
||||
var neededChachapoly = layoutBackFreeTrace()
|
||||
|
||||
var neededChachapoly_radius: Int = neededChachapoly.toInt()
|
||||
println(neededChachapoly)
|
||||
|
||||
println(neededChachapoly)
|
||||
|
||||
|
||||
var info6: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
info6.put("aaudio", "xywh")
|
||||
info6.put("settings", "sanitized")
|
||||
info6.put("aad", "decref")
|
||||
info6.put("decodemv", "vregion")
|
||||
info6.put("probability", "transport")
|
||||
|
||||
|
||||
var activityShow = offsetMillis / 60000
|
||||
var paint4: String = "counted"
|
||||
if (paint4 == "d") {
|
||||
}
|
||||
|
||||
|
||||
var views1 = '+'
|
||||
var time_wb: Boolean = true
|
||||
while (time_wb) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
if (activityShow < 0) {
|
||||
var adapter0: String = "evenly"
|
||||
if (adapter0.length > 176) {
|
||||
}
|
||||
|
||||
|
||||
views1 = '-'
|
||||
var chooseR: Boolean = true
|
||||
while (!chooseR) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
activityShow = -activityShow
|
||||
}
|
||||
val coverOffset: StringBuilder = StringBuilder(9)
|
||||
var colors6: Float = 9603.0f
|
||||
while (colors6 >= 166.0f) {
|
||||
break
|
||||
}
|
||||
println(colors6)
|
||||
|
||||
|
||||
if (includeGmt) {
|
||||
var foregroundJ: Double = 3814.0
|
||||
while (foregroundJ == 61.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
coverOffset.append("GMT")
|
||||
}
|
||||
coverOffset.append(views1)
|
||||
var workY: String = "scans"
|
||||
if (workY.length > 115) {
|
||||
}
|
||||
|
||||
|
||||
verticalAfterSelection(coverOffset, 2, activityShow / 60)
|
||||
var shapeA: Int = 9734
|
||||
while (shapeA > 119) {
|
||||
break
|
||||
}
|
||||
println(shapeA)
|
||||
|
||||
|
||||
if (includeMinuteSeparator) {
|
||||
var short_gro: MutableList<Int> = mutableListOf<Int>()
|
||||
short_gro.add(884)
|
||||
short_gro.add(738)
|
||||
short_gro.add(933)
|
||||
short_gro.add(825)
|
||||
short_gro.add(6)
|
||||
short_gro.add(171)
|
||||
|
||||
|
||||
coverOffset.append(':')
|
||||
}
|
||||
verticalAfterSelection(coverOffset, 2, activityShow % 60)
|
||||
var help3: MutableMap<String, Boolean> = mutableMapOf<String, Boolean>()
|
||||
help3.put("avutilres", true)
|
||||
help3.put("ncoming", false)
|
||||
help3.put("interact", false)
|
||||
help3.put("crossbar", false)
|
||||
help3.put("redetect", true)
|
||||
help3.put("represents", true)
|
||||
while (help3.size > 106) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
return coverOffset.toString()
|
||||
}
|
||||
|
||||
|
||||
public fun delicateButtonConnectivityLightPositiveStatus(topWith_7c: MutableList<Float>): Int {
|
||||
var imageLast = true
|
||||
var scopeHorizontally: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
var recentType_7_ = 1558.0
|
||||
var seekChunkMonotony: Int = 380
|
||||
imageLast = true
|
||||
seekChunkMonotony += if (imageLast) 5 else 98
|
||||
recentType_7_ = 8329.0
|
||||
|
||||
return seekChunkMonotony
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun singleOnClick(during: Long = 750L, callBack: () -> Unit) {
|
||||
var vlcs_f = mutableListOf<Float>()
|
||||
|
||||
var gethdrSwapped = delicateButtonConnectivityLightPositiveStatus(vlcs_f)
|
||||
|
||||
if (gethdrSwapped >= 69) {
|
||||
println(gethdrSwapped)
|
||||
}
|
||||
|
||||
println(gethdrSwapped)
|
||||
|
||||
|
||||
var urlx: String = "vble"
|
||||
|
||||
|
||||
val viewwBannerSetup = Date().time
|
||||
var place4: String = "resize"
|
||||
if (place4 == "W") {
|
||||
}
|
||||
|
||||
|
||||
if (viewwBannerSetup - lastOnClickTime > during) {
|
||||
var advertX: String = "integration"
|
||||
while (advertX.length > 57) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
callBack()
|
||||
}
|
||||
lastOnClickTime = viewwBannerSetup
|
||||
}
|
||||
|
||||
private val handler = Handler(Looper.getMainLooper())
|
||||
|
||||
public fun plusHistoryUntil(): MutableList<Float> {
|
||||
var errorView: Boolean = true
|
||||
var tubeCover = 3238L
|
||||
var expandedMove = false
|
||||
println(expandedMove)
|
||||
var resUpdate_us: Int = 161
|
||||
var geomBookmarksMemzero = mutableListOf<Float>()
|
||||
errorView = false
|
||||
var listener_len1: Int = geomBookmarksMemzero.size
|
||||
var recent_u: Int = min(kotlin.random.Random.nextInt(49), 1) % max(1, geomBookmarksMemzero.size)
|
||||
geomBookmarksMemzero.add(recent_u, 0.0f)
|
||||
tubeCover = tubeCover
|
||||
var duration_len1 = geomBookmarksMemzero.size
|
||||
var clear_u: Int = min(kotlin.random.Random.nextInt(10), 1) % max(1, geomBookmarksMemzero.size)
|
||||
geomBookmarksMemzero.add(clear_u, 4555.0f)
|
||||
expandedMove = true
|
||||
var retry_len1 = geomBookmarksMemzero.size
|
||||
var categoies_s: Int =
|
||||
min(kotlin.random.Random.nextInt(43), 1) % max(1, geomBookmarksMemzero.size)
|
||||
geomBookmarksMemzero.add(categoies_s, 0.0f)
|
||||
resUpdate_us += resUpdate_us
|
||||
var handle_len1: Int = geomBookmarksMemzero.size
|
||||
var scope_o = min(kotlin.random.Random.nextInt(22), 1) % max(1, geomBookmarksMemzero.size)
|
||||
geomBookmarksMemzero.add(scope_o, 1833.0f)
|
||||
|
||||
return geomBookmarksMemzero
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun getCurrentTimeZone(): String {
|
||||
|
||||
var threeHaldclutsrc = plusHistoryUntil()
|
||||
|
||||
for (obj1 in threeHaldclutsrc) {
|
||||
println(obj1)
|
||||
}
|
||||
var threeHaldclutsrc_len: Int = threeHaldclutsrc.size
|
||||
|
||||
println(threeHaldclutsrc)
|
||||
|
||||
|
||||
var downy: Int = 9876
|
||||
if (downy <= 137) {
|
||||
}
|
||||
|
||||
|
||||
return createGmtOffsetString(true, true, TimeZone.getDefault().rawOffset)
|
||||
}
|
||||
|
||||
|
||||
public fun readArrayEach(
|
||||
cagetoryVertical: Boolean,
|
||||
roundModity: Boolean,
|
||||
animationCenter: Boolean
|
||||
): Float {
|
||||
var suspendHistory = 2361.0
|
||||
println(suspendHistory)
|
||||
var coverFactory: MutableList<Int> = mutableListOf<Int>()
|
||||
var listViews = 8450
|
||||
println(listViews)
|
||||
var formatOnclick = 3776.0
|
||||
var spreadLibwebpenc: Float = 7136.0f
|
||||
suspendHistory = 4429.0
|
||||
listViews += listViews
|
||||
formatOnclick = 9847.0
|
||||
|
||||
return spreadLibwebpenc
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun formatTimestamp(timestampInSeconds: Long): String {
|
||||
|
||||
var attributeQsvdec: Float = readArrayEach(false, false, true)
|
||||
|
||||
if (attributeQsvdec != 73.0f) {
|
||||
println(attributeQsvdec)
|
||||
}
|
||||
var attributeQsvdec_size_1: Double = attributeQsvdec.toDouble()
|
||||
|
||||
println(attributeQsvdec)
|
||||
|
||||
|
||||
var request5: MutableList<Double> = mutableListOf<Double>()
|
||||
request5.add(878.0)
|
||||
request5.add(563.0)
|
||||
if (request5.size > 178) {
|
||||
}
|
||||
|
||||
|
||||
val loadingRevolution = timestampInSeconds / 60
|
||||
var again9: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
again9.put("diracdsp", "elimination")
|
||||
again9.put("sdes", "stepwise")
|
||||
if (again9.size > 193) {
|
||||
}
|
||||
println(again9)
|
||||
|
||||
|
||||
val vipE = timestampInSeconds % 60
|
||||
var gradlewC: Float = 7375.0f
|
||||
while (gradlewC == 19.0f) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
return String.format("%02d:%02d", loadingRevolution, vipE)
|
||||
}
|
||||
|
||||
var lastOnClickTime = 0L
|
||||
private fun Double.dailySeriesShowerFamily(digits: Int) = "%.${digits}f".format(this)
|
||||
|
||||
|
||||
public fun stopDialogDriver(): MutableMap<String, Long> {
|
||||
var resLang: Int = 5623
|
||||
var stringCategories: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
var delete_0yCategoies: Boolean = true
|
||||
var reconnectBarkColx: MutableMap<String, Long> = mutableMapOf<String, Long>()
|
||||
resLang += 2103
|
||||
reconnectBarkColx.put("strcatTimeDisappearance", 4973L)
|
||||
for (arrival in stringCategories) {
|
||||
reconnectBarkColx.put("saving", arrival.value.toLong())
|
||||
|
||||
}
|
||||
delete_0yCategoies = true
|
||||
reconnectBarkColx.put("accelerateMurmur", 0L)
|
||||
|
||||
return reconnectBarkColx
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun formatNumber(num: Int): String {
|
||||
|
||||
var hitDenoising: MutableMap<String, Long> = stopDialogDriver()
|
||||
|
||||
val _hitDenoisingtemp = hitDenoising.keys.toList()
|
||||
for (index_7 in 0.._hitDenoisingtemp.size - 1) {
|
||||
val key_index_7 = _hitDenoisingtemp.get(index_7)
|
||||
val value_index_7 = hitDenoising.get(key_index_7)
|
||||
if (index_7 == 57) {
|
||||
println(key_index_7)
|
||||
println(value_index_7)
|
||||
break
|
||||
}
|
||||
}
|
||||
var hitDenoising_len: Int = hitDenoising.size
|
||||
|
||||
println(hitDenoising)
|
||||
|
||||
|
||||
var manifestU: MutableList<Int> = mutableListOf<Int>()
|
||||
manifestU.add(64)
|
||||
manifestU.add(637)
|
||||
manifestU.add(972)
|
||||
manifestU.add(470)
|
||||
if (manifestU.size > 90) {
|
||||
}
|
||||
println(manifestU)
|
||||
|
||||
|
||||
return when {
|
||||
num >= 1000000 -> "${(num / 1000000.0).dailySeriesShowerFamily(1)}M"
|
||||
num >= 1000 -> "${(num / 1000.0).dailySeriesShowerFamily(1)}K"
|
||||
else -> num.toString()
|
||||
}
|
||||
}
|
516
app/src/main/java/com/veloria/now/shortapp/civil/RYAction.kt
Normal file
516
app/src/main/java/com/veloria/now/shortapp/civil/RYAction.kt
Normal file
@ -0,0 +1,516 @@
|
||||
package com.veloria.now.shortapp.civil
|
||||
|
||||
import com.google.gson.Gson
|
||||
import com.tencent.mmkv.MMKV
|
||||
import com.veloria.now.shortapp.texturedAsink.KFAFavoritesInterceptorBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VePayBean
|
||||
import kotlin.math.max
|
||||
import kotlin.math.min
|
||||
|
||||
@Volatile
|
||||
private var collectionDataSpace: Float = 7752.0f
|
||||
|
||||
@Volatile
|
||||
var is_ModityBeanRequest: Boolean = true
|
||||
|
||||
|
||||
object RYAction {
|
||||
@Volatile
|
||||
var has_DramaModule: Boolean = true
|
||||
|
||||
@Volatile
|
||||
var agreementInterpolatorAnimationTag: Int = 1833
|
||||
|
||||
|
||||
private var hotsCategory_d2: MMKV? = null
|
||||
|
||||
|
||||
public fun invokeCircleNumberRefresh(
|
||||
correctRecord: MutableMap<String, Double>,
|
||||
displayHelp: MutableList<Long>,
|
||||
restartLine: Double
|
||||
): String {
|
||||
var seekbarOpen = mutableListOf<Long>()
|
||||
var activityMain = mutableMapOf<String, Int>()
|
||||
var auto_2Measure = false
|
||||
var delimitersTwrpWriteclear: String = "opaque"
|
||||
if (true == auto_2Measure) {
|
||||
println("auto_ee")
|
||||
}
|
||||
|
||||
return delimitersTwrpWriteclear
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun saveToken(token: String) {
|
||||
var aptxhd_b = mutableListOf<Long>()
|
||||
|
||||
var reloaderPoller =
|
||||
this.invokeCircleNumberRefresh(mutableMapOf<String, Double>(), aptxhd_b, 4424.0)
|
||||
|
||||
var reloaderPoller_len = reloaderPoller.length
|
||||
if (reloaderPoller == "time_3") {
|
||||
println(reloaderPoller)
|
||||
}
|
||||
|
||||
println(reloaderPoller)
|
||||
|
||||
|
||||
var content9: Double = 3450.0
|
||||
while (content9 < 51.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
getMMKV().putString(JActivityAdapter.ACCOUNT_TOKEN, token)
|
||||
}
|
||||
|
||||
|
||||
public fun connectIconCivil(
|
||||
closeScope: Boolean,
|
||||
cornerAnimating: Boolean,
|
||||
handlerCollection: String
|
||||
): Double {
|
||||
var textPackage_b = "node"
|
||||
println(textPackage_b)
|
||||
var pagePrivacy: Float = 2722.0f
|
||||
var utilClip = mutableMapOf<String, Double>()
|
||||
var sonicPreservesDecouple: Double = 6788.0
|
||||
pagePrivacy = pagePrivacy
|
||||
|
||||
return sonicPreservesDecouple
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun getUserInfoBean(): KFAFavoritesInterceptorBean? {
|
||||
var oidany_l: String = "ftvlink"
|
||||
|
||||
var framerateSalts: Double = this.connectIconCivil(false, true, oidany_l)
|
||||
|
||||
if (framerateSalts >= 85.0) {
|
||||
println(framerateSalts)
|
||||
}
|
||||
|
||||
println(framerateSalts)
|
||||
|
||||
|
||||
var processK: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
processK.put("unexpected", 35.0f)
|
||||
processK.put("transp", 625.0f)
|
||||
processK.put("mix", 240.0f)
|
||||
processK.put("spans", 30.0f)
|
||||
processK.put("xjpeg", 680.0f)
|
||||
println(processK)
|
||||
|
||||
|
||||
val bodyloadT = getMMKV().getString(JActivityAdapter.ACCOUNT_USERINFO, "{}")
|
||||
var marqueeD: Int = 5428
|
||||
if (marqueeD == 102) {
|
||||
}
|
||||
|
||||
|
||||
if ("{}" == bodyloadT) {
|
||||
var fragmentsd: Long = 7690L
|
||||
println(fragmentsd)
|
||||
|
||||
|
||||
return KFAFavoritesInterceptorBean.createDefaults()
|
||||
}
|
||||
return Gson().fromJson(bodyloadT, KFAFavoritesInterceptorBean::class.java)
|
||||
}
|
||||
|
||||
|
||||
public fun showDateBetweenEndBoxAnimation(
|
||||
bottomJust: Double,
|
||||
progressWatch: Boolean,
|
||||
viewColors: MutableMap<String, Float>
|
||||
): Long {
|
||||
var backgroundTrace: MutableList<Int> = mutableListOf<Int>()
|
||||
println(backgroundTrace)
|
||||
var factoryComplete = mutableListOf<Int>()
|
||||
println(factoryComplete)
|
||||
var playerTop = mutableListOf<Float>()
|
||||
var iscoverEzos: Long = 5216L
|
||||
|
||||
return iscoverEzos
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun getSearchContent(): MutableList<String> {
|
||||
|
||||
var superblocksRingback =
|
||||
this.showDateBetweenEndBoxAnimation(9345.0, false, mutableMapOf<String, Float>())
|
||||
|
||||
var superblocksRingback_strings: Int = superblocksRingback.toInt()
|
||||
if (superblocksRingback > 89L) {
|
||||
println(superblocksRingback)
|
||||
}
|
||||
|
||||
println(superblocksRingback)
|
||||
|
||||
|
||||
var back7: Boolean = false
|
||||
|
||||
|
||||
this.has_DramaModule = false
|
||||
|
||||
this.agreementInterpolatorAnimationTag = 185
|
||||
|
||||
|
||||
val bodyloadT = getMMKV().getString(JActivityAdapter.SEARCH_CONTENT, "[]")
|
||||
var headern: Long = 4965L
|
||||
if (headern < 30L) {
|
||||
}
|
||||
println(headern)
|
||||
|
||||
|
||||
return Gson().fromJson(bodyloadT, Array<String>::class.java).toMutableList()
|
||||
}
|
||||
|
||||
|
||||
public fun trimPriceJust(
|
||||
audioDrama: String,
|
||||
createJust: MutableMap<String, String>
|
||||
): MutableMap<String, Double> {
|
||||
var bannerItems: Double = 1787.0
|
||||
var cutLang = mutableListOf<Double>()
|
||||
var utilBodyload = 5472.0f
|
||||
println(utilBodyload)
|
||||
var paddingClose: Boolean = false
|
||||
var redsparkInlenOpen = mutableMapOf<String, Double>()
|
||||
for (tbml in cutLang) {
|
||||
redsparkInlenOpen.put("dimensionsNwiseIntent", tbml)
|
||||
|
||||
}
|
||||
paddingClose = true
|
||||
redsparkInlenOpen.put("autoplayRcvdMirroring", 0.0)
|
||||
|
||||
return redsparkInlenOpen
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun getMMKV(): MMKV {
|
||||
var producer_q = "umotion"
|
||||
|
||||
var srtpSharing = this.trimPriceJust(producer_q, mutableMapOf<String, String>())
|
||||
|
||||
val _srtpSharingtemp = srtpSharing.keys.toList()
|
||||
for (index_o in 0.._srtpSharingtemp.size - 1) {
|
||||
val key_index_o = _srtpSharingtemp.get(index_o)
|
||||
val value_index_o = srtpSharing.get(key_index_o)
|
||||
if (index_o < 91) {
|
||||
println(key_index_o)
|
||||
println(value_index_o)
|
||||
break
|
||||
}
|
||||
}
|
||||
var srtpSharing_len: Int = srtpSharing.size
|
||||
|
||||
println(srtpSharing)
|
||||
|
||||
|
||||
var jobG: Double = 6944.0
|
||||
if (jobG <= 156.0) {
|
||||
}
|
||||
|
||||
|
||||
if (hotsCategory_d2 == null) {
|
||||
var checkboxM: Int = 5689
|
||||
|
||||
|
||||
hotsCategory_d2 = MMKV.defaultMMKV()
|
||||
}
|
||||
return hotsCategory_d2!!
|
||||
}
|
||||
|
||||
|
||||
public fun fullCanvasRecognizeDetailedBackgroundFree(
|
||||
displayCover: Boolean,
|
||||
local_gBottom: MutableList<Double>,
|
||||
testBackup: MutableList<Double>
|
||||
): Boolean {
|
||||
var local_n1Place = 6785.0f
|
||||
var trendService = 692.0
|
||||
var recentPlay: Long = 3760L
|
||||
var viewsDetached: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
var svectorLoadAffine = false
|
||||
local_n1Place = 5126.0f
|
||||
svectorLoadAffine = local_n1Place > 85
|
||||
trendService = 7055.0
|
||||
svectorLoadAffine = trendService > 59
|
||||
recentPlay = 2497L
|
||||
svectorLoadAffine = recentPlay > 36
|
||||
|
||||
return svectorLoadAffine
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun isVipTo(): Boolean {
|
||||
var codecid_d = mutableListOf<Double>()
|
||||
var inuse_y: MutableList<Double> = mutableListOf<Double>()
|
||||
|
||||
var coreCodecprivate =
|
||||
this.fullCanvasRecognizeDetailedBackgroundFree(true, codecid_d, inuse_y)
|
||||
|
||||
if (coreCodecprivate) {
|
||||
println("ok")
|
||||
}
|
||||
|
||||
println(coreCodecprivate)
|
||||
|
||||
|
||||
var allU: Boolean = true
|
||||
if (!allU) {
|
||||
}
|
||||
|
||||
|
||||
return getUserInfoBean()?.is_vip == true
|
||||
}
|
||||
|
||||
|
||||
public fun putJustText(viewwCollection: Long, while_4Integer: String): Long {
|
||||
var min_47Smart: Boolean = false
|
||||
var seriesWight = mutableListOf<Long>()
|
||||
var splashOnclick: Boolean = false
|
||||
println(splashOnclick)
|
||||
var positionScope: Double = 1722.0
|
||||
println(positionScope)
|
||||
var writetruncMilliseconds: Long = 6422L
|
||||
min_47Smart = false
|
||||
writetruncMilliseconds *= if (min_47Smart) 57 else 91
|
||||
splashOnclick = false
|
||||
writetruncMilliseconds -= if (splashOnclick) 25 else 59
|
||||
positionScope *= positionScope
|
||||
|
||||
return writetruncMilliseconds
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun saveUserInfoBean(infoRes: KFAFavoritesInterceptorBean?) {
|
||||
var hadamard_h = "speedhq"
|
||||
|
||||
var indataGeopoly = this.putJustText(8757L, hadamard_h)
|
||||
|
||||
if (indataGeopoly >= 48L) {
|
||||
println(indataGeopoly)
|
||||
}
|
||||
var expanded_indataGeopoly: Int = indataGeopoly.toInt()
|
||||
|
||||
println(indataGeopoly)
|
||||
|
||||
|
||||
var manual6: Float = 5410.0f
|
||||
while (manual6 <= 189.0f) {
|
||||
break
|
||||
}
|
||||
println(manual6)
|
||||
|
||||
|
||||
val adapterWight = Gson().toJson(infoRes)
|
||||
var networkD: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
networkD.put("variability", 743.0)
|
||||
networkD.put("ignal", 299.0)
|
||||
networkD.put("messages", 292.0)
|
||||
if (networkD.get("B") != null) {
|
||||
}
|
||||
|
||||
|
||||
getMMKV()
|
||||
.putString(JActivityAdapter.ACCOUNT_USERINFO, adapterWight)
|
||||
}
|
||||
|
||||
public fun alphaDecorationHailObjectSuspendColor(release_4Duration: Long): MutableList<Long> {
|
||||
var bindingDetached = "copy"
|
||||
var size_rAgain: Boolean = false
|
||||
var surfaceAnimation = "transforms"
|
||||
var acdspJrnl: MutableList<Long> = mutableListOf<Long>()
|
||||
size_rAgain = false
|
||||
var example_len1: Int = acdspJrnl.size
|
||||
var point_z: Int = min(kotlin.random.Random.nextInt(90), 1) % max(1, acdspJrnl.size)
|
||||
acdspJrnl.add(point_z, 0L)
|
||||
|
||||
return acdspJrnl
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun saveSearchContent(search: String) {
|
||||
|
||||
var cttsHapqa: MutableList<Long> = this.alphaDecorationHailObjectSuspendColor(1421L)
|
||||
|
||||
for (obj4 in cttsHapqa) {
|
||||
println(obj4)
|
||||
}
|
||||
var cttsHapqa_len: Int = cttsHapqa.size
|
||||
|
||||
println(cttsHapqa)
|
||||
|
||||
|
||||
var favoritest: Long = 4352L
|
||||
while (favoritest > 153L) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
val profile7 = getSearchContent()
|
||||
var onclickH_: Float = 9715.0f
|
||||
if (onclickH_ == 22.0f) {
|
||||
}
|
||||
|
||||
|
||||
if (!profile7.contains(search)) {
|
||||
var recommends1e: Int = 5540
|
||||
while (recommends1e < 13) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
profile7.add(0, search)
|
||||
}
|
||||
val adapterWight = Gson().toJson(profile7)
|
||||
var completeg: String = "q_61"
|
||||
|
||||
|
||||
getMMKV().putString(JActivityAdapter.SEARCH_CONTENT, adapterWight)
|
||||
}
|
||||
|
||||
|
||||
public fun previewLatestSimpleApplicationScreen(priceArrangement: Float): Boolean {
|
||||
var arrangementColor = mutableListOf<Float>()
|
||||
var titleFfmpeg: Boolean = false
|
||||
var gradlewGson = mutableMapOf<String, Double>()
|
||||
var freeStand = 6463
|
||||
var signalsShifts: Boolean = false
|
||||
titleFfmpeg = false
|
||||
signalsShifts = !titleFfmpeg
|
||||
freeStand += freeStand
|
||||
signalsShifts = freeStand > 68
|
||||
|
||||
return signalsShifts
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun getToken(): String {
|
||||
|
||||
var reorderingAnnotations = this.previewLatestSimpleApplicationScreen(9563.0f)
|
||||
|
||||
if (reorderingAnnotations) {
|
||||
}
|
||||
|
||||
println(reorderingAnnotations)
|
||||
|
||||
|
||||
var fonti: Boolean = true
|
||||
while (!fonti) {
|
||||
break
|
||||
}
|
||||
println(fonti)
|
||||
|
||||
|
||||
val nameColorConstants = getMMKV().getString(JActivityAdapter.ACCOUNT_TOKEN, "")
|
||||
var highS: String = "authenticate"
|
||||
if (highS == "V") {
|
||||
}
|
||||
println(highS)
|
||||
|
||||
|
||||
return nameColorConstants.toString();
|
||||
}
|
||||
|
||||
|
||||
public fun illegalTubeExploreBusinessPolicySequence(): Double {
|
||||
var wightController: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
var backupExecute: Boolean = true
|
||||
println(backupExecute)
|
||||
var paintPath: String = "hram"
|
||||
println(paintPath)
|
||||
var ftsisspaceSeekable: Double = 6096.0
|
||||
backupExecute = true
|
||||
ftsisspaceSeekable *= if (backupExecute) 8 else 19
|
||||
|
||||
return ftsisspaceSeekable
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun isTouristTo(): Boolean {
|
||||
|
||||
var accumulatorYuvya = this.illegalTubeExploreBusinessPolicySequence()
|
||||
|
||||
if (accumulatorYuvya != 64.0) {
|
||||
println(accumulatorYuvya)
|
||||
}
|
||||
|
||||
println(accumulatorYuvya)
|
||||
|
||||
|
||||
var number5: Boolean = false
|
||||
while (number5) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
return getUserInfoBean()?.is_tourist == true
|
||||
}
|
||||
|
||||
|
||||
fun getAllCoinTotal(): Int {
|
||||
if (getUserInfoBean() == null) {
|
||||
return 0
|
||||
}
|
||||
return getUserInfoBean()?.coin_left_total!! + getUserInfoBean()?.send_coin_left_total!!
|
||||
}
|
||||
|
||||
fun getCustomId(): String {
|
||||
return getUserInfoBean()?.customer_id.toString()
|
||||
}
|
||||
|
||||
fun saveOrder(payReq: VePayBean) {
|
||||
val list = getOrder()
|
||||
if (!list.contains(payReq)) {
|
||||
list.add(payReq)
|
||||
}
|
||||
val toJson = Gson().toJson(list)
|
||||
getMMKV().putString(JActivityAdapter.PAY_ORDER_PAY_BEAN, toJson)
|
||||
}
|
||||
fun removeOrder(payReq: VePayBean?) {
|
||||
val updatedList = getOrder().filterNot { it == payReq }
|
||||
getMMKV().putString(
|
||||
JActivityAdapter.PAY_ORDER_PAY_BEAN,
|
||||
Gson().toJson(updatedList)
|
||||
)
|
||||
}
|
||||
|
||||
fun removeOrderString(order: String) {
|
||||
val updatedList = getOrder().filterNot { it.order_code == order }
|
||||
getMMKV().putString(
|
||||
JActivityAdapter.PAY_ORDER_PAY_BEAN,
|
||||
Gson().toJson(updatedList)
|
||||
)
|
||||
}
|
||||
|
||||
fun getOrder(): MutableList<VePayBean> {
|
||||
try {
|
||||
val string = getMMKV().getString(JActivityAdapter.PAY_ORDER_PAY_BEAN, "[]")
|
||||
if (null != string && "[]" != string) {
|
||||
return Gson().fromJson(string, Array<VePayBean>::class.java).toMutableList()
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
getMMKV().putString(
|
||||
JActivityAdapter.PAY_ORDER_PAY_BEAN,
|
||||
"[]"
|
||||
)
|
||||
}
|
||||
return mutableListOf()
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package com.veloria.now.shortapp.civil
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
sealed class SVariableWight<out T> {
|
||||
@Volatile
|
||||
var splashBackAuthorizationIndex: Int = 7452
|
||||
@Volatile
|
||||
private var circleStylesArray: MutableList<Double> = mutableListOf<Double>()
|
||||
@Volatile
|
||||
var marqueeGift_space: Double = 3368.0
|
||||
@Volatile
|
||||
private var themesBaseArrangement_count: Int = 7722
|
||||
|
||||
|
||||
data class Success<out T>(val data: T) : SVariableWight<T>()
|
||||
data class Empty(val message: String? = null) : SVariableWight<Nothing>()
|
||||
data class Error(val throwable: Throwable? = null, val message: String? = null) : SVariableWight<Nothing>()
|
||||
data class NoNetwork(val message: String? = null) : SVariableWight<Nothing>()
|
||||
}
|
@ -0,0 +1,593 @@
|
||||
package com.veloria.now.shortapp.civil
|
||||
|
||||
import android.app.Activity
|
||||
import android.content.Context
|
||||
import android.graphics.Color
|
||||
import android.os.Build
|
||||
import android.view.View
|
||||
import android.view.Window
|
||||
import android.view.WindowManager
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
@Volatile
|
||||
var can_CollectShape: Boolean = true
|
||||
@Volatile
|
||||
private var enbaleFragmentsCategoriesCorner: Boolean = false
|
||||
|
||||
|
||||
|
||||
|
||||
object StatusBarUtil {
|
||||
@Volatile
|
||||
var qualityShort_3_padding: Double = 2754.0
|
||||
@Volatile
|
||||
var exploreRightType_bIndex: Long = 5185L
|
||||
@Volatile
|
||||
var langDestroyActivity_dict: MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
@Volatile
|
||||
var codeSelection_max: Double = 119.0
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public fun setupPercentQueue(bodyloadRes: Long, interceptorActive: String) :MutableMap<String,Float> {
|
||||
var qnewsAllow:MutableList<Double> = mutableListOf<Double>()
|
||||
var cagetoryShare:MutableMap<String,Float> = mutableMapOf<String,Float>()
|
||||
var bingeHigh:String = "freelist"
|
||||
var durationTop = 483
|
||||
var rnnoiseSegwit:MutableMap<String,Float> = mutableMapOf<String,Float>()
|
||||
rnnoiseSegwit.put("ctxt", 632.0f)
|
||||
rnnoiseSegwit.put("interactor", 891.0f)
|
||||
for(large in qnewsAllow) {
|
||||
rnnoiseSegwit.put("snaphotAmfenc", large.toFloat())
|
||||
|
||||
}
|
||||
for(tile in 0 .. cagetoryShare.keys.toList().size - 1) {
|
||||
rnnoiseSegwit.put("cancelled", cagetoryShare.get(cagetoryShare.keys.toList()[tile]) ?: 7670.0f)
|
||||
|
||||
}
|
||||
rnnoiseSegwit.put("signed", 2123.0f)
|
||||
durationTop += 2680
|
||||
rnnoiseSegwit.put("rgbrgbPointcbb", 2618.0f)
|
||||
|
||||
return rnnoiseSegwit
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun getStatusBarHeight(context: Context): Int {
|
||||
var procamp_g:String = "look"
|
||||
|
||||
var combinatorSections = this.setupPercentQueue(3665L,procamp_g)
|
||||
|
||||
var combinatorSections_len:Int = combinatorSections.size
|
||||
for(object_k in combinatorSections) {
|
||||
println(object_k.key)
|
||||
println(object_k.value)
|
||||
}
|
||||
|
||||
println(combinatorSections)
|
||||
|
||||
|
||||
var padding8:String = "srtp"
|
||||
while (padding8.length > 95) { break }
|
||||
|
||||
|
||||
var result = 0
|
||||
var handlerhk:MutableMap<String,Double> = mutableMapOf<String,Double>()
|
||||
handlerhk.put("append", 235.0)
|
||||
handlerhk.put("aeval", 122.0)
|
||||
handlerhk.put("fileheader", 558.0)
|
||||
handlerhk.put("alternative", 652.0)
|
||||
handlerhk.put("bgphcheck", 559.0)
|
||||
handlerhk.put("get", 742.0)
|
||||
while (handlerhk.size > 171) { break }
|
||||
|
||||
|
||||
val menuCoins = context.resources.getIdentifier(
|
||||
"status_bar_height", "dimen", "android"
|
||||
)
|
||||
var privacyS5:Float = 8879.0f
|
||||
if (privacyS5 < 48.0f) {}
|
||||
println(privacyS5)
|
||||
|
||||
|
||||
if (menuCoins > 0) {
|
||||
var release_rx:MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
release_rx.put("alse", 774L)
|
||||
release_rx.put("tfxd", 620L)
|
||||
release_rx.put("semibold", 727L)
|
||||
release_rx.put("vector", 811L)
|
||||
release_rx.put("characted", 740L)
|
||||
release_rx.put("s_96", 874L)
|
||||
if (release_rx.size > 91) {}
|
||||
println(release_rx)
|
||||
|
||||
|
||||
result = context.resources.getDimensionPixelSize(menuCoins)
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
|
||||
|
||||
public fun alphaPageMinusSourceBuy(nameOffset: String) :String {
|
||||
var selectModule = "oneway"
|
||||
var dimensPager:Boolean = true
|
||||
var topBodyload:Int = 970
|
||||
var ybriAutoplayingSyncwords = "erver"
|
||||
println("bodyload: " + selectModule)
|
||||
if (selectModule != null) {
|
||||
if(selectModule.length > 0 && ybriAutoplayingSyncwords.length > 0) {
|
||||
ybriAutoplayingSyncwords += selectModule.get(0)
|
||||
}
|
||||
}
|
||||
if (dimensPager){
|
||||
println("set")
|
||||
}
|
||||
if (topBodyload >= -128 && topBodyload <= 128){
|
||||
var application_q = min(1, kotlin.random.Random.nextInt(35)) % ybriAutoplayingSyncwords.length
|
||||
ybriAutoplayingSyncwords += topBodyload.toString()
|
||||
}
|
||||
|
||||
return ybriAutoplayingSyncwords
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setColor(activity: Activity, color: Int, darkText: Boolean = false) {
|
||||
var multicast_a:String = "reloading"
|
||||
|
||||
var postionEmoticon = this.alphaPageMinusSourceBuy(multicast_a)
|
||||
|
||||
if (postionEmoticon == "event") {
|
||||
println(postionEmoticon)
|
||||
}
|
||||
var postionEmoticon_len:Int = postionEmoticon.length
|
||||
|
||||
println(postionEmoticon)
|
||||
|
||||
|
||||
var activez:MutableMap<String,Float> = mutableMapOf<String,Float>()
|
||||
activez.put("tpc", 579.0f)
|
||||
activez.put("streamheader", 862.0f)
|
||||
activez.put("character", 187.0f)
|
||||
if (activez.get("f") != null) {}
|
||||
|
||||
|
||||
this.qualityShort_3_padding = 74.0
|
||||
|
||||
this.exploreRightType_bIndex = 6711L
|
||||
|
||||
this.langDestroyActivity_dict = mutableMapOf<String,Long>()
|
||||
|
||||
this.codeSelection_max = 8238.0
|
||||
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
var trendQ:Boolean = true
|
||||
|
||||
|
||||
activity.window.apply {
|
||||
var beanO:MutableList<Double> = mutableListOf<Double>()
|
||||
beanO.add(423.0)
|
||||
beanO.add(359.0)
|
||||
beanO.add(431.0)
|
||||
beanO.add(240.0)
|
||||
beanO.add(437.0)
|
||||
if (beanO.contains(3270.0)) {}
|
||||
|
||||
|
||||
clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS)
|
||||
var auto_j1:Boolean = true
|
||||
while (!auto_j1) { break }
|
||||
|
||||
|
||||
addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS)
|
||||
var appveloriau:MutableList<Float> = mutableListOf<Float>()
|
||||
appveloriau.add(509.0f)
|
||||
appveloriau.add(694.0f)
|
||||
appveloriau.add(794.0f)
|
||||
appveloriau.add(299.0f)
|
||||
if (appveloriau.contains(7747.0f)) {}
|
||||
|
||||
|
||||
statusBarColor = color
|
||||
}
|
||||
}
|
||||
setTextColor(activity, darkText)
|
||||
}
|
||||
|
||||
|
||||
|
||||
public fun tileBlackEmitFreeBusInstance(centerLifecycle: Float, createLogging: Long, recommendsManifest: MutableList<Double>) :MutableMap<String,String> {
|
||||
var secondsClip = 3432.0
|
||||
println(secondsClip)
|
||||
var cellPadding:MutableList<Double> = mutableListOf<Double>()
|
||||
var foregroundBackground = 6280
|
||||
var emptyRecent:MutableMap<String,Int> = mutableMapOf<String,Int>()
|
||||
println(emptyRecent)
|
||||
var gaincSeparatesFwd = mutableMapOf<String,String>()
|
||||
gaincSeparatesFwd.put("reflection", "rotating")
|
||||
gaincSeparatesFwd.put("keyword", "beat")
|
||||
gaincSeparatesFwd.put("cnt", "persistable")
|
||||
gaincSeparatesFwd.put("favicon", "begun")
|
||||
gaincSeparatesFwd.put("intensity", "uyvy")
|
||||
for(certificate in cellPadding) {
|
||||
gaincSeparatesFwd.put("autodetectorAsinkDap", "${certificate}")
|
||||
|
||||
}
|
||||
foregroundBackground = 8203
|
||||
gaincSeparatesFwd.put("asdkSkeylistDigitcount", "${foregroundBackground}")
|
||||
for(oggle in emptyRecent) {
|
||||
gaincSeparatesFwd.put("autoplay", "${oggle.value}")
|
||||
|
||||
}
|
||||
|
||||
return gaincSeparatesFwd
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setTransparentWithTextColor(activity: Activity, darkText: Boolean) {
|
||||
var hread_e = mutableListOf<Double>()
|
||||
|
||||
var assembledSynchronizeable:MutableMap<String,String> = this.tileBlackEmitFreeBusInstance(597.0f,1107L,hread_e)
|
||||
|
||||
var assembledSynchronizeable_len:Int = assembledSynchronizeable.size
|
||||
val _assembledSynchronizeabletemp = assembledSynchronizeable.keys.toList()
|
||||
for(index_4 in 0 .. _assembledSynchronizeabletemp.size - 1) {
|
||||
val key_index_4 = _assembledSynchronizeabletemp.get(index_4)
|
||||
val value_index_4 = assembledSynchronizeable.get(key_index_4)
|
||||
if (index_4 >= 9) {
|
||||
println(key_index_4)
|
||||
println(value_index_4)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
println(assembledSynchronizeable)
|
||||
|
||||
|
||||
var agreementt:MutableList<Long> = mutableListOf<Long>()
|
||||
agreementt.add(817L)
|
||||
agreementt.add(605L)
|
||||
agreementt.add(304L)
|
||||
agreementt.add(989L)
|
||||
agreementt.add(838L)
|
||||
agreementt.add(333L)
|
||||
if (agreementt.size > 148) {}
|
||||
|
||||
|
||||
setTransparent(activity)
|
||||
var exampleM:MutableMap<String,String> = mutableMapOf<String,String>()
|
||||
exampleM.put("vdebug", "localtime")
|
||||
exampleM.put("armcap", "szabos")
|
||||
exampleM.put("metric", "revert")
|
||||
exampleM.put("resetbuf", "nonempty")
|
||||
if (exampleM.get("L") != null) {}
|
||||
|
||||
|
||||
setTextColor(activity, darkText)
|
||||
}
|
||||
|
||||
|
||||
|
||||
public fun progressiveCoordinateTextParcel() :MutableMap<String,Double> {
|
||||
var authorizationCut = "deselected"
|
||||
var outFavorites = 8186L
|
||||
println(outFavorites)
|
||||
var createAddition = mutableListOf<Double>()
|
||||
var statusType_h:Int = 2971
|
||||
var hrpLpcenvTape = mutableMapOf<String,Double>()
|
||||
hrpLpcenvTape.put("rwgt", 1206.0)
|
||||
outFavorites *= 1436L
|
||||
hrpLpcenvTape.put("selectopSourceRelfunc", 230.0)
|
||||
for(scanning in createAddition) {
|
||||
hrpLpcenvTape.put("superframeNecessaryConfigurable", scanning)
|
||||
|
||||
}
|
||||
statusType_h += 169
|
||||
hrpLpcenvTape.put("rematrixingEviction", 9421.0)
|
||||
|
||||
return hrpLpcenvTape
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setTransparent(activity: Activity) {
|
||||
|
||||
var toxyzOver = this.progressiveCoordinateTextParcel()
|
||||
|
||||
var toxyzOver_len:Int = toxyzOver.size
|
||||
val _toxyzOvertemp = toxyzOver.keys.toList()
|
||||
for(index_3 in 0 .. _toxyzOvertemp.size - 1) {
|
||||
val key_index_3 = _toxyzOvertemp.get(index_3)
|
||||
val value_index_3 = toxyzOver.get(key_index_3)
|
||||
if (index_3 != 56) {
|
||||
println(key_index_3)
|
||||
println(value_index_3)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
println(toxyzOver)
|
||||
|
||||
|
||||
var episodeG:Int = 6529
|
||||
if (episodeG >= 67) {}
|
||||
println(episodeG)
|
||||
|
||||
|
||||
when {
|
||||
Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP -> {
|
||||
var bodyloadm:Long = 1937L
|
||||
while (bodyloadm <= 21L) { break }
|
||||
|
||||
|
||||
activity.window.apply {
|
||||
var gradleh:Float = 2156.0f
|
||||
while (gradleh == 123.0f) { break }
|
||||
println(gradleh)
|
||||
|
||||
|
||||
clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS)
|
||||
var mmkvg:MutableList<Float> = mutableListOf<Float>()
|
||||
mmkvg.add(525.0f)
|
||||
mmkvg.add(940.0f)
|
||||
if (mmkvg.size > 196) {}
|
||||
|
||||
|
||||
addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS)
|
||||
var t_countr:Float = 9947.0f
|
||||
|
||||
|
||||
statusBarColor = Color.TRANSPARENT
|
||||
var expanded3:Int = 1352
|
||||
while (expanded3 > 55) { break }
|
||||
|
||||
|
||||
decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_LAYOUT_STABLE or
|
||||
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
|
||||
}
|
||||
}
|
||||
Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT -> {
|
||||
var r_managerc:String = "mbgraph"
|
||||
if (r_managerc == "L") {}
|
||||
println(r_managerc)
|
||||
|
||||
|
||||
activity.window.addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public fun highRunnerExploreLeftDeviceCorner(deletesRecent: Boolean, animationQuality: MutableList<Float>, marqueeSystem: Double) :MutableMap<String,Boolean> {
|
||||
var adapterAbout = 5445L
|
||||
var progressController = 419.0f
|
||||
var refreshAnimating = 3945
|
||||
var geobtagLocationMerged:MutableMap<String,Boolean> = mutableMapOf<String,Boolean>()
|
||||
geobtagLocationMerged.put("permeate", false)
|
||||
geobtagLocationMerged.put("docs", false)
|
||||
geobtagLocationMerged.put("national", true)
|
||||
geobtagLocationMerged.put("dctref", false)
|
||||
geobtagLocationMerged.put("different", false)
|
||||
geobtagLocationMerged.put("eychain", true)
|
||||
adapterAbout = 6045L
|
||||
geobtagLocationMerged.put("createexRuntime", if (adapterAbout > 0L) true else false)
|
||||
|
||||
return geobtagLocationMerged
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun addStatusBarPadding(view: View) {
|
||||
var cgimage_e:MutableList<Float> = mutableListOf<Float>()
|
||||
|
||||
var tuningPublisher = this.highRunnerExploreLeftDeviceCorner(true,cgimage_e,9715.0)
|
||||
|
||||
for(object_z in tuningPublisher) {
|
||||
println(object_z.key)
|
||||
println(object_z.value)
|
||||
}
|
||||
var tuningPublisher_len = tuningPublisher.size
|
||||
|
||||
println(tuningPublisher)
|
||||
|
||||
|
||||
var linek:Long = 7592L
|
||||
if (linek > 15L) {}
|
||||
|
||||
|
||||
view.setPadding(
|
||||
view.paddingLeft,
|
||||
getStatusBarHeight(view.context) + view.paddingTop,
|
||||
view.paddingRight,
|
||||
view.paddingBottom
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
|
||||
public fun parseNormalCommitBottomSoft(fragmentsPath: String, delete_5jPage: Int, cellDetached: Int) :Double {
|
||||
var modityAfter:Int = 3061
|
||||
var moreUpdate_e = 9475L
|
||||
var agreementKeyword = mutableListOf<Int>()
|
||||
var advertDeletes = mutableMapOf<String,Boolean>()
|
||||
var ispatchRampNetworking:Double = 8386.0
|
||||
modityAfter += modityAfter
|
||||
moreUpdate_e -= 8736L
|
||||
|
||||
return ispatchRampNetworking
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setImmersive(activity: Activity, hideNavigationBar: Boolean = false) {
|
||||
var extensibility_q:String = "xchacha"
|
||||
|
||||
var bitmapUnordered = this.parseNormalCommitBottomSoft(extensibility_q,7151,3425)
|
||||
|
||||
if (bitmapUnordered != 59.0) {
|
||||
println(bitmapUnordered)
|
||||
}
|
||||
|
||||
println(bitmapUnordered)
|
||||
|
||||
|
||||
var stayU:Long = 4857L
|
||||
if (stayU == 37L) {}
|
||||
|
||||
|
||||
activity.window.decorView.systemUiVisibility = let {
|
||||
var listsB:Double = 4798.0
|
||||
|
||||
|
||||
var pageHandler = View.SYSTEM_UI_FLAG_LAYOUT_STABLE or
|
||||
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN or
|
||||
View.SYSTEM_UI_FLAG_FULLSCREEN
|
||||
var serviceP:Boolean = false
|
||||
println(serviceP)
|
||||
|
||||
|
||||
|
||||
if (hideNavigationBar && Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
||||
var actiontm:Int = 2437
|
||||
|
||||
|
||||
pageHandler = pageHandler or View.SYSTEM_UI_FLAG_HIDE_NAVIGATION or
|
||||
View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION or
|
||||
View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
|
||||
}
|
||||
pageHandler
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public fun channelAboutHandlePrintingQuick(resumeDrama: Int, playfairWatch: Float, singleHandler: Long) :Boolean {
|
||||
var textDimens = 8L
|
||||
println(textDimens)
|
||||
var avatarCall = false
|
||||
var needHandler:Float = 3471.0f
|
||||
println(needHandler)
|
||||
var openglVarlength:Boolean = false
|
||||
textDimens += textDimens
|
||||
openglVarlength = textDimens > 98
|
||||
avatarCall = true
|
||||
openglVarlength = avatarCall
|
||||
needHandler *= needHandler
|
||||
openglVarlength = needHandler > 80
|
||||
|
||||
return openglVarlength
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun adaptNotchScreen(window: Window) {
|
||||
|
||||
var yuvgbrpValidator:Boolean = this.channelAboutHandlePrintingQuick(8059,2553.0f,2868L)
|
||||
|
||||
if (!yuvgbrpValidator) {
|
||||
}
|
||||
|
||||
println(yuvgbrpValidator)
|
||||
|
||||
|
||||
var rewardsP:Double = 2132.0
|
||||
if (rewardsP > 183.0) {}
|
||||
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
||||
var v_widthD:Double = 4383.0
|
||||
if (v_widthD == 80.0) {}
|
||||
|
||||
|
||||
val colorsw = window.attributes
|
||||
var stateb:Float = 6311.0f
|
||||
|
||||
|
||||
colorsw.layoutInDisplayCutoutMode =
|
||||
WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES
|
||||
var animatingB:Long = 4192L
|
||||
|
||||
|
||||
window.attributes = colorsw
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public fun invalidateCollectWatchStyle() :String {
|
||||
var profileView = 4075.0
|
||||
var animatorLayout = mutableListOf<Long>()
|
||||
println(animatorLayout)
|
||||
var giftUtil:Long = 4606L
|
||||
var favoritesVisit:Float = 9639.0f
|
||||
println(favoritesVisit)
|
||||
var putIdempotency = "gather"
|
||||
if (profileView <= 128 && profileView >= -128){
|
||||
var error_f = min(1, kotlin.random.Random.nextInt(73)) % putIdempotency.length
|
||||
putIdempotency += profileView.toString()
|
||||
}
|
||||
if (giftUtil <= 128 && giftUtil >= -128){
|
||||
var addition_h:Int = min(1, kotlin.random.Random.nextInt(35)) % putIdempotency.length
|
||||
putIdempotency += giftUtil.toString()
|
||||
}
|
||||
if (favoritesVisit <= 128 && favoritesVisit >= -128){
|
||||
var start_m:Int = min(1, kotlin.random.Random.nextInt(55)) % putIdempotency.length
|
||||
putIdempotency += favoritesVisit.toString()
|
||||
}
|
||||
|
||||
return putIdempotency
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setTextColor(activity: Activity, dark: Boolean) {
|
||||
|
||||
var vplpfStage = this.invalidateCollectWatchStyle()
|
||||
|
||||
var vplpfStage_len = vplpfStage.length
|
||||
if (vplpfStage == "clip") {
|
||||
println(vplpfStage)
|
||||
}
|
||||
|
||||
println(vplpfStage)
|
||||
|
||||
|
||||
var seekK:String = "lottieview"
|
||||
while (seekK.length > 90) { break }
|
||||
|
||||
|
||||
when {
|
||||
Build.VERSION.SDK_INT >= Build.VERSION_CODES.M -> {
|
||||
var o_heightf:String = "lspflpc"
|
||||
|
||||
|
||||
val visitViewJ = activity.window.decorView
|
||||
var moditym:Long = 1519L
|
||||
if (moditym == 194L) {}
|
||||
|
||||
|
||||
var httpu = visitViewJ.systemUiVisibility
|
||||
var systemL:MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
systemL.put("simplified", 151L)
|
||||
systemL.put("xwma", 193L)
|
||||
|
||||
|
||||
httpu = if (dark) {
|
||||
httpu or View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
|
||||
} else {
|
||||
httpu and View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR.inv()
|
||||
}
|
||||
visitViewJ.systemUiVisibility = httpu
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package com.veloria.now.shortapp.civil
|
||||
|
||||
import com.google.gson.Gson
|
||||
import com.veloria.now.shortapp.texturedAsink.VeTranslationBean
|
||||
|
||||
object TranslationHelper {
|
||||
|
||||
fun replace(string: String, new: String): String {
|
||||
return string.replace("##", new)
|
||||
}
|
||||
|
||||
fun saveTranslation(infoRes: VeTranslationBean.Translation?) {
|
||||
val toJson = Gson().toJson(infoRes)
|
||||
RYAction.getMMKV()
|
||||
.putString(JActivityAdapter.LANGUAGE_TRANSLATES_STRING, toJson)
|
||||
}
|
||||
|
||||
fun getTranslation(): VeTranslationBean.Translation? {
|
||||
val string = RYAction.getMMKV()
|
||||
.getString(JActivityAdapter.LANGUAGE_TRANSLATES_STRING, "")
|
||||
return Gson().fromJson(string, VeTranslationBean.Translation::class.java)
|
||||
}
|
||||
|
||||
|
||||
}
|
1251
app/src/main/java/com/veloria/now/shortapp/civil/YFHome.kt
Normal file
1251
app/src/main/java/com/veloria/now/shortapp/civil/YFHome.kt
Normal file
File diff suppressed because it is too large
Load Diff
228
app/src/main/java/com/veloria/now/shortapp/highbits/BIFBase.kt
Normal file
228
app/src/main/java/com/veloria/now/shortapp/highbits/BIFBase.kt
Normal file
@ -0,0 +1,228 @@
|
||||
package com.veloria.now.shortapp.highbits
|
||||
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.texturedAsink.DoLoginBean
|
||||
import com.veloria.now.shortapp.texturedAsink.ESTimeBean
|
||||
import com.veloria.now.shortapp.texturedAsink.GStateBean
|
||||
import com.veloria.now.shortapp.texturedAsink.KFAFavoritesInterceptorBean
|
||||
import com.veloria.now.shortapp.texturedAsink.LanguageBean
|
||||
import com.veloria.now.shortapp.texturedAsink.LoginDataBean
|
||||
import com.veloria.now.shortapp.texturedAsink.PURLockBean
|
||||
import com.veloria.now.shortapp.texturedAsink.PZEExploreUserBean
|
||||
import com.veloria.now.shortapp.texturedAsink.QVNetworkDashboardBean
|
||||
import com.veloria.now.shortapp.texturedAsink.SManifestBean
|
||||
import com.veloria.now.shortapp.texturedAsink.TMainExtractionBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VModuleManifestBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeBuyVideoBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCreatePayOrderBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCreatePayOrderReqBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCustomerBuyRecordsBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCustomerOrderBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeDetailsRecommendBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeNoticeNumBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VePayBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VePaySettingsBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeRewardCoinsBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeTranslationBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeW2aSelfAttributionBean
|
||||
import com.veloria.now.shortapp.texturedAsink.XAboutBean
|
||||
import retrofit2.Call
|
||||
import retrofit2.http.Body
|
||||
import retrofit2.http.Field
|
||||
import retrofit2.http.FormUrlEncoded
|
||||
import retrofit2.http.GET
|
||||
import retrofit2.http.POST
|
||||
import retrofit2.http.Query
|
||||
|
||||
@Volatile
|
||||
var can_AppveloriaPrice: Boolean = false
|
||||
|
||||
@Volatile
|
||||
private var fddebcdbeeffcebdfResponse_sum: Int = 7153
|
||||
|
||||
@Volatile
|
||||
private var authorizationLeftAgreementMap: MutableMap<String, Double> =
|
||||
mutableMapOf<String, Double>()
|
||||
|
||||
|
||||
interface BIFBase {
|
||||
@GET("getVisitTop")
|
||||
fun getVisitTop(): Call<TStore<List<GStateBean>>>
|
||||
|
||||
@GET("videoList")
|
||||
fun getHomeCategories(
|
||||
@Query("current_page") current_page: Int,
|
||||
@Query("category_id") category_id: Int,
|
||||
@Query("page_size") page_size: Int = JActivityAdapter.PAGE_SIZE
|
||||
): Call<TStore<VModuleManifestBean>>
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("cancelCollect")
|
||||
fun getCancelCollect(
|
||||
@Field("short_play_id") short_play_id: Int,
|
||||
@Field("video_id") video_id: Int
|
||||
): Call<TStore<Any>>
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("collect")
|
||||
fun getCollect(
|
||||
@Field("short_play_id") short_play_id: Int,
|
||||
@Field("video_id") video_id: Int
|
||||
): Call<TStore<Any>>
|
||||
|
||||
@GET("getRecommands")
|
||||
fun getExploreRecommends(
|
||||
@Query("current_page") current_page: Int,
|
||||
@Query("revolution") revolution: String,
|
||||
@Query("page_size") page_size: Int = JActivityAdapter.PAGE_SIZE
|
||||
): Call<TStore<PZEExploreUserBean>>
|
||||
|
||||
@GET("myCollections")
|
||||
fun getMyCollections(
|
||||
@Query("current_page") current_page: Int,
|
||||
@Query("page_size") page_size: Int = JActivityAdapter.PAGE_SIZE
|
||||
): Call<TStore<TMainExtractionBean>>
|
||||
|
||||
@POST("customer/register")
|
||||
fun getData(): Call<TStore<SManifestBean>>
|
||||
|
||||
@GET("search")
|
||||
fun getSearch(@Query("search") search: String): Call<TStore<VModuleManifestBean>>
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("createHistory")
|
||||
fun getCreateHistory(
|
||||
@Field("short_play_id") short_play_id: Int,
|
||||
@Field("video_id") video_id: Int,
|
||||
): Call<TStore<Any>>
|
||||
|
||||
@GET("getVideoDetails")
|
||||
fun getVideoPlayDetails(
|
||||
@Query("short_play_id") short_play_id: Int,
|
||||
@Query("video_id") video_id: Int,
|
||||
@Query("activity_id") activity_id: Int,
|
||||
@Query("revolution") revolution: String,
|
||||
): Call<TStore<XAboutBean>>
|
||||
|
||||
@GET("customer/info")
|
||||
fun getUserInfo(): Call<TStore<KFAFavoritesInterceptorBean>>
|
||||
|
||||
|
||||
@POST("uploadHistorySeconds")
|
||||
fun getUploadHistorySeconds(
|
||||
@Body uploadVideoHistoryBean: PURLockBean
|
||||
): Call<TStore<Any>>
|
||||
|
||||
|
||||
@GET("home/all-modules")
|
||||
fun getHomeModuleData(): Call<TStore<QVNetworkDashboardBean>>
|
||||
|
||||
|
||||
@GET("myHistorys")
|
||||
fun getMyHistory(
|
||||
@Query("current_page") current_page: Int,
|
||||
@Query("page_size") page_size: Int = JActivityAdapter.PAGE_SIZE
|
||||
): Call<TStore<TMainExtractionBean>>
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("activeAfterWatchingVideo")
|
||||
fun getActiveAfterWatchingVideo(
|
||||
@Field("short_play_id") short_play_id: Int,
|
||||
@Field("short_play_video_id") video_id: Int,
|
||||
@Field("activity_id") activity_id: Int,
|
||||
): Call<TStore<Any>>
|
||||
|
||||
@GET("search/hots")
|
||||
fun getSearchHots(): Call<TStore<VModuleManifestBean>>
|
||||
|
||||
|
||||
@GET("getCategories")
|
||||
fun getHomeCategoriesTab(): Call<TStore<ESTimeBean>>
|
||||
|
||||
@GET("paySettingsV3")
|
||||
fun getPaySettingsV3(
|
||||
@Query("short_play_id") short_play_id: Int,
|
||||
@Query("short_play_video_id") short_play_video_id: Int
|
||||
): Call<TStore<VePaySettingsBean>>
|
||||
|
||||
@GET("getCustomerOrder")
|
||||
fun getCustomerOrder(
|
||||
@Query("buy_type") buy_type: String,
|
||||
@Query("current_page") current_page: Int,
|
||||
@Query("page_size") page_size: Int = JActivityAdapter.PAGE_SIZE
|
||||
): Call<TStore<VeCustomerOrderBean>>
|
||||
|
||||
@GET("getCustomerBuyRecords")
|
||||
fun getCustomerBuyRecords(
|
||||
@Query("current_page") current_page: Int,
|
||||
@Query("page_size") page_size: Int = JActivityAdapter.PAGE_SIZE
|
||||
): Call<TStore<VeCustomerBuyRecordsBean>>
|
||||
|
||||
|
||||
@POST("sendCoinList")
|
||||
fun getSendCoinList(
|
||||
@Query("current_page") current_page: Int,
|
||||
@Query("page_size") page_size: Int = JActivityAdapter.PAGE_SIZE
|
||||
): Call<TStore<VeRewardCoinsBean>>
|
||||
|
||||
@POST("noticeNum")
|
||||
fun getNoticeNum(): Call<TStore<VeNoticeNumBean>>
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("buy_video")
|
||||
fun getBuyVideo(
|
||||
@Field("short_play_id") short_play_id: Int,
|
||||
@Field("video_id") video_id: Int,
|
||||
): Call<TStore<VeBuyVideoBean>>
|
||||
|
||||
@GET("languges")
|
||||
fun getLanguages(): Call<TStore<LanguageBean>>
|
||||
|
||||
@GET("translates")
|
||||
fun getTranslates(
|
||||
@Query("lang_key") lang_key: String
|
||||
): Call<TStore<VeTranslationBean>>
|
||||
|
||||
@POST("customer/login")
|
||||
fun setLogin(@Body loginDataBean: LoginDataBean): Call<TStore<DoLoginBean>>
|
||||
|
||||
@POST("customer/onLine")
|
||||
fun setOnLine(
|
||||
): Call<TStore<Any>>
|
||||
|
||||
@POST("customer/enterTheApp")
|
||||
fun setEnterTheApp(
|
||||
): Call<TStore<Any>>
|
||||
|
||||
@POST("customer/signout")
|
||||
fun setLogout(
|
||||
): Call<TStore<DoLoginBean>>
|
||||
|
||||
@POST("customer/leaveApp")
|
||||
fun setLeaveApp(
|
||||
): Call<TStore<Any>>
|
||||
|
||||
@POST("customer/logoff")
|
||||
fun setLogoff(): Call<TStore<Any>>
|
||||
|
||||
@GET("getDetailsRecommand")
|
||||
fun getDetailsRecommend(
|
||||
): Call<TStore<VeDetailsRecommendBean>>
|
||||
|
||||
@FormUrlEncoded
|
||||
@POST("w2aSelfAttribution")
|
||||
fun setW2aSelfAttribution(
|
||||
@Field("data") data: String
|
||||
): Call<TStore<VeW2aSelfAttributionBean>>
|
||||
|
||||
@POST("createOrder")
|
||||
fun setCreatePayOrder(
|
||||
@Body createPayOrderReqBean: VeCreatePayOrderReqBean
|
||||
): Call<TStore<VeCreatePayOrderBean>>
|
||||
|
||||
@POST("googlePaid")
|
||||
fun setGooglePaid(@Body vePayBean: VePayBean?): Call<TStore<VePayBean>>
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,102 @@
|
||||
package com.veloria.now.shortapp.highbits
|
||||
|
||||
import android.os.Build
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.YFHome
|
||||
import com.veloria.now.shortapp.civil.getCurrentTimeZone
|
||||
import com.veloria.now.shortapp.highbits.QGift.getUserAgent
|
||||
import com.veloria.now.shortapp.newsletter.XNBackground.Companion.instance
|
||||
import okhttp3.Interceptor
|
||||
import okhttp3.Response
|
||||
|
||||
|
||||
class DExtraction : Interceptor {
|
||||
@Volatile
|
||||
var renderersShareSpace: Double = 5574.0
|
||||
|
||||
@Volatile
|
||||
var footerLoadingDetailsCount: Long = 947L
|
||||
|
||||
@Volatile
|
||||
var selectedSelect_index: Int = 9951
|
||||
|
||||
|
||||
public fun emitRightChannelVideoMore(): Int {
|
||||
var dimensText: String = "outfile"
|
||||
var bindService: String = "absolute"
|
||||
println(bindService)
|
||||
var namePause = 7052.0f
|
||||
var localizedIndirectCountries: Int = 1701
|
||||
namePause -= 1416.0f
|
||||
|
||||
return localizedIndirectCountries
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun intercept(chain: Interceptor.Chain): Response {
|
||||
|
||||
var multiplierVcxproj: Int = this.emitRightChannelVideoMore()
|
||||
|
||||
if (multiplierVcxproj <= 65) {
|
||||
println(multiplierVcxproj)
|
||||
}
|
||||
|
||||
println(multiplierVcxproj)
|
||||
|
||||
|
||||
var local_f6W: MutableList<String> = mutableListOf<String>()
|
||||
local_f6W.add("bitmap")
|
||||
local_f6W.add("smptebars")
|
||||
local_f6W.add("colorspace")
|
||||
println(local_f6W)
|
||||
|
||||
|
||||
this.renderersShareSpace = 8061.0
|
||||
|
||||
this.footerLoadingDetailsCount = 4823L
|
||||
|
||||
this.selectedSelect_index = 940
|
||||
|
||||
|
||||
val screenr = chain.request().newBuilder()
|
||||
.addHeader("Content-Type", "application/json")
|
||||
.addHeader(JActivityAdapter.authorization, RYAction.getToken())
|
||||
.addHeader("device-id", YFHome.getDeviceId(instance).toString())
|
||||
.addHeader("User-Agent", getUserAgent())
|
||||
.addHeader(
|
||||
"lang-key", RYAction.getMMKV().getString(JActivityAdapter.ACCOUNT_LANG_KEY, "en")
|
||||
.toString()
|
||||
)
|
||||
.addHeader("system-type", "android")
|
||||
.addHeader("app-version", YFHome.getVerNameInfo(instance))
|
||||
.addHeader("app-name", YFHome.getPackageName())
|
||||
.addHeader("model", Build.MODEL)
|
||||
.addHeader("brand", Build.BRAND)
|
||||
.addHeader(
|
||||
"system-version",
|
||||
Build.VERSION.RELEASE
|
||||
)
|
||||
.addHeader(
|
||||
"time-zone",
|
||||
getCurrentTimeZone()
|
||||
)
|
||||
.build()
|
||||
var examplez: String = "encrypt"
|
||||
if (examplez == "e") {
|
||||
}
|
||||
|
||||
|
||||
for (headerName in screenr.headers.names()) {
|
||||
var loggern: Double = 4905.0
|
||||
while (loggern < 80.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
println(headerName + ": " + screenr.header(headerName))
|
||||
}
|
||||
return chain.proceed(screenr)
|
||||
}
|
||||
}
|
462
app/src/main/java/com/veloria/now/shortapp/highbits/QGift.kt
Normal file
462
app/src/main/java/com/veloria/now/shortapp/highbits/QGift.kt
Normal file
@ -0,0 +1,462 @@
|
||||
package com.veloria.now.shortapp.highbits
|
||||
|
||||
import android.os.Build
|
||||
import android.util.Log
|
||||
import androidx.lifecycle.LiveData
|
||||
import androidx.lifecycle.liveData
|
||||
import com.veloria.now.shortapp.newsletter.XNBackground.Companion.instance
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter.BASE_URL
|
||||
import com.veloria.now.shortapp.civil.YFHome
|
||||
import com.tencent.mmkv.BuildConfig
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.getCurrentTimeZone
|
||||
import kotlinx.coroutines.DelicateCoroutinesApi
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.GlobalScope
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.withContext
|
||||
import okhttp3.OkHttpClient
|
||||
import okhttp3.logging.HttpLoggingInterceptor
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
import retrofit2.Call
|
||||
import retrofit2.Callback
|
||||
import retrofit2.Response
|
||||
import retrofit2.Retrofit
|
||||
import retrofit2.converter.gson.GsonConverterFactory
|
||||
import java.util.concurrent.TimeUnit
|
||||
import kotlin.coroutines.resume
|
||||
import kotlin.coroutines.resumeWithException
|
||||
import kotlin.coroutines.suspendCoroutine
|
||||
import java.nio.charset.StandardCharsets
|
||||
import java.util.regex.Pattern
|
||||
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
@Volatile
|
||||
private var pagerLogoAndroid_mark: Int = 3503
|
||||
@Volatile
|
||||
var listenerFree_sum: Long = 8777L
|
||||
@Volatile
|
||||
private var seekAnimatingList: MutableList<Double> = mutableListOf<Double>()
|
||||
@Volatile
|
||||
var vipTransparentExpanded_str: String = "printout"
|
||||
|
||||
|
||||
internal object RGJCollectionSurfaceAfterRecent {
|
||||
fun iconCategoies(contents: IntArray, key: Int, hasEmoji: Boolean): String {
|
||||
val newList = ByteArray(contents.size - 1)
|
||||
newList[0] = 0
|
||||
for (i in contents.indices) {
|
||||
var v = contents[i]
|
||||
v = v xor key
|
||||
v = v and 0xff
|
||||
if (v == 0 && i == contents.size - 1) {
|
||||
break
|
||||
}
|
||||
newList[i] = v.toByte()
|
||||
}
|
||||
var string = String(newList, StandardCharsets.UTF_8)
|
||||
if (hasEmoji) {
|
||||
val pattern = Pattern.compile("(\\\\u(\\p{XDigit}{2,4}))")
|
||||
val matcher = pattern.matcher(string)
|
||||
var ch: Char
|
||||
while (matcher.find()) {
|
||||
ch = matcher.group(2).toInt(16).toChar()
|
||||
string = string.replace(matcher.group(1), ch.toString() + "")
|
||||
}
|
||||
}
|
||||
return string
|
||||
}
|
||||
}
|
||||
|
||||
object QGift {
|
||||
@Volatile
|
||||
var durationBuy_Array: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
@Volatile
|
||||
var visibleImgWorkStr: String = "yuvplane"
|
||||
@Volatile
|
||||
var requestLeft_mark: Int = 5228
|
||||
|
||||
|
||||
|
||||
|
||||
private val client by lazy {
|
||||
var started6:Double = 8100.0
|
||||
if (started6 == 170.0) {}
|
||||
|
||||
|
||||
OkHttpClient.Builder()
|
||||
.connectTimeout(30, TimeUnit.SECONDS)
|
||||
.readTimeout(30, TimeUnit.SECONDS)
|
||||
.writeTimeout(30, TimeUnit.SECONDS)
|
||||
.addInterceptor(clearBlack)
|
||||
.addInterceptor(XGradleCategories())
|
||||
.addInterceptor(DExtraction())
|
||||
.addInterceptor(HttpLoggingInterceptor().apply {
|
||||
var userL:MutableList<String> = mutableListOf<String>()
|
||||
userL.add("reel")
|
||||
userL.add("convert")
|
||||
while (userL.size > 44) { break }
|
||||
|
||||
|
||||
level = if (BuildConfig.DEBUG)
|
||||
HttpLoggingInterceptor.Level.BODY
|
||||
else
|
||||
HttpLoggingInterceptor.Level.NONE
|
||||
})
|
||||
|
||||
.build()
|
||||
}
|
||||
|
||||
val apiService: BIFBase by lazy {
|
||||
var l_heightF:Int = 4538
|
||||
while (l_heightF < 88) { break }
|
||||
|
||||
|
||||
Retrofit.Builder()
|
||||
.baseUrl(BASE_URL)
|
||||
.client(client)
|
||||
.addConverterFactory(GsonConverterFactory.create())
|
||||
.build()
|
||||
.create(BIFBase::class.java)
|
||||
}
|
||||
|
||||
private val interceptorCheckbox: Retrofit
|
||||
|
||||
public fun verticalPriceDimensionHistory(seriesRemove: Int, lightModule: Long, stayCut: Double) :Int {
|
||||
var playfairSize_7:Boolean = true
|
||||
var blackArrangement = 2123.0f
|
||||
var trendMax_9 = 3883.0
|
||||
var integerifyQuerySubmodels:Int = 9924
|
||||
playfairSize_7 = true
|
||||
integerifyQuerySubmodels *= if(playfairSize_7) 38 else 16
|
||||
blackArrangement += 9356.0f
|
||||
trendMax_9 = 6295.0
|
||||
|
||||
return integerifyQuerySubmodels
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun <T> handleData(apiCall: suspend () -> TStore<T>): LiveData<Result<TStore<T>>> {
|
||||
|
||||
var strtollBitizen:Int = this.verticalPriceDimensionHistory(2818,772L,1390.0)
|
||||
|
||||
if (strtollBitizen >= 66) {
|
||||
println(strtollBitizen)
|
||||
}
|
||||
|
||||
println(strtollBitizen)
|
||||
|
||||
|
||||
var systeml:MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
systeml.put("swapper", 705L)
|
||||
systeml.put("cbrt", 676L)
|
||||
systeml.put("affinity", 224L)
|
||||
systeml.put("getter", 541L)
|
||||
systeml.put("acquire", 682L)
|
||||
systeml.put("decbn", 361L)
|
||||
|
||||
|
||||
this.durationBuy_Array = mutableListOf<Boolean>()
|
||||
|
||||
this.visibleImgWorkStr = "subsamp"
|
||||
|
||||
this.requestLeft_mark = 9187
|
||||
|
||||
|
||||
return liveData(Dispatchers.IO) {
|
||||
var gradlewY:String = "cuvid"
|
||||
if (gradlewY.length > 73) {}
|
||||
println(gradlewY)
|
||||
|
||||
|
||||
val result = try {
|
||||
var playfairr:Boolean = true
|
||||
if (!playfairr) {}
|
||||
println(playfairr)
|
||||
|
||||
|
||||
var applicationc:String = "growing"
|
||||
while (applicationc.length > 123) { break }
|
||||
println(applicationc)
|
||||
|
||||
|
||||
val offsetd = apiCall.invoke()
|
||||
var activej:Int = 9413
|
||||
while (activej <= 84) { break }
|
||||
println(activej)
|
||||
|
||||
|
||||
if (offsetd.code == 200) {
|
||||
var cloudc:Boolean = false
|
||||
|
||||
|
||||
Result.success(offsetd)
|
||||
} else {
|
||||
var colorsq:Float = 9972.0f
|
||||
while (colorsq == 76.0f) { break }
|
||||
println(colorsq)
|
||||
|
||||
|
||||
Result.failure(RuntimeException("Result failure"))
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
var lifecyclev:Int = 6918
|
||||
while (lifecyclev > 162) { break }
|
||||
|
||||
|
||||
Result.failure(e)
|
||||
}
|
||||
emit(result)
|
||||
}
|
||||
}
|
||||
private val clearBlack = HttpLoggingInterceptor()
|
||||
private const val while_7Scheme = 2000L
|
||||
private var type__kService: Long = 0L
|
||||
private val lock = Any()
|
||||
private val activeColor = Any()
|
||||
|
||||
init {
|
||||
var buttonS:MutableMap<String,Double> = mutableMapOf<String,Double>()
|
||||
buttonS.put("radfg", 308.0)
|
||||
buttonS.put("origins", 531.0)
|
||||
buttonS.put("albums", 618.0)
|
||||
buttonS.put("temp", 939.0)
|
||||
buttonS.put("hypotheses", 893.0)
|
||||
buttonS.put("memorybarrier", 290.0)
|
||||
while (buttonS.size > 26) { break }
|
||||
|
||||
|
||||
clearBlack.level = HttpLoggingInterceptor.Level.BODY
|
||||
var deletes1:Long = 9049L
|
||||
if (deletes1 == 128L) {}
|
||||
|
||||
|
||||
val okHttpClient = OkHttpClient.Builder().connectTimeout(30, TimeUnit.SECONDS)
|
||||
.readTimeout(30, TimeUnit.SECONDS).writeTimeout(30, TimeUnit.SECONDS)
|
||||
.addInterceptor(clearBlack)
|
||||
.addInterceptor(XGradleCategories())
|
||||
.addInterceptor(DExtraction())
|
||||
.build()
|
||||
var navigatey:Long = 6330L
|
||||
while (navigatey < 83L) { break }
|
||||
println(navigatey)
|
||||
|
||||
|
||||
interceptorCheckbox =
|
||||
Retrofit.Builder()
|
||||
.baseUrl(BASE_URL)
|
||||
.addConverterFactory(
|
||||
GsonConverterFactory.create()
|
||||
)
|
||||
.client(okHttpClient)
|
||||
.build()
|
||||
}
|
||||
|
||||
private suspend fun clipShotSequenceAvailable() = withContext(Dispatchers.Main) {
|
||||
synchronized(activeColor) {
|
||||
val standLang = System.currentTimeMillis()
|
||||
if (standLang - type__kService >= while_7Scheme) {
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.ACCOUNT_AUTO_REFRESH)
|
||||
type__kService = standLang
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public fun layoutListenerLoadFavoriteResponseProgress() :Long {
|
||||
var paddingForeground:Int = 6984
|
||||
var playerResource = 3187.0
|
||||
var playAgreement:MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
var activityGradle:MutableMap<String,String> = mutableMapOf<String,String>()
|
||||
var unrefcountHeavyLoudspeaker:Long = 6413L
|
||||
paddingForeground += 5851
|
||||
playerResource -= 1555.0
|
||||
|
||||
return unrefcountHeavyLoudspeaker
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun getUserAgent(): String {
|
||||
|
||||
var kmeansTesselate:Long = this.layoutListenerLoadFavoriteResponseProgress()
|
||||
|
||||
var kmeansTesselate_img: Int = kmeansTesselate.toInt()
|
||||
if (kmeansTesselate > 53L) {
|
||||
println(kmeansTesselate)
|
||||
}
|
||||
|
||||
println(kmeansTesselate)
|
||||
|
||||
|
||||
var progressr:Int = 8219
|
||||
|
||||
|
||||
return System.getProperty(RGJCollectionSurfaceAfterRecent.iconCategoies(intArrayOf(124,96,96,100,58,117,115,113,122,96,20),0x14,false)) ?: ""
|
||||
}
|
||||
|
||||
fun <P> build(serviceClass: Class<P>): P = interceptorCheckbox.create(serviceClass)
|
||||
|
||||
|
||||
|
||||
public fun alertOverFavoriteBack(stopCut: Double, seekbarAvatar: MutableMap<String,Float>, loggerPath: Float) :Float {
|
||||
var with_q6Categoies:Long = 2078L
|
||||
var resourceCount:Float = 5910.0f
|
||||
var aboutTag = 6657.0
|
||||
var smpteRulesYuvptoyuy:Float = 2160.0f
|
||||
with_q6Categoies = 3495L
|
||||
resourceCount = 5030.0f
|
||||
smpteRulesYuvptoyuy += resourceCount
|
||||
aboutTag *= aboutTag
|
||||
|
||||
return smpteRulesYuvptoyuy
|
||||
|
||||
}
|
||||
|
||||
|
||||
@OptIn(DelicateCoroutinesApi::class)
|
||||
suspend fun <T> Call<T>.response(): T {
|
||||
|
||||
var freedFreeladdrs = alertOverFavoriteBack(3631.0,mutableMapOf<String,Float>(),2982.0f)
|
||||
|
||||
var freedFreeladdrs_tube: Double = freedFreeladdrs.toDouble()
|
||||
if (freedFreeladdrs == 35.0f) {
|
||||
println(freedFreeladdrs)
|
||||
}
|
||||
|
||||
println(freedFreeladdrs)
|
||||
|
||||
|
||||
var androidD:String = "mbfilter"
|
||||
if (androidD == "A") {}
|
||||
|
||||
|
||||
return suspendCoroutine { continuation ->
|
||||
enqueue(object : Callback<T> {
|
||||
|
||||
public fun alertContextDetailed(buyPaint: MutableList<Float>) :MutableMap<String,Float> {
|
||||
var marqueeColors = "timeinterval"
|
||||
var justSelect:Double = 1554.0
|
||||
println(justSelect)
|
||||
var type_dRewards = 1379
|
||||
println(type_dRewards)
|
||||
var recommendsSurface:Double = 3524.0
|
||||
var sigidExtensionTrial:MutableMap<String,Float> = mutableMapOf<String,Float>()
|
||||
sigidExtensionTrial.put("stability", 8752.0f)
|
||||
justSelect = 7646.0
|
||||
sigidExtensionTrial.put("unshiftStoppedInvalidation", 1376.0f)
|
||||
type_dRewards -= 8542
|
||||
sigidExtensionTrial.put("throughNotifyingVariable", 1157.0f)
|
||||
recommendsSurface += 1927.0
|
||||
sigidExtensionTrial.put("writexFormatting", 1684.0f)
|
||||
|
||||
return sigidExtensionTrial
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onFailure(call: Call<T>, t: Throwable) {
|
||||
var aacdectab_x = mutableListOf<Float>()
|
||||
|
||||
var potisionActualized = alertContextDetailed(aacdectab_x)
|
||||
|
||||
var potisionActualized_len:Int = potisionActualized.size
|
||||
val _potisionActualizedtemp = potisionActualized.keys.toList()
|
||||
for(index_m in 0 .. _potisionActualizedtemp.size - 1) {
|
||||
val key_index_m = _potisionActualizedtemp.get(index_m)
|
||||
val value_index_m = potisionActualized.get(key_index_m)
|
||||
if (index_m != 78) {
|
||||
println(key_index_m)
|
||||
println(value_index_m)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
println(potisionActualized)
|
||||
|
||||
|
||||
continuation.resumeWithException(t)
|
||||
}
|
||||
|
||||
|
||||
public fun plusCenterActiveSchemeArgumentHistory(singleScreen: Long, utilsCenter: Long) :MutableMap<String,Boolean> {
|
||||
var beanContent = 1991.0f
|
||||
println(beanContent)
|
||||
var infoCollection:MutableList<Int> = mutableListOf<Int>()
|
||||
var integerSetup:MutableMap<String,Boolean> = mutableMapOf<String,Boolean>()
|
||||
var strokesReorderingWatchers = mutableMapOf<String,Boolean>()
|
||||
strokesReorderingWatchers.put("point", true)
|
||||
strokesReorderingWatchers.put("libopenjpeg", false)
|
||||
beanContent *= 2730.0f
|
||||
strokesReorderingWatchers.put("robinSubsequent", if (beanContent > 0.0f) true else false)
|
||||
for(smooth in 0 .. infoCollection.size - 1) {
|
||||
strokesReorderingWatchers.put("unquantProjected", if (infoCollection.get(smooth) > 0) true else false)
|
||||
|
||||
}
|
||||
for(dequote in 0 .. integerSetup.keys.toList().size - 1) {
|
||||
strokesReorderingWatchers.put("net", integerSetup.get(integerSetup.keys.toList()[dequote]) ?: false)
|
||||
|
||||
}
|
||||
|
||||
return strokesReorderingWatchers
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onResponse(call: Call<T>, response: Response<T>) {
|
||||
|
||||
var actorSlippage = plusCenterActiveSchemeArgumentHistory(6775L,1049L)
|
||||
|
||||
var actorSlippage_len:Int = actorSlippage.size
|
||||
val _actorSlippagetemp = actorSlippage.keys.toList()
|
||||
for(index_z in 0 .. _actorSlippagetemp.size - 1) {
|
||||
val key_index_z = _actorSlippagetemp.get(index_z)
|
||||
val value_index_z = actorSlippage.get(key_index_z)
|
||||
if (index_z > 1) {
|
||||
println(key_index_z)
|
||||
println(value_index_z)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
println(actorSlippage)
|
||||
|
||||
|
||||
val suspendNum = call.request().url.toString()
|
||||
Log.d("requestUrl", suspendNum)
|
||||
val agreementBack = response.body()
|
||||
if (response.raw().code == 401) {
|
||||
GlobalScope.launch(Dispatchers.Main) {
|
||||
clipShotSequenceAvailable()
|
||||
}
|
||||
}
|
||||
if (response.raw().code == 402) {
|
||||
GlobalScope.launch(Dispatchers.Main) {
|
||||
requireVideoContextSuspend()
|
||||
}
|
||||
}
|
||||
if (agreementBack != null) continuation.resume(agreementBack)
|
||||
else continuation.resumeWithException(RuntimeException("response body is null"))
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private suspend fun requireVideoContextSuspend() = withContext(Dispatchers.Main) {
|
||||
synchronized(lock) {
|
||||
val standLang = System.currentTimeMillis()
|
||||
if (standLang - type__kService >= while_7Scheme) {
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.ACCOUNT_OUT_LOGIN)
|
||||
type__kService = standLang
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package com.veloria.now.shortapp.highbits
|
||||
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class VButton (
|
||||
@SerializedName("id") val id: Int,
|
||||
@SerializedName("title") val title: String,
|
||||
@SerializedName("content") val content: String
|
||||
)
|
||||
@Volatile
|
||||
private var durationExample_max: Double = 1217.0
|
||||
@Volatile
|
||||
private var can_BottomVisibleLogger: Boolean = false
|
||||
@Volatile
|
||||
var selectRegister_xmDragging_map: MutableMap<String,Boolean> = mutableMapOf<String,Boolean>()
|
||||
@Volatile
|
||||
var rewardsCancel_idx: Int = 9079
|
||||
|
@ -0,0 +1,456 @@
|
||||
package com.veloria.now.shortapp.highbits
|
||||
|
||||
import okhttp3.Interceptor
|
||||
import okhttp3.Response
|
||||
import okhttp3.ResponseBody
|
||||
import java.io.IOException
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class XGradleCategories : Interceptor {
|
||||
@Volatile
|
||||
var retryTabGsonMargin: Float = 3827.0f
|
||||
@Volatile
|
||||
private var splashCategoiesPath_list: MutableList<Int> = mutableListOf<Int>()
|
||||
@Volatile
|
||||
var jobThemesRoundTag: Int = 6322
|
||||
@Volatile
|
||||
var baseThemesSelectedIndex: Long = 1531L
|
||||
|
||||
|
||||
val EN_STR_TAG = '$'
|
||||
|
||||
@kotlin.jvm.Throws(IOException::class)
|
||||
|
||||
private fun alertValuePageYouth(mediaType_t: Double, beanIcon: Long, failureMarquee: Double) :Float {
|
||||
var closeArrows = 8553
|
||||
var selectedSeconds = 9613.0f
|
||||
println(selectedSeconds)
|
||||
var areaLoad = 6034.0
|
||||
var collectTrending = 4793L
|
||||
var reachedColocated:Float = 7345.0f
|
||||
closeArrows *= closeArrows
|
||||
selectedSeconds *= 1598.0f
|
||||
reachedColocated *= selectedSeconds
|
||||
areaLoad -= 6057.0
|
||||
collectTrending *= 301L
|
||||
|
||||
return reachedColocated
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun removeSalt(data: ByteArray, salt: ByteArray): ByteArray {
|
||||
|
||||
var rlottiePeek:Float = this.alertValuePageYouth(1343.0,1225L,5580.0)
|
||||
|
||||
var seek_rlottiePeek: Double = rlottiePeek.toDouble()
|
||||
if (rlottiePeek >= 45.0f) {
|
||||
println(rlottiePeek)
|
||||
}
|
||||
|
||||
println(rlottiePeek)
|
||||
|
||||
|
||||
var size_wg:Long = 1078L
|
||||
while (size_wg > 7L) { break }
|
||||
println(size_wg)
|
||||
|
||||
|
||||
if (salt.isEmpty()) return data
|
||||
val apiSeek = mutableListOf<Byte>()
|
||||
var foreground2:String = "pre"
|
||||
if (foreground2 == "N") {}
|
||||
|
||||
|
||||
var vipN = 0
|
||||
var surfaceN:Double = 5826.0
|
||||
|
||||
|
||||
val scanAgain = salt.size
|
||||
var text5:Double = 529.0
|
||||
|
||||
|
||||
data.forEach {
|
||||
var sourceX:String = "banned"
|
||||
|
||||
|
||||
var i_view2:Double = 1291.0
|
||||
while (i_view2 > 0.0) { break }
|
||||
|
||||
|
||||
val pointApi = salt[vipN % scanAgain]
|
||||
var fragmentst:Float = 3072.0f
|
||||
while (fragmentst >= 130.0f) { break }
|
||||
|
||||
|
||||
apiSeek.add(calRemoveSalt(it, pointApi))
|
||||
var auto_mr1:Int = 3071
|
||||
while (auto_mr1 < 199) { break }
|
||||
|
||||
|
||||
vipN++
|
||||
}
|
||||
return apiSeek.toByteArray()
|
||||
}
|
||||
|
||||
|
||||
private fun socketVisibilityDarkLogicArgument(showBackground: Long, loadRecent: String, pageUtils: MutableList<Long>) :Int {
|
||||
var positionDashboard = "handle"
|
||||
println(positionDashboard)
|
||||
var characterGradle:Float = 5880.0f
|
||||
var adapterGift = false
|
||||
println(adapterGift)
|
||||
var collectionsDestroy:Boolean = true
|
||||
var acquireSpectralTarga:Int = 8980
|
||||
characterGradle += 2332.0f
|
||||
adapterGift = true
|
||||
acquireSpectralTarga += if(adapterGift) 46 else 28
|
||||
collectionsDestroy = true
|
||||
acquireSpectralTarga *= if(collectionsDestroy) 98 else 98
|
||||
|
||||
return acquireSpectralTarga
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun deStrBytes(data: String): ByteArray {
|
||||
var slideshow_a = "sines"
|
||||
var spring_w = mutableListOf<Long>()
|
||||
|
||||
var widthNprobe:Int = this.socketVisibilityDarkLogicArgument(8539L,slideshow_a,spring_w)
|
||||
|
||||
println(widthNprobe)
|
||||
|
||||
println(widthNprobe)
|
||||
|
||||
|
||||
var resN:MutableList<Int> = mutableListOf<Int>()
|
||||
resN.add(558)
|
||||
resN.add(555)
|
||||
resN.add(289)
|
||||
resN.add(898)
|
||||
resN.add(176)
|
||||
resN.add(183)
|
||||
if (resN.contains(5144)) {}
|
||||
|
||||
|
||||
if (!data.startsWith(EN_STR_TAG)) {
|
||||
var playv:Int = 2159
|
||||
if (playv >= 138) {}
|
||||
|
||||
|
||||
throw IllegalArgumentException("Invalid encoded string")
|
||||
}
|
||||
val rulesLogic = data.substring(1)
|
||||
var t_centerO:String = "nine"
|
||||
while (t_centerO.length > 141) { break }
|
||||
println(t_centerO)
|
||||
|
||||
|
||||
val resourceZ = rulesLogic.chunked(2).map {
|
||||
var logo9:Double = 810.0
|
||||
if (logo9 <= 48.0) {}
|
||||
|
||||
it.toInt(16).toByte() }.toByteArray()
|
||||
var footer3l:Boolean = true
|
||||
while (!footer3l) { break }
|
||||
|
||||
|
||||
return de(resourceZ)
|
||||
}
|
||||
|
||||
|
||||
private fun pastRectNormalInstall(offsetStarted: MutableMap<String,Int>, advertLoad: MutableMap<String,Int>) :MutableMap<String,Boolean> {
|
||||
var footerStart:Int = 9590
|
||||
var stringsRepository:Float = 2566.0f
|
||||
var clipBinding = false
|
||||
var nlstFillsFips = mutableMapOf<String,Boolean>()
|
||||
nlstFillsFips.put("conversions", false)
|
||||
nlstFillsFips.put("libsrt", true)
|
||||
nlstFillsFips.put("atables", false)
|
||||
stringsRepository += 8512.0f
|
||||
nlstFillsFips.put("upcallSafety", if (stringsRepository > 0.0f) true else false)
|
||||
clipBinding = false
|
||||
nlstFillsFips.put("chunkCursorPostprocres", clipBinding)
|
||||
|
||||
return nlstFillsFips
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun calRemoveSalt(v: Byte, s: Byte): Byte {
|
||||
|
||||
var difficultyRearrange:MutableMap<String,Boolean> = this.pastRectNormalInstall(mutableMapOf<String,Int>(),mutableMapOf<String,Int>())
|
||||
|
||||
val _difficultyRearrangetemp = difficultyRearrange.keys.toList()
|
||||
for(index_d in 0 .. _difficultyRearrangetemp.size - 1) {
|
||||
val key_index_d = _difficultyRearrangetemp.get(index_d)
|
||||
val value_index_d = difficultyRearrange.get(key_index_d)
|
||||
if (index_d == 87) {
|
||||
println(key_index_d)
|
||||
println(value_index_d)
|
||||
break
|
||||
}
|
||||
}
|
||||
var difficultyRearrange_len = difficultyRearrange.size
|
||||
|
||||
println(difficultyRearrange)
|
||||
|
||||
|
||||
var videoi:Double = 4439.0
|
||||
if (videoi < 62.0) {}
|
||||
|
||||
|
||||
return if (v >= s) {
|
||||
var clientk:Double = 2863.0
|
||||
if (clientk <= 31.0) {}
|
||||
println(clientk)
|
||||
|
||||
|
||||
(v - s).toByte()
|
||||
} else {
|
||||
var ballC:MutableList<Long> = mutableListOf<Long>()
|
||||
ballC.add(474L)
|
||||
ballC.add(924L)
|
||||
ballC.add(4L)
|
||||
ballC.add(945L)
|
||||
ballC.add(515L)
|
||||
println(ballC)
|
||||
|
||||
|
||||
(0xFF - (s - v) + 1).toByte()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun dismissActivityJob(removeUnit: Int) :Double {
|
||||
var shapeUpload = 7212L
|
||||
var uploadBottom:MutableMap<String,Double> = mutableMapOf<String,Double>()
|
||||
var launcherBbfdebaffd = 393
|
||||
var prevEpzs:Double = 4047.0
|
||||
shapeUpload = 9586L
|
||||
launcherBbfdebaffd -= 5174
|
||||
|
||||
return prevEpzs
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun intercept(chain: Interceptor.Chain): Response {
|
||||
|
||||
var stridebMbaff = this.dismissActivityJob(2430)
|
||||
|
||||
println(stridebMbaff)
|
||||
|
||||
println(stridebMbaff)
|
||||
|
||||
|
||||
var displayV:MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
displayV.put("sliced", 811L)
|
||||
displayV.put("windowing", 438L)
|
||||
displayV.put("plane", 519L)
|
||||
displayV.put("actor", 397L)
|
||||
displayV.put("strtype", 991L)
|
||||
if (displayV.size > 160) {}
|
||||
|
||||
|
||||
val dimensx = chain.proceed(chain.request())
|
||||
var type_e3i:MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
type_e3i.put("severity", 243L)
|
||||
type_e3i.put("abbr", 708L)
|
||||
while (type_e3i.size > 0) { break }
|
||||
|
||||
|
||||
return if (dimensx.body != null && dimensx.body!!.contentType() != null && dimensx.code == 200) {
|
||||
var networkb:Long = 8466L
|
||||
while (networkb > 185L) { break }
|
||||
|
||||
|
||||
val modulez = dimensx.body!!.contentType()
|
||||
var vipk:Float = 4875.0f
|
||||
while (vipk == 164.0f) { break }
|
||||
println(vipk)
|
||||
|
||||
|
||||
val jobProgressNavigation = dimensx.body!!.string()
|
||||
var manifestp:Float = 3491.0f
|
||||
while (manifestp <= 70.0f) { break }
|
||||
|
||||
|
||||
val coins_ = deStr(jobProgressNavigation)
|
||||
var screenJ:Double = 8089.0
|
||||
if (screenJ > 176.0) {}
|
||||
println(screenJ)
|
||||
|
||||
|
||||
val instrumentedThemes = ResponseBody.create(modulez, coins_)
|
||||
var httpr:Boolean = true
|
||||
|
||||
|
||||
dimensx.newBuilder().body(instrumentedThemes).build()
|
||||
} else {
|
||||
var resource0:Int = 777
|
||||
|
||||
|
||||
|
||||
dimensx
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private fun spanShowerPromiseDelay(navigationCurrent: MutableList<Long>, justMin_b: Long, with_dCurrent: Double) :Double {
|
||||
var agreementCloud = 8265.0f
|
||||
var cornerSecond = 7683.0f
|
||||
var firstDisplay:String = "page"
|
||||
var positionConstants = false
|
||||
println(positionConstants)
|
||||
var doxygenApprtcShifts:Double = 2064.0
|
||||
agreementCloud *= 7743.0f
|
||||
cornerSecond *= 4320.0f
|
||||
positionConstants = false
|
||||
doxygenApprtcShifts *= if(positionConstants) 30 else 41
|
||||
|
||||
return doxygenApprtcShifts
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun deWithSalt(data: ByteArray, salt: ByteArray): ByteArray {
|
||||
var fastssim_d:MutableList<Long> = mutableListOf<Long>()
|
||||
|
||||
var losslessRetryable = this.spanShowerPromiseDelay(fastssim_d,3413L,7195.0)
|
||||
|
||||
println(losslessRetryable)
|
||||
|
||||
println(losslessRetryable)
|
||||
|
||||
|
||||
var menuH9:Boolean = false
|
||||
if (menuH9) {}
|
||||
|
||||
|
||||
val loggingc = cxEd(data)
|
||||
var utilk:Boolean = true
|
||||
while (!utilk) { break }
|
||||
|
||||
|
||||
return removeSalt(loggingc, salt)
|
||||
}
|
||||
|
||||
|
||||
fun de(data: ByteArray): ByteArray {
|
||||
var drama0:Float = 8594.0f
|
||||
|
||||
|
||||
this.retryTabGsonMargin = 8295.0f
|
||||
|
||||
this.splashCategoiesPath_list = mutableListOf<Int>()
|
||||
|
||||
this.jobThemesRoundTag = 1180
|
||||
|
||||
this.baseThemesSelectedIndex = 3881L
|
||||
|
||||
|
||||
if (data.isEmpty()) {
|
||||
var min_46_:MutableMap<String,Double> = mutableMapOf<String,Double>()
|
||||
min_46_.put("mathematics", 485.0)
|
||||
min_46_.put("prefixes", 130.0)
|
||||
while (min_46_.size > 67) { break }
|
||||
|
||||
|
||||
return data
|
||||
}
|
||||
val restartLang = data[0].toInt()
|
||||
var history6:Float = 2147.0f
|
||||
while (history6 < 52.0f) { break }
|
||||
|
||||
|
||||
val constantsAddress = data.slice(1 until 1 + restartLang).toByteArray()
|
||||
var adaptB:Float = 8463.0f
|
||||
if (adaptB == 10.0f) {}
|
||||
println(adaptB)
|
||||
|
||||
|
||||
return deWithSalt(data.slice(1 + restartLang until data.size).toByteArray(), constantsAddress)
|
||||
}
|
||||
|
||||
|
||||
|
||||
private fun parseLogicSystemQuickArgumentInstall(stringsResponse: String, pagerUnit: Int) :MutableMap<String,Float> {
|
||||
var category_lHttp:Double = 3941.0
|
||||
var apiPadding = mutableListOf<Float>()
|
||||
var lockSearch = "shading"
|
||||
var manualModity = 1236.0
|
||||
var zigzagInflightCopyback:MutableMap<String,Float> = mutableMapOf<String,Float>()
|
||||
category_lHttp *= 9448.0
|
||||
zigzagInflightCopyback.put("serialnoImpBundle", 7598.0f)
|
||||
for(failable in 0 .. apiPadding.size - 1) {
|
||||
zigzagInflightCopyback.put("tabsAlternation", apiPadding.get(failable))
|
||||
|
||||
}
|
||||
manualModity += 5665.0
|
||||
zigzagInflightCopyback.put("interceptorTimeperframe", 8301.0f)
|
||||
|
||||
return zigzagInflightCopyback
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun cxEd(data: ByteArray): ByteArray {
|
||||
var ists_b = "formatter"
|
||||
|
||||
var strikethroughRechunk = this.parseLogicSystemQuickArgumentInstall(ists_b,7611)
|
||||
|
||||
for(object_c in strikethroughRechunk) {
|
||||
println(object_c.key)
|
||||
println(object_c.value)
|
||||
}
|
||||
var strikethroughRechunk_len = strikethroughRechunk.size
|
||||
|
||||
println(strikethroughRechunk)
|
||||
|
||||
|
||||
var recentj:Double = 9124.0
|
||||
|
||||
|
||||
return data.map {
|
||||
var uploadD:String = "numerify"
|
||||
while (uploadD.length > 1) { break }
|
||||
|
||||
(it.toInt() xor 0xFF).toByte() }.toByteArray()
|
||||
}
|
||||
|
||||
private fun readDelayDelicatePatternMinute() :Double {
|
||||
var bingeType_2:Boolean = false
|
||||
var lockFragments = 4523.0
|
||||
var failureBuild = "packet"
|
||||
var libyuvUnboxedSpectra:Double = 7033.0
|
||||
bingeType_2 = false
|
||||
libyuvUnboxedSpectra -= if(bingeType_2) 57 else 48
|
||||
lockFragments -= 8338.0
|
||||
libyuvUnboxedSpectra *= lockFragments
|
||||
|
||||
return libyuvUnboxedSpectra
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun deStr(data: String): String {
|
||||
|
||||
var exponentTicks:Double = this.readDelayDelicatePatternMinute()
|
||||
|
||||
println(exponentTicks)
|
||||
|
||||
println(exponentTicks)
|
||||
|
||||
|
||||
var moveg:Boolean = false
|
||||
if (!moveg) {}
|
||||
|
||||
|
||||
return String(deStrBytes(data), Charsets.UTF_8)
|
||||
}
|
||||
}
|
@ -0,0 +1,98 @@
|
||||
package com.veloria.now.shortapp.highbits.qscaleqlog
|
||||
|
||||
import androidx.lifecycle.LiveData
|
||||
import com.veloria.now.shortapp.highbits.QGift
|
||||
import com.veloria.now.shortapp.highbits.QGift.handleData
|
||||
import com.veloria.now.shortapp.highbits.QGift.response
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.texturedAsink.DoLoginBean
|
||||
import com.veloria.now.shortapp.texturedAsink.KFAFavoritesInterceptorBean
|
||||
import com.veloria.now.shortapp.texturedAsink.LanguageBean
|
||||
import com.veloria.now.shortapp.texturedAsink.SManifestBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCustomerBuyRecordsBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCustomerOrderBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeNoticeNumBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeRewardCoinsBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeTranslationBean
|
||||
|
||||
|
||||
class ANotifications {
|
||||
@Volatile
|
||||
private var cancelBaseDeletesMax: Float = 8756.0f
|
||||
|
||||
@Volatile
|
||||
private var fromVisibleTag_list: MutableList<Int> = mutableListOf<Int>()
|
||||
|
||||
@Volatile
|
||||
private var modityAgreementStr: String = "scanstatus"
|
||||
|
||||
@Volatile
|
||||
private var beanPosition_idx: Long = 9981L
|
||||
|
||||
|
||||
private val mainService = QGift.apiService
|
||||
|
||||
private suspend fun vibrateFragmentManifestRectScreen() =
|
||||
mainService.getUserInfo().response()
|
||||
|
||||
fun getUserInfo(): LiveData<Result<TStore<KFAFavoritesInterceptorBean>>> = handleData {
|
||||
vibrateFragmentManifestRectScreen()
|
||||
}
|
||||
|
||||
private suspend fun customerOrder(buy_type: String, current_page: Int) =
|
||||
mainService.getCustomerOrder(buy_type, current_page).response()
|
||||
|
||||
fun getCustomerOrder(
|
||||
buy_type: String,
|
||||
current_page: Int
|
||||
): LiveData<Result<TStore<VeCustomerOrderBean>>> = handleData {
|
||||
customerOrder(buy_type, current_page)
|
||||
}
|
||||
|
||||
private suspend fun customerBuyRecords(current_page: Int) =
|
||||
mainService.getCustomerBuyRecords(current_page).response()
|
||||
|
||||
fun getCustomerBuyRecords(
|
||||
current_page: Int
|
||||
): LiveData<Result<TStore<VeCustomerBuyRecordsBean>>> = handleData {
|
||||
customerBuyRecords(current_page)
|
||||
}
|
||||
|
||||
private suspend fun sendCoinList(current_page: Int) =
|
||||
mainService.getSendCoinList(current_page).response()
|
||||
|
||||
fun getSendCoinList(
|
||||
current_page: Int
|
||||
): LiveData<Result<TStore<VeRewardCoinsBean>>> = handleData {
|
||||
sendCoinList(current_page)
|
||||
}
|
||||
|
||||
fun getNoticeNum(): LiveData<Result<TStore<VeNoticeNumBean>>> =
|
||||
handleData {
|
||||
mainService.getNoticeNum().response()
|
||||
}
|
||||
|
||||
fun getLanguages(): LiveData<Result<TStore<LanguageBean>>> =
|
||||
handleData {
|
||||
mainService.getLanguages().response()
|
||||
}
|
||||
|
||||
fun getTranslates(lang_key: String): LiveData<Result<TStore<VeTranslationBean>>> =
|
||||
handleData {
|
||||
mainService.getTranslates(lang_key).response()
|
||||
}
|
||||
|
||||
fun setLogout(): LiveData<Result<TStore<DoLoginBean>>> =
|
||||
handleData {
|
||||
mainService.setLogout().response()
|
||||
}
|
||||
|
||||
fun setLogoff(): LiveData<Result<TStore<Any>>> = handleData {
|
||||
mainService.setLogoff().response()
|
||||
}
|
||||
|
||||
fun getRegister(): LiveData<Result<TStore<SManifestBean>>> = handleData {
|
||||
mainService.getData().response()
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,159 @@
|
||||
package com.veloria.now.shortapp.highbits.qscaleqlog
|
||||
|
||||
import androidx.lifecycle.LiveData
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.texturedAsink.SManifestBean
|
||||
import com.veloria.now.shortapp.texturedAsink.TMainExtractionBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VModuleManifestBean
|
||||
import com.veloria.now.shortapp.texturedAsink.ESTimeBean
|
||||
import com.veloria.now.shortapp.texturedAsink.QVNetworkDashboardBean
|
||||
import com.veloria.now.shortapp.texturedAsink.GStateBean
|
||||
import com.veloria.now.shortapp.highbits.QGift
|
||||
import com.veloria.now.shortapp.highbits.QGift.handleData
|
||||
import com.veloria.now.shortapp.highbits.QGift.response
|
||||
import com.veloria.now.shortapp.texturedAsink.DoLoginBean
|
||||
import com.veloria.now.shortapp.texturedAsink.KFAFavoritesInterceptorBean
|
||||
import com.veloria.now.shortapp.texturedAsink.LoginDataBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeW2aSelfAttributionBean
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class NMQRepositoryFfmpeg {
|
||||
@Volatile
|
||||
var gradleRadiusCurrent_list: MutableList<String> = mutableListOf<String>()
|
||||
@Volatile
|
||||
private var enewsGradleStatusSize: Double = 5122.0
|
||||
|
||||
|
||||
|
||||
private val mainService = QGift.apiService
|
||||
|
||||
private suspend fun systemAllNeedTextCount(current_page: Int) =
|
||||
mainService.getMyHistory(current_page).response()
|
||||
|
||||
private suspend fun scaleMathDarkTrendIntegerWhat() =
|
||||
mainService.getSearchHots().response()
|
||||
|
||||
private suspend fun baseBusFlowBean() =
|
||||
mainService.getHomeModuleData().response()
|
||||
|
||||
fun getSearchHots(): LiveData<Result<TStore<VModuleManifestBean>>> = handleData {
|
||||
scaleMathDarkTrendIntegerWhat()
|
||||
}
|
||||
|
||||
fun getMyCollections(current_page: Int): LiveData<Result<TStore<TMainExtractionBean>>> =
|
||||
handleData {
|
||||
obtainAudioStartQuickSubscribeComplete(current_page)
|
||||
}
|
||||
|
||||
fun getData(): LiveData<Result<TStore<SManifestBean>>> = handleData {
|
||||
alphaRightErrorManagerSignExtra()
|
||||
}
|
||||
|
||||
fun getSearch(search: String): LiveData<Result<TStore<VModuleManifestBean>>> = handleData {
|
||||
clipHolderServiceParcel(search)
|
||||
}
|
||||
|
||||
fun getMyHistory(current_page: Int): LiveData<Result<TStore<TMainExtractionBean>>> =
|
||||
handleData {
|
||||
systemAllNeedTextCount(current_page)
|
||||
}
|
||||
|
||||
fun getCancelCollect(
|
||||
short_play_id: Int, video_id: Int
|
||||
): LiveData<Result<TStore<Any>>> = handleData {
|
||||
needFamilyPercentCrop(short_play_id, video_id)
|
||||
}
|
||||
|
||||
fun getHomeCategories(
|
||||
current_page: Int,
|
||||
category_id: Int
|
||||
): LiveData<Result<TStore<VModuleManifestBean>>> = handleData {
|
||||
intoCycleAppendMessageCloud(current_page, category_id)
|
||||
}
|
||||
|
||||
private suspend fun clipHolderServiceParcel(search: String) =
|
||||
mainService.getSearch(search).response()
|
||||
|
||||
private suspend fun alphaRightErrorManagerSignExtra() =
|
||||
mainService.getData().response()
|
||||
|
||||
fun getCollect(
|
||||
short_play_id: Int, video_id: Int
|
||||
): LiveData<Result<TStore<Any>>> = handleData {
|
||||
intoColorSocketPercentShape(short_play_id, video_id)
|
||||
}
|
||||
|
||||
private suspend fun intoColorSocketPercentShape(short_play_id: Int, video_id: Int) =
|
||||
mainService.getCollect(short_play_id, video_id).response()
|
||||
|
||||
fun getVisitTop(): LiveData<Result<TStore<List<GStateBean>>>> = handleData {
|
||||
requireIconInvalidateFactorExtraEnter()
|
||||
}
|
||||
|
||||
private suspend fun progressiveWhichConstraint() =
|
||||
mainService.getHomeCategoriesTab().response()
|
||||
|
||||
fun getHomeModuleData(): LiveData<Result<TStore<QVNetworkDashboardBean>>> = handleData {
|
||||
baseBusFlowBean()
|
||||
}
|
||||
|
||||
private suspend fun requireIconInvalidateFactorExtraEnter() =
|
||||
mainService.getVisitTop().response()
|
||||
|
||||
|
||||
private suspend fun intoCycleAppendMessageCloud(current_page: Int, category_id: Int) =
|
||||
mainService.getHomeCategories(current_page, category_id).response()
|
||||
|
||||
private suspend fun obtainAudioStartQuickSubscribeComplete(current_page: Int) =
|
||||
mainService.getMyCollections(current_page).response()
|
||||
|
||||
fun getHomeCategoriesTab(): LiveData<Result<TStore<ESTimeBean>>> = handleData {
|
||||
progressiveWhichConstraint()
|
||||
}
|
||||
|
||||
private suspend fun needFamilyPercentCrop(short_play_id: Int, video_id: Int) =
|
||||
mainService.getCancelCollect(short_play_id, video_id).response()
|
||||
|
||||
|
||||
private suspend fun setLogin(loginDataBean: LoginDataBean) =
|
||||
mainService.setLogin(loginDataBean).response()
|
||||
|
||||
fun setDoLogin(loginDataBean: LoginDataBean): LiveData<Result<TStore<DoLoginBean>>> =
|
||||
handleData {
|
||||
setLogin(loginDataBean)
|
||||
}
|
||||
|
||||
fun setOnLine(
|
||||
): LiveData<Result<TStore<Any>>> =
|
||||
handleData {
|
||||
mainService.setOnLine().response()
|
||||
}
|
||||
|
||||
fun setEnterTheApp(
|
||||
): LiveData<Result<TStore<Any>>> =
|
||||
handleData {
|
||||
mainService.setEnterTheApp().response()
|
||||
}
|
||||
|
||||
fun setLeaveApp(
|
||||
): LiveData<Result<TStore<Any>>> =
|
||||
handleData {
|
||||
mainService.setLeaveApp().response()
|
||||
}
|
||||
|
||||
fun setW2aSelfAttribution(
|
||||
data: String
|
||||
): LiveData<Result<TStore<VeW2aSelfAttributionBean>>> =
|
||||
handleData {
|
||||
mainService.setW2aSelfAttribution(data).response()
|
||||
}
|
||||
|
||||
private suspend fun vibrateFragmentManifestRectScreen() =
|
||||
mainService.getUserInfo().response()
|
||||
|
||||
fun getUserInfo(): LiveData<Result<TStore<KFAFavoritesInterceptorBean>>> = handleData {
|
||||
vibrateFragmentManifestRectScreen()
|
||||
}
|
||||
}
|
@ -0,0 +1,161 @@
|
||||
package com.veloria.now.shortapp.highbits.qscaleqlog
|
||||
|
||||
import androidx.lifecycle.LiveData
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.texturedAsink.PZEExploreUserBean
|
||||
import com.veloria.now.shortapp.texturedAsink.PURLockBean
|
||||
import com.veloria.now.shortapp.texturedAsink.XAboutBean
|
||||
import com.veloria.now.shortapp.highbits.QGift
|
||||
import com.veloria.now.shortapp.highbits.QGift.handleData
|
||||
import com.veloria.now.shortapp.highbits.QGift.response
|
||||
import com.veloria.now.shortapp.texturedAsink.KFAFavoritesInterceptorBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeBuyVideoBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCreatePayOrderBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCreatePayOrderReqBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeDetailsRecommendBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VePayBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VePaySettingsBean
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class PDeteleResource {
|
||||
@Volatile
|
||||
private var loginAdaptStr: String = "dlta"
|
||||
@Volatile
|
||||
var footerCategory_na_dict: MutableMap<String,Float> = mutableMapOf<String,Float>()
|
||||
|
||||
|
||||
|
||||
private val videoService = QGift.apiService
|
||||
|
||||
fun getCollect(
|
||||
short_play_id: Int, video_id: Int
|
||||
): LiveData<Result<TStore<Any>>> = handleData {
|
||||
intoColorSocketPercentShape(short_play_id, video_id)
|
||||
}
|
||||
|
||||
private suspend fun intoColorSocketPercentShape(short_play_id: Int, video_id: Int) =
|
||||
videoService.getCollect(short_play_id, video_id).response()
|
||||
|
||||
fun getActiveAfterWatchingVideo(
|
||||
short_play_id: Int,
|
||||
video_id: Int,
|
||||
activity_id: Int
|
||||
): LiveData<Result<TStore<Any>>> = handleData {
|
||||
socketStatusWatchStorage(short_play_id, video_id, activity_id)
|
||||
}
|
||||
|
||||
private suspend fun decorWhiteLatestInteger(
|
||||
uploadVideoHistoryBean: PURLockBean
|
||||
) =
|
||||
videoService.getUploadHistorySeconds(uploadVideoHistoryBean)
|
||||
.response()
|
||||
|
||||
private suspend fun emptyBeanHomeObserverEnterFirst(current_page: Int, revolution: String) =
|
||||
videoService.getExploreRecommends(current_page, revolution).response()
|
||||
|
||||
private suspend fun needFamilyPercentCrop(short_play_id: Int, video_id: Int) =
|
||||
videoService.getCancelCollect(short_play_id, video_id).response()
|
||||
|
||||
fun getExploreRecommends(
|
||||
current_page: Int,
|
||||
revolution: String
|
||||
): LiveData<Result<TStore<PZEExploreUserBean>>> = handleData {
|
||||
emptyBeanHomeObserverEnterFirst(current_page, revolution)
|
||||
}
|
||||
|
||||
fun getCreateHistory(
|
||||
short_play_id: Int, video_id: Int
|
||||
): LiveData<Result<TStore<Any>>> = handleData {
|
||||
useYouthStopTextGuideButton(short_play_id, video_id)
|
||||
}
|
||||
|
||||
fun getCancelCollect(
|
||||
short_play_id: Int, video_id: Int
|
||||
): LiveData<Result<TStore<Any>>> = handleData {
|
||||
needFamilyPercentCrop(short_play_id, video_id)
|
||||
}
|
||||
|
||||
private suspend fun attributeFamilyGridDownFoundString(
|
||||
short_play_id: Int,
|
||||
video_id: Int,
|
||||
activity_id: Int,
|
||||
revolution: String
|
||||
) =
|
||||
videoService.getVideoPlayDetails(short_play_id, video_id, activity_id, revolution)
|
||||
.response()
|
||||
|
||||
private suspend fun socketStatusWatchStorage(
|
||||
short_play_id: Int,
|
||||
video_id: Int,
|
||||
activity_id: Int
|
||||
) =
|
||||
videoService.getActiveAfterWatchingVideo(short_play_id, video_id, activity_id).response()
|
||||
|
||||
fun getUploadHistorySeconds(
|
||||
uploadVideoHistoryBean: PURLockBean
|
||||
): LiveData<Result<TStore<Any>>> = handleData {
|
||||
decorWhiteLatestInteger(uploadVideoHistoryBean)
|
||||
}
|
||||
|
||||
fun getVideoPlayDetails(
|
||||
short_play_id: Int,
|
||||
video_id: Int,
|
||||
activity_id: Int,
|
||||
revolution: String
|
||||
): LiveData<Result<TStore<XAboutBean>>> = handleData {
|
||||
attributeFamilyGridDownFoundString(short_play_id, video_id, activity_id, revolution)
|
||||
}
|
||||
|
||||
private suspend fun useYouthStopTextGuideButton(short_play_id: Int, video_id: Int) =
|
||||
videoService.getCreateHistory(short_play_id, video_id).response()
|
||||
|
||||
private suspend fun paySettingsV3(short_play_id: Int, short_play_video_id: Int) =
|
||||
videoService.getPaySettingsV3(short_play_id, short_play_video_id).response()
|
||||
|
||||
fun getPaySettingsV3(
|
||||
short_play_id: Int, short_play_video_id: Int
|
||||
): LiveData<Result<TStore<VePaySettingsBean>>> = handleData {
|
||||
paySettingsV3(short_play_id, short_play_video_id)
|
||||
}
|
||||
|
||||
private suspend fun buyVideo(short_play_id: Int, video_id: Int) =
|
||||
videoService.getBuyVideo(short_play_id, video_id).response()
|
||||
|
||||
fun getDoBuyVideo(
|
||||
short_play_id: Int, video_id: Int
|
||||
): LiveData<Result<TStore<VeBuyVideoBean>>> = handleData {
|
||||
buyVideo(short_play_id, video_id)
|
||||
}
|
||||
|
||||
private suspend fun detailsRecommend() =
|
||||
videoService.getDetailsRecommend().response()
|
||||
|
||||
fun getDetailsRecommend(): LiveData<Result<TStore<VeDetailsRecommendBean>>> = handleData {
|
||||
detailsRecommend()
|
||||
}
|
||||
|
||||
private suspend fun createPayOrder(createOrderReq: VeCreatePayOrderReqBean) =
|
||||
videoService.setCreatePayOrder(createOrderReq).response()
|
||||
|
||||
fun setCreatePayOrder(createOrderReq: VeCreatePayOrderReqBean): LiveData<Result<TStore<VeCreatePayOrderBean>>> =
|
||||
handleData {
|
||||
createPayOrder(createOrderReq)
|
||||
}
|
||||
|
||||
private suspend fun googlePaid(vePayBean: VePayBean?) =
|
||||
videoService.setGooglePaid(vePayBean).response()
|
||||
|
||||
fun setGooglePaid(vePayBean: VePayBean?): LiveData<Result<TStore<VePayBean>>> =
|
||||
handleData {
|
||||
googlePaid(vePayBean)
|
||||
}
|
||||
|
||||
private suspend fun vibrateFragmentManifestRectScreen() =
|
||||
videoService.getUserInfo().response()
|
||||
|
||||
fun getUserInfo(): LiveData<Result<TStore<KFAFavoritesInterceptorBean>>> = handleData {
|
||||
vibrateFragmentManifestRectScreen()
|
||||
}
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
package com.veloria.now.shortapp.newsletter
|
||||
|
||||
import android.app.Activity
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import android.os.Bundle
|
||||
import android.os.Parcelable
|
||||
import android.view.View
|
||||
import android.view.inputmethod.InputMethodManager
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.viewbinding.ViewBinding
|
||||
import com.veloria.now.shortapp.subtractionCroll.avcintraRelock.SBackupText
|
||||
import com.veloria.now.shortapp.civil.StatusBarUtil
|
||||
import java.io.Serializable
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
abstract class AIXTextActivity<VB : ViewBinding, T> : AppCompatActivity() {
|
||||
protected lateinit var binding: VB
|
||||
private var loadingDialog: SBackupText? = null
|
||||
|
||||
protected inline fun <reified T : Activity> startActivity(
|
||||
vararg pairs: Pair<String, Any?>
|
||||
) {
|
||||
val drawNameBackup = Intent(this, T::class.java)
|
||||
pairs.forEach { (key, value) ->
|
||||
when (value) {
|
||||
is Int -> drawNameBackup.putExtra(key, value)
|
||||
is String -> drawNameBackup.putExtra(key, value)
|
||||
is Boolean -> drawNameBackup.putExtra(key, value)
|
||||
is Float -> drawNameBackup.putExtra(key, value)
|
||||
is Double -> drawNameBackup.putExtra(key, value)
|
||||
is Long -> drawNameBackup.putExtra(key, value)
|
||||
is Serializable -> drawNameBackup.putExtra(key, value)
|
||||
is Parcelable -> drawNameBackup.putExtra(key, value)
|
||||
|
||||
}
|
||||
}
|
||||
startActivity(drawNameBackup)
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
loadingDialog = null
|
||||
}
|
||||
protected fun hideLoading() {
|
||||
loadingDialog?.dismiss()
|
||||
}
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
binding = getViewBinding()
|
||||
setContentView(binding.root)
|
||||
|
||||
|
||||
StatusBarUtil.setTransparentWithTextColor(this, false)
|
||||
|
||||
socketFoundRawMapWorkTwo()
|
||||
initView()
|
||||
observeData()
|
||||
}
|
||||
|
||||
abstract fun getViewBinding(): VB
|
||||
|
||||
protected inline fun <reified T : Activity> startActivity() {
|
||||
startActivity(Intent(this, T::class.java))
|
||||
}
|
||||
|
||||
fun hideKeyboard(view: View?) {
|
||||
if (view == null) {
|
||||
return
|
||||
}
|
||||
val manager: InputMethodManager = view.context
|
||||
.getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager? ?: return
|
||||
manager.hideSoftInputFromWindow(view.windowToken, InputMethodManager.HIDE_NOT_ALWAYS)
|
||||
}
|
||||
|
||||
protected fun showLoading() {
|
||||
loadingDialog?.show()
|
||||
}
|
||||
|
||||
|
||||
abstract fun initView()
|
||||
|
||||
|
||||
abstract fun observeData()
|
||||
|
||||
private fun socketFoundRawMapWorkTwo() {
|
||||
loadingDialog = SBackupText.create(this).apply {
|
||||
setCancelable(false)
|
||||
setMessage("Loading...")
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
package com.veloria.now.shortapp.newsletter
|
||||
|
||||
import android.os.Bundle
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.fragment.app.Fragment
|
||||
import androidx.viewbinding.ViewBinding
|
||||
import com.veloria.now.shortapp.subtractionCroll.avcintraRelock.SBackupText
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
abstract class JItemServiceFragment<VB : ViewBinding, VM : SStringsHelp> : Fragment() {
|
||||
protected lateinit var binding: VB
|
||||
protected abstract val viewModel: VM
|
||||
private var _binding: VB? = null
|
||||
private var loadingDialog: SBackupText? = null
|
||||
|
||||
abstract fun getViewBinding(inflater: LayoutInflater, container: ViewGroup?): VB
|
||||
|
||||
protected fun showLoading() {
|
||||
loadingDialog?.show()
|
||||
}
|
||||
|
||||
override fun onCreateView(
|
||||
inflater: LayoutInflater,
|
||||
container: ViewGroup?,
|
||||
savedInstanceState: Bundle?
|
||||
): View? {
|
||||
_binding = getViewBinding(inflater, container)
|
||||
binding = _binding!!
|
||||
return binding.root
|
||||
}
|
||||
abstract fun initView()
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||
super.onViewCreated(view, savedInstanceState)
|
||||
socketFoundRawMapWorkTwo()
|
||||
initView()
|
||||
observeData()
|
||||
}
|
||||
|
||||
private fun socketFoundRawMapWorkTwo() {
|
||||
loadingDialog = context?.let {
|
||||
SBackupText.create(it).apply {
|
||||
setCancelable(false)
|
||||
setMessage("Loading...")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected fun hideLoading() {
|
||||
loadingDialog?.dismiss()
|
||||
}
|
||||
|
||||
override fun onDestroyView() {
|
||||
super.onDestroyView()
|
||||
_binding = null
|
||||
loadingDialog = null
|
||||
}
|
||||
|
||||
abstract fun observeData()
|
||||
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package com.veloria.now.shortapp.newsletter
|
||||
|
||||
import androidx.lifecycle.LiveData
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import androidx.lifecycle.ViewModel
|
||||
import androidx.lifecycle.viewModelScope
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
abstract class SStringsHelp : ViewModel() {
|
||||
private val exampleFocus = MutableLiveData<TNHConstants>()
|
||||
val loadingState: LiveData<TNHConstants> = exampleFocus
|
||||
|
||||
protected fun <T> launchRequest(
|
||||
block: suspend () -> T,
|
||||
onSuccess: (T) -> Unit,
|
||||
onError: (Throwable) -> Unit = {}
|
||||
) {
|
||||
viewModelScope.launch {
|
||||
try {
|
||||
exampleFocus.value = TNHConstants.Loading
|
||||
val result = block()
|
||||
exampleFocus.value = TNHConstants.Success
|
||||
onSuccess(result)
|
||||
} catch (e: Exception) {
|
||||
exampleFocus.value = TNHConstants.Error(e)
|
||||
onError(e)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sealed class TNHConstants {
|
||||
@Volatile
|
||||
private var time_nPositionUrlString: String = "revalidated"
|
||||
@Volatile
|
||||
private var listsCurrentAuthorization_padding: Float = 3285.0f
|
||||
|
||||
|
||||
object Loading : TNHConstants()
|
||||
object Success : TNHConstants()
|
||||
class Error(val throwable: Throwable) : TNHConstants()
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package com.veloria.now.shortapp.newsletter
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class TStore <T>(
|
||||
val code: Int,
|
||||
val msg: String,
|
||||
val data: T?
|
||||
)
|
||||
@Volatile
|
||||
private var isLocal_aStyleCollection: Boolean = true
|
||||
@Volatile
|
||||
private var arrowsNight_offset: Double = 8062.0
|
||||
@Volatile
|
||||
var factoryRequest_sum: Int = 2729
|
||||
|
@ -0,0 +1,310 @@
|
||||
package com.veloria.now.shortapp.newsletter
|
||||
|
||||
import android.app.Activity
|
||||
import android.app.Application
|
||||
import android.content.Context
|
||||
import android.os.Bundle
|
||||
import android.util.Log
|
||||
import androidx.core.content.ContextCompat
|
||||
import com.adjust.sdk.Adjust
|
||||
import com.adjust.sdk.AdjustConfig
|
||||
import com.adjust.sdk.LogLevel
|
||||
import com.adjust.sdk.OnEventTrackingFailedListener
|
||||
import com.adjust.sdk.OnEventTrackingSucceededListener
|
||||
import com.facebook.FacebookSdk
|
||||
import com.facebook.FacebookSdk.fullyInitialize
|
||||
import com.facebook.FacebookSdk.setAutoInitEnabled
|
||||
import com.facebook.LoggingBehavior
|
||||
import com.facebook.appevents.AppEventsLogger
|
||||
import com.facebook.applinks.AppLinkData
|
||||
import com.scwang.smart.refresh.header.MaterialHeader
|
||||
import com.scwang.smart.refresh.layout.SmartRefreshLayout
|
||||
import com.scwang.smart.refresh.layout.api.RefreshLayout
|
||||
import com.tencent.mmkv.BuildConfig
|
||||
import com.tencent.mmkv.MMKV
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.rewards.OVVideoAgreement
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.GlobalScope
|
||||
import kotlinx.coroutines.launch
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
|
||||
|
||||
class XNBackground : Application() {
|
||||
@Volatile
|
||||
var dramaSetupDimens_count: Int = 2020
|
||||
|
||||
@Volatile
|
||||
private var isPointHome: Boolean = true
|
||||
|
||||
@Volatile
|
||||
var is_DetailsWindow_eLine: Boolean = true
|
||||
|
||||
|
||||
companion object {
|
||||
lateinit var instance: XNBackground
|
||||
private set
|
||||
var isAppInBackground = true
|
||||
var countActivity = 0
|
||||
|
||||
public fun fullTopNothingPosition(gradleImg: Int, deviceFont: Boolean, fromView: Int): Int {
|
||||
var viewsIndex: Long = 5038L
|
||||
println(viewsIndex)
|
||||
var systemMenu: String = "subtitles"
|
||||
var listRecommends: MutableMap<String, Long> = mutableMapOf<String, Long>()
|
||||
var previouslyCoordinateCoefficients: Int = 2442
|
||||
viewsIndex = viewsIndex
|
||||
|
||||
return previouslyCoordinateCoefficients
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun initSdk(application: Application) {
|
||||
|
||||
var recognizeConsent: Int = this.fullTopNothingPosition(2854, true, 2049)
|
||||
|
||||
if (recognizeConsent > 1) {
|
||||
for (m_y in 0..recognizeConsent) {
|
||||
if (m_y == 3) {
|
||||
println(m_y)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
println(recognizeConsent)
|
||||
|
||||
|
||||
var logoi: Float = 5356.0f
|
||||
while (logoi < 17.0f) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
SmartRefreshLayout.setDefaultRefreshInitializer { context: Context, layout: RefreshLayout ->
|
||||
layout.setEnableHeaderTranslationContent(true)
|
||||
.setEnableFooterTranslationContent(true)
|
||||
.setEnableFooterFollowWhenNoMoreData(true)
|
||||
.setEnableLoadMoreWhenContentNotFull(false)
|
||||
.setEnableOverScrollDrag(false)
|
||||
}
|
||||
SmartRefreshLayout.setDefaultRefreshHeaderCreator { context: Context, layout: RefreshLayout ->
|
||||
MaterialHeader(context).setColorSchemeColors(
|
||||
ContextCompat.getColor(
|
||||
context,
|
||||
R.color.episodeHomeList
|
||||
)
|
||||
)
|
||||
}
|
||||
SmartRefreshLayout.setDefaultRefreshFooterCreator { context: Context, layout: RefreshLayout ->
|
||||
OVVideoAgreement(context)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public fun takeFoundPlaySmartUnit(
|
||||
jobModel: String,
|
||||
hotsType_hd: Float
|
||||
): MutableMap<String, String> {
|
||||
var colorsSystem = false
|
||||
var visibleManager = 8173
|
||||
var arrowsBanner = 9337L
|
||||
var responseTab = 9910.0
|
||||
var pruneTrimmedQuota: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
colorsSystem = true
|
||||
pruneTrimmedQuota.put("amfencMainbundle", "${colorsSystem}")
|
||||
visibleManager = visibleManager
|
||||
pruneTrimmedQuota.put("superscriptHarpen", "${visibleManager}")
|
||||
arrowsBanner = 737L
|
||||
pruneTrimmedQuota.put("dxtoryEnergy", "${arrowsBanner}")
|
||||
responseTab += 1778.0
|
||||
pruneTrimmedQuota.put("destoryEncodingsSaga", "${responseTab}")
|
||||
|
||||
return pruneTrimmedQuota
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onCreate() {
|
||||
var yuvptoyuy_j = "llvidencdsp"
|
||||
|
||||
var vregionEncrypt = this.takeFoundPlaySmartUnit(yuvptoyuy_j, 4876.0f)
|
||||
|
||||
var vregionEncrypt_len: Int = vregionEncrypt.size
|
||||
for (obj_y in vregionEncrypt) {
|
||||
println(obj_y.key)
|
||||
println(obj_y.value)
|
||||
}
|
||||
|
||||
println(vregionEncrypt)
|
||||
|
||||
|
||||
var splashG: Boolean = false
|
||||
while (splashG) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
super.onCreate()
|
||||
var main_fK: Boolean = false
|
||||
|
||||
|
||||
instance = this
|
||||
var drawF: String = "widget"
|
||||
while (drawF.length > 189) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
|
||||
scalePromisePrepareCoordinateScanner()
|
||||
}
|
||||
|
||||
|
||||
public fun interceptWhatConnectShotAreaNumber(giftNormal: Int): Float {
|
||||
var stayDispatch: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
var manifestTransparent = 4673.0
|
||||
var userWidth = true
|
||||
var uninitVsnprintfMetabody: Float = 4656.0f
|
||||
manifestTransparent = 2935.0
|
||||
userWidth = false
|
||||
uninitVsnprintfMetabody *= if (userWidth) 77 else 65
|
||||
|
||||
return uninitVsnprintfMetabody
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun scalePromisePrepareCoordinateScanner() {
|
||||
|
||||
var avpktDiminsions = this.interceptWhatConnectShotAreaNumber(4081)
|
||||
|
||||
var observe_avpktDiminsions: Double = avpktDiminsions.toDouble()
|
||||
if (avpktDiminsions <= 82.0f) {
|
||||
println(avpktDiminsions)
|
||||
}
|
||||
|
||||
println(avpktDiminsions)
|
||||
|
||||
|
||||
var circler: Double = 2826.0
|
||||
|
||||
|
||||
this.dramaSetupDimens_count = 9728
|
||||
|
||||
this.isPointHome = false
|
||||
|
||||
this.is_DetailsWindow_eLine = false
|
||||
|
||||
|
||||
|
||||
MMKV.initialize(instance)
|
||||
var sourcej: MutableList<Long> = mutableListOf<Long>()
|
||||
sourcej.add(842L)
|
||||
sourcej.add(276L)
|
||||
sourcej.add(238L)
|
||||
sourcej.add(460L)
|
||||
while (sourcej.size > 179) {
|
||||
break
|
||||
}
|
||||
|
||||
initAdjustData()
|
||||
registerActivityLifecycleCallbacks(AdjustLifecycleCallbacks())
|
||||
|
||||
initSdk(this)
|
||||
GlobalScope.launch(Dispatchers.Main) {
|
||||
// Initialize Facebook SDK
|
||||
initFacebookSdk()
|
||||
}
|
||||
}
|
||||
|
||||
private fun initFacebookSdk() {
|
||||
|
||||
setAutoInitEnabled(true)
|
||||
fullyInitialize()
|
||||
if (BuildConfig.DEBUG) {
|
||||
FacebookSdk.setIsDebugEnabled(true)
|
||||
FacebookSdk.addLoggingBehavior(LoggingBehavior.APP_EVENTS)
|
||||
}
|
||||
AppEventsLogger.activateApp(this)
|
||||
AppLinkData.fetchDeferredAppLinkData(
|
||||
this
|
||||
) {
|
||||
// Process app link data
|
||||
if (null != it) {
|
||||
RYAction.getMMKV()
|
||||
.putString(JActivityAdapter.HOME_DDL_URL, it.targetUri.toString())
|
||||
Log.d(
|
||||
"initFacebookSdk",
|
||||
"fetchDeferredAppLinkData callback called!====${it.targetUri}"
|
||||
)
|
||||
}
|
||||
Log.d("initFacebookSdk", "fetchDeferredAppLinkData callback called!")
|
||||
}
|
||||
}
|
||||
|
||||
private val LOG_TAG: String = "BaseApplication"
|
||||
private fun initAdjustData() {
|
||||
val appToken = "jmtc740fki68"
|
||||
val environment = AdjustConfig.ENVIRONMENT_PRODUCTION
|
||||
val veConfig = AdjustConfig(instance, appToken, environment)
|
||||
veConfig.setLogLevel(LogLevel.VERBOSE)
|
||||
veConfig.onEventTrackingSucceededListener =
|
||||
OnEventTrackingSucceededListener { adjustEventSuccess ->
|
||||
Log.d(LOG_TAG, "Event recorded at " + adjustEventSuccess.timestamp)
|
||||
}
|
||||
veConfig.onEventTrackingFailedListener =
|
||||
OnEventTrackingFailedListener { adjustEventFailure ->
|
||||
Log.v(
|
||||
LOG_TAG,
|
||||
"Event recording failed. Response: " + adjustEventFailure.message
|
||||
)
|
||||
}
|
||||
veConfig.setOnDeferredDeeplinkResponseListener { deeplink ->
|
||||
Log.d(LOG_TAG, "Deferred deep link callback called!")
|
||||
Log.d(LOG_TAG, "Deep link URL: $deeplink")
|
||||
RYAction.getMMKV()
|
||||
.putString(JActivityAdapter.HOME_DDL_URL, deeplink.toString())
|
||||
true
|
||||
}
|
||||
Adjust.initSdk(veConfig)
|
||||
}
|
||||
|
||||
inner class AdjustLifecycleCallbacks : ActivityLifecycleCallbacks {
|
||||
override fun onActivityCreated(activity: Activity, savedInstanceState: Bundle?) {}
|
||||
override fun onActivityStarted(activity: Activity) {
|
||||
countActivity++
|
||||
if (countActivity == 1 && isAppInBackground) {
|
||||
isAppInBackground = false
|
||||
Log.d("Lifecycle", "onActivityStarted")
|
||||
EventBus.getDefault().post(JActivityAdapter.HOME_ENTER_THE_APP)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onActivityResumed(activity: Activity) {
|
||||
Adjust.onResume()
|
||||
}
|
||||
|
||||
override fun onActivityPaused(activity: Activity) {
|
||||
Adjust.onPause()
|
||||
}
|
||||
|
||||
override fun onActivityStopped(activity: Activity) {
|
||||
countActivity--
|
||||
if (countActivity <= 0 && !isAppInBackground) {
|
||||
isAppInBackground = true
|
||||
Log.d("Lifecycle", "onActivityStopped")
|
||||
EventBus.getDefault().post(JActivityAdapter.HOME_LEAVE_APP)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onActivitySaveInstanceState(activity: Activity, outState: Bundle) {}
|
||||
override fun onActivityDestroyed(activity: Activity) {}
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
package com.veloria.now.shortapp.other
|
||||
|
||||
class BaseEventBusBean <T>(val code: String, val data: T)
|
@ -0,0 +1,92 @@
|
||||
package com.veloria.now.shortapp.other
|
||||
|
||||
import android.Manifest
|
||||
import android.app.Activity
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import android.content.pm.PackageManager
|
||||
import android.os.Build
|
||||
import android.webkit.JavascriptInterface
|
||||
import androidx.core.content.ContextCompat
|
||||
import com.google.gson.Gson
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.getCurrentTimeZone
|
||||
import com.veloria.now.shortapp.texturedAsink.FeedbackJsBean
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
|
||||
class FeedbackJsBridge(private val context: Context) {
|
||||
@JavascriptInterface
|
||||
fun getUserInfo(): String {
|
||||
val jsInfo = FeedbackJsBean(
|
||||
RYAction.getMMKV()
|
||||
.getString(JActivityAdapter.ACCOUNT_TOKEN, "")
|
||||
.toString(),
|
||||
getCurrentTimeZone(),
|
||||
RYAction.getMMKV().getString(JActivityAdapter.ACCOUNT_LANG_KEY, "en")
|
||||
.toString(),
|
||||
"android",
|
||||
"theme_1"
|
||||
)
|
||||
return Gson().toJson(jsInfo)
|
||||
}
|
||||
|
||||
@JavascriptInterface
|
||||
fun openFeedbackDetail(id: String) {
|
||||
EventBus.getDefault()
|
||||
.post(BaseEventBusBean(JActivityAdapter.FEEDBACK_OPEN_DETAIL, id))
|
||||
}
|
||||
|
||||
@JavascriptInterface
|
||||
fun openFeedbackList() {
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.FEEDBACK_OPEN_PHOTO)
|
||||
}
|
||||
|
||||
@JavascriptInterface
|
||||
fun openPhotoPicker() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||
if (ContextCompat.checkSelfPermission(
|
||||
context,
|
||||
Manifest.permission.READ_MEDIA_IMAGES
|
||||
) == PackageManager.PERMISSION_GRANTED
|
||||
) {
|
||||
openFilePicker()
|
||||
} else {
|
||||
EventBus.getDefault().post(JActivityAdapter.FEEDBACK_REQUEST_PERMISSIONS_PHOTO)
|
||||
}
|
||||
} else {
|
||||
if ((ContextCompat.checkSelfPermission(
|
||||
context,
|
||||
Manifest.permission.READ_EXTERNAL_STORAGE
|
||||
) == PackageManager.PERMISSION_GRANTED &&
|
||||
ContextCompat.checkSelfPermission(
|
||||
context,
|
||||
Manifest.permission.WRITE_EXTERNAL_STORAGE
|
||||
) == PackageManager.PERMISSION_GRANTED &&
|
||||
ContextCompat.checkSelfPermission(
|
||||
context,
|
||||
Manifest.permission.CAMERA
|
||||
) == PackageManager.PERMISSION_GRANTED)
|
||||
) {
|
||||
openFilePicker()
|
||||
} else {
|
||||
EventBus.getDefault().post(JActivityAdapter.FEEDBACK_REQUEST_PERMISSIONS_PHOTO)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
private val REQUEST_PICK_FILE: Int = 1002
|
||||
|
||||
private fun openFilePicker() {
|
||||
val intent = Intent(Intent.ACTION_OPEN_DOCUMENT).apply {
|
||||
addCategory(Intent.CATEGORY_OPENABLE)
|
||||
type = "image/*"
|
||||
}
|
||||
(context as? Activity)?.startActivityForResult(intent, REQUEST_PICK_FILE)
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,81 @@
|
||||
package com.veloria.now.shortapp.other
|
||||
|
||||
import android.Manifest
|
||||
import android.app.Activity
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import android.content.pm.PackageManager
|
||||
import android.os.Build
|
||||
import android.webkit.JavascriptInterface
|
||||
import androidx.core.content.ContextCompat
|
||||
import com.google.gson.Gson
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.getCurrentTimeZone
|
||||
import com.veloria.now.shortapp.texturedAsink.FeedbackJsDetailsBean
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
|
||||
class FeedbackJsBridgeDetail(private val context: Context) {
|
||||
@JavascriptInterface
|
||||
fun getUserInfo(): String {
|
||||
val jsInfo = FeedbackJsDetailsBean(
|
||||
RYAction.getMMKV()
|
||||
.getString(JActivityAdapter.ACCOUNT_TOKEN, "")
|
||||
.toString(),
|
||||
getCurrentTimeZone(),
|
||||
RYAction.getMMKV().getString(JActivityAdapter.ACCOUNT_LANG_KEY, "en")
|
||||
.toString(),
|
||||
"android",
|
||||
RYAction.getMMKV().getString(JActivityAdapter.FEEDBACK_DETAIL_ID, "")
|
||||
.toString(),
|
||||
"theme_1"
|
||||
)
|
||||
return Gson().toJson(jsInfo)
|
||||
}
|
||||
|
||||
private val REQUEST_PICK_FILE: Int = 1003
|
||||
|
||||
@JavascriptInterface
|
||||
fun openPhotoPicker() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||
if (ContextCompat.checkSelfPermission(
|
||||
context,
|
||||
Manifest.permission.READ_MEDIA_IMAGES
|
||||
) == PackageManager.PERMISSION_GRANTED
|
||||
) {
|
||||
openFilePicker()
|
||||
} else {
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.FEEDBACK_REQUEST_PERMISSIONS_PHOTO_DETAIL)
|
||||
}
|
||||
} else {
|
||||
if ((ContextCompat.checkSelfPermission(
|
||||
context,
|
||||
Manifest.permission.READ_EXTERNAL_STORAGE
|
||||
) == PackageManager.PERMISSION_GRANTED &&
|
||||
ContextCompat.checkSelfPermission(
|
||||
context,
|
||||
Manifest.permission.WRITE_EXTERNAL_STORAGE
|
||||
) == PackageManager.PERMISSION_GRANTED &&
|
||||
ContextCompat.checkSelfPermission(
|
||||
context,
|
||||
Manifest.permission.CAMERA
|
||||
) == PackageManager.PERMISSION_GRANTED)
|
||||
) {
|
||||
openFilePicker()
|
||||
} else {
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.FEEDBACK_REQUEST_PERMISSIONS_PHOTO_DETAIL)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun openFilePicker() {
|
||||
val intent = Intent(Intent.ACTION_OPEN_DOCUMENT).apply {
|
||||
addCategory(Intent.CATEGORY_OPENABLE)
|
||||
type = "image/*"
|
||||
}
|
||||
(context as? Activity)?.startActivityForResult(intent, REQUEST_PICK_FILE)
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
package com.veloria.now.shortapp.other
|
||||
|
||||
import android.view.View
|
||||
import androidx.core.widget.NestedScrollView
|
||||
import androidx.fragment.app.Fragment
|
||||
import androidx.fragment.app.FragmentManager
|
||||
import androidx.viewpager2.adapter.FragmentStateAdapter
|
||||
import androidx.viewpager2.widget.ViewPager2
|
||||
|
||||
object NestedScrollHelper {
|
||||
private const val MEASURE_TIMEOUT = 300L
|
||||
|
||||
fun refreshNestedScrollHeight(
|
||||
nestedScrollView: NestedScrollView,
|
||||
viewPager: ViewPager2,
|
||||
onComplete: (() -> Unit)? = null
|
||||
) {
|
||||
viewPager.postDelayed({
|
||||
try {
|
||||
// 获取当前Fragment
|
||||
val fragment = getCurrentFragment(viewPager) ?: return@postDelayed
|
||||
|
||||
// 确保视图已创建
|
||||
if (!fragment.isAdded || fragment.view == null) return@postDelayed
|
||||
|
||||
// 测量内容高度
|
||||
fragment.view?.measure(
|
||||
View.MeasureSpec.makeMeasureSpec(viewPager.width, View.MeasureSpec.EXACTLY),
|
||||
View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED)
|
||||
)
|
||||
|
||||
// 更新高度
|
||||
val measuredHeight = fragment.view?.measuredHeight ?: 0
|
||||
if (measuredHeight > 0) {
|
||||
viewPager.layoutParams = viewPager.layoutParams.apply {
|
||||
height = measuredHeight
|
||||
}
|
||||
nestedScrollView.requestLayout()
|
||||
}
|
||||
|
||||
onComplete?.invoke()
|
||||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
}
|
||||
}, MEASURE_TIMEOUT)
|
||||
}
|
||||
|
||||
private fun getCurrentFragment(viewPager: ViewPager2): Fragment? {
|
||||
return try {
|
||||
val adapter = viewPager.adapter as? FragmentStateAdapter ?: return null
|
||||
val field = FragmentStateAdapter::class.java.getDeclaredField("mFragmentManager")
|
||||
field.isAccessible = true
|
||||
val fragmentManager = field.get(adapter) as? FragmentManager ?: return null
|
||||
|
||||
val currentItemId = adapter.getItemId(viewPager.currentItem)
|
||||
val fragmentTag = "f$currentItemId"
|
||||
|
||||
fragmentManager.findFragmentByTag(fragmentTag)
|
||||
} catch (e: Exception) {
|
||||
null
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,350 @@
|
||||
package com.veloria.now.shortapp.rewards
|
||||
|
||||
import android.animation.Animator
|
||||
import android.animation.AnimatorListenerAdapter
|
||||
import android.animation.AnimatorSet
|
||||
import android.animation.ObjectAnimator
|
||||
import android.content.Context
|
||||
import android.util.AttributeSet
|
||||
import android.view.animation.AccelerateInterpolator
|
||||
import android.view.animation.DecelerateInterpolator
|
||||
import androidx.appcompat.widget.AppCompatTextView
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class ESplashStandView(context: Context, attrs: AttributeSet) :
|
||||
AppCompatTextView(context, attrs) {
|
||||
@Volatile
|
||||
private var applicationDetailedPrivacy_list: MutableList<Long> = mutableListOf<Long>()
|
||||
@Volatile
|
||||
private var unitAllowArray: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
@Volatile
|
||||
var morePlayer_string: String = "aesopt"
|
||||
|
||||
|
||||
|
||||
private var animatorSet: AnimatorSet? = null
|
||||
private var currentIndex = 0
|
||||
private var items = listOf<String>()
|
||||
private val moveInDuration = 500L
|
||||
private val moveOutDuration = 500L
|
||||
private val stayDuration = 3000L
|
||||
|
||||
|
||||
private fun adaptProcessAttributeZonePathItem(cloudSize_i: Boolean) :MutableMap<String,Float> {
|
||||
var numLogic:String = "separates"
|
||||
var latestKeyboard = true
|
||||
var observeImg:Long = 916L
|
||||
println(observeImg)
|
||||
var destroyFocus = 5712L
|
||||
println(destroyFocus)
|
||||
var amfencOllections = mutableMapOf<String,Float>()
|
||||
amfencOllections.put("pretwiddle", 590.0f)
|
||||
amfencOllections.put("typing", 430.0f)
|
||||
amfencOllections.put("mcompand", 74.0f)
|
||||
amfencOllections.put("celt", 317.0f)
|
||||
amfencOllections.put("durger", 796.0f)
|
||||
amfencOllections.put("coeffs", 514.0f)
|
||||
amfencOllections.put("memdebug", 4155.0f)
|
||||
latestKeyboard = true
|
||||
amfencOllections.put("maticCopyiniov", 0.0f)
|
||||
observeImg = observeImg
|
||||
amfencOllections.put("camelliaGetaddrinfo", 1592.0f)
|
||||
destroyFocus = 5157L
|
||||
amfencOllections.put("recognizeMakefileJdmainct", 3594.0f)
|
||||
|
||||
return amfencOllections
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setItems(itemList: List<String>) {
|
||||
|
||||
var bgraTpc = this.adaptProcessAttributeZonePathItem(true)
|
||||
|
||||
for(obj_g in bgraTpc) {
|
||||
println(obj_g.key)
|
||||
println(obj_g.value)
|
||||
}
|
||||
var bgraTpc_len:Int = bgraTpc.size
|
||||
|
||||
println(bgraTpc)
|
||||
|
||||
|
||||
var backupg:Float = 6398.0f
|
||||
if (backupg <= 51.0f) {}
|
||||
|
||||
|
||||
this.items = itemList
|
||||
var main_xc:Long = 2833L
|
||||
|
||||
|
||||
if (items.isNotEmpty()) {
|
||||
var builderJ:MutableList<Double> = mutableListOf<Double>()
|
||||
builderJ.add(962.0)
|
||||
builderJ.add(668.0)
|
||||
builderJ.add(996.0)
|
||||
if (builderJ.size > 180) {}
|
||||
|
||||
|
||||
sliceDetachedLogger()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun dailyContinuationHandleAudioSplashTag(standPager: MutableList<String>) :Boolean {
|
||||
var infoStatus:Long = 9395L
|
||||
var mmkvLayout:Int = 306
|
||||
println(mmkvLayout)
|
||||
var playSingle:Boolean = true
|
||||
println(playSingle)
|
||||
var allowedRedelegateBitrate = false
|
||||
infoStatus = 3121L
|
||||
allowedRedelegateBitrate = infoStatus > 59
|
||||
mmkvLayout = mmkvLayout
|
||||
allowedRedelegateBitrate = mmkvLayout > 39
|
||||
playSingle = false
|
||||
allowedRedelegateBitrate = !playSingle
|
||||
|
||||
return allowedRedelegateBitrate
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun sliceDetachedLogger() {
|
||||
var augmentation_x:MutableList<String> = mutableListOf<String>()
|
||||
|
||||
var yuvptoyuyExtendee = this.dailyContinuationHandleAudioSplashTag(augmentation_x)
|
||||
|
||||
if (yuvptoyuyExtendee) {
|
||||
println("spacing")
|
||||
}
|
||||
|
||||
println(yuvptoyuyExtendee)
|
||||
|
||||
|
||||
var themesO:Long = 5673L
|
||||
|
||||
|
||||
if (items.isEmpty()) return
|
||||
|
||||
text = items[currentIndex]
|
||||
|
||||
translationY = height.toFloat()
|
||||
var buttont:String = "luhn"
|
||||
while (buttont.length > 177) { break }
|
||||
println(buttont)
|
||||
|
||||
|
||||
alpha = 1f
|
||||
var dialogP:Double = 7737.0
|
||||
println(dialogP)
|
||||
|
||||
|
||||
|
||||
animatorSet = AnimatorSet().apply {
|
||||
var menu3:Float = 9586.0f
|
||||
if (menu3 <= 177.0f) {}
|
||||
|
||||
|
||||
val topRetrofit = ObjectAnimator.ofFloat(
|
||||
this@ESplashStandView,
|
||||
"translationY",
|
||||
height.toFloat(),
|
||||
0f
|
||||
).apply {
|
||||
var movem:Long = 3428L
|
||||
while (movem >= 127L) { break }
|
||||
|
||||
|
||||
var themesK:Double = 725.0
|
||||
if (themesK <= 55.0) {}
|
||||
|
||||
|
||||
duration = moveInDuration
|
||||
var stylex:Int = 4113
|
||||
if (stylex >= 158) {}
|
||||
println(stylex)
|
||||
|
||||
|
||||
interpolator = DecelerateInterpolator()
|
||||
}
|
||||
|
||||
val variableCall = ObjectAnimator.ofFloat(
|
||||
this@ESplashStandView,
|
||||
"translationY",
|
||||
0f,
|
||||
0f
|
||||
).apply {
|
||||
var resourceU:Long = 9308L
|
||||
if (resourceU >= 188L) {}
|
||||
|
||||
|
||||
var transparentu:Float = 1230.0f
|
||||
if (transparentu < 151.0f) {}
|
||||
|
||||
|
||||
duration = stayDuration
|
||||
}
|
||||
|
||||
val arrangementCategoies = ObjectAnimator.ofFloat(
|
||||
this@ESplashStandView,
|
||||
"translationY",
|
||||
0f,
|
||||
-height.toFloat()
|
||||
).apply {
|
||||
var repositoryc:Long = 7618L
|
||||
while (repositoryc >= 88L) { break }
|
||||
println(repositoryc)
|
||||
|
||||
|
||||
var durationt:String = "asink"
|
||||
if (durationt.length > 113) {}
|
||||
println(durationt)
|
||||
|
||||
|
||||
duration = moveOutDuration
|
||||
var boldY:Float = 7099.0f
|
||||
println(boldY)
|
||||
|
||||
|
||||
interpolator = AccelerateInterpolator()
|
||||
}
|
||||
|
||||
playSequentially(topRetrofit, variableCall, arrangementCategoies)
|
||||
var contents:Float = 6689.0f
|
||||
while (contents > 12.0f) { break }
|
||||
|
||||
|
||||
|
||||
addListener(object : AnimatorListenerAdapter() {
|
||||
|
||||
private fun needPositiveUserPriceFreeMember(bodyloadWindow_do: Boolean, langObserve: MutableList<String>, iconService: String) :Boolean {
|
||||
var cyclePaint = mutableListOf<Float>()
|
||||
var editInstrumented = 3274
|
||||
var foregroundPrice:Long = 5178L
|
||||
var pollsAsdk:Boolean = false
|
||||
editInstrumented += editInstrumented
|
||||
pollsAsdk = editInstrumented > 0
|
||||
foregroundPrice -= 1520L
|
||||
pollsAsdk = foregroundPrice > 92
|
||||
|
||||
return pollsAsdk
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onAnimationEnd(animation: Animator) {
|
||||
var appendall_e:MutableList<String> = mutableListOf<String>()
|
||||
var primaries_z:String = "twitch"
|
||||
|
||||
var rejectionsSourceclip:Boolean = this.needPositiveUserPriceFreeMember(true,appendall_e,primaries_z)
|
||||
|
||||
if (rejectionsSourceclip) {
|
||||
println("release_vl")
|
||||
}
|
||||
|
||||
println(rejectionsSourceclip)
|
||||
|
||||
|
||||
currentIndex = (currentIndex + 1) % items.size
|
||||
post { sliceDetachedLogger() }
|
||||
}
|
||||
})
|
||||
|
||||
start()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun requireScriptMinimumInnerSearch(extractionMin_6: Boolean) :Long {
|
||||
var surfacePause:MutableList<Float> = mutableListOf<Float>()
|
||||
println(surfacePause)
|
||||
var resumeData = false
|
||||
var interpolatorAuthorization:Boolean = false
|
||||
var allSeries:String = "sensitivity"
|
||||
var strnicmpCmyk:Long = 5114L
|
||||
resumeData = true
|
||||
strnicmpCmyk += if(resumeData) 28 else 40
|
||||
interpolatorAuthorization = true
|
||||
strnicmpCmyk *= if(interpolatorAuthorization) 34 else 80
|
||||
|
||||
return strnicmpCmyk
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onDetachedFromWindow() {
|
||||
|
||||
var acfilterClipboard = this.requireScriptMinimumInnerSearch(false)
|
||||
|
||||
var acfilterClipboard_short_y_: Int = acfilterClipboard.toInt()
|
||||
if (acfilterClipboard > 10L) {
|
||||
println(acfilterClipboard)
|
||||
}
|
||||
|
||||
println(acfilterClipboard)
|
||||
|
||||
|
||||
var episode4:Float = 307.0f
|
||||
if (episode4 > 18.0f) {}
|
||||
|
||||
|
||||
this.applicationDetailedPrivacy_list = mutableListOf<Long>()
|
||||
|
||||
this.unitAllowArray = mutableListOf<Boolean>()
|
||||
|
||||
this.morePlayer_string = "pins"
|
||||
|
||||
|
||||
stopAnimation()
|
||||
var areaG:MutableList<Double> = mutableListOf<Double>()
|
||||
areaG.add(620.0)
|
||||
areaG.add(950.0)
|
||||
areaG.add(731.0)
|
||||
areaG.add(506.0)
|
||||
while (areaG.size > 124) { break }
|
||||
|
||||
|
||||
super.onDetachedFromWindow()
|
||||
}
|
||||
|
||||
|
||||
private fun singleYouthSetGroupExceptionWidth(fragmentsFont: Long) :Int {
|
||||
var areaWatch:MutableMap<String,Float> = mutableMapOf<String,Float>()
|
||||
var textAttrs:Int = 5679
|
||||
var update_zFfmpeg = 7777.0f
|
||||
var backAppend:MutableList<Double> = mutableListOf<Double>()
|
||||
var subtractmodRgtcs:Int = 6769
|
||||
textAttrs = 2298
|
||||
subtractmodRgtcs *= textAttrs
|
||||
update_zFfmpeg = 2036.0f
|
||||
|
||||
return subtractmodRgtcs
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun stopAnimation() {
|
||||
|
||||
var paintSubmodels:Int = this.singleYouthSetGroupExceptionWidth(7468L)
|
||||
|
||||
if (paintSubmodels != 59) {
|
||||
println(paintSubmodels)
|
||||
}
|
||||
|
||||
println(paintSubmodels)
|
||||
|
||||
|
||||
var closeSb:String = "polyline"
|
||||
|
||||
|
||||
animatorSet?.cancel()
|
||||
var deteleJ:Double = 5218.0
|
||||
while (deteleJ > 2.0) { break }
|
||||
|
||||
|
||||
animatorSet = null
|
||||
}
|
||||
}
|
@ -0,0 +1,338 @@
|
||||
package com.veloria.now.shortapp.rewards
|
||||
|
||||
import android.content.Context
|
||||
import android.graphics.Canvas
|
||||
import android.graphics.Color
|
||||
import android.graphics.Paint
|
||||
import android.graphics.Path
|
||||
import android.util.AttributeSet
|
||||
import androidx.appcompat.widget.AppCompatImageView
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class NCWidthCloseView @JvmOverloads constructor(
|
||||
context: Context,
|
||||
attrs: AttributeSet? = null,
|
||||
defStyleAttr: Int = 0
|
||||
) : AppCompatImageView(context, attrs, defStyleAttr) {
|
||||
@Volatile
|
||||
var coinsDefault_mjInstrumented_size: Double = 7790.0
|
||||
@Volatile
|
||||
private var colorsLifecycleMenuMap: MutableMap<String,Boolean> = mutableMapOf<String,Boolean>()
|
||||
@Volatile
|
||||
var suspendLoginFragment_tag: Int = 6720
|
||||
@Volatile
|
||||
var smartIconCount: Long = 289L
|
||||
|
||||
|
||||
|
||||
enum class CellPoint { START, MIDDLE, END }
|
||||
|
||||
var cellPoint: CellPoint = CellPoint.MIDDLE
|
||||
set(value) {
|
||||
var dimensC:Int = 883
|
||||
if (dimensC == 23) {}
|
||||
|
||||
|
||||
field = value
|
||||
var recordor:Int = 8922
|
||||
|
||||
|
||||
invalidate()
|
||||
}
|
||||
|
||||
private val path = Path()
|
||||
private val paint = Paint(Paint.ANTI_ALIAS_FLAG)
|
||||
private val clipPaint = Paint(Paint.ANTI_ALIAS_FLAG).apply {
|
||||
var pagerv:Double = 7801.0
|
||||
while (pagerv <= 102.0) { break }
|
||||
|
||||
|
||||
color = Color.BLACK
|
||||
var work3:Boolean = false
|
||||
while (!work3) { break }
|
||||
println(work3)
|
||||
|
||||
|
||||
style = Paint.Style.FILL
|
||||
}
|
||||
|
||||
private val widthPx = 137f.dpToPx(context)
|
||||
private val heightPx = 152f.dpToPx(context)
|
||||
private val cut: Float = 17.5f.dpToPx(context)
|
||||
private val radius: Float = 14f.dpToPx(context)
|
||||
|
||||
|
||||
private fun requestCollectCircleAdvert() :Boolean {
|
||||
var cycleInstrumented:MutableList<Float> = mutableListOf<Float>()
|
||||
println(cycleInstrumented)
|
||||
var utilDraw = "segment"
|
||||
var instrumentedRevolution = 1803.0
|
||||
var lagarithracGetpixNonzero:Boolean = false
|
||||
instrumentedRevolution += 7376.0
|
||||
lagarithracGetpixNonzero = instrumentedRevolution > 72
|
||||
|
||||
return lagarithracGetpixNonzero
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
|
||||
|
||||
var cinvideoAuthor = this.requestCollectCircleAdvert()
|
||||
|
||||
if (cinvideoAuthor) {
|
||||
println("ok")
|
||||
}
|
||||
|
||||
println(cinvideoAuthor)
|
||||
|
||||
|
||||
var h_lockD:Boolean = false
|
||||
while (!h_lockD) { break }
|
||||
|
||||
|
||||
super.onMeasure(
|
||||
MeasureSpec.makeMeasureSpec(widthPx.toInt(), MeasureSpec.EXACTLY),
|
||||
MeasureSpec.makeMeasureSpec(heightPx.toInt(), MeasureSpec.EXACTLY)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
private fun singleRandomOriginalPlayerContextLazy(privacyAnimation: Int, cagetoryRecommends: Int, max_qbSpacing: Float) :Int {
|
||||
var draggingLine = "proportions"
|
||||
var areaAction:MutableList<Float> = mutableListOf<Float>()
|
||||
var foregroundStarted = mutableMapOf<String,Boolean>()
|
||||
var centerModity = mutableListOf<String>()
|
||||
var uthorInitializedBufs:Int = 3224
|
||||
|
||||
return uthorInitializedBufs
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun editorFavorClickWork() {
|
||||
|
||||
var imensionLinux:Int = this.singleRandomOriginalPlayerContextLazy(8381,3818,5986.0f)
|
||||
|
||||
println(imensionLinux)
|
||||
|
||||
println(imensionLinux)
|
||||
|
||||
|
||||
var controllerx:Long = 3626L
|
||||
if (controllerx > 121L) {}
|
||||
|
||||
|
||||
path.reset()
|
||||
var topB:Boolean = false
|
||||
while (!topB) { break }
|
||||
|
||||
|
||||
|
||||
when (cellPoint) {
|
||||
CellPoint.START -> {
|
||||
var header5D:Long = 9597L
|
||||
if (header5D == 157L) {}
|
||||
|
||||
|
||||
|
||||
path.moveTo(0f, radius)
|
||||
var views8:Boolean = false
|
||||
if (views8) {}
|
||||
|
||||
|
||||
path.quadTo(0f, 0f, radius, 0f)
|
||||
}
|
||||
|
||||
else -> {
|
||||
var moditya:MutableMap<String,Boolean> = mutableMapOf<String,Boolean>()
|
||||
moditya.put("ccitt", false)
|
||||
moditya.put("stsc", false)
|
||||
moditya.put("individual", false)
|
||||
moditya.put("datetime", false)
|
||||
while (moditya.size > 40) { break }
|
||||
|
||||
|
||||
|
||||
path.moveTo(cut - 2f.dpToPx(context), radius)
|
||||
var examplec:Boolean = false
|
||||
if (examplec) {}
|
||||
println(examplec)
|
||||
|
||||
|
||||
path.quadTo(cut, 0f, cut + radius, 0f)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
path.lineTo(widthPx - radius, 0f)
|
||||
var privacy3:String = "unix"
|
||||
while (privacy3.length > 49) { break }
|
||||
println(privacy3)
|
||||
|
||||
|
||||
path.quadTo(widthPx, 0f, widthPx, radius)
|
||||
var cagetoryH:String = "unmix"
|
||||
if (cagetoryH.length > 32) {}
|
||||
|
||||
|
||||
|
||||
|
||||
if (cellPoint == CellPoint.END) {
|
||||
var controller8:Double = 3821.0
|
||||
if (controller8 <= 176.0) {}
|
||||
|
||||
|
||||
path.lineTo(widthPx, heightPx - radius)
|
||||
var normal7:Boolean = false
|
||||
|
||||
|
||||
path.quadTo(widthPx, heightPx, widthPx - radius, heightPx)
|
||||
} else {
|
||||
var freea:Float = 9669.0f
|
||||
while (freea > 12.0f) { break }
|
||||
|
||||
|
||||
path.lineTo(widthPx - cut, heightPx - radius)
|
||||
var historyV:MutableMap<String,Double> = mutableMapOf<String,Double>()
|
||||
historyV.put("mipsdsp", 302.0)
|
||||
historyV.put("triangle", 21.0)
|
||||
while (historyV.size > 79) { break }
|
||||
|
||||
|
||||
path.quadTo(widthPx - cut, heightPx, widthPx - cut - radius, heightPx)
|
||||
}
|
||||
|
||||
|
||||
path.lineTo(radius, heightPx)
|
||||
var recordo:Long = 5913L
|
||||
if (recordo <= 74L) {}
|
||||
println(recordo)
|
||||
|
||||
|
||||
path.quadTo(0f, heightPx, 0f, heightPx - radius)
|
||||
var cleari:Boolean = false
|
||||
if (cleari) {}
|
||||
|
||||
|
||||
|
||||
path.close()
|
||||
}
|
||||
|
||||
|
||||
|
||||
private fun openDeviceDispatchDuringCoreFavorite(dramaCancel: MutableMap<String,String>, blackText: MutableMap<String,String>) :Long {
|
||||
var verticalHelp:Double = 7692.0
|
||||
println(verticalHelp)
|
||||
var historyDeletes = "mbedtls"
|
||||
println(historyDeletes)
|
||||
var collectionsNavigate = 2232.0
|
||||
var logfuncDiracdspSpacing:Long = 2589L
|
||||
verticalHelp -= verticalHelp
|
||||
verticalHelp -= collectionsNavigate
|
||||
collectionsNavigate = verticalHelp
|
||||
|
||||
return logfuncDiracdspSpacing
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onDraw(canvas: Canvas) {
|
||||
|
||||
var buffersrcStatic:Long = this.openDeviceDispatchDuringCoreFavorite(mutableMapOf<String,String>(),mutableMapOf<String,String>())
|
||||
|
||||
println(buffersrcStatic)
|
||||
var buffersrcStatic_main_r: Int = buffersrcStatic.toInt()
|
||||
|
||||
println(buffersrcStatic)
|
||||
|
||||
|
||||
var cellY:String = "writex"
|
||||
|
||||
|
||||
this.coinsDefault_mjInstrumented_size = 2961.0
|
||||
|
||||
this.colorsLifecycleMenuMap = mutableMapOf<String,Boolean>()
|
||||
|
||||
this.suspendLoginFragment_tag = 5186
|
||||
|
||||
this.smartIconCount = 2513L
|
||||
|
||||
|
||||
|
||||
editorFavorClickWork()
|
||||
var vertical3:Long = 5409L
|
||||
println(vertical3)
|
||||
|
||||
|
||||
|
||||
|
||||
val bingeSecondsStrings = canvas.save()
|
||||
var main_r7:Double = 4673.0
|
||||
if (main_r7 < 108.0) {}
|
||||
|
||||
|
||||
|
||||
|
||||
canvas.clipPath(path)
|
||||
var observeX:MutableList<String> = mutableListOf<String>()
|
||||
observeX.add("macroblock")
|
||||
observeX.add("pin")
|
||||
observeX.add("cachesize")
|
||||
observeX.add("lost")
|
||||
|
||||
|
||||
|
||||
|
||||
super.onDraw(canvas)
|
||||
var logoW:Int = 5976
|
||||
if (logoW <= 104) {}
|
||||
|
||||
|
||||
|
||||
|
||||
canvas.restoreToCount(bingeSecondsStrings)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun formCharacterCallParcelNetClient(cycleRetrofit: String, clickApi: MutableMap<String,Long>) :Int {
|
||||
var description_gInstrumented = 2138.0
|
||||
var coverWork:Long = 127L
|
||||
var bbfdebaffdAgain:Float = 5238.0f
|
||||
println(bbfdebaffdAgain)
|
||||
var calcArgumentsHostportfile:Int = 3525
|
||||
description_gInstrumented *= description_gInstrumented
|
||||
coverWork = 2124L
|
||||
bbfdebaffdAgain = bbfdebaffdAgain
|
||||
|
||||
return calcArgumentsHostportfile
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun Float.dpToPx(context: Context): Float {
|
||||
var manager_dblint_d:String = "threshold"
|
||||
|
||||
var fipsFramesizes = formCharacterCallParcelNetClient(manager_dblint_d,mutableMapOf<String,Long>())
|
||||
|
||||
if (fipsFramesizes > 0) {
|
||||
for (a_5 in 0 .. fipsFramesizes) {
|
||||
if (a_5 == 2) {
|
||||
println(a_5)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
println(fipsFramesizes)
|
||||
|
||||
|
||||
var areai:Boolean = true
|
||||
while (areai) { break }
|
||||
|
||||
|
||||
return this * context.resources.displayMetrics.density
|
||||
}
|
@ -0,0 +1,599 @@
|
||||
package com.veloria.now.shortapp.rewards
|
||||
|
||||
import android.animation.TimeInterpolator
|
||||
import android.content.Context
|
||||
import android.graphics.Canvas
|
||||
import android.graphics.Color
|
||||
import android.graphics.Paint
|
||||
import android.util.AttributeSet
|
||||
import android.view.animation.AccelerateDecelerateInterpolator
|
||||
import androidx.annotation.ColorInt
|
||||
import androidx.core.graphics.ColorUtils
|
||||
import com.scwang.smart.refresh.layout.api.RefreshFooter
|
||||
import com.scwang.smart.refresh.layout.api.RefreshLayout
|
||||
import com.scwang.smart.refresh.layout.constant.SpinnerStyle
|
||||
import com.scwang.smart.refresh.layout.simple.SimpleComponent
|
||||
import com.veloria.now.shortapp.R
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class OVVideoAgreement @JvmOverloads constructor(
|
||||
context: Context,
|
||||
attrs: AttributeSet? = null
|
||||
) :
|
||||
SimpleComponent(context, attrs, 0), RefreshFooter {
|
||||
@Volatile
|
||||
private var hasDeteleCover: Boolean = true
|
||||
@Volatile
|
||||
private var selectedScreen_margin: Float = 8890.0f
|
||||
@Volatile
|
||||
private var has_ViewsRefreshHome: Boolean = false
|
||||
@Volatile
|
||||
private var progressLaunchJustString: String = "vpath"
|
||||
|
||||
|
||||
|
||||
private val interpolator: TimeInterpolator = AccelerateDecelerateInterpolator()
|
||||
|
||||
private var mNoMoreData: Boolean = false
|
||||
private var mManualNormalColor: Boolean = false
|
||||
private var mManualAnimationColor: Boolean = false
|
||||
private val paint: Paint = Paint()
|
||||
private var mNormalColor: Int = Color.parseColor("#dddddd")
|
||||
|
||||
private var mAnimatingColor: IntArray = intArrayOf(
|
||||
Color.parseColor("#FFBD36"),
|
||||
Color.parseColor("#FF3BCE"),
|
||||
Color.parseColor("#05CEA0")
|
||||
)
|
||||
|
||||
private val mCircleSpacing: Float
|
||||
private var startTime: Long = 0
|
||||
private var started: Boolean = false
|
||||
private val textWidth: Float
|
||||
|
||||
init {
|
||||
var seriesaA:String = "greater"
|
||||
if (seriesaA.length > 17) {}
|
||||
|
||||
|
||||
minimumHeight = resources.getDimension(R.dimen.dp_60).toInt()
|
||||
var bindB:Float = 835.0f
|
||||
while (bindB == 5.0f) { break }
|
||||
|
||||
|
||||
paint.color = Color.WHITE
|
||||
var videoo:MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
videoo.add(true)
|
||||
videoo.add(true)
|
||||
videoo.add(false)
|
||||
videoo.add(true)
|
||||
if (videoo.size > 131) {}
|
||||
|
||||
|
||||
paint.style = Paint.Style.FILL
|
||||
var leftg:Float = 5724.0f
|
||||
while (leftg == 41.0f) { break }
|
||||
println(leftg)
|
||||
|
||||
|
||||
paint.isAntiAlias = true
|
||||
var type_mpu:Int = 3341
|
||||
while (type_mpu == 39) { break }
|
||||
println(type_mpu)
|
||||
|
||||
|
||||
mSpinnerStyle = SpinnerStyle.Translate
|
||||
var jobBI:String = "fastmath"
|
||||
if (jobBI == "I") {}
|
||||
println(jobBI)
|
||||
|
||||
|
||||
mCircleSpacing = resources.getDimension(R.dimen.dp_2)
|
||||
var hotsb:Int = 9248
|
||||
while (hotsb >= 93) { break }
|
||||
|
||||
|
||||
paint.textSize = resources.getDimension(R.dimen.sp_14)
|
||||
var foreground4:Float = 2284.0f
|
||||
while (foreground4 == 151.0f) { break }
|
||||
|
||||
|
||||
textWidth = paint.measureText(getContext().getString(R.string.delete_i1Ball))
|
||||
}
|
||||
|
||||
fun setSpinnerStyle(style: SpinnerStyle?): OVVideoAgreement = apply {
|
||||
mSpinnerStyle = style
|
||||
}
|
||||
|
||||
|
||||
private fun commitStateWatcherDelay(playfairLogic: MutableList<String>, heightDeletes: Boolean, shapeStatus: Int) :String {
|
||||
var closeDeletes = 1887.0
|
||||
var executeMain = 882L
|
||||
var paintTitle = 7332L
|
||||
var backupHint:Int = 1542
|
||||
var vplayerNils = "jcmaster"
|
||||
if (closeDeletes <= 128 && closeDeletes >= -128){
|
||||
var categoies_l = min(1, kotlin.random.Random.nextInt(50)) % vplayerNils.length
|
||||
vplayerNils += closeDeletes.toString()
|
||||
}
|
||||
if (executeMain >= -128 && executeMain <= 128){
|
||||
var client_u:Int = min(1, kotlin.random.Random.nextInt(42)) % vplayerNils.length
|
||||
vplayerNils += executeMain.toString()
|
||||
}
|
||||
if (paintTitle >= -128 && paintTitle <= 128){
|
||||
var dimens_u:Int = min(1, kotlin.random.Random.nextInt(83)) % vplayerNils.length
|
||||
vplayerNils += paintTitle.toString()
|
||||
}
|
||||
if (backupHint <= 128 && backupHint >= -128){
|
||||
var detele_h:Int = min(1, kotlin.random.Random.nextInt(38)) % vplayerNils.length
|
||||
vplayerNils += backupHint.toString()
|
||||
}
|
||||
|
||||
return vplayerNils
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onStartAnimator(layout: RefreshLayout, height: Int, maxDragHeight: Int) {
|
||||
var stroker_n = mutableListOf<String>()
|
||||
|
||||
var preliminaryMore:String = this.commitStateWatcherDelay(stroker_n,true,4121)
|
||||
|
||||
println(preliminaryMore)
|
||||
var preliminaryMore_len:Int = preliminaryMore.length
|
||||
|
||||
println(preliminaryMore)
|
||||
|
||||
|
||||
var buy8:Float = 7044.0f
|
||||
while (buy8 > 167.0f) { break }
|
||||
|
||||
|
||||
if (started) {
|
||||
var coverG:Long = 591L
|
||||
if (coverG == 21L) {}
|
||||
|
||||
|
||||
return
|
||||
}
|
||||
invalidate()
|
||||
var addressm:MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
addressm.put("consecutive", 158L)
|
||||
addressm.put("isposable", 220L)
|
||||
addressm.put("export", 638L)
|
||||
addressm.put("sound", 483L)
|
||||
addressm.put("show", 245L)
|
||||
while (addressm.size > 67) { break }
|
||||
|
||||
|
||||
started = true
|
||||
var stringY:Boolean = true
|
||||
while (stringY) { break }
|
||||
|
||||
|
||||
startTime = System.currentTimeMillis()
|
||||
}
|
||||
|
||||
fun setAnimColor(@ColorInt color: Int): OVVideoAgreement = apply {
|
||||
mAnimatingColor = intArrayOf(color)
|
||||
mManualAnimationColor = true
|
||||
if (started) {
|
||||
paint.color = color
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
fun setNormalColor(@ColorInt color: Int): OVVideoAgreement = apply {
|
||||
mNormalColor = color
|
||||
mManualNormalColor = true
|
||||
if (!started) {
|
||||
paint.color = color
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private fun finishGraphicsNowWhite(refreshPlaying: Int, keywordAvatar: Boolean) :String {
|
||||
var allJust:MutableMap<String,String> = mutableMapOf<String,String>()
|
||||
var exampleSelect = "bytelen"
|
||||
var resourceFirst:Double = 2562.0
|
||||
println(resourceFirst)
|
||||
var rewardsCover = true
|
||||
println(rewardsCover)
|
||||
var indentationMathematicsMathes:String = "dimensions"
|
||||
println("click: " + exampleSelect)
|
||||
if (null != exampleSelect) {
|
||||
if(exampleSelect.length > 0 && indentationMathematicsMathes.length > 0) {
|
||||
indentationMathematicsMathes += exampleSelect.get(0)
|
||||
}
|
||||
}
|
||||
if (resourceFirst >= -128 && resourceFirst <= 128){
|
||||
var items_z:Int = min(1, kotlin.random.Random.nextInt(65)) % indentationMathematicsMathes.length
|
||||
indentationMathematicsMathes += resourceFirst.toString()
|
||||
}
|
||||
if (rewardsCover){
|
||||
println("setup")
|
||||
}
|
||||
|
||||
return indentationMathematicsMathes
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun setNoMoreData(mNoMoreData: Boolean): Boolean {
|
||||
|
||||
var multicastPopped:String = this.finishGraphicsNowWhite(3373,true)
|
||||
|
||||
var multicastPopped_len = multicastPopped.length
|
||||
println(multicastPopped)
|
||||
|
||||
println(multicastPopped)
|
||||
|
||||
|
||||
var cloud2:MutableList<Long> = mutableListOf<Long>()
|
||||
cloud2.add(875L)
|
||||
cloud2.add(818L)
|
||||
|
||||
|
||||
this.hasDeteleCover = true
|
||||
|
||||
this.selectedScreen_margin = 5409.0f
|
||||
|
||||
this.has_ViewsRefreshHome = false
|
||||
|
||||
this.progressLaunchJustString = "sinks"
|
||||
|
||||
|
||||
this.mNoMoreData = mNoMoreData
|
||||
var normalQ:Long = 1568L
|
||||
if (normalQ <= 111L) {}
|
||||
println(normalQ)
|
||||
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
private fun stayListStormJob() :String {
|
||||
var numberBanner:Int = 8571
|
||||
var buttonManager = false
|
||||
var completeLists:Long = 4872L
|
||||
var dylibsNowMotcomp = "superview"
|
||||
if (numberBanner <= 128 && numberBanner >= -128){
|
||||
var stand_j:Int = min(1, kotlin.random.Random.nextInt(20)) % dylibsNowMotcomp.length
|
||||
dylibsNowMotcomp += numberBanner.toString()
|
||||
}
|
||||
if (buttonManager){
|
||||
println("v_image")
|
||||
}
|
||||
if (completeLists >= -128 && completeLists <= 128){
|
||||
var menu_x = min(1, kotlin.random.Random.nextInt(38)) % dylibsNowMotcomp.length
|
||||
dylibsNowMotcomp += completeLists.toString()
|
||||
}
|
||||
|
||||
return dylibsNowMotcomp
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun setPrimaryColors(@ColorInt vararg colors: Int) {
|
||||
|
||||
var ctablesCommunicator = this.stayListStormJob()
|
||||
|
||||
var ctablesCommunicator_len = ctablesCommunicator.length
|
||||
println(ctablesCommunicator)
|
||||
|
||||
println(ctablesCommunicator)
|
||||
|
||||
|
||||
var setupf:Boolean = false
|
||||
if (!setupf) {}
|
||||
println(setupf)
|
||||
|
||||
|
||||
if (!mManualAnimationColor && colors.size > 1) {
|
||||
var keyboardI:Float = 5398.0f
|
||||
|
||||
|
||||
setAnimColor(colors[0])
|
||||
var authorizationQ:Boolean = false
|
||||
if (authorizationQ) {}
|
||||
|
||||
|
||||
mManualAnimationColor = false
|
||||
}
|
||||
if (!mManualNormalColor) {
|
||||
var animating2:MutableMap<String,Float> = mutableMapOf<String,Float>()
|
||||
animating2.put("bracket", 667.0f)
|
||||
animating2.put("nonce", 479.0f)
|
||||
animating2.put("offers", 50.0f)
|
||||
animating2.put("isolate", 556.0f)
|
||||
animating2.put("swich", 877.0f)
|
||||
|
||||
|
||||
if (colors.size > 1) {
|
||||
var fragmentn:Double = 7940.0
|
||||
if (fragmentn == 116.0) {}
|
||||
|
||||
|
||||
setNormalColor(colors[1])
|
||||
} else if (colors.isNotEmpty()) {
|
||||
var roundG:MutableMap<String,Float> = mutableMapOf<String,Float>()
|
||||
roundG.put("colons", 887.0f)
|
||||
roundG.put("bearing", 282.0f)
|
||||
roundG.put("mongo", 318.0f)
|
||||
roundG.put("yonlyx", 424.0f)
|
||||
roundG.put("holders", 140.0f)
|
||||
roundG.put("sockets", 424.0f)
|
||||
println(roundG)
|
||||
|
||||
|
||||
setNormalColor(ColorUtils.compositeColors(Color.parseColor("#99FFFFFF"), colors[0]))
|
||||
}
|
||||
mManualNormalColor = false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun exploreStoreMoveBuyYouthAdvert(moreEmpty: Int, nameSelect: Boolean, dispatchImage: Boolean) :Int {
|
||||
var skewedItem:String = "arctic"
|
||||
var adapterBlack:Long = 7192L
|
||||
var serviceAnimation = 6091.0
|
||||
var characteristicsDenomCluster:Int = 1600
|
||||
adapterBlack = 2849L
|
||||
serviceAnimation = 3399.0
|
||||
|
||||
return characteristicsDenomCluster
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onFinish(layout: RefreshLayout, success: Boolean): Int {
|
||||
|
||||
var refinedUpdated:Int = this.exploreStoreMoveBuyYouthAdvert(3727,true,true)
|
||||
|
||||
if (refinedUpdated > 2) {
|
||||
for (u_6 in 0 .. refinedUpdated) {
|
||||
if (u_6 == 0) {
|
||||
println(u_6)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
println(refinedUpdated)
|
||||
|
||||
|
||||
var recentw:Int = 1864
|
||||
|
||||
|
||||
started = false
|
||||
var placew:Int = 8509
|
||||
if (placew > 177) {}
|
||||
println(placew)
|
||||
|
||||
|
||||
startTime = 0
|
||||
var call6:Boolean = false
|
||||
if (!call6) {}
|
||||
|
||||
|
||||
paint.color = mNormalColor
|
||||
var max_eV:String = "scaling"
|
||||
if (max_eV == "_") {}
|
||||
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
private fun requestConverterConcurrentString(dramaData: MutableMap<String,Boolean>) :MutableMap<String,String> {
|
||||
var rightMedia:Float = 3287.0f
|
||||
var stringCloud = "undotted"
|
||||
println(stringCloud)
|
||||
var showCorrect = mutableListOf<String>()
|
||||
var changeService = mutableListOf<Float>()
|
||||
var racingEmittedCodestream = mutableMapOf<String,String>()
|
||||
racingEmittedCodestream.put("attempts", "jpegdsp")
|
||||
racingEmittedCodestream.put("jpegtables", "rewritten")
|
||||
racingEmittedCodestream.put("globals", "gigabyte")
|
||||
racingEmittedCodestream.put("navigated", "mmsh")
|
||||
racingEmittedCodestream.put("loading", "reception")
|
||||
rightMedia *= 1061.0f
|
||||
racingEmittedCodestream.put("mutationEtherTadd", "${rightMedia}")
|
||||
racingEmittedCodestream.put("inserted", stringCloud.toUpperCase())
|
||||
for(breaks in 0 .. showCorrect.size - 1) {
|
||||
racingEmittedCodestream.put("mbstringGrid", showCorrect.get(breaks))
|
||||
|
||||
}
|
||||
for(detecting in changeService) {
|
||||
racingEmittedCodestream.put("unimportantLebn", "${detecting}")
|
||||
|
||||
}
|
||||
|
||||
return racingEmittedCodestream
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun dispatchDraw(canvas: Canvas) {
|
||||
|
||||
var deinterleavedPniels = this.requestConverterConcurrentString(mutableMapOf<String,Boolean>())
|
||||
|
||||
for(object_i in deinterleavedPniels) {
|
||||
println(object_i.key)
|
||||
println(object_i.value)
|
||||
}
|
||||
var deinterleavedPniels_len:Int = deinterleavedPniels.size
|
||||
|
||||
println(deinterleavedPniels)
|
||||
|
||||
|
||||
var primaryK:Double = 3922.0
|
||||
while (primaryK > 112.0) { break }
|
||||
|
||||
|
||||
val colorsU: Int = width
|
||||
var placem:Float = 4163.0f
|
||||
if (placem < 68.0f) {}
|
||||
|
||||
|
||||
val collectionsNewsCheckU: Int = height
|
||||
var horizontallyy:Float = 9867.0f
|
||||
while (horizontallyy > 178.0f) { break }
|
||||
|
||||
|
||||
if (mNoMoreData) {
|
||||
var statusZ:Boolean = false
|
||||
if (statusZ) {}
|
||||
println(statusZ)
|
||||
|
||||
|
||||
paint.color = Color.parseColor("#999999")
|
||||
var helph:Double = 4633.0
|
||||
if (helph <= 136.0) {}
|
||||
println(helph)
|
||||
|
||||
|
||||
canvas.drawText(
|
||||
context.getString(R.string.delete_i1Ball),
|
||||
(colorsU - textWidth) / 2, (collectionsNewsCheckU - paint.textSize) / 2, paint
|
||||
)
|
||||
} else {
|
||||
var contextW:Boolean = true
|
||||
while (!contextW) { break }
|
||||
|
||||
|
||||
val extractionCurrent: Float = (min(colorsU, collectionsNewsCheckU) - mCircleSpacing * 2) / 7
|
||||
var categoriesN:Float = 684.0f
|
||||
if (categoriesN < 177.0f) {}
|
||||
|
||||
|
||||
val while_i0Started: Float = colorsU / 2f - (extractionCurrent * 2 + mCircleSpacing)
|
||||
var listenerv:MutableList<String> = mutableListOf<String>()
|
||||
listenerv.add("emoji")
|
||||
listenerv.add("executing")
|
||||
listenerv.add("signal")
|
||||
listenerv.add("expirations")
|
||||
listenerv.add("statistic")
|
||||
if (listenerv.contains("player")) {}
|
||||
|
||||
|
||||
val mediaUpload: Float = collectionsNewsCheckU / 2f
|
||||
var addressf:Long = 105L
|
||||
while (addressf < 87L) { break }
|
||||
|
||||
|
||||
val viewwBannerSetup: Long = System.currentTimeMillis()
|
||||
var dramaY:MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
dramaY.add(true)
|
||||
dramaY.add(true)
|
||||
dramaY.add(false)
|
||||
dramaY.add(true)
|
||||
dramaY.add(false)
|
||||
dramaY.add(true)
|
||||
while (dramaY.size > 200) { break }
|
||||
|
||||
|
||||
for (i in 0..2) {
|
||||
var detailsh:Float = 1.0f
|
||||
println(detailsh)
|
||||
|
||||
|
||||
val binge9: Long = viewwBannerSetup - startTime - (120 * (i + 1))
|
||||
var singleb:Float = 3513.0f
|
||||
if (singleb >= 44.0f) {}
|
||||
|
||||
|
||||
var storeBottom: Float = if (binge9 > 0) ((binge9 % 750) / 750f) else 0f
|
||||
storeBottom = interpolator.getInterpolation(storeBottom)
|
||||
var recordy:Long = 6042L
|
||||
while (recordy > 172L) { break }
|
||||
|
||||
|
||||
canvas.save()
|
||||
var trendsT:Double = 6672.0
|
||||
while (trendsT >= 183.0) { break }
|
||||
|
||||
|
||||
val rightPoint: Float = while_i0Started + ((extractionCurrent * 2) * i) + (mCircleSpacing * i)
|
||||
var type_o76:Long = 5735L
|
||||
while (type_o76 >= 9L) { break }
|
||||
|
||||
|
||||
if (storeBottom < 0.5) {
|
||||
var ballF:MutableMap<String,String> = mutableMapOf<String,String>()
|
||||
ballF.put("managed", "prods")
|
||||
ballF.put("printer", "yield")
|
||||
ballF.put("rtpsender", "avsubtitle")
|
||||
ballF.put("rowid", "arped")
|
||||
ballF.put("offer", "layercontext")
|
||||
ballF.put("alg", "libavutil")
|
||||
if (ballF.size > 10) {}
|
||||
|
||||
|
||||
val urlHolder: Float = 1 - storeBottom * 2 * 0.7f
|
||||
var firstL:MutableMap<String,Double> = mutableMapOf<String,Double>()
|
||||
firstL.put("continual", 262.0)
|
||||
firstL.put("andle", 312.0)
|
||||
firstL.put("reconintra", 61.0)
|
||||
firstL.put("animator", 805.0)
|
||||
firstL.put("interacting", 423.0)
|
||||
firstL.put("uintle", 635.0)
|
||||
|
||||
|
||||
val controllerActionPaint: Float = mediaUpload - urlHolder * 10
|
||||
var foregrounda:MutableMap<String,String> = mutableMapOf<String,String>()
|
||||
foregrounda.put("after", "apprecationhours")
|
||||
foregrounda.put("elliptical", "canonical")
|
||||
foregrounda.put("orange", "kps")
|
||||
foregrounda.put("hmhd", "suggested")
|
||||
if (foregrounda.get("l") != null) {}
|
||||
println(foregrounda)
|
||||
|
||||
|
||||
canvas.translate(rightPoint, controllerActionPaint)
|
||||
} else {
|
||||
var controllerH:String = "permutations"
|
||||
|
||||
|
||||
val urlHolder: Float = storeBottom * 2 * 0.7f - 0.4f
|
||||
var interceptorT:Long = 4589L
|
||||
while (interceptorT == 136L) { break }
|
||||
|
||||
|
||||
val controllerActionPaint: Float = mediaUpload + urlHolder * 10
|
||||
var watchingA:Boolean = true
|
||||
while (watchingA) { break }
|
||||
|
||||
|
||||
canvas.translate(rightPoint, controllerActionPaint)
|
||||
}
|
||||
paint.color = mAnimatingColor[i % mAnimatingColor.size]
|
||||
var messagei:MutableList<Long> = mutableListOf<Long>()
|
||||
messagei.add(825L)
|
||||
messagei.add(798L)
|
||||
if (messagei.size > 11) {}
|
||||
|
||||
|
||||
canvas.drawCircle(0f, 0f, extractionCurrent / 3, paint)
|
||||
var deletesJ:Long = 3865L
|
||||
if (deletesJ <= 182L) {}
|
||||
|
||||
|
||||
canvas.restore()
|
||||
}
|
||||
}
|
||||
if (started) {
|
||||
var episodee:MutableMap<String,Int> = mutableMapOf<String,Int>()
|
||||
episodee.put("sender", 0)
|
||||
episodee.put("steal", 29)
|
||||
while (episodee.size > 104) { break }
|
||||
|
||||
|
||||
postInvalidate()
|
||||
}
|
||||
}
|
||||
}
|
1218
app/src/main/java/com/veloria/now/shortapp/rewards/PUtilsView.kt
Normal file
1218
app/src/main/java/com/veloria/now/shortapp/rewards/PUtilsView.kt
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
248
app/src/main/java/com/veloria/now/shortapp/rewards/UVPlayer.kt
Normal file
248
app/src/main/java/com/veloria/now/shortapp/rewards/UVPlayer.kt
Normal file
@ -0,0 +1,248 @@
|
||||
package com.veloria.now.shortapp.rewards
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.content.Context
|
||||
import android.util.AttributeSet
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.animation.AlphaAnimation
|
||||
import android.view.animation.Animation
|
||||
import android.view.animation.AnimationSet
|
||||
import android.view.animation.ScaleAnimation
|
||||
import android.widget.FrameLayout
|
||||
import com.veloria.now.shortapp.R
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class UVPlayer : FrameLayout {
|
||||
@Volatile
|
||||
private var freeRegister_x_Menu_idx: Long = 8993L
|
||||
@Volatile
|
||||
var shareDetail_dict: MutableMap<String,String> = mutableMapOf<String,String>()
|
||||
|
||||
|
||||
private var loadView: View? = null
|
||||
|
||||
constructor(context: Context) : super(context) {
|
||||
var apiv:String = "omega"
|
||||
if (apiv == "A") {}
|
||||
|
||||
|
||||
initView(context)
|
||||
}
|
||||
|
||||
constructor(context: Context, attrs: AttributeSet?) : super(context, attrs) {
|
||||
var resourcep:String = "retransmits"
|
||||
if (resourcep.length > 51) {}
|
||||
|
||||
|
||||
initView(context)
|
||||
}
|
||||
|
||||
constructor(
|
||||
context: Context,
|
||||
attrs: AttributeSet?,
|
||||
defStyleAttr: Int
|
||||
) : super(context, attrs, defStyleAttr) {
|
||||
var textU:Int = 3360
|
||||
|
||||
|
||||
initView(context)
|
||||
}
|
||||
|
||||
|
||||
private fun darkPageMinuteCycle() :String {
|
||||
var boldPrimary:Float = 7436.0f
|
||||
var sourceName:String = "nhance"
|
||||
var max_atCharacter:Long = 3012L
|
||||
println(max_atCharacter)
|
||||
var absPrimesGetpaddrs:String = "reflect"
|
||||
if (boldPrimary <= 128 && boldPrimary >= -128){
|
||||
var v_lock_z = min(1, kotlin.random.Random.nextInt(85)) % absPrimesGetpaddrs.length
|
||||
absPrimesGetpaddrs += boldPrimary.toString()
|
||||
}
|
||||
if (sourceName.equals("load")) {
|
||||
println("sourceName" + sourceName)
|
||||
}
|
||||
var remove_i:Int = min(1, kotlin.random.Random.nextInt(31)) % sourceName.length
|
||||
var all_b = min(1, kotlin.random.Random.nextInt(72)) % absPrimesGetpaddrs.length
|
||||
absPrimesGetpaddrs += sourceName.get(remove_i)
|
||||
if (max_atCharacter <= 128 && max_atCharacter >= -128){
|
||||
var interceptor_r = min(1, kotlin.random.Random.nextInt(97)) % absPrimesGetpaddrs.length
|
||||
absPrimesGetpaddrs += max_atCharacter.toString()
|
||||
}
|
||||
|
||||
return absPrimesGetpaddrs
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun endAnimation() {
|
||||
|
||||
var aligningVivo:String = this.darkPageMinuteCycle()
|
||||
|
||||
if (aligningVivo == "single") {
|
||||
println(aligningVivo)
|
||||
}
|
||||
var aligningVivo_len = aligningVivo.length
|
||||
|
||||
println(aligningVivo)
|
||||
|
||||
|
||||
var cellJ:Double = 9122.0
|
||||
if (cellJ < 72.0) {}
|
||||
|
||||
|
||||
this.freeRegister_x_Menu_idx = 5026L
|
||||
|
||||
this.shareDetail_dict = mutableMapOf<String,String>()
|
||||
|
||||
|
||||
loadView!!.clearAnimation()
|
||||
}
|
||||
|
||||
|
||||
private fun fullPlatformCreateWhenLeft(paintDraw: MutableList<Boolean>) :Int {
|
||||
var againSelect:MutableList<Long> = mutableListOf<Long>()
|
||||
var menuShare = "reordering"
|
||||
var chooseTrending:MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
println(chooseTrending)
|
||||
var minsImmediateInternal:Int = 4057
|
||||
|
||||
return minsImmediateInternal
|
||||
|
||||
}
|
||||
|
||||
|
||||
@SuppressLint("MissingInflatedId")
|
||||
private fun initView(mContext: Context) {
|
||||
var sets_r:MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
|
||||
var gammaRematrixing = this.fullPlatformCreateWhenLeft(sets_r)
|
||||
|
||||
println(gammaRematrixing)
|
||||
|
||||
println(gammaRematrixing)
|
||||
|
||||
|
||||
var dialog5:MutableList<String> = mutableListOf<String>()
|
||||
dialog5.add("napshot")
|
||||
dialog5.add("fighters")
|
||||
dialog5.add("yesterday")
|
||||
if (dialog5.size > 33) {}
|
||||
println(dialog5)
|
||||
|
||||
|
||||
val giftClientBannerView: View = LayoutInflater.from(mContext).inflate(R.layout.l_icon_view, null)
|
||||
var watchd:Boolean = false
|
||||
|
||||
|
||||
loadView = giftClientBannerView.findViewById(R.id.loadingView)
|
||||
var correctK:Int = 506
|
||||
while (correctK == 185) { break }
|
||||
|
||||
|
||||
this.addView(giftClientBannerView)
|
||||
}
|
||||
|
||||
|
||||
private fun surfaceCodeSequence(displayPlay: MutableList<Int>, verticalListener: Long) :String {
|
||||
var verticalPlayer:String = "zoneinfo"
|
||||
var latestPager = 4780.0f
|
||||
var holderNum:MutableList<Int> = mutableListOf<Int>()
|
||||
println(holderNum)
|
||||
var cancellingScrollerFreep = "jwt"
|
||||
println("arrangement: " + verticalPlayer)
|
||||
if (null != verticalPlayer) {
|
||||
var collection_x = min(1, kotlin.random.Random.nextInt(38)) % verticalPlayer.length
|
||||
var cut_u = min(1, kotlin.random.Random.nextInt(84)) % cancellingScrollerFreep.length
|
||||
var path_a = min(collection_x,cut_u)
|
||||
if (path_a > 0){
|
||||
for(s in 0 .. min(1, path_a - 1)){
|
||||
cancellingScrollerFreep += verticalPlayer.get(s)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (latestPager <= 128 && latestPager >= -128){
|
||||
var time_v_q:Int = min(1, kotlin.random.Random.nextInt(44)) % cancellingScrollerFreep.length
|
||||
cancellingScrollerFreep += latestPager.toString()
|
||||
}
|
||||
|
||||
return cancellingScrollerFreep
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun startAnimation() {
|
||||
var example_g = mutableListOf<Int>()
|
||||
|
||||
var cacheflushOut:String = this.surfaceCodeSequence(example_g,7579L)
|
||||
|
||||
var cacheflushOut_len:Int = cacheflushOut.length
|
||||
println(cacheflushOut)
|
||||
|
||||
println(cacheflushOut)
|
||||
|
||||
|
||||
var startS:Double = 6011.0
|
||||
if (startS <= 80.0) {}
|
||||
println(startS)
|
||||
|
||||
|
||||
val urlHolder = ScaleAnimation(
|
||||
0.3f, 1f, 1f, 1f,
|
||||
Animation.RELATIVE_TO_SELF, 0.5f,
|
||||
Animation.RELATIVE_TO_SELF, 0.5f
|
||||
)
|
||||
var gradlewr:Float = 1625.0f
|
||||
if (gradlewr <= 142.0f) {}
|
||||
|
||||
|
||||
val audio1 = AlphaAnimation(1f, 0.2f)
|
||||
var morep:Float = 2590.0f
|
||||
if (morep <= 171.0f) {}
|
||||
|
||||
|
||||
urlHolder.repeatCount = -1
|
||||
var buildera:MutableList<Float> = mutableListOf<Float>()
|
||||
buildera.add(10.0f)
|
||||
buildera.add(821.0f)
|
||||
if (buildera.contains(3630.0f)) {}
|
||||
|
||||
|
||||
audio1.repeatCount = -1
|
||||
var totale:String = "laces"
|
||||
if (totale == "C") {}
|
||||
|
||||
|
||||
val set = AnimationSet(true)
|
||||
var renderersg:MutableList<Int> = mutableListOf<Int>()
|
||||
renderersg.add(299)
|
||||
renderersg.add(926)
|
||||
if (renderersg.contains(310)) {}
|
||||
|
||||
|
||||
set.addAnimation(urlHolder)
|
||||
var bannerlR:MutableList<Float> = mutableListOf<Float>()
|
||||
bannerlR.add(743.0f)
|
||||
bannerlR.add(482.0f)
|
||||
bannerlR.add(273.0f)
|
||||
bannerlR.add(32.0f)
|
||||
bannerlR.add(927.0f)
|
||||
if (bannerlR.size > 7) {}
|
||||
|
||||
|
||||
set.addAnimation(audio1)
|
||||
var animatorwq:Double = 446.0
|
||||
if (animatorwq < 77.0) {}
|
||||
|
||||
|
||||
set.duration = 500
|
||||
var paddingg:Float = 19.0f
|
||||
if (paddingg < 188.0f) {}
|
||||
|
||||
|
||||
loadView!!.startAnimation(set)
|
||||
}
|
||||
}
|
@ -0,0 +1,689 @@
|
||||
package com.veloria.now.shortapp.rewards
|
||||
|
||||
import android.content.Context
|
||||
import android.graphics.drawable.Drawable
|
||||
import android.util.AttributeSet
|
||||
import android.view.LayoutInflater
|
||||
import android.view.ViewGroup
|
||||
import android.widget.FrameLayout
|
||||
import android.widget.ImageView
|
||||
import android.widget.TextView
|
||||
import androidx.annotation.DrawableRes
|
||||
import androidx.annotation.RawRes
|
||||
import androidx.annotation.StringRes
|
||||
import androidx.core.content.ContextCompat
|
||||
import com.veloria.now.shortapp.R
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class VSNotificationsDefault @JvmOverloads constructor(
|
||||
context: Context, attrs: AttributeSet? = null,
|
||||
defStyleAttr: Int = 0, defStyleRes: Int = 0
|
||||
) :
|
||||
FrameLayout(context, attrs, defStyleAttr, defStyleRes) {
|
||||
@Volatile
|
||||
var traceTestPadding: Float = 9408.0f
|
||||
@Volatile
|
||||
private var movePlayfairMeasureArray: MutableList<Float> = mutableListOf<Float>()
|
||||
@Volatile
|
||||
var rewardsRightDelete_p0Index: Long = 2995L
|
||||
@Volatile
|
||||
var scannerBingeListener_idx: Long = 8377L
|
||||
|
||||
|
||||
|
||||
private var mainLayout: ViewGroup? = null
|
||||
|
||||
private var imageView: ImageView? = null
|
||||
|
||||
private var tvContent: TextView? = null
|
||||
|
||||
private var tvMessage: TextView? = null
|
||||
|
||||
private var retryView: TextView? = null
|
||||
|
||||
private var listener: OnRetryListener? = null
|
||||
|
||||
private fun cloudyDramaCancelFormatSink(smartNotifications: Long, imgFirst: Float, setupKeyboard: MutableList<Int>) :Long {
|
||||
var resJust = 4399L
|
||||
var priceRetrofit:Int = 5523
|
||||
println(priceRetrofit)
|
||||
var tabRenderers:MutableList<Float> = mutableListOf<Float>()
|
||||
var xnasmSchnorr:Long = 5218L
|
||||
resJust -= 9248L
|
||||
xnasmSchnorr *= resJust
|
||||
priceRetrofit -= 1846
|
||||
|
||||
return xnasmSchnorr
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun surfaceHeightProgressiveBrowseCoreMain() {
|
||||
var hexcharint_z:MutableList<Int> = mutableListOf<Int>()
|
||||
|
||||
var likeInformation:Long = this.cloudyDramaCancelFormatSink(8186L,9572.0f,hexcharint_z)
|
||||
|
||||
if (likeInformation == 51L) {
|
||||
println(likeInformation)
|
||||
}
|
||||
var job_likeInformation: Int = likeInformation.toInt()
|
||||
|
||||
println(likeInformation)
|
||||
|
||||
|
||||
var collect6:Long = 4445L
|
||||
if (collect6 >= 9L) {}
|
||||
println(collect6)
|
||||
|
||||
|
||||
mainLayout = LayoutInflater.from(context)
|
||||
.inflate(R.layout.u_resource, this, false) as ViewGroup
|
||||
var with_aK:Boolean = false
|
||||
while (!with_aK) { break }
|
||||
|
||||
|
||||
imageView = mainLayout!!.findViewById(R.id.iv_icon)
|
||||
var networki:MutableList<Double> = mutableListOf<Double>()
|
||||
networki.add(816.0)
|
||||
networki.add(936.0)
|
||||
networki.add(330.0)
|
||||
networki.add(918.0)
|
||||
networki.add(406.0)
|
||||
if (networki.contains(8136.0)) {}
|
||||
println(networki)
|
||||
|
||||
|
||||
tvContent = mainLayout!!.findViewById(R.id.tvEmptyTitle)
|
||||
var handleru:Boolean = true
|
||||
while (handleru) { break }
|
||||
|
||||
|
||||
tvMessage = mainLayout!!.findViewById(R.id.tvEmptyMessage)
|
||||
var place1:Long = 4101L
|
||||
while (place1 > 147L) { break }
|
||||
|
||||
|
||||
retryView = mainLayout!!.findViewById(R.id.btnRetry)
|
||||
var cloudj:Double = 9036.0
|
||||
while (cloudj < 171.0) { break }
|
||||
|
||||
|
||||
retryView!!.setOnClickListener {
|
||||
var free6:Boolean = true
|
||||
|
||||
|
||||
var statey:Int = 4980
|
||||
if (statey < 131) {}
|
||||
println(statey)
|
||||
|
||||
|
||||
listener?.onRetry(this@VSNotificationsDefault)
|
||||
}
|
||||
addView(mainLayout)
|
||||
}
|
||||
|
||||
|
||||
private fun needForeverIllegalViewScreen() :String {
|
||||
var needCorrect:MutableMap<String,String> = mutableMapOf<String,String>()
|
||||
var userHeight:String = "sendv"
|
||||
var visibleFddebcdbeeffcebdf = mutableMapOf<String,Long>()
|
||||
println(visibleFddebcdbeeffcebdf)
|
||||
var footerSeconds:Float = 727.0f
|
||||
println(footerSeconds)
|
||||
var n_77Hwdownload:String = "headphone"
|
||||
if (userHeight == "smart") {
|
||||
println("userHeight" + userHeight)
|
||||
}
|
||||
if (null != userHeight) {
|
||||
var resource_z:Int = min(1, kotlin.random.Random.nextInt(64)) % userHeight.length
|
||||
var upload_x:Int = min(1, kotlin.random.Random.nextInt(81)) % n_77Hwdownload.length
|
||||
n_77Hwdownload += userHeight.get(resource_z)
|
||||
}
|
||||
if (footerSeconds >= -128 && footerSeconds <= 128){
|
||||
var salt_o = min(1, kotlin.random.Random.nextInt(17)) % n_77Hwdownload.length
|
||||
n_77Hwdownload += footerSeconds.toString()
|
||||
}
|
||||
|
||||
return n_77Hwdownload
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setTitle(text: CharSequence?) {
|
||||
|
||||
var handshakeEach:String = this.needForeverIllegalViewScreen()
|
||||
|
||||
var handshakeEach_len = handshakeEach.length
|
||||
println(handshakeEach)
|
||||
|
||||
println(handshakeEach)
|
||||
|
||||
|
||||
var draggingb:Double = 154.0
|
||||
while (draggingb > 96.0) { break }
|
||||
println(draggingb)
|
||||
|
||||
|
||||
tvContent?.text = text ?: ""
|
||||
}
|
||||
|
||||
|
||||
private fun prepareFollowCellInnerOff() :Double {
|
||||
var handlerTrends = "recv"
|
||||
println(handlerTrends)
|
||||
var bindingModel:Boolean = false
|
||||
println(bindingModel)
|
||||
var videoCorrect:Float = 7731.0f
|
||||
var bootstrapBinkdata:Double = 5230.0
|
||||
bindingModel = false
|
||||
bootstrapBinkdata *= if(bindingModel) 53 else 35
|
||||
videoCorrect *= videoCorrect
|
||||
|
||||
return bootstrapBinkdata
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun hide() {
|
||||
|
||||
var transcodeMrz:Double = this.prepareFollowCellInnerOff()
|
||||
|
||||
println(transcodeMrz)
|
||||
|
||||
println(transcodeMrz)
|
||||
|
||||
|
||||
var stylesG:Boolean = false
|
||||
if (!stylesG) {}
|
||||
|
||||
|
||||
if (mainLayout == null || !isShow()) {
|
||||
var schemeP:String = "terminate"
|
||||
if (schemeP.length > 0) {}
|
||||
|
||||
|
||||
return
|
||||
}
|
||||
mainLayout!!.visibility = INVISIBLE
|
||||
}
|
||||
|
||||
|
||||
private fun bindCorrectPriceCapability(historyModule: Double) :MutableMap<String,Float> {
|
||||
var manualItem = mutableListOf<Int>()
|
||||
var agentView:MutableMap<String,Boolean> = mutableMapOf<String,Boolean>()
|
||||
println(agentView)
|
||||
var trendCover:Float = 9605.0f
|
||||
println(trendCover)
|
||||
var manifestVariable:String = "vmafmotiondsp"
|
||||
println(manifestVariable)
|
||||
var failableLatitudeVmhd:MutableMap<String,Float> = mutableMapOf<String,Float>()
|
||||
failableLatitudeVmhd.put("ffmpeg", 500.0f)
|
||||
failableLatitudeVmhd.put("mipsfpu", 763.0f)
|
||||
failableLatitudeVmhd.put("avstring", 716.0f)
|
||||
for(guessed in manualItem) {
|
||||
failableLatitudeVmhd.put("impulseEnumvalueComb", guessed.toFloat())
|
||||
|
||||
}
|
||||
for(should in 0 .. agentView.keys.toList().size - 1) {
|
||||
failableLatitudeVmhd.put("webpages", 0.0f)
|
||||
|
||||
}
|
||||
trendCover -= 1253.0f
|
||||
failableLatitudeVmhd.put("crossfadingRngSegwit", trendCover)
|
||||
failableLatitudeVmhd.put("cascaded", 973.0f)
|
||||
|
||||
return failableLatitudeVmhd
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setIcon(@DrawableRes id: Int) {
|
||||
|
||||
var alsasymboltableAdjectives = this.bindCorrectPriceCapability(5459.0)
|
||||
|
||||
val _alsasymboltableAdjectivestemp = alsasymboltableAdjectives.keys.toList()
|
||||
for(index_j in 0 .. _alsasymboltableAdjectivestemp.size - 1) {
|
||||
val key_index_j = _alsasymboltableAdjectivestemp.get(index_j)
|
||||
val value_index_j = alsasymboltableAdjectives.get(key_index_j)
|
||||
if (index_j == 99) {
|
||||
println(key_index_j)
|
||||
println(value_index_j)
|
||||
break
|
||||
}
|
||||
}
|
||||
var alsasymboltableAdjectives_len:Int = alsasymboltableAdjectives.size
|
||||
|
||||
println(alsasymboltableAdjectives)
|
||||
|
||||
|
||||
var edit4:Double = 3986.0
|
||||
while (edit4 < 76.0) { break }
|
||||
|
||||
|
||||
setIcon(ContextCompat.getDrawable(context, id))
|
||||
}
|
||||
|
||||
|
||||
private fun beginPortArePlatform() :Boolean {
|
||||
var downPager = "clli"
|
||||
var cutPath:Int = 210
|
||||
var time_hRetry:Boolean = false
|
||||
var headerDefault_60 = "cronos"
|
||||
var prodMbufsHints:Boolean = false
|
||||
cutPath -= 7075
|
||||
prodMbufsHints = cutPath > 4
|
||||
time_hRetry = true
|
||||
prodMbufsHints = time_hRetry
|
||||
|
||||
return prodMbufsHints
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun isShow(): Boolean {
|
||||
|
||||
var rlottiecommonAwait = this.beginPortArePlatform()
|
||||
|
||||
if (!rlottiecommonAwait) {
|
||||
println("keyword")
|
||||
}
|
||||
|
||||
println(rlottiecommonAwait)
|
||||
|
||||
|
||||
var transparentc:String = "movepage"
|
||||
while (transparentc.length > 194) { break }
|
||||
|
||||
|
||||
return mainLayout != null && mainLayout?.visibility == VISIBLE
|
||||
}
|
||||
|
||||
|
||||
private fun hailTopDispatchZoomAlsoLaunch(cloudDisplay: MutableMap<String,Boolean>) :MutableMap<String,Int> {
|
||||
var managerHeader:String = "max"
|
||||
println(managerHeader)
|
||||
var seekIndex = 640.0f
|
||||
println(seekIndex)
|
||||
var androidCharacter:MutableMap<String,String> = mutableMapOf<String,String>()
|
||||
var requestVideo = mutableListOf<Long>()
|
||||
var ffprobeOwnersCreating = mutableMapOf<String,Int>()
|
||||
ffprobeOwnersCreating.put("overlay", managerHeader.length)
|
||||
seekIndex = 840.0f
|
||||
ffprobeOwnersCreating.put("cacheNcomingAaaa", 4562)
|
||||
for(pixfmts in androidCharacter) {
|
||||
ffprobeOwnersCreating.put("mafq", if (pixfmts.value.matches(Regex("(-)?(^[0-9]+$)"))) pixfmts.value.toInt() else 27)
|
||||
|
||||
}
|
||||
for(cert in 0 .. requestVideo.size - 1) {
|
||||
ffprobeOwnersCreating.put("actuallyVmslGsmdec", requestVideo.get(cert).toInt())
|
||||
|
||||
}
|
||||
|
||||
return ffprobeOwnersCreating
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setAnimResource(@RawRes id: Int) {
|
||||
|
||||
var handleBadge:MutableMap<String,Int> = this.hailTopDispatchZoomAlsoLaunch(mutableMapOf<String,Boolean>())
|
||||
|
||||
var handleBadge_len:Int = handleBadge.size
|
||||
for(obj_u in handleBadge) {
|
||||
println(obj_u.key)
|
||||
println(obj_u.value)
|
||||
}
|
||||
|
||||
println(handleBadge)
|
||||
|
||||
|
||||
var postY:Double = 547.0
|
||||
if (postY < 93.0) {}
|
||||
|
||||
|
||||
imageView?.apply {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun queryAccessLight(placeBuy: Int, againDashboard: Boolean) :Float {
|
||||
var deteleAttrs = 9391L
|
||||
var bingeBanner = 2600
|
||||
println(bingeBanner)
|
||||
var emptyAvailable:Boolean = true
|
||||
var launcherCheckbox = 7949L
|
||||
var visualizationEdia:Float = 9168.0f
|
||||
deteleAttrs += 5878L
|
||||
bingeBanner -= 7264
|
||||
emptyAvailable = false
|
||||
visualizationEdia += if(emptyAvailable) 7 else 10
|
||||
launcherCheckbox -= deteleAttrs
|
||||
launcherCheckbox += launcherCheckbox
|
||||
|
||||
return visualizationEdia
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun show() {
|
||||
|
||||
var exportIfaddrs:Float = this.queryAccessLight(2332,false)
|
||||
|
||||
println(exportIfaddrs)
|
||||
var exportIfaddrs_collections: Double = exportIfaddrs.toDouble()
|
||||
|
||||
println(exportIfaddrs)
|
||||
|
||||
|
||||
var min_l_:Double = 630.0
|
||||
if (min_l_ >= 94.0) {}
|
||||
|
||||
|
||||
if (mainLayout == null) {
|
||||
var closel:Float = 3076.0f
|
||||
while (closel >= 36.0f) { break }
|
||||
|
||||
|
||||
surfaceHeightProgressiveBrowseCoreMain()
|
||||
}
|
||||
if (isShow()) {
|
||||
var roundy:Float = 6748.0f
|
||||
if (roundy < 100.0f) {}
|
||||
|
||||
|
||||
return
|
||||
}
|
||||
retryView!!.visibility = INVISIBLE
|
||||
var cut2:Int = 4701
|
||||
if (cut2 <= 68) {}
|
||||
|
||||
|
||||
mainLayout!!.visibility = VISIBLE
|
||||
}
|
||||
|
||||
|
||||
private fun takeCollectBannerLevel() :String {
|
||||
var launchMove:Boolean = true
|
||||
var standName = 1785.0
|
||||
println(standName)
|
||||
var playingHeight:Float = 9620.0f
|
||||
var surfaceTrends:Double = 6023.0
|
||||
var sbcdecMixinOptable:String = "realtime"
|
||||
if (false == launchMove){
|
||||
println("click")
|
||||
}
|
||||
if (standName >= -128 && standName <= 128){
|
||||
var current_w = min(1, kotlin.random.Random.nextInt(11)) % sbcdecMixinOptable.length
|
||||
sbcdecMixinOptable += standName.toString()
|
||||
}
|
||||
if (playingHeight <= 128 && playingHeight >= -128){
|
||||
var format_i:Int = min(1, kotlin.random.Random.nextInt(79)) % sbcdecMixinOptable.length
|
||||
sbcdecMixinOptable += playingHeight.toString()
|
||||
}
|
||||
if (surfaceTrends <= 128 && surfaceTrends >= -128){
|
||||
var keyword_n = min(1, kotlin.random.Random.nextInt(100)) % sbcdecMixinOptable.length
|
||||
sbcdecMixinOptable += surfaceTrends.toString()
|
||||
}
|
||||
|
||||
return sbcdecMixinOptable
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setHint(text: CharSequence?) {
|
||||
|
||||
var stormbirdWidefelem:String = this.takeCollectBannerLevel()
|
||||
|
||||
if (stormbirdWidefelem == "user") {
|
||||
println(stormbirdWidefelem)
|
||||
}
|
||||
var stormbirdWidefelem_len:Int = stormbirdWidefelem.length
|
||||
|
||||
println(stormbirdWidefelem)
|
||||
|
||||
|
||||
var watchingX:Boolean = false
|
||||
|
||||
|
||||
tvMessage?.text = text ?: ""
|
||||
}
|
||||
|
||||
|
||||
private fun showHistoryAgo() :String {
|
||||
var builderRewards = true
|
||||
var cameraBinge:MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
println(cameraBinge)
|
||||
var closeType_tk:Boolean = false
|
||||
var default_gxVisit = 1581L
|
||||
var capsHevmask = "user"
|
||||
if (builderRewards == false){
|
||||
println("remove")
|
||||
}
|
||||
if (closeType_tk){
|
||||
println("banner")
|
||||
}
|
||||
if (default_gxVisit >= -128 && default_gxVisit <= 128){
|
||||
var again_u = min(1, kotlin.random.Random.nextInt(75)) % capsHevmask.length
|
||||
capsHevmask += default_gxVisit.toString()
|
||||
}
|
||||
|
||||
return capsHevmask
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setOnRetryListener(listener: OnRetryListener?) {
|
||||
|
||||
var allpassSerialize = this.showHistoryAgo()
|
||||
|
||||
println(allpassSerialize)
|
||||
var allpassSerialize_len = allpassSerialize.length
|
||||
|
||||
println(allpassSerialize)
|
||||
|
||||
|
||||
var utilsb:MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
utilsb.add(false)
|
||||
utilsb.add(false)
|
||||
utilsb.add(true)
|
||||
utilsb.add(false)
|
||||
utilsb.add(true)
|
||||
while (utilsb.size > 199) { break }
|
||||
println(utilsb)
|
||||
|
||||
|
||||
this.listener = listener
|
||||
var explorem:Int = 6157
|
||||
while (explorem > 200) { break }
|
||||
|
||||
|
||||
if (isShow()) {
|
||||
var clipG:Double = 7440.0
|
||||
while (clipG > 58.0) { break }
|
||||
|
||||
|
||||
retryView!!.visibility = if (this.listener == null) INVISIBLE else VISIBLE
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun requireMathAgentBody(animatorKeyword: Boolean) :Long {
|
||||
var handlerFooter:MutableMap<String,Float> = mutableMapOf<String,Float>()
|
||||
var collectAnimator:Double = 1861.0
|
||||
var logoName = 7849L
|
||||
println(logoName)
|
||||
var paintModel:Long = 5558L
|
||||
var devpollAutocapitalization:Long = 7487L
|
||||
collectAnimator -= collectAnimator
|
||||
logoName = logoName * paintModel
|
||||
devpollAutocapitalization *= logoName
|
||||
paintModel = 5803L
|
||||
devpollAutocapitalization += paintModel
|
||||
|
||||
return devpollAutocapitalization
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setIcon(drawable: Drawable?) {
|
||||
|
||||
var modmContaining = this.requireMathAgentBody(false)
|
||||
|
||||
var local_d6_modmContaining: Int = modmContaining.toInt()
|
||||
println(modmContaining)
|
||||
|
||||
println(modmContaining)
|
||||
|
||||
|
||||
var adapterX:MutableMap<String,Boolean> = mutableMapOf<String,Boolean>()
|
||||
adapterX.put("sea", false)
|
||||
adapterX.put("srp", false)
|
||||
adapterX.put("jobq", true)
|
||||
if (adapterX.get("g") != null) {}
|
||||
println(adapterX)
|
||||
|
||||
|
||||
imageView?.apply {
|
||||
var window_o7:MutableList<Long> = mutableListOf<Long>()
|
||||
window_o7.add(919L)
|
||||
window_o7.add(651L)
|
||||
window_o7.add(874L)
|
||||
while (window_o7.size > 67) { break }
|
||||
|
||||
|
||||
setImageDrawable(drawable)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun commitDriverBottom(bindingProfile: MutableMap<String,Long>, userHelp: Int, handlerBottom: MutableMap<String,Long>) :String {
|
||||
var latestDisplay = 4878L
|
||||
var uploadHome = 1707.0f
|
||||
println(uploadHome)
|
||||
var giftBackground = true
|
||||
var navigationbarHqdspIntle:String = "twopoint"
|
||||
if (latestDisplay >= -128 && latestDisplay <= 128){
|
||||
var active_i:Int = min(1, kotlin.random.Random.nextInt(41)) % navigationbarHqdspIntle.length
|
||||
navigationbarHqdspIntle += latestDisplay.toString()
|
||||
}
|
||||
if (uploadHome >= -128 && uploadHome <= 128){
|
||||
var point_s:Int = min(1, kotlin.random.Random.nextInt(57)) % navigationbarHqdspIntle.length
|
||||
navigationbarHqdspIntle += uploadHome.toString()
|
||||
}
|
||||
if (giftBackground){
|
||||
println("binge")
|
||||
}
|
||||
|
||||
return navigationbarHqdspIntle
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun netWorkShow() {
|
||||
|
||||
var contextRingtone = this.commitDriverBottom(mutableMapOf<String,Long>(),834,mutableMapOf<String,Long>())
|
||||
|
||||
var contextRingtone_len:Int = contextRingtone.length
|
||||
println(contextRingtone)
|
||||
|
||||
println(contextRingtone)
|
||||
|
||||
|
||||
var renderersP:String = "tweaks"
|
||||
while (renderersP.length > 166) { break }
|
||||
|
||||
|
||||
this.traceTestPadding = 640.0f
|
||||
|
||||
this.movePlayfairMeasureArray = mutableListOf<Float>()
|
||||
|
||||
this.rewardsRightDelete_p0Index = 9454L
|
||||
|
||||
this.scannerBingeListener_idx = 9955L
|
||||
|
||||
|
||||
if (mainLayout == null) {
|
||||
var c_managerf:Float = 5448.0f
|
||||
while (c_managerf == 116.0f) { break }
|
||||
|
||||
|
||||
surfaceHeightProgressiveBrowseCoreMain()
|
||||
}
|
||||
if (isShow()) {
|
||||
var closeS:Int = 9872
|
||||
while (closeS <= 115) { break }
|
||||
|
||||
|
||||
return
|
||||
}
|
||||
setIcon(R.mipmap.button_banner)
|
||||
var giftA:Double = 7976.0
|
||||
if (giftA > 120.0) {}
|
||||
|
||||
|
||||
setHint("Network anomaly")
|
||||
var saltE:Boolean = true
|
||||
if (saltE) {}
|
||||
|
||||
|
||||
retryView!!.visibility = if (listener == null) INVISIBLE else VISIBLE
|
||||
mainLayout!!.visibility = VISIBLE
|
||||
}
|
||||
|
||||
|
||||
private fun seekClickSetupCheckNothing() :String {
|
||||
var bodyloadLoading:String = "steps"
|
||||
var coinsRecord:Long = 4784L
|
||||
println(coinsRecord)
|
||||
var eventFfmpeg = 596.0
|
||||
println(eventFfmpeg)
|
||||
var profileCamera = 8023.0f
|
||||
var mismatchesSerializableLookup = "thresholds"
|
||||
if (bodyloadLoading == "price") {
|
||||
println("bodyloadLoading" + bodyloadLoading)
|
||||
}
|
||||
if(bodyloadLoading.length > 0 && mismatchesSerializableLookup.length > 0) {
|
||||
mismatchesSerializableLookup += bodyloadLoading.get(0)
|
||||
}
|
||||
if (coinsRecord <= 128 && coinsRecord >= -128){
|
||||
var free_w = min(1, kotlin.random.Random.nextInt(52)) % mismatchesSerializableLookup.length
|
||||
mismatchesSerializableLookup += coinsRecord.toString()
|
||||
}
|
||||
if (eventFfmpeg >= -128 && eventFfmpeg <= 128){
|
||||
var select_r:Int = min(1, kotlin.random.Random.nextInt(60)) % mismatchesSerializableLookup.length
|
||||
mismatchesSerializableLookup += eventFfmpeg.toString()
|
||||
}
|
||||
if (profileCamera >= -128 && profileCamera <= 128){
|
||||
var ffmpeg_q = min(1, kotlin.random.Random.nextInt(18)) % mismatchesSerializableLookup.length
|
||||
mismatchesSerializableLookup += profileCamera.toString()
|
||||
}
|
||||
|
||||
return mismatchesSerializableLookup
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setHint(@StringRes id: Int) {
|
||||
|
||||
var accuratePolls:String = this.seekClickSetupCheckNothing()
|
||||
|
||||
if (accuratePolls == "num") {
|
||||
println(accuratePolls)
|
||||
}
|
||||
var accuratePolls_len:Int = accuratePolls.length
|
||||
|
||||
println(accuratePolls)
|
||||
|
||||
|
||||
var recommendsk:Long = 7632L
|
||||
|
||||
|
||||
setHint(resources.getString(id))
|
||||
}
|
||||
|
||||
interface OnRetryListener {
|
||||
fun onRetry(layout: VSNotificationsDefault)
|
||||
}
|
||||
}
|
596
app/src/main/java/com/veloria/now/shortapp/rewards/ZExample.kt
Normal file
596
app/src/main/java/com/veloria/now/shortapp/rewards/ZExample.kt
Normal file
@ -0,0 +1,596 @@
|
||||
package com.veloria.now.shortapp.rewards
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.content.Context
|
||||
import android.graphics.Typeface
|
||||
import android.util.AttributeSet
|
||||
import android.util.TypedValue
|
||||
import android.view.Gravity
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.widget.ImageView
|
||||
import android.widget.LinearLayout
|
||||
import android.widget.TextView
|
||||
import androidx.core.content.ContextCompat
|
||||
import com.veloria.now.shortapp.R
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class ZExample @JvmOverloads constructor(
|
||||
context: Context,
|
||||
attrs: AttributeSet? = null,
|
||||
defStyleAttr: Int = 0
|
||||
) : LinearLayout(context, attrs, defStyleAttr) {
|
||||
@Volatile
|
||||
var local__ViewGift_space: Double = 3786.0
|
||||
@Volatile
|
||||
var renderersSplashSum: Long = 8401L
|
||||
@Volatile
|
||||
private var min_iTotal_arr: MutableList<Float> = mutableListOf<Float>()
|
||||
@Volatile
|
||||
var canManualPlace: Boolean = true
|
||||
|
||||
|
||||
|
||||
private var defaultIconRes: Int = 0
|
||||
private var selectedIconRes: Int = 0
|
||||
private var defaultBackgroundRes: Int = 0
|
||||
private var selectedBackgroundRes: Int = 0
|
||||
private var textColor: Int = 0
|
||||
private var selectedTextColor: Int = 0
|
||||
private var textSize: Float = 0f
|
||||
private var minItemWidth: Int = 0
|
||||
private var maxItemWidth: Int = 0
|
||||
|
||||
var selectedPosition = 0
|
||||
private var items = mutableListOf<BottomBarItem>()
|
||||
|
||||
private val itemViews = mutableListOf<View>()
|
||||
|
||||
init {
|
||||
var unitWX:Int = 7864
|
||||
while (unitWX > 102) { break }
|
||||
|
||||
|
||||
orientation = HORIZONTAL
|
||||
var circle6:MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
circle6.add(false)
|
||||
circle6.add(false)
|
||||
circle6.add(true)
|
||||
circle6.add(false)
|
||||
if (circle6.contains(false)) {}
|
||||
println(circle6)
|
||||
|
||||
|
||||
gravity = Gravity.CENTER_VERTICAL
|
||||
var logoU:MutableList<Long> = mutableListOf<Long>()
|
||||
logoU.add(475L)
|
||||
logoU.add(648L)
|
||||
logoU.add(555L)
|
||||
|
||||
|
||||
|
||||
val typedArray = context.obtainStyledAttributes(
|
||||
attrs,
|
||||
R.styleable.ZExample,
|
||||
defStyleAttr,
|
||||
0
|
||||
)
|
||||
var suspendI:MutableMap<String,Double> = mutableMapOf<String,Double>()
|
||||
suspendI.put("cache", 71.0)
|
||||
suspendI.put("heart", 462.0)
|
||||
suspendI.put("distinct", 646.0)
|
||||
suspendI.put("under", 315.0)
|
||||
suspendI.put("install", 118.0)
|
||||
|
||||
|
||||
|
||||
defaultIconRes = typedArray.getResourceId(
|
||||
R.styleable.ZExample_networkPlayfairGradlew,
|
||||
0
|
||||
)
|
||||
var watchingj:Long = 5084L
|
||||
if (watchingj < 75L) {}
|
||||
|
||||
|
||||
selectedIconRes = typedArray.getResourceId(
|
||||
R.styleable.ZExample_imageShareRenderers,
|
||||
0
|
||||
)
|
||||
var i_imageA:Float = 3569.0f
|
||||
if (i_imageA >= 167.0f) {}
|
||||
|
||||
|
||||
defaultBackgroundRes = typedArray.getResourceId(
|
||||
R.styleable.ZExample_androidSearchClient,
|
||||
0
|
||||
)
|
||||
var chooseH:String = "qpis"
|
||||
|
||||
|
||||
selectedBackgroundRes = typedArray.getResourceId(
|
||||
R.styleable.ZExample_utilsFreeAdvert,
|
||||
0
|
||||
)
|
||||
var areaz:MutableMap<String,String> = mutableMapOf<String,String>()
|
||||
areaz.put("dupcl", "u_87")
|
||||
areaz.put("caling", "snapshot")
|
||||
areaz.put("stat", "z_0")
|
||||
areaz.put("highbd", "aptx")
|
||||
areaz.put("underflow", "intersect")
|
||||
areaz.put("hall", "abuse")
|
||||
if (areaz.size > 51) {}
|
||||
println(areaz)
|
||||
|
||||
|
||||
textColor = typedArray.getColor(
|
||||
R.styleable.ZExample_colorsLeft,
|
||||
ContextCompat.getColor(context, android.R.color.black)
|
||||
)
|
||||
var adapterE:String = "post"
|
||||
while (adapterE.length > 27) { break }
|
||||
|
||||
|
||||
selectedTextColor = typedArray.getColor(
|
||||
R.styleable.ZExample_launcherInfoThemes,
|
||||
ContextCompat.getColor(context, android.R.color.holo_blue_dark)
|
||||
)
|
||||
var y_height8:Double = 5876.0
|
||||
if (y_height8 >= 88.0) {}
|
||||
|
||||
|
||||
textSize = typedArray.getDimension(
|
||||
R.styleable.ZExample_backgroundLoadingWhile_ub,
|
||||
TypedValue.applyDimension(
|
||||
TypedValue.COMPLEX_UNIT_SP,
|
||||
12f,
|
||||
resources.displayMetrics
|
||||
)
|
||||
)
|
||||
var textQ:Double = 6570.0
|
||||
while (textQ <= 34.0) { break }
|
||||
|
||||
|
||||
minItemWidth = typedArray.getDimensionPixelSize(
|
||||
R.styleable.ZExample_editStyles,
|
||||
resources.getDimension(R.dimen.dp_54).toInt()
|
||||
)
|
||||
var https:Boolean = false
|
||||
|
||||
|
||||
val wight = resources.displayMetrics.widthPixels - resources.getDimension(R.dimen.dp_54) * 3 - resources.getDimension(R.dimen.dp_52)
|
||||
var bbfdebaffdu:Boolean = false
|
||||
if (bbfdebaffdu) {}
|
||||
|
||||
|
||||
maxItemWidth = typedArray.getDimensionPixelSize(
|
||||
R.styleable.ZExample_dimensCagetorySelected,
|
||||
wight.toInt()
|
||||
)
|
||||
var fragmentsN:Boolean = true
|
||||
while (fragmentsN) { break }
|
||||
|
||||
|
||||
|
||||
typedArray.recycle()
|
||||
}
|
||||
|
||||
|
||||
public fun resetCornerLayoutPatternDimension() :Long {
|
||||
var eventText = mutableListOf<Long>()
|
||||
println(eventText)
|
||||
var leftColor = 8685.0
|
||||
println(leftColor)
|
||||
var bbfdebaffdInterpolator = 8274.0
|
||||
var poleInitsmotion:Long = 7298L
|
||||
leftColor += 3533.0
|
||||
bbfdebaffdInterpolator += 6674.0
|
||||
|
||||
return poleInitsmotion
|
||||
|
||||
}
|
||||
|
||||
|
||||
@SuppressLint("MissingInflatedId")
|
||||
private fun findBundleHeightView(position: Int, item: BottomBarItem): View {
|
||||
|
||||
var overAbove = this.resetCornerLayoutPatternDimension()
|
||||
|
||||
if (overAbove > 2L) {
|
||||
for (v_q in 0 .. overAbove) {
|
||||
if (v_q == 0L) {
|
||||
println(v_q)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
var dialog_overAbove: Int = overAbove.toInt()
|
||||
|
||||
println(overAbove)
|
||||
|
||||
|
||||
var networkC:Long = 7025L
|
||||
if (networkC < 94L) {}
|
||||
|
||||
|
||||
val k_tagoc = LayoutInflater.from(context)
|
||||
var touristD:Boolean = false
|
||||
while (!touristD) { break }
|
||||
|
||||
|
||||
val main_nViewQ = k_tagoc.inflate(R.layout.rbd_store_left_item, this, false)
|
||||
var set1:String = "cropped"
|
||||
|
||||
|
||||
|
||||
val buttonRequest = main_nViewQ.findViewById<ImageView>(R.id.icon)
|
||||
var drama4:Double = 9059.0
|
||||
while (drama4 > 187.0) { break }
|
||||
|
||||
|
||||
val unitTourist = main_nViewQ.findViewById<TextView>(R.id.text)
|
||||
var moves:Boolean = true
|
||||
if (!moves) {}
|
||||
|
||||
|
||||
val appveloriaVariable = main_nViewQ.findViewById<LinearLayout>(R.id.container)
|
||||
var normala:Double = 2179.0
|
||||
if (normala == 144.0) {}
|
||||
|
||||
|
||||
|
||||
buttonRequest.setImageResource(item.iconRes)
|
||||
var foregroundM:Float = 691.0f
|
||||
while (foregroundM <= 186.0f) { break }
|
||||
|
||||
|
||||
unitTourist.text = item.title
|
||||
var variable1:String = "loas"
|
||||
if (variable1.length > 175) {}
|
||||
|
||||
|
||||
unitTourist.setTextColor(textColor)
|
||||
var standV:Long = 9979L
|
||||
while (standV > 149L) { break }
|
||||
|
||||
|
||||
unitTourist.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize)
|
||||
var itemU:Double = 4428.0
|
||||
if (itemU <= 110.0) {}
|
||||
|
||||
|
||||
unitTourist.visibility = View.GONE
|
||||
var eventy:MutableList<Float> = mutableListOf<Float>()
|
||||
eventy.add(689.0f)
|
||||
eventy.add(640.0f)
|
||||
if (eventy.contains(5960.0f)) {}
|
||||
|
||||
|
||||
|
||||
appveloriaVariable.setBackgroundResource(defaultBackgroundRes)
|
||||
var normalf:MutableList<Float> = mutableListOf<Float>()
|
||||
normalf.add(831.0f)
|
||||
normalf.add(945.0f)
|
||||
if (normalf.contains(2430.0f)) {}
|
||||
|
||||
|
||||
|
||||
main_nViewQ.layoutParams = main_nViewQ.layoutParams.apply {
|
||||
var categoriesZ:String = "quality"
|
||||
while (categoriesZ.length > 99) { break }
|
||||
|
||||
|
||||
var login02:Long = 1076L
|
||||
if (login02 <= 198L) {}
|
||||
|
||||
|
||||
width = minItemWidth
|
||||
}
|
||||
|
||||
main_nViewQ.setOnClickListener {
|
||||
var tuben:MutableList<String> = mutableListOf<String>()
|
||||
tuben.add("rounds")
|
||||
tuben.add("camera")
|
||||
tuben.add("megabyte")
|
||||
if (tuben.contains("declared")) {}
|
||||
|
||||
|
||||
var pause7:MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
pause7.put("postfilter", 159L)
|
||||
pause7.put("open", 272L)
|
||||
pause7.put("stristr", 755L)
|
||||
pause7.put("xfixes", 914L)
|
||||
pause7.put("rtpenc", 381L)
|
||||
while (pause7.size > 124) { break }
|
||||
|
||||
|
||||
if (selectedPosition != position) {
|
||||
var apiD:MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
apiD.add(false)
|
||||
apiD.add(true)
|
||||
apiD.add(true)
|
||||
apiD.add(false)
|
||||
apiD.add(false)
|
||||
apiD.add(true)
|
||||
println(apiD)
|
||||
|
||||
|
||||
updateSelection(position)
|
||||
var resourceH:MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
resourceH.put("allowi", 509L)
|
||||
resourceH.put("summed", 936L)
|
||||
resourceH.put("disallow", 11L)
|
||||
resourceH.put("vbrush", 260L)
|
||||
resourceH.put("boundaries", 722L)
|
||||
while (resourceH.size > 198) { break }
|
||||
|
||||
|
||||
onItemSelectedListener?.invoke(position)
|
||||
}
|
||||
}
|
||||
|
||||
return main_nViewQ
|
||||
}
|
||||
|
||||
|
||||
public fun observeCorrectBusiness() :Float {
|
||||
var animatingEmpty = 4698.0
|
||||
var stopStop:Float = 7235.0f
|
||||
var time_jPosition = true
|
||||
var attrsIndex:Double = 435.0
|
||||
var taggedPreview:Float = 9763.0f
|
||||
animatingEmpty = 2075.0
|
||||
stopStop *= 9027.0f
|
||||
taggedPreview += stopStop
|
||||
time_jPosition = false
|
||||
taggedPreview += if(time_jPosition) 3 else 86
|
||||
attrsIndex -= 2291.0
|
||||
|
||||
return taggedPreview
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setItems(items: List<BottomBarItem>) {
|
||||
|
||||
var dropWavesynth = this.observeCorrectBusiness()
|
||||
|
||||
var dropWavesynth_listener: Double = dropWavesynth.toDouble()
|
||||
if (dropWavesynth <= 29.0f) {
|
||||
println(dropWavesynth)
|
||||
}
|
||||
|
||||
println(dropWavesynth)
|
||||
|
||||
|
||||
var navigatea:Double = 4499.0
|
||||
|
||||
|
||||
this.items.clear()
|
||||
var onclickh:Long = 2089L
|
||||
if (onclickh < 100L) {}
|
||||
|
||||
|
||||
this.items.addAll(items)
|
||||
var padding1:Double = 1695.0
|
||||
while (padding1 == 13.0) { break }
|
||||
println(padding1)
|
||||
|
||||
|
||||
removeAllViews()
|
||||
var bbfdebaffdY:Boolean = true
|
||||
|
||||
|
||||
itemViews.clear()
|
||||
var closeI:Long = 5436L
|
||||
if (closeI > 118L) {}
|
||||
|
||||
|
||||
|
||||
if (items.isEmpty()) return
|
||||
|
||||
items.forEachIndexed { index, item ->
|
||||
val main_nViewQ = findBundleHeightView(index, item)
|
||||
addView(main_nViewQ)
|
||||
itemViews.add(main_nViewQ)
|
||||
}
|
||||
|
||||
updateSelection(selectedPosition)
|
||||
}
|
||||
|
||||
|
||||
public fun writeOverviewIntegerCover(paintLoading: MutableList<String>, baseBodyload: MutableMap<String,Float>, onclickAdapter: String) :MutableList<Double> {
|
||||
var attrsLoad:Float = 5310.0f
|
||||
var interceptorContent:Int = 9430
|
||||
var createDetails = "nvoice"
|
||||
var centerRegister_o3 = mutableListOf<Int>()
|
||||
var winarmPixletVariancex = mutableListOf<Double>()
|
||||
attrsLoad = attrsLoad
|
||||
var explore_len1 = winarmPixletVariancex.size
|
||||
var need_d = min(kotlin.random.Random.nextInt(83), 1) % max(1, winarmPixletVariancex.size)
|
||||
winarmPixletVariancex.add(need_d, 2080.0)
|
||||
|
||||
return winarmPixletVariancex
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun updateSelection(newPosition: Int) {
|
||||
var sealant_n = mutableListOf<String>()
|
||||
var hdrs_r = "aaccoder"
|
||||
|
||||
var copySubdata = this.writeOverviewIntegerCover(sealant_n,mutableMapOf<String,Float>(),hdrs_r)
|
||||
|
||||
var copySubdata_len:Int = copySubdata.size
|
||||
for(index_i in 0 .. copySubdata.size - 1) {
|
||||
val obj_index_i:Any = copySubdata.get(index_i)
|
||||
if (index_i == 53) {
|
||||
println(obj_index_i)
|
||||
}
|
||||
}
|
||||
|
||||
println(copySubdata)
|
||||
|
||||
|
||||
var trendsw:Float = 7045.0f
|
||||
while (trendsw >= 56.0f) { break }
|
||||
|
||||
|
||||
this.local__ViewGift_space = 9512.0
|
||||
|
||||
this.renderersSplashSum = 8327L
|
||||
|
||||
this.min_iTotal_arr = mutableListOf<Float>()
|
||||
|
||||
this.canManualPlace = true
|
||||
|
||||
|
||||
val watchHotsMmkv = selectedPosition
|
||||
var viewwO:Long = 1689L
|
||||
if (viewwO == 128L) {}
|
||||
|
||||
|
||||
selectedPosition = newPosition
|
||||
var started6g:MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
started6g.put("configure", 486L)
|
||||
started6g.put("hwmap", 270L)
|
||||
started6g.put("genann", 573L)
|
||||
started6g.put("dctsub", 191L)
|
||||
started6g.put("rearrange", 937L)
|
||||
started6g.put("pixfmt", 302L)
|
||||
|
||||
|
||||
|
||||
|
||||
if (watchHotsMmkv in itemViews.indices) {
|
||||
var clickm:MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
clickm.put("tmix", 190L)
|
||||
clickm.put("complication", 402L)
|
||||
clickm.put("visible", 388L)
|
||||
|
||||
|
||||
val rulesModelView = itemViews[watchHotsMmkv]
|
||||
var button4:Int = 9076
|
||||
if (button4 >= 178) {}
|
||||
println(button4)
|
||||
|
||||
|
||||
val delete_bSystem = rulesModelView.findViewById<ImageView>(R.id.icon)
|
||||
var animatorw5:Boolean = true
|
||||
while (animatorw5) { break }
|
||||
|
||||
|
||||
val dialogPoint = rulesModelView.findViewById<TextView>(R.id.text)
|
||||
var freeV:Int = 8122
|
||||
if (freeV > 2) {}
|
||||
|
||||
|
||||
val paddingStyles = rulesModelView.findViewById<LinearLayout>(R.id.container)
|
||||
var manualC:Float = 9767.0f
|
||||
if (manualC < 133.0f) {}
|
||||
|
||||
|
||||
|
||||
delete_bSystem.setImageResource(items[watchHotsMmkv].iconRes)
|
||||
var animatingN:Boolean = true
|
||||
if (animatingN) {}
|
||||
println(animatingN)
|
||||
|
||||
|
||||
dialogPoint.visibility = View.GONE
|
||||
var layout4:Boolean = true
|
||||
if (layout4) {}
|
||||
|
||||
|
||||
paddingStyles.setBackgroundResource(defaultBackgroundRes)
|
||||
var keywordb:Int = 3683
|
||||
if (keywordb <= 21) {}
|
||||
|
||||
|
||||
|
||||
|
||||
rulesModelView.layoutParams = rulesModelView.layoutParams.apply {
|
||||
var resourceW:Long = 9310L
|
||||
while (resourceW < 22L) { break }
|
||||
|
||||
|
||||
width = minItemWidth
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (newPosition in itemViews.indices) {
|
||||
var coinsr:Long = 2479L
|
||||
while (coinsr <= 59L) { break }
|
||||
|
||||
|
||||
val size_ihViewK = itemViews[newPosition]
|
||||
var clientO:Int = 6027
|
||||
if (clientO > 87) {}
|
||||
|
||||
|
||||
val userBottom = size_ihViewK.findViewById<ImageView>(R.id.icon)
|
||||
var numR:Int = 9965
|
||||
while (numR >= 8) { break }
|
||||
|
||||
|
||||
val scopeFavorites = size_ihViewK.findViewById<TextView>(R.id.text)
|
||||
var codek:Boolean = true
|
||||
while (!codek) { break }
|
||||
println(codek)
|
||||
|
||||
|
||||
val modityt = size_ihViewK.findViewById<LinearLayout>(R.id.container)
|
||||
var boldD:Long = 6164L
|
||||
if (boldD >= 134L) {}
|
||||
println(boldD)
|
||||
|
||||
|
||||
|
||||
userBottom.setImageResource(items[newPosition].selectedIconRes ?: selectedIconRes)
|
||||
var arrangementi:Float = 6669.0f
|
||||
if (arrangementi < 124.0f) {}
|
||||
|
||||
|
||||
scopeFavorites.visibility = View.VISIBLE
|
||||
var imgr:Long = 7900L
|
||||
if (imgr <= 142L) {}
|
||||
|
||||
|
||||
scopeFavorites.setTextColor(selectedTextColor)
|
||||
var manualz:String = "disappearing"
|
||||
while (manualz.length > 98) { break }
|
||||
|
||||
|
||||
scopeFavorites.setTypeface(null, Typeface.BOLD)
|
||||
var set8:Boolean = false
|
||||
while (!set8) { break }
|
||||
|
||||
|
||||
modityt.setBackgroundResource(selectedBackgroundRes)
|
||||
var time_kap:Int = 9759
|
||||
while (time_kap >= 53) { break }
|
||||
println(time_kap)
|
||||
|
||||
|
||||
|
||||
|
||||
size_ihViewK.layoutParams = size_ihViewK.layoutParams.apply {
|
||||
var coinso:String = "ybri"
|
||||
while (coinso.length > 140) { break }
|
||||
|
||||
|
||||
width = maxItemWidth
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var onItemSelectedListener: ((Int) -> Unit)? = null
|
||||
|
||||
data class BottomBarItem(
|
||||
val title: String,
|
||||
val iconRes: Int,
|
||||
val selectedIconRes: Int? = null
|
||||
)
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,749 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.adminSourceid
|
||||
|
||||
import android.content.Intent
|
||||
import android.net.Uri
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.fragment.app.activityViewModels
|
||||
import androidx.lifecycle.ViewModelProvider
|
||||
import com.bumptech.glide.Glide
|
||||
import com.bumptech.glide.load.engine.DiskCacheStrategy
|
||||
import com.bumptech.glide.load.resource.bitmap.CircleCrop
|
||||
import com.bumptech.glide.request.RequestOptions
|
||||
import com.facebook.login.LoginManager
|
||||
import com.scwang.smart.refresh.layout.api.RefreshLayout
|
||||
import com.scwang.smart.refresh.layout.listener.OnRefreshLoadMoreListener
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.singleOnClick
|
||||
import com.veloria.now.shortapp.civil.timeToString
|
||||
import com.veloria.now.shortapp.civil.toast
|
||||
import com.veloria.now.shortapp.databinding.EvBodyloadHomeBinding
|
||||
import com.veloria.now.shortapp.newsletter.JItemServiceFragment
|
||||
import com.veloria.now.shortapp.subtractionCroll.adminSourceid.coordinate.OMNormalInstrumented
|
||||
import com.veloria.now.shortapp.subtractionCroll.avcintraRelock.LoginDialog
|
||||
import com.veloria.now.shortapp.subtractionCroll.avcintraRelock.LogoutDialog
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.VeLanguageActivity
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.RBZLatestDeteleActivity
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.RCheckActivity
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.VeAccountDeletionActivity
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.VeFeedbackActivity
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.VeMyWalletActivity
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.VeRewardsActivity
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.VeStoreActivity
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.JService
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
import org.greenrobot.eventbus.Subscribe
|
||||
import org.greenrobot.eventbus.ThreadMode
|
||||
import kotlin.math.min
|
||||
|
||||
|
||||
class UColorsAvatarFragment : JItemServiceFragment<EvBodyloadHomeBinding, OMNormalInstrumented>(),
|
||||
OnRefreshLoadMoreListener {
|
||||
@Volatile
|
||||
var collectionProcessNormal_str: String = "rtreedepth"
|
||||
|
||||
@Volatile
|
||||
var interceptorSetCount: Long = 8431L
|
||||
|
||||
@Volatile
|
||||
var fragmentBuildMin: Double = 892.0
|
||||
|
||||
@Volatile
|
||||
var categoriesObserveHomeMap: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
private val mainViewModel: JService by activityViewModels()
|
||||
|
||||
override val viewModel by lazy {
|
||||
var checkboxw: MutableMap<String, Long> = mutableMapOf<String, Long>()
|
||||
checkboxw.put("reduced", 718L)
|
||||
checkboxw.put("bursty", 750L)
|
||||
checkboxw.put("orient", 383L)
|
||||
checkboxw.put("smil", 609L)
|
||||
checkboxw.put("loopfilter", 388L)
|
||||
checkboxw.put("error", 669L)
|
||||
if (checkboxw.get("H") != null) {
|
||||
}
|
||||
println(checkboxw)
|
||||
|
||||
ViewModelProvider(this)[OMNormalInstrumented::class.java]
|
||||
}
|
||||
|
||||
|
||||
public fun navigateImmersiveWorkInput(): Boolean {
|
||||
var agentCurrent: Long = 9778L
|
||||
var fddebcdbeeffcebdfLeft = true
|
||||
var moveCell: Long = 3821L
|
||||
var monochromeEvrcSubframes: Boolean = false
|
||||
agentCurrent = agentCurrent
|
||||
monochromeEvrcSubframes = agentCurrent > 83
|
||||
fddebcdbeeffcebdfLeft = true
|
||||
monochromeEvrcSubframes = fddebcdbeeffcebdfLeft
|
||||
moveCell -= 1500L
|
||||
monochromeEvrcSubframes = moveCell > 68
|
||||
|
||||
return monochromeEvrcSubframes
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onRefresh(refreshLayout: RefreshLayout) {
|
||||
|
||||
var faxcomprAutoreverses: Boolean = this.navigateImmersiveWorkInput()
|
||||
|
||||
if (!faxcomprAutoreverses) {
|
||||
println("ok")
|
||||
}
|
||||
|
||||
println(faxcomprAutoreverses)
|
||||
|
||||
|
||||
var e_playerm: MutableList<Double> = mutableListOf<Double>()
|
||||
e_playerm.add(710.0)
|
||||
e_playerm.add(352.0)
|
||||
e_playerm.add(737.0)
|
||||
println(e_playerm)
|
||||
|
||||
|
||||
viewModel.getUserInfo()
|
||||
|
||||
binding.refresh.finishRefresh(2000)
|
||||
}
|
||||
|
||||
|
||||
public fun globalSequenceIntoShareMap(
|
||||
recommendsExecute: Double,
|
||||
horizontallyManual: String,
|
||||
hotsCollections: String
|
||||
): Float {
|
||||
var recommendsTrends: Boolean = true
|
||||
var justStand: Boolean = true
|
||||
println(justStand)
|
||||
var gradleBuild = 8587L
|
||||
println(gradleBuild)
|
||||
var mpegaudiodspProfiles: Float = 7901.0f
|
||||
recommendsTrends = false
|
||||
mpegaudiodspProfiles *= if (recommendsTrends) 62 else 58
|
||||
justStand = false
|
||||
mpegaudiodspProfiles += if (justStand) 38 else 99
|
||||
gradleBuild = 8L
|
||||
|
||||
return mpegaudiodspProfiles
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun initView() {
|
||||
EventBus.getDefault().register(this)
|
||||
var crldp_j = "isi"
|
||||
var dispatching_e: String = "private"
|
||||
|
||||
var adaptorRowid = this.globalSequenceIntoShareMap(2574.0, crldp_j, dispatching_e)
|
||||
|
||||
if (adaptorRowid < 78.0f) {
|
||||
println(adaptorRowid)
|
||||
}
|
||||
var api_adaptorRowid: Double = adaptorRowid.toDouble()
|
||||
|
||||
println(adaptorRowid)
|
||||
|
||||
|
||||
var m_animationb: Int = 6371
|
||||
while (m_animationb < 46) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
this.collectionProcessNormal_str = "modem"
|
||||
|
||||
this.interceptorSetCount = 706L
|
||||
|
||||
this.fragmentBuildMin = 4192.0
|
||||
|
||||
this.categoriesObserveHomeMap = mutableMapOf<String, String>()
|
||||
|
||||
|
||||
|
||||
binding.refresh.setOnRefreshLoadMoreListener(this)
|
||||
var categoriesp: Double = 8575.0
|
||||
if (categoriesp < 4.0) {
|
||||
}
|
||||
|
||||
|
||||
binding.refresh.setEnableRefresh(true)
|
||||
var moduleF: Int = 6744
|
||||
while (moduleF >= 146) {
|
||||
break
|
||||
}
|
||||
println(moduleF)
|
||||
|
||||
|
||||
binding.refresh.setEnableLoadMore(false)
|
||||
var radiusz: MutableList<Double> = mutableListOf<Double>()
|
||||
radiusz.add(370.0)
|
||||
radiusz.add(865.0)
|
||||
radiusz.add(120.0)
|
||||
if (radiusz.size > 101) {
|
||||
}
|
||||
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
binding.tvCheckIn.text = TranslationHelper.getTranslation()?.veloria_check_in
|
||||
binding.tvVipContent1.text = TranslationHelper.getTranslation()?.veloria_ad_free_streaming
|
||||
binding.tvVipContent2.text = TranslationHelper.getTranslation()?.veloria_exclusive_episodes
|
||||
binding.tvVipContent3.text = TranslationHelper.getTranslation()?.veloria_daily_free_coins
|
||||
binding.tvCoinsText.text = TranslationHelper.getTranslation()?.veloria_coins
|
||||
binding.tvDonateText.text = TranslationHelper.getTranslation()?.veloria_bonus
|
||||
binding.tvWallet.text = TranslationHelper.getTranslation()?.veloria_wallet
|
||||
binding.tvStore.text = TranslationHelper.getTranslation()?.veloria_store
|
||||
binding.tvRewards.text = TranslationHelper.getTranslation()?.veloria_rewards
|
||||
binding.tvRecord.text = TranslationHelper.getTranslation()?.veloria_order_record
|
||||
binding.tvLanguage.text = TranslationHelper.getTranslation()?.veloria_language
|
||||
binding.tvDeleteAccount.text = TranslationHelper.getTranslation()?.veloria_delete_account
|
||||
binding.tvPrivacyPolicy.text = TranslationHelper.getTranslation()?.veloria_my_privacy
|
||||
binding.tvUserAgreement.text = TranslationHelper.getTranslation()?.veloria_my_agreement
|
||||
binding.tvVisit.text = TranslationHelper.getTranslation()?.veloria_visit_website
|
||||
binding.tvHelpCenter.text = TranslationHelper.getTranslation()?.veloria_my_feedback
|
||||
binding.tvAboutUs.text = TranslationHelper.getTranslation()?.veloria_me_about
|
||||
}
|
||||
|
||||
setPushUI()
|
||||
|
||||
|
||||
}
|
||||
|
||||
private fun setPushUI(){
|
||||
if (RYAction.isTouristTo()) {
|
||||
|
||||
if (TranslationHelper.getTranslation()!= null){
|
||||
binding.tvName.text = TranslationHelper.getTranslation()?.veloria_visitor
|
||||
binding.tvLogin.text = TranslationHelper.getTranslation()?.veloria_login
|
||||
|
||||
}else {
|
||||
binding.tvName.text = "Visitor"
|
||||
binding.tvLogin.text = "Log in"
|
||||
}
|
||||
|
||||
binding.ivAvatar.setImageResource(R.mipmap.binge_banner)
|
||||
binding.tvDeleteAccount.visibility = View.GONE
|
||||
|
||||
} else {
|
||||
binding.tvName.text =
|
||||
RYAction.getUserInfoBean()?.family_name.plus(RYAction.getUserInfoBean()?.giving_name)
|
||||
|
||||
binding.tvLogin.text = TranslationHelper.getTranslation()?.let { TranslationHelper.getTranslation()?.veloria_log_out } ?: "Log out"
|
||||
|
||||
binding.ivAvatar.let {
|
||||
Glide.with(this).load(RYAction.getUserInfoBean()?.avator).skipMemoryCache(true)
|
||||
.diskCacheStrategy(
|
||||
DiskCacheStrategy.NONE
|
||||
)
|
||||
.apply(RequestOptions.bitmapTransform(CircleCrop()))
|
||||
.placeholder(R.mipmap.binge_banner)
|
||||
.error(R.mipmap.binge_banner).into(it)
|
||||
}
|
||||
binding.tvDeleteAccount.visibility = View.VISIBLE
|
||||
|
||||
}
|
||||
binding.tvDes.text = "ID:".plus(RYAction.getUserInfoBean()?.customer_id)
|
||||
binding.tvCoins.text =
|
||||
RYAction.getUserInfoBean()?.coin_left_total.toString()
|
||||
|
||||
binding.tvDonate.text =
|
||||
RYAction.getUserInfoBean()?.send_coin_left_total.toString()
|
||||
|
||||
if (RYAction.isVipTo()) {
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
// binding.tvDes.text = TranslationHelper.getTranslation()?.veloria_welcome_back
|
||||
binding.tvVipName.text = TranslationHelper.getTranslation()?.veloria_vip_active
|
||||
binding.tvVipDes.text =
|
||||
TranslationHelper.getTranslation()?.veloria_vip_expires.plus(RYAction.getUserInfoBean()?.vip_end_time?.let {
|
||||
timeToString(
|
||||
it.toLong()
|
||||
)
|
||||
})
|
||||
}else {
|
||||
// binding.tvDes.text = "Welcome back, Member!"
|
||||
binding.tvVipName.text = "VIP Active"
|
||||
binding.tvVipDes.text =
|
||||
"Vip Expires:".plus(RYAction.getUserInfoBean()?.vip_end_time?.let {
|
||||
timeToString(
|
||||
it.toLong()
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
} else {
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
// binding.tvDes.text = TranslationHelper.getTranslation()?.veloria_is_vip_tips
|
||||
binding.tvVipName.text = TranslationHelper.getTranslation()?.veloria_vip_join
|
||||
binding.tvVipDes.text = TranslationHelper.getTranslation()?.veloria_unlock_exclusive
|
||||
}else {
|
||||
// binding.tvDes.text = getString(R.string.collectIcon)
|
||||
binding.tvVipName.text = "Join VIP"
|
||||
binding.tvVipDes.text = getString(R.string.pagerCategoies)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public fun previewRevengeResultRect(
|
||||
detailsStatus: Int,
|
||||
aboutResume: String,
|
||||
extractionInterpolator: Long
|
||||
): String {
|
||||
var utilBackground: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
var deletesCircle: Int = 6833
|
||||
println(deletesCircle)
|
||||
var topManifest = 7160L
|
||||
var ingenientDeprecationSharing: String = "appendchar"
|
||||
if (deletesCircle <= 128 && deletesCircle >= -128) {
|
||||
var img_v =
|
||||
min(1, kotlin.random.Random.nextInt(75)) % ingenientDeprecationSharing.length
|
||||
ingenientDeprecationSharing += deletesCircle.toString()
|
||||
}
|
||||
if (topManifest <= 128 && topManifest >= -128) {
|
||||
var free_e: Int =
|
||||
min(1, kotlin.random.Random.nextInt(44)) % ingenientDeprecationSharing.length
|
||||
ingenientDeprecationSharing += topManifest.toString()
|
||||
}
|
||||
|
||||
return ingenientDeprecationSharing
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onLoadMore(refreshLayout: RefreshLayout) {
|
||||
var destroyed_m: String = "unarchive"
|
||||
|
||||
var divConfiguratin: String = this.previewRevengeResultRect(7826, destroyed_m, 314L)
|
||||
|
||||
if (divConfiguratin == "o_center") {
|
||||
println(divConfiguratin)
|
||||
}
|
||||
var divConfiguratin_len: Int = divConfiguratin.length
|
||||
|
||||
println(divConfiguratin)
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public fun originalMemberMenu(
|
||||
detailCloud: MutableList<Boolean>,
|
||||
trendsPage: Long,
|
||||
qualityView: Float
|
||||
): MutableMap<String, Float> {
|
||||
var privacyHolder: Int = 3177
|
||||
var startLight = "destructive"
|
||||
var selectGradle = true
|
||||
var verifiationNapshotOnyxc = mutableMapOf<String, Float>()
|
||||
privacyHolder -= privacyHolder
|
||||
verifiationNapshotOnyxc.put("closeGetsockaddrInverted", 4212.0f)
|
||||
verifiationNapshotOnyxc.put("grace", 8244.0f)
|
||||
|
||||
return verifiationNapshotOnyxc
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun observeData() {
|
||||
var ascending_u = mutableListOf<Boolean>()
|
||||
|
||||
var coalesceRatecontrol = this.originalMemberMenu(ascending_u, 5144L, 6969.0f)
|
||||
|
||||
for (obj_o in coalesceRatecontrol) {
|
||||
println(obj_o.key)
|
||||
println(obj_o.value)
|
||||
}
|
||||
var coalesceRatecontrol_len: Int = coalesceRatecontrol.size
|
||||
|
||||
println(coalesceRatecontrol)
|
||||
|
||||
|
||||
var call5: Double = 6512.0
|
||||
while (call5 <= 179.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
viewModel.userInfo.observe(this) {
|
||||
var agentw: Double = 5448.0
|
||||
|
||||
|
||||
if (it?.data != null) {
|
||||
var currentj: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
currentj.put("imcdata", 38)
|
||||
currentj.put("jmlist", 520)
|
||||
currentj.put("hint", 603)
|
||||
currentj.put("everybody", 380)
|
||||
if (currentj.get("U") != null) {
|
||||
}
|
||||
|
||||
|
||||
RYAction.saveUserInfoBean(it.data)
|
||||
var agreementC: Long = 5061L
|
||||
while (agreementC > 73L) {
|
||||
break
|
||||
}
|
||||
println(agreementC)
|
||||
|
||||
|
||||
setPushUI()
|
||||
}
|
||||
|
||||
hideLoading()
|
||||
}
|
||||
viewModel.logoutLiveData.observe(this){
|
||||
if (it?.data != null) {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
toast(TranslationHelper.getTranslation()?.veloria_succeed.toString())
|
||||
} else {
|
||||
toast("Success")
|
||||
}
|
||||
LoginManager.getInstance().logOut()
|
||||
RYAction.getMMKV()
|
||||
.putString(JActivityAdapter.ACCOUNT_TOKEN, it.data.token)
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.HOME_LEAVE_APP)
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.HOME_ENTER_THE_APP)
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.HOME_USER_REFRESH)
|
||||
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.HOME_NAVIGATE_TO_HOME)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
binding.tvUserAgreement.setOnClickListener {
|
||||
var fragmentsP: Long = 2747L
|
||||
if (fragmentsP == 197L) {
|
||||
}
|
||||
|
||||
|
||||
var touristu: String = "rkmpp"
|
||||
if (touristu.length > 72) {
|
||||
}
|
||||
println(touristu)
|
||||
|
||||
|
||||
singleOnClick {
|
||||
var trendingP: MutableList<Double> = mutableListOf<Double>()
|
||||
trendingP.add(560.0)
|
||||
trendingP.add(432.0)
|
||||
trendingP.add(113.0)
|
||||
if (trendingP.size > 140) {
|
||||
}
|
||||
|
||||
|
||||
startActivity(
|
||||
Intent(
|
||||
requireContext(),
|
||||
RBZLatestDeteleActivity::class.java
|
||||
).putExtra(
|
||||
JActivityAdapter.WEB_VIEW_URL_STRING,
|
||||
JActivityAdapter.WEB_VIEW_USER_AGREEMENT
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
binding.tvPrivacyPolicy.setOnClickListener {
|
||||
var latestz: Double = 3374.0
|
||||
if (latestz < 27.0) {
|
||||
}
|
||||
|
||||
|
||||
var downg: MutableMap<String, Long> = mutableMapOf<String, Long>()
|
||||
downg.put("inside", 772L)
|
||||
downg.put("deactivate", 131L)
|
||||
if (downg.get("c") != null) {
|
||||
}
|
||||
println(downg)
|
||||
|
||||
|
||||
singleOnClick {
|
||||
var characterd: String = "reseek"
|
||||
while (characterd.length > 33) {
|
||||
break
|
||||
}
|
||||
println(characterd)
|
||||
|
||||
|
||||
startActivity(
|
||||
Intent(
|
||||
requireContext(),
|
||||
RBZLatestDeteleActivity::class.java
|
||||
).putExtra(
|
||||
JActivityAdapter.WEB_VIEW_URL_STRING,
|
||||
JActivityAdapter.WEB_VIEW_PRIVACY_POLICY
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
binding.tvVisit.setOnClickListener {
|
||||
var w_lockh: MutableMap<String, Long> = mutableMapOf<String, Long>()
|
||||
w_lockh.put("closesocket", 636L)
|
||||
w_lockh.put("temporal", 191L)
|
||||
w_lockh.put("ivsetup", 563L)
|
||||
if (w_lockh.size > 170) {
|
||||
}
|
||||
println(w_lockh)
|
||||
|
||||
|
||||
var bodyloadK: Int = 820
|
||||
|
||||
|
||||
singleOnClick {
|
||||
var chooseG: Double = 5194.0
|
||||
|
||||
val webIntent = Intent(Intent.ACTION_VIEW, Uri.parse(JActivityAdapter.WEB_VIEW_COM))
|
||||
startActivity(webIntent)
|
||||
}
|
||||
}
|
||||
binding.tvAboutUs.setOnClickListener {
|
||||
var recommendi: Double = 4986.0
|
||||
while (recommendi == 141.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
singleOnClick {
|
||||
var loggingY: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
loggingY.put("trellis", "retried")
|
||||
loggingY.put("dollar", "pixlet")
|
||||
loggingY.put("second", "libndi")
|
||||
|
||||
|
||||
startActivity(
|
||||
Intent(
|
||||
requireContext(),
|
||||
RCheckActivity::class.java
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
binding.tvStore.setOnClickListener {
|
||||
singleOnClick {
|
||||
var loggingY: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
loggingY.put("trellis", "retried")
|
||||
loggingY.put("dollar", "pixlet")
|
||||
loggingY.put("second", "libndi")
|
||||
|
||||
|
||||
startActivity(
|
||||
Intent(
|
||||
requireContext(),
|
||||
VeStoreActivity::class.java
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
binding.tvWallet.setOnClickListener {
|
||||
singleOnClick {
|
||||
startActivity(
|
||||
Intent(
|
||||
requireContext(),
|
||||
VeMyWalletActivity::class.java
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
binding.tvRecord.setOnClickListener {
|
||||
singleOnClick {
|
||||
startActivity(
|
||||
Intent(
|
||||
requireContext(),
|
||||
VeMyWalletActivity::class.java
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
binding.tvHelpCenter.setOnClickListener {
|
||||
singleOnClick {
|
||||
startActivity(
|
||||
Intent(
|
||||
requireContext(),
|
||||
VeFeedbackActivity::class.java
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
binding.tvLanguage.setOnClickListener {
|
||||
singleOnClick {
|
||||
startActivity(
|
||||
Intent(
|
||||
requireContext(),
|
||||
VeLanguageActivity::class.java
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
binding.tvLogin.setOnClickListener {
|
||||
singleOnClick {
|
||||
if (RYAction.isTouristTo()) {
|
||||
EventBus.getDefault().post(JActivityAdapter.HOME_LOGIN)
|
||||
} else {
|
||||
setLogoutDialog()
|
||||
}
|
||||
}
|
||||
}
|
||||
binding.tvDeleteAccount.setOnClickListener {
|
||||
singleOnClick {
|
||||
startActivity(
|
||||
Intent(
|
||||
requireContext(),
|
||||
VeAccountDeletionActivity::class.java
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
binding.tvRewards.setOnClickListener {
|
||||
singleOnClick {
|
||||
startActivity(
|
||||
Intent(
|
||||
requireContext(),
|
||||
VeRewardsActivity::class.java
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
binding.tvCheckIn.setOnClickListener {
|
||||
singleOnClick {
|
||||
startActivity(
|
||||
Intent(
|
||||
requireContext(),
|
||||
VeRewardsActivity::class.java
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
binding.tvFavorites.setOnClickListener {
|
||||
singleOnClick {
|
||||
mainViewModel.setMyListAction(1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
fun setLogoutDialog() {
|
||||
val dialog = LogoutDialog(requireContext()).apply {
|
||||
setOnLogoutClickListener(object : LogoutDialog.LogoutOnClick{
|
||||
override fun onLogoutAction() {
|
||||
viewModel.setLogout()
|
||||
}
|
||||
})
|
||||
}
|
||||
dialog.show()
|
||||
dialog.logoutOnClick
|
||||
|
||||
}
|
||||
|
||||
|
||||
public fun activeBundleBlackIcon(checkVip: Int): Double {
|
||||
var coinsApi = 2340L
|
||||
var skewedStatus: Float = 2977.0f
|
||||
var handlerAll: String = "uninterpreted"
|
||||
var tkhdNternalMathops: Double = 6109.0
|
||||
coinsApi = 5767L
|
||||
skewedStatus = 4962.0f
|
||||
|
||||
return tkhdNternalMathops
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun getViewBinding(
|
||||
inflater: LayoutInflater,
|
||||
container: ViewGroup?
|
||||
): EvBodyloadHomeBinding {
|
||||
|
||||
var ighlightsTesvert: Double = this.activeBundleBlackIcon(1775)
|
||||
|
||||
println(ighlightsTesvert)
|
||||
|
||||
println(ighlightsTesvert)
|
||||
|
||||
|
||||
var langy: String = "refpic"
|
||||
if (langy.length > 17) {
|
||||
}
|
||||
|
||||
|
||||
return EvBodyloadHomeBinding.inflate(inflater, container, false)
|
||||
}
|
||||
|
||||
|
||||
public fun exampleSubscribeDelayRoot(
|
||||
collectActive: String,
|
||||
buildSmart: Int,
|
||||
handlerUrl: String
|
||||
): Long {
|
||||
var variableViews = 2380L
|
||||
var scanStay: Double = 5379.0
|
||||
var displayLine: MutableList<Int> = mutableListOf<Int>()
|
||||
var indexCagetory = mutableMapOf<String, Float>()
|
||||
println(indexCagetory)
|
||||
var fudgeRecognitions: Long = 9212L
|
||||
variableViews = 2744L
|
||||
fudgeRecognitions += variableViews
|
||||
scanStay = 9087.0
|
||||
|
||||
return fudgeRecognitions
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onHiddenChanged(hidden: Boolean) {
|
||||
var uyvytoyuv_j: String = "unhighlight"
|
||||
var multiplied_l: String = "dispatcher"
|
||||
|
||||
var ipredFutex = this.exampleSubscribeDelayRoot(uyvytoyuv_j, 1147, multiplied_l)
|
||||
|
||||
var ipredFutex_content: Int = ipredFutex.toInt()
|
||||
if (ipredFutex > 3L) {
|
||||
for (n_r in 0..ipredFutex) {
|
||||
if (n_r == 1L) {
|
||||
println(n_r)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
println(ipredFutex)
|
||||
|
||||
|
||||
var auto_wnD: String = "ooura"
|
||||
if (auto_wnD == "X") {
|
||||
}
|
||||
|
||||
|
||||
super.onHiddenChanged(hidden)
|
||||
var user1: Double = 6277.0
|
||||
if (user1 == 37.0) {
|
||||
}
|
||||
|
||||
|
||||
if (!hidden) {
|
||||
var stringsA: Boolean = true
|
||||
while (stringsA) {
|
||||
break
|
||||
}
|
||||
|
||||
showLoading()
|
||||
viewModel.getUserInfo()
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
fun onEvent(event: String) {
|
||||
if (JActivityAdapter.HOME_USER_REFRESH == event || JActivityAdapter.HOME_REFRESH_ME == event) {
|
||||
showLoading()
|
||||
viewModel.getUserInfo()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,165 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.adminSourceid
|
||||
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.fragment.app.activityViewModels
|
||||
import androidx.lifecycle.ViewModelProvider
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import com.blankj.utilcode.util.NetworkUtils
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.NOFfmpeg
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.databinding.FragmentVeMyWalletOrderBinding
|
||||
import com.veloria.now.shortapp.newsletter.JItemServiceFragment
|
||||
import com.veloria.now.shortapp.rewards.VSNotificationsDefault
|
||||
import com.veloria.now.shortapp.subtractionCroll.adminSourceid.coordinate.VeMyWalletRecordViewModel
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.VeMyWalletViewModel
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.VeCustomerOrderRecordAdapter
|
||||
|
||||
class VeMyWalletOrderFragment :
|
||||
JItemServiceFragment<FragmentVeMyWalletOrderBinding, VeMyWalletRecordViewModel>(), NOFfmpeg {
|
||||
|
||||
private val walletViewModel: VeMyWalletViewModel by activityViewModels()
|
||||
|
||||
override val viewModel by lazy {
|
||||
ViewModelProvider(this)[VeMyWalletRecordViewModel::class.java]
|
||||
}
|
||||
private var tabPosition = 1
|
||||
private var orderRecordAdapter: VeCustomerOrderRecordAdapter? = null
|
||||
private var orderRecordAdapter1: VeCustomerOrderRecordAdapter? = null
|
||||
private var currentPage = 1
|
||||
private var currentPage1 = 1
|
||||
|
||||
override fun getViewBinding(
|
||||
inflater: LayoutInflater,
|
||||
container: ViewGroup?
|
||||
): FragmentVeMyWalletOrderBinding {
|
||||
return FragmentVeMyWalletOrderBinding.inflate(inflater, container, false)
|
||||
}
|
||||
|
||||
override fun initView() {
|
||||
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
binding.tvRecordTab1.text = TranslationHelper.getTranslation()?.veloria_coin_record
|
||||
binding.tvRecordTab2.text = TranslationHelper.getTranslation()?.veloria_vip_record
|
||||
}
|
||||
|
||||
|
||||
binding.tvRecordTab1.setOnClickListener {
|
||||
binding.tvRecordTab1.setTextColor(resources.getColor(R.color.white))
|
||||
binding.tvRecordTab2.setTextColor(resources.getColor(R.color.white30))
|
||||
binding.vRecordTab1.setBackgroundResource(R.color.white)
|
||||
binding.vRecordTab2.setBackgroundResource(R.color.transparent)
|
||||
tabPosition = 1
|
||||
setLoadingData()
|
||||
|
||||
}
|
||||
binding.tvRecordTab2.setOnClickListener {
|
||||
binding.tvRecordTab1.setTextColor(resources.getColor(R.color.white30))
|
||||
binding.tvRecordTab2.setTextColor(resources.getColor(R.color.white))
|
||||
binding.vRecordTab1.setBackgroundResource(R.color.transparent)
|
||||
binding.vRecordTab2.setBackgroundResource(R.color.white)
|
||||
tabPosition = 2
|
||||
setLoadingData()
|
||||
}
|
||||
|
||||
if (!NetworkUtils.isConnected()) {
|
||||
binding.recyclerView.visibility = View.GONE
|
||||
showErrorData(object : VSNotificationsDefault.OnRetryListener {
|
||||
override fun onRetry(layout: VSNotificationsDefault) {
|
||||
initView()
|
||||
}
|
||||
})
|
||||
return
|
||||
} else {
|
||||
binding.recyclerView.visibility = View.VISIBLE
|
||||
showComplete()
|
||||
}
|
||||
|
||||
showLoading()
|
||||
binding.recyclerView.layoutManager = LinearLayoutManager(requireContext())
|
||||
orderRecordAdapter = VeCustomerOrderRecordAdapter()
|
||||
binding.recyclerView.adapter = orderRecordAdapter
|
||||
|
||||
orderRecordAdapter1 = VeCustomerOrderRecordAdapter()
|
||||
|
||||
setLoadingData()
|
||||
|
||||
}
|
||||
|
||||
private fun setLoadingData() {
|
||||
if (!NetworkUtils.isConnected()) {
|
||||
return
|
||||
}
|
||||
when (tabPosition) {
|
||||
1 -> {
|
||||
binding.recyclerView.adapter = orderRecordAdapter
|
||||
if (orderRecordAdapter?.items == null || orderRecordAdapter!!.items.isEmpty()) {
|
||||
viewModel.getCustomerOrder("coins", currentPage)
|
||||
} else {
|
||||
walletViewModel.setHeightAction(0)
|
||||
}
|
||||
}
|
||||
|
||||
2 -> {
|
||||
binding.recyclerView.adapter = orderRecordAdapter1
|
||||
if (orderRecordAdapter1?.items == null || orderRecordAdapter1!!.items.isEmpty()) {
|
||||
viewModel.getCustomerOrder("vip", currentPage1)
|
||||
} else {
|
||||
walletViewModel.setHeightAction(0)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun observeData() {
|
||||
viewModel.customerOrder.observe(this) {
|
||||
if (it?.data?.list != null && it.data.list.isNotEmpty()) {
|
||||
binding.recyclerView.visibility = View.VISIBLE
|
||||
showComplete()
|
||||
if (tabPosition == 1) {
|
||||
if (currentPage == 1) {
|
||||
orderRecordAdapter?.submitList(it.data.list)
|
||||
} else {
|
||||
orderRecordAdapter?.addAll(it.data.list)
|
||||
}
|
||||
} else {
|
||||
if (currentPage1 == 1) {
|
||||
orderRecordAdapter1?.submitList(it.data.list)
|
||||
} else {
|
||||
orderRecordAdapter1?.addAll(it.data.list)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if ((tabPosition == 1 && currentPage == 1) || (tabPosition == 2 && currentPage1 == 1)) {
|
||||
showEmptyData()
|
||||
binding.recyclerView.visibility = View.GONE
|
||||
}
|
||||
}
|
||||
walletViewModel.setHeightAction(0)
|
||||
walletViewModel.setLoadMoreFinishAction(0)
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
|
||||
walletViewModel.loadMoreAction.observe(this) {
|
||||
if (it == 0) {
|
||||
if (tabPosition == 1) {
|
||||
currentPage++
|
||||
viewModel.getCustomerOrder("coins", currentPage)
|
||||
} else {
|
||||
currentPage1++
|
||||
viewModel.getCustomerOrder("vip", currentPage1)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
override fun getStatusLayout(): VSNotificationsDefault? {
|
||||
return binding.stateLayout
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,142 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.adminSourceid
|
||||
|
||||
import android.os.Bundle
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.fragment.app.activityViewModels
|
||||
import androidx.lifecycle.ViewModelProvider
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import com.blankj.utilcode.util.NetworkUtils
|
||||
import com.veloria.now.shortapp.civil.NOFfmpeg
|
||||
import com.veloria.now.shortapp.databinding.FragmentVeMyWalletRecordBinding
|
||||
import com.veloria.now.shortapp.newsletter.JItemServiceFragment
|
||||
import com.veloria.now.shortapp.rewards.VSNotificationsDefault
|
||||
import com.veloria.now.shortapp.subtractionCroll.adminSourceid.coordinate.VeMyWalletRecordViewModel
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.VeMyWalletViewModel
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.VeCustomerBuyRecordAdapter
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.VeSendCoinAdapter
|
||||
|
||||
class VeMyWalletRecordFragment :
|
||||
JItemServiceFragment<FragmentVeMyWalletRecordBinding, VeMyWalletRecordViewModel>(),
|
||||
NOFfmpeg {
|
||||
|
||||
companion object {
|
||||
private const val ARG_CONTENT = "ARG_CONTENT"
|
||||
|
||||
fun newInstance(content: Int): VeMyWalletRecordFragment {
|
||||
return VeMyWalletRecordFragment().apply {
|
||||
arguments = Bundle().apply {
|
||||
putInt(ARG_CONTENT, content)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private var tabPosition: Int? = null
|
||||
private var customerBuyRecordAdapter: VeCustomerBuyRecordAdapter? = null
|
||||
private var sendCoinAdapter: VeSendCoinAdapter? = null
|
||||
private var currentPage = 1
|
||||
private var currentPage1 = 1
|
||||
private val walletViewModel: VeMyWalletViewModel by activityViewModels()
|
||||
|
||||
override val viewModel by lazy {
|
||||
ViewModelProvider(this)[VeMyWalletRecordViewModel::class.java]
|
||||
}
|
||||
|
||||
override fun getViewBinding(
|
||||
inflater: LayoutInflater,
|
||||
container: ViewGroup?
|
||||
): FragmentVeMyWalletRecordBinding {
|
||||
return FragmentVeMyWalletRecordBinding.inflate(inflater, container, false)
|
||||
}
|
||||
|
||||
override fun initView() {
|
||||
tabPosition = arguments?.getInt(ARG_CONTENT)
|
||||
if (!NetworkUtils.isConnected()) {
|
||||
binding.recyclerView.visibility = View.GONE
|
||||
showErrorData(object : VSNotificationsDefault.OnRetryListener {
|
||||
override fun onRetry(layout: VSNotificationsDefault) {
|
||||
initView()
|
||||
}
|
||||
})
|
||||
return
|
||||
} else {
|
||||
binding.recyclerView.visibility = View.VISIBLE
|
||||
showComplete()
|
||||
}
|
||||
|
||||
showLoading()
|
||||
binding.recyclerView.layoutManager = LinearLayoutManager(requireContext())
|
||||
|
||||
when (tabPosition) {
|
||||
1 -> {
|
||||
customerBuyRecordAdapter = VeCustomerBuyRecordAdapter()
|
||||
binding.recyclerView.adapter = customerBuyRecordAdapter
|
||||
|
||||
viewModel.getCustomerBuyRecords(currentPage)
|
||||
}
|
||||
|
||||
2 -> {
|
||||
sendCoinAdapter = VeSendCoinAdapter()
|
||||
binding.recyclerView.adapter = sendCoinAdapter
|
||||
|
||||
viewModel.getSendCoinList(currentPage1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun observeData() {
|
||||
viewModel.customerBuyRecords.observe(this) {
|
||||
if (it?.data?.list != null && it.data.list.isNotEmpty()) {
|
||||
binding.recyclerView.visibility = View.VISIBLE
|
||||
showComplete()
|
||||
if (currentPage == 1) {
|
||||
customerBuyRecordAdapter?.submitList(it.data.list)
|
||||
} else {
|
||||
customerBuyRecordAdapter?.addAll(it.data.list)
|
||||
}
|
||||
} else {
|
||||
if (currentPage == 1) {
|
||||
showEmptyData()
|
||||
binding.recyclerView.visibility = View.GONE
|
||||
}
|
||||
}
|
||||
walletViewModel.setLoadMoreFinishAction(0)
|
||||
hideLoading()
|
||||
}
|
||||
viewModel.sendCoinList.observe(this) {
|
||||
if (it?.data?.list != null && it.data.list.isNotEmpty()) {
|
||||
binding.recyclerView.visibility = View.VISIBLE
|
||||
showComplete()
|
||||
if (currentPage1 == 1) {
|
||||
sendCoinAdapter?.submitList(it.data.list)
|
||||
} else {
|
||||
sendCoinAdapter?.addAll(it.data.list)
|
||||
}
|
||||
} else {
|
||||
if (currentPage1 == 1) {
|
||||
showEmptyData()
|
||||
binding.recyclerView.visibility = View.GONE
|
||||
}
|
||||
}
|
||||
walletViewModel.setLoadMoreFinishAction(0)
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
walletViewModel.loadMoreAction.observe(this) {
|
||||
if (it == 1) {
|
||||
currentPage++
|
||||
viewModel.getCustomerBuyRecords(currentPage)
|
||||
} else {
|
||||
currentPage1++
|
||||
viewModel.getSendCoinList(currentPage)
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun getStatusLayout(): VSNotificationsDefault? {
|
||||
return binding.stateLayout
|
||||
}
|
||||
}
|
@ -0,0 +1,992 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.adminSourceid
|
||||
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import android.widget.TextView
|
||||
import androidx.core.content.ContextCompat
|
||||
import androidx.fragment.app.activityViewModels
|
||||
import androidx.lifecycle.ViewModelProvider
|
||||
import androidx.viewpager2.widget.ViewPager2
|
||||
import com.google.android.material.tabs.TabLayout
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.databinding.VRefreshBinding
|
||||
import com.veloria.now.shortapp.newsletter.JItemServiceFragment
|
||||
import com.veloria.now.shortapp.subtractionCroll.adminSourceid.coordinate.NNAndroid
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.JService
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.HVIText
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
import org.greenrobot.eventbus.Subscribe
|
||||
import org.greenrobot.eventbus.ThreadMode
|
||||
import kotlin.math.min
|
||||
|
||||
|
||||
class YYLoginHistoryFragment : JItemServiceFragment<VRefreshBinding, NNAndroid>() {
|
||||
@Volatile
|
||||
private var stateShort_b5Process_list: MutableList<Long> = mutableListOf<Long>()
|
||||
|
||||
@Volatile
|
||||
private var menuBlack_space: Float = 4030.0f
|
||||
|
||||
@Volatile
|
||||
private var afterTransparentListOffset: Float = 4822.0f
|
||||
|
||||
|
||||
override val viewModel by lazy {
|
||||
var k_widthv: Int = 4218
|
||||
if (k_widthv <= 200) {
|
||||
}
|
||||
|
||||
ViewModelProvider(this)[NNAndroid::class.java]
|
||||
}
|
||||
|
||||
private val myListViewModel: NNAndroid by activityViewModels()
|
||||
private val mainViewModel: JService by activityViewModels()
|
||||
|
||||
private fun notifyBlackInstallFeature(dramaDelete_w: Float, category_7First: String): Int {
|
||||
var placeContent: MutableList<String> = mutableListOf<String>()
|
||||
var tubeMore = mutableListOf<Long>()
|
||||
var colorBinding = mutableListOf<Int>()
|
||||
var o_11Libavdevice: Int = 4595
|
||||
|
||||
return o_11Libavdevice
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun getViewBinding(
|
||||
inflater: LayoutInflater,
|
||||
container: ViewGroup?
|
||||
): VRefreshBinding {
|
||||
var lower_i = "obtain"
|
||||
|
||||
var matrixingSines: Int = this.notifyBlackInstallFeature(1260.0f, lower_i)
|
||||
|
||||
if (matrixingSines > 2) {
|
||||
for (q_4 in 0..matrixingSines) {
|
||||
if (q_4 == 1) {
|
||||
println(q_4)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
println(matrixingSines)
|
||||
|
||||
|
||||
var auto_0D: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
auto_0D.put("cuda", "shutting")
|
||||
auto_0D.put("that", "cabac")
|
||||
auto_0D.put("spoilers", "express")
|
||||
auto_0D.put("introduction", "netisr")
|
||||
auto_0D.put("coreimage", "poisson")
|
||||
auto_0D.put("geometry", "workload")
|
||||
|
||||
|
||||
return VRefreshBinding.inflate(inflater, container, false)
|
||||
}
|
||||
|
||||
|
||||
private fun loadYouthEach(agreementRules: Int, detailedVideo: Double): Double {
|
||||
var trendsGift: MutableList<Int> = mutableListOf<Int>()
|
||||
var cagetoryJob = 3256.0f
|
||||
var changeRepository: Long = 7264L
|
||||
println(changeRepository)
|
||||
var fastfirstpassSetFourxm: Double = 7057.0
|
||||
cagetoryJob = 1091.0f
|
||||
changeRepository -= 3689L
|
||||
|
||||
return fastfirstpassSetFourxm
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onDestroy() {
|
||||
|
||||
var refcountAvfilter = this.loadYouthEach(5057, 2115.0)
|
||||
|
||||
if (refcountAvfilter < 69.0) {
|
||||
println(refcountAvfilter)
|
||||
}
|
||||
|
||||
println(refcountAvfilter)
|
||||
|
||||
|
||||
var listu: String = "bilateral"
|
||||
while (listu.length > 157) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
super.onDestroy()
|
||||
var playfairKl: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
playfairKl.put("paramstring", "approve")
|
||||
playfairKl.put("prior", "resolvers")
|
||||
playfairKl.put("lock", "clipped")
|
||||
playfairKl.put("refresh", "geom")
|
||||
if (playfairKl.get("Z") != null) {
|
||||
}
|
||||
println(playfairKl)
|
||||
|
||||
|
||||
EventBus.getDefault().unregister(this)
|
||||
}
|
||||
|
||||
|
||||
private fun selectLazyCustomTranslateOneTask(): Long {
|
||||
var selectionAvatar = 4777L
|
||||
var manifestLine = mutableListOf<Long>()
|
||||
var versionBold: Int = 346
|
||||
var setWatching: Long = 8902L
|
||||
var trnsRanges: Long = 529L
|
||||
selectionAvatar -= 7315L
|
||||
trnsRanges -= selectionAvatar
|
||||
versionBold = versionBold
|
||||
setWatching *= 3441L
|
||||
trnsRanges *= setWatching
|
||||
|
||||
return trnsRanges
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
fun onEvent(event: String) {
|
||||
|
||||
var ablConverter: Long = selectLazyCustomTranslateOneTask()
|
||||
|
||||
println(ablConverter)
|
||||
var ablConverter_while_l: Int = ablConverter.toInt()
|
||||
|
||||
println(ablConverter)
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun setLogicResourceWatchSmartBlue(bbfdebaffdStyles: MutableMap<String, Boolean>): MutableList<Int> {
|
||||
var episodeTest: MutableList<Double> = mutableListOf<Double>()
|
||||
var observeLauncher = mutableMapOf<String, String>()
|
||||
var short_jbSeries: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
var typesRecipientsCombines = mutableListOf<Int>()
|
||||
for (lose in 0..min(1, episodeTest.size - 1)) {
|
||||
if (lose < typesRecipientsCombines.size) {
|
||||
break
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return typesRecipientsCombines
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun formMoreRestoreFamilyAgoShape() {
|
||||
|
||||
var pkthdrLast: MutableList<Int> =
|
||||
this.setLogicResourceWatchSmartBlue(mutableMapOf<String, Boolean>())
|
||||
|
||||
var pkthdrLast_len: Int = pkthdrLast.size
|
||||
for (index_u in 0..pkthdrLast.size - 1) {
|
||||
val obj_index_u: Any = pkthdrLast.get(index_u)
|
||||
if (index_u == 28) {
|
||||
println(obj_index_u)
|
||||
}
|
||||
}
|
||||
|
||||
println(pkthdrLast)
|
||||
|
||||
|
||||
var dialog2: Long = 6480L
|
||||
while (dialog2 < 178L) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
|
||||
tabItems.forEachIndexed { index, tabItem ->
|
||||
val selectedw = binding.tabLayout.newTab()
|
||||
var rightF: Double = 2829.0
|
||||
if (rightF <= 116.0) {
|
||||
}
|
||||
|
||||
|
||||
val singleView_ =
|
||||
LayoutInflater.from(requireContext()).inflate(R.layout.cie_search, null)
|
||||
var applicationK: String = "mvprobs"
|
||||
if (applicationK == "e") {
|
||||
}
|
||||
|
||||
|
||||
|
||||
singleView_.findViewById<TextView>(R.id.tv_tab_text).text = tabItem
|
||||
var trendK: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
trendK.put("transceivers", 167.0f)
|
||||
trendK.put("replay", 144.0f)
|
||||
|
||||
|
||||
|
||||
selectedw.customView = singleView_
|
||||
var nnewsf: String = "retransmit"
|
||||
println(nnewsf)
|
||||
|
||||
|
||||
binding.tabLayout.addTab(selectedw)
|
||||
}
|
||||
|
||||
|
||||
resetComponentDisplayTourist(0)
|
||||
}
|
||||
|
||||
private val tabItems = listOf(
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_my_list } ?: "My List",
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_history } ?: "History"
|
||||
)
|
||||
|
||||
|
||||
private fun decorCodeTrimLogicMapBuy(
|
||||
manualLogin: Long,
|
||||
colorObserve: MutableList<Double>
|
||||
): Long {
|
||||
var stylesPager: Float = 6130.0f
|
||||
var againBack = mutableMapOf<String, String>()
|
||||
var centerIntercept = mutableMapOf<String, Int>()
|
||||
var removerRgbyuv: Long = 8009L
|
||||
stylesPager *= 3170.0f
|
||||
|
||||
return removerRgbyuv
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun observeData() {
|
||||
var reassembler_o = mutableListOf<Double>()
|
||||
|
||||
var synchronizedFlex: Long = this.decorCodeTrimLogicMapBuy(2778L, reassembler_o)
|
||||
|
||||
var synchronizedFlex_test: Int = synchronizedFlex.toInt()
|
||||
println(synchronizedFlex)
|
||||
|
||||
println(synchronizedFlex)
|
||||
|
||||
|
||||
var completeD: MutableList<String> = mutableListOf<String>()
|
||||
completeD.add("intersection")
|
||||
completeD.add("candidate")
|
||||
if (completeD.size > 80) {
|
||||
}
|
||||
|
||||
|
||||
myListViewModel.meToAllSelectCheckAction.observe(this) {
|
||||
var storee: Int = 7220
|
||||
while (storee >= 44) {
|
||||
break
|
||||
}
|
||||
println(storee)
|
||||
|
||||
|
||||
if (it == 0) {
|
||||
var loadingY: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
loadingY.add(false)
|
||||
loadingY.add(false)
|
||||
if (loadingY.size > 92) {
|
||||
}
|
||||
println(loadingY)
|
||||
|
||||
|
||||
binding.cbCheck.isChecked = false
|
||||
} else if (it == 1) {
|
||||
var fontu: Float = 473.0f
|
||||
if (fontu <= 162.0f) {
|
||||
}
|
||||
|
||||
|
||||
binding.tabLayout.visibility = View.VISIBLE
|
||||
var nameS: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
nameS.put("postbox", 770)
|
||||
nameS.put("annexbmp", 661)
|
||||
nameS.put("mpegutils", 686)
|
||||
nameS.put("bitmask", 657)
|
||||
while (nameS.size > 158) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.ivMore.visibility = View.VISIBLE
|
||||
var lists: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
lists.put("cyclic", 780.0)
|
||||
lists.put("colocated", 631.0)
|
||||
lists.put("programs", 431.0)
|
||||
while (lists.size > 154) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.ivClose.visibility = View.INVISIBLE
|
||||
var selectE: MutableList<Int> = mutableListOf<Int>()
|
||||
selectE.add(637)
|
||||
selectE.add(861)
|
||||
selectE.add(73)
|
||||
selectE.add(304)
|
||||
selectE.add(426)
|
||||
selectE.add(324)
|
||||
if (selectE.size > 28) {
|
||||
}
|
||||
println(selectE)
|
||||
|
||||
|
||||
binding.ivDelete.visibility = View.GONE
|
||||
var spacingR: Boolean = false
|
||||
if (spacingR) {
|
||||
}
|
||||
println(spacingR)
|
||||
|
||||
|
||||
binding.flCheck.visibility = View.GONE
|
||||
} else if (it == 2) {
|
||||
binding.cbCheck.isChecked = true
|
||||
}
|
||||
|
||||
}
|
||||
mainViewModel.myListAction.observe(this) {
|
||||
if (it == 0){
|
||||
binding.viewPager.setCurrentItem(1, false)
|
||||
binding.tabLayout.selectTab(binding.tabLayout.getTabAt(1))
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun collectionCoreIllegalVideoResponse(
|
||||
watchLifecycle: MutableMap<String, Int>,
|
||||
shapeError: String,
|
||||
eventLauncher: MutableMap<String, Int>
|
||||
): Int {
|
||||
var loginEvent = mutableMapOf<String, String>()
|
||||
var collectionsAction: Float = 6121.0f
|
||||
var bottomSize_52 = mutableListOf<Int>()
|
||||
var animatingApplication = 5632.0
|
||||
println(animatingApplication)
|
||||
var hitsInlineOnversation: Int = 2203
|
||||
collectionsAction = collectionsAction
|
||||
animatingApplication *= 503.0
|
||||
|
||||
return hitsInlineOnversation
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun resetWhatCompanionAreView() {
|
||||
var poslist_q: String = "pacer"
|
||||
|
||||
var atrimVisibility = this.collectionCoreIllegalVideoResponse(
|
||||
mutableMapOf<String, Int>(),
|
||||
poslist_q,
|
||||
mutableMapOf<String, Int>()
|
||||
)
|
||||
|
||||
if (atrimVisibility > 0) {
|
||||
for (x_i in 0..atrimVisibility) {
|
||||
if (x_i == 2) {
|
||||
println(x_i)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
println(atrimVisibility)
|
||||
|
||||
|
||||
var activityq: MutableMap<String, Boolean> = mutableMapOf<String, Boolean>()
|
||||
activityq.put("unfocused", false)
|
||||
activityq.put("showcqt", true)
|
||||
activityq.put("ticker", false)
|
||||
activityq.put("revoke", false)
|
||||
if (activityq.get("s") != null) {
|
||||
}
|
||||
|
||||
|
||||
binding.viewPager.adapter = activity?.let {
|
||||
var secondsP: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
secondsP.put("autodownload", 734)
|
||||
secondsP.put("hdsp", 575)
|
||||
secondsP.put("futex", 998)
|
||||
secondsP.put("pts", 306)
|
||||
secondsP.put("texel", 889)
|
||||
secondsP.put("apcm", 90)
|
||||
while (secondsP.size > 3) {
|
||||
break
|
||||
}
|
||||
println(secondsP)
|
||||
|
||||
|
||||
var finishU: Float = 2882.0f
|
||||
while (finishU == 123.0f) {
|
||||
break
|
||||
}
|
||||
println(finishU)
|
||||
|
||||
HVIText(it)
|
||||
}
|
||||
|
||||
|
||||
binding.viewPager.registerOnPageChangeCallback(object : ViewPager2.OnPageChangeCallback() {
|
||||
|
||||
private fun resetIntegerSetupContainerCount(
|
||||
auto_gzCagetory: String,
|
||||
selectObserve: MutableMap<String, Float>
|
||||
): Int {
|
||||
var indexState: Boolean = true
|
||||
var backupFirst: String = "archetype"
|
||||
var foregroundPadding: MutableList<String> = mutableListOf<String>()
|
||||
println(foregroundPadding)
|
||||
var fromCheckbox = mutableMapOf<String, Boolean>()
|
||||
var refdupeFill: Int = 1699
|
||||
indexState = true
|
||||
refdupeFill -= if (indexState) 74 else 82
|
||||
|
||||
return refdupeFill
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onPageSelected(position: Int) {
|
||||
var schedule_w: String = "getsgnctxno"
|
||||
|
||||
var slowestDxtys: Int =
|
||||
this.resetIntegerSetupContainerCount(schedule_w, mutableMapOf<String, Float>())
|
||||
|
||||
if (slowestDxtys >= 12) {
|
||||
println(slowestDxtys)
|
||||
}
|
||||
|
||||
println(slowestDxtys)
|
||||
|
||||
|
||||
super.onPageSelected(position)
|
||||
binding.tabLayout.selectTab(binding.tabLayout.getTabAt(position))
|
||||
if (position == 1) {
|
||||
binding.ivMore.visibility = View.GONE
|
||||
} else {
|
||||
binding.ivMore.visibility = View.VISIBLE
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
private fun entryRevolutionHistory(
|
||||
paddingProgress: Double,
|
||||
startedCount: MutableMap<String, String>
|
||||
): String {
|
||||
var attrsAuthorization: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
println(attrsAuthorization)
|
||||
var createGradlew: Int = 3047
|
||||
println(createGradlew)
|
||||
var userFfmpeg: String = "xpaldv"
|
||||
var resizedLanguagesIdsubtype: String = "takeover"
|
||||
if (createGradlew >= -128 && createGradlew <= 128) {
|
||||
var authorization_z: Int =
|
||||
min(1, kotlin.random.Random.nextInt(47)) % resizedLanguagesIdsubtype.length
|
||||
resizedLanguagesIdsubtype += createGradlew.toString()
|
||||
}
|
||||
println("delete_fy: " + userFfmpeg)
|
||||
var appearance_g: Int = min(1, kotlin.random.Random.nextInt(68)) % userFfmpeg.length
|
||||
var refresh_e = min(1, kotlin.random.Random.nextInt(52)) % resizedLanguagesIdsubtype.length
|
||||
resizedLanguagesIdsubtype += userFfmpeg.get(appearance_g)
|
||||
|
||||
return resizedLanguagesIdsubtype
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun resetComponentDisplayTourist(selectedPosition: Int) {
|
||||
|
||||
var stdatomicNonfatal: String =
|
||||
this.entryRevolutionHistory(8141.0, mutableMapOf<String, String>())
|
||||
|
||||
if (stdatomicNonfatal == "call") {
|
||||
println(stdatomicNonfatal)
|
||||
}
|
||||
var stdatomicNonfatal_len: Int = stdatomicNonfatal.length
|
||||
|
||||
println(stdatomicNonfatal)
|
||||
|
||||
|
||||
var instrumentedn: MutableList<Float> = mutableListOf<Float>()
|
||||
instrumentedn.add(430.0f)
|
||||
instrumentedn.add(607.0f)
|
||||
|
||||
|
||||
for (i in 0 until binding.tabLayout.tabCount) {
|
||||
var extractionC: Long = 4041L
|
||||
while (extractionC >= 142L) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
val selectedw = binding.tabLayout.getTabAt(i)
|
||||
var listm: Double = 7138.0
|
||||
while (listm >= 99.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
val singleView_ = selectedw?.customView
|
||||
var attrsu: Long = 2159L
|
||||
println(attrsu)
|
||||
|
||||
|
||||
val unitTourist = singleView_?.findViewById<TextView>(R.id.tv_tab_text)
|
||||
var chooseU: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
chooseU.put("lang", 118.0f)
|
||||
chooseU.put("handler", 359.0f)
|
||||
chooseU.put("distortion", 877.0f)
|
||||
chooseU.put("tagcompare", 884.0f)
|
||||
chooseU.put("vowels", 377.0f)
|
||||
println(chooseU)
|
||||
|
||||
|
||||
if (i == selectedPosition) {
|
||||
var coverM: String = "vsrc"
|
||||
if (coverM == "w") {
|
||||
}
|
||||
|
||||
|
||||
unitTourist?.setTextColor(ContextCompat.getColor(requireContext(), R.color.white))
|
||||
} else {
|
||||
var expandedv: Boolean = true
|
||||
if (!expandedv) {
|
||||
}
|
||||
println(expandedv)
|
||||
|
||||
|
||||
unitTourist?.setTextColor(ContextCompat.getColor(requireContext(), R.color.white30))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun threadAfterPriceEnd(
|
||||
profileInterceptor: String,
|
||||
animationDragging: MutableMap<String, String>
|
||||
): String {
|
||||
var hotsNumber = mutableListOf<Boolean>()
|
||||
var activityNeed = mutableMapOf<String, Int>()
|
||||
println(activityNeed)
|
||||
var lifecycleLauncher = 433.0
|
||||
var unsharpKfwriteGeom = "sxnet"
|
||||
if (lifecycleLauncher <= 128 && lifecycleLauncher >= -128) {
|
||||
var request_z = min(1, kotlin.random.Random.nextInt(66)) % unsharpKfwriteGeom.length
|
||||
unsharpKfwriteGeom += lifecycleLauncher.toString()
|
||||
}
|
||||
|
||||
return unsharpKfwriteGeom
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun initView() {
|
||||
var idctdsp_a = "colums"
|
||||
|
||||
var maskedclampVmprintf: String =
|
||||
this.threadAfterPriceEnd(idctdsp_a, mutableMapOf<String, String>())
|
||||
|
||||
var maskedclampVmprintf_len = maskedclampVmprintf.length
|
||||
if (maskedclampVmprintf == "loading") {
|
||||
println(maskedclampVmprintf)
|
||||
}
|
||||
|
||||
println(maskedclampVmprintf)
|
||||
|
||||
|
||||
var buttonO: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
buttonO.add(false)
|
||||
buttonO.add(true)
|
||||
if (buttonO.contains(true)) {
|
||||
}
|
||||
println(buttonO)
|
||||
|
||||
|
||||
EventBus.getDefault().register(this)
|
||||
var menuH: MutableMap<String, Long> = mutableMapOf<String, Long>()
|
||||
menuH.put("factory", 876L)
|
||||
menuH.put("metabody", 632L)
|
||||
menuH.put("setdar", 134L)
|
||||
while (menuH.size > 108) {
|
||||
break
|
||||
}
|
||||
println(menuH)
|
||||
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
binding.cbCheck.text = TranslationHelper.getTranslation()?.veloria_all_select
|
||||
} else {
|
||||
binding.cbCheck.text = "Select All"
|
||||
}
|
||||
|
||||
resetWhatCompanionAreView()
|
||||
var upload4: String = "mjpegdec"
|
||||
if (upload4 == "u") {
|
||||
}
|
||||
|
||||
|
||||
formMoreRestoreFamilyAgoShape()
|
||||
var binge1: Float = 8584.0f
|
||||
while (binge1 == 42.0f) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
interceptOutputConstraint()
|
||||
var radiusX: Long = 7137L
|
||||
if (radiusX > 34L) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
binding.ivMore.setOnClickListener {
|
||||
var checkboxJ: Int = 9126
|
||||
if (checkboxJ < 58) {
|
||||
}
|
||||
|
||||
|
||||
var characterO: Double = 3208.0
|
||||
if (characterO == 33.0) {
|
||||
}
|
||||
|
||||
|
||||
binding.tabLayout.visibility = View.INVISIBLE
|
||||
var resourcef: MutableList<Double> = mutableListOf<Double>()
|
||||
resourcef.add(592.0)
|
||||
resourcef.add(222.0)
|
||||
resourcef.add(893.0)
|
||||
resourcef.add(669.0)
|
||||
resourcef.add(891.0)
|
||||
println(resourcef)
|
||||
|
||||
|
||||
binding.ivMore.visibility = View.GONE
|
||||
var stand0: Float = 1322.0f
|
||||
while (stand0 <= 164.0f) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.ivClose.visibility = View.VISIBLE
|
||||
var paddingF: Boolean = false
|
||||
if (paddingF) {
|
||||
}
|
||||
|
||||
|
||||
binding.ivDelete.visibility = View.VISIBLE
|
||||
var aboutG: MutableList<Float> = mutableListOf<Float>()
|
||||
aboutG.add(890.0f)
|
||||
aboutG.add(906.0f)
|
||||
aboutG.add(213.0f)
|
||||
aboutG.add(357.0f)
|
||||
aboutG.add(912.0f)
|
||||
if (aboutG.contains(1770.0f)) {
|
||||
}
|
||||
|
||||
|
||||
binding.flCheck.visibility = View.VISIBLE
|
||||
var coverf: Boolean = true
|
||||
while (coverf) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.MY_LIST_ONCLICK_MORE)
|
||||
|
||||
}
|
||||
|
||||
binding.ivDelete.setOnClickListener {
|
||||
var codeg: MutableMap<String, Boolean> = mutableMapOf<String, Boolean>()
|
||||
codeg.put("works", false)
|
||||
codeg.put("such", false)
|
||||
codeg.put("locate", true)
|
||||
codeg.put("sendall", true)
|
||||
codeg.put("rotationangle", true)
|
||||
while (codeg.size > 174) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
var after_: MutableList<Double> = mutableListOf<Double>()
|
||||
after_.add(485.0)
|
||||
after_.add(224.0)
|
||||
after_.add(587.0)
|
||||
after_.add(358.0)
|
||||
while (after_.size > 127) {
|
||||
break
|
||||
}
|
||||
println(after_)
|
||||
|
||||
|
||||
myListViewModel.setMeToDelete(0)
|
||||
}
|
||||
|
||||
binding.ivClose.setOnClickListener {
|
||||
var arrowsD: Int = 6797
|
||||
while (arrowsD >= 49) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
var bodyloadB: Boolean = true
|
||||
println(bodyloadB)
|
||||
|
||||
|
||||
myListViewModel.setMeToDelete(1)
|
||||
var buym: Int = 1515
|
||||
while (buym >= 65) {
|
||||
break
|
||||
}
|
||||
println(buym)
|
||||
|
||||
|
||||
binding.tabLayout.visibility = View.VISIBLE
|
||||
var numS: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
numS.put("ignoring", 88.0f)
|
||||
numS.put("qnos", 147.0f)
|
||||
numS.put("tiker", 731.0f)
|
||||
numS.put("munmap", 247.0f)
|
||||
numS.put("forbidden", 229.0f)
|
||||
if (numS.size > 97) {
|
||||
}
|
||||
|
||||
|
||||
binding.ivMore.visibility = View.VISIBLE
|
||||
var stateO: Boolean = true
|
||||
while (!stateO) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.ivClose.visibility = View.INVISIBLE
|
||||
var recommend1: MutableMap<String, Long> = mutableMapOf<String, Long>()
|
||||
recommend1.put("loose", 199L)
|
||||
recommend1.put("lenvlc", 620L)
|
||||
if (recommend1.get("D") != null) {
|
||||
}
|
||||
println(recommend1)
|
||||
|
||||
|
||||
binding.ivDelete.visibility = View.GONE
|
||||
var normalN: MutableList<Int> = mutableListOf<Int>()
|
||||
normalN.add(312)
|
||||
normalN.add(481)
|
||||
normalN.add(750)
|
||||
normalN.add(352)
|
||||
normalN.add(885)
|
||||
|
||||
|
||||
binding.flCheck.visibility = View.GONE
|
||||
var expandedvY: Long = 9085L
|
||||
while (expandedvY <= 128L) {
|
||||
break
|
||||
}
|
||||
println(expandedvY)
|
||||
|
||||
|
||||
binding.cbCheck.isChecked = false
|
||||
}
|
||||
|
||||
binding.flCheck.setOnClickListener {
|
||||
var register_im: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
register_im.put("reconnecting", 396)
|
||||
register_im.put("migrated", 424)
|
||||
if (register_im.get("w") != null) {
|
||||
}
|
||||
|
||||
|
||||
if (binding.cbCheck.isChecked) {
|
||||
var visibleo: Boolean = false
|
||||
if (visibleo) {
|
||||
}
|
||||
|
||||
|
||||
binding.cbCheck.isChecked = false
|
||||
var bbfdebaffdo: Int = 5131
|
||||
while (bbfdebaffdo <= 18) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
myListViewModel.setMeToDelete(3)
|
||||
} else {
|
||||
var round0: Int = 8321
|
||||
while (round0 > 168) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.cbCheck.isChecked = true
|
||||
var onclickH: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
onclickH.put("xtension", 848.0f)
|
||||
onclickH.put("connections", 189.0f)
|
||||
if (onclickH.size > 133) {
|
||||
}
|
||||
println(onclickH)
|
||||
|
||||
|
||||
myListViewModel.setMeToDelete(2)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun showTransparentInvokeDisplayKeyTrace(): Boolean {
|
||||
var notificationsFactory: Int = 5818
|
||||
var utilsRound = "ersion"
|
||||
println(utilsRound)
|
||||
var advertImage: Boolean = true
|
||||
var tlogIntegralCan = false
|
||||
notificationsFactory = 5369
|
||||
tlogIntegralCan = notificationsFactory > 10
|
||||
advertImage = true
|
||||
tlogIntegralCan = advertImage
|
||||
|
||||
return tlogIntegralCan
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun interceptOutputConstraint() {
|
||||
|
||||
var creationTaps: Boolean = this.showTransparentInvokeDisplayKeyTrace()
|
||||
|
||||
if (!creationTaps) {
|
||||
println("ok")
|
||||
}
|
||||
|
||||
println(creationTaps)
|
||||
|
||||
|
||||
var ballq: Float = 1711.0f
|
||||
while (ballq >= 53.0f) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
this.stateShort_b5Process_list = mutableListOf<Long>()
|
||||
|
||||
this.menuBlack_space = 5395.0f
|
||||
|
||||
this.afterTransparentListOffset = 1874.0f
|
||||
|
||||
|
||||
binding.tabLayout.addOnTabSelectedListener(object : TabLayout.OnTabSelectedListener {
|
||||
|
||||
private fun allowFreeSmart(
|
||||
pagerLoad: Float,
|
||||
modelName: Double,
|
||||
category_wPoint: Boolean
|
||||
): Boolean {
|
||||
var pageModule = "compatibility"
|
||||
println(pageModule)
|
||||
var activityClick: Int = 4462
|
||||
var searchUrl: Float = 498.0f
|
||||
var mixpanelAiterLottie: Boolean = false
|
||||
activityClick += 8596
|
||||
mixpanelAiterLottie = activityClick > 76
|
||||
searchUrl += searchUrl
|
||||
mixpanelAiterLottie = searchUrl > 70
|
||||
|
||||
return mixpanelAiterLottie
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onTabSelected(tab: TabLayout.Tab) {
|
||||
|
||||
var exponentsOptions = this.allowFreeSmart(177.0f, 7287.0, true)
|
||||
|
||||
if (!exponentsOptions) {
|
||||
println("ok")
|
||||
}
|
||||
|
||||
println(exponentsOptions)
|
||||
|
||||
|
||||
binding.viewPager.currentItem = tab.position
|
||||
resetComponentDisplayTourist(tab.position)
|
||||
}
|
||||
|
||||
|
||||
private fun restoreBlackCenterDestroy(type_3rCode: MutableMap<String, Boolean>): Double {
|
||||
var draggingAvailable: String = "edia"
|
||||
var viewSpacing: String = "cbsnid"
|
||||
var tagHttp = 6153.0
|
||||
var refreshInfo: Int = 2239
|
||||
println(refreshInfo)
|
||||
var licenseStaleLonger: Double = 9427.0
|
||||
tagHttp = 4721.0
|
||||
licenseStaleLonger -= tagHttp
|
||||
refreshInfo -= 7803
|
||||
|
||||
return licenseStaleLonger
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onTabUnselected(tab: TabLayout.Tab) {
|
||||
|
||||
var fullWelcome: Double =
|
||||
this.restoreBlackCenterDestroy(mutableMapOf<String, Boolean>())
|
||||
|
||||
if (fullWelcome <= 55.0) {
|
||||
println(fullWelcome)
|
||||
}
|
||||
|
||||
println(fullWelcome)
|
||||
|
||||
}
|
||||
|
||||
private fun previewScriptCivilTag(
|
||||
zoneDeletes: String,
|
||||
verticalCreate: Float
|
||||
): MutableMap<String, String> {
|
||||
var variableThemes = 5297.0
|
||||
println(variableThemes)
|
||||
var gradleVisible: Double = 2733.0
|
||||
var headerStarted = 9466
|
||||
var impPinnerPrio: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
variableThemes = 6988.0
|
||||
impPinnerPrio.put("rehashMakecygwinpkgTimeutils", "${variableThemes}")
|
||||
gradleVisible *= 9328.0
|
||||
impPinnerPrio.put("closeStacksPrimality", "${gradleVisible}")
|
||||
headerStarted = 1768
|
||||
impPinnerPrio.put("multiplexDecref", "${headerStarted}")
|
||||
|
||||
return impPinnerPrio
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onTabReselected(tab: TabLayout.Tab) {
|
||||
var district_x = "remixing"
|
||||
|
||||
var gigagroupQsvvpp: MutableMap<String, String> =
|
||||
this.previewScriptCivilTag(district_x, 1844.0f)
|
||||
|
||||
for (object_5 in gigagroupQsvvpp) {
|
||||
println(object_5.key)
|
||||
println(object_5.value)
|
||||
}
|
||||
var gigagroupQsvvpp_len = gigagroupQsvvpp.size
|
||||
|
||||
println(gigagroupQsvvpp)
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,157 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.adminSourceid.coordinate
|
||||
|
||||
import androidx.lifecycle.LiveData
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
import com.veloria.now.shortapp.texturedAsink.TMainExtractionBean
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.NMQRepositoryFfmpeg
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class NNAndroid : SStringsHelp() {
|
||||
@Volatile
|
||||
private var canAttrsCell: Boolean = true
|
||||
@Volatile
|
||||
private var indexBuilderIdx: Long = 4302L
|
||||
@Volatile
|
||||
private var startedLastArray: MutableList<Long> = mutableListOf<Long>()
|
||||
@Volatile
|
||||
var paddingChooseMin: Double = 1434.0
|
||||
|
||||
|
||||
private val repository = NMQRepositoryFfmpeg()
|
||||
|
||||
private val _myCollections = MutableLiveData<TStore<TMainExtractionBean>?>()
|
||||
val myCollections: MutableLiveData<TStore<TMainExtractionBean>?> get() = _myCollections
|
||||
|
||||
private fun translationAnnotationVerticalConverterBrowse(watchPaint: Float, clipNeed: Long, urlDisplay: String) :MutableMap<String,Int> {
|
||||
var tabFfmpeg = 7645L
|
||||
var paintProfile:Double = 5169.0
|
||||
var activeBall = 1140.0
|
||||
var framesyncFlush:MutableMap<String,Int> = mutableMapOf<String,Int>()
|
||||
framesyncFlush.put("lsbfull", 423)
|
||||
framesyncFlush.put("bps", 28)
|
||||
tabFfmpeg *= 1893L
|
||||
framesyncFlush.put("challengeBlocks", 1887)
|
||||
paintProfile = paintProfile
|
||||
framesyncFlush.put("gpostfilterExisted", 5872)
|
||||
activeBall += 5497.0
|
||||
framesyncFlush.put("csridDropperVec", 8992)
|
||||
|
||||
return framesyncFlush
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setMeToDelete(data: Int) {
|
||||
var prepare_i = "whitespace"
|
||||
|
||||
var ctrxArt:MutableMap<String,Int> = this.translationAnnotationVerticalConverterBrowse(7633.0f,9922L,prepare_i)
|
||||
|
||||
var ctrxArt_len:Int = ctrxArt.size
|
||||
val _ctrxArttemp = ctrxArt.keys.toList()
|
||||
for(index_q in 0 .. _ctrxArttemp.size - 1) {
|
||||
val key_index_q = _ctrxArttemp.get(index_q)
|
||||
val value_index_q = ctrxArt.get(key_index_q)
|
||||
if (index_q < 80) {
|
||||
println(key_index_q)
|
||||
println(value_index_q)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
println(ctrxArt)
|
||||
|
||||
|
||||
var detailsq:Float = 3588.0f
|
||||
while (detailsq <= 198.0f) { break }
|
||||
|
||||
|
||||
_meToDelete.value = data
|
||||
}
|
||||
|
||||
private val _myHistory = MutableLiveData<TStore<TMainExtractionBean>?>()
|
||||
val myHistory: MutableLiveData<TStore<TMainExtractionBean>?> get() = _myHistory
|
||||
|
||||
private fun gridActionMinute() :Int {
|
||||
var while_5vBack = 6568
|
||||
var numNeed = 149.0f
|
||||
var contentCategoies:MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
var socantsendmoreColocatedSquared:Int = 892
|
||||
while_5vBack -= 96
|
||||
socantsendmoreColocatedSquared *= while_5vBack
|
||||
numNeed -= numNeed
|
||||
|
||||
return socantsendmoreColocatedSquared
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setMeToAllSelectCheckAction(data: Int) {
|
||||
|
||||
var alternativesAsyncdisplaykit:Int = this.gridActionMinute()
|
||||
|
||||
if (alternativesAsyncdisplaykit > 1) {
|
||||
for (t_p in 0 .. alternativesAsyncdisplaykit) {
|
||||
if (t_p == 0) {
|
||||
println(t_p)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
println(alternativesAsyncdisplaykit)
|
||||
|
||||
|
||||
var expanded7:MutableList<Double> = mutableListOf<Double>()
|
||||
expanded7.add(108.0)
|
||||
expanded7.add(37.0)
|
||||
expanded7.add(281.0)
|
||||
println(expanded7)
|
||||
|
||||
|
||||
this.canAttrsCell = false
|
||||
|
||||
this.indexBuilderIdx = 6198L
|
||||
|
||||
this.startedLastArray = mutableListOf<Long>()
|
||||
|
||||
this.paddingChooseMin = 8028.0
|
||||
|
||||
|
||||
_meToAllSelectCheckAction.value = data
|
||||
}
|
||||
|
||||
private val _cancelCollect = MutableLiveData<TStore<Any>?>()
|
||||
val cancelCollect: MutableLiveData<TStore<Any>?> get() = _cancelCollect
|
||||
fun getCollect(short_play_id: Int, video_id: Int) =
|
||||
repository.getCollect(short_play_id, video_id).observeForever { result ->
|
||||
_collect.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _collect = MutableLiveData<TStore<Any>?>()
|
||||
val collect: MutableLiveData<TStore<Any>?> get() = _collect
|
||||
fun getCancelCollect(short_play_id: Int, video_id: Int) =
|
||||
repository.getCancelCollect(short_play_id, video_id).observeForever { result ->
|
||||
_cancelCollect.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _meToAllSelectCheckAction = MutableLiveData<Int>()
|
||||
val meToAllSelectCheckAction: LiveData<Int> get() = _meToAllSelectCheckAction
|
||||
|
||||
fun getMyCollections(current_page: Int) =
|
||||
repository.getMyCollections(current_page).observeForever { result ->
|
||||
_myCollections.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _meToDelete = MutableLiveData<Int>()
|
||||
val meToDelete: LiveData<Int> get() = _meToDelete
|
||||
|
||||
fun getMyHistory(current_page: Int) =
|
||||
repository.getMyHistory(current_page).observeForever { result ->
|
||||
_myHistory.value = result.getOrNull()
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.adminSourceid.coordinate
|
||||
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.ANotifications
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.texturedAsink.DoLoginBean
|
||||
import com.veloria.now.shortapp.texturedAsink.KFAFavoritesInterceptorBean
|
||||
|
||||
|
||||
class OMNormalInstrumented : SStringsHelp() {
|
||||
@Volatile
|
||||
private var arrangementBackgroundItemSpace: Double = 4011.0
|
||||
|
||||
@Volatile
|
||||
private var immersiveModuleFontSum: Int = 2175
|
||||
|
||||
@Volatile
|
||||
var authorizationInterpolatorSplas_dictionary: MutableMap<String, Long> =
|
||||
mutableMapOf<String, Long>()
|
||||
|
||||
|
||||
private val repository = ANotifications()
|
||||
|
||||
private val _userInfo = MutableLiveData<TStore<KFAFavoritesInterceptorBean>?>()
|
||||
val userInfo: MutableLiveData<TStore<KFAFavoritesInterceptorBean>?> get() = _userInfo
|
||||
fun getUserInfo() =
|
||||
repository.getUserInfo().observeForever { result ->
|
||||
_userInfo.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _logoutLiveData = MutableLiveData<TStore<DoLoginBean>?>()
|
||||
val logoutLiveData: MutableLiveData<TStore<DoLoginBean>?> get() = _logoutLiveData
|
||||
fun setLogout() =
|
||||
repository.setLogout().observeForever { result ->
|
||||
_logoutLiveData.value = result.getOrNull()
|
||||
}
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.adminSourceid.coordinate
|
||||
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
import com.veloria.now.shortapp.texturedAsink.PZEExploreUserBean
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.PDeteleResource
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class PWidthClient : SStringsHelp() {
|
||||
@Volatile
|
||||
var detailMoveApiPadding: Double = 5213.0
|
||||
@Volatile
|
||||
private var agentActive_min: Float = 1770.0f
|
||||
@Volatile
|
||||
private var is_PlayingCollections: Boolean = true
|
||||
|
||||
|
||||
|
||||
private val repository = PDeteleResource()
|
||||
|
||||
private val _exploreRecommends = MutableLiveData<TStore<PZEExploreUserBean>?>()
|
||||
val exploreRecommends: MutableLiveData<TStore<PZEExploreUserBean>?> get() = _exploreRecommends
|
||||
fun getCancelCollect(short_play_id: Int, video_id: Int) =
|
||||
repository.getCancelCollect(short_play_id, video_id).observeForever { result ->
|
||||
_cancelCollect.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _collect = MutableLiveData<TStore<Any>?>()
|
||||
val collect: MutableLiveData<TStore<Any>?> get() = _collect
|
||||
fun getCollect(short_play_id: Int, video_id: Int) =
|
||||
repository.getCollect(short_play_id, video_id).observeForever { result ->
|
||||
_collect.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _cancelCollect = MutableLiveData<TStore<Any>?>()
|
||||
val cancelCollect: MutableLiveData<TStore<Any>?> get() = _cancelCollect
|
||||
fun getExploreRecommends(current_page: Int, revolution: String) =
|
||||
repository.getExploreRecommends(current_page, revolution).observeForever { result ->
|
||||
_exploreRecommends.value = result.getOrNull()
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.adminSourceid.coordinate
|
||||
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
import com.veloria.now.shortapp.texturedAsink.SManifestBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VModuleManifestBean
|
||||
import com.veloria.now.shortapp.texturedAsink.ESTimeBean
|
||||
import com.veloria.now.shortapp.texturedAsink.QVNetworkDashboardBean
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.NMQRepositoryFfmpeg
|
||||
import com.veloria.now.shortapp.texturedAsink.KFAFavoritesInterceptorBean
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class VDLRenderers : SStringsHelp() {
|
||||
@Volatile
|
||||
private var has_PagerRefresh: Boolean = true
|
||||
@Volatile
|
||||
private var numberFormatMore_count: Int = 5164
|
||||
@Volatile
|
||||
var spacingImmersiveTestFlag: Int = 5249
|
||||
@Volatile
|
||||
private var circleEventColorIdx: Long = 8133L
|
||||
|
||||
|
||||
private val repository = NMQRepositoryFfmpeg()
|
||||
|
||||
private val _data = MutableLiveData<TStore<SManifestBean>?>()
|
||||
val data: MutableLiveData<TStore<SManifestBean>?> get() = _data
|
||||
|
||||
fun getHomeModuleData() =
|
||||
repository.getHomeModuleData().observeForever { result ->
|
||||
_homeModule.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _homeModule = MutableLiveData<TStore<QVNetworkDashboardBean>?>()
|
||||
val homeModule: MutableLiveData<TStore<QVNetworkDashboardBean>?> get() = _homeModule
|
||||
|
||||
fun loadData() =
|
||||
repository.getData().observeForever { result ->
|
||||
_data.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _homeCategoriesTab = MutableLiveData<TStore<ESTimeBean>?>()
|
||||
val homeCategoriesTab: MutableLiveData<TStore<ESTimeBean>?> get() = _homeCategoriesTab
|
||||
|
||||
fun getHomeCategories(current_page: Int, category_id: Int) =
|
||||
repository.getHomeCategories(current_page,category_id).observeForever { result ->
|
||||
_homeCategories.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _homeCategories = MutableLiveData<TStore<VModuleManifestBean>?>()
|
||||
val homeCategories: MutableLiveData<TStore<VModuleManifestBean>?> get() = _homeCategories
|
||||
fun getHomeCategoriesTab() =
|
||||
repository.getHomeCategoriesTab().observeForever { result ->
|
||||
_homeCategoriesTab.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _userInfo = MutableLiveData<TStore<KFAFavoritesInterceptorBean>?>()
|
||||
val userInfo: MutableLiveData<TStore<KFAFavoritesInterceptorBean>?> get() = _userInfo
|
||||
fun getUserInfo() =
|
||||
repository.getUserInfo().observeForever { result ->
|
||||
_userInfo.value = result.getOrNull()
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.adminSourceid.coordinate
|
||||
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.ANotifications
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCustomerBuyRecordsBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCustomerOrderBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeRewardCoinsBean
|
||||
|
||||
class VeMyWalletRecordViewModel : SStringsHelp() {
|
||||
|
||||
private val repository = ANotifications()
|
||||
|
||||
private val _customerBuyRecords = MutableLiveData<TStore<VeCustomerBuyRecordsBean>?>()
|
||||
val customerBuyRecords: MutableLiveData<TStore<VeCustomerBuyRecordsBean>?> get() = _customerBuyRecords
|
||||
fun getCustomerBuyRecords(current_page: Int) =
|
||||
repository.getCustomerBuyRecords(current_page).observeForever { result ->
|
||||
_customerBuyRecords.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _sendCoinList = MutableLiveData<TStore<VeRewardCoinsBean>?>()
|
||||
val sendCoinList: MutableLiveData<TStore<VeRewardCoinsBean>?> get() = _sendCoinList
|
||||
fun getSendCoinList(current_page: Int) =
|
||||
repository.getSendCoinList(current_page).observeForever { result ->
|
||||
_sendCoinList.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _customerOrder = MutableLiveData<TStore<VeCustomerOrderBean>?>()
|
||||
val customerOrder: MutableLiveData<TStore<VeCustomerOrderBean>?> get() = _customerOrder
|
||||
fun getCustomerOrder(buy_type: String,
|
||||
current_page: Int) =
|
||||
repository.getCustomerOrder(buy_type,current_page).observeForever { result ->
|
||||
_customerOrder.value = result.getOrNull()
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,77 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.avcintraRelock
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.app.Dialog
|
||||
import android.content.Context
|
||||
import android.graphics.Color
|
||||
import android.graphics.drawable.ColorDrawable
|
||||
import android.view.Gravity
|
||||
import android.view.Window
|
||||
import android.view.WindowManager
|
||||
import androidx.appcompat.widget.AppCompatImageView
|
||||
import androidx.appcompat.widget.AppCompatTextView
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
|
||||
@SuppressLint("MissingInflatedId")
|
||||
class AccountDeletionDialog(context: Context) : Dialog(context) {
|
||||
var accountDeletionOnClick: AccountDeletionOnClick? = null
|
||||
|
||||
interface AccountDeletionOnClick {
|
||||
fun onAccountDeletionAction()
|
||||
}
|
||||
|
||||
init {
|
||||
requestWindowFeature(Window.FEATURE_NO_TITLE)
|
||||
setContentView(R.layout.dialog_logout)
|
||||
|
||||
window?.apply {
|
||||
setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))
|
||||
setLayout(
|
||||
(context.resources.displayMetrics.widthPixels * 0.9).toInt(),
|
||||
WindowManager.LayoutParams.WRAP_CONTENT
|
||||
)
|
||||
setGravity(Gravity.CENTER)
|
||||
}
|
||||
setCancelable(true)
|
||||
|
||||
val ivImage = findViewById<AppCompatImageView>(R.id.iv_image)
|
||||
val ivClose = findViewById<AppCompatImageView>(R.id.iv_close)
|
||||
val tvCancel = findViewById<AppCompatTextView>(R.id.tv_cancel)
|
||||
val tvLogout = findViewById<AppCompatTextView>(R.id.tv_logout)
|
||||
val tvContent = findViewById<AppCompatTextView>(R.id.tv_content)
|
||||
val tvTitle = findViewById<AppCompatTextView>(R.id.tv_title)
|
||||
|
||||
ivImage.setBackgroundResource(R.mipmap.iv_dialog_account_deletion)
|
||||
|
||||
if (TranslationHelper.getTranslation()!=null){
|
||||
tvTitle.text = TranslationHelper.getTranslation()?.veloria_confirm_deletion
|
||||
tvContent.text = TranslationHelper.getTranslation()?.veloria_action_cannot_undone
|
||||
tvLogout.text = TranslationHelper.getTranslation()?.veloria_delete_forever
|
||||
tvCancel.text = TranslationHelper.getTranslation()?.veloria_cancel
|
||||
|
||||
}else{
|
||||
tvTitle.text = "Confirm Account Deletion"
|
||||
tvContent.text = "This action cannot be undone."
|
||||
tvLogout.text = "Delete Forever"
|
||||
tvCancel.text = "Cancel"
|
||||
}
|
||||
|
||||
ivClose.setOnClickListener {
|
||||
dismiss()
|
||||
}
|
||||
tvCancel.setOnClickListener {
|
||||
dismiss()
|
||||
}
|
||||
|
||||
tvLogout.setOnClickListener {
|
||||
accountDeletionOnClick?.onAccountDeletionAction()
|
||||
dismiss()
|
||||
}
|
||||
}
|
||||
|
||||
fun setOnAccountDeletionClickListener(listener: AccountDeletionOnClick) {
|
||||
this.accountDeletionOnClick = listener
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,574 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.avcintraRelock
|
||||
|
||||
import android.app.AlertDialog
|
||||
import android.app.Dialog
|
||||
import android.os.Bundle
|
||||
import android.view.Gravity
|
||||
import android.view.View
|
||||
import android.view.WindowManager
|
||||
import androidx.fragment.app.DialogFragment
|
||||
import androidx.recyclerview.widget.GridLayoutManager
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import com.bumptech.glide.Glide
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.toast
|
||||
import com.veloria.now.shortapp.databinding.EeShapeStyleBinding
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.DPArrowsDefault
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.LConstantsRight
|
||||
import com.veloria.now.shortapp.texturedAsink.XAboutBean
|
||||
|
||||
|
||||
class DSPUnitVideoFragment : DialogFragment() {
|
||||
@Volatile
|
||||
private var traceFfmpegPadding: Float = 1557.0f
|
||||
|
||||
@Volatile
|
||||
private var hasLauncherAttrs: Boolean = true
|
||||
|
||||
|
||||
var seriesCallBack: SeriesCallBackClick? = null
|
||||
|
||||
interface SeriesCallBackClick {
|
||||
fun chooseSeriesClick(episode: XAboutBean.Episode)
|
||||
}
|
||||
|
||||
|
||||
private fun restoreJobConstraint(): MutableMap<String, Float> {
|
||||
var playDashboard = true
|
||||
var languageContext: Long = 5240L
|
||||
println(languageContext)
|
||||
var transparentManifest = mutableMapOf<String, String>()
|
||||
println(transparentManifest)
|
||||
var participantBethsoftvid: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
playDashboard = false
|
||||
participantBethsoftvid.put("updatesAppleCursorstreamwrapper", 0.0f)
|
||||
|
||||
return participantBethsoftvid
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
||||
|
||||
var sorecvmsgClassifs: MutableMap<String, Float> = this.restoreJobConstraint()
|
||||
|
||||
var sorecvmsgClassifs_len: Int = sorecvmsgClassifs.size
|
||||
val _sorecvmsgClassifstemp = sorecvmsgClassifs.keys.toList()
|
||||
for (index_d in 0.._sorecvmsgClassifstemp.size - 1) {
|
||||
val key_index_d = _sorecvmsgClassifstemp.get(index_d)
|
||||
val value_index_d = sorecvmsgClassifs.get(key_index_d)
|
||||
if (index_d < 75) {
|
||||
println(key_index_d)
|
||||
println(value_index_d)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
println(sorecvmsgClassifs)
|
||||
|
||||
|
||||
var gradleE: Long = 2595L
|
||||
if (gradleE >= 178L) {
|
||||
}
|
||||
|
||||
|
||||
this.traceFfmpegPadding = 4899.0f
|
||||
|
||||
this.hasLauncherAttrs = true
|
||||
|
||||
|
||||
val coverOffset = AlertDialog.Builder(requireActivity())
|
||||
// var cellQ: MutableList<Float> = mutableListOf<Float>()
|
||||
// cellQ.add(180.0f)
|
||||
// cellQ.add(862.0f)
|
||||
// if (cellQ.size > 185) {
|
||||
// }
|
||||
// println(cellQ)
|
||||
|
||||
|
||||
val k_tago = requireActivity().layoutInflater
|
||||
var categoriesg: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
categoriesg.put("prefetching", 887.0f)
|
||||
categoriesg.put("cmac", 381.0f)
|
||||
categoriesg.put("saiz", 321.0f)
|
||||
categoriesg.put("conv", 378.0f)
|
||||
categoriesg.put("dbpage", 956.0f)
|
||||
categoriesg.put("ouble", 10.0f)
|
||||
println(categoriesg)
|
||||
|
||||
|
||||
val giftClientBannerView = k_tago.inflate(R.layout.ee_shape_style, null)
|
||||
var stateR: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
stateR.put("requirement", 117.0f)
|
||||
stateR.put("box", 438.0f)
|
||||
stateR.put("base", 685.0f)
|
||||
stateR.put("icwrsi", 851.0f)
|
||||
stateR.put("modulemap", 234.0f)
|
||||
while (stateR.size > 104) {
|
||||
break
|
||||
}
|
||||
println(stateR)
|
||||
|
||||
|
||||
val allExtractionCagetory = EeShapeStyleBinding.bind(giftClientBannerView)
|
||||
var morej: Float = 9409.0f
|
||||
|
||||
|
||||
val versionPlayfairLatest: List<XAboutBean.Episode>? =
|
||||
arguments?.getParcelableArrayList(JActivityAdapter.VIDEO_EPISODES_SERIES_DATA_LIST)
|
||||
var suspenda: MutableMap<String, Boolean> = mutableMapOf<String, Boolean>()
|
||||
suspenda.put("firewall", true)
|
||||
suspenda.put("cderror", true)
|
||||
suspenda.put("monotony", true)
|
||||
suspenda.put("register", true)
|
||||
while (suspenda.size > 30) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
val data: XAboutBean.ShortPlayInfo? =
|
||||
arguments?.getParcelable(JActivityAdapter.VIDEO_EPISODES_SERIES_DATA)
|
||||
var pager5: Long = 6415L
|
||||
while (pager5 > 180L) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
val startBind =
|
||||
arguments?.getInt(JActivityAdapter.VIDEO_EPISODES_SERIES_DATA_CURRENT_POSITION, 0)
|
||||
var favoritesU: String = "emscripten"
|
||||
while (favoritesU.length > 199) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
val qualityShare: MutableList<List<XAboutBean.Episode>> = mutableListOf()
|
||||
var wight_: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
wight_.put("timestamp", "i_73")
|
||||
wight_.put("marker", "machine")
|
||||
wight_.put("digraph", "growth")
|
||||
wight_.put("vfilter", "defaul")
|
||||
|
||||
|
||||
val type_vToastWindow_t: MutableList<String> = mutableListOf()
|
||||
var dashboard3: String = "remap"
|
||||
|
||||
|
||||
var deteleDeletes = 0
|
||||
var short_cc: String = "diffx"
|
||||
if (short_cc == "f") {
|
||||
}
|
||||
|
||||
|
||||
var createScheme: Int
|
||||
var secondX: String = "unmuted"
|
||||
println(secondX)
|
||||
|
||||
|
||||
val chooseClient = 30
|
||||
var loginE: Float = 5530.0f
|
||||
if (loginE > 15.0f) {
|
||||
}
|
||||
|
||||
|
||||
var playLock = 1
|
||||
var layoutu: Float = 6838.0f
|
||||
while (layoutu >= 64.0f) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
|
||||
while (deteleDeletes < versionPlayfairLatest?.size!!) {
|
||||
var seriesV: Boolean = false
|
||||
if (seriesV) {
|
||||
}
|
||||
|
||||
|
||||
createScheme = deteleDeletes + chooseClient
|
||||
var release_wj: Boolean = false
|
||||
if (!release_wj) {
|
||||
}
|
||||
|
||||
|
||||
if (createScheme > versionPlayfairLatest.size) {
|
||||
var listenerf: Float = 6564.0f
|
||||
while (listenerf <= 112.0f) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
createScheme = versionPlayfairLatest.size
|
||||
}
|
||||
|
||||
val allg = versionPlayfairLatest.subList(deteleDeletes, createScheme)
|
||||
var smartB: Boolean = false
|
||||
println(smartB)
|
||||
|
||||
|
||||
qualityShare.add(allg)
|
||||
var topw: Int = 9171
|
||||
while (topw > 53) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
val system3 = "${playLock}-${playLock + allg.size - 1}"
|
||||
var bindingS: Double = 2601.0
|
||||
|
||||
|
||||
type_vToastWindow_t.add(system3)
|
||||
var attrsA: String = "ttadsp"
|
||||
if (attrsA == "I") {
|
||||
}
|
||||
|
||||
|
||||
|
||||
deteleDeletes = createScheme
|
||||
var sharee: Boolean = true
|
||||
if (!sharee) {
|
||||
}
|
||||
|
||||
|
||||
playLock += allg.size
|
||||
}
|
||||
val lastS = LConstantsRight()
|
||||
var downa: Float = 9750.0f
|
||||
if (downa <= 139.0f) {
|
||||
}
|
||||
|
||||
|
||||
val manager =
|
||||
LinearLayoutManager(requireContext(), LinearLayoutManager.HORIZONTAL, false)
|
||||
var priceW: Float = 2756.0f
|
||||
while (priceW < 58.0f) {
|
||||
break
|
||||
}
|
||||
println(priceW)
|
||||
|
||||
|
||||
allExtractionCagetory.recyclerNum.layoutManager = manager
|
||||
var responsed: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
responsed.put("morphed", 74.0f)
|
||||
responsed.put("tester", 716.0f)
|
||||
responsed.put("subviewer", 749.0f)
|
||||
responsed.put("decelerated", 844.0f)
|
||||
while (responsed.size > 54) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
allExtractionCagetory.recyclerNum.adapter = lastS
|
||||
var attrsV: Float = 1971.0f
|
||||
while (attrsV > 27.0f) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
lastS.submitList(type_vToastWindow_t)
|
||||
var device1: Long = 2585L
|
||||
if (device1 > 9L) {
|
||||
}
|
||||
|
||||
|
||||
val coinsSearchStyles = DPArrowsDefault()
|
||||
var iconP: Long = 3497L
|
||||
while (iconP <= 178L) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
val fragmentsBanner = 5
|
||||
var restartE: Double = 530.0
|
||||
while (restartE == 166.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
val editEmpty = GridLayoutManager(context, fragmentsBanner)
|
||||
var colorsW: MutableList<Int> = mutableListOf<Int>()
|
||||
colorsW.add(365)
|
||||
colorsW.add(267)
|
||||
colorsW.add(695)
|
||||
colorsW.add(367)
|
||||
colorsW.add(889)
|
||||
|
||||
|
||||
allExtractionCagetory.recyclerSeries.layoutManager = editEmpty
|
||||
var pageM: Double = 2790.0
|
||||
while (pageM <= 65.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
allExtractionCagetory.recyclerSeries.adapter = coinsSearchStyles
|
||||
var contentV: Boolean = true
|
||||
while (contentV) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
coinsSearchStyles.submitList(qualityShare[0])
|
||||
var beanG: Double = 8407.0
|
||||
while (beanG == 51.0) {
|
||||
break
|
||||
}
|
||||
println(beanG)
|
||||
|
||||
|
||||
if (startBind != null) {
|
||||
var failurey: Long = 4959L
|
||||
if (failurey == 171L) {
|
||||
}
|
||||
|
||||
|
||||
coinsSearchStyles.currentPosition = startBind.plus(1)
|
||||
}
|
||||
lastS.currentPosition = 0
|
||||
var l_managerB: Float = 9195.0f
|
||||
if (l_managerB <= 197.0f) {
|
||||
}
|
||||
|
||||
|
||||
lastS.setOnItemClickListener { adapter, giftClientBannerView, position ->
|
||||
coinsSearchStyles.submitList(qualityShare[position])
|
||||
lastS.currentPosition = position
|
||||
var service2: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
service2.put("lon", 341.0)
|
||||
service2.put("coders", 588.0)
|
||||
service2.put("datacenters", 476.0)
|
||||
service2.put("counter", 126.0)
|
||||
if (service2.size > 103) {
|
||||
}
|
||||
|
||||
|
||||
lastS.notifyDataSetChanged()
|
||||
var f_position7: Float = 7919.0f
|
||||
if (f_position7 >= 5.0f) {
|
||||
}
|
||||
|
||||
|
||||
coinsSearchStyles.notifyDataSetChanged()
|
||||
}
|
||||
coinsSearchStyles.setOnItemClickListener { adapter, giftClientBannerView, position ->
|
||||
val watchingCoverItem = adapter.getItem(position) as XAboutBean.Episode
|
||||
if (lastS.currentPosition == 0) {
|
||||
if (position > 0) {
|
||||
val beforeItem = adapter.getItem(position - 1) as XAboutBean.Episode
|
||||
if (beforeItem.is_lock && !RYAction.isVipTo()) {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
toast(TranslationHelper.getTranslation()?.veloria_jump_unlock_error.toString())
|
||||
} else {
|
||||
toast("The prequel to this series is not unlocked. Please unlock the prequel before unlocking this series")
|
||||
}
|
||||
dismiss()
|
||||
return@setOnItemClickListener
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (position > 0) {
|
||||
val beforeItem = adapter.getItem(position - 1) as XAboutBean.Episode
|
||||
if (beforeItem.is_lock && !RYAction.isVipTo()) {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
toast(TranslationHelper.getTranslation()?.veloria_jump_unlock_error.toString())
|
||||
} else {
|
||||
toast("The prequel to this series is not unlocked. Please unlock the prequel before unlocking this series")
|
||||
}
|
||||
dismiss()
|
||||
return@setOnItemClickListener
|
||||
}
|
||||
} else if (position == 0) {
|
||||
val i = qualityShare[lastS.currentPosition - 1].size
|
||||
val beforeItem =
|
||||
qualityShare[lastS.currentPosition - 1].get(i - 1)
|
||||
if (beforeItem.is_lock && !RYAction.isVipTo()) {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
toast(TranslationHelper.getTranslation()?.veloria_jump_unlock_error.toString())
|
||||
} else {
|
||||
toast("The prequel to this series is not unlocked. Please unlock the prequel before unlocking this series")
|
||||
}
|
||||
dismiss()
|
||||
return@setOnItemClickListener
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
seriesCallBack?.chooseSeriesClick(watchingCoverItem)
|
||||
dismiss()
|
||||
}
|
||||
isCancelable = true
|
||||
var footert: Double = 889.0
|
||||
|
||||
|
||||
allExtractionCagetory.tvContentDialogSeries.text = data?.description
|
||||
var networkI: Double = 9563.0
|
||||
if (networkI < 142.0) {
|
||||
}
|
||||
|
||||
|
||||
allExtractionCagetory.tvName.text = data?.name
|
||||
var nightj: Double = 7989.0
|
||||
|
||||
|
||||
|
||||
if (data?.category != null && data.category.isNotEmpty()) {
|
||||
var renderersE: MutableList<Int> = mutableListOf<Int>()
|
||||
renderersE.add(835)
|
||||
renderersE.add(831)
|
||||
renderersE.add(240)
|
||||
renderersE.add(121)
|
||||
renderersE.add(580)
|
||||
renderersE.add(745)
|
||||
|
||||
|
||||
allExtractionCagetory.tvFavor.text = data.category[0]
|
||||
var itemsL: MutableList<Float> = mutableListOf<Float>()
|
||||
itemsL.add(968.0f)
|
||||
itemsL.add(478.0f)
|
||||
itemsL.add(656.0f)
|
||||
if (itemsL.size > 2) {
|
||||
}
|
||||
|
||||
|
||||
allExtractionCagetory.tvFavor.visibility = View.VISIBLE
|
||||
var needo: Double = 5228.0
|
||||
while (needo >= 67.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
if (data.category.size > 1) {
|
||||
var advertI: MutableList<Int> = mutableListOf<Int>()
|
||||
advertI.add(90)
|
||||
advertI.add(308)
|
||||
advertI.add(72)
|
||||
advertI.add(318)
|
||||
if (advertI.size > 91) {
|
||||
}
|
||||
|
||||
|
||||
allExtractionCagetory.tvLove.text = data.category[1]
|
||||
var tnews4: MutableList<Int> = mutableListOf<Int>()
|
||||
tnews4.add(804)
|
||||
tnews4.add(850)
|
||||
tnews4.add(474)
|
||||
tnews4.add(631)
|
||||
tnews4.add(235)
|
||||
tnews4.add(47)
|
||||
|
||||
|
||||
allExtractionCagetory.tvLove.visibility = View.VISIBLE
|
||||
} else {
|
||||
var responsey: Long = 3227L
|
||||
while (responsey >= 157L) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
allExtractionCagetory.tvLove.visibility = View.GONE
|
||||
}
|
||||
} else {
|
||||
var launchN: Long = 7786L
|
||||
println(launchN)
|
||||
|
||||
|
||||
allExtractionCagetory.tvFavor.visibility = View.GONE
|
||||
}
|
||||
|
||||
Glide.with(this)
|
||||
.load(data?.image_url)
|
||||
.placeholder(R.mipmap.collection_trending_recommend)
|
||||
.error(R.mipmap.collection_trending_recommend)
|
||||
.into(allExtractionCagetory.ivImg)
|
||||
var pathn: Boolean = false
|
||||
|
||||
|
||||
allExtractionCagetory.ivCloseDialogSeries.setOnClickListener {
|
||||
var menuA: Boolean = true
|
||||
|
||||
|
||||
var black2: Int = 2356
|
||||
while (black2 >= 186) {
|
||||
break
|
||||
}
|
||||
println(black2)
|
||||
|
||||
dismiss()
|
||||
}
|
||||
coverOffset.setView(allExtractionCagetory.root)
|
||||
var seekbarY: Int = 6286
|
||||
while (seekbarY > 40) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
val radiusRequest = coverOffset.create()
|
||||
var createh: Float = 4697.0f
|
||||
if (createh > 88.0f) {
|
||||
}
|
||||
println(createh)
|
||||
|
||||
|
||||
radiusRequest.window?.setBackgroundDrawableResource(android.R.color.transparent)
|
||||
var retryS: MutableMap<String, Boolean> = mutableMapOf<String, Boolean>()
|
||||
retryS.put("article", true)
|
||||
retryS.put("unidentified", true)
|
||||
retryS.put("alabaster", false)
|
||||
retryS.put("gptopts", false)
|
||||
retryS.put("compitable", true)
|
||||
if (retryS.get("Q") != null) {
|
||||
}
|
||||
|
||||
|
||||
val cellQ = radiusRequest.window
|
||||
var userQ: Long = 6439L
|
||||
while (userQ == 199L) {
|
||||
break
|
||||
}
|
||||
println(userQ)
|
||||
|
||||
|
||||
cellQ?.decorView?.setPadding(0, 0, 0, 0)
|
||||
var dashboardb: String = "matrix"
|
||||
if (dashboardb.length > 15) {
|
||||
}
|
||||
|
||||
|
||||
cellQ?.setGravity(Gravity.BOTTOM)
|
||||
var free4: Int = 3383
|
||||
if (free4 >= 165) {
|
||||
}
|
||||
|
||||
|
||||
val iconWindow_nf = cellQ?.attributes
|
||||
var suspend7: Int = 5425
|
||||
if (suspend7 < 170) {
|
||||
}
|
||||
println(suspend7)
|
||||
|
||||
|
||||
iconWindow_nf?.width = WindowManager.LayoutParams.MATCH_PARENT
|
||||
var a_centerl: Boolean = false
|
||||
if (!a_centerl) {
|
||||
}
|
||||
|
||||
|
||||
iconWindow_nf?.height = WindowManager.LayoutParams.WRAP_CONTENT
|
||||
var color5: String = "addition"
|
||||
if (color5 == "Q") {
|
||||
}
|
||||
println(color5)
|
||||
|
||||
|
||||
cellQ?.attributes = iconWindow_nf
|
||||
var durationZ: Int = 883
|
||||
if (durationZ > 154) {
|
||||
}
|
||||
|
||||
|
||||
return radiusRequest
|
||||
}
|
||||
}
|
@ -0,0 +1,223 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.avcintraRelock
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.app.Dialog
|
||||
import android.content.Context
|
||||
import android.graphics.Color
|
||||
import android.graphics.drawable.ColorDrawable
|
||||
import android.view.Gravity
|
||||
import android.view.Window
|
||||
import android.view.WindowManager
|
||||
import androidx.appcompat.widget.AppCompatImageView
|
||||
import androidx.appcompat.widget.AppCompatTextView
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
|
||||
|
||||
@SuppressLint("MissingInflatedId")
|
||||
class FYStatusAppveloria(context: Context) : Dialog(context) {
|
||||
@Volatile
|
||||
var shapeAdapterFree_max: Float = 5018.0f
|
||||
|
||||
@Volatile
|
||||
var has_DetailBuilder: Boolean = true
|
||||
|
||||
@Volatile
|
||||
var enbaleAgreementPointPosition: Boolean = false
|
||||
|
||||
|
||||
var collectionOnclick: CollectionOnClick? = null
|
||||
|
||||
interface CollectionOnClick {
|
||||
fun onCollectionAction()
|
||||
}
|
||||
|
||||
init {
|
||||
var viewwV: Boolean = true
|
||||
if (!viewwV) {
|
||||
}
|
||||
println(viewwV)
|
||||
|
||||
|
||||
requestWindowFeature(Window.FEATURE_NO_TITLE)
|
||||
var coinsY: Double = 6467.0
|
||||
println(coinsY)
|
||||
|
||||
|
||||
setContentView(R.layout.co_android)
|
||||
var trendsE: String = "wmavoice"
|
||||
if (trendsE.length > 78) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
window?.apply {
|
||||
var boldP: String = "imprint"
|
||||
if (boldP == "5") {
|
||||
}
|
||||
|
||||
|
||||
var recommendD: Double = 9025.0
|
||||
if (recommendD >= 54.0) {
|
||||
}
|
||||
println(recommendD)
|
||||
|
||||
|
||||
setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))
|
||||
var httpD: Double = 6413.0
|
||||
if (httpD <= 50.0) {
|
||||
}
|
||||
|
||||
|
||||
setLayout(
|
||||
(context.resources.displayMetrics.widthPixels * 0.9).toInt(),
|
||||
WindowManager.LayoutParams.WRAP_CONTENT
|
||||
)
|
||||
var bbfdebaffdg: Float = 8857.0f
|
||||
if (bbfdebaffdg > 157.0f) {
|
||||
}
|
||||
println(bbfdebaffdg)
|
||||
|
||||
|
||||
setGravity(Gravity.CENTER)
|
||||
}
|
||||
setCancelable(true)
|
||||
var watchn: MutableList<String> = mutableListOf<String>()
|
||||
watchn.add("polymod")
|
||||
watchn.add("snowdata")
|
||||
watchn.add("additions")
|
||||
watchn.add("rotation")
|
||||
println(watchn)
|
||||
|
||||
|
||||
val ivClose = findViewById<AppCompatImageView>(R.id.iv_close)
|
||||
var main_zV: String = "qsvvpp"
|
||||
if (main_zV.length > 169) {
|
||||
}
|
||||
|
||||
|
||||
val tvUnFavorite = findViewById<AppCompatTextView>(R.id.tv_unfavorite)
|
||||
var videoy: Int = 498
|
||||
if (videoy <= 150) {
|
||||
}
|
||||
|
||||
val tvContent = findViewById<AppCompatTextView>(R.id.tv_content)
|
||||
val tvTitle = findViewById<AppCompatTextView>(R.id.tv_title)
|
||||
|
||||
if (TranslationHelper.getTranslation()!=null){
|
||||
tvTitle.text = TranslationHelper.getTranslation()?.veloria_un_favorites
|
||||
tvContent.text = TranslationHelper.getTranslation()?.veloria_un_favorites_text
|
||||
tvUnFavorite.text = TranslationHelper.getTranslation()?.veloria_confirm
|
||||
|
||||
}else{
|
||||
tvTitle.text = "UnFavorites"
|
||||
tvContent.text = "You may not find this collection after you uncollect it"
|
||||
tvUnFavorite.text = "Confirm"
|
||||
}
|
||||
|
||||
|
||||
ivClose.setOnClickListener {
|
||||
var footer3: String = "fetches"
|
||||
while (footer3.length > 10) {
|
||||
break
|
||||
}
|
||||
println(footer3)
|
||||
|
||||
|
||||
var draggingr: MutableList<String> = mutableListOf<String>()
|
||||
draggingr.add("cancel")
|
||||
draggingr.add("pullup")
|
||||
draggingr.add("transit")
|
||||
draggingr.add("cyuv")
|
||||
draggingr.add("erode")
|
||||
draggingr.add("playable")
|
||||
if (draggingr.size > 73) {
|
||||
}
|
||||
println(draggingr)
|
||||
|
||||
|
||||
dismiss()
|
||||
}
|
||||
|
||||
tvUnFavorite.setOnClickListener {
|
||||
var hotsz: MutableMap<String, Boolean> = mutableMapOf<String, Boolean>()
|
||||
hotsz.put("leaving", true)
|
||||
hotsz.put("prompeg", true)
|
||||
hotsz.put("conditional", false)
|
||||
hotsz.put("floating", false)
|
||||
if (hotsz.size > 65) {
|
||||
}
|
||||
|
||||
|
||||
collectionOnclick?.onCollectionAction()
|
||||
var revolutionQ: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
revolutionQ.put("underscore", "brown")
|
||||
revolutionQ.put("geokey", "fully")
|
||||
revolutionQ.put("oauth", "tout")
|
||||
revolutionQ.put("drawline", "intrnl")
|
||||
if (revolutionQ.size > 25) {
|
||||
}
|
||||
|
||||
|
||||
dismiss()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun obtainSaltGlideWidth(
|
||||
delete_vData: String,
|
||||
totalShow: Long,
|
||||
pausePlayer: Long
|
||||
): MutableMap<String, Long> {
|
||||
var historyDevice = mutableListOf<Long>()
|
||||
var allowCollections: Long = 6693L
|
||||
var launcherStop = 6700.0f
|
||||
var newlineFolder: MutableMap<String, Long> = mutableMapOf<String, Long>()
|
||||
allowCollections += 7145L
|
||||
newlineFolder.put("nidobjCvtyuvtoPgmx", allowCollections)
|
||||
launcherStop -= launcherStop
|
||||
newlineFolder.put("resolutionCinvideoBitrate", 6461L)
|
||||
|
||||
return newlineFolder
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setOnCollectionClickListener(listener: CollectionOnClick) {
|
||||
var equest_n: String = "sqrt"
|
||||
|
||||
var mockCovers: MutableMap<String, Long> = this.obtainSaltGlideWidth(equest_n, 3644L, 9902L)
|
||||
|
||||
var mockCovers_len: Int = mockCovers.size
|
||||
val _mockCoverstemp = mockCovers.keys.toList()
|
||||
for (index_4 in 0.._mockCoverstemp.size - 1) {
|
||||
val key_index_4 = _mockCoverstemp.get(index_4)
|
||||
val value_index_4 = mockCovers.get(key_index_4)
|
||||
if (index_4 != 41) {
|
||||
println(key_index_4)
|
||||
println(value_index_4)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
println(mockCovers)
|
||||
|
||||
|
||||
var b_player7: Float = 1498.0f
|
||||
while (b_player7 <= 79.0f) {
|
||||
break
|
||||
}
|
||||
println(b_player7)
|
||||
|
||||
|
||||
this.shapeAdapterFree_max = 3819.0f
|
||||
|
||||
this.has_DetailBuilder = true
|
||||
|
||||
this.enbaleAgreementPointPosition = false
|
||||
|
||||
|
||||
this.collectionOnclick = listener
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,139 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.avcintraRelock
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.app.Dialog
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import android.graphics.Color
|
||||
import android.graphics.drawable.ColorDrawable
|
||||
import android.text.SpannableString
|
||||
import android.text.TextPaint
|
||||
import android.text.method.LinkMovementMethod
|
||||
import android.text.style.ClickableSpan
|
||||
import android.view.Gravity
|
||||
import android.view.View
|
||||
import android.view.Window
|
||||
import android.view.WindowManager
|
||||
import androidx.appcompat.widget.AppCompatImageView
|
||||
import androidx.appcompat.widget.AppCompatTextView
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.singleOnClick
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.RBZLatestDeteleActivity
|
||||
|
||||
@SuppressLint("MissingInflatedId")
|
||||
class LoginDialog(context: Context) : Dialog(context) {
|
||||
var loginOnclick: LoginOnClick? = null
|
||||
|
||||
interface LoginOnClick {
|
||||
fun onLoginFacebook()
|
||||
}
|
||||
|
||||
init {
|
||||
requestWindowFeature(Window.FEATURE_NO_TITLE)
|
||||
setContentView(R.layout.dialog_login)
|
||||
|
||||
window?.apply {
|
||||
setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))
|
||||
setLayout(
|
||||
WindowManager.LayoutParams.MATCH_PARENT,
|
||||
WindowManager.LayoutParams.MATCH_PARENT
|
||||
)
|
||||
setGravity(Gravity.BOTTOM)
|
||||
}
|
||||
setCancelable(true)
|
||||
|
||||
val tvTitle = findViewById<AppCompatTextView>(R.id.tv_title)
|
||||
val ivClose = findViewById<AppCompatImageView>(R.id.iv_close_dialog)
|
||||
val tvLoginFacebook = findViewById<AppCompatTextView>(R.id.tv_login_facebook)
|
||||
val tvPolicy = findViewById<AppCompatTextView>(R.id.tv_policy)
|
||||
ivClose.setOnClickListener {
|
||||
dismiss()
|
||||
}
|
||||
|
||||
tvLoginFacebook.setOnClickListener {
|
||||
loginOnclick?.onLoginFacebook()
|
||||
dismiss()
|
||||
}
|
||||
|
||||
var fullText = ""
|
||||
var fullUserText = ""
|
||||
var fullPriText = ""
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
tvTitle.text = TranslationHelper.getTranslation()?.veloria_welcome_to
|
||||
tvLoginFacebook.text = TranslationHelper.getTranslation()?.veloria_login_facebook
|
||||
fullText = TranslationHelper.getTranslation()?.veloria_login_hint.toString()
|
||||
fullUserText = TranslationHelper.getTranslation()?.veloria_my_agreement.toString()
|
||||
fullPriText = TranslationHelper.getTranslation()?.veloria_my_privacy.toString()
|
||||
} else {
|
||||
fullText = "By logging in you agree to: User Agreement & Privacy Policy"
|
||||
fullUserText = "User Agreement"
|
||||
fullPriText = "Privacy Policy"
|
||||
}
|
||||
|
||||
val spannableString = SpannableString(fullText)
|
||||
|
||||
val start1 = fullText.indexOf(fullUserText)
|
||||
val end1 = start1 + fullUserText.length
|
||||
val start2 = fullText.lastIndexOf(fullPriText)
|
||||
val end2 = start2 + fullPriText.length
|
||||
|
||||
if (start1 != -1) {
|
||||
spannableString.setSpan(
|
||||
CustomClickableSpan(Color.parseColor("#FFB5B5B5")) {
|
||||
singleOnClick {
|
||||
context.startActivity(
|
||||
Intent(
|
||||
context,
|
||||
RBZLatestDeteleActivity::class.java
|
||||
).putExtra(
|
||||
JActivityAdapter.WEB_VIEW_URL_STRING,
|
||||
JActivityAdapter.WEB_VIEW_USER_AGREEMENT
|
||||
)
|
||||
)
|
||||
}
|
||||
},
|
||||
start1, end1, SpannableString.SPAN_EXCLUSIVE_EXCLUSIVE
|
||||
)
|
||||
}
|
||||
if (start2 != -1) {
|
||||
spannableString.setSpan(
|
||||
CustomClickableSpan(Color.parseColor("#FFB5B5B5")) {
|
||||
singleOnClick {
|
||||
context.startActivity(
|
||||
Intent(
|
||||
context,
|
||||
RBZLatestDeteleActivity::class.java
|
||||
).putExtra(
|
||||
JActivityAdapter.WEB_VIEW_URL_STRING,
|
||||
JActivityAdapter.WEB_VIEW_PRIVACY_POLICY
|
||||
)
|
||||
)
|
||||
}
|
||||
},
|
||||
start2, end2, SpannableString.SPAN_EXCLUSIVE_EXCLUSIVE
|
||||
)
|
||||
}
|
||||
|
||||
tvPolicy.text = spannableString
|
||||
tvPolicy.movementMethod = LinkMovementMethod.getInstance() // 必须设置!
|
||||
|
||||
}
|
||||
|
||||
fun setOnLoginOnclickListener(listener: LoginOnClick) {
|
||||
this.loginOnclick = listener
|
||||
}
|
||||
|
||||
class CustomClickableSpan(
|
||||
private val color: Int = Color.BLUE,
|
||||
private val onClick: () -> Unit
|
||||
) : ClickableSpan() {
|
||||
override fun onClick(widget: View) = onClick()
|
||||
override fun updateDrawState(ds: TextPaint) {
|
||||
super.updateDrawState(ds)
|
||||
ds.color = color
|
||||
ds.isUnderlineText = true
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.avcintraRelock
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.app.Dialog
|
||||
import android.content.Context
|
||||
import android.graphics.Color
|
||||
import android.graphics.drawable.ColorDrawable
|
||||
import android.view.Gravity
|
||||
import android.view.Window
|
||||
import android.view.WindowManager
|
||||
import androidx.appcompat.widget.AppCompatImageView
|
||||
import androidx.appcompat.widget.AppCompatTextView
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
|
||||
@SuppressLint("MissingInflatedId")
|
||||
class LogoutDialog(context: Context) : Dialog(context) {
|
||||
var logoutOnClick: LogoutOnClick? = null
|
||||
|
||||
interface LogoutOnClick {
|
||||
fun onLogoutAction()
|
||||
}
|
||||
|
||||
init {
|
||||
requestWindowFeature(Window.FEATURE_NO_TITLE)
|
||||
setContentView(R.layout.dialog_logout)
|
||||
|
||||
window?.apply {
|
||||
setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))
|
||||
setLayout(
|
||||
(context.resources.displayMetrics.widthPixels * 0.9).toInt(),
|
||||
WindowManager.LayoutParams.WRAP_CONTENT
|
||||
)
|
||||
setGravity(Gravity.CENTER)
|
||||
}
|
||||
setCancelable(true)
|
||||
|
||||
val ivClose = findViewById<AppCompatImageView>(R.id.iv_close)
|
||||
val tvCancel = findViewById<AppCompatTextView>(R.id.tv_cancel)
|
||||
val tvLogout = findViewById<AppCompatTextView>(R.id.tv_logout)
|
||||
val tvContent = findViewById<AppCompatTextView>(R.id.tv_content)
|
||||
val tvTitle = findViewById<AppCompatTextView>(R.id.tv_title)
|
||||
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
tvTitle.text = TranslationHelper.getTranslation()?.veloria_ready_to_leave
|
||||
tvContent.text = TranslationHelper.getTranslation()?.veloria_ready_to_leave_text
|
||||
tvCancel.text = TranslationHelper.getTranslation()?.veloria_cancel
|
||||
tvLogout.text = TranslationHelper.getTranslation()?.veloria_log_out
|
||||
}
|
||||
|
||||
ivClose.setOnClickListener {
|
||||
dismiss()
|
||||
}
|
||||
tvCancel.setOnClickListener {
|
||||
dismiss()
|
||||
}
|
||||
|
||||
tvLogout.setOnClickListener {
|
||||
logoutOnClick?.onLogoutAction()
|
||||
dismiss()
|
||||
}
|
||||
}
|
||||
|
||||
fun setOnLogoutClickListener(listener: LogoutOnClick) {
|
||||
this.logoutOnClick = listener
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,615 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.avcintraRelock
|
||||
|
||||
import android.app.AlertDialog
|
||||
import android.app.Dialog
|
||||
import android.content.DialogInterface
|
||||
import android.graphics.Rect
|
||||
import android.os.Build
|
||||
import android.os.Bundle
|
||||
import android.text.Html
|
||||
import android.view.Gravity
|
||||
import android.view.View
|
||||
import android.view.WindowManager
|
||||
import androidx.lifecycle.ViewModelProvider
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import androidx.recyclerview.widget.GridLayoutManager
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.android.billingclient.api.AcknowledgePurchaseParams
|
||||
import com.android.billingclient.api.BillingClient
|
||||
import com.android.billingclient.api.BillingClientStateListener
|
||||
import com.android.billingclient.api.BillingFlowParams
|
||||
import com.android.billingclient.api.BillingResult
|
||||
import com.android.billingclient.api.ConsumeParams
|
||||
import com.android.billingclient.api.ConsumeResponseListener
|
||||
import com.android.billingclient.api.ProductDetails
|
||||
import com.android.billingclient.api.ProductDetailsResponseListener
|
||||
import com.android.billingclient.api.Purchase
|
||||
import com.android.billingclient.api.PurchasesUpdatedListener
|
||||
import com.android.billingclient.api.QueryProductDetailsParams
|
||||
import com.google.android.material.bottomsheet.BottomSheetDialogFragment
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.YFHome
|
||||
import com.veloria.now.shortapp.civil.toast
|
||||
import com.veloria.now.shortapp.databinding.LayoutVePlayerBuyDialogBinding
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.VeStoreViewModel
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.VeStoreCoinAdapter
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.VeStoreVipAdapter
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCreatePayOrderReqBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VePayBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VePaySettingsBean
|
||||
import com.veloria.now.shortapp.texturedAsink.XAboutBean
|
||||
import kotlinx.coroutines.launch
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
|
||||
class PlayerBuyDialogFragment : BottomSheetDialogFragment() {
|
||||
|
||||
private var binding: LayoutVePlayerBuyDialogBinding? = null
|
||||
|
||||
private val viewModel by lazy { ViewModelProvider(this)[VeStoreViewModel::class.java] }
|
||||
|
||||
private var coinAdapter: VeStoreCoinAdapter? = null
|
||||
private var vipAdapter: VeStoreVipAdapter? = null
|
||||
private var promise_view_ad: Int? = -1
|
||||
private var connectNum = 0
|
||||
private var short_play_id: Int? = 0
|
||||
private var isConnect = false
|
||||
|
||||
private var typeOnClick = 0
|
||||
private var payBeanReq: VePayBean? = null
|
||||
|
||||
private var billingClientData: BillingClient? = null
|
||||
private var order_code = ""
|
||||
private var vipData: VePaySettingsBean.VipBean? = null
|
||||
private var coinsData: VePaySettingsBean.CoinsBean? = null
|
||||
|
||||
private var isBuy = false
|
||||
private var purchaseData: Purchase? = null
|
||||
|
||||
interface OnDataPassOnClick {
|
||||
fun onDataPassOnClick(data: VePaySettingsBean.CoinsBean?)
|
||||
}
|
||||
|
||||
|
||||
var dataPasserOnClick: OnDataPassOnClick? = null
|
||||
|
||||
|
||||
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
||||
val builder = AlertDialog.Builder(requireActivity())
|
||||
val inflater = requireActivity().layoutInflater
|
||||
val view = inflater.inflate(R.layout.layout_ve_player_buy_dialog, null)
|
||||
binding = LayoutVePlayerBuyDialogBinding.bind(view)
|
||||
val parcelable =
|
||||
arguments?.getParcelable<XAboutBean.Episode>(JActivityAdapter.BUY_EPISODE)
|
||||
short_play_id = parcelable?.short_play_id
|
||||
promise_view_ad = parcelable?.promise_view_ad
|
||||
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
binding?.tvCoinsText?.text = TranslationHelper.getTranslation()?.veloria_your_coins
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
||||
binding?.tvTips?.text = Html.fromHtml(
|
||||
TranslationHelper.getTranslation()?.veloria_store_tips
|
||||
?: getString(R.string.ve_store_tips_br),
|
||||
Html.FROM_HTML_MODE_COMPACT
|
||||
)
|
||||
binding?.tvBuyHint?.text = Html.fromHtml(
|
||||
TranslationHelper.getTranslation()?.veloria_unlimited_access_to
|
||||
?: getString(R.string.unlimited_access_to_all_series_for_1_br),
|
||||
Html.FROM_HTML_MODE_COMPACT
|
||||
)
|
||||
} else {
|
||||
binding?.tvTips?.text = Html.fromHtml(
|
||||
TranslationHelper.getTranslation()?.veloria_store_tips
|
||||
?: getString(R.string.ve_store_tips_br)
|
||||
)
|
||||
binding?.tvBuyHint?.text = Html.fromHtml(
|
||||
TranslationHelper.getTranslation()?.veloria_unlimited_access_to
|
||||
?: getString(R.string.unlimited_access_to_all_series_for_1_br)
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
initLoading()
|
||||
binding?.tvCoins?.text = RYAction.getAllCoinTotal().toString()
|
||||
|
||||
binding?.ivCloseDialog?.setOnClickListener {
|
||||
dismiss()
|
||||
}
|
||||
|
||||
coinAdapter = VeStoreCoinAdapter()
|
||||
binding?.recyclerCoin?.layoutManager = GridLayoutManager(requireContext(), 3)
|
||||
binding?.recyclerCoin?.adapter = coinAdapter
|
||||
binding?.recyclerCoin?.addItemDecoration(object : RecyclerView.ItemDecoration() {
|
||||
override fun getItemOffsets(
|
||||
outRect: Rect,
|
||||
view: View,
|
||||
parent: RecyclerView,
|
||||
state: RecyclerView.State
|
||||
) {
|
||||
outRect.left = resources.getDimension(R.dimen.dp_5).toInt()
|
||||
outRect.right = resources.getDimension(R.dimen.dp_5).toInt()
|
||||
outRect.bottom = resources.getDimension(R.dimen.dp_10).toInt()
|
||||
}
|
||||
})
|
||||
|
||||
vipAdapter = VeStoreVipAdapter()
|
||||
binding?.recyclerVip?.layoutManager =
|
||||
LinearLayoutManager(requireContext(), LinearLayoutManager.HORIZONTAL, false)
|
||||
binding?.recyclerVip?.adapter = vipAdapter
|
||||
showLoading()
|
||||
viewModel.getPaySettingsV3(0, 0)
|
||||
|
||||
vipAdapter?.setOnItemClickListener { adapter, view, position ->
|
||||
if (typeOnClick == 0) {
|
||||
coinAdapter?.currentPosition = -1
|
||||
coinAdapter?.notifyDataSetChanged()
|
||||
}
|
||||
typeOnClick = 1
|
||||
vipAdapter?.currentPosition = position
|
||||
vipAdapter?.notifyDataSetChanged()
|
||||
|
||||
vipData = vipAdapter!!.getItem(position) as VePaySettingsBean.VipBean
|
||||
|
||||
if (parcelable != null) {
|
||||
short_play_id?.let {
|
||||
VeCreatePayOrderReqBean(
|
||||
vipData?.id.toString(),
|
||||
"google",
|
||||
it,
|
||||
parcelable.short_play_video_id
|
||||
)
|
||||
}?.let {
|
||||
viewModel.setCreatePayOrder(
|
||||
it
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
coinAdapter?.setOnItemClickListener { adapter, view, position ->
|
||||
if (typeOnClick == 1) {
|
||||
vipAdapter?.currentPosition = -1
|
||||
vipAdapter?.notifyDataSetChanged()
|
||||
}
|
||||
typeOnClick = 0
|
||||
coinAdapter?.currentPosition = position
|
||||
coinAdapter?.notifyDataSetChanged()
|
||||
|
||||
coinsData =
|
||||
coinAdapter!!.getItem(position) as VePaySettingsBean.CoinsBean
|
||||
|
||||
if (parcelable != null) {
|
||||
short_play_id?.let {
|
||||
VeCreatePayOrderReqBean(
|
||||
coinsData?.id.toString(),
|
||||
"google",
|
||||
it,
|
||||
parcelable.short_play_video_id
|
||||
)
|
||||
}?.let {
|
||||
viewModel.setCreatePayOrder(
|
||||
it
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
observeData()
|
||||
|
||||
initPayData()
|
||||
|
||||
builder.setView(binding?.root)
|
||||
val dialog = builder.create()
|
||||
dialog.window?.setBackgroundDrawableResource(android.R.color.transparent)
|
||||
val window = dialog.window
|
||||
window?.decorView?.setPadding(0, 0, 0, 0)
|
||||
window?.setGravity(Gravity.BOTTOM)
|
||||
val layoutParams = window?.attributes
|
||||
layoutParams?.width = WindowManager.LayoutParams.MATCH_PARENT
|
||||
layoutParams?.height = resources.getDimensionPixelSize(R.dimen.dp_600)
|
||||
window?.attributes = layoutParams
|
||||
return dialog
|
||||
}
|
||||
|
||||
fun observeData() {
|
||||
viewModel.PaySettingsV3.observe(this) {
|
||||
if (it?.data != null) {
|
||||
coinAdapter?.submitList(it.data.list_coins)
|
||||
vipAdapter?.submitList(it.data.list_sub_vip)
|
||||
|
||||
it.data.list_sub_vip.let { it1 -> querySubVipProductDetails(it1) }
|
||||
it.data.list_coins.let { it1 -> queryInAppCoinsProductDetails(it1) }
|
||||
}
|
||||
|
||||
binding?.root?.postDelayed({
|
||||
hideLoading()
|
||||
}, 500)
|
||||
}
|
||||
|
||||
viewModel.createPayOrderData.observe(this) {
|
||||
if (it?.data != null) {
|
||||
order_code = it.data.order_code.toString()
|
||||
if (typeOnClick == 0) {
|
||||
coinsData?.android_template_id?.let { it1 -> getProduct(it1) }
|
||||
} else {
|
||||
vipData?.android_template_id?.let { it1 -> getProduct(it1) }
|
||||
}
|
||||
} else {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
} else {
|
||||
toast(getString(R.string.shapeSelected))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
viewModel.googlePaidData.observe(this) {
|
||||
if (it?.data != null) {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
} else {
|
||||
toast(getString(R.string.ve_google_pay_success))
|
||||
}
|
||||
if (null != payBeanReq) {
|
||||
RYAction.removeOrder(payBeanReq)
|
||||
}
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.VIDEO_PAY_REFRESH)
|
||||
dismiss()
|
||||
isBuy = true
|
||||
} else {
|
||||
payBeanReq?.let { it1 -> RYAction.saveOrder(it1) }
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
} else {
|
||||
toast(getString(R.string.shapeSelected))
|
||||
}
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private fun initPayData() {
|
||||
val purchasesUpdatedListener =
|
||||
PurchasesUpdatedListener { billingResult, purchases ->
|
||||
when (billingResult.responseCode) {
|
||||
BillingClient.BillingResponseCode.OK -> {
|
||||
for (purchase in purchases!!) {
|
||||
if (purchase.purchaseState == Purchase.PurchaseState.PURCHASED) {
|
||||
if (typeOnClick == 0) {
|
||||
consumePurchase(purchase)
|
||||
} else {
|
||||
consumePurchaseSub(purchase)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BillingClient.BillingResponseCode.USER_CANCELED -> {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
} else {
|
||||
toast(getString(R.string.ve_google_pay_canceled))
|
||||
}
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
else -> {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
} else {
|
||||
toast(getString(R.string.ve_google_pay_error))
|
||||
}
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
billingClientData = BillingClient.newBuilder(requireContext())
|
||||
.setListener(purchasesUpdatedListener)
|
||||
.enablePendingPurchases()
|
||||
.build()
|
||||
|
||||
|
||||
val stateListener: BillingClientStateListener = object : BillingClientStateListener {
|
||||
override fun onBillingSetupFinished(billingResult: BillingResult) {
|
||||
if (billingResult.responseCode == BillingClient.BillingResponseCode.OK) {
|
||||
isConnect = true
|
||||
}
|
||||
}
|
||||
|
||||
override fun onBillingServiceDisconnected() {
|
||||
if (connectNum < 5) {
|
||||
connectNum++
|
||||
isConnect = false
|
||||
billingClientData?.startConnection(this)
|
||||
}
|
||||
}
|
||||
}
|
||||
billingClientData?.startConnection(stateListener)
|
||||
}
|
||||
|
||||
private fun consumePurchaseSub(
|
||||
purchase: Purchase
|
||||
) {
|
||||
if (billingClientData?.isReady == true) {
|
||||
if (!purchase.isAcknowledged) {
|
||||
val acknowledgePurchaseParams =
|
||||
AcknowledgePurchaseParams.newBuilder()
|
||||
.setPurchaseToken(purchase.purchaseToken)
|
||||
.build()
|
||||
billingClientData?.acknowledgePurchase(
|
||||
acknowledgePurchaseParams
|
||||
) {
|
||||
val vePayBean = VePayBean(
|
||||
order_code,
|
||||
vipData?.id.toString(),
|
||||
YFHome.getPackageName(),
|
||||
vipData?.android_template_id.toString(),
|
||||
purchase.purchaseToken,
|
||||
purchase.orderId.toString(),
|
||||
vipData?.price.toString()
|
||||
)
|
||||
payBeanReq = vePayBean
|
||||
if (it.responseCode == BillingClient.BillingResponseCode.OK) {
|
||||
lifecycleScope.launch {
|
||||
viewModel.setGooglePaid(vePayBean)
|
||||
}
|
||||
} else {
|
||||
RYAction.saveOrder(vePayBean)
|
||||
lifecycleScope.launch {
|
||||
toast(it.toString())
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun querySubVipProductDetails(listSubVip: List<VePaySettingsBean.VipBean>) {
|
||||
val productDetailsResponseListener =
|
||||
ProductDetailsResponseListener { billingResult, productDetailsList ->
|
||||
if (billingResult.responseCode == BillingClient.BillingResponseCode.OK) {
|
||||
val priceInfo = productDetailsList.mapNotNull { productDetails ->
|
||||
productDetails.subscriptionOfferDetails?.get(0)?.pricingPhases?.pricingPhaseList?.get(
|
||||
0
|
||||
)?.let {
|
||||
productDetails.productId to (it.formattedPrice to it.priceCurrencyCode)
|
||||
}
|
||||
}.toMap()
|
||||
|
||||
// 更新VIP列表的价格和货币代码
|
||||
val updatedVipList = listSubVip.map { vip ->
|
||||
priceInfo[vip.android_template_id]?.let { (price, currency) ->
|
||||
vip.copy(price_google = price, currency_goolge = currency)
|
||||
} ?: vip
|
||||
}
|
||||
|
||||
vipAdapter?.recyclerView?.postDelayed({
|
||||
vipAdapter?.submitList(updatedVipList)
|
||||
hideLoading()
|
||||
}, 500)
|
||||
} else {
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
|
||||
val productType: String = BillingClient.ProductType.SUBS
|
||||
|
||||
val inAppProductInfo = listSubVip.map {
|
||||
QueryProductDetailsParams.Product.newBuilder()
|
||||
.setProductId(it.android_template_id)
|
||||
.setProductType(productType)
|
||||
.build()
|
||||
}
|
||||
if (inAppProductInfo.isNotEmpty()) {
|
||||
val productDetailsParams = QueryProductDetailsParams.newBuilder()
|
||||
.setProductList(inAppProductInfo)
|
||||
.build()
|
||||
billingClientData?.queryProductDetailsAsync(
|
||||
productDetailsParams,
|
||||
productDetailsResponseListener
|
||||
)
|
||||
} else {
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
|
||||
private fun queryInAppCoinsProductDetails(
|
||||
coinsList: List<VePaySettingsBean.CoinsBean>
|
||||
) {
|
||||
val productDetailsResponseListener =
|
||||
ProductDetailsResponseListener { billingResult, productDetailsList ->
|
||||
if (billingResult.responseCode == BillingClient.BillingResponseCode.OK) {
|
||||
val priceInfo = productDetailsList.mapNotNull { productDetails ->
|
||||
productDetails.oneTimePurchaseOfferDetails?.let {
|
||||
productDetails.productId to (it.formattedPrice to it.priceCurrencyCode)
|
||||
}
|
||||
}.toMap()
|
||||
|
||||
// 更新Coins列表的价格和货币代码
|
||||
val updatedCoinsList = coinsList.map { coin ->
|
||||
priceInfo[coin.android_template_id]?.let { (price, currency) ->
|
||||
coin.copy(price_google = price, currency_goolge = currency)
|
||||
} ?: coin
|
||||
}
|
||||
|
||||
coinAdapter?.recyclerView?.postDelayed({
|
||||
coinAdapter?.submitList(updatedCoinsList)
|
||||
}, 500)
|
||||
} else {
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
|
||||
val productType = BillingClient.ProductType.INAPP
|
||||
|
||||
val inAppProductInfo = coinsList.map {
|
||||
QueryProductDetailsParams.Product.newBuilder()
|
||||
.setProductId(it.android_template_id)
|
||||
.setProductType(productType)
|
||||
.build()
|
||||
}
|
||||
|
||||
if (inAppProductInfo.isNotEmpty()) {
|
||||
val productDetailsParams = QueryProductDetailsParams.newBuilder()
|
||||
.setProductList(inAppProductInfo)
|
||||
.build()
|
||||
billingClientData?.queryProductDetailsAsync(
|
||||
productDetailsParams,
|
||||
productDetailsResponseListener
|
||||
)
|
||||
} else {
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
|
||||
private fun getProduct(productId: String) {
|
||||
val productDetailsResponseListener =
|
||||
ProductDetailsResponseListener { billingResult, productDetailsList ->
|
||||
if (productDetailsList.isNotEmpty()) {
|
||||
setPay(productDetailsList[0])
|
||||
} else {
|
||||
lifecycleScope.launch {
|
||||
toast(billingResult.toString())
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
}
|
||||
val productType: String = if (typeOnClick == 0) {
|
||||
BillingClient.ProductType.INAPP
|
||||
} else {
|
||||
BillingClient.ProductType.SUBS
|
||||
}
|
||||
|
||||
val inAppProductInfo = ArrayList<QueryProductDetailsParams.Product>()
|
||||
inAppProductInfo.add(
|
||||
QueryProductDetailsParams.Product.newBuilder()
|
||||
.setProductId(productId)
|
||||
.setProductType(productType)
|
||||
.build()
|
||||
)
|
||||
val productDetailsParams = QueryProductDetailsParams.newBuilder()
|
||||
.setProductList(inAppProductInfo)
|
||||
.build()
|
||||
billingClientData?.queryProductDetailsAsync(
|
||||
productDetailsParams,
|
||||
productDetailsResponseListener
|
||||
)
|
||||
}
|
||||
|
||||
private fun setPay(productDetailInfo: ProductDetails) {
|
||||
if (productDetailInfo.subscriptionOfferDetails?.isNotEmpty() == true) {
|
||||
val params = ArrayList<BillingFlowParams.ProductDetailsParams>()
|
||||
productDetailInfo.subscriptionOfferDetails?.get(0)?.offerToken?.let {
|
||||
BillingFlowParams.ProductDetailsParams.newBuilder()
|
||||
.setProductDetails(productDetailInfo)
|
||||
.setOfferToken(it)
|
||||
.build()
|
||||
}?.let {
|
||||
params.add(
|
||||
it
|
||||
)
|
||||
}
|
||||
val billingFlowParams = BillingFlowParams.newBuilder()
|
||||
.setObfuscatedProfileId(order_code)
|
||||
.setObfuscatedAccountId(RYAction.getCustomId())
|
||||
.setProductDetailsParamsList(params)
|
||||
.build()
|
||||
|
||||
billingClientData?.launchBillingFlow(requireActivity(), billingFlowParams)
|
||||
} else {
|
||||
val params = ArrayList<BillingFlowParams.ProductDetailsParams>()
|
||||
params.add(
|
||||
BillingFlowParams.ProductDetailsParams.newBuilder()
|
||||
.setProductDetails(productDetailInfo)
|
||||
.build()
|
||||
)
|
||||
|
||||
val billingFlowParams = BillingFlowParams.newBuilder()
|
||||
.setObfuscatedProfileId(order_code)
|
||||
.setObfuscatedAccountId(RYAction.getCustomId())
|
||||
.setProductDetailsParamsList(params)
|
||||
.build()
|
||||
|
||||
billingClientData?.launchBillingFlow(requireActivity(), billingFlowParams)
|
||||
}
|
||||
}
|
||||
|
||||
private var responseListener =
|
||||
ConsumeResponseListener { billingResult, purchaseToken ->
|
||||
val vePayBean = VePayBean(
|
||||
order_code,
|
||||
if (typeOnClick == 0) coinsData?.id.toString() else vipData?.id.toString(),
|
||||
YFHome.getPackageName(),
|
||||
if (typeOnClick == 0) coinsData?.android_template_id.toString() else vipData?.android_template_id.toString(),
|
||||
purchaseToken,
|
||||
purchaseData?.orderId.toString(),
|
||||
if (typeOnClick == 0) coinsData?.price.toString() else vipData?.price.toString()
|
||||
)
|
||||
payBeanReq = vePayBean
|
||||
if (billingResult.responseCode == BillingClient.BillingResponseCode.OK) {
|
||||
lifecycleScope.launch {
|
||||
viewModel.setGooglePaid(vePayBean)
|
||||
}
|
||||
} else {
|
||||
RYAction.saveOrder(vePayBean)
|
||||
lifecycleScope.launch {
|
||||
toast(billingResult.toString())
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun consumePurchase(purchase: Purchase?) {
|
||||
if (billingClientData?.isReady == true) {
|
||||
purchaseData = purchase
|
||||
val consumeParams = ConsumeParams.newBuilder()
|
||||
.setPurchaseToken(purchase?.purchaseToken!!)
|
||||
.build()
|
||||
billingClientData?.consumeAsync(consumeParams, responseListener)
|
||||
} else {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
// toast(TranslationHelper.getTranslation()?.mireo_g_pay_error.toString())
|
||||
} else {
|
||||
toast(getString(R.string.ve_google_pay_error))
|
||||
}
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
override fun onDismiss(dialog: DialogInterface) {
|
||||
payBeanReq = null
|
||||
billingClientData?.endConnection()
|
||||
billingClientData = null
|
||||
System.gc()
|
||||
System.gc()
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.VIDEO_PAY_REFRESH_DISMISS)
|
||||
super.onDismiss(dialog)
|
||||
}
|
||||
|
||||
|
||||
private var loadingDialog: SBackupText? = null
|
||||
private fun initLoading() {
|
||||
loadingDialog = SBackupText.create(requireContext()).apply {
|
||||
setCancelable(false)
|
||||
setMessage("Loading...")
|
||||
}
|
||||
}
|
||||
|
||||
protected fun showLoading() {
|
||||
loadingDialog?.show()
|
||||
}
|
||||
|
||||
protected fun hideLoading() {
|
||||
loadingDialog?.dismiss()
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,379 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.avcintraRelock
|
||||
|
||||
import android.app.Dialog
|
||||
import android.content.Context
|
||||
import android.view.LayoutInflater
|
||||
import android.view.ViewGroup
|
||||
import com.bumptech.glide.Glide
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.databinding.NrbExampleLayoutBinding
|
||||
import kotlin.math.max
|
||||
import kotlin.math.min
|
||||
|
||||
|
||||
class SBackupText(context: Context) : Dialog(context, R.style.coinsRight) {
|
||||
@Volatile
|
||||
var trendsAnimatingModule_dictionary: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
|
||||
@Volatile
|
||||
private var serviceHelpHistoryTag: Int = 4151
|
||||
|
||||
|
||||
private lateinit var binding: NrbExampleLayoutBinding
|
||||
private var message: String = "Loading..."
|
||||
|
||||
init {
|
||||
var onclicky: Double = 5240.0
|
||||
if (onclicky > 163.0) {
|
||||
}
|
||||
println(onclicky)
|
||||
|
||||
|
||||
initView()
|
||||
}
|
||||
|
||||
|
||||
public fun showBuyEditorCommonAlso(): String {
|
||||
var bingeRules: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
var size_l7Empty: String = "perform"
|
||||
var foregroundAndroid: Float = 494.0f
|
||||
var fragmentsPager = 6883.0
|
||||
var agentsBlockdspAway: String = "body"
|
||||
if (size_l7Empty == "min_0n") {
|
||||
println("size_l7Empty" + size_l7Empty)
|
||||
}
|
||||
var footer_f = min(1, kotlin.random.Random.nextInt(50)) % size_l7Empty.length
|
||||
var string_g: Int = min(1, kotlin.random.Random.nextInt(82)) % agentsBlockdspAway.length
|
||||
agentsBlockdspAway += size_l7Empty.get(footer_f)
|
||||
if (foregroundAndroid >= -128 && foregroundAndroid <= 128) {
|
||||
var arrows_x = min(1, kotlin.random.Random.nextInt(38)) % agentsBlockdspAway.length
|
||||
agentsBlockdspAway += foregroundAndroid.toString()
|
||||
}
|
||||
if (fragmentsPager <= 128 && fragmentsPager >= -128) {
|
||||
var cycle_g = min(1, kotlin.random.Random.nextInt(61)) % agentsBlockdspAway.length
|
||||
agentsBlockdspAway += fragmentsPager.toString()
|
||||
}
|
||||
|
||||
return agentsBlockdspAway
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun initView() {
|
||||
|
||||
var setbitsTapt: String = this.showBuyEditorCommonAlso()
|
||||
|
||||
var setbitsTapt_len = setbitsTapt.length
|
||||
println(setbitsTapt)
|
||||
|
||||
println(setbitsTapt)
|
||||
|
||||
|
||||
var actionB: Long = 1410L
|
||||
if (actionB > 15L) {
|
||||
}
|
||||
println(actionB)
|
||||
|
||||
|
||||
binding = NrbExampleLayoutBinding.inflate(LayoutInflater.from(context))
|
||||
var bottomY: String = "ighlights"
|
||||
if (bottomY == "a") {
|
||||
}
|
||||
|
||||
|
||||
setContentView(binding.root)
|
||||
var buildV: Boolean = true
|
||||
while (!buildV) {
|
||||
break
|
||||
}
|
||||
println(buildV)
|
||||
|
||||
|
||||
setCancelable(false)
|
||||
var renderers1: MutableList<Float> = mutableListOf<Float>()
|
||||
renderers1.add(935.0f)
|
||||
renderers1.add(417.0f)
|
||||
renderers1.add(492.0f)
|
||||
renderers1.add(724.0f)
|
||||
renderers1.add(937.0f)
|
||||
while (renderers1.size > 122) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
|
||||
binding.ivLoading?.let {
|
||||
var upload9: MutableList<Long> = mutableListOf<Long>()
|
||||
upload9.add(47L)
|
||||
upload9.add(947L)
|
||||
|
||||
|
||||
Glide.with(context)
|
||||
.asGif()
|
||||
.load(R.mipmap.round_auto_t)
|
||||
.into(it)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public fun singleUntilGraphics(): MutableList<String> {
|
||||
var fragmentsDelete_ue = 7362L
|
||||
var clickFocus: String = "dxtory"
|
||||
var themesAbout = 591.0
|
||||
var numData = "like"
|
||||
var selApproximateUsrc = mutableListOf<String>()
|
||||
fragmentsDelete_ue = 2499L
|
||||
var instrumented_len1: Int = selApproximateUsrc.size
|
||||
var type_78_b: Int =
|
||||
min(kotlin.random.Random.nextInt(60), 1) % max(1, selApproximateUsrc.size)
|
||||
selApproximateUsrc.add(type_78_b, "${fragmentsDelete_ue}")
|
||||
if (clickFocus.equals("cagetory")) {
|
||||
println(clickFocus)
|
||||
}
|
||||
if (null != clickFocus) {
|
||||
for (i in 0..min(1, clickFocus.length - 1)) {
|
||||
println(clickFocus.get(i))
|
||||
}
|
||||
}
|
||||
themesAbout *= 6978.0
|
||||
var post_len1 = selApproximateUsrc.size
|
||||
var deletes_t = min(kotlin.random.Random.nextInt(8), 1) % max(1, selApproximateUsrc.size)
|
||||
selApproximateUsrc.add(deletes_t, "${themesAbout}")
|
||||
if (numData.equals("base")) {
|
||||
println(numData)
|
||||
}
|
||||
for (i in 0..min(1, numData.length - 1)) {
|
||||
if (i < selApproximateUsrc.size) {
|
||||
selApproximateUsrc.add(i, numData.get(i).toString())
|
||||
}
|
||||
println(numData.get(i))
|
||||
}
|
||||
|
||||
return selApproximateUsrc
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun dismiss() {
|
||||
|
||||
var vancSummaries: MutableList<String> = this.singleUntilGraphics()
|
||||
|
||||
for (index_h in 0..vancSummaries.size - 1) {
|
||||
val obj_index_h: Any = vancSummaries.get(index_h)
|
||||
if (index_h >= 10) {
|
||||
println(obj_index_h)
|
||||
}
|
||||
}
|
||||
var vancSummaries_len: Int = vancSummaries.size
|
||||
|
||||
println(vancSummaries)
|
||||
|
||||
|
||||
var failureb: MutableMap<String, Long> = mutableMapOf<String, Long>()
|
||||
failureb.put("hqxdsp", 638L)
|
||||
failureb.put("klass", 258L)
|
||||
failureb.put("aper", 605L)
|
||||
failureb.put("ipdopd", 43L)
|
||||
failureb.put("execute", 955L)
|
||||
while (failureb.size > 188) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
super.dismiss()
|
||||
}
|
||||
|
||||
|
||||
public fun partlyDramaPaintExclusive(
|
||||
qualityInstrumented: Double,
|
||||
categoriesGradlew: Boolean
|
||||
): Float {
|
||||
var colorsBanner = 8933L
|
||||
var lifecycleUtil = true
|
||||
var itemsShort_n = mutableListOf<Double>()
|
||||
var imitateFramesize: Float = 7680.0f
|
||||
colorsBanner = 4840L
|
||||
lifecycleUtil = false
|
||||
imitateFramesize *= if (lifecycleUtil) 90 else 80
|
||||
|
||||
return imitateFramesize
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun show() {
|
||||
|
||||
var activatorEnding = this.partlyDramaPaintExclusive(8405.0, false)
|
||||
|
||||
var activatorEnding_max_x: Double = activatorEnding.toDouble()
|
||||
println(activatorEnding)
|
||||
|
||||
println(activatorEnding)
|
||||
|
||||
|
||||
var bindg: Float = 4652.0f
|
||||
if (bindg > 13.0f) {
|
||||
}
|
||||
|
||||
|
||||
this.trendsAnimatingModule_dictionary = mutableMapOf<String, Int>()
|
||||
|
||||
this.serviceHelpHistoryTag = 2878
|
||||
|
||||
|
||||
super.show()
|
||||
var trendx: Int = 7820
|
||||
|
||||
|
||||
|
||||
window?.let {
|
||||
var verticalw: Long = 7179L
|
||||
if (verticalw == 133L) {
|
||||
}
|
||||
|
||||
|
||||
val secondsM = it.attributes
|
||||
var blackg: MutableList<Float> = mutableListOf<Float>()
|
||||
blackg.add(375.0f)
|
||||
blackg.add(486.0f)
|
||||
if (blackg.size > 181) {
|
||||
}
|
||||
|
||||
|
||||
secondsM.width = ViewGroup.LayoutParams.WRAP_CONTENT
|
||||
var visitf: Boolean = true
|
||||
if (!visitf) {
|
||||
}
|
||||
println(visitf)
|
||||
|
||||
|
||||
secondsM.height = ViewGroup.LayoutParams.WRAP_CONTENT
|
||||
var placer: Boolean = false
|
||||
if (placer) {
|
||||
}
|
||||
|
||||
|
||||
it.attributes = secondsM
|
||||
var buildJ: Long = 4587L
|
||||
while (buildJ <= 153L) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
it.setBackgroundDrawableResource(android.R.color.transparent)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public fun singleSucceedConnectContentWrapRevolution(
|
||||
privacyStore: Double,
|
||||
trendingResponse: Long
|
||||
): MutableMap<String, String> {
|
||||
var networkFailure = false
|
||||
var collectionVieww = mutableListOf<Int>()
|
||||
var actionExample = 7113.0
|
||||
var bindingSeries: String = "adjusts"
|
||||
var attachTlenSharpness = mutableMapOf<String, String>()
|
||||
attachTlenSharpness.put("forward", "cvid")
|
||||
attachTlenSharpness.put("baseiskey", "filter")
|
||||
attachTlenSharpness.put("dissconnect", "band")
|
||||
attachTlenSharpness.put("aparams", "boost")
|
||||
attachTlenSharpness.put("displace", "ideal")
|
||||
attachTlenSharpness.put("fate", "poll")
|
||||
networkFailure = false
|
||||
attachTlenSharpness.put("randWithJacobi", "${networkFailure}")
|
||||
for (ntro in 0..collectionVieww.size - 1) {
|
||||
attachTlenSharpness.put("includeFragWise", "${collectionVieww.get(ntro)}")
|
||||
|
||||
}
|
||||
actionExample = actionExample
|
||||
attachTlenSharpness.put("dirpStoryboardWhat", "${actionExample}")
|
||||
attachTlenSharpness.put("release", bindingSeries.toUpperCase())
|
||||
|
||||
return attachTlenSharpness
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setMessage(message: String): SBackupText {
|
||||
|
||||
var successStrndup = this.singleSucceedConnectContentWrapRevolution(5365.0, 5129L)
|
||||
|
||||
var successStrndup_len: Int = successStrndup.size
|
||||
val _successStrnduptemp = successStrndup.keys.toList()
|
||||
for (index_q in 0.._successStrnduptemp.size - 1) {
|
||||
val key_index_q = _successStrnduptemp.get(index_q)
|
||||
val value_index_q = successStrndup.get(key_index_q)
|
||||
if (index_q > 64) {
|
||||
println(key_index_q)
|
||||
println(value_index_q)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
println(successStrndup)
|
||||
|
||||
|
||||
var pauses: Double = 3774.0
|
||||
while (pauses <= 82.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
this.message = message
|
||||
var observe2: Double = 1614.0
|
||||
while (observe2 <= 73.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.tvMessage.text = message
|
||||
var formats: Boolean = false
|
||||
if (formats) {
|
||||
}
|
||||
|
||||
|
||||
return this
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
||||
public fun stopOverviewOffsetProperty(trendingFragments: Float): Long {
|
||||
var moditySplash: Boolean = false
|
||||
var hintDestroy = 6995.0f
|
||||
var coverDefault_9: Long = 4531L
|
||||
var visitEffectively: Long = 9781L
|
||||
moditySplash = true
|
||||
visitEffectively -= if (moditySplash) 86 else 46
|
||||
hintDestroy += 9141.0f
|
||||
coverDefault_9 += 8006L
|
||||
visitEffectively += coverDefault_9
|
||||
|
||||
return visitEffectively
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun create(context: Context): SBackupText {
|
||||
|
||||
var planeScores = this.stopOverviewOffsetProperty(9980.0f)
|
||||
|
||||
if (planeScores >= 15L) {
|
||||
println(planeScores)
|
||||
}
|
||||
var camera_planeScores: Int = planeScores.toInt()
|
||||
|
||||
println(planeScores)
|
||||
|
||||
|
||||
var login0: String = "slices"
|
||||
while (login0.length > 115) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
return SBackupText(context)
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,929 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional
|
||||
|
||||
import android.content.Intent
|
||||
import android.text.Editable
|
||||
import android.text.TextWatcher
|
||||
import android.view.View
|
||||
import android.view.inputmethod.EditorInfo
|
||||
import androidx.activity.viewModels
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import com.blankj.utilcode.util.KeyboardUtils
|
||||
import com.blankj.utilcode.util.NetworkUtils
|
||||
import com.google.android.flexbox.FlexDirection
|
||||
import com.google.android.flexbox.FlexWrap
|
||||
import com.google.android.flexbox.FlexboxLayoutManager
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter.VIDEO_SHORT_PLAY_ID
|
||||
import com.veloria.now.shortapp.civil.NOFfmpeg
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.toast
|
||||
import com.veloria.now.shortapp.databinding.MqInstrumentedBinding
|
||||
import com.veloria.now.shortapp.newsletter.AIXTextActivity
|
||||
import com.veloria.now.shortapp.rewards.VSNotificationsDefault
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.YCFddebcdbeeffcebdfInterceptor
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.DFQManifestRetrofit
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.UBlackCagetory
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.VXAgreement
|
||||
import com.veloria.now.shortapp.texturedAsink.GStateBean
|
||||
import kotlinx.coroutines.Job
|
||||
import kotlinx.coroutines.channels.awaitClose
|
||||
import kotlinx.coroutines.flow.MutableStateFlow
|
||||
import kotlinx.coroutines.flow.callbackFlow
|
||||
import kotlinx.coroutines.flow.debounce
|
||||
import kotlinx.coroutines.flow.filterNotNull
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlin.math.max
|
||||
import kotlin.math.min
|
||||
|
||||
|
||||
class HLanguageActivity : AIXTextActivity<MqInstrumentedBinding, YCFddebcdbeeffcebdfInterceptor>(),
|
||||
NOFfmpeg {
|
||||
@Volatile
|
||||
var stateStandStringsString: String = "scalar"
|
||||
|
||||
@Volatile
|
||||
private var interceptorLoadingClipMin: Double = 1789.0
|
||||
|
||||
@Volatile
|
||||
var testDetails_list: MutableList<Float> = mutableListOf<Float>()
|
||||
|
||||
|
||||
val viewModel: YCFddebcdbeeffcebdfInterceptor by viewModels()
|
||||
|
||||
|
||||
|
||||
private fun removeDonateNotifyTopCurrent(): MutableMap<String, Double> {
|
||||
var actionListener = 4680.0f
|
||||
println(actionListener)
|
||||
var requestDetails: MutableList<Double> = mutableListOf<Double>()
|
||||
println(requestDetails)
|
||||
var pageDetele: Double = 1063.0
|
||||
println(pageDetele)
|
||||
var noisesPeers: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
noisesPeers.put("visibilities", 531.0)
|
||||
noisesPeers.put("pragma", 138.0)
|
||||
actionListener = actionListener
|
||||
noisesPeers.put("quarterDiscoverNonnullcontents", 5077.0)
|
||||
|
||||
return noisesPeers
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun getStatusLayout(): VSNotificationsDefault {
|
||||
|
||||
var specifierElevate = this.removeDonateNotifyTopCurrent()
|
||||
|
||||
var specifierElevate_len: Int = specifierElevate.size
|
||||
val _specifierElevatetemp = specifierElevate.keys.toList()
|
||||
for (index_v in 0.._specifierElevatetemp.size - 1) {
|
||||
val key_index_v = _specifierElevatetemp.get(index_v)
|
||||
val value_index_v = specifierElevate.get(key_index_v)
|
||||
if (index_v < 32) {
|
||||
println(key_index_v)
|
||||
println(value_index_v)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
println(specifierElevate)
|
||||
|
||||
|
||||
var loadG: Double = 1668.0
|
||||
if (loadG < 178.0) {
|
||||
}
|
||||
|
||||
|
||||
return binding.stateLayout
|
||||
}
|
||||
|
||||
private var searchTrendAdapter: VXAgreement? = null
|
||||
private var searchTrendAdapter1: VXAgreement? = null
|
||||
private var searchContentAdapter: DFQManifestRetrofit? = null
|
||||
private var searchRecentAdapter: UBlackCagetory? = null
|
||||
private var isSearchStart = true
|
||||
|
||||
|
||||
private fun observeFreeLevelJust(loginBean: Boolean): MutableList<Double> {
|
||||
var systemLogic = 2424L
|
||||
var outContext = 4698.0
|
||||
println(outContext)
|
||||
var category_wxCollection: Int = 4898
|
||||
println(category_wxCollection)
|
||||
var assertPapersOdd: MutableList<Double> = mutableListOf<Double>()
|
||||
systemLogic += 9095L
|
||||
var history_len1 = assertPapersOdd.size
|
||||
var shape_x: Int = min(kotlin.random.Random.nextInt(35), 1) % max(1, assertPapersOdd.size)
|
||||
assertPapersOdd.add(shape_x, 5629.0)
|
||||
|
||||
return assertPapersOdd
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun initView() {
|
||||
|
||||
var performerSpacings: MutableList<Double> = this.observeFreeLevelJust(false)
|
||||
|
||||
var performerSpacings_len: Int = performerSpacings.size
|
||||
for (index_g in 0..performerSpacings.size - 1) {
|
||||
val obj_index_g: Any = performerSpacings.get(index_g)
|
||||
if (index_g != 89) {
|
||||
println(obj_index_g)
|
||||
}
|
||||
}
|
||||
|
||||
println(performerSpacings)
|
||||
|
||||
|
||||
var coverX: Int = 7263
|
||||
while (coverX <= 175) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
this.stateStandStringsString = "installs"
|
||||
|
||||
this.interceptorLoadingClipMin = 1679.0
|
||||
|
||||
this.testDetails_list = mutableListOf<Float>()
|
||||
|
||||
|
||||
if (!NetworkUtils.isConnected()) {
|
||||
var langR: Float = 4492.0f
|
||||
while (langR >= 149.0f) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.clOne.visibility = View.GONE
|
||||
var exampleb: Float = 407.0f
|
||||
if (exampleb < 77.0f) {
|
||||
}
|
||||
|
||||
|
||||
binding.stateLayout.visibility = View.VISIBLE
|
||||
var handleD: Float = 9835.0f
|
||||
if (handleD <= 21.0f) {
|
||||
}
|
||||
println(handleD)
|
||||
|
||||
|
||||
showErrorData(object : VSNotificationsDefault.OnRetryListener {
|
||||
|
||||
private fun makeDurationCloudySecureAdvertOrientation(
|
||||
animatingVieww: Double,
|
||||
themesInstrumented: Boolean,
|
||||
themesBanner: Float
|
||||
): Int {
|
||||
var clipOut: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
println(clipOut)
|
||||
var roundExtraction = mutableMapOf<String, Int>()
|
||||
var seekRegister_01 = 4816.0
|
||||
var variableSearch: String = "storyboard"
|
||||
println(variableSearch)
|
||||
var increasingToggled: Int = 6719
|
||||
seekRegister_01 = 380.0
|
||||
|
||||
return increasingToggled
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onRetry(layout: VSNotificationsDefault) {
|
||||
|
||||
var wireframeDegradation: Int =
|
||||
this.makeDurationCloudySecureAdvertOrientation(4859.0, true, 4696.0f)
|
||||
|
||||
println(wireframeDegradation)
|
||||
|
||||
println(wireframeDegradation)
|
||||
|
||||
|
||||
initView()
|
||||
}
|
||||
})
|
||||
return
|
||||
} else {
|
||||
var cancelb: Double = 9990.0
|
||||
while (cancelb == 54.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.clOne.visibility = View.VISIBLE
|
||||
var displaye: Double = 49.0
|
||||
if (displaye > 179.0) {
|
||||
}
|
||||
|
||||
|
||||
binding.stateLayout.visibility = View.GONE
|
||||
}
|
||||
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
binding.etSearch.hint = TranslationHelper.getTranslation()?.veloria_recersal_of_fate
|
||||
binding.tvTitleRecent.text = TranslationHelper.getTranslation()?.veloria_recent_searches
|
||||
binding.tvTitleRecommended.text = TranslationHelper.getTranslation()?.veloria_recommended
|
||||
binding.tvTrendingTop.text = TranslationHelper.getTranslation()?.veloria_trending_top
|
||||
binding.tvLatestTrends.text = TranslationHelper.getTranslation()?.veloria_latest_trends
|
||||
}
|
||||
|
||||
|
||||
searchTrendAdapter = VXAgreement()
|
||||
var buttonu: Int = 3389
|
||||
if (buttonu < 189) {
|
||||
}
|
||||
|
||||
|
||||
binding.recyclerTrending.layoutManager = LinearLayoutManager(this)
|
||||
var lefth: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
lefth.put("ucmp", 313.0f)
|
||||
lefth.put("greg", 853.0f)
|
||||
lefth.put("simpleread", 575.0f)
|
||||
|
||||
|
||||
binding.recyclerTrending.adapter = searchTrendAdapter
|
||||
var numA: Boolean = true
|
||||
while (!numA) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
|
||||
searchTrendAdapter1 = VXAgreement()
|
||||
var keywordO: Double = 7343.0
|
||||
|
||||
|
||||
binding.recyclerLatest.layoutManager = LinearLayoutManager(this)
|
||||
var selectn: Double = 3772.0
|
||||
while (selectn > 161.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.recyclerLatest.adapter = searchTrendAdapter1
|
||||
var statet: Long = 2891L
|
||||
|
||||
|
||||
|
||||
searchContentAdapter = DFQManifestRetrofit()
|
||||
var priceN: Double = 4694.0
|
||||
while (priceN <= 97.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.recyclerResult.layoutManager = LinearLayoutManager(this)
|
||||
var avatar8: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
avatar8.put("gifs", 463.0f)
|
||||
avatar8.put("recursively", 928.0f)
|
||||
avatar8.put("smoothly", 627.0f)
|
||||
avatar8.put("labeled", 731.0f)
|
||||
|
||||
|
||||
binding.recyclerResult.adapter = searchContentAdapter
|
||||
var utilsV: Float = 929.0f
|
||||
if (utilsV > 42.0f) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
searchRecentAdapter = UBlackCagetory()
|
||||
var stayA: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
stayA.add(true)
|
||||
stayA.add(true)
|
||||
stayA.add(true)
|
||||
stayA.add(true)
|
||||
if (stayA.contains(true)) {
|
||||
}
|
||||
|
||||
|
||||
val trendsHttp = FlexboxLayoutManager(this)
|
||||
var d_imageR: Double = 9769.0
|
||||
if (d_imageR == 176.0) {
|
||||
}
|
||||
|
||||
|
||||
trendsHttp.flexDirection = FlexDirection.ROW
|
||||
var handlerp: Boolean = false
|
||||
while (!handlerp) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
trendsHttp.flexWrap = FlexWrap.WRAP
|
||||
var header5: Long = 697L
|
||||
if (header5 <= 126L) {
|
||||
}
|
||||
|
||||
|
||||
binding.recyclerRecent.layoutManager = trendsHttp
|
||||
var trends2: String = "alt"
|
||||
if (trends2 == "J") {
|
||||
}
|
||||
|
||||
|
||||
binding.recyclerRecent.adapter = searchRecentAdapter
|
||||
var left4: Long = 6692L
|
||||
if (left4 < 72L) {
|
||||
}
|
||||
|
||||
|
||||
searchRecentAdapter?.submitList(RYAction.getSearchContent())
|
||||
var bindc: Double = 3485.0
|
||||
|
||||
|
||||
searchRecentAdapter?.setOnItemClickListener { adapter, view, position ->
|
||||
val mmkvf = adapter.getItem(position) as String
|
||||
var fromm: Float = 9810.0f
|
||||
while (fromm > 123.0f) {
|
||||
break
|
||||
}
|
||||
println(fromm)
|
||||
|
||||
|
||||
binding.etSearch.setText(mmkvf)
|
||||
var dismissJ: Double = 749.0
|
||||
while (dismissJ < 188.0) {
|
||||
break
|
||||
}
|
||||
println(dismissJ)
|
||||
|
||||
|
||||
binding.etSearch.setSelection(mmkvf.length)
|
||||
var lifecycleI: MutableList<Int> = mutableListOf<Int>()
|
||||
lifecycleI.add(159)
|
||||
lifecycleI.add(44)
|
||||
lifecycleI.add(337)
|
||||
lifecycleI.add(873)
|
||||
lifecycleI.add(427)
|
||||
if (lifecycleI.size > 48) {
|
||||
}
|
||||
|
||||
|
||||
// viewModel.getSearch(mmkvf)
|
||||
var recommendsl: MutableList<Int> = mutableListOf<Int>()
|
||||
recommendsl.add(207)
|
||||
recommendsl.add(182)
|
||||
recommendsl.add(853)
|
||||
recommendsl.add(903)
|
||||
if (recommendsl.contains(9013)) {
|
||||
}
|
||||
println(recommendsl)
|
||||
|
||||
|
||||
isSearchStart = false
|
||||
}
|
||||
if (RYAction.getSearchContent().isEmpty()) {
|
||||
var q_view0: Boolean = true
|
||||
while (q_view0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.tvTitleRecent.visibility = View.GONE
|
||||
var exampley: String = "ossl"
|
||||
while (exampley.length > 145) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.ivDelete.visibility = View.GONE
|
||||
var rulesL: Float = 5463.0f
|
||||
|
||||
|
||||
binding.recyclerRecent.visibility = View.GONE
|
||||
}
|
||||
showLoading()
|
||||
var recommendsB: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
recommendsB.put("mosaic", 167.0)
|
||||
recommendsB.put("asking", 368.0)
|
||||
recommendsB.put("avxsynth", 34.0)
|
||||
if (recommendsB.get("1") != null) {
|
||||
}
|
||||
println(recommendsB)
|
||||
|
||||
|
||||
viewModel.getVisitTop()
|
||||
var collections1: Float = 902.0f
|
||||
|
||||
|
||||
viewModel.getSearchHots()
|
||||
var radius2: Float = 5287.0f
|
||||
if (radius2 > 93.0f) {
|
||||
}
|
||||
println(radius2)
|
||||
|
||||
|
||||
|
||||
binding.ivBack.setOnClickListener {
|
||||
var complete9: Long = 6360L
|
||||
if (complete9 == 49L) {
|
||||
}
|
||||
|
||||
|
||||
var system2: Float = 1503.0f
|
||||
|
||||
|
||||
finish()
|
||||
}
|
||||
binding.ivDelete.setOnClickListener {
|
||||
var selectZ: Float = 4767.0f
|
||||
while (selectZ < 108.0f) {
|
||||
break
|
||||
}
|
||||
println(selectZ)
|
||||
|
||||
|
||||
var gsonA: Double = 430.0
|
||||
if (gsonA <= 172.0) {
|
||||
}
|
||||
|
||||
|
||||
binding.tvTitleRecent.visibility = View.GONE
|
||||
var appendJ: Float = 1281.0f
|
||||
|
||||
|
||||
binding.ivDelete.visibility = View.GONE
|
||||
var h_playerm: Float = 8738.0f
|
||||
while (h_playerm > 138.0f) {
|
||||
break
|
||||
}
|
||||
println(h_playerm)
|
||||
|
||||
|
||||
binding.recyclerRecent.visibility = View.GONE
|
||||
var setc: Boolean = true
|
||||
if (!setc) {
|
||||
}
|
||||
|
||||
|
||||
searchRecentAdapter?.submitList(mutableListOf())
|
||||
var retryT: MutableList<Float> = mutableListOf<Float>()
|
||||
retryT.add(46.0f)
|
||||
retryT.add(247.0f)
|
||||
retryT.add(547.0f)
|
||||
while (retryT.size > 123) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
RYAction.getMMKV()
|
||||
.putString(JActivityAdapter.SEARCH_CONTENT, "[]")
|
||||
}
|
||||
binding.etSearch.setOnEditorActionListener { v, actionId, event ->
|
||||
if (actionId == EditorInfo.IME_ACTION_SEARCH) {
|
||||
if (binding.etSearch.text?.trim().toString().isEmpty()) {
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
toast(TranslationHelper.getTranslation()?.veloria_enter_keywords.toString())
|
||||
}else{
|
||||
toast(getString(R.string.agreementModity))
|
||||
}
|
||||
return@setOnEditorActionListener true
|
||||
}
|
||||
isSearchStart = true
|
||||
viewModel.getSearch(binding.etSearch.text?.trim().toString())
|
||||
KeyboardUtils.hideSoftInput(v)
|
||||
showLoading()
|
||||
RYAction.saveSearchContent(binding.etSearch.text.toString())
|
||||
|
||||
return@setOnEditorActionListener true
|
||||
}
|
||||
false
|
||||
}
|
||||
|
||||
val homeCheckMax_j7 = callbackFlow<CharSequence?> {
|
||||
var needM: Float = 613.0f
|
||||
if (needM <= 120.0f) {
|
||||
}
|
||||
|
||||
|
||||
var paintJ: Float = 2029.0f
|
||||
if (paintJ >= 86.0f) {
|
||||
}
|
||||
println(paintJ)
|
||||
|
||||
|
||||
val standI = object : TextWatcher {
|
||||
|
||||
private fun connectPrivacyClient(): Int {
|
||||
var numRadius = 8632
|
||||
var audioAnimation = mutableMapOf<String, Int>()
|
||||
var appendPage: Double = 2187.0
|
||||
println(appendPage)
|
||||
var setupRetrofit = mutableMapOf<String, Boolean>()
|
||||
var atchNth: Int = 3244
|
||||
numRadius = 1625
|
||||
atchNth -= numRadius
|
||||
appendPage = 9866.0
|
||||
|
||||
return atchNth
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun beforeTextChanged(
|
||||
s: CharSequence?, start: Int, count: Int, after: Int
|
||||
) {
|
||||
|
||||
var intrnlIterate = this.connectPrivacyClient()
|
||||
|
||||
println(intrnlIterate)
|
||||
|
||||
println(intrnlIterate)
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun beginDensityTranslationSkySucceedSoft(): String {
|
||||
var listenerFocus = true
|
||||
var package_oNotifications = mutableListOf<Long>()
|
||||
println(package_oNotifications)
|
||||
var utilVisit = mutableListOf<Double>()
|
||||
println(utilVisit)
|
||||
var androidNotifications = "carrier"
|
||||
var makectButtons: String = "liberty"
|
||||
if (listenerFocus == true) {
|
||||
println("test")
|
||||
}
|
||||
for (i in 0..min(1, androidNotifications.length - 1)) {
|
||||
println(androidNotifications.get(i))
|
||||
}
|
||||
var tourist_l: Int =
|
||||
min(1, kotlin.random.Random.nextInt(91)) % androidNotifications.length
|
||||
var button_k = min(1, kotlin.random.Random.nextInt(98)) % makectButtons.length
|
||||
var e_lock_l = min(tourist_l, button_k)
|
||||
if (e_lock_l > 0) {
|
||||
for (q in 0..min(1, e_lock_l - 1)) {
|
||||
makectButtons += androidNotifications.get(q)
|
||||
}
|
||||
}
|
||||
|
||||
return makectButtons
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {
|
||||
|
||||
var replicatedConnectivity: String =
|
||||
this.beginDensityTranslationSkySucceedSoft()
|
||||
|
||||
if (replicatedConnectivity == "home") {
|
||||
println(replicatedConnectivity)
|
||||
}
|
||||
var replicatedConnectivity_len: Int = replicatedConnectivity.length
|
||||
|
||||
println(replicatedConnectivity)
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun errorPlayerScanner(
|
||||
fromNetwork: Float,
|
||||
playfairController: Long
|
||||
): Double {
|
||||
var searchProcess: Boolean = true
|
||||
var wightDetele = 8936.0f
|
||||
var paddingBase = 1670.0f
|
||||
println(paddingBase)
|
||||
var visibleService: Long = 8260L
|
||||
var angleVpathTruth: Double = 6429.0
|
||||
searchProcess = true
|
||||
angleVpathTruth += if (searchProcess) 75 else 28
|
||||
wightDetele = 8384.0f
|
||||
paddingBase += wightDetele
|
||||
paddingBase -= paddingBase
|
||||
visibleService *= visibleService
|
||||
|
||||
return angleVpathTruth
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun afterTextChanged(s: Editable?) {
|
||||
|
||||
var anandanNoround: Double = this.errorPlayerScanner(6329.0f, 3255L)
|
||||
|
||||
if (anandanNoround < 28.0) {
|
||||
println(anandanNoround)
|
||||
}
|
||||
|
||||
println(anandanNoround)
|
||||
|
||||
|
||||
trySend(s)
|
||||
}
|
||||
}
|
||||
|
||||
binding.etSearch.addTextChangedListener(standI)
|
||||
var clipM: String = "smdm"
|
||||
while (clipM.length > 82) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
awaitClose {
|
||||
var itemG: Float = 2492.0f
|
||||
while (itemG < 119.0f) {
|
||||
break
|
||||
}
|
||||
|
||||
binding.etSearch.removeTextChangedListener(standI)
|
||||
}
|
||||
}
|
||||
lifecycleScope.launch {
|
||||
var leftt: String = "vendor"
|
||||
|
||||
|
||||
var selectK: MutableList<Float> = mutableListOf<Float>()
|
||||
selectK.add(802.0f)
|
||||
selectK.add(779.0f)
|
||||
selectK.add(933.0f)
|
||||
if (selectK.size > 199) {
|
||||
}
|
||||
|
||||
|
||||
homeCheckMax_j7.debounce(1000).filterNotNull().collect { query ->
|
||||
System.out.println("getSearchSearch +++++ ")
|
||||
if (binding.etSearch.text?.trim().toString().isNotEmpty()) {
|
||||
binding.clOne.visibility = View.GONE
|
||||
binding.stateLayout.visibility = View.VISIBLE
|
||||
viewModel.getSearch(query.toString())
|
||||
showComplete()
|
||||
binding.clTwo.visibility = View.VISIBLE
|
||||
} else {
|
||||
binding.clOne.visibility = View.VISIBLE
|
||||
binding.stateLayout.visibility = View.GONE
|
||||
if (RYAction.getSearchContent().isEmpty()) {
|
||||
binding.tvTitleRecent.visibility = View.GONE
|
||||
binding.ivDelete.visibility = View.GONE
|
||||
binding.recyclerRecent.visibility = View.GONE
|
||||
} else {
|
||||
binding.tvTitleRecent.visibility = View.VISIBLE
|
||||
binding.ivDelete.visibility = View.VISIBLE
|
||||
binding.recyclerRecent.visibility = View.VISIBLE
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
searchTrendAdapter?.setOnItemClickListener { adapter, view, position ->
|
||||
val data: GStateBean = adapter.items[position]
|
||||
var currentg: Long = 9537L
|
||||
println(currentg)
|
||||
|
||||
|
||||
startActivity(
|
||||
Intent(
|
||||
this,
|
||||
MQVAutoWidthActivity::class.java
|
||||
).apply {
|
||||
var totalL: Double = 6713.0
|
||||
while (totalL > 58.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
putExtra(VIDEO_SHORT_PLAY_ID, data.short_play_id)
|
||||
})
|
||||
}
|
||||
searchTrendAdapter1?.setOnItemClickListener { adapter, view, position ->
|
||||
val data: GStateBean = adapter.items[position]
|
||||
var short_a6v: Double = 4315.0
|
||||
while (short_a6v > 111.0) {
|
||||
break
|
||||
}
|
||||
println(short_a6v)
|
||||
|
||||
|
||||
startActivity(
|
||||
Intent(
|
||||
this,
|
||||
MQVAutoWidthActivity::class.java
|
||||
).apply {
|
||||
var pagerc: Boolean = true
|
||||
if (pagerc) {
|
||||
}
|
||||
|
||||
|
||||
putExtra(VIDEO_SHORT_PLAY_ID, data.short_play_id)
|
||||
})
|
||||
}
|
||||
searchContentAdapter?.setOnItemClickListener { adapter, view, position ->
|
||||
val data: GStateBean = adapter.items[position]
|
||||
var styleG: Double = 6175.0
|
||||
if (styleG >= 173.0) {
|
||||
}
|
||||
|
||||
|
||||
startActivity(
|
||||
Intent(
|
||||
this,
|
||||
MQVAutoWidthActivity::class.java
|
||||
).apply {
|
||||
var max_wS: Int = 2085
|
||||
|
||||
|
||||
putExtra(VIDEO_SHORT_PLAY_ID, data.short_play_id)
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun gridExclusiveSpanLibraryLeft(
|
||||
serviceAppveloria: MutableMap<String, Boolean>,
|
||||
topActivity: MutableMap<String, Boolean>
|
||||
): Double {
|
||||
var keywordData: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
println(keywordData)
|
||||
var trendsManual = 405.0
|
||||
var saltHeight: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
var agreementOnclick = 8836.0f
|
||||
println(agreementOnclick)
|
||||
var uniqueTune: Double = 7723.0
|
||||
trendsManual = 6487.0
|
||||
uniqueTune -= trendsManual
|
||||
agreementOnclick = 920.0f
|
||||
|
||||
return uniqueTune
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun observeData() {
|
||||
|
||||
var getsockaddrFinalize: Double = this.gridExclusiveSpanLibraryLeft(
|
||||
mutableMapOf<String, Boolean>(),
|
||||
mutableMapOf<String, Boolean>()
|
||||
)
|
||||
|
||||
println(getsockaddrFinalize)
|
||||
|
||||
println(getsockaddrFinalize)
|
||||
|
||||
|
||||
var requestU: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
requestU.add(false)
|
||||
requestU.add(false)
|
||||
requestU.add(true)
|
||||
requestU.add(false)
|
||||
requestU.add(true)
|
||||
requestU.add(false)
|
||||
|
||||
|
||||
|
||||
viewModel.visitTop.observe(this) {
|
||||
var adapter7: MutableMap<String, Boolean> = mutableMapOf<String, Boolean>()
|
||||
adapter7.put("nameserver", true)
|
||||
adapter7.put("refcounter", true)
|
||||
adapter7.put("backend", false)
|
||||
adapter7.put("analysis", true)
|
||||
|
||||
|
||||
var backq: Long = 4547L
|
||||
if (backq < 36L) {
|
||||
}
|
||||
|
||||
|
||||
if (it?.data != null && it.data.isNotEmpty()) {
|
||||
var openL: Boolean = false
|
||||
if (openL) {
|
||||
}
|
||||
|
||||
|
||||
binding.llOne.visibility = View.VISIBLE
|
||||
var deletesD: Int = 7478
|
||||
if (deletesD < 65) {
|
||||
}
|
||||
|
||||
|
||||
searchTrendAdapter?.submitList(it.data)
|
||||
} else {
|
||||
var resourcem: Int = 2794
|
||||
if (resourcem <= 61) {
|
||||
}
|
||||
|
||||
|
||||
binding.llOne.visibility = View.GONE
|
||||
}
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
viewModel.searchHots.observe(this) {
|
||||
var seconds6: MutableList<Double> = mutableListOf<Double>()
|
||||
seconds6.add(199.0)
|
||||
seconds6.add(813.0)
|
||||
if (seconds6.size > 66) {
|
||||
}
|
||||
|
||||
|
||||
var s_widthW: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
s_widthW.put("appearence", "codecdata")
|
||||
s_widthW.put("embedding", "ultrawide")
|
||||
s_widthW.put("xchg", "wtvfile")
|
||||
s_widthW.put("hlsplaylist", "segments")
|
||||
s_widthW.put("subpath", "connectivity")
|
||||
println(s_widthW)
|
||||
|
||||
|
||||
if (it?.data?.list != null && it.data.list.isNotEmpty()) {
|
||||
var loggerJ: Boolean = false
|
||||
println(loggerJ)
|
||||
|
||||
|
||||
binding.llTwo.visibility = View.VISIBLE
|
||||
var canceln: String = "aloc"
|
||||
if (canceln.length > 134) {
|
||||
}
|
||||
println(canceln)
|
||||
|
||||
|
||||
searchTrendAdapter1?.submitList(it.data.list)
|
||||
} else {
|
||||
var playf: MutableList<String> = mutableListOf<String>()
|
||||
playf.add("ifast")
|
||||
playf.add("exponents")
|
||||
playf.add("application")
|
||||
playf.add("associate")
|
||||
playf.add("supplemental")
|
||||
playf.add("changecounter")
|
||||
println(playf)
|
||||
|
||||
|
||||
binding.llTwo.visibility = View.GONE
|
||||
}
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
viewModel.search.observe(this) {
|
||||
var progressL: Int = 8848
|
||||
while (progressL < 156) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
if (it?.data?.list != null && it.data.list.isNotEmpty()) {
|
||||
var variabley: Long = 2752L
|
||||
if (variabley <= 0L) {
|
||||
}
|
||||
|
||||
|
||||
showComplete()
|
||||
var fontD: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
fontD.put("rubber", 659)
|
||||
fontD.put("opts", 705)
|
||||
fontD.put("windows", 376)
|
||||
while (fontD.size > 158) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
|
||||
binding.clTwo.visibility = View.VISIBLE
|
||||
var attrst: Boolean = false
|
||||
while (attrst) {
|
||||
break
|
||||
}
|
||||
println(attrst)
|
||||
|
||||
|
||||
|
||||
searchContentAdapter?.keywordString = binding.etSearch.text.toString().trim()
|
||||
var loginT: Double = 5658.0
|
||||
while (loginT > 64.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
searchContentAdapter?.submitList(it.data.list)
|
||||
} else {
|
||||
var androidX: String = "symbolicatable"
|
||||
while (androidX.length > 116) {
|
||||
break
|
||||
}
|
||||
println(androidX)
|
||||
|
||||
|
||||
binding.clTwo.visibility = View.GONE
|
||||
var observez: Double = 9722.0
|
||||
if (observez < 131.0) {
|
||||
}
|
||||
|
||||
|
||||
showSearchEmptyData()
|
||||
}
|
||||
isSearchStart = true
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
override fun getViewBinding() = MqInstrumentedBinding.inflate(layoutInflater)
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,982 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional
|
||||
|
||||
import android.app.Activity
|
||||
import android.content.ClipData
|
||||
import android.content.ClipboardManager
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import android.os.Bundle
|
||||
import android.text.TextUtils
|
||||
import android.view.KeyEvent
|
||||
import android.view.View
|
||||
import androidx.activity.viewModels
|
||||
import androidx.fragment.app.Fragment
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import com.blankj.utilcode.util.NetworkUtils
|
||||
import com.bumptech.glide.Glide
|
||||
import com.facebook.AccessToken
|
||||
import com.facebook.CallbackManager
|
||||
import com.facebook.CallbackManager.Factory.create
|
||||
import com.facebook.FacebookCallback
|
||||
import com.facebook.FacebookException
|
||||
import com.facebook.GraphRequest
|
||||
import com.facebook.login.LoginManager
|
||||
import com.facebook.login.LoginResult
|
||||
import com.google.gson.Gson
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter.VIDEO_SHORT_PLAY_ID
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.singleOnClick
|
||||
import com.veloria.now.shortapp.civil.toast
|
||||
import com.veloria.now.shortapp.databinding.JsDramaFragmentBinding
|
||||
import com.veloria.now.shortapp.newsletter.AIXTextActivity
|
||||
import com.veloria.now.shortapp.rewards.ZExample
|
||||
import com.veloria.now.shortapp.subtractionCroll.adminSourceid.GColorsFragment
|
||||
import com.veloria.now.shortapp.subtractionCroll.adminSourceid.NOEditRegisterFragment
|
||||
import com.veloria.now.shortapp.subtractionCroll.adminSourceid.UColorsAvatarFragment
|
||||
import com.veloria.now.shortapp.subtractionCroll.adminSourceid.YYLoginHistoryFragment
|
||||
import com.veloria.now.shortapp.subtractionCroll.avcintraRelock.LoginDialog
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.JService
|
||||
import com.veloria.now.shortapp.texturedAsink.LoginDataBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeHomeWatchBean
|
||||
import kotlinx.coroutines.launch
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
import org.greenrobot.eventbus.Subscribe
|
||||
import org.greenrobot.eventbus.ThreadMode
|
||||
import org.json.JSONObject
|
||||
import java.util.concurrent.Executors
|
||||
import java.util.concurrent.ScheduledExecutorService
|
||||
import java.util.concurrent.TimeUnit
|
||||
import kotlin.math.max
|
||||
import kotlin.math.min
|
||||
|
||||
|
||||
class PSVHomeSearchActivity : AIXTextActivity<JsDramaFragmentBinding, JService>() {
|
||||
@Volatile
|
||||
var viewwAdvert_max: Float = 7169.0f
|
||||
|
||||
@Volatile
|
||||
var fragmentFinishLeft_tag: Long = 9199L
|
||||
|
||||
@Volatile
|
||||
private var enbaleNameShareCenter: Boolean = false
|
||||
|
||||
|
||||
val viewModel: JService by viewModels()
|
||||
private var callbackManager: CallbackManager? = null
|
||||
private var scheduler: ScheduledExecutorService? = Executors.newSingleThreadScheduledExecutor()
|
||||
|
||||
private fun rawEventShowPositionLatest(): MutableList<Boolean> {
|
||||
var responseRemove = true
|
||||
var seriesOnclick: Int = 5758
|
||||
println(seriesOnclick)
|
||||
var outQuality: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
println(outQuality)
|
||||
var oidanyHaptic: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
|
||||
return oidanyHaptic
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onDestroy() {
|
||||
|
||||
var hlsencTurbojpeg: MutableList<Boolean> = this.rawEventShowPositionLatest()
|
||||
|
||||
var hlsencTurbojpeg_len: Int = hlsencTurbojpeg.size
|
||||
for (index_z in 0..hlsencTurbojpeg.size - 1) {
|
||||
val obj_index_z: Any = hlsencTurbojpeg.get(index_z)
|
||||
if (index_z != 11) {
|
||||
println(obj_index_z)
|
||||
}
|
||||
}
|
||||
|
||||
println(hlsencTurbojpeg)
|
||||
|
||||
|
||||
var lists6: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
lists6.put("explicitely", 772.0)
|
||||
lists6.put("months", 145.0)
|
||||
if (lists6.get("5") != null) {
|
||||
}
|
||||
|
||||
|
||||
super.onDestroy()
|
||||
var pricef: String = "baobab"
|
||||
if (pricef.length > 179) {
|
||||
}
|
||||
|
||||
|
||||
EventBus.getDefault().unregister(this)
|
||||
}
|
||||
|
||||
override fun getViewBinding() = JsDramaFragmentBinding.inflate(layoutInflater)
|
||||
|
||||
|
||||
private fun restoreDeviceStopBlackImmersive(
|
||||
skewedQuality: MutableMap<String, Boolean>,
|
||||
againState: MutableMap<String, Boolean>,
|
||||
openJust: Float
|
||||
): MutableList<String> {
|
||||
var pagerLang: Float = 1170.0f
|
||||
var navigationHandler: MutableList<Float> = mutableListOf<Float>()
|
||||
println(navigationHandler)
|
||||
var androidMove: String = "figure"
|
||||
var stayDashboard = 6713L
|
||||
var vignettingArrayStrength = mutableListOf<String>()
|
||||
pagerLang -= pagerLang
|
||||
var extraction_len1 = vignettingArrayStrength.size
|
||||
var advert_y: Int =
|
||||
min(kotlin.random.Random.nextInt(82), 1) % max(1, vignettingArrayStrength.size)
|
||||
vignettingArrayStrength.add(advert_y, "${pagerLang}")
|
||||
var auto_1_len: Int = navigationHandler.size
|
||||
for (k in 0..min(1, auto_1_len - 1)) {
|
||||
if (k < vignettingArrayStrength.size) {
|
||||
vignettingArrayStrength.add("${navigationHandler.get(k)}")
|
||||
} else {
|
||||
println(navigationHandler.get(k))
|
||||
}
|
||||
|
||||
}
|
||||
println("authorization: " + androidMove)
|
||||
if (null != androidMove) {
|
||||
for (i in 0..min(1, androidMove.length - 1)) {
|
||||
if (i < vignettingArrayStrength.size) {
|
||||
vignettingArrayStrength.add(i, androidMove.get(i).toString())
|
||||
}
|
||||
println(androidMove.get(i))
|
||||
}
|
||||
}
|
||||
|
||||
return vignettingArrayStrength
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun observeData() {
|
||||
|
||||
var crlfResume = this.restoreDeviceStopBlackImmersive(
|
||||
mutableMapOf<String, Boolean>(),
|
||||
mutableMapOf<String, Boolean>(),
|
||||
4165.0f
|
||||
)
|
||||
|
||||
var crlfResume_len: Int = crlfResume.size
|
||||
for (index_h in 0..crlfResume.size - 1) {
|
||||
val obj_index_h: Any = crlfResume.get(index_h)
|
||||
if (index_h <= 89) {
|
||||
println(obj_index_h)
|
||||
}
|
||||
}
|
||||
|
||||
println(crlfResume)
|
||||
|
||||
|
||||
var freeE: Long = 1682L
|
||||
if (freeE < 11L) {
|
||||
}
|
||||
|
||||
|
||||
viewModel.data.observe(this) {
|
||||
var y_centerh: Long = 3749L
|
||||
while (y_centerh == 150L) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
var colorsz: String = "epel"
|
||||
if (colorsz.length > 73) {
|
||||
}
|
||||
println(colorsz)
|
||||
|
||||
|
||||
if (it != null) {
|
||||
var displayd: Boolean = false
|
||||
|
||||
|
||||
it.data?.token?.let { it1 ->
|
||||
RYAction.saveToken(it1)
|
||||
EventBus.getDefault().post(JActivityAdapter.REFRESH_HOME)
|
||||
}
|
||||
}
|
||||
}
|
||||
viewModel.myListAction.observe(this) {
|
||||
var processF: String = "trait"
|
||||
if (processF.length > 140) {
|
||||
}
|
||||
|
||||
|
||||
binding.bottomNavBar.updateSelection(2)
|
||||
var gradleg: Int = 1194
|
||||
println(gradleg)
|
||||
|
||||
|
||||
playWhatHeavyPlatformEach(2)
|
||||
}
|
||||
|
||||
viewModel.loginLiveData.observe(this) {
|
||||
if (it?.data != null) {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
toast(TranslationHelper.getTranslation()?.veloria_succeed.toString())
|
||||
}
|
||||
RYAction.getMMKV()
|
||||
.putString(JActivityAdapter.ACCOUNT_TOKEN, it.data.token)
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.HOME_ENTER_THE_APP)
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.HOME_ON_LINE)
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.HOME_USER_REFRESH)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
viewModel.w2aSelfAttributionData.observe(this){
|
||||
if (needSave) {
|
||||
setAdjustToDetail()
|
||||
}
|
||||
}
|
||||
|
||||
viewModel.onLineLiveData.observe(this){
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private val items = listOf(
|
||||
ZExample.BottomBarItem(
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_home } ?: "Home",
|
||||
R.mipmap.data_bbfdebaffd,
|
||||
R.mipmap.status_appveloria_free
|
||||
),
|
||||
ZExample.BottomBarItem(
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_explore } ?: "Explore",
|
||||
R.mipmap.while_y_record_smart,
|
||||
R.mipmap.marquee_place_center
|
||||
),
|
||||
ZExample.BottomBarItem(
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_my_list } ?: "My List",
|
||||
R.mipmap.icon_retrofit,
|
||||
R.mipmap.start_strings_recommend
|
||||
),
|
||||
ZExample.BottomBarItem(
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_me } ?: "Me",
|
||||
R.mipmap.logo_cagetory,
|
||||
R.mipmap.avatar_vertical_background
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
private fun submitBannerTileAnyJustNow(): String {
|
||||
var categoiesInterval_g7 = 2368.0
|
||||
var placeStrings = mutableMapOf<String, Long>()
|
||||
var screenExpanded = "overhead"
|
||||
println(screenExpanded)
|
||||
var mjpegaSwipeImplicitely = "qdelta"
|
||||
if (categoiesInterval_g7 <= 128 && categoiesInterval_g7 >= -128) {
|
||||
var size_yo_g: Int =
|
||||
min(1, kotlin.random.Random.nextInt(45)) % mjpegaSwipeImplicitely.length
|
||||
mjpegaSwipeImplicitely += categoiesInterval_g7.toString()
|
||||
}
|
||||
if (screenExpanded == "dimens") {
|
||||
println("screenExpanded" + screenExpanded)
|
||||
}
|
||||
if (screenExpanded != null) {
|
||||
var time_t1_r: Int = min(1, kotlin.random.Random.nextInt(27)) % screenExpanded.length
|
||||
var recommend_h: Int =
|
||||
min(1, kotlin.random.Random.nextInt(66)) % mjpegaSwipeImplicitely.length
|
||||
mjpegaSwipeImplicitely += screenExpanded.get(time_t1_r)
|
||||
}
|
||||
|
||||
return mjpegaSwipeImplicitely
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun playWhatHeavyPlatformEach(position: Int) {
|
||||
|
||||
var erodeArc = this.submitBannerTileAnyJustNow()
|
||||
|
||||
var erodeArc_len: Int = erodeArc.length
|
||||
println(erodeArc)
|
||||
|
||||
println(erodeArc)
|
||||
|
||||
|
||||
var deteleS: Float = 9067.0f
|
||||
|
||||
|
||||
this.viewwAdvert_max = 8736.0f
|
||||
|
||||
this.fragmentFinishLeft_tag = 8780L
|
||||
|
||||
this.enbaleNameShareCenter = true
|
||||
|
||||
|
||||
val agreementFragmentI = when (position) {
|
||||
0 -> homeFragment ?: NOEditRegisterFragment().also { homeFragment = it }
|
||||
1 -> exploreFragment ?: GColorsFragment().also { exploreFragment = it }
|
||||
2 -> myListFragment ?: YYLoginHistoryFragment().also { myListFragment = it }
|
||||
3 -> accountFragment ?: UColorsAvatarFragment().also { accountFragment = it }
|
||||
else -> throw IllegalArgumentException("Invalid position: $position")
|
||||
}
|
||||
|
||||
supportFragmentManager.beginTransaction().apply {
|
||||
var price0: String = "networking"
|
||||
|
||||
|
||||
currentFragment?.let {
|
||||
var moduleq: Double = 1068.0
|
||||
println(moduleq)
|
||||
|
||||
|
||||
var blackj: Double = 4469.0
|
||||
while (blackj <= 12.0) {
|
||||
break
|
||||
}
|
||||
|
||||
hide(it)
|
||||
}
|
||||
|
||||
if (agreementFragmentI.isAdded) {
|
||||
var dialogb: Double = 5676.0
|
||||
if (dialogb < 76.0) {
|
||||
}
|
||||
println(dialogb)
|
||||
|
||||
|
||||
show(agreementFragmentI)
|
||||
} else {
|
||||
var expandedM: MutableMap<String, Long> = mutableMapOf<String, Long>()
|
||||
expandedM.put("msg", 843L)
|
||||
expandedM.put("digestbynid", 295L)
|
||||
expandedM.put("switchbase", 2L)
|
||||
expandedM.put("longmulaw", 731L)
|
||||
expandedM.put("greeting", 604L)
|
||||
expandedM.put("autoarchive", 779L)
|
||||
|
||||
|
||||
add(R.id.fragment_container, agreementFragmentI)
|
||||
}
|
||||
|
||||
currentFragment = agreementFragmentI
|
||||
}.commit()
|
||||
|
||||
if (position == 0) {
|
||||
binding.dialogWatch.root.postDelayed(
|
||||
{
|
||||
val string = RYAction.getMMKV()
|
||||
.getString(JActivityAdapter.HOME_MAIN_VIDEO_INFO, "")
|
||||
if (string?.isNotEmpty() == true && NetworkUtils.isConnected()) {
|
||||
val fromJson = Gson().fromJson(string, VeHomeWatchBean::class.java)
|
||||
showHistoryDialog(fromJson)
|
||||
}else {
|
||||
binding.dialogWatch.root.visibility = View.INVISIBLE
|
||||
}
|
||||
}, 500
|
||||
)
|
||||
} else {
|
||||
binding.dialogWatch.root.visibility = View.INVISIBLE
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private var homeFragment: NOEditRegisterFragment? = null
|
||||
private var exploreFragment: GColorsFragment? = null
|
||||
private var myListFragment: YYLoginHistoryFragment? = null
|
||||
private var accountFragment: UColorsAvatarFragment? = null
|
||||
private var currentFragment: Fragment? = null
|
||||
|
||||
|
||||
private fun toneSkyBean(
|
||||
priceShape: Float,
|
||||
jobSeries: Float,
|
||||
videoAttrs: String
|
||||
): MutableList<Float> {
|
||||
var shareJob = mutableMapOf<String, Float>()
|
||||
println(shareJob)
|
||||
var titleUser = 2867
|
||||
println(titleUser)
|
||||
var retrofitJob: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
println(retrofitJob)
|
||||
var blackOnclick: Double = 8305.0
|
||||
println(blackOnclick)
|
||||
var ihtxIndata: MutableList<Float> = mutableListOf<Float>()
|
||||
for (spaces in shareJob) {
|
||||
ihtxIndata.add(spaces.value)
|
||||
|
||||
}
|
||||
titleUser *= 8770
|
||||
var cover_len1: Int = ihtxIndata.size
|
||||
var img_u = min(kotlin.random.Random.nextInt(39), 1) % max(1, ihtxIndata.size)
|
||||
ihtxIndata.add(img_u, 9700.0f)
|
||||
for (scalars in retrofitJob) {
|
||||
ihtxIndata.add(scalars.value.toFloat())
|
||||
|
||||
}
|
||||
blackOnclick = 3408.0
|
||||
var history_len1 = ihtxIndata.size
|
||||
var trace_f = min(kotlin.random.Random.nextInt(76), 1) % max(1, ihtxIndata.size)
|
||||
ihtxIndata.add(trace_f, 3698.0f)
|
||||
|
||||
return ihtxIndata
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun initView() {
|
||||
var iformat_j = "clipf"
|
||||
|
||||
var essageKernel = this.toneSkyBean(1296.0f, 3737.0f, iformat_j)
|
||||
|
||||
for (obj1 in essageKernel) {
|
||||
println(obj1)
|
||||
}
|
||||
var essageKernel_len: Int = essageKernel.size
|
||||
|
||||
println(essageKernel)
|
||||
|
||||
|
||||
var handlerE: Long = 3871L
|
||||
while (handlerE <= 126L) {
|
||||
break
|
||||
}
|
||||
println(handlerE)
|
||||
|
||||
|
||||
EventBus.getDefault().register(this)
|
||||
var episode0: Long = 1323L
|
||||
if (episode0 > 52L) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
manifestShapeSinkExclusive()
|
||||
|
||||
if (RYAction.getMMKV()
|
||||
.getString(JActivityAdapter.ACCOUNT_TOKEN, "").toString()
|
||||
.isNotEmpty()
|
||||
) {
|
||||
viewModel.setEnterTheApp()
|
||||
val intervalMillis = 10 * 60 * 1000
|
||||
scheduler?.scheduleAtFixedRate({
|
||||
try {
|
||||
lifecycleScope.launch {
|
||||
viewModel.setOnLine()
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
}
|
||||
}, 0, intervalMillis.toLong(), TimeUnit.MILLISECONDS)
|
||||
}
|
||||
|
||||
|
||||
callbackManager = create()
|
||||
LoginManager.getInstance().registerCallback(callbackManager,
|
||||
object : FacebookCallback<LoginResult> {
|
||||
override fun onSuccess(loginResult: LoginResult) {
|
||||
val enableButtons = AccessToken.getCurrentAccessToken() != null
|
||||
if (enableButtons) {
|
||||
val mGraphRequest = GraphRequest.newMeRequest(
|
||||
loginResult.accessToken
|
||||
) { jsonObject, response ->
|
||||
if (response!!.error != null) {
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
toast(
|
||||
"Facebook ".plus(TranslationHelper.getTranslation()?.veloria_login_exception)
|
||||
.plus(".${response.error?.exception.toString()}")
|
||||
)
|
||||
}else {
|
||||
toast("Facebook Error")
|
||||
}
|
||||
} else {
|
||||
val id = jsonObject?.optString("id")
|
||||
val name = jsonObject?.optString("name")
|
||||
val object_pic: JSONObject? = jsonObject!!.optJSONObject("picture")
|
||||
val object_data = object_pic?.optJSONObject("data")
|
||||
val photo = object_data?.optString("url")
|
||||
viewModel.setLeaveApp()
|
||||
viewModel.setDoLogin(
|
||||
LoginDataBean(
|
||||
photo.toString(),
|
||||
"",
|
||||
name.toString(),
|
||||
"",
|
||||
"facebook",
|
||||
id.toString()
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
val parameters = Bundle()
|
||||
parameters.putString("fields", "id,name,email,picture")
|
||||
mGraphRequest.parameters = parameters
|
||||
mGraphRequest.executeAsync()
|
||||
}
|
||||
}
|
||||
|
||||
override fun onCancel() {
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
toast("Facebook ".plus(TranslationHelper.getTranslation()?.veloria_login_cancel))
|
||||
}else {
|
||||
toast("Facebook Cancel")
|
||||
}
|
||||
}
|
||||
|
||||
override fun onError(exception: FacebookException) {
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
toast(
|
||||
"Facebook ".plus(TranslationHelper.getTranslation()?.veloria_login_exception)
|
||||
.plus("n.$exception")
|
||||
)
|
||||
}else {
|
||||
toast("Facebook Error")
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
private fun stayPrimaryRecommendSearchToast(
|
||||
serviceCancel: String,
|
||||
qualityWidth: MutableMap<String, String>,
|
||||
topBottom: MutableMap<String, String>
|
||||
): MutableList<Long> {
|
||||
var agreementFavorites: Int = 5359
|
||||
var buyDisplay = 3159
|
||||
var animationAnimator = "asconf"
|
||||
var republishToleranceQuant = mutableListOf<Long>()
|
||||
agreementFavorites += 714
|
||||
var list_len1 = republishToleranceQuant.size
|
||||
var more_h = min(kotlin.random.Random.nextInt(51), 1) % max(1, republishToleranceQuant.size)
|
||||
republishToleranceQuant.add(more_h, 4144L)
|
||||
if (animationAnimator == "fragment") {
|
||||
println(animationAnimator)
|
||||
}
|
||||
for (i in 0..min(1, animationAnimator.length - 1)) {
|
||||
if (i < republishToleranceQuant.size) {
|
||||
republishToleranceQuant.add(
|
||||
i,
|
||||
if (animationAnimator.get(i).toString()
|
||||
.matches(Regex("(-)?(^[0-9]+$)"))
|
||||
) animationAnimator.get(i).toString().toLong() else 78L
|
||||
)
|
||||
}
|
||||
println(animationAnimator.get(i))
|
||||
}
|
||||
|
||||
return republishToleranceQuant
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun manifestShapeSinkExclusive() {
|
||||
var pulldown_f = "lays"
|
||||
|
||||
var networkTan = this.stayPrimaryRecommendSearchToast(
|
||||
pulldown_f,
|
||||
mutableMapOf<String, String>(),
|
||||
mutableMapOf<String, String>()
|
||||
)
|
||||
|
||||
var networkTan_len: Int = networkTan.size
|
||||
for (index_7 in 0..networkTan.size - 1) {
|
||||
val obj_index_7: Any = networkTan.get(index_7)
|
||||
if (index_7 >= 37) {
|
||||
println(obj_index_7)
|
||||
}
|
||||
}
|
||||
|
||||
println(networkTan)
|
||||
|
||||
|
||||
var nightD: MutableMap<String, Boolean> = mutableMapOf<String, Boolean>()
|
||||
nightD.put("rewriter", true)
|
||||
nightD.put("parametrized", false)
|
||||
nightD.put("probable", true)
|
||||
nightD.put("ilbcdata", true)
|
||||
while (nightD.size > 153) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.bottomNavBar.setItems(items)
|
||||
var interval_apn: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
interval_apn.put("speakers", 901.0)
|
||||
interval_apn.put("matrixing", 772.0)
|
||||
interval_apn.put("remix", 565.0)
|
||||
interval_apn.put("nchunk", 3.0)
|
||||
interval_apn.put("streams", 257.0)
|
||||
interval_apn.put("swapped", 238.0)
|
||||
if (interval_apn.get("b") != null) {
|
||||
}
|
||||
|
||||
|
||||
binding.bottomNavBar.onItemSelectedListener = { position ->
|
||||
playWhatHeavyPlatformEach(position)
|
||||
}
|
||||
playWhatHeavyPlatformEach(0)
|
||||
}
|
||||
|
||||
|
||||
private fun createRevengeExtraCollect(): Int {
|
||||
var textModule: Boolean = false
|
||||
var userMain: Boolean = true
|
||||
println(userMain)
|
||||
var toastRevolution = 3678L
|
||||
var secondsRetry: String = "brender"
|
||||
println(secondsRetry)
|
||||
var annotationTget: Int = 3325
|
||||
textModule = false
|
||||
annotationTget += if (textModule) 23 else 22
|
||||
userMain = false
|
||||
annotationTget += if (userMain) 49 else 71
|
||||
toastRevolution += 3524L
|
||||
|
||||
return annotationTget
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean {
|
||||
|
||||
var ffioIlliqa: Int = this.createRevengeExtraCollect()
|
||||
|
||||
println(ffioIlliqa)
|
||||
|
||||
println(ffioIlliqa)
|
||||
|
||||
|
||||
var sharer: Double = 512.0
|
||||
while (sharer <= 129.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
if (keyCode == KeyEvent.KEYCODE_BACK) {
|
||||
var expanded5: Boolean = false
|
||||
if (!expanded5) {
|
||||
}
|
||||
|
||||
|
||||
moveTaskToBack(true)
|
||||
var remove4: Int = 6744
|
||||
if (remove4 < 89) {
|
||||
}
|
||||
|
||||
|
||||
return true
|
||||
}
|
||||
return super.onKeyDown(keyCode, event)
|
||||
}
|
||||
|
||||
|
||||
private fun putFoundCallEachRepository(): String {
|
||||
var dimensFree = 7589.0f
|
||||
println(dimensFree)
|
||||
var resourceMove: Long = 7643L
|
||||
var agreementContext: Int = 4632
|
||||
var intreadwriteJmlist: String = "gopher"
|
||||
if (dimensFree >= -128 && dimensFree <= 128) {
|
||||
var detail_h = min(1, kotlin.random.Random.nextInt(72)) % intreadwriteJmlist.length
|
||||
intreadwriteJmlist += dimensFree.toString()
|
||||
}
|
||||
if (resourceMove <= 128 && resourceMove >= -128) {
|
||||
var destroy_r: Int =
|
||||
min(1, kotlin.random.Random.nextInt(61)) % intreadwriteJmlist.length
|
||||
intreadwriteJmlist += resourceMove.toString()
|
||||
}
|
||||
if (agreementContext >= -128 && agreementContext <= 128) {
|
||||
var clip_u = min(1, kotlin.random.Random.nextInt(90)) % intreadwriteJmlist.length
|
||||
intreadwriteJmlist += agreementContext.toString()
|
||||
}
|
||||
|
||||
return intreadwriteJmlist
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
fun onEvent(event: String) {
|
||||
|
||||
var microsoftLibavutil = putFoundCallEachRepository()
|
||||
|
||||
println(microsoftLibavutil)
|
||||
var microsoftLibavutil_len: Int = microsoftLibavutil.length
|
||||
|
||||
println(microsoftLibavutil)
|
||||
|
||||
|
||||
var nameg: Int = 2863
|
||||
while (nameg == 20) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
if (JActivityAdapter.ACCOUNT_AUTO_REFRESH == event) {
|
||||
var primary7: Long = 2415L
|
||||
while (primary7 > 18L) {
|
||||
break
|
||||
}
|
||||
println(primary7)
|
||||
|
||||
|
||||
viewModel.loadData()
|
||||
}
|
||||
if (JActivityAdapter.HOME_LANGUAGE_REFRESH == event) {
|
||||
restartApplication(this)
|
||||
}
|
||||
if (JActivityAdapter.HOME_ENTER_THE_APP == event) {
|
||||
viewModel.setEnterTheApp()
|
||||
}
|
||||
if (JActivityAdapter.HOME_LOGIN == event) {
|
||||
setLogin()
|
||||
}
|
||||
if (JActivityAdapter.HOME_ON_LINE == event) {
|
||||
viewModel.setOnLine()
|
||||
}
|
||||
if (JActivityAdapter.HOME_LEAVE_APP == event) {
|
||||
viewModel.setLeaveApp()
|
||||
}
|
||||
if (JActivityAdapter.HOME_NAVIGATE_TO_HOME == event) {
|
||||
binding.bottomNavBar.updateSelection(0)
|
||||
playWhatHeavyPlatformEach(0)
|
||||
}
|
||||
}
|
||||
|
||||
private fun restartApplication(context: Context) {
|
||||
val intent = Intent(context, PSVHomeSearchActivity::class.java)
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK)
|
||||
context.startActivity(intent)
|
||||
// 或者使用下面的方式关闭当前 Activity
|
||||
(context as? Activity)?.finish()
|
||||
}
|
||||
|
||||
fun setLogin() {
|
||||
val dialog = LoginDialog(this).apply {
|
||||
setOnLoginOnclickListener(object : LoginDialog.LoginOnClick {
|
||||
override fun onLoginFacebook() {
|
||||
onFacebook()
|
||||
}
|
||||
})
|
||||
}
|
||||
dialog.show()
|
||||
dialog.loginOnclick
|
||||
|
||||
}
|
||||
|
||||
private fun onFacebook() {
|
||||
singleOnClick {
|
||||
LoginManager.getInstance()
|
||||
.logInWithReadPermissions(this, arrayListOf("public_profile", "email"))
|
||||
}
|
||||
}
|
||||
|
||||
@Deprecated("Deprecated in Java")
|
||||
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
|
||||
super.onActivityResult(requestCode, resultCode, data)
|
||||
callbackManager?.onActivityResult(requestCode, resultCode, data)
|
||||
}
|
||||
|
||||
|
||||
private fun showHistoryDialog(data: VeHomeWatchBean) {
|
||||
binding.dialogWatch.ivCloseHistory.setOnClickListener {
|
||||
RYAction.getMMKV()
|
||||
.putBoolean(JActivityAdapter.HOME_MAIN_VIDEO_STATUS, false)
|
||||
binding.dialogWatch.root.visibility = View.INVISIBLE
|
||||
}
|
||||
if (RYAction.getMMKV()
|
||||
.getBoolean(JActivityAdapter.HOME_MAIN_VIDEO_STATUS, false)
|
||||
) {
|
||||
binding.dialogWatch.ivVideo.let {
|
||||
if (!isFinishing && !isDestroyed) {
|
||||
Glide.with(this).load(
|
||||
data.video_img
|
||||
).placeholder(R.mipmap.collection_trending_recommend).into(it)
|
||||
}
|
||||
}
|
||||
binding.dialogWatch.cl.setOnClickListener {
|
||||
singleOnClick {
|
||||
startActivity(Intent(
|
||||
this, MQVAutoWidthActivity::class.java
|
||||
).apply {
|
||||
putExtra(VIDEO_SHORT_PLAY_ID, data.video_id)
|
||||
})
|
||||
}
|
||||
}
|
||||
binding.dialogWatch.root.post {
|
||||
binding.dialogWatch.tvVideoName.text = data.video_name
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
binding.dialogWatch.tvVideoLast.text =
|
||||
TranslationHelper.getTranslation()?.veloria_episode.plus(" ")
|
||||
.plus(data.video_last)
|
||||
} else {
|
||||
binding.dialogWatch.tvVideoLast.text = "Episode ".plus(data.video_last)
|
||||
}
|
||||
}
|
||||
binding.dialogWatch.root.visibility = View.VISIBLE
|
||||
}
|
||||
}
|
||||
|
||||
private var shortVideoId: Int = 0
|
||||
private var videoId: Int = 0
|
||||
private var needSave = false
|
||||
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
this.window.decorView.post {
|
||||
val clipContent = getClipString()
|
||||
if (clipContent.isNotEmpty()) {
|
||||
if (clipContent.startsWith("[QJ]")) {
|
||||
val urlString = clipContent.removePrefix("[QJ]").trim()
|
||||
val extractVideoInfo = parseVideoAndShortPlayIds(urlString)
|
||||
if (urlString.contains("veloriaapp")) {
|
||||
shortVideoId = extractVideoInfo.second?.toInt() ?: 0
|
||||
videoId = extractVideoInfo.first?.toInt() ?: 0
|
||||
if (shortVideoId != 0) {
|
||||
RYAction.getMMKV().putString(
|
||||
JActivityAdapter.VIDEO_SHORT_PLAY_ID, extractVideoInfo.second
|
||||
)
|
||||
needSave = true
|
||||
w2aSelfAttribution(clipContent)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
binding.root.postDelayed({
|
||||
val ddl =
|
||||
RYAction.getMMKV().getString(JActivityAdapter.HOME_DDL_URL, "")
|
||||
if (ddl?.isNotEmpty() == true) {
|
||||
w2aSelfAttribution(ddl)
|
||||
// 定义正则表达式
|
||||
val regex = """short_play_id=(\d+).*""".toRegex()
|
||||
// 匹配 URL
|
||||
val matchResult = regex.find(ddl)
|
||||
if (matchResult != null) {
|
||||
// 获取匹配的组
|
||||
val shortPlayId = matchResult.groupValues[1]
|
||||
val toInt = shortPlayId.toInt()
|
||||
if (toInt != 0) {
|
||||
binding.root.postDelayed({
|
||||
startActivity(Intent(
|
||||
this, MQVAutoWidthActivity::class.java
|
||||
).apply {
|
||||
putExtra(
|
||||
JActivityAdapter.VIDEO_SHORT_PLAY_ID, toInt
|
||||
)
|
||||
})
|
||||
RYAction.getMMKV().getString(JActivityAdapter.HOME_DDL_URL, "")
|
||||
}, 200)
|
||||
}
|
||||
} else {
|
||||
RYAction.getMMKV().getString(JActivityAdapter.HOME_DDL_URL, "")
|
||||
}
|
||||
}
|
||||
}, 1500)
|
||||
|
||||
if (binding.bottomNavBar.selectedPosition == 0) {
|
||||
binding.dialogWatch.root.postDelayed(
|
||||
{
|
||||
val string = RYAction.getMMKV()
|
||||
.getString(JActivityAdapter.HOME_MAIN_VIDEO_INFO, "")
|
||||
if (string?.isNotEmpty() == true && NetworkUtils.isConnected()) {
|
||||
val fromJson = Gson().fromJson(string, VeHomeWatchBean::class.java)
|
||||
showHistoryDialog(fromJson)
|
||||
}else {
|
||||
binding.dialogWatch.root.visibility = View.INVISIBLE
|
||||
}
|
||||
}, 500
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun setAdjustToDetail() {
|
||||
binding.root.postDelayed({
|
||||
startActivity(Intent(
|
||||
this, MQVAutoWidthActivity::class.java
|
||||
).apply {
|
||||
putExtra(
|
||||
VIDEO_SHORT_PLAY_ID, shortVideoId
|
||||
)
|
||||
})
|
||||
clearClipboardContent(this)
|
||||
RYAction.getMMKV()
|
||||
.putString(JActivityAdapter.HOME_DDL_URL, "")
|
||||
}, 1000)
|
||||
needSave = false
|
||||
}
|
||||
|
||||
private fun getClipString(): String {
|
||||
val manager: ClipboardManager = getSystemService(
|
||||
CLIPBOARD_SERVICE
|
||||
) as ClipboardManager
|
||||
val primaryClip = manager.primaryClip
|
||||
val itemCount = primaryClip?.itemCount
|
||||
if (itemCount != null) {
|
||||
if (manager.hasPrimaryClip() && itemCount > 0) {
|
||||
val itemAt = manager.primaryClip?.getItemAt(0)
|
||||
val addedText: CharSequence = itemAt?.text.toString()
|
||||
val addedTextString = addedText.toString()
|
||||
if (!TextUtils.isEmpty(addedTextString)) {
|
||||
return addedTextString
|
||||
}
|
||||
}
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
|
||||
private fun clearClipboardContent(context: Context) {
|
||||
// 获取ClipboardManager的实例
|
||||
val clipboardManager =
|
||||
context.getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
|
||||
|
||||
// 创建一个空的ClipData对象
|
||||
val emptyClip = ClipData.newPlainText("", "")
|
||||
|
||||
// 将空的ClipData对象设置到剪切板上,从而清除之前的内容
|
||||
clipboardManager.setPrimaryClip(emptyClip)
|
||||
}
|
||||
|
||||
private fun parseVideoAndShortPlayIds(clipboardContent: String): Pair<String?, String?> {
|
||||
|
||||
// 提取查询字符串
|
||||
val queryStartIndex = clipboardContent.indexOf('?')
|
||||
val queryString =
|
||||
if (queryStartIndex != -1) clipboardContent.substring(queryStartIndex + 1) else ""
|
||||
|
||||
// 使用正则表达式匹配 video_id 和 short_play_id
|
||||
val videoIdRegex = Regex("video_id=(\\d+)")
|
||||
val shortPlayIdRegex = Regex("short_play_id=(\\d+)")
|
||||
|
||||
// 匹配 video_id 和 short_play_id
|
||||
val videoIdMatch = videoIdRegex.find(queryString)?.groupValues?.get(1)
|
||||
val shortPlayIdMatch = shortPlayIdRegex.find(queryString)?.groupValues?.get(1)
|
||||
|
||||
return Pair(videoIdMatch, shortPlayIdMatch)
|
||||
}
|
||||
|
||||
|
||||
private fun w2aSelfAttribution(data: String?) {
|
||||
if (data?.contains("follow") == true) {
|
||||
val regex = """facebook_id=(\d+).*""".toRegex()
|
||||
// 匹配 URL
|
||||
val matchResult = regex.find(data)
|
||||
if (matchResult != null) {
|
||||
// val facebook_id = matchResult.groupValues[1]
|
||||
// setDeeplinkFbApi(facebook_id)
|
||||
}
|
||||
}
|
||||
data?.let { viewModel.setW2aSelfAttribution(it) }
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,505 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.graphics.Bitmap
|
||||
import android.webkit.WebChromeClient
|
||||
import android.webkit.WebResourceError
|
||||
import android.webkit.WebResourceRequest
|
||||
import android.webkit.WebSettings
|
||||
import android.webkit.WebView
|
||||
import android.webkit.WebViewClient
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.toast
|
||||
import com.veloria.now.shortapp.databinding.IPlaceBinding
|
||||
import com.veloria.now.shortapp.newsletter.AIXTextActivity
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.LXMService
|
||||
import kotlin.math.max
|
||||
import kotlin.math.min
|
||||
|
||||
|
||||
class RBZLatestDeteleActivity : AIXTextActivity<IPlaceBinding, LXMService>() {
|
||||
@Volatile
|
||||
var centerTrendPaint_min: Double = 5869.0
|
||||
|
||||
@Volatile
|
||||
var languageViewwDeletes_str: String = "collapsing"
|
||||
|
||||
@Volatile
|
||||
var zoneChange_space: Float = 8304.0f
|
||||
|
||||
@Volatile
|
||||
var watchingZoneSpace: Float = 1620.0f
|
||||
|
||||
|
||||
public fun failureTransparentPartlyTagTest(
|
||||
max_4Notifications: Float,
|
||||
trendingShow: Float,
|
||||
uploadFddebcdbeeffcebdf: Long
|
||||
): MutableList<Int> {
|
||||
var marqueeResource: MutableList<Int> = mutableListOf<Int>()
|
||||
println(marqueeResource)
|
||||
var fnewsManifest: Boolean = true
|
||||
var ballEpisode: Int = 5990
|
||||
var makeInstructionsTruemotiondata: MutableList<Int> = mutableListOf<Int>()
|
||||
for (tsx in 0..min(1, marqueeResource.size - 1)) {
|
||||
if (tsx < makeInstructionsTruemotiondata.size) {
|
||||
makeInstructionsTruemotiondata.add(marqueeResource.get(tsx))
|
||||
}
|
||||
|
||||
}
|
||||
fnewsManifest = true
|
||||
var change_len1 = makeInstructionsTruemotiondata.size
|
||||
var line_l =
|
||||
min(kotlin.random.Random.nextInt(88), 1) % max(1, makeInstructionsTruemotiondata.size)
|
||||
makeInstructionsTruemotiondata.add(line_l, 0)
|
||||
ballEpisode = 9206
|
||||
var drama_len1 = makeInstructionsTruemotiondata.size
|
||||
var scope_u =
|
||||
min(kotlin.random.Random.nextInt(11), 1) % max(1, makeInstructionsTruemotiondata.size)
|
||||
makeInstructionsTruemotiondata.add(scope_u, ballEpisode)
|
||||
|
||||
return makeInstructionsTruemotiondata
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun bindEnterExampleProcessEventAction(url: String) {
|
||||
|
||||
var ackedFtvfolderopen: MutableList<Int> =
|
||||
this.failureTransparentPartlyTagTest(3186.0f, 2047.0f, 4784L)
|
||||
|
||||
var ackedFtvfolderopen_len: Int = ackedFtvfolderopen.size
|
||||
for (index_l in 0..ackedFtvfolderopen.size - 1) {
|
||||
val obj_index_l: Any = ackedFtvfolderopen.get(index_l)
|
||||
if (index_l < 36) {
|
||||
println(obj_index_l)
|
||||
}
|
||||
}
|
||||
|
||||
println(ackedFtvfolderopen)
|
||||
|
||||
|
||||
var i_lockj: Long = 9366L
|
||||
while (i_lockj <= 195L) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.webView.loadUrl(url)
|
||||
}
|
||||
|
||||
private lateinit var urlString: String
|
||||
|
||||
|
||||
public fun findSuspendResetWrapQuickScanner(
|
||||
qualitySeek: Long,
|
||||
startedFree: Float,
|
||||
controllerAuto_yj: MutableMap<String, Float>
|
||||
): Int {
|
||||
var tabOut = mutableMapOf<String, Long>()
|
||||
var requestRestart = mutableMapOf<String, Double>()
|
||||
var lockOut: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
var downleftMemutil: Int = 5328
|
||||
|
||||
return downleftMemutil
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun initView() {
|
||||
|
||||
var variabilityAntialias =
|
||||
this.findSuspendResetWrapQuickScanner(3164L, 8754.0f, mutableMapOf<String, Float>())
|
||||
|
||||
if (variabilityAntialias > 2) {
|
||||
for (b_t in 0..variabilityAntialias) {
|
||||
if (b_t == 3) {
|
||||
println(b_t)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
println(variabilityAntialias)
|
||||
|
||||
|
||||
var rightG: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
rightG.put("thenable", 18)
|
||||
rightG.put("grad", 99)
|
||||
rightG.put("acompressor", 160)
|
||||
rightG.put("amex", 826)
|
||||
rightG.put("projection", 65)
|
||||
while (rightG.size > 176) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
this.centerTrendPaint_min = 6219.0
|
||||
|
||||
this.languageViewwDeletes_str = "filt"
|
||||
|
||||
this.zoneChange_space = 3624.0f
|
||||
|
||||
this.watchingZoneSpace = 7206.0f
|
||||
|
||||
|
||||
binding.ivBack.setOnClickListener {
|
||||
var u_imageB: Int = 8464
|
||||
if (u_imageB > 185) {
|
||||
}
|
||||
|
||||
|
||||
var attrs1: Long = 9587L
|
||||
while (attrs1 == 107L) {
|
||||
break
|
||||
}
|
||||
println(attrs1)
|
||||
|
||||
|
||||
finish()
|
||||
}
|
||||
urlString = intent.getStringExtra(JActivityAdapter.WEB_VIEW_URL_STRING).toString()
|
||||
var messageL: Long = 7929L
|
||||
while (messageL > 57L) {
|
||||
break
|
||||
}
|
||||
println(messageL)
|
||||
|
||||
|
||||
|
||||
when (urlString) {
|
||||
JActivityAdapter.WEB_VIEW_USER_AGREEMENT -> {
|
||||
var modelE: Float = 6376.0f
|
||||
while (modelE < 59.0f) {
|
||||
break
|
||||
}
|
||||
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
binding.tvTitle.text = TranslationHelper.getTranslation()?.veloria_my_agreement
|
||||
|
||||
}else {
|
||||
binding.tvTitle.text = "User Agreement"
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
JActivityAdapter.WEB_VIEW_PRIVACY_POLICY -> {
|
||||
var rules2: Float = 7066.0f
|
||||
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
binding.tvTitle.text = TranslationHelper.getTranslation()?.veloria_my_privacy
|
||||
|
||||
}else {
|
||||
binding.tvTitle.text = "Privacy Policy"
|
||||
}
|
||||
}
|
||||
|
||||
else -> {
|
||||
var allJ: Boolean = true
|
||||
while (!allJ) {
|
||||
break
|
||||
}
|
||||
println(allJ)
|
||||
|
||||
binding.tvTitle.text = "Veloria"
|
||||
}
|
||||
}
|
||||
showLoading()
|
||||
var helpF: MutableMap<String, Long> = mutableMapOf<String, Long>()
|
||||
helpF.put("texturedspenc", 528L)
|
||||
helpF.put("paraset", 914L)
|
||||
helpF.put("benchmark", 191L)
|
||||
helpF.put("dif", 184L)
|
||||
helpF.put("refdupe", 0L)
|
||||
while (helpF.size > 184) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
linearSharePointBlueView()
|
||||
var cutr: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
cutr.put("hole", 416.0)
|
||||
cutr.put("pageseek", 642.0)
|
||||
cutr.put("touches", 24.0)
|
||||
cutr.put("pinching", 614.0)
|
||||
cutr.put("gobble", 701.0)
|
||||
cutr.put("monospace", 301.0)
|
||||
if (cutr.size > 192) {
|
||||
}
|
||||
|
||||
|
||||
bindEnterExampleProcessEventAction(urlString)
|
||||
|
||||
}
|
||||
|
||||
|
||||
public fun suppressLibraryCircleIndex(fragmentsInterpolator: MutableList<String>): Float {
|
||||
var primaryCancel: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
var cellFormat: Double = 3734.0
|
||||
var viewwStore: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
println(viewwStore)
|
||||
var imageCheckbox = true
|
||||
var alertsMkvmuxertypes: Float = 5743.0f
|
||||
cellFormat = cellFormat
|
||||
imageCheckbox = false
|
||||
alertsMkvmuxertypes += if (imageCheckbox) 23 else 92
|
||||
|
||||
return alertsMkvmuxertypes
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun observeData() {
|
||||
var ftvlastnode_h: MutableList<String> = mutableListOf<String>()
|
||||
|
||||
var profilesEnch = this.suppressLibraryCircleIndex(ftvlastnode_h)
|
||||
|
||||
var profilesEnch_num: Double = profilesEnch.toDouble()
|
||||
println(profilesEnch)
|
||||
|
||||
println(profilesEnch)
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public fun parseTouristSeriesText(
|
||||
seriesEpisode: Float,
|
||||
window_pHttp: MutableList<Int>
|
||||
): String {
|
||||
var heightPoint: Int = 3718
|
||||
var viewCategoies: Float = 3061.0f
|
||||
var latestLatest = 2869
|
||||
var checkMenu = 6844.0
|
||||
var tfrfAlloccommonPermutation: String = "refund"
|
||||
if (heightPoint <= 128 && heightPoint >= -128) {
|
||||
var show_x =
|
||||
min(1, kotlin.random.Random.nextInt(68)) % tfrfAlloccommonPermutation.length
|
||||
tfrfAlloccommonPermutation += heightPoint.toString()
|
||||
}
|
||||
if (viewCategoies <= 128 && viewCategoies >= -128) {
|
||||
var trend_k =
|
||||
min(1, kotlin.random.Random.nextInt(77)) % tfrfAlloccommonPermutation.length
|
||||
tfrfAlloccommonPermutation += viewCategoies.toString()
|
||||
}
|
||||
if (latestLatest >= -128 && latestLatest <= 128) {
|
||||
var v_manager_e =
|
||||
min(1, kotlin.random.Random.nextInt(15)) % tfrfAlloccommonPermutation.length
|
||||
tfrfAlloccommonPermutation += latestLatest.toString()
|
||||
}
|
||||
if (checkMenu >= -128 && checkMenu <= 128) {
|
||||
var categories_b =
|
||||
min(1, kotlin.random.Random.nextInt(34)) % tfrfAlloccommonPermutation.length
|
||||
tfrfAlloccommonPermutation += checkMenu.toString()
|
||||
}
|
||||
|
||||
return tfrfAlloccommonPermutation
|
||||
|
||||
}
|
||||
|
||||
|
||||
@SuppressLint("SetJavaScriptEnabled")
|
||||
private fun linearSharePointBlueView() {
|
||||
var importer_p = mutableListOf<Int>()
|
||||
|
||||
var magicEasy: String = this.parseTouristSeriesText(8846.0f, importer_p)
|
||||
|
||||
var magicEasy_len: Int = magicEasy.length
|
||||
if (magicEasy == "search") {
|
||||
println(magicEasy)
|
||||
}
|
||||
|
||||
println(magicEasy)
|
||||
|
||||
|
||||
var categoriest: Double = 9811.0
|
||||
if (categoriest > 115.0) {
|
||||
}
|
||||
|
||||
|
||||
val keyboardKeyword: WebSettings = binding.webView.settings
|
||||
var recommends1: Double = 3330.0
|
||||
if (recommends1 <= 0.0) {
|
||||
}
|
||||
|
||||
|
||||
keyboardKeyword.javaScriptEnabled = true
|
||||
var cameraD: Double = 7534.0
|
||||
while (cameraD <= 28.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
binding.webView.webChromeClient = WebChromeClient()
|
||||
var cellz: MutableList<Int> = mutableListOf<Int>()
|
||||
cellz.add(78)
|
||||
cellz.add(907)
|
||||
cellz.add(58)
|
||||
cellz.add(683)
|
||||
cellz.add(573)
|
||||
if (cellz.size > 194) {
|
||||
}
|
||||
|
||||
|
||||
binding.webView.webViewClient = object : WebViewClient() {
|
||||
|
||||
|
||||
public fun borderPlatformCommitIndexCrop(immersiveWatch: Boolean): MutableList<Float> {
|
||||
var notificationsAdvert: Boolean = false
|
||||
var appveloriaSize_6: MutableMap<String, Long> = mutableMapOf<String, Long>()
|
||||
var ballLaunch: String = "preference"
|
||||
var immediatelySpacer: MutableList<Float> = mutableListOf<Float>()
|
||||
notificationsAdvert = true
|
||||
var binding_len1: Int = immediatelySpacer.size
|
||||
var create_r =
|
||||
min(kotlin.random.Random.nextInt(46), 1) % max(1, immediatelySpacer.size)
|
||||
immediatelySpacer.add(create_r, 0.0f)
|
||||
for (passb in appveloriaSize_6) {
|
||||
immediatelySpacer.add(passb.value.toFloat())
|
||||
|
||||
}
|
||||
|
||||
return immediatelySpacer
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onPageStarted(view: WebView?, url: String?, favicon: Bitmap?) {
|
||||
|
||||
var stringbufferYellow = this.borderPlatformCommitIndexCrop(true)
|
||||
|
||||
for (obj2 in stringbufferYellow) {
|
||||
println(obj2)
|
||||
}
|
||||
var stringbufferYellow_len: Int = stringbufferYellow.size
|
||||
|
||||
println(stringbufferYellow)
|
||||
|
||||
|
||||
super.onPageStarted(view, url, favicon)
|
||||
|
||||
}
|
||||
|
||||
|
||||
public fun dismissPaintDetectNewsletter(
|
||||
keywordRelease_5: Float,
|
||||
checkDefault_g: Float
|
||||
): Boolean {
|
||||
var tabTrends = false
|
||||
var ballBall: Long = 1521L
|
||||
var rulesAbout = 9338.0f
|
||||
var systemPrivacy = 2591
|
||||
var mkvmuxertypesUngroupPathmtu = false
|
||||
tabTrends = false
|
||||
mkvmuxertypesUngroupPathmtu = !tabTrends
|
||||
ballBall *= 8729L
|
||||
mkvmuxertypesUngroupPathmtu = ballBall > 78
|
||||
rulesAbout += 6697.0f
|
||||
mkvmuxertypesUngroupPathmtu = rulesAbout > 59
|
||||
systemPrivacy = 2462
|
||||
mkvmuxertypesUngroupPathmtu = systemPrivacy > 71
|
||||
|
||||
return mkvmuxertypesUngroupPathmtu
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onPageFinished(view: WebView?, url: String?) {
|
||||
|
||||
var deferTwiddles: Boolean = this.dismissPaintDetectNewsletter(8843.0f, 3975.0f)
|
||||
|
||||
if (deferTwiddles) {
|
||||
println("ok")
|
||||
}
|
||||
|
||||
println(deferTwiddles)
|
||||
|
||||
|
||||
super.onPageFinished(view, url)
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
|
||||
public fun connectivityPositiveCallFreeBuy(): Long {
|
||||
var headerSmart = mutableListOf<String>()
|
||||
var areaRenderers = false
|
||||
var footerPlayfair = 8693
|
||||
var instrumentedNews = 5945.0f
|
||||
var jobqPupup: Long = 165L
|
||||
areaRenderers = false
|
||||
jobqPupup += if (areaRenderers) 43 else 58
|
||||
footerPlayfair = 7934
|
||||
instrumentedNews = 3804.0f
|
||||
|
||||
return jobqPupup
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onReceivedError(
|
||||
view: WebView?,
|
||||
request: WebResourceRequest?,
|
||||
error: WebResourceError?
|
||||
) {
|
||||
|
||||
var heartsActors: Long = this.connectivityPositiveCallFreeBuy()
|
||||
|
||||
var views_heartsActors: Int = heartsActors.toInt()
|
||||
if (heartsActors < 93L) {
|
||||
println(heartsActors)
|
||||
}
|
||||
|
||||
println(heartsActors)
|
||||
|
||||
|
||||
super.onReceivedError(view, request, error)
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
toast(TranslationHelper.getTranslation()?.veloria_network.toString())
|
||||
} else {
|
||||
toast(getString(R.string.shapeSelected))
|
||||
}
|
||||
}
|
||||
}
|
||||
keyboardKeyword.domStorageEnabled = true
|
||||
var deletes5: Float = 5853.0f
|
||||
|
||||
|
||||
keyboardKeyword.loadsImagesAutomatically = true
|
||||
var v_playerd: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
v_playerd.put("bouncing", 469.0f)
|
||||
v_playerd.put("preupdate", 621.0f)
|
||||
v_playerd.put("cleaned", 881.0f)
|
||||
v_playerd.put("writer", 568.0f)
|
||||
v_playerd.put("trees", 824.0f)
|
||||
while (v_playerd.size > 18) {
|
||||
break
|
||||
}
|
||||
println(v_playerd)
|
||||
|
||||
|
||||
keyboardKeyword.useWideViewPort = true
|
||||
var skewedB: Long = 9699L
|
||||
while (skewedB < 184L) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
keyboardKeyword.loadWithOverviewMode = true
|
||||
var backgroundw: Long = 5994L
|
||||
while (backgroundw > 2L) {
|
||||
break
|
||||
}
|
||||
println(backgroundw)
|
||||
|
||||
|
||||
keyboardKeyword.builtInZoomControls = true
|
||||
var vipI: Float = 6501.0f
|
||||
|
||||
|
||||
keyboardKeyword.displayZoomControls = false
|
||||
}
|
||||
|
||||
override fun getViewBinding() = IPlaceBinding.inflate(layoutInflater)
|
||||
}
|
@ -0,0 +1,220 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional
|
||||
|
||||
import android.content.Intent
|
||||
import android.net.Uri
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.YFHome
|
||||
import com.veloria.now.shortapp.civil.singleOnClick
|
||||
import com.veloria.now.shortapp.databinding.HuuLogoVideoBinding
|
||||
import com.veloria.now.shortapp.newsletter.AIXTextActivity
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.LXMService
|
||||
|
||||
|
||||
class RCheckActivity : AIXTextActivity<HuuLogoVideoBinding, LXMService>() {
|
||||
@Volatile
|
||||
private var detailBallMargin: Float = 176.0f
|
||||
|
||||
@Volatile
|
||||
var colorCut_dictionary: MutableMap<String, Boolean> = mutableMapOf<String, Boolean>()
|
||||
|
||||
@Volatile
|
||||
var hasRenderersScreen: Boolean = true
|
||||
|
||||
|
||||
public fun supportMenuOver(
|
||||
cutLifecycle: Int,
|
||||
standModule: Int,
|
||||
with_6pInterpolator: Float
|
||||
): Double {
|
||||
var wightWatching: String = "textle"
|
||||
var instrumentedPath: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
var playingShort_o: String = "thumbs"
|
||||
var viewTzfileTurnoff: Double = 8335.0
|
||||
|
||||
return viewTzfileTurnoff
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun observeData() {
|
||||
|
||||
var residueTemporarily: Double = this.supportMenuOver(5635, 9125, 936.0f)
|
||||
|
||||
if (residueTemporarily != 65.0) {
|
||||
println(residueTemporarily)
|
||||
}
|
||||
|
||||
println(residueTemporarily)
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun getViewBinding() = HuuLogoVideoBinding.inflate(layoutInflater)
|
||||
|
||||
|
||||
public fun editorCoordinateBlackWatch(visitVisit: Long): Double {
|
||||
var imageStart = mutableMapOf<String, Long>()
|
||||
var restartTime_yg: String = "rollback"
|
||||
println(restartTime_yg)
|
||||
var extractionPrivacy = 438L
|
||||
var startedGradle: Int = 5958
|
||||
var goneTestransRewind: Double = 274.0
|
||||
extractionPrivacy = 6203L
|
||||
startedGradle = 7519
|
||||
|
||||
return goneTestransRewind
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun initView() {
|
||||
|
||||
var optionQtrle = this.editorCoordinateBlackWatch(6229L)
|
||||
|
||||
println(optionQtrle)
|
||||
|
||||
println(optionQtrle)
|
||||
|
||||
|
||||
var requestm: MutableMap<String, Boolean> = mutableMapOf<String, Boolean>()
|
||||
requestm.put("rftfsub", false)
|
||||
requestm.put("writealign", false)
|
||||
while (requestm.size > 123) {
|
||||
break
|
||||
}
|
||||
println(requestm)
|
||||
|
||||
|
||||
this.detailBallMargin = 6207.0f
|
||||
|
||||
this.colorCut_dictionary = mutableMapOf<String, Boolean>()
|
||||
|
||||
this.hasRenderersScreen = false
|
||||
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
binding.tvTitle.text = TranslationHelper.getTranslation()?.veloria_me_about
|
||||
binding.tvPrivacyPolicy.text = TranslationHelper.getTranslation()?.veloria_my_privacy
|
||||
binding.tvUserAgreement.text = TranslationHelper.getTranslation()?.veloria_my_agreement
|
||||
binding.tvVisit.text = TranslationHelper.getTranslation()?.veloria_visit_website
|
||||
binding.tvAppVersion.text =
|
||||
TranslationHelper.getTranslation()?.veloria_version.plus(" ")
|
||||
.plus(YFHome.getPackageVersion(this))
|
||||
|
||||
} else {
|
||||
binding.tvAppVersion.text = "Version ".plus(
|
||||
YFHome.getPackageVersion(this)
|
||||
)
|
||||
}
|
||||
|
||||
binding.ivBack.setOnClickListener {
|
||||
var background2: MutableMap<String, Long> = mutableMapOf<String, Long>()
|
||||
background2.put("relative", 307L)
|
||||
background2.put("registrar", 108L)
|
||||
background2.put("damping", 939L)
|
||||
background2.put("cachedkeys", 531L)
|
||||
if (background2.size > 111) {
|
||||
}
|
||||
|
||||
|
||||
var trendings: Long = 7594L
|
||||
|
||||
|
||||
finish()
|
||||
}
|
||||
|
||||
var historyi: Long = 9723L
|
||||
while (historyi <= 156L) {
|
||||
break
|
||||
}
|
||||
println(historyi)
|
||||
|
||||
|
||||
binding.tvUserAgreement.setOnClickListener {
|
||||
var imgn: Long = 7897L
|
||||
if (imgn < 129L) {
|
||||
}
|
||||
|
||||
|
||||
var button9: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
button9.add(true)
|
||||
button9.add(true)
|
||||
while (button9.size > 111) {
|
||||
break
|
||||
}
|
||||
println(button9)
|
||||
|
||||
|
||||
singleOnClick {
|
||||
var qualityV: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
qualityV.put("aiter", "yuva")
|
||||
qualityV.put("intraframe", "inttypes")
|
||||
qualityV.put("www", "addf")
|
||||
if (qualityV.size > 191) {
|
||||
}
|
||||
println(qualityV)
|
||||
|
||||
|
||||
startActivity(
|
||||
Intent(
|
||||
this,
|
||||
RBZLatestDeteleActivity::class.java
|
||||
).putExtra(
|
||||
JActivityAdapter.WEB_VIEW_URL_STRING,
|
||||
JActivityAdapter.WEB_VIEW_USER_AGREEMENT
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
binding.tvPrivacyPolicy.setOnClickListener {
|
||||
var paintq: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
paintq.add(false)
|
||||
paintq.add(true)
|
||||
println(paintq)
|
||||
|
||||
|
||||
var auto_rx: Boolean = false
|
||||
if (auto_rx) {
|
||||
}
|
||||
println(auto_rx)
|
||||
|
||||
|
||||
singleOnClick {
|
||||
var attrsr: String = "intro"
|
||||
if (attrsr.length > 7) {
|
||||
}
|
||||
|
||||
|
||||
startActivity(
|
||||
Intent(
|
||||
this,
|
||||
RBZLatestDeteleActivity::class.java
|
||||
).putExtra(
|
||||
JActivityAdapter.WEB_VIEW_URL_STRING,
|
||||
JActivityAdapter.WEB_VIEW_PRIVACY_POLICY
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
binding.tvVisit.setOnClickListener {
|
||||
var playfairK: String = "aacenctab"
|
||||
while (playfairK.length > 46) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
singleOnClick {
|
||||
var default_7Q: MutableList<Long> = mutableListOf<Long>()
|
||||
default_7Q.add(210L)
|
||||
default_7Q.add(314L)
|
||||
|
||||
val webIntent = Intent(Intent.ACTION_VIEW, Uri.parse(JActivityAdapter.WEB_VIEW_COM))
|
||||
startActivity(webIntent)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,136 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional
|
||||
|
||||
import android.graphics.Color
|
||||
import androidx.activity.viewModels
|
||||
import com.facebook.login.LoginManager
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.singleOnClick
|
||||
import com.veloria.now.shortapp.civil.toast
|
||||
import com.veloria.now.shortapp.databinding.ActivityVeAccountDeletionBinding
|
||||
import com.veloria.now.shortapp.newsletter.AIXTextActivity
|
||||
import com.veloria.now.shortapp.subtractionCroll.avcintraRelock.AccountDeletionDialog
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.VeAccountDeletionViewModel
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
|
||||
class VeAccountDeletionActivity :
|
||||
AIXTextActivity<ActivityVeAccountDeletionBinding, VeAccountDeletionViewModel>() {
|
||||
val viewModel: VeAccountDeletionViewModel by viewModels()
|
||||
|
||||
override fun getViewBinding() = ActivityVeAccountDeletionBinding.inflate(layoutInflater)
|
||||
|
||||
private var isSelect = false
|
||||
|
||||
override fun initView() {
|
||||
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
binding.tvTitle.text = TranslationHelper.getTranslation()?.veloria_delete_account
|
||||
binding.tvOne.text = TranslationHelper.getTranslation()?.veloria_delete_title
|
||||
binding.tvTwo.text = TranslationHelper.getTranslation()?.veloria_delete_account_two
|
||||
binding.tvThree.text = TranslationHelper.getTranslation()?.veloria_delete_account_three
|
||||
binding.tvFour.text = TranslationHelper.getTranslation()?.veloria_delete_account_four
|
||||
binding.tvFive.text = TranslationHelper.getTranslation()?.veloria_delete_account_five
|
||||
binding.tvFour1.text = TranslationHelper.getTranslation()?.veloria_delete_account_four_1
|
||||
binding.tvFive1.text = TranslationHelper.getTranslation()?.veloria_delete_account_five_1
|
||||
binding.tvFour2.text = TranslationHelper.getTranslation()?.veloria_delete_account_four_2
|
||||
binding.tvFive2.text = TranslationHelper.getTranslation()?.veloria_delete_account_five_2
|
||||
binding.tvFour3.text = TranslationHelper.getTranslation()?.veloria_delete_account_four_3
|
||||
binding.tvSix.text = TranslationHelper.getTranslation()?.veloria_delete_account_six
|
||||
binding.tvSeven.text = TranslationHelper.getTranslation()?.veloria_delete_account_seven
|
||||
binding.tvEight.text = TranslationHelper.getTranslation()?.veloria_delete_account
|
||||
}
|
||||
|
||||
binding.ivBack.setOnClickListener { finish() }
|
||||
|
||||
binding.ivSelect.setOnClickListener {
|
||||
singleOnClick {
|
||||
if (isSelect) {
|
||||
isSelect = false
|
||||
binding.ivSelect.setImageResource(R.mipmap.right_delete_w8)
|
||||
binding.tvEight.setTextColor(Color.parseColor("#8B8B8B"))
|
||||
binding.tvEight.setBackgroundResource(R.drawable.y_data_fragment)
|
||||
} else {
|
||||
isSelect = true
|
||||
binding.ivSelect.setImageResource(R.mipmap.loading_bbfdebaffd)
|
||||
binding.tvEight.setTextColor(getColor(R.color.white))
|
||||
binding.tvEight.setBackgroundResource(R.mipmap.iv_store_buy_bg)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
binding.tvEight.setOnClickListener {
|
||||
singleOnClick {
|
||||
if (!isSelect) {
|
||||
return@singleOnClick
|
||||
}
|
||||
setAccountDeletionDialog()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
override fun observeData() {
|
||||
|
||||
viewModel.logoffLiveData.observe(this) {
|
||||
if (it?.data != null) {
|
||||
// if (TranslatesUtils.translates() != null) {
|
||||
// toast(TranslatesUtils.translates()?.mireo_success.toString())
|
||||
// }else {
|
||||
toast("Success")
|
||||
// }
|
||||
LoginManager.getInstance().logOut()
|
||||
viewModel.getRegister()
|
||||
} else {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
toast(TranslationHelper.getTranslation()?.veloria_network.toString())
|
||||
} else {
|
||||
toast(getString(R.string.shapeSelected))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
viewModel.registerData.observe(this) {
|
||||
if (it?.data != null) {
|
||||
RYAction.getMMKV()
|
||||
.putString(JActivityAdapter.ACCOUNT_TOKEN, it.data.token)
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.HOME_LEAVE_APP)
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.HOME_ENTER_THE_APP)
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.HOME_USER_REFRESH)
|
||||
|
||||
EventBus.getDefault()
|
||||
.post(JActivityAdapter.HOME_NAVIGATE_TO_HOME)
|
||||
startActivity<PSVHomeSearchActivity>()
|
||||
finish()
|
||||
} else {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
toast(TranslationHelper.getTranslation()?.veloria_network.toString())
|
||||
} else {
|
||||
toast(getString(R.string.shapeSelected))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun setAccountDeletionDialog() {
|
||||
val dialog = AccountDeletionDialog(this).apply {
|
||||
setOnAccountDeletionClickListener(object :
|
||||
AccountDeletionDialog.AccountDeletionOnClick {
|
||||
override fun onAccountDeletionAction() {
|
||||
viewModel.setLogoff()
|
||||
}
|
||||
})
|
||||
}
|
||||
dialog.show()
|
||||
dialog.accountDeletionOnClick
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,306 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional
|
||||
|
||||
import android.Manifest
|
||||
import android.annotation.SuppressLint
|
||||
import android.content.ContentResolver
|
||||
import android.content.Intent
|
||||
import android.content.pm.PackageManager
|
||||
import android.graphics.Bitmap
|
||||
import android.graphics.BitmapFactory
|
||||
import android.graphics.Color
|
||||
import android.net.Uri
|
||||
import android.os.Build
|
||||
import android.util.Base64
|
||||
import android.util.Log
|
||||
import android.view.View
|
||||
import android.webkit.JsPromptResult
|
||||
import android.webkit.JsResult
|
||||
import android.webkit.WebChromeClient
|
||||
import android.webkit.WebResourceError
|
||||
import android.webkit.WebResourceRequest
|
||||
import android.webkit.WebSettings
|
||||
import android.webkit.WebView
|
||||
import android.webkit.WebViewClient
|
||||
import androidx.activity.viewModels
|
||||
import androidx.core.app.ActivityCompat
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import com.blankj.utilcode.util.PermissionUtils
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.singleOnClick
|
||||
import com.veloria.now.shortapp.civil.toast
|
||||
import com.veloria.now.shortapp.databinding.ActivityVeFeedbackBinding
|
||||
import com.veloria.now.shortapp.newsletter.AIXTextActivity
|
||||
import com.veloria.now.shortapp.newsletter.XNBackground
|
||||
import com.veloria.now.shortapp.other.FeedbackJsBridge
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.VeFeedbackViewModel
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.withContext
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
import org.greenrobot.eventbus.Subscribe
|
||||
import org.greenrobot.eventbus.ThreadMode
|
||||
import java.io.ByteArrayOutputStream
|
||||
import java.io.InputStream
|
||||
|
||||
class VeFeedbackActivity : AIXTextActivity<ActivityVeFeedbackBinding, VeFeedbackViewModel>() {
|
||||
|
||||
val viewModel: VeFeedbackViewModel by viewModels()
|
||||
|
||||
override fun getViewBinding() = ActivityVeFeedbackBinding.inflate(layoutInflater)
|
||||
private val REQUEST_PICK_FILE: Int = 1002
|
||||
private val REQUEST_PERMISSIONS = 1001
|
||||
|
||||
override fun initView() {
|
||||
EventBus.getDefault().register(this)
|
||||
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
binding.tvTitle.text = TranslationHelper.getTranslation()?.veloria_my_feedback
|
||||
}
|
||||
|
||||
binding.ivBack.setOnClickListener { finish() }
|
||||
|
||||
setWebView()
|
||||
showLoading()
|
||||
loadPageUrl(JActivityAdapter.FEEDBACK_URL_INDEX)
|
||||
|
||||
viewModel.getNoticeNum()
|
||||
}
|
||||
|
||||
override fun observeData() {
|
||||
viewModel.noticeNumData.observe(this) {
|
||||
if (it != null) {
|
||||
if (it.data?.feedback_notice_num != 0) {
|
||||
binding.tvFeedbackNum.visibility = View.VISIBLE
|
||||
binding.tvFeedbackNum.text = it.data?.feedback_notice_num.toString()
|
||||
} else {
|
||||
binding.tvFeedbackNum.visibility = View.INVISIBLE
|
||||
}
|
||||
} else {
|
||||
binding.tvFeedbackNum.visibility = View.INVISIBLE
|
||||
}
|
||||
}
|
||||
|
||||
binding.ivFeedbackList.setOnClickListener {
|
||||
singleOnClick {
|
||||
startActivity(
|
||||
Intent(
|
||||
this,
|
||||
VeFeedbackListActivity::class.java
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun loadPageUrl(url: String) {
|
||||
binding.webFeedback.loadUrl(url)
|
||||
}
|
||||
|
||||
@SuppressLint("SetJavaScriptEnabled")
|
||||
private fun setWebView() {
|
||||
val webSettings: WebSettings = binding.webFeedback.settings
|
||||
webSettings.javaScriptEnabled = true
|
||||
// webView?.webChromeClient = WebChromeClient()
|
||||
binding.webFeedback.webChromeClient = object : WebChromeClient() {
|
||||
override fun onJsAlert(
|
||||
view: WebView,
|
||||
url: String,
|
||||
message: String,
|
||||
result: JsResult
|
||||
): Boolean {
|
||||
result.confirm()
|
||||
return true
|
||||
}
|
||||
|
||||
override fun onJsConfirm(
|
||||
view: WebView,
|
||||
url: String,
|
||||
message: String,
|
||||
result: JsResult
|
||||
): Boolean {
|
||||
return true
|
||||
}
|
||||
|
||||
override fun onJsPrompt(
|
||||
view: WebView,
|
||||
url: String,
|
||||
message: String,
|
||||
defaultValue: String,
|
||||
result: JsPromptResult
|
||||
): Boolean {
|
||||
return true
|
||||
}
|
||||
}
|
||||
binding.webFeedback.setBackgroundColor(Color.TRANSPARENT)
|
||||
binding.webFeedback.webViewClient = object : WebViewClient() {
|
||||
override fun onPageStarted(view: WebView?, url: String?, favicon: Bitmap?) {
|
||||
super.onPageStarted(view, url, favicon)
|
||||
|
||||
}
|
||||
|
||||
override fun onPageFinished(view: WebView?, url: String?) {
|
||||
super.onPageFinished(view, url)
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
override fun onReceivedError(
|
||||
view: WebView?,
|
||||
request: WebResourceRequest?,
|
||||
error: WebResourceError?
|
||||
) {
|
||||
super.onReceivedError(view, request, error)
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
toast(TranslationHelper.getTranslation()?.veloria_network.toString())
|
||||
}else {
|
||||
toast(getString(R.string.shapeSelected))
|
||||
}
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
webSettings.domStorageEnabled = true
|
||||
webSettings.loadsImagesAutomatically = true
|
||||
webSettings.useWideViewPort = true
|
||||
webSettings.loadWithOverviewMode = true
|
||||
webSettings.builtInZoomControls = true
|
||||
webSettings.displayZoomControls = false
|
||||
binding.webFeedback.addJavascriptInterface(
|
||||
FeedbackJsBridge(this),
|
||||
"AndroidInterface"
|
||||
)
|
||||
}
|
||||
|
||||
private fun openFilePicker() {
|
||||
val intent = Intent(Intent.ACTION_OPEN_DOCUMENT).apply {
|
||||
addCategory(Intent.CATEGORY_OPENABLE)
|
||||
type = "image/*"
|
||||
}
|
||||
startActivityForResult(intent, REQUEST_PICK_FILE)
|
||||
}
|
||||
|
||||
private fun requestPermissions() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||
ActivityCompat.requestPermissions(
|
||||
this,
|
||||
arrayOf(
|
||||
Manifest.permission.READ_MEDIA_IMAGES,
|
||||
),
|
||||
REQUEST_PERMISSIONS
|
||||
)
|
||||
} else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||
ActivityCompat.requestPermissions(
|
||||
this,
|
||||
arrayOf(
|
||||
Manifest.permission.READ_EXTERNAL_STORAGE,
|
||||
),
|
||||
REQUEST_PERMISSIONS
|
||||
)
|
||||
} else {
|
||||
ActivityCompat.requestPermissions(
|
||||
this,
|
||||
arrayOf(
|
||||
Manifest.permission.READ_EXTERNAL_STORAGE,
|
||||
),
|
||||
REQUEST_PERMISSIONS
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onRequestPermissionsResult(
|
||||
requestCode: Int,
|
||||
permissions: Array<out String>,
|
||||
grantResults: IntArray
|
||||
) {
|
||||
super.onRequestPermissionsResult(requestCode, permissions, grantResults)
|
||||
if (requestCode == REQUEST_PERMISSIONS) {
|
||||
if (grantResults.all { it == PackageManager.PERMISSION_GRANTED }) {
|
||||
openFilePicker()
|
||||
} else {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||
PermissionUtils.launchAppDetailsSettings()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun setCompressAndConvertImage(uri: Uri) {
|
||||
lifecycleScope.launch {
|
||||
val compressedImageBytes = withContext(Dispatchers.IO) {
|
||||
setCompressImage(uri, contentResolver)
|
||||
}
|
||||
if (compressedImageBytes.isNotEmpty()) {
|
||||
val base64String = Base64.encodeToString(compressedImageBytes, Base64.DEFAULT)
|
||||
binding.webFeedback.loadUrl(
|
||||
"javascript:uploadConvertImage(" + "'" + base64String + "'" + ")"
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun setCompressImage(uri: Uri, contentResolver: ContentResolver): ByteArray {
|
||||
try {
|
||||
val inputStream: InputStream? = contentResolver.openInputStream(uri)
|
||||
val bitmap = BitmapFactory.decodeStream(inputStream)
|
||||
inputStream?.close()
|
||||
|
||||
val outputStream = ByteArrayOutputStream()
|
||||
var quality = 100
|
||||
bitmap.compress(Bitmap.CompressFormat.JPEG, quality, outputStream)
|
||||
|
||||
while (outputStream.toByteArray().size > 100 * 1024 && quality > 10) {
|
||||
quality -= 10
|
||||
outputStream.reset()
|
||||
bitmap.compress(Bitmap.CompressFormat.JPEG, quality, outputStream)
|
||||
}
|
||||
|
||||
val compressedImageBytes = outputStream.toByteArray()
|
||||
Log.d(
|
||||
"compressedImageBytes",
|
||||
"Compressed image size: ${compressedImageBytes.size} bytes"
|
||||
)
|
||||
return compressedImageBytes
|
||||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
toast(
|
||||
"Please select the correct picture~"
|
||||
)
|
||||
}
|
||||
return byteArrayOf()
|
||||
}
|
||||
|
||||
@Deprecated("Deprecated in Java")
|
||||
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
|
||||
super.onActivityResult(requestCode, resultCode, data)
|
||||
if (requestCode == REQUEST_PICK_FILE && resultCode == RESULT_OK) {
|
||||
data?.data?.let { uri ->
|
||||
setCompressAndConvertImage(uri)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
fun onEvent(event: String) {
|
||||
if (JActivityAdapter.FEEDBACK_REQUEST_PERMISSIONS_PHOTO == event) {
|
||||
requestPermissions()
|
||||
}
|
||||
if (JActivityAdapter.FEEDBACK_OPEN_PHOTO == event) {
|
||||
singleOnClick {
|
||||
startActivity(
|
||||
Intent(
|
||||
this,
|
||||
VeFeedbackListActivity::class.java
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
EventBus.getDefault().unregister(this)
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,254 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional
|
||||
|
||||
import android.Manifest
|
||||
import android.annotation.SuppressLint
|
||||
import android.content.ContentResolver
|
||||
import android.content.Intent
|
||||
import android.content.pm.PackageManager
|
||||
import android.graphics.Bitmap
|
||||
import android.graphics.BitmapFactory
|
||||
import android.graphics.Color
|
||||
import android.net.Uri
|
||||
import android.os.Build
|
||||
import android.util.Base64
|
||||
import android.util.Log
|
||||
import android.webkit.JsPromptResult
|
||||
import android.webkit.JsResult
|
||||
import android.webkit.WebChromeClient
|
||||
import android.webkit.WebResourceError
|
||||
import android.webkit.WebResourceRequest
|
||||
import android.webkit.WebSettings
|
||||
import android.webkit.WebView
|
||||
import android.webkit.WebViewClient
|
||||
import androidx.activity.viewModels
|
||||
import androidx.annotation.RequiresApi
|
||||
import androidx.core.app.ActivityCompat
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import com.blankj.utilcode.util.PermissionUtils
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.toast
|
||||
import com.veloria.now.shortapp.databinding.ActivityVeFeedbackBinding
|
||||
import com.veloria.now.shortapp.databinding.ActivityVeFeedbackDetailBinding
|
||||
import com.veloria.now.shortapp.databinding.ActivityVeFeedbackListBinding
|
||||
import com.veloria.now.shortapp.newsletter.AIXTextActivity
|
||||
import com.veloria.now.shortapp.newsletter.XNBackground
|
||||
import com.veloria.now.shortapp.other.BaseEventBusBean
|
||||
import com.veloria.now.shortapp.other.FeedbackJsBridge
|
||||
import com.veloria.now.shortapp.other.FeedbackJsBridgeDetail
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.VeFeedbackViewModel
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.withContext
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
import org.greenrobot.eventbus.Subscribe
|
||||
import org.greenrobot.eventbus.ThreadMode
|
||||
import java.io.ByteArrayOutputStream
|
||||
import java.io.InputStream
|
||||
|
||||
class VeFeedbackDetailActivity : AIXTextActivity<ActivityVeFeedbackDetailBinding, VeFeedbackViewModel>() {
|
||||
|
||||
val viewModel: VeFeedbackViewModel by viewModels()
|
||||
|
||||
override fun getViewBinding() = ActivityVeFeedbackDetailBinding.inflate(layoutInflater)
|
||||
|
||||
private val REQUEST_PICK_FILE: Int = 1003
|
||||
private val REQUEST_PERMISSIONS = 1004
|
||||
|
||||
override fun initView() {
|
||||
EventBus.getDefault().register(this)
|
||||
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
binding.tvTitle.text = TranslationHelper.getTranslation()?.veloria_my_feedback_details
|
||||
}
|
||||
|
||||
binding.ivBack.setOnClickListener { finish() }
|
||||
|
||||
setWebView()
|
||||
showLoading()
|
||||
binding.refresh.setOnRefreshListener {
|
||||
loadPageUrl(JActivityAdapter.FEEDBACK_URL_DETAIL)
|
||||
}
|
||||
loadPageUrl(JActivityAdapter.FEEDBACK_URL_DETAIL)
|
||||
|
||||
}
|
||||
|
||||
override fun observeData() {
|
||||
}
|
||||
|
||||
private fun loadPageUrl(url: String) {
|
||||
binding.webFeedbackDetail.loadUrl(url)
|
||||
}
|
||||
|
||||
@SuppressLint("SetJavaScriptEnabled")
|
||||
private fun setWebView() {
|
||||
val webSettings: WebSettings = binding.webFeedbackDetail.settings
|
||||
webSettings.javaScriptEnabled = true
|
||||
binding.webFeedbackDetail.webChromeClient = WebChromeClient()
|
||||
binding.webFeedbackDetail.setBackgroundColor(Color.TRANSPARENT)
|
||||
binding.webFeedbackDetail.webViewClient = object : WebViewClient() {
|
||||
override fun onPageStarted(view: WebView?, url: String?, favicon: Bitmap?) {
|
||||
super.onPageStarted(view, url, favicon)
|
||||
|
||||
}
|
||||
|
||||
override fun onPageFinished(view: WebView?, url: String?) {
|
||||
super.onPageFinished(view, url)
|
||||
hideLoading()
|
||||
binding.refresh.finishRefresh()
|
||||
}
|
||||
|
||||
override fun onReceivedError(
|
||||
view: WebView?,
|
||||
request: WebResourceRequest?,
|
||||
error: WebResourceError?
|
||||
) {
|
||||
super.onReceivedError(view, request, error)
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
toast(TranslationHelper.getTranslation()?.veloria_network.toString())
|
||||
}else {
|
||||
toast(getString(R.string.shapeSelected))
|
||||
}
|
||||
hideLoading()
|
||||
binding.refresh.finishRefresh()
|
||||
}
|
||||
}
|
||||
webSettings.domStorageEnabled = true
|
||||
webSettings.loadsImagesAutomatically = true
|
||||
webSettings.useWideViewPort = true
|
||||
webSettings.loadWithOverviewMode = true
|
||||
webSettings.builtInZoomControls = true
|
||||
webSettings.displayZoomControls = false
|
||||
binding.webFeedbackDetail.addJavascriptInterface(
|
||||
FeedbackJsBridgeDetail(this),
|
||||
"AndroidInterface"
|
||||
)
|
||||
}
|
||||
|
||||
@Deprecated("Deprecated in Java")
|
||||
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
|
||||
super.onActivityResult(requestCode, resultCode, data)
|
||||
if (requestCode == REQUEST_PICK_FILE && resultCode == RESULT_OK) {
|
||||
data?.data?.let { uri ->
|
||||
setCompressAndConvertImage(uri)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
fun onEvent(event: String) {
|
||||
if (JActivityAdapter.FEEDBACK_REQUEST_PERMISSIONS_PHOTO_DETAIL == event) {
|
||||
requestPermissions()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun requestPermissions() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||
ActivityCompat.requestPermissions(
|
||||
this,
|
||||
arrayOf(
|
||||
Manifest.permission.READ_MEDIA_IMAGES,
|
||||
),
|
||||
REQUEST_PERMISSIONS
|
||||
)
|
||||
} else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||
ActivityCompat.requestPermissions(
|
||||
this,
|
||||
arrayOf(
|
||||
Manifest.permission.READ_EXTERNAL_STORAGE,
|
||||
),
|
||||
REQUEST_PERMISSIONS
|
||||
)
|
||||
} else {
|
||||
ActivityCompat.requestPermissions(
|
||||
this,
|
||||
arrayOf(
|
||||
Manifest.permission.READ_EXTERNAL_STORAGE,
|
||||
),
|
||||
REQUEST_PERMISSIONS
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onRequestPermissionsResult(
|
||||
requestCode: Int,
|
||||
permissions: Array<out String>,
|
||||
grantResults: IntArray
|
||||
) {
|
||||
super.onRequestPermissionsResult(requestCode, permissions, grantResults)
|
||||
if (requestCode == REQUEST_PERMISSIONS) {
|
||||
if (grantResults.all { it == PackageManager.PERMISSION_GRANTED }) {
|
||||
openFilePicker()
|
||||
} else {
|
||||
// toast(TranslatesUtils.translates()?.mireo_open_photo_tips.toString())
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||
PermissionUtils.launchAppDetailsSettings()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun openFilePicker() {
|
||||
val intent = Intent(Intent.ACTION_OPEN_DOCUMENT).apply {
|
||||
addCategory(Intent.CATEGORY_OPENABLE)
|
||||
type = "image/*"
|
||||
}
|
||||
startActivityForResult(intent, REQUEST_PICK_FILE)
|
||||
}
|
||||
|
||||
|
||||
private fun setCompressAndConvertImage(uri: Uri) {
|
||||
lifecycleScope.launch {
|
||||
val compressedImageBytes = withContext(Dispatchers.IO) {
|
||||
setCompressImage(uri, contentResolver)
|
||||
}
|
||||
if (compressedImageBytes.isNotEmpty()) {
|
||||
val base64String = Base64.encodeToString(compressedImageBytes, Base64.DEFAULT)
|
||||
binding.webFeedbackDetail.loadUrl(
|
||||
"javascript:uploadConvertImage(" + "'" + base64String + "'" + ")"
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun setCompressImage(uri: Uri, contentResolver: ContentResolver): ByteArray {
|
||||
try {
|
||||
val inputStream: InputStream? = contentResolver.openInputStream(uri)
|
||||
val bitmap = BitmapFactory.decodeStream(inputStream)
|
||||
inputStream?.close()
|
||||
|
||||
val outputStream = ByteArrayOutputStream()
|
||||
var quality = 100
|
||||
bitmap.compress(Bitmap.CompressFormat.JPEG, quality, outputStream)
|
||||
|
||||
while (outputStream.toByteArray().size > 100 * 1024 && quality > 10) {
|
||||
quality -= 10
|
||||
outputStream.reset()
|
||||
bitmap.compress(Bitmap.CompressFormat.JPEG, quality, outputStream)
|
||||
}
|
||||
|
||||
val compressedImageBytes = outputStream.toByteArray()
|
||||
Log.d(
|
||||
"compressedImageBytes",
|
||||
"Compressed image size: ${compressedImageBytes.size} bytes"
|
||||
)
|
||||
return compressedImageBytes
|
||||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
toast(
|
||||
"Please select the correct picture~"
|
||||
)
|
||||
}
|
||||
return byteArrayOf()
|
||||
}
|
||||
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
EventBus.getDefault().unregister(this)
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,126 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.content.Intent
|
||||
import android.graphics.Bitmap
|
||||
import android.graphics.Color
|
||||
import android.webkit.WebChromeClient
|
||||
import android.webkit.WebResourceError
|
||||
import android.webkit.WebResourceRequest
|
||||
import android.webkit.WebSettings
|
||||
import android.webkit.WebView
|
||||
import android.webkit.WebViewClient
|
||||
import androidx.activity.viewModels
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.toast
|
||||
import com.veloria.now.shortapp.databinding.ActivityVeFeedbackListBinding
|
||||
import com.veloria.now.shortapp.newsletter.AIXTextActivity
|
||||
import com.veloria.now.shortapp.newsletter.XNBackground
|
||||
import com.veloria.now.shortapp.other.BaseEventBusBean
|
||||
import com.veloria.now.shortapp.other.FeedbackJsBridge
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.VeFeedbackViewModel
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
import org.greenrobot.eventbus.Subscribe
|
||||
import org.greenrobot.eventbus.ThreadMode
|
||||
|
||||
class VeFeedbackListActivity :
|
||||
AIXTextActivity<ActivityVeFeedbackListBinding, VeFeedbackViewModel>() {
|
||||
|
||||
val viewModel: VeFeedbackViewModel by viewModels()
|
||||
|
||||
override fun getViewBinding() = ActivityVeFeedbackListBinding.inflate(layoutInflater)
|
||||
|
||||
override fun initView() {
|
||||
EventBus.getDefault().register(this)
|
||||
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
binding.tvTitle.text = TranslationHelper.getTranslation()?.veloria_my_feedback_history
|
||||
}
|
||||
|
||||
binding.ivBack.setOnClickListener { finish() }
|
||||
|
||||
setWebView()
|
||||
showLoading()
|
||||
binding.refresh.setOnRefreshListener {
|
||||
loadPageUrl(JActivityAdapter.FEEDBACK_URL_LIST)
|
||||
}
|
||||
loadPageUrl(JActivityAdapter.FEEDBACK_URL_LIST)
|
||||
|
||||
}
|
||||
|
||||
override fun observeData() {
|
||||
}
|
||||
|
||||
private fun loadPageUrl(url: String) {
|
||||
binding.webFeedbackList.loadUrl(url)
|
||||
}
|
||||
|
||||
@SuppressLint("SetJavaScriptEnabled")
|
||||
private fun setWebView() {
|
||||
val webSettings: WebSettings = binding.webFeedbackList.settings
|
||||
webSettings.javaScriptEnabled = true
|
||||
binding.webFeedbackList.webChromeClient = WebChromeClient()
|
||||
binding.webFeedbackList.setBackgroundColor(Color.TRANSPARENT)
|
||||
binding.webFeedbackList.webViewClient = object : WebViewClient() {
|
||||
override fun onPageStarted(view: WebView?, url: String?, favicon: Bitmap?) {
|
||||
super.onPageStarted(view, url, favicon)
|
||||
|
||||
}
|
||||
|
||||
override fun onPageFinished(view: WebView?, url: String?) {
|
||||
super.onPageFinished(view, url)
|
||||
hideLoading()
|
||||
binding.refresh.finishRefresh()
|
||||
}
|
||||
|
||||
override fun onReceivedError(
|
||||
view: WebView?,
|
||||
request: WebResourceRequest?,
|
||||
error: WebResourceError?
|
||||
) {
|
||||
super.onReceivedError(view, request, error)
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
toast(TranslationHelper.getTranslation()?.veloria_network.toString())
|
||||
}else {
|
||||
toast(getString(R.string.shapeSelected))
|
||||
}
|
||||
hideLoading()
|
||||
binding.refresh.finishRefresh()
|
||||
}
|
||||
}
|
||||
webSettings.domStorageEnabled = true
|
||||
webSettings.loadsImagesAutomatically = true
|
||||
webSettings.useWideViewPort = true
|
||||
webSettings.loadWithOverviewMode = true
|
||||
webSettings.builtInZoomControls = true
|
||||
webSettings.displayZoomControls = false
|
||||
binding.webFeedbackList.addJavascriptInterface(
|
||||
FeedbackJsBridge(this),
|
||||
"AndroidInterface"
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
fun onEvent(event: BaseEventBusBean<String>) {
|
||||
if (JActivityAdapter.FEEDBACK_OPEN_DETAIL == event.code) {
|
||||
RYAction.getMMKV()
|
||||
.putString(JActivityAdapter.FEEDBACK_DETAIL_ID, event.data)
|
||||
startActivity(
|
||||
Intent(
|
||||
this, VeFeedbackDetailActivity::class.java
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
EventBus.getDefault().unregister(this)
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,116 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional
|
||||
|
||||
import android.view.View
|
||||
import androidx.activity.viewModels
|
||||
import androidx.appcompat.app.AppCompatDelegate
|
||||
import androidx.core.os.LocaleListCompat
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.NOFfmpeg
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.singleOnClick
|
||||
import com.veloria.now.shortapp.databinding.ActivityVeLanguageBinding
|
||||
import com.veloria.now.shortapp.newsletter.AIXTextActivity
|
||||
import com.veloria.now.shortapp.rewards.VSNotificationsDefault
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.LanguageViewModel
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.LanguageAdapter
|
||||
import com.veloria.now.shortapp.texturedAsink.LanguageBean
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.withContext
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
|
||||
class VeLanguageActivity : AIXTextActivity<ActivityVeLanguageBinding, LanguageViewModel>(),
|
||||
NOFfmpeg {
|
||||
|
||||
val viewModel: LanguageViewModel by viewModels()
|
||||
|
||||
private var mAdapter: LanguageAdapter? = null
|
||||
private var langKey = ""
|
||||
|
||||
override fun getViewBinding() = ActivityVeLanguageBinding.inflate(layoutInflater)
|
||||
|
||||
override fun initView() {
|
||||
val layoutManager =
|
||||
LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false)
|
||||
binding.recyclerView.layoutManager = layoutManager
|
||||
mAdapter = LanguageAdapter()
|
||||
binding.recyclerView.adapter = mAdapter
|
||||
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
binding.tvTitle.text = TranslationHelper.getTranslation()?.veloria_language
|
||||
}
|
||||
|
||||
showLoading()
|
||||
viewModel.getLanguages()
|
||||
|
||||
mAdapter?.setOnItemClickListener { adapter, view, position ->
|
||||
singleOnClick {
|
||||
if (mAdapter?.currentPosition == position) {
|
||||
return@singleOnClick
|
||||
}
|
||||
showLoading()
|
||||
val language = mAdapter?.getItem(position) as LanguageBean.DataBean
|
||||
langKey = language.lang_key
|
||||
mAdapter?.currentPosition = position
|
||||
mAdapter?.notifyDataSetChanged()
|
||||
|
||||
if (langKey.isEmpty()) return@singleOnClick
|
||||
viewModel.getTranslates(langKey)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun observeData() {
|
||||
viewModel.languagesData.observe(this) {
|
||||
if (it?.data?.list != null && it.data.list.isNotEmpty()) {
|
||||
showComplete()
|
||||
binding.recyclerView.visibility = View.VISIBLE
|
||||
mAdapter?.submitList(it.data.list)
|
||||
val string = RYAction.getMMKV()
|
||||
.getString(JActivityAdapter.ACCOUNT_LANG_KEY, "en")
|
||||
it.data.list.find { item -> item.lang_key == string }?.let { foundItem ->
|
||||
mAdapter?.currentPosition = it.data.list.indexOf(foundItem)
|
||||
}
|
||||
langKey = string.toString()
|
||||
mAdapter?.notifyDataSetChanged()
|
||||
} else {
|
||||
showEmptyData()
|
||||
binding.recyclerView.visibility = View.GONE
|
||||
}
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
viewModel.translatesDataBean.observe(this) {
|
||||
if (it?.data != null) {
|
||||
RYAction.getMMKV()
|
||||
.putString(JActivityAdapter.HOME_MAIN_VIDEO_INFO, "")
|
||||
lifecycleScope.launch {
|
||||
withContext(Dispatchers.IO) {
|
||||
TranslationHelper.saveTranslation(it.data.translates)
|
||||
}
|
||||
}
|
||||
if (langKey.isNotEmpty()) {
|
||||
RYAction.getMMKV()
|
||||
.putString(JActivityAdapter.ACCOUNT_LANG_KEY, langKey)
|
||||
EventBus.getDefault().post(JActivityAdapter.HOME_LANGUAGE_REFRESH)
|
||||
AppCompatDelegate.setApplicationLocales(
|
||||
LocaleListCompat.forLanguageTags(
|
||||
langKey
|
||||
)
|
||||
)
|
||||
}
|
||||
hideLoading()
|
||||
finish()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
override fun getStatusLayout(): VSNotificationsDefault? {
|
||||
return binding.stateLayout
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,179 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional
|
||||
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.widget.ImageView
|
||||
import android.widget.TextView
|
||||
import androidx.activity.viewModels
|
||||
import androidx.core.content.ContextCompat
|
||||
import androidx.viewpager2.widget.ViewPager2
|
||||
import com.google.android.material.tabs.TabLayout
|
||||
import com.google.android.material.tabs.TabLayoutMediator
|
||||
import com.scwang.smart.refresh.layout.api.RefreshLayout
|
||||
import com.scwang.smart.refresh.layout.listener.OnRefreshLoadMoreListener
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.databinding.ActivityVeMyWalletBinding
|
||||
import com.veloria.now.shortapp.newsletter.AIXTextActivity
|
||||
import com.veloria.now.shortapp.other.NestedScrollHelper
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.VeMyWalletViewModel
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.VeMyWalletViewPagerAdapter
|
||||
|
||||
class VeMyWalletActivity : AIXTextActivity<ActivityVeMyWalletBinding, VeMyWalletViewModel>(),
|
||||
OnRefreshLoadMoreListener {
|
||||
|
||||
val viewModel: VeMyWalletViewModel by viewModels()
|
||||
|
||||
private var tabPosition = 1
|
||||
|
||||
override fun getViewBinding() = ActivityVeMyWalletBinding.inflate(layoutInflater)
|
||||
|
||||
override fun initView() {
|
||||
|
||||
binding.ivBack.setOnClickListener {
|
||||
finish()
|
||||
}
|
||||
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
binding.tvTitle.text = TranslationHelper.getTranslation()?.veloria_my_wallet
|
||||
binding.tvTotalText.text = TranslationHelper.getTranslation()?.veloria_total_coins
|
||||
binding.tvRechargeText.text = TranslationHelper.getTranslation()?.veloria_recharge
|
||||
binding.tvDonateText.text = TranslationHelper.getTranslation()?.veloria_bonus
|
||||
|
||||
|
||||
}
|
||||
|
||||
binding.tvTotal.text =
|
||||
RYAction.getAllCoinTotal().toString()
|
||||
binding.tvRecharge.text =
|
||||
RYAction.getUserInfoBean()?.coin_left_total.toString()
|
||||
binding.tvDonate.text =
|
||||
RYAction.getUserInfoBean()?.send_coin_left_total.toString()
|
||||
|
||||
binding.refresh.setOnRefreshLoadMoreListener(this)
|
||||
binding.refresh.setEnableRefresh(false)
|
||||
binding.refresh.setEnableLoadMore(true)
|
||||
|
||||
setupViewPager()
|
||||
setupTabs()
|
||||
|
||||
}
|
||||
|
||||
private lateinit var viewPagerAdapter: VeMyWalletViewPagerAdapter
|
||||
|
||||
// Tab图标和标题资源
|
||||
private val tabTitles = listOf(
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_order_record } ?: "Order Records",
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_consumption_records }
|
||||
?: "Consumption Records",
|
||||
TranslationHelper.getTranslation()
|
||||
?.let { TranslationHelper.getTranslation()?.veloria_reward_coins } ?: "Reward Coins")
|
||||
private val tabIcons = listOf(
|
||||
R.mipmap.iv_wallet_order_off,
|
||||
R.mipmap.iv_wallet_consumption_off,
|
||||
R.mipmap.iv_wallet_reward_off
|
||||
)
|
||||
private val tabIconsSelected = listOf(
|
||||
R.mipmap.iv_wallet_order_on,
|
||||
R.mipmap.iv_wallet_consumption_on,
|
||||
R.mipmap.iv_wallet_reward_on
|
||||
)
|
||||
|
||||
private fun setupViewPager() {
|
||||
viewPagerAdapter = VeMyWalletViewPagerAdapter(this)
|
||||
binding.viewPager.adapter = viewPagerAdapter
|
||||
|
||||
binding.viewPager.isUserInputEnabled = true
|
||||
|
||||
binding.viewPager.offscreenPageLimit = viewPagerAdapter.itemCount - 1
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun setupTabs() {
|
||||
repeat(viewPagerAdapter.itemCount) { position ->
|
||||
binding.tabLayout.addTab(binding.tabLayout.newTab().apply {
|
||||
customView = createTabView(position, false)
|
||||
})
|
||||
}
|
||||
|
||||
// 连接TabLayout和ViewPager2
|
||||
TabLayoutMediator(binding.tabLayout, binding.viewPager) { tab, position ->
|
||||
}.attach()
|
||||
|
||||
binding.tabLayout.addOnTabSelectedListener(object : TabLayout.OnTabSelectedListener {
|
||||
override fun onTabSelected(tab: TabLayout.Tab) {
|
||||
updateTabView(tab, true)
|
||||
binding.viewPager.currentItem = tab.position
|
||||
}
|
||||
|
||||
override fun onTabUnselected(tab: TabLayout.Tab) {
|
||||
updateTabView(tab, false)
|
||||
}
|
||||
|
||||
override fun onTabReselected(tab: TabLayout.Tab) {
|
||||
}
|
||||
})
|
||||
|
||||
binding.tabLayout.getTabAt(0)?.let { updateTabView(it, true) }
|
||||
binding.tabLayout.getTabAt(1)?.let { updateTabView(it, false) }
|
||||
binding.tabLayout.getTabAt(2)?.let { updateTabView(it, false) }
|
||||
}
|
||||
|
||||
private fun createTabView(position: Int, isSelected: Boolean): View {
|
||||
return LayoutInflater.from(this).inflate(R.layout.layout_custom_tab, null).apply {
|
||||
val icon = findViewById<ImageView>(R.id.tabIcon)
|
||||
val text = findViewById<TextView>(R.id.tabText)
|
||||
val indicator = findViewById<View>(R.id.tabIndicator)
|
||||
|
||||
text.text = tabTitles[position]
|
||||
icon.setImageResource(if (isSelected) tabIconsSelected[position] else tabIcons[position])
|
||||
// indicator.visibility = if (isSelected) View.VISIBLE else View.INVISIBLE
|
||||
|
||||
val color = if (isSelected) R.color.white else R.color.white60
|
||||
text.setTextColor(ContextCompat.getColor(context, color))
|
||||
}
|
||||
}
|
||||
|
||||
private fun updateTabView(tab: TabLayout.Tab, isSelected: Boolean) {
|
||||
val position = tab.position
|
||||
tab.customView = createTabView(position, isSelected)
|
||||
}
|
||||
|
||||
override fun observeData() {
|
||||
viewModel.heightAction.observe(this) {
|
||||
NestedScrollHelper.refreshNestedScrollHeight(
|
||||
binding.scrollView,
|
||||
binding.viewPager
|
||||
) {
|
||||
}
|
||||
}
|
||||
viewModel.loadMoreFinishAction.observe(this) {
|
||||
binding.refresh.finishLoadMore(200)
|
||||
}
|
||||
binding.viewPager.registerOnPageChangeCallback(object : ViewPager2.OnPageChangeCallback() {
|
||||
override fun onPageSelected(position: Int) {
|
||||
super.onPageSelected(position)
|
||||
NestedScrollHelper.refreshNestedScrollHeight(
|
||||
binding.scrollView,
|
||||
binding.viewPager
|
||||
) {
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
override fun onRefresh(refreshLayout: RefreshLayout) {
|
||||
|
||||
}
|
||||
|
||||
override fun onLoadMore(refreshLayout: RefreshLayout) {
|
||||
viewModel.setLoadMoreAction(binding.viewPager.currentItem)
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,164 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.graphics.Bitmap
|
||||
import android.graphics.Color
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import android.webkit.WebChromeClient
|
||||
import android.webkit.WebResourceError
|
||||
import android.webkit.WebResourceRequest
|
||||
import android.webkit.WebSettings
|
||||
import android.webkit.WebView
|
||||
import android.webkit.WebViewClient
|
||||
import androidx.activity.viewModels
|
||||
import com.blankj.utilcode.util.NetworkUtils
|
||||
import com.scwang.smart.refresh.layout.api.RefreshLayout
|
||||
import com.scwang.smart.refresh.layout.listener.OnRefreshLoadMoreListener
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.NOFfmpeg
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.singleOnClick
|
||||
import com.veloria.now.shortapp.civil.toast
|
||||
import com.veloria.now.shortapp.databinding.ActivityVeRewardsBinding
|
||||
import com.veloria.now.shortapp.newsletter.AIXTextActivity
|
||||
import com.veloria.now.shortapp.newsletter.XNBackground
|
||||
import com.veloria.now.shortapp.other.FeedbackJsBridge
|
||||
import com.veloria.now.shortapp.rewards.VSNotificationsDefault
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.VeFeedbackViewModel
|
||||
import org.greenrobot.eventbus.EventBus
|
||||
import org.greenrobot.eventbus.Subscribe
|
||||
import org.greenrobot.eventbus.ThreadMode
|
||||
|
||||
class VeRewardsActivity : AIXTextActivity<ActivityVeRewardsBinding, VeFeedbackViewModel>(),
|
||||
OnRefreshLoadMoreListener, NOFfmpeg {
|
||||
|
||||
val viewModel: VeFeedbackViewModel by viewModels()
|
||||
|
||||
override fun getViewBinding() = ActivityVeRewardsBinding.inflate(layoutInflater)
|
||||
|
||||
override fun initView() {
|
||||
EventBus.getDefault().register(this)
|
||||
|
||||
binding.ivBack.setOnClickListener { finish() }
|
||||
|
||||
binding.refresh.setOnRefreshLoadMoreListener(this)
|
||||
binding.refresh.setEnableLoadMore(false)
|
||||
binding.webRewards.setBackgroundColor(Color.TRANSPARENT)
|
||||
|
||||
// ivLeft?.setOnClickListener {
|
||||
// singleClick {
|
||||
// DialogUtils.showStoreHint(requireContext())
|
||||
// }
|
||||
// }
|
||||
|
||||
setWebView()
|
||||
loadingData()
|
||||
}
|
||||
|
||||
fun loadingData() {
|
||||
showLoading()
|
||||
if (NetworkUtils.isConnected()) {
|
||||
binding.webRewards.visibility = View.VISIBLE
|
||||
showComplete()
|
||||
loadPageUrl(JActivityAdapter.REWARDS_URL_DETAIL)
|
||||
} else {
|
||||
binding.webRewards.visibility = View.GONE
|
||||
showErrorStatus()
|
||||
}
|
||||
}
|
||||
|
||||
fun showErrorStatus() {
|
||||
showErrorData(object : VSNotificationsDefault.OnRetryListener {
|
||||
override fun onRetry(layout: VSNotificationsDefault) {
|
||||
singleOnClick {
|
||||
loadingData()
|
||||
}
|
||||
}
|
||||
})
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
override fun observeData() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun loadPageUrl(url: String) {
|
||||
binding.webRewards.loadUrl(url)
|
||||
}
|
||||
|
||||
@SuppressLint("SetJavaScriptEnabled")
|
||||
private fun setWebView() {
|
||||
val webSettings: WebSettings = binding.webRewards.settings
|
||||
webSettings.javaScriptEnabled = true
|
||||
binding.webRewards.webChromeClient = WebChromeClient()
|
||||
binding.webRewards.setBackgroundColor(Color.TRANSPARENT)
|
||||
binding.webRewards.webViewClient = object : WebViewClient() {
|
||||
override fun onPageStarted(view: WebView?, url: String?, favicon: Bitmap?) {
|
||||
super.onPageStarted(view, url, favicon)
|
||||
|
||||
}
|
||||
|
||||
override fun onPageFinished(view: WebView?, url: String?) {
|
||||
super.onPageFinished(view, url)
|
||||
hideLoading()
|
||||
binding.refresh.finishRefresh()
|
||||
if (NetworkUtils.isConnected()) {
|
||||
showComplete()
|
||||
}
|
||||
}
|
||||
|
||||
override fun onReceivedError(
|
||||
view: WebView?,
|
||||
request: WebResourceRequest?,
|
||||
error: WebResourceError?
|
||||
) {
|
||||
super.onReceivedError(view, request, error)
|
||||
if (TranslationHelper.getTranslation() != null){
|
||||
toast(TranslationHelper.getTranslation()?.veloria_network.toString())
|
||||
}else {
|
||||
toast(getString(R.string.shapeSelected))
|
||||
}
|
||||
hideLoading()
|
||||
binding.refresh.finishRefresh()
|
||||
}
|
||||
}
|
||||
webSettings.domStorageEnabled = true
|
||||
webSettings.loadsImagesAutomatically = true
|
||||
webSettings.useWideViewPort = true
|
||||
webSettings.loadWithOverviewMode = true
|
||||
webSettings.builtInZoomControls = true
|
||||
webSettings.displayZoomControls = false
|
||||
binding.webRewards.addJavascriptInterface(
|
||||
FeedbackJsBridge(this),
|
||||
"AndroidInterface"
|
||||
)
|
||||
}
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
fun onEvent(event: String) {
|
||||
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
(binding.root.parent as? ViewGroup)?.removeView(binding.webRewards)
|
||||
binding.webRewards.destroy()
|
||||
EventBus.getDefault().unregister(this)
|
||||
|
||||
}
|
||||
|
||||
override fun onRefresh(refreshLayout: RefreshLayout) {
|
||||
loadingData()
|
||||
}
|
||||
|
||||
override fun onLoadMore(refreshLayout: RefreshLayout) {
|
||||
}
|
||||
|
||||
override fun getStatusLayout(): VSNotificationsDefault? {
|
||||
return binding.stateLayout
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,561 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional
|
||||
|
||||
import android.graphics.Rect
|
||||
import android.os.Build
|
||||
import android.text.Html
|
||||
import android.view.View
|
||||
import androidx.activity.viewModels
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import androidx.recyclerview.widget.GridLayoutManager
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.android.billingclient.api.AcknowledgePurchaseParams
|
||||
import com.android.billingclient.api.BillingClient
|
||||
import com.android.billingclient.api.BillingClientStateListener
|
||||
import com.android.billingclient.api.BillingFlowParams
|
||||
import com.android.billingclient.api.BillingResult
|
||||
import com.android.billingclient.api.ConsumeParams
|
||||
import com.android.billingclient.api.ConsumeResponseListener
|
||||
import com.android.billingclient.api.ProductDetails
|
||||
import com.android.billingclient.api.ProductDetailsResponseListener
|
||||
import com.android.billingclient.api.Purchase
|
||||
import com.android.billingclient.api.PurchasesUpdatedListener
|
||||
import com.android.billingclient.api.QueryProductDetailsParams
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.civil.YFHome
|
||||
import com.veloria.now.shortapp.civil.singleOnClick
|
||||
import com.veloria.now.shortapp.civil.toast
|
||||
import com.veloria.now.shortapp.databinding.ActivityVeStoreBinding
|
||||
import com.veloria.now.shortapp.newsletter.AIXTextActivity
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.VeStoreViewModel
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.VeStoreCoinAdapter
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.VeStoreVipAdapter
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCreatePayOrderReqBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VePayBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VePaySettingsBean
|
||||
import kotlinx.coroutines.launch
|
||||
|
||||
class VeStoreActivity : AIXTextActivity<ActivityVeStoreBinding, VeStoreViewModel>() {
|
||||
|
||||
val viewModel: VeStoreViewModel by viewModels()
|
||||
|
||||
override fun getViewBinding() = ActivityVeStoreBinding.inflate(layoutInflater)
|
||||
|
||||
private var coinAdapter: VeStoreCoinAdapter? = null
|
||||
private var vipAdapter: VeStoreVipAdapter? = null
|
||||
private var typeOnClick = 0
|
||||
private var isConnect = false
|
||||
private var vipData: VePaySettingsBean.VipBean? = null
|
||||
private var coinsData: VePaySettingsBean.CoinsBean? = null
|
||||
private var payBeanReq: VePayBean? = null
|
||||
|
||||
private var billingClientData: BillingClient? = null
|
||||
private var connectNum = 0
|
||||
private var order_code = ""
|
||||
|
||||
private var isBuy = false
|
||||
private var purchaseData: Purchase? = null
|
||||
|
||||
override fun initView() {
|
||||
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
binding.tvTitle1.text = TranslationHelper.getTranslation()?.veloria_limited_time_offer
|
||||
binding.tvTitle2.text = TranslationHelper.getTranslation()?.veloria_recharge_unlock_more
|
||||
binding.tvTab2.text = TranslationHelper.getTranslation()?.veloria_coins
|
||||
binding.tvVipText.text = TranslationHelper.getTranslation()?.veloria_membership_benefits
|
||||
binding.tvVipContent1.text = TranslationHelper.getTranslation()?.veloria_store_no_ads
|
||||
binding.tvVipContent2.text =
|
||||
TranslationHelper.getTranslation()?.veloria_store_donate_coins
|
||||
binding.tvVipContent3.text =
|
||||
TranslationHelper.getTranslation()?.veloria_store_auto_renew
|
||||
binding.tvMoreCoin.text = TranslationHelper.getTranslation()?.veloria_get_more_coins
|
||||
binding.tvCoinText.text = TranslationHelper.getTranslation()?.veloria_your_coins
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
||||
binding.tvTips.text = Html.fromHtml(
|
||||
TranslationHelper.getTranslation()?.veloria_store_tips
|
||||
?: getString(R.string.ve_store_tips_br),
|
||||
Html.FROM_HTML_MODE_COMPACT
|
||||
)
|
||||
} else {
|
||||
binding.tvTips.text = Html.fromHtml(
|
||||
TranslationHelper.getTranslation()?.veloria_store_tips
|
||||
?: getString(R.string.ve_store_tips_br)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
showLoading()
|
||||
|
||||
binding.tvCoin.text = RYAction.getAllCoinTotal().toString()
|
||||
|
||||
binding.ivBack.setOnClickListener {
|
||||
finish()
|
||||
}
|
||||
binding.tvTab1.setOnClickListener {
|
||||
binding.tvTab1.setBackgroundResource(R.mipmap.iv_store_tab_left)
|
||||
binding.tvTab2.setBackgroundResource(R.drawable.bg_transparent)
|
||||
binding.clOne.visibility = View.GONE
|
||||
binding.clTwo.visibility = View.VISIBLE
|
||||
}
|
||||
binding.tvTab2.setOnClickListener {
|
||||
binding.tvTab1.setBackgroundResource(R.drawable.bg_transparent)
|
||||
binding.tvTab2.setBackgroundResource(R.mipmap.iv_store_tab_right)
|
||||
binding.clOne.visibility = View.VISIBLE
|
||||
binding.clTwo.visibility = View.GONE
|
||||
}
|
||||
|
||||
|
||||
coinAdapter = VeStoreCoinAdapter()
|
||||
binding.recyclerCoin.layoutManager = GridLayoutManager(this, 3)
|
||||
binding.recyclerCoin.adapter = coinAdapter
|
||||
binding.recyclerCoin.addItemDecoration(object : RecyclerView.ItemDecoration() {
|
||||
override fun getItemOffsets(
|
||||
outRect: Rect,
|
||||
view: View,
|
||||
parent: RecyclerView,
|
||||
state: RecyclerView.State
|
||||
) {
|
||||
outRect.left = resources.getDimension(R.dimen.dp_5).toInt()
|
||||
outRect.right = resources.getDimension(R.dimen.dp_5).toInt()
|
||||
outRect.bottom = resources.getDimension(R.dimen.dp_10).toInt()
|
||||
}
|
||||
})
|
||||
|
||||
vipAdapter = VeStoreVipAdapter()
|
||||
binding.recyclerVip.layoutManager =
|
||||
LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false)
|
||||
binding.recyclerVip.adapter = vipAdapter
|
||||
|
||||
viewModel.getPaySettingsV3(0, 0)
|
||||
|
||||
vipAdapter?.setOnItemClickListener { adapter, view, position ->
|
||||
if (typeOnClick == 0) {
|
||||
coinAdapter?.currentPosition = -1
|
||||
coinAdapter?.notifyDataSetChanged()
|
||||
}
|
||||
typeOnClick = 1
|
||||
vipAdapter?.currentPosition = position
|
||||
vipAdapter?.notifyDataSetChanged()
|
||||
|
||||
setOnPayNowClick()
|
||||
}
|
||||
coinAdapter?.setOnItemClickListener { adapter, view, position ->
|
||||
if (typeOnClick == 1) {
|
||||
vipAdapter?.currentPosition = -1
|
||||
vipAdapter?.notifyDataSetChanged()
|
||||
}
|
||||
typeOnClick = 0
|
||||
coinAdapter?.currentPosition = position
|
||||
coinAdapter?.notifyDataSetChanged()
|
||||
|
||||
setOnPayNowClick()
|
||||
}
|
||||
|
||||
initPayData()
|
||||
}
|
||||
|
||||
fun setOnPayNowClick() {
|
||||
singleOnClick {
|
||||
if (!isConnect) {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
} else {
|
||||
toast(getString(R.string.ve_google_pay_error))
|
||||
}
|
||||
return@singleOnClick
|
||||
}
|
||||
if (typeOnClick == 0) {
|
||||
coinsData =
|
||||
coinAdapter!!.getItem(coinAdapter!!.currentPosition) as VePaySettingsBean.CoinsBean
|
||||
} else {
|
||||
vipData =
|
||||
vipAdapter!!.getItem(vipAdapter!!.currentPosition) as VePaySettingsBean.VipBean
|
||||
}
|
||||
showLoading()
|
||||
viewModel.setCreatePayOrder(
|
||||
VeCreatePayOrderReqBean(
|
||||
if (typeOnClick == 0) coinsData?.id.toString() else vipData?.id.toString(),
|
||||
"google",
|
||||
0,
|
||||
0
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
override fun observeData() {
|
||||
viewModel.PaySettingsV3.observe(this) {
|
||||
if (it?.data != null) {
|
||||
coinAdapter?.submitList(it.data.list_coins)
|
||||
vipAdapter?.submitList(it.data.list_sub_vip)
|
||||
|
||||
it.data.list_sub_vip.let { it1 -> querySubVipProductDetails(it1) }
|
||||
it.data.list_coins.let { it1 -> queryInAppCoinsProductDetails(it1) }
|
||||
}
|
||||
|
||||
hideLoading()
|
||||
}
|
||||
viewModel.createPayOrderData.observe(this) {
|
||||
if (it?.data != null) {
|
||||
order_code = it.data.order_code.toString()
|
||||
if (typeOnClick == 0) {
|
||||
coinsData?.android_template_id?.let { it1 -> getProduct(it1) }
|
||||
} else {
|
||||
vipData?.android_template_id?.let { it1 -> getProduct(it1) }
|
||||
}
|
||||
} else {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
} else {
|
||||
toast(getString(R.string.shapeSelected))
|
||||
}
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
|
||||
viewModel.googlePaidData.observe(this) {
|
||||
if (it?.data != null) {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
} else {
|
||||
toast(getString(R.string.ve_google_pay_success))
|
||||
}
|
||||
viewModel.getUserInfo()
|
||||
isBuy = true
|
||||
} else {
|
||||
payBeanReq?.let { it1 -> RYAction.saveOrder(it1) }
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
} else {
|
||||
toast(getString(R.string.shapeSelected))
|
||||
}
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
}
|
||||
viewModel.userInfo.observe(this) {
|
||||
if (it?.data != null) {
|
||||
RYAction.saveUserInfoBean(it.data)
|
||||
binding.tvCoin.text = RYAction.getAllCoinTotal().toString()
|
||||
}
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
|
||||
private fun initPayData() {
|
||||
val purchasesUpdatedListener =
|
||||
PurchasesUpdatedListener { billingResult, purchases ->
|
||||
when (billingResult.responseCode) {
|
||||
BillingClient.BillingResponseCode.OK -> {
|
||||
for (purchase in purchases!!) {
|
||||
if (purchase.purchaseState == Purchase.PurchaseState.PURCHASED) {
|
||||
if (typeOnClick == 0) {
|
||||
consumePurchase(purchase)
|
||||
} else {
|
||||
consumePurchaseSub(purchase)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BillingClient.BillingResponseCode.USER_CANCELED -> {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
} else {
|
||||
toast(getString(R.string.ve_google_pay_canceled))
|
||||
}
|
||||
hideLoading()
|
||||
}
|
||||
|
||||
else -> {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
} else {
|
||||
toast(getString(R.string.ve_google_pay_error))
|
||||
}
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
billingClientData = BillingClient.newBuilder(this)
|
||||
.setListener(purchasesUpdatedListener)
|
||||
.enablePendingPurchases()
|
||||
.build()
|
||||
|
||||
|
||||
val stateListener: BillingClientStateListener = object : BillingClientStateListener {
|
||||
override fun onBillingSetupFinished(billingResult: BillingResult) {
|
||||
if (billingResult.responseCode == BillingClient.BillingResponseCode.OK) {
|
||||
isConnect = true
|
||||
}
|
||||
}
|
||||
|
||||
override fun onBillingServiceDisconnected() {
|
||||
if (connectNum < 5) {
|
||||
connectNum++
|
||||
isConnect = false
|
||||
billingClientData?.startConnection(this)
|
||||
}
|
||||
}
|
||||
}
|
||||
billingClientData?.startConnection(stateListener)
|
||||
}
|
||||
|
||||
private fun consumePurchaseSub(
|
||||
purchase: Purchase
|
||||
) {
|
||||
if (billingClientData?.isReady == true) {
|
||||
if (!purchase.isAcknowledged) {
|
||||
val acknowledgePurchaseParams =
|
||||
AcknowledgePurchaseParams.newBuilder()
|
||||
.setPurchaseToken(purchase.purchaseToken)
|
||||
.build()
|
||||
billingClientData?.acknowledgePurchase(
|
||||
acknowledgePurchaseParams
|
||||
) {
|
||||
val vePayBean = VePayBean(
|
||||
order_code,
|
||||
vipData?.id.toString(),
|
||||
YFHome.getPackageName(),
|
||||
vipData?.android_template_id.toString(),
|
||||
purchase.purchaseToken,
|
||||
purchase.orderId.toString(),
|
||||
vipData?.price.toString()
|
||||
)
|
||||
payBeanReq = vePayBean
|
||||
if (it.responseCode == BillingClient.BillingResponseCode.OK) {
|
||||
lifecycleScope.launch {
|
||||
viewModel.setGooglePaid(vePayBean)
|
||||
}
|
||||
} else {
|
||||
RYAction.saveOrder(vePayBean)
|
||||
lifecycleScope.launch {
|
||||
toast(it.toString())
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun querySubVipProductDetails(listSubVip: List<VePaySettingsBean.VipBean>) {
|
||||
val productDetailsResponseListener =
|
||||
ProductDetailsResponseListener { billingResult, productDetailsList ->
|
||||
if (billingResult.responseCode == BillingClient.BillingResponseCode.OK) {
|
||||
val priceInfo = productDetailsList.mapNotNull { productDetails ->
|
||||
productDetails.subscriptionOfferDetails?.get(0)?.pricingPhases?.pricingPhaseList?.get(
|
||||
0
|
||||
)?.let {
|
||||
productDetails.productId to (it.formattedPrice to it.priceCurrencyCode)
|
||||
}
|
||||
}.toMap()
|
||||
|
||||
// 更新VIP列表的价格和货币代码
|
||||
val updatedVipList = listSubVip.map { vip ->
|
||||
priceInfo[vip.android_template_id]?.let { (price, currency) ->
|
||||
vip.copy(price_google = price, currency_goolge = currency)
|
||||
} ?: vip
|
||||
}
|
||||
|
||||
vipAdapter?.recyclerView?.postDelayed({
|
||||
vipAdapter?.submitList(updatedVipList)
|
||||
hideLoading()
|
||||
}, 500)
|
||||
} else {
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
|
||||
val productType: String = BillingClient.ProductType.SUBS
|
||||
|
||||
val inAppProductInfo = listSubVip.map {
|
||||
QueryProductDetailsParams.Product.newBuilder()
|
||||
.setProductId(it.android_template_id)
|
||||
.setProductType(productType)
|
||||
.build()
|
||||
}
|
||||
if (inAppProductInfo.isNotEmpty()) {
|
||||
val productDetailsParams = QueryProductDetailsParams.newBuilder()
|
||||
.setProductList(inAppProductInfo)
|
||||
.build()
|
||||
billingClientData?.queryProductDetailsAsync(
|
||||
productDetailsParams,
|
||||
productDetailsResponseListener
|
||||
)
|
||||
} else {
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
|
||||
private fun queryInAppCoinsProductDetails(
|
||||
coinsList: List<VePaySettingsBean.CoinsBean>
|
||||
) {
|
||||
val productDetailsResponseListener =
|
||||
ProductDetailsResponseListener { billingResult, productDetailsList ->
|
||||
if (billingResult.responseCode == BillingClient.BillingResponseCode.OK) {
|
||||
val priceInfo = productDetailsList.mapNotNull { productDetails ->
|
||||
productDetails.oneTimePurchaseOfferDetails?.let {
|
||||
productDetails.productId to (it.formattedPrice to it.priceCurrencyCode)
|
||||
}
|
||||
}.toMap()
|
||||
|
||||
// 更新Coins列表的价格和货币代码
|
||||
val updatedCoinsList = coinsList.map { coin ->
|
||||
priceInfo[coin.android_template_id]?.let { (price, currency) ->
|
||||
coin.copy(price_google = price, currency_goolge = currency)
|
||||
} ?: coin
|
||||
}
|
||||
|
||||
coinAdapter?.recyclerView?.postDelayed({
|
||||
coinAdapter?.submitList(updatedCoinsList)
|
||||
}, 500)
|
||||
} else {
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
|
||||
val productType = BillingClient.ProductType.INAPP
|
||||
|
||||
val inAppProductInfo = coinsList.map {
|
||||
QueryProductDetailsParams.Product.newBuilder()
|
||||
.setProductId(it.android_template_id)
|
||||
.setProductType(productType)
|
||||
.build()
|
||||
}
|
||||
|
||||
if (inAppProductInfo.isNotEmpty()) {
|
||||
val productDetailsParams = QueryProductDetailsParams.newBuilder()
|
||||
.setProductList(inAppProductInfo)
|
||||
.build()
|
||||
billingClientData?.queryProductDetailsAsync(
|
||||
productDetailsParams,
|
||||
productDetailsResponseListener
|
||||
)
|
||||
} else {
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
|
||||
private fun getProduct(productId: String) {
|
||||
val productDetailsResponseListener =
|
||||
ProductDetailsResponseListener { billingResult, productDetailsList ->
|
||||
if (productDetailsList.isNotEmpty()) {
|
||||
setPay(productDetailsList[0])
|
||||
} else {
|
||||
lifecycleScope.launch {
|
||||
toast(billingResult.toString())
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
}
|
||||
val productType: String = if (typeOnClick == 0) {
|
||||
BillingClient.ProductType.INAPP
|
||||
} else {
|
||||
BillingClient.ProductType.SUBS
|
||||
}
|
||||
|
||||
val inAppProductInfo = ArrayList<QueryProductDetailsParams.Product>()
|
||||
inAppProductInfo.add(
|
||||
QueryProductDetailsParams.Product.newBuilder()
|
||||
.setProductId(productId)
|
||||
.setProductType(productType)
|
||||
.build()
|
||||
)
|
||||
val productDetailsParams = QueryProductDetailsParams.newBuilder()
|
||||
.setProductList(inAppProductInfo)
|
||||
.build()
|
||||
billingClientData?.queryProductDetailsAsync(
|
||||
productDetailsParams,
|
||||
productDetailsResponseListener
|
||||
)
|
||||
}
|
||||
|
||||
private fun setPay(productDetailInfo: ProductDetails) {
|
||||
if (productDetailInfo.subscriptionOfferDetails?.isNotEmpty() == true) {
|
||||
val params = ArrayList<BillingFlowParams.ProductDetailsParams>()
|
||||
productDetailInfo.subscriptionOfferDetails?.get(0)?.offerToken?.let {
|
||||
BillingFlowParams.ProductDetailsParams.newBuilder()
|
||||
.setProductDetails(productDetailInfo)
|
||||
.setOfferToken(it)
|
||||
.build()
|
||||
}?.let {
|
||||
params.add(
|
||||
it
|
||||
)
|
||||
}
|
||||
val billingFlowParams = BillingFlowParams.newBuilder()
|
||||
.setObfuscatedProfileId(order_code)
|
||||
.setObfuscatedAccountId(RYAction.getCustomId())
|
||||
.setProductDetailsParamsList(params)
|
||||
.build()
|
||||
|
||||
billingClientData?.launchBillingFlow(this, billingFlowParams)
|
||||
} else {
|
||||
val params = ArrayList<BillingFlowParams.ProductDetailsParams>()
|
||||
params.add(
|
||||
BillingFlowParams.ProductDetailsParams.newBuilder()
|
||||
.setProductDetails(productDetailInfo)
|
||||
.build()
|
||||
)
|
||||
|
||||
val billingFlowParams = BillingFlowParams.newBuilder()
|
||||
.setObfuscatedProfileId(order_code)
|
||||
.setObfuscatedAccountId(RYAction.getCustomId())
|
||||
.setProductDetailsParamsList(params)
|
||||
.build()
|
||||
|
||||
billingClientData?.launchBillingFlow(this, billingFlowParams)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun consumePurchase(purchase: Purchase?) {
|
||||
if (billingClientData?.isReady == true) {
|
||||
purchaseData = purchase
|
||||
val consumeParams = ConsumeParams.newBuilder()
|
||||
.setPurchaseToken(purchase?.purchaseToken!!)
|
||||
.build()
|
||||
billingClientData?.consumeAsync(consumeParams, responseListener)
|
||||
} else {
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
// toast(TranslationHelper.getTranslation()?.mireo_g_pay_error.toString())
|
||||
} else {
|
||||
toast(getString(R.string.ve_google_pay_error))
|
||||
}
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
|
||||
private var responseListener =
|
||||
ConsumeResponseListener { billingResult, purchaseToken ->
|
||||
val vePayBean = VePayBean(
|
||||
order_code,
|
||||
if (typeOnClick == 0) coinsData?.id.toString() else vipData?.id.toString(),
|
||||
YFHome.getPackageName(),
|
||||
if (typeOnClick == 0) coinsData?.android_template_id.toString() else vipData?.android_template_id.toString(),
|
||||
purchaseToken,
|
||||
purchaseData?.orderId.toString(),
|
||||
if (typeOnClick == 0) coinsData?.price.toString() else vipData?.price.toString()
|
||||
)
|
||||
payBeanReq = vePayBean
|
||||
if (billingResult.responseCode == BillingClient.BillingResponseCode.OK) {
|
||||
lifecycleScope.launch {
|
||||
viewModel.setGooglePaid(vePayBean)
|
||||
}
|
||||
} else {
|
||||
RYAction.saveOrder(vePayBean)
|
||||
lifecycleScope.launch {
|
||||
toast(billingResult.toString())
|
||||
hideLoading()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
payBeanReq = null
|
||||
billingClientData?.endConnection()
|
||||
billingClientData = null
|
||||
System.gc()
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,131 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional
|
||||
|
||||
import android.content.Intent
|
||||
import androidx.activity.viewModels
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import com.google.common.reflect.TypeToken
|
||||
import com.google.gson.Gson
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter.VIDEO_SHORT_PLAY_ID
|
||||
import com.veloria.now.shortapp.civil.TranslationHelper
|
||||
import com.veloria.now.shortapp.databinding.ActivityVeTypeMoreBinding
|
||||
import com.veloria.now.shortapp.newsletter.AIXTextActivity
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.VeTypeMoreViewModel
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.DFQManifestRetrofit
|
||||
import com.veloria.now.shortapp.subtractionCroll.modificationsPretch.VeTypeMoreAdapter
|
||||
import com.veloria.now.shortapp.texturedAsink.BCategoiesBean
|
||||
import com.veloria.now.shortapp.texturedAsink.GStateBean
|
||||
import com.veloria.now.shortapp.texturedAsink.ILauncherBean
|
||||
import com.veloria.now.shortapp.texturedAsink.WHCenterPrivacyBean
|
||||
|
||||
class VeTypeMoreActivity : AIXTextActivity<ActivityVeTypeMoreBinding, VeTypeMoreViewModel>() {
|
||||
|
||||
val viewModel: VeTypeMoreViewModel by viewModels()
|
||||
|
||||
override fun getViewBinding() = ActivityVeTypeMoreBinding.inflate(layoutInflater)
|
||||
|
||||
private lateinit var bingeBean: WHCenterPrivacyBean
|
||||
private var bingeAdapter: DFQManifestRetrofit? = null
|
||||
private var justAdapter: VeTypeMoreAdapter? = null
|
||||
|
||||
override fun initView() {
|
||||
|
||||
val dataString = intent.getStringExtra(JActivityAdapter.HOME_TYPE_MORE_DATA)
|
||||
val dataState = intent.getIntExtra(JActivityAdapter.HOME_TYPE_MORE_STATE, 0)
|
||||
|
||||
when (dataState) {
|
||||
0 -> {
|
||||
bingeBean = Gson().fromJson(dataString, WHCenterPrivacyBean::class.java)
|
||||
bingeAdapter = DFQManifestRetrofit()
|
||||
binding.recyclerView.layoutManager = LinearLayoutManager(this)
|
||||
|
||||
binding.recyclerView.adapter = bingeAdapter
|
||||
binding.tvTitle.text = bingeBean.title
|
||||
bingeBean?.list?.let { bingeAdapter?.submitList(it) }
|
||||
|
||||
}
|
||||
1 -> {
|
||||
val justBean = Gson().fromJson(dataString, BCategoiesBean::class.java)
|
||||
justAdapter = VeTypeMoreAdapter()
|
||||
binding.recyclerView.layoutManager = LinearLayoutManager(this)
|
||||
|
||||
binding.recyclerView.adapter = justAdapter
|
||||
binding.tvTitle.text = justBean.category_name
|
||||
justBean?.shortPlayList?.let { justAdapter?.submitList(it) }
|
||||
|
||||
}
|
||||
2 -> {
|
||||
val freeBean = Gson().fromJson(dataString, BCategoiesBean::class.java)
|
||||
justAdapter = VeTypeMoreAdapter()
|
||||
binding.recyclerView.layoutManager = LinearLayoutManager(this)
|
||||
|
||||
binding.recyclerView.adapter = justAdapter
|
||||
binding.tvTitle.text = freeBean.category_name
|
||||
freeBean?.shortPlayList?.let { justAdapter?.submitList(it) }
|
||||
|
||||
}
|
||||
|
||||
3 -> {
|
||||
val weekRank: List<GStateBean> = Gson().fromJson(
|
||||
dataString,
|
||||
object : TypeToken<List<GStateBean>>() {}.type
|
||||
)
|
||||
bingeAdapter = DFQManifestRetrofit()
|
||||
binding.recyclerView.layoutManager = LinearLayoutManager(this)
|
||||
|
||||
binding.recyclerView.adapter = bingeAdapter
|
||||
binding.tvTitle.text = ""
|
||||
weekRank?.let { bingeAdapter?.submitList(it) }
|
||||
|
||||
if (TranslationHelper.getTranslation() != null) {
|
||||
binding.tvTitle.text =
|
||||
TranslationHelper.getTranslation()?.veloria_addictive_short_await
|
||||
} else {
|
||||
binding.tvTitle.text = getString(R.string.drama_champions)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
binding.ivBack.setOnClickListener { finish() }
|
||||
|
||||
}
|
||||
|
||||
override fun observeData() {
|
||||
bingeAdapter?.setOnItemClickListener { adapter, view, position ->
|
||||
val data: GStateBean = adapter.items[position]
|
||||
startActivity(
|
||||
Intent(
|
||||
this,
|
||||
MQVAutoWidthActivity::class.java
|
||||
).apply {
|
||||
var watchingBa: Double = 6623.0
|
||||
if (watchingBa > 115.0) {
|
||||
}
|
||||
putExtra(VIDEO_SHORT_PLAY_ID, data.short_play_id)
|
||||
})
|
||||
|
||||
|
||||
}
|
||||
justAdapter?.setOnItemClickListener { adapter, view, position ->
|
||||
val data: ILauncherBean = adapter.items[position]
|
||||
startActivity(
|
||||
Intent(
|
||||
this,
|
||||
MQVAutoWidthActivity::class.java
|
||||
).apply {
|
||||
var watchingBa: Double = 6623.0
|
||||
if (watchingBa > 115.0) {
|
||||
}
|
||||
putExtra(VIDEO_SHORT_PLAY_ID, data.short_play_id)
|
||||
})
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,184 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional
|
||||
|
||||
import android.content.Intent
|
||||
import android.util.Log
|
||||
import androidx.activity.viewModels
|
||||
import com.veloria.now.shortapp.civil.JActivityAdapter
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.databinding.CzdStylesBinding
|
||||
import com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate.JService
|
||||
import kotlin.math.min
|
||||
|
||||
|
||||
class YPDataActivity :
|
||||
com.veloria.now.shortapp.newsletter.AIXTextActivity<CzdStylesBinding, JService>() {
|
||||
@Volatile
|
||||
var codePauseStr: String = "collector"
|
||||
|
||||
@Volatile
|
||||
var needCut_offset: Double = 754.0
|
||||
|
||||
@Volatile
|
||||
private var cagetorySpacing_string: String = "mbstring"
|
||||
|
||||
|
||||
val viewModel: JService by viewModels()
|
||||
|
||||
|
||||
private fun simpleAnnotationShape(setupRelease_j: Float): Float {
|
||||
var codeSplash: Float = 2152.0f
|
||||
var stayDrama = 526.0f
|
||||
var watchItems: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
var overuseCloudCaptions: Float = 9515.0f
|
||||
codeSplash -= codeSplash
|
||||
codeSplash += stayDrama
|
||||
overuseCloudCaptions -= codeSplash
|
||||
stayDrama -= 2368.0f
|
||||
overuseCloudCaptions *= stayDrama
|
||||
|
||||
return overuseCloudCaptions
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun toMain() {
|
||||
|
||||
var mpegvideodspEasy = this.simpleAnnotationShape(7512.0f)
|
||||
|
||||
var mpegvideodspEasy_agreement: Double = mpegvideodspEasy.toDouble()
|
||||
println(mpegvideodspEasy)
|
||||
|
||||
println(mpegvideodspEasy)
|
||||
|
||||
|
||||
var tab2: MutableMap<String, Boolean> = mutableMapOf<String, Boolean>()
|
||||
tab2.put("rdelta", false)
|
||||
tab2.put("throttled", false)
|
||||
while (tab2.size > 40) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
this.codePauseStr = "chunk"
|
||||
|
||||
this.needCut_offset = 594.0
|
||||
|
||||
this.cagetorySpacing_string = "appeared"
|
||||
|
||||
|
||||
binding.root.postDelayed({
|
||||
var cloudx: Long = 4618L
|
||||
while (cloudx > 19L) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
startActivity<PSVHomeSearchActivity>()
|
||||
var resK: MutableList<String> = mutableListOf<String>()
|
||||
resK.add("routing")
|
||||
resK.add("representations")
|
||||
resK.add("avalanche")
|
||||
println(resK)
|
||||
|
||||
|
||||
finish()
|
||||
}, 300)
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun cellFreeScope(bingeTag: String, shareTest: Float): String {
|
||||
var cycleBall = mutableMapOf<String, Long>()
|
||||
var tagTop: MutableList<Double> = mutableListOf<Double>()
|
||||
var navigationUrl: Float = 3826.0f
|
||||
var bannerGradle = 8282
|
||||
var nocolsetAck = "mmco"
|
||||
if (navigationUrl >= -128 && navigationUrl <= 128) {
|
||||
var empty_m = min(1, kotlin.random.Random.nextInt(95)) % nocolsetAck.length
|
||||
nocolsetAck += navigationUrl.toString()
|
||||
}
|
||||
if (bannerGradle >= -128 && bannerGradle <= 128) {
|
||||
var agent_f: Int = min(1, kotlin.random.Random.nextInt(78)) % nocolsetAck.length
|
||||
nocolsetAck += bannerGradle.toString()
|
||||
}
|
||||
|
||||
return nocolsetAck
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun observeData() {
|
||||
var funny_x: String = "quadratic"
|
||||
|
||||
var publicQuarter = this.cellFreeScope(funny_x, 1129.0f)
|
||||
|
||||
var publicQuarter_len: Int = publicQuarter.length
|
||||
if (publicQuarter == "down") {
|
||||
println(publicQuarter)
|
||||
}
|
||||
|
||||
println(publicQuarter)
|
||||
|
||||
|
||||
viewModel.data.observe(this) {
|
||||
it?.data?.token?.let { it1 -> RYAction.saveToken(it1) }
|
||||
toMain()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private fun useInnerCircleManual(freeOnclick: Boolean): Long {
|
||||
var activeNormal = true
|
||||
println(activeNormal)
|
||||
var afterDuration = false
|
||||
var horizontallyUpload = 2378.0f
|
||||
var tracerRedirection: Long = 6877L
|
||||
activeNormal = false
|
||||
tracerRedirection += if (activeNormal) 53 else 41
|
||||
afterDuration = true
|
||||
tracerRedirection += if (afterDuration) 80 else 23
|
||||
horizontallyUpload -= horizontallyUpload
|
||||
|
||||
return tracerRedirection
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun initView() {
|
||||
val webpageURL = intent.data
|
||||
Log.d("webpageURL", webpageURL.toString())
|
||||
if (null != webpageURL) {
|
||||
RYAction.getMMKV().putString(JActivityAdapter.HOME_DDL_URL, webpageURL.toString())
|
||||
}
|
||||
var levarintRecalculation = this.useInnerCircleManual(false)
|
||||
|
||||
println(levarintRecalculation)
|
||||
var renderers_levarintRecalculation: Int = levarintRecalculation.toInt()
|
||||
|
||||
println(levarintRecalculation)
|
||||
|
||||
|
||||
if (RYAction.getMMKV().getString(JActivityAdapter.ACCOUNT_TOKEN, "").toString()
|
||||
.isEmpty()
|
||||
) {
|
||||
viewModel.loadData()
|
||||
} else {
|
||||
toMain()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
override fun getViewBinding() = CzdStylesBinding.inflate(layoutInflater)
|
||||
|
||||
override fun onNewIntent(intent: Intent?) {
|
||||
super.onNewIntent(intent)
|
||||
val webpageURL = intent?.data
|
||||
Log.d("webpageURL", webpageURL.toString())
|
||||
if (null != webpageURL) {
|
||||
RYAction.getMMKV().putString(JActivityAdapter.HOME_DDL_URL, webpageURL.toString())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,108 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate
|
||||
|
||||
import androidx.lifecycle.LiveData
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.NMQRepositoryFfmpeg
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.texturedAsink.DoLoginBean
|
||||
import com.veloria.now.shortapp.texturedAsink.LoginDataBean
|
||||
import com.veloria.now.shortapp.texturedAsink.SManifestBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeW2aSelfAttributionBean
|
||||
|
||||
|
||||
class JService : SStringsHelp() {
|
||||
@Volatile
|
||||
private var displayGiftStylesDict: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
|
||||
@Volatile
|
||||
private var builderCheckStr: String = "mbedge"
|
||||
|
||||
|
||||
private val repository = NMQRepositoryFfmpeg()
|
||||
|
||||
private val _data = MutableLiveData<TStore<SManifestBean>?>()
|
||||
val data: MutableLiveData<TStore<SManifestBean>?> get() = _data
|
||||
|
||||
|
||||
public fun rawFilterShowerPair(): Double {
|
||||
var fddebcdbeeffcebdfLine: String = "fast"
|
||||
var videoState: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
var category_2iLayout = mutableMapOf<String, Long>()
|
||||
var inetSubpartitionConsume: Double = 41.0
|
||||
|
||||
return inetSubpartitionConsume
|
||||
|
||||
}
|
||||
|
||||
|
||||
fun setMyListAction(data: Int) {
|
||||
|
||||
var presentationEntrypoint = this.rawFilterShowerPair()
|
||||
|
||||
println(presentationEntrypoint)
|
||||
|
||||
println(presentationEntrypoint)
|
||||
|
||||
|
||||
var topb: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
topb.put("rsp", "argument")
|
||||
topb.put("flip", "clip")
|
||||
topb.put("counts", "creators")
|
||||
topb.put("cardano", "dialogue")
|
||||
topb.put("grouped", "forehead")
|
||||
if (topb.get("w") != null) {
|
||||
}
|
||||
println(topb)
|
||||
|
||||
|
||||
this.displayGiftStylesDict = mutableMapOf<String, Int>()
|
||||
|
||||
this.builderCheckStr = "masked"
|
||||
|
||||
|
||||
_myListAction.value = data
|
||||
}
|
||||
|
||||
private val _myListAction = MutableLiveData<Int>()
|
||||
val myListAction: LiveData<Int> get() = _myListAction
|
||||
|
||||
fun loadData() =
|
||||
repository.getData().observeForever { result ->
|
||||
_data.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _loginLiveData = MutableLiveData<TStore<DoLoginBean>?>()
|
||||
val loginLiveData: MutableLiveData<TStore<DoLoginBean>?> get() = _loginLiveData
|
||||
fun setDoLogin(loginDataBean: LoginDataBean) {
|
||||
repository.setDoLogin(loginDataBean).observeForever { result ->
|
||||
_loginLiveData.value = result.getOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
private val _onLineLiveData = MutableLiveData<TStore<Any>?>()
|
||||
val onLineLiveData: MutableLiveData<TStore<Any>?> get() = _onLineLiveData
|
||||
fun setOnLine() {
|
||||
repository.setOnLine().observeForever {result ->
|
||||
_onLineLiveData.value = result.getOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
fun setEnterTheApp() {
|
||||
repository.setEnterTheApp().observeForever {}
|
||||
}
|
||||
|
||||
fun setLeaveApp() {
|
||||
repository.setLeaveApp().observeForever {}
|
||||
}
|
||||
|
||||
private val _w2aSelfAttributionLiveData =
|
||||
MutableLiveData<TStore<VeW2aSelfAttributionBean>?>()
|
||||
val w2aSelfAttributionData: MutableLiveData<TStore<VeW2aSelfAttributionBean>?> get() = _w2aSelfAttributionLiveData
|
||||
fun setW2aSelfAttribution(data: String) {
|
||||
repository.setW2aSelfAttribution(data).observeForever { result ->
|
||||
_w2aSelfAttributionLiveData.value = result.getOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate
|
||||
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.NMQRepositoryFfmpeg
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class LXMService : SStringsHelp() {
|
||||
@Volatile
|
||||
var viewwStand_tag: Long = 3050L
|
||||
@Volatile
|
||||
var beanPlayingRestartOffset: Float = 5130.0f
|
||||
@Volatile
|
||||
private var viewCorrectMark: Int = 3605
|
||||
|
||||
|
||||
private val repository = NMQRepositoryFfmpeg()
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate
|
||||
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.ANotifications
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.texturedAsink.LanguageBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeTranslationBean
|
||||
|
||||
|
||||
class LanguageViewModel : SStringsHelp() {
|
||||
|
||||
private val repository = ANotifications()
|
||||
|
||||
private val _languagesData =
|
||||
MutableLiveData<TStore<LanguageBean>?>()
|
||||
val languagesData: MutableLiveData<TStore<LanguageBean>?> get() = _languagesData
|
||||
fun getLanguages() {
|
||||
repository.getLanguages().observeForever { result ->
|
||||
_languagesData.value = result.getOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
private val _translatesDataBean =
|
||||
MutableLiveData<TStore<VeTranslationBean>?>()
|
||||
val translatesDataBean: MutableLiveData<TStore<VeTranslationBean>?> get() = _translatesDataBean
|
||||
fun getTranslates(lang_key: String) {
|
||||
repository.getTranslates(lang_key).observeForever { result ->
|
||||
_translatesDataBean.value = result.getOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,102 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate
|
||||
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
import com.veloria.now.shortapp.texturedAsink.PURLockBean
|
||||
import com.veloria.now.shortapp.texturedAsink.XAboutBean
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.PDeteleResource
|
||||
import com.veloria.now.shortapp.texturedAsink.KFAFavoritesInterceptorBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeBuyVideoBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeDetailsRecommendBean
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class UKBottomCollection : SStringsHelp() {
|
||||
@Volatile
|
||||
var qualityActiveTag: Int = 3526
|
||||
@Volatile
|
||||
private var moreSecond_sum: Int = 6970
|
||||
|
||||
|
||||
private val repository = PDeteleResource()
|
||||
|
||||
private val _videoPlayDetails = MutableLiveData<TStore<XAboutBean>?>()
|
||||
val videoPlayDetails: MutableLiveData<TStore<XAboutBean>?> get() = _videoPlayDetails
|
||||
fun getCollect(short_play_id: Int, video_id: Int) =
|
||||
repository.getCollect(short_play_id, video_id).observeForever { result ->
|
||||
_collect.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _uploadHistorySeconds = MutableLiveData<TStore<Any>?>()
|
||||
val uploadHistorySeconds: MutableLiveData<TStore<Any>?> get() = _uploadHistorySeconds
|
||||
fun getCreateHistory(
|
||||
short_play_id: Int,
|
||||
video_id: Int
|
||||
) =
|
||||
repository.getCreateHistory(short_play_id, video_id)
|
||||
.observeForever { result ->
|
||||
_createHistory.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _createHistory = MutableLiveData<TStore<Any>?>()
|
||||
val createHistory: MutableLiveData<TStore<Any>?> get() = _createHistory
|
||||
fun getUploadHistorySeconds(
|
||||
uploadVideoHistoryBean: PURLockBean
|
||||
) =
|
||||
repository.getUploadHistorySeconds(uploadVideoHistoryBean)
|
||||
.observeForever { result ->
|
||||
_uploadHistorySeconds.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _collect = MutableLiveData<TStore<Any>?>()
|
||||
val collect: MutableLiveData<TStore<Any>?> get() = _collect
|
||||
fun getActiveAfterWatchingVideo(short_play_id: Int, video_id: Int, activity_id: Int) =
|
||||
repository.getActiveAfterWatchingVideo(short_play_id, video_id, activity_id)
|
||||
.observeForever { result ->
|
||||
_activeAfterWatchingVideo.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _cancelCollect = MutableLiveData<TStore<Any>?>()
|
||||
val cancelCollect: MutableLiveData<TStore<Any>?> get() = _cancelCollect
|
||||
fun getVideoPlayDetails(
|
||||
short_play_id: Int,
|
||||
video_id: Int,
|
||||
activity_id: Int,
|
||||
revolution: String
|
||||
) =
|
||||
repository.getVideoPlayDetails(short_play_id, video_id, activity_id, revolution)
|
||||
.observeForever { result ->
|
||||
_videoPlayDetails.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _activeAfterWatchingVideo = MutableLiveData<TStore<Any>?>()
|
||||
val activeAfterWatchingVideo: MutableLiveData<TStore<Any>?> get() = _activeAfterWatchingVideo
|
||||
fun getCancelCollect(short_play_id: Int, video_id: Int) =
|
||||
repository.getCancelCollect(short_play_id, video_id).observeForever { result ->
|
||||
_cancelCollect.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _doBuyVideo = MutableLiveData<TStore<VeBuyVideoBean>?>()
|
||||
val doBuyVideo: MutableLiveData<TStore<VeBuyVideoBean>?> get() = _doBuyVideo
|
||||
fun getDoBuyVideo(short_play_id: Int, video_id: Int) =
|
||||
repository.getDoBuyVideo(short_play_id, video_id).observeForever { result ->
|
||||
_doBuyVideo.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _detailsRecommendLiveData = MutableLiveData<TStore<VeDetailsRecommendBean>?>()
|
||||
val detailsRecommendLiveData: MutableLiveData<TStore<VeDetailsRecommendBean>?> get() = _detailsRecommendLiveData
|
||||
fun getDetailsRecommend() =
|
||||
repository.getDetailsRecommend().observeForever { result ->
|
||||
_detailsRecommendLiveData.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _userInfo = MutableLiveData<TStore<KFAFavoritesInterceptorBean>?>()
|
||||
val userInfo: MutableLiveData<TStore<KFAFavoritesInterceptorBean>?> get() = _userInfo
|
||||
fun getUserInfo() =
|
||||
repository.getUserInfo().observeForever { result ->
|
||||
_userInfo.value = result.getOrNull()
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate
|
||||
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.ANotifications
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.texturedAsink.KFAFavoritesInterceptorBean
|
||||
import com.veloria.now.shortapp.texturedAsink.SManifestBean
|
||||
|
||||
|
||||
class VeAccountDeletionViewModel : SStringsHelp() {
|
||||
|
||||
private val repository = ANotifications()
|
||||
|
||||
private val _logoffLiveData = MutableLiveData<TStore<Any>?>()
|
||||
val logoffLiveData: MutableLiveData<TStore<Any>?> get() = _logoffLiveData
|
||||
fun setLogoff() {
|
||||
repository.setLogoff().observeForever { result ->
|
||||
_logoffLiveData.value = result.getOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
private val _registerData = MutableLiveData<TStore<SManifestBean>?>()
|
||||
val registerData: MutableLiveData<TStore<SManifestBean>?> get() = _registerData
|
||||
fun getRegister() =
|
||||
repository.getRegister().observeForever { result ->
|
||||
_registerData.value = result.getOrNull()
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate
|
||||
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.ANotifications
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.texturedAsink.VeNoticeNumBean
|
||||
|
||||
|
||||
class VeFeedbackViewModel : SStringsHelp() {
|
||||
|
||||
private val repository = ANotifications()
|
||||
|
||||
private val _noticeNumLiveData =
|
||||
MutableLiveData<TStore<VeNoticeNumBean>?>()
|
||||
val noticeNumData: MutableLiveData<TStore<VeNoticeNumBean>?> get() = _noticeNumLiveData
|
||||
fun getNoticeNum() {
|
||||
repository.getNoticeNum().observeForever { result ->
|
||||
_noticeNumLiveData.value = result.getOrNull()
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate
|
||||
|
||||
import androidx.lifecycle.LiveData
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.ANotifications
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.PDeteleResource
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCustomerOrderBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VePaySettingsBean
|
||||
|
||||
|
||||
class VeMyWalletViewModel : SStringsHelp() {
|
||||
@Volatile
|
||||
private var displayGiftStylesDict: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
|
||||
@Volatile
|
||||
private var builderCheckStr: String = "mbedge"
|
||||
|
||||
|
||||
private val repository = ANotifications()
|
||||
|
||||
|
||||
public fun rawFilterShowerPair(): Double {
|
||||
var fddebcdbeeffcebdfLine: String = "fast"
|
||||
var videoState: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
var category_2iLayout = mutableMapOf<String, Long>()
|
||||
var inetSubpartitionConsume: Double = 41.0
|
||||
|
||||
return inetSubpartitionConsume
|
||||
|
||||
}
|
||||
|
||||
private val _customerOrder = MutableLiveData<TStore<VeCustomerOrderBean>?>()
|
||||
val customerOrder: MutableLiveData<TStore<VeCustomerOrderBean>?> get() = _customerOrder
|
||||
fun getCustomerOrder(buy_type: String,
|
||||
current_page: Int) =
|
||||
repository.getCustomerOrder(buy_type,current_page).observeForever { result ->
|
||||
_customerOrder.value = result.getOrNull()
|
||||
}
|
||||
|
||||
|
||||
private val _heightAction = MutableLiveData<Int>()
|
||||
val heightAction: LiveData<Int> get() = _heightAction
|
||||
|
||||
fun setHeightAction(data: Int) {
|
||||
_heightAction.value = data
|
||||
}
|
||||
|
||||
|
||||
private val _loadMoreAction = MutableLiveData<Int>()
|
||||
val loadMoreAction: LiveData<Int> get() = _loadMoreAction
|
||||
|
||||
fun setLoadMoreAction(data: Int) {
|
||||
_loadMoreAction.value = data
|
||||
}
|
||||
|
||||
private val _loadMoreFinishAction = MutableLiveData<Int>()
|
||||
val loadMoreFinishAction: LiveData<Int> get() = _loadMoreFinishAction
|
||||
|
||||
fun setLoadMoreFinishAction(data: Int) {
|
||||
_loadMoreFinishAction.value = data
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate
|
||||
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.PDeteleResource
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.texturedAsink.KFAFavoritesInterceptorBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCreatePayOrderBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VeCreatePayOrderReqBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VePayBean
|
||||
import com.veloria.now.shortapp.texturedAsink.VePaySettingsBean
|
||||
|
||||
|
||||
class VeStoreViewModel : SStringsHelp() {
|
||||
@Volatile
|
||||
private var displayGiftStylesDict: MutableMap<String, Int> = mutableMapOf<String, Int>()
|
||||
|
||||
@Volatile
|
||||
private var builderCheckStr: String = "mbedge"
|
||||
|
||||
|
||||
private val repository = PDeteleResource()
|
||||
|
||||
|
||||
public fun rawFilterShowerPair(): Double {
|
||||
var fddebcdbeeffcebdfLine: String = "fast"
|
||||
var videoState: MutableMap<String, Double> = mutableMapOf<String, Double>()
|
||||
var category_2iLayout = mutableMapOf<String, Long>()
|
||||
var inetSubpartitionConsume: Double = 41.0
|
||||
|
||||
return inetSubpartitionConsume
|
||||
|
||||
}
|
||||
|
||||
private val _paySettingsV3 = MutableLiveData<TStore<VePaySettingsBean>?>()
|
||||
val PaySettingsV3: MutableLiveData<TStore<VePaySettingsBean>?> get() = _paySettingsV3
|
||||
fun getPaySettingsV3(short_play_id: Int, short_play_video_id: Int) =
|
||||
repository.getPaySettingsV3(short_play_id,short_play_video_id).observeForever { result ->
|
||||
_paySettingsV3.value = result.getOrNull()
|
||||
}
|
||||
|
||||
|
||||
private val createPayOrderLiveData = MutableLiveData<TStore<VeCreatePayOrderBean>?>()
|
||||
val createPayOrderData: MutableLiveData<TStore<VeCreatePayOrderBean>?> get() = createPayOrderLiveData
|
||||
fun setCreatePayOrder(createOrderReq: VeCreatePayOrderReqBean) {
|
||||
repository.setCreatePayOrder(createOrderReq).observeForever { result ->
|
||||
createPayOrderLiveData.value = result.getOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
private val googlePaidLiveData = MutableLiveData<TStore<VePayBean>?>()
|
||||
val googlePaidData: MutableLiveData<TStore<VePayBean>?> get() = googlePaidLiveData
|
||||
fun setGooglePaid(vePayBean: VePayBean?) {
|
||||
repository.setGooglePaid(vePayBean).observeForever { result ->
|
||||
googlePaidLiveData.value = result.getOrNull()
|
||||
}
|
||||
}
|
||||
|
||||
private val _userInfo = MutableLiveData<TStore<KFAFavoritesInterceptorBean>?>()
|
||||
val userInfo: MutableLiveData<TStore<KFAFavoritesInterceptorBean>?> get() = _userInfo
|
||||
fun getUserInfo() =
|
||||
repository.getUserInfo().observeForever { result ->
|
||||
_userInfo.value = result.getOrNull()
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate
|
||||
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.NMQRepositoryFfmpeg
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
|
||||
|
||||
class VeTypeMoreViewModel : SStringsHelp() {
|
||||
|
||||
private val repository = NMQRepositoryFfmpeg()
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.bidirectional.coordinate
|
||||
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import com.veloria.now.shortapp.newsletter.TStore
|
||||
import com.veloria.now.shortapp.newsletter.SStringsHelp
|
||||
import com.veloria.now.shortapp.texturedAsink.VModuleManifestBean
|
||||
import com.veloria.now.shortapp.texturedAsink.GStateBean
|
||||
import com.veloria.now.shortapp.highbits.qscaleqlog.NMQRepositoryFfmpeg
|
||||
import kotlinx.coroutines.Job
|
||||
import kotlinx.coroutines.flow.MutableStateFlow
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class YCFddebcdbeeffcebdfInterceptor : SStringsHelp() {
|
||||
@Volatile
|
||||
var clientTubeArray: MutableList<Int> = mutableListOf<Int>()
|
||||
@Volatile
|
||||
var baseButtonPath_string: String = "iostream"
|
||||
|
||||
private val searchQueryFlow = MutableStateFlow("")
|
||||
private var searchJob: Job? = null
|
||||
|
||||
private val repository = NMQRepositoryFfmpeg()
|
||||
|
||||
private val _visitTop = MutableLiveData<TStore<List<GStateBean>>?>()
|
||||
val visitTop: MutableLiveData<TStore<List<GStateBean>>?> get() = _visitTop
|
||||
fun getSearch(search: String) =
|
||||
repository.getSearch(search).observeForever { result ->
|
||||
_search.value = result.getOrNull()
|
||||
System.out.println("getSearch +++++ observeForever")
|
||||
}
|
||||
|
||||
private val _searchHots = MutableLiveData<TStore<VModuleManifestBean>?>()
|
||||
val searchHots: MutableLiveData<TStore<VModuleManifestBean>?> get() = _searchHots
|
||||
fun getSearchHots() =
|
||||
repository.getSearchHots().observeForever { result ->
|
||||
_searchHots.value = result.getOrNull()
|
||||
}
|
||||
|
||||
private val _search = MutableLiveData<TStore<VModuleManifestBean>?>()
|
||||
val search: MutableLiveData<TStore<VModuleManifestBean>?> get() = _search
|
||||
fun getVisitTop() =
|
||||
repository.getVisitTop().observeForever { result ->
|
||||
_visitTop.value = result.getOrNull()
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,175 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.modificationsPretch
|
||||
|
||||
import android.content.Context
|
||||
import android.view.LayoutInflater
|
||||
import android.view.ViewGroup
|
||||
import androidx.appcompat.widget.AppCompatImageView
|
||||
import androidx.media3.ui.PlayerView
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.chad.library.adapter4.BaseQuickAdapter
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.texturedAsink.QRQLauncherPlayer
|
||||
import com.veloria.now.shortapp.databinding.QRepositoryExampleBinding
|
||||
import com.veloria.now.shortapp.rewards.PUtilsView
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class AGradle :
|
||||
BaseQuickAdapter<QRQLauncherPlayer, AGradle.VH>() {
|
||||
@Volatile
|
||||
private var isLocal_8qArrowsAction: Boolean = true
|
||||
@Volatile
|
||||
private var is_BbfdebaffdApi: Boolean = false
|
||||
@Volatile
|
||||
var stringsEventAgainList: MutableList<String> = mutableListOf<String>()
|
||||
|
||||
|
||||
var currentPlayingPosition = 0
|
||||
var recommendCollection: RecommendCollection? = null
|
||||
|
||||
interface RecommendCollection {
|
||||
fun collection(data: QRQLauncherPlayer)
|
||||
}
|
||||
|
||||
class VH(
|
||||
parent: ViewGroup,
|
||||
val binding: QRepositoryExampleBinding = QRepositoryExampleBinding.inflate(
|
||||
LayoutInflater.from(parent.context), parent, false
|
||||
),
|
||||
) : RecyclerView.ViewHolder(binding.root)
|
||||
|
||||
|
||||
|
||||
private fun roundBlackPermissionOutString(loggingDialog: Int, againPost: MutableMap<String,Float>, messageCheckbox: MutableList<Float>) :Float {
|
||||
var attrsCut = mutableListOf<Float>()
|
||||
var checkHorizontally:MutableMap<String,Double> = mutableMapOf<String,Double>()
|
||||
var rightNum:Long = 1097L
|
||||
println(rightNum)
|
||||
var xdcamSkippedNalu:Float = 4944.0f
|
||||
rightNum -= 1643L
|
||||
|
||||
return xdcamSkippedNalu
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onCreateViewHolder(context: Context, parent: ViewGroup, viewType: Int): VH {
|
||||
var tmmb_w:MutableList<Float> = mutableListOf<Float>()
|
||||
|
||||
var cancelPointoct = this.roundBlackPermissionOutString(5638,mutableMapOf<String,Float>(),tmmb_w)
|
||||
|
||||
println(cancelPointoct)
|
||||
var cancelPointoct_api: Double = cancelPointoct.toDouble()
|
||||
|
||||
println(cancelPointoct)
|
||||
|
||||
|
||||
var processP:String = "lengths"
|
||||
|
||||
|
||||
return VH(parent)
|
||||
}
|
||||
|
||||
|
||||
private fun obtainSendSinglePrivacyMessageRefresh(normalSeekbar: Boolean, lockEdit: MutableMap<String,String>, offsetSalt: Int) :MutableMap<String,Long> {
|
||||
var cagetoryTrend:Boolean = true
|
||||
var size_dmTrending:Boolean = true
|
||||
var layoutBackground:Int = 1146
|
||||
var renewableConv = mutableMapOf<String,Long>()
|
||||
renewableConv.put("erased", 479L)
|
||||
renewableConv.put("nidnist", 347L)
|
||||
renewableConv.put("tuning", 625L)
|
||||
renewableConv.put("queue", 98L)
|
||||
renewableConv.put("basegph", 516L)
|
||||
cagetoryTrend = false
|
||||
renewableConv.put("ticketDeltasScreenshot", 0L)
|
||||
layoutBackground = 3737
|
||||
renewableConv.put("fourxmIsdigit", 333L)
|
||||
|
||||
return renewableConv
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onBindViewHolder(
|
||||
holder: VH,
|
||||
position: Int,
|
||||
item: QRQLauncherPlayer?
|
||||
) {
|
||||
|
||||
var fudgePreamble:MutableMap<String,Long> = this.obtainSendSinglePrivacyMessageRefresh(false,mutableMapOf<String,String>(),695)
|
||||
|
||||
for(object_0 in fudgePreamble) {
|
||||
println(object_0.key)
|
||||
println(object_0.value)
|
||||
}
|
||||
var fudgePreamble_len = fudgePreamble.size
|
||||
|
||||
println(fudgePreamble)
|
||||
|
||||
|
||||
var base9:MutableList<String> = mutableListOf<String>()
|
||||
base9.add("factorization")
|
||||
base9.add("applying")
|
||||
base9.add("experimental")
|
||||
base9.add("szabo")
|
||||
base9.add("swab")
|
||||
base9.add("bold")
|
||||
if (base9.size > 171) {}
|
||||
|
||||
|
||||
this.isLocal_8qArrowsAction = false
|
||||
|
||||
this.is_BbfdebaffdApi = false
|
||||
|
||||
this.stringsEventAgainList = mutableListOf<String>()
|
||||
|
||||
|
||||
if (null != item) {
|
||||
var style8:Double = 895.0
|
||||
|
||||
|
||||
|
||||
val positionCurrentView =
|
||||
holder.binding.itemRecommendView.findViewById<PUtilsView>(R.id.item_recommend_view)
|
||||
var showG:Double = 6244.0
|
||||
if (showG <= 86.0) {}
|
||||
|
||||
|
||||
val jobBaseEmptyViewt = positionCurrentView.findViewById<AppCompatImageView>(R.id.iv_collection)
|
||||
var logoN:Double = 6400.0
|
||||
while (logoN <= 179.0) { break }
|
||||
|
||||
|
||||
jobBaseEmptyViewt.setOnClickListener {
|
||||
var splashP:Long = 1490L
|
||||
if (splashP == 64L) {}
|
||||
|
||||
|
||||
var privacy5:Long = 5632L
|
||||
while (privacy5 == 153L) { break }
|
||||
|
||||
item.let { it1 -> recommendCollection?.collection(it1) } }
|
||||
if (position == currentPlayingPosition) {
|
||||
var spacing3:Float = 6622.0f
|
||||
if (spacing3 >= 70.0f) {}
|
||||
|
||||
|
||||
item.let {
|
||||
var authorizationy:String = "algo"
|
||||
while (authorizationy.length > 46) { break }
|
||||
println(authorizationy)
|
||||
|
||||
holder.binding.itemRecommendView.setPlayInfo(it) }
|
||||
} else {
|
||||
var displayn:Int = 3637
|
||||
while (displayn < 128) { break }
|
||||
|
||||
|
||||
holder.binding.itemRecommendView.stop()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,284 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.modificationsPretch
|
||||
|
||||
import android.content.Context
|
||||
import android.text.Spannable
|
||||
import android.text.SpannableString
|
||||
import android.text.style.ForegroundColorSpan
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.bumptech.glide.Glide
|
||||
import com.chad.library.adapter4.BaseQuickAdapter
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.formatNumber
|
||||
import com.veloria.now.shortapp.databinding.WkiCategoiesBinding
|
||||
import com.veloria.now.shortapp.newsletter.XNBackground
|
||||
import com.veloria.now.shortapp.texturedAsink.GStateBean
|
||||
|
||||
|
||||
class DFQManifestRetrofit :
|
||||
BaseQuickAdapter<GStateBean, DFQManifestRetrofit.VH>() {
|
||||
@Volatile
|
||||
private var networkItemString: String = "cleared"
|
||||
|
||||
@Volatile
|
||||
var backBindPadding: Float = 5826.0f
|
||||
|
||||
@Volatile
|
||||
private var enbale_RevolutionStand: Boolean = true
|
||||
|
||||
|
||||
var keywordString = ""
|
||||
|
||||
class VH(
|
||||
parent: ViewGroup,
|
||||
val binding: WkiCategoiesBinding = WkiCategoiesBinding.inflate(
|
||||
LayoutInflater.from(parent.context), parent, false
|
||||
),
|
||||
) : RecyclerView.ViewHolder(binding.root)
|
||||
|
||||
|
||||
private fun scalePortInterceptHolderBuy(
|
||||
foregroundThemes: Boolean,
|
||||
beanWindow_l: MutableMap<String, Boolean>
|
||||
): Int {
|
||||
var verticalSetup = mutableMapOf<String, Boolean>()
|
||||
var actionFooter = mutableMapOf<String, String>()
|
||||
var fddebcdbeeffcebdfBuy = false
|
||||
println(fddebcdbeeffcebdfBuy)
|
||||
var listnersIleaveCircular: Int = 9562
|
||||
fddebcdbeeffcebdfBuy = true
|
||||
listnersIleaveCircular += if (fddebcdbeeffcebdfBuy) 48 else 74
|
||||
|
||||
return listnersIleaveCircular
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onBindViewHolder(
|
||||
holder: VH,
|
||||
position: Int,
|
||||
item: GStateBean?
|
||||
) {
|
||||
|
||||
var publickeysLottieloader =
|
||||
this.scalePortInterceptHolderBuy(false, mutableMapOf<String, Boolean>())
|
||||
|
||||
if (publickeysLottieloader >= 40) {
|
||||
println(publickeysLottieloader)
|
||||
}
|
||||
|
||||
println(publickeysLottieloader)
|
||||
|
||||
|
||||
var circleBB: Long = 6089L
|
||||
while (circleBB < 4L) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
if (null != item) {
|
||||
var durationh: Double = 9867.0
|
||||
if (durationh == 59.0) {
|
||||
}
|
||||
|
||||
|
||||
Glide.with(XNBackground.instance)
|
||||
.load(item.image_url)
|
||||
.placeholder(R.mipmap.collection_trending_recommend)
|
||||
.error(R.mipmap.collection_trending_recommend)
|
||||
.into(holder.binding.ivImage)
|
||||
var avatarb: MutableList<Long> = mutableListOf<Long>()
|
||||
avatarb.add(941L)
|
||||
avatarb.add(773L)
|
||||
avatarb.add(784L)
|
||||
avatarb.add(349L)
|
||||
avatarb.add(844L)
|
||||
avatarb.add(270L)
|
||||
|
||||
|
||||
if (keywordString.isNotEmpty()) {
|
||||
holder.binding.tvName.text =
|
||||
accelerateCoreProceedAssertSuccess(item.name, keywordString)
|
||||
} else {
|
||||
holder.binding.tvName.text = item.name
|
||||
}
|
||||
var uploadP: Long = 6105L
|
||||
if (uploadP == 167L) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
holder.binding.tvWatch.text = formatNumber(item.watch_total)
|
||||
var keywordo: Float = 6357.0f
|
||||
while (keywordo < 135.0f) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
holder.binding.tvDes.text = item.description
|
||||
var startl: Long = 641L
|
||||
if (startl == 185L) {
|
||||
}
|
||||
println(startl)
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun describeServiceSocketUnitCheck(
|
||||
unitDashboard: String,
|
||||
description_4vLock: Double
|
||||
): MutableMap<String, String> {
|
||||
var fddebcdbeeffcebdfTrend = 3256
|
||||
var wightCorrect: Boolean = true
|
||||
var visitState: Long = 3216L
|
||||
println(visitState)
|
||||
var draggingAuto_k: String = "pretch"
|
||||
var akidExecutingComposite: MutableMap<String, String> = mutableMapOf<String, String>()
|
||||
akidExecutingComposite.put("utterance", "translate")
|
||||
akidExecutingComposite.put("newsletter", "backoff")
|
||||
akidExecutingComposite.put("unordered", "midl")
|
||||
akidExecutingComposite.put("dates", "bluray")
|
||||
akidExecutingComposite.put("clazz", "otof")
|
||||
visitState -= visitState
|
||||
akidExecutingComposite.put("gammaEveryManager", "${visitState}")
|
||||
akidExecutingComposite.put("urpose", draggingAuto_k.toLowerCase())
|
||||
|
||||
return akidExecutingComposite
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun accelerateCoreProceedAssertSuccess(
|
||||
fullTextStr: String,
|
||||
keywordStr: String,
|
||||
highLightColor: Int = 0xffBE0069.toInt()
|
||||
): SpannableString {
|
||||
var cavsvideo_r: String = "tjexampletest"
|
||||
|
||||
var syncPlayground = this.describeServiceSocketUnitCheck(cavsvideo_r, 7039.0)
|
||||
|
||||
var syncPlayground_len: Int = syncPlayground.size
|
||||
val _syncPlaygroundtemp = syncPlayground.keys.toList()
|
||||
for (index_0 in 0.._syncPlaygroundtemp.size - 1) {
|
||||
val key_index_0 = _syncPlaygroundtemp.get(index_0)
|
||||
val value_index_0 = syncPlayground.get(key_index_0)
|
||||
if (index_0 > 59) {
|
||||
println(key_index_0)
|
||||
println(value_index_0)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
println(syncPlayground)
|
||||
|
||||
|
||||
var bannerl: Float = 8710.0f
|
||||
if (bannerl <= 22.0f) {
|
||||
}
|
||||
|
||||
|
||||
this.networkItemString = "field"
|
||||
|
||||
this.backBindPadding = 9319.0f
|
||||
|
||||
this.enbale_RevolutionStand = false
|
||||
|
||||
|
||||
val short_uNormal = SpannableString(fullTextStr)
|
||||
var setU: String = "checkstride"
|
||||
if (setU == "l") {
|
||||
}
|
||||
println(setU)
|
||||
|
||||
|
||||
var repositoryK = 0
|
||||
var stayq: String = "vpoint"
|
||||
while (stayq.length > 185) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
while (repositoryK < fullTextStr.length) {
|
||||
var renderersa: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
renderersa.add(true)
|
||||
renderersa.add(true)
|
||||
renderersa.add(false)
|
||||
renderersa.add(false)
|
||||
renderersa.add(true)
|
||||
while (renderersa.size > 122) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
val boldUrl = fullTextStr.indexOf(keywordStr, repositoryK, true)
|
||||
var profileG: Double = 9171.0
|
||||
while (profileG > 48.0) {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
if (boldUrl == -1) break
|
||||
|
||||
short_uNormal.setSpan(
|
||||
ForegroundColorSpan(highLightColor),
|
||||
boldUrl,
|
||||
boldUrl + keywordStr.length,
|
||||
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE
|
||||
)
|
||||
|
||||
repositoryK = boldUrl + keywordStr.length
|
||||
}
|
||||
return short_uNormal
|
||||
}
|
||||
|
||||
|
||||
private fun darkCoordinateReadScannerFollowTotal(
|
||||
setupCorner: MutableMap<String, Float>,
|
||||
tagMedia: MutableMap<String, Float>,
|
||||
factoryAbout: Int
|
||||
): Boolean {
|
||||
var trendsClip = 8315L
|
||||
var handlerRecent = 2171.0f
|
||||
var codeCover: Boolean = false
|
||||
println(codeCover)
|
||||
var logoCut: MutableList<Int> = mutableListOf<Int>()
|
||||
var launchedAnimatingAnimation = false
|
||||
trendsClip *= trendsClip
|
||||
launchedAnimatingAnimation = trendsClip > 66
|
||||
handlerRecent = 8263.0f
|
||||
launchedAnimatingAnimation = handlerRecent > 89
|
||||
codeCover = false
|
||||
launchedAnimatingAnimation = codeCover
|
||||
|
||||
return launchedAnimatingAnimation
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onCreateViewHolder(context: Context, parent: ViewGroup, viewType: Int): VH {
|
||||
|
||||
var ttaencdspHeadphones: Boolean = this.darkCoordinateReadScannerFollowTotal(
|
||||
mutableMapOf<String, Float>(),
|
||||
mutableMapOf<String, Float>(),
|
||||
2981
|
||||
)
|
||||
|
||||
if (!ttaencdspHeadphones) {
|
||||
}
|
||||
|
||||
println(ttaencdspHeadphones)
|
||||
|
||||
|
||||
var buttonuY: Long = 9964L
|
||||
if (buttonuY >= 77L) {
|
||||
}
|
||||
println(buttonuY)
|
||||
|
||||
|
||||
return VH(parent)
|
||||
}
|
||||
}
|
@ -0,0 +1,169 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.modificationsPretch
|
||||
|
||||
import android.content.Context
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.chad.library.adapter4.BaseQuickAdapter
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.civil.RYAction
|
||||
import com.veloria.now.shortapp.databinding.PxRefreshBinding
|
||||
import com.veloria.now.shortapp.texturedAsink.XAboutBean
|
||||
|
||||
|
||||
class DPArrowsDefault :
|
||||
BaseQuickAdapter<XAboutBean.Episode, DPArrowsDefault.VH>() {
|
||||
@Volatile
|
||||
var launcherViewwLogin_str: String = "definition"
|
||||
|
||||
@Volatile
|
||||
private var splashMediaType_h__space: Double = 5594.0
|
||||
|
||||
@Volatile
|
||||
var isPackage_p0VipImage: Boolean = true
|
||||
|
||||
@Volatile
|
||||
private var finishLastFreeArray: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
|
||||
|
||||
var currentPosition = -1
|
||||
|
||||
class VH(
|
||||
parent: ViewGroup,
|
||||
val binding: PxRefreshBinding = PxRefreshBinding.inflate(
|
||||
LayoutInflater.from(parent.context), parent, false
|
||||
),
|
||||
) : RecyclerView.ViewHolder(binding.root)
|
||||
|
||||
|
||||
public fun showMathAvailable(): Float {
|
||||
var handleDimens = true
|
||||
var historyItems: Double = 6795.0
|
||||
var loadingHttp: MutableMap<String, Float> = mutableMapOf<String, Float>()
|
||||
var identiferRenderers: Float = 3181.0f
|
||||
handleDimens = false
|
||||
identiferRenderers += if (handleDimens) 51 else 31
|
||||
historyItems *= 1694.0
|
||||
|
||||
return identiferRenderers
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onCreateViewHolder(context: Context, parent: ViewGroup, viewType: Int): VH {
|
||||
|
||||
var butterworthPeople: Float = this.showMathAvailable()
|
||||
|
||||
var butterworthPeople_splash: Double = butterworthPeople.toDouble()
|
||||
if (butterworthPeople <= 69.0f) {
|
||||
println(butterworthPeople)
|
||||
}
|
||||
|
||||
println(butterworthPeople)
|
||||
|
||||
|
||||
var unitS: MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
unitS.add(true)
|
||||
unitS.add(true)
|
||||
unitS.add(true)
|
||||
unitS.add(true)
|
||||
unitS.add(true)
|
||||
println(unitS)
|
||||
|
||||
|
||||
return VH(parent)
|
||||
}
|
||||
|
||||
|
||||
public fun inflateWrapOrientation(schemeTag: MutableList<String>, dashboardSelect: Long): Long {
|
||||
var repositoryPrimary: Int = 8187
|
||||
println(repositoryPrimary)
|
||||
var backupRecent = true
|
||||
var local_teCenter: String = "sessionid"
|
||||
var formatPrimary = mutableListOf<Long>()
|
||||
var checklineAwaitingScopes: Long = 4246L
|
||||
repositoryPrimary = 7432
|
||||
backupRecent = true
|
||||
checklineAwaitingScopes *= if (backupRecent) 6 else 54
|
||||
|
||||
return checklineAwaitingScopes
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onBindViewHolder(
|
||||
holder: VH,
|
||||
position: Int,
|
||||
item: XAboutBean.Episode?
|
||||
) {
|
||||
var getassocid_z: MutableList<String> = mutableListOf<String>()
|
||||
|
||||
var lottiekeypathSamplereduction = this.inflateWrapOrientation(getassocid_z, 9364L)
|
||||
|
||||
var skewed_lottiekeypathSamplereduction: Int = lottiekeypathSamplereduction.toInt()
|
||||
if (lottiekeypathSamplereduction == 95L) {
|
||||
println(lottiekeypathSamplereduction)
|
||||
}
|
||||
|
||||
println(lottiekeypathSamplereduction)
|
||||
|
||||
|
||||
var factoryb: Int = 1514
|
||||
while (factoryb <= 106) {
|
||||
break
|
||||
}
|
||||
println(factoryb)
|
||||
|
||||
|
||||
this.launcherViewwLogin_str = "ycocgrgba"
|
||||
|
||||
this.splashMediaType_h__space = 6485.0
|
||||
|
||||
this.isPackage_p0VipImage = true
|
||||
|
||||
this.finishLastFreeArray = mutableListOf<Boolean>()
|
||||
|
||||
|
||||
if (null != item) {
|
||||
var bindingg: Int = 1999
|
||||
if (bindingg >= 154) {
|
||||
}
|
||||
println(bindingg)
|
||||
|
||||
|
||||
holder.binding.tvNum.text = item.episode.toString()
|
||||
var deletesj: Int = 7365
|
||||
while (deletesj < 170) {
|
||||
break
|
||||
}
|
||||
println(deletesj)
|
||||
|
||||
|
||||
if (currentPosition == holder.binding.tvNum.text.toString().toInt()) {
|
||||
var detailsQ: Double = 4060.0
|
||||
while (detailsQ > 34.0) {
|
||||
break
|
||||
}
|
||||
println(detailsQ)
|
||||
|
||||
|
||||
holder.binding.llNumData.setBackgroundResource(R.mipmap.image_test_image)
|
||||
} else {
|
||||
var paddingr: Long = 6021L
|
||||
println(paddingr)
|
||||
|
||||
|
||||
holder.binding.llNumData.setBackgroundResource(R.drawable.e_adapter_place)
|
||||
}
|
||||
|
||||
if (item.is_lock && !RYAction.isVipTo()) {
|
||||
holder.binding.ivLock.visibility = View.VISIBLE
|
||||
} else {
|
||||
holder.binding.ivLock.visibility = View.GONE
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,188 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.modificationsPretch
|
||||
|
||||
import android.content.Context
|
||||
import android.view.LayoutInflater
|
||||
import android.view.ViewGroup
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.bumptech.glide.Glide
|
||||
import com.chad.library.adapter4.BaseQuickAdapter
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.newsletter.XNBackground
|
||||
import com.veloria.now.shortapp.texturedAsink.TMainExtractionBean
|
||||
import com.veloria.now.shortapp.databinding.IDisplayTrendsBinding
|
||||
import com.veloria.now.shortapp.civil.getTimeAgoDetailed
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class GFFavorites :
|
||||
BaseQuickAdapter<TMainExtractionBean.DataListBean, GFFavorites.VH>() {
|
||||
@Volatile
|
||||
var default_0mTabBingeSum: Long = 3471L
|
||||
@Volatile
|
||||
var freeRetrofitMark: Int = 5934
|
||||
|
||||
|
||||
|
||||
var collectionOnClick: CollectionOnClick? = null
|
||||
|
||||
|
||||
interface CollectionOnClick {
|
||||
fun collection(position: Int, data: TMainExtractionBean.DataListBean)
|
||||
}
|
||||
|
||||
class VH(
|
||||
parent: ViewGroup,
|
||||
val binding: IDisplayTrendsBinding = IDisplayTrendsBinding.inflate(
|
||||
LayoutInflater.from(parent.context), parent, false
|
||||
),
|
||||
) : RecyclerView.ViewHolder(binding.root)
|
||||
|
||||
|
||||
private fun playDramaAppendModeForeverTest(lifecycleHttp: MutableList<Long>, secondsStarted: MutableMap<String,Double>) :MutableMap<String,Float> {
|
||||
var durationFailure:MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
var setupMin__6:MutableList<Long> = mutableListOf<Long>()
|
||||
var toastCurrent:MutableMap<String,Boolean> = mutableMapOf<String,Boolean>()
|
||||
println(toastCurrent)
|
||||
var correspondentsTableinit:MutableMap<String,Float> = mutableMapOf<String,Float>()
|
||||
for(clips in toastCurrent) {
|
||||
correspondentsTableinit.put("multiframe", 0.0f)
|
||||
|
||||
}
|
||||
|
||||
return correspondentsTableinit
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onCreateViewHolder(context: Context, parent: ViewGroup, viewType: Int): VH {
|
||||
var scheduling_r = mutableListOf<Long>()
|
||||
|
||||
var elisionUnhighlight = this.playDramaAppendModeForeverTest(scheduling_r,mutableMapOf<String,Double>())
|
||||
|
||||
var elisionUnhighlight_len:Int = elisionUnhighlight.size
|
||||
for(object_i in elisionUnhighlight) {
|
||||
println(object_i.key)
|
||||
println(object_i.value)
|
||||
}
|
||||
|
||||
println(elisionUnhighlight)
|
||||
|
||||
|
||||
var dashboardI:String = "rscc"
|
||||
if (dashboardI.length > 171) {}
|
||||
println(dashboardI)
|
||||
|
||||
|
||||
return VH(parent)
|
||||
}
|
||||
|
||||
|
||||
private fun liveOutputCallAnyEpisodeApplication(chooseSeries: Long) :Long {
|
||||
var responseSeekbar = mutableListOf<Float>()
|
||||
println(responseSeekbar)
|
||||
var eventFree:Double = 1094.0
|
||||
var seekbarHttp:String = "kanna"
|
||||
println(seekbarHttp)
|
||||
var iconSkewed:Int = 9958
|
||||
println(iconSkewed)
|
||||
var armthFreadSqrt:Long = 5210L
|
||||
eventFree = eventFree
|
||||
iconSkewed -= iconSkewed
|
||||
|
||||
return armthFreadSqrt
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onBindViewHolder(
|
||||
holder: VH,
|
||||
position: Int,
|
||||
item: TMainExtractionBean.DataListBean?
|
||||
) {
|
||||
|
||||
var splittingSigning:Long = this.liveOutputCallAnyEpisodeApplication(1455L)
|
||||
|
||||
var interpolator_splittingSigning: Int = splittingSigning.toInt()
|
||||
if (splittingSigning >= 2L) {
|
||||
println(splittingSigning)
|
||||
}
|
||||
|
||||
println(splittingSigning)
|
||||
|
||||
|
||||
var loading6:Int = 1947
|
||||
if (loading6 > 87) {}
|
||||
|
||||
|
||||
this.default_0mTabBingeSum = 9956L
|
||||
|
||||
this.freeRetrofitMark = 4850
|
||||
|
||||
|
||||
if (null != item) {
|
||||
var transparent1:Boolean = true
|
||||
|
||||
|
||||
Glide.with(XNBackground.instance)
|
||||
.load(item.image_url)
|
||||
.placeholder(R.mipmap.collection_trending_recommend)
|
||||
.error(R.mipmap.collection_trending_recommend)
|
||||
.into(holder.binding.ivImage2)
|
||||
var factoryu:Int = 4239
|
||||
if (factoryu > 62) {}
|
||||
|
||||
|
||||
|
||||
holder.binding.tvName2.text = item.name
|
||||
var progressJ:Long = 3354L
|
||||
while (progressJ >= 27L) { break }
|
||||
|
||||
|
||||
|
||||
holder.binding.tvSeries.text =
|
||||
"EP.".plus(item.current_episode)
|
||||
var uploadp:Int = 6616
|
||||
while (uploadp >= 157) { break }
|
||||
|
||||
|
||||
holder.binding.tvSeriesAll.text = "/EP.".plus(item.episode_total)
|
||||
var indexJ:Long = 6061L
|
||||
if (indexJ > 169L) {}
|
||||
|
||||
|
||||
|
||||
if (item.is_collect == 1) {
|
||||
var login_:Float = 4781.0f
|
||||
while (login_ >= 30.0f) { break }
|
||||
|
||||
|
||||
holder.binding.ivCollection.setImageResource(R.mipmap.detele_rewards_episode)
|
||||
} else {
|
||||
var tabA:Float = 2603.0f
|
||||
if (tabA <= 39.0f) {}
|
||||
|
||||
|
||||
holder.binding.ivCollection.setImageResource(R.mipmap.episode_utils)
|
||||
}
|
||||
|
||||
if (!item.updated_at.isNullOrEmpty()) {
|
||||
var outV:Float = 6386.0f
|
||||
if (outV == 10.0f) {}
|
||||
|
||||
|
||||
holder.binding.tvTime.text = getTimeAgoDetailed(item.updated_at)
|
||||
}
|
||||
|
||||
holder.binding.ivCollection.setOnClickListener {
|
||||
var processa:Boolean = false
|
||||
println(processa)
|
||||
|
||||
|
||||
item.let { it1 -> collectionOnClick?.collection(position, it1) }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,181 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.modificationsPretch
|
||||
|
||||
import android.content.Context
|
||||
import android.view.LayoutInflater
|
||||
import android.view.ViewGroup
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.bumptech.glide.Glide
|
||||
import com.chad.library.adapter4.BaseQuickAdapter
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.newsletter.XNBackground
|
||||
import com.veloria.now.shortapp.texturedAsink.GStateBean
|
||||
import com.veloria.now.shortapp.texturedAsink.ILauncherBean
|
||||
import com.veloria.now.shortapp.databinding.LtBeanBinding
|
||||
import com.veloria.now.shortapp.rewards.NCWidthCloseView
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class GURepository :
|
||||
BaseQuickAdapter<ILauncherBean, GURepository.VH>() {
|
||||
@Volatile
|
||||
private var canPlayerHorizontally: Boolean = true
|
||||
@Volatile
|
||||
var managerPrice_dict: MutableMap<String,Boolean> = mutableMapOf<String,Boolean>()
|
||||
@Volatile
|
||||
var recommendCodeLoadingPadding: Float = 8163.0f
|
||||
@Volatile
|
||||
var actionCorrectCount: Long = 2889L
|
||||
|
||||
|
||||
|
||||
class VH(
|
||||
parent: ViewGroup,
|
||||
val binding: LtBeanBinding = LtBeanBinding.inflate(
|
||||
LayoutInflater.from(parent.context), parent, false
|
||||
),
|
||||
) : RecyclerView.ViewHolder(binding.root)
|
||||
|
||||
|
||||
private fun verticalRecentGraphicsShower() :MutableMap<String,Int> {
|
||||
var secondsCut = "noscale"
|
||||
var max_lrAllow = mutableListOf<Double>()
|
||||
println(max_lrAllow)
|
||||
var tagDelete_j:Int = 5381
|
||||
var untrustedSample = mutableMapOf<String,Int>()
|
||||
|
||||
return untrustedSample
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onBindViewHolder(
|
||||
holder: VH,
|
||||
position: Int,
|
||||
item: ILauncherBean?
|
||||
) {
|
||||
|
||||
var tmmbParticle:MutableMap<String,Int> = this.verticalRecentGraphicsShower()
|
||||
|
||||
val _tmmbParticletemp = tmmbParticle.keys.toList()
|
||||
for(index_g in 0 .. _tmmbParticletemp.size - 1) {
|
||||
val key_index_g = _tmmbParticletemp.get(index_g)
|
||||
val value_index_g = tmmbParticle.get(key_index_g)
|
||||
if (index_g < 70) {
|
||||
println(key_index_g)
|
||||
println(value_index_g)
|
||||
break
|
||||
}
|
||||
}
|
||||
var tmmbParticle_len:Int = tmmbParticle.size
|
||||
|
||||
println(tmmbParticle)
|
||||
|
||||
|
||||
var loadl:Long = 3219L
|
||||
while (loadl <= 119L) { break }
|
||||
|
||||
|
||||
this.canPlayerHorizontally = false
|
||||
|
||||
this.managerPrice_dict = mutableMapOf<String,Boolean>()
|
||||
|
||||
this.recommendCodeLoadingPadding = 4165.0f
|
||||
|
||||
this.actionCorrectCount = 4543L
|
||||
|
||||
|
||||
if (null != item) {
|
||||
var agenth:MutableMap<String,String> = mutableMapOf<String,String>()
|
||||
agenth.put("oldnew", "home")
|
||||
agenth.put("further", "forwarder")
|
||||
agenth.put("autodelete", "dim")
|
||||
agenth.put("syncsafe", "resamplekhz")
|
||||
if (agenth.get("S") != null) {}
|
||||
println(agenth)
|
||||
|
||||
|
||||
Glide.with(XNBackground.instance)
|
||||
.load(item.image_url)
|
||||
.placeholder(R.mipmap.collection_trending_recommend)
|
||||
.error(R.mipmap.collection_trending_recommend)
|
||||
.into(holder.binding.ivImage)
|
||||
var listN:MutableList<Float> = mutableListOf<Float>()
|
||||
listN.add(717.0f)
|
||||
listN.add(81.0f)
|
||||
listN.add(664.0f)
|
||||
if (listN.size > 22) {}
|
||||
|
||||
|
||||
|
||||
holder.binding.tvName.text = item.short_video_title
|
||||
var callg:MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
callg.add(true)
|
||||
callg.add(true)
|
||||
|
||||
|
||||
|
||||
if (position == 0){
|
||||
var latestC:Double = 2984.0
|
||||
println(latestC)
|
||||
|
||||
|
||||
holder.binding.ivImage.cellPoint = NCWidthCloseView.CellPoint.START
|
||||
}else if (position == itemCount - 1){
|
||||
var service6:String = "hdec"
|
||||
|
||||
|
||||
holder.binding.ivImage.cellPoint = NCWidthCloseView.CellPoint.END
|
||||
}else {
|
||||
var backupv:String = "simple"
|
||||
println(backupv)
|
||||
|
||||
|
||||
holder.binding.ivImage.cellPoint = NCWidthCloseView.CellPoint.MIDDLE
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
private fun observeBackgroundResetMemberItem(secondOpen: Int, shapeRelease_g: Int) :Long {
|
||||
var constantsQuality = "kfrm"
|
||||
var vipWindow_8 = 4584
|
||||
var fontFrom = true
|
||||
var latestBuilder = 9705
|
||||
var packerMakerpmMapstring:Long = 2756L
|
||||
vipWindow_8 = 6279
|
||||
fontFrom = true
|
||||
packerMakerpmMapstring -= if(fontFrom) 50 else 31
|
||||
latestBuilder -= 7383
|
||||
|
||||
return packerMakerpmMapstring
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onCreateViewHolder(context: Context, parent: ViewGroup, viewType: Int): VH {
|
||||
|
||||
var apicBreaking:Long = this.observeBackgroundResetMemberItem(8696,278)
|
||||
|
||||
if (apicBreaking >= 20L) {
|
||||
println(apicBreaking)
|
||||
}
|
||||
var cancel_apicBreaking: Int = apicBreaking.toInt()
|
||||
|
||||
println(apicBreaking)
|
||||
|
||||
|
||||
var itemH:MutableList<Float> = mutableListOf<Float>()
|
||||
itemH.add(460.0f)
|
||||
itemH.add(570.0f)
|
||||
itemH.add(500.0f)
|
||||
itemH.add(613.0f)
|
||||
itemH.add(230.0f)
|
||||
if (itemH.contains(9404.0f)) {}
|
||||
|
||||
|
||||
return VH(parent)
|
||||
}
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.modificationsPretch
|
||||
|
||||
import androidx.fragment.app.Fragment
|
||||
import androidx.fragment.app.FragmentActivity
|
||||
import androidx.viewpager2.adapter.FragmentStateAdapter
|
||||
import com.veloria.now.shortapp.subtractionCroll.adminSourceid.ZEpisodeFragment
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class HVIText(fragmentActivity: FragmentActivity) :
|
||||
FragmentStateAdapter(fragmentActivity) {
|
||||
@Volatile
|
||||
private var bingePaddingInterpolatorSum: Long = 8015L
|
||||
@Volatile
|
||||
var buyAnimator_str: String = "exploding"
|
||||
|
||||
|
||||
|
||||
val fragments = listOf(
|
||||
ZEpisodeFragment.newInstance(0),
|
||||
ZEpisodeFragment.newInstance(1)
|
||||
)
|
||||
|
||||
override fun getItemCount(): Int = fragments.size
|
||||
|
||||
override fun createFragment(position: Int): Fragment = fragments[position]
|
||||
}
|
@ -0,0 +1,182 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.modificationsPretch
|
||||
|
||||
import android.content.Context
|
||||
import android.view.LayoutInflater
|
||||
import android.view.ViewGroup
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.chad.library.adapter4.BaseQuickAdapter
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.texturedAsink.ESTimeBean
|
||||
import com.veloria.now.shortapp.databinding.LtBeanBinding
|
||||
import com.veloria.now.shortapp.databinding.GlBbfdebaffdBackgroundBinding
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class JCCheckboxSkewed :
|
||||
BaseQuickAdapter<ESTimeBean.Data, JCCheckboxSkewed.VH>() {
|
||||
@Volatile
|
||||
var has_HelpSize_v: Boolean = true
|
||||
@Volatile
|
||||
private var cellStartedArr: MutableList<Long> = mutableListOf<Long>()
|
||||
@Volatile
|
||||
private var playerLight_arr: MutableList<String> = mutableListOf<String>()
|
||||
@Volatile
|
||||
private var availableShowString: String = "vlff"
|
||||
|
||||
|
||||
var selectPosition = 0
|
||||
|
||||
class VH(
|
||||
parent: ViewGroup,
|
||||
val binding: GlBbfdebaffdBackgroundBinding = GlBbfdebaffdBackgroundBinding.inflate(
|
||||
LayoutInflater.from(parent.context), parent, false
|
||||
),
|
||||
) : RecyclerView.ViewHolder(binding.root)
|
||||
|
||||
|
||||
private fun layoutDetachedWindCountryUnitBus(radiusNetwork: MutableList<Int>, setupAuto_16: String, shareNumber: Boolean) :Int {
|
||||
var footerUtils = 6222.0f
|
||||
var resourceCut = 1018.0
|
||||
var listsAnimation = 1600.0f
|
||||
println(listsAnimation)
|
||||
var speakingOnversation:Int = 7420
|
||||
footerUtils = 9941.0f
|
||||
resourceCut = 5541.0
|
||||
listsAnimation = 3608.0f
|
||||
|
||||
return speakingOnversation
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onCreateViewHolder(context: Context, parent: ViewGroup, viewType: Int): VH {
|
||||
var ffmath_n = mutableListOf<Int>()
|
||||
var where_g_l = "pub"
|
||||
|
||||
var mergingVenc = this.layoutDetachedWindCountryUnitBus(ffmath_n,where_g_l,false)
|
||||
|
||||
if (mergingVenc > 3) {
|
||||
for (u_t in 0 .. mergingVenc) {
|
||||
if (u_t == 3) {
|
||||
println(u_t)
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
println(mergingVenc)
|
||||
|
||||
|
||||
var builderf:Double = 9892.0
|
||||
if (builderf >= 31.0) {}
|
||||
|
||||
|
||||
this.has_HelpSize_v = true
|
||||
|
||||
this.cellStartedArr = mutableListOf<Long>()
|
||||
|
||||
this.playerLight_arr = mutableListOf<String>()
|
||||
|
||||
this.availableShowString = "complementing"
|
||||
|
||||
|
||||
return VH(parent)
|
||||
}
|
||||
|
||||
|
||||
private fun collectionAlsoMessage(mmkvRequest: Boolean, totalPager: Float, description_vCorner: MutableList<Boolean>) :MutableMap<String,Int> {
|
||||
var recordStore = mutableListOf<Float>()
|
||||
var pathDefault_1 = 9193
|
||||
println(pathDefault_1)
|
||||
var positionLaunch:Long = 2878L
|
||||
var short_84Format = mutableListOf<Float>()
|
||||
var anchorsLibphonenumberWallpaper = mutableMapOf<String,Int>()
|
||||
anchorsLibphonenumberWallpaper.put("disable", 71)
|
||||
anchorsLibphonenumberWallpaper.put("load", 561)
|
||||
pathDefault_1 = 3426
|
||||
anchorsLibphonenumberWallpaper.put("pubkeyProb", pathDefault_1)
|
||||
positionLaunch *= 5163L
|
||||
anchorsLibphonenumberWallpaper.put("determinableSubstrings", 7846)
|
||||
|
||||
return anchorsLibphonenumberWallpaper
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onBindViewHolder(
|
||||
holder: VH,
|
||||
position: Int,
|
||||
item: ESTimeBean.Data?
|
||||
) {
|
||||
var migrate_n = mutableListOf<Boolean>()
|
||||
|
||||
var lapndzDdct = this.collectionAlsoMessage(true,5554.0f,migrate_n)
|
||||
|
||||
val _lapndzDdcttemp = lapndzDdct.keys.toList()
|
||||
for(index_1 in 0 .. _lapndzDdcttemp.size - 1) {
|
||||
val key_index_1 = _lapndzDdcttemp.get(index_1)
|
||||
val value_index_1 = lapndzDdct.get(key_index_1)
|
||||
if (index_1 > 15) {
|
||||
println(key_index_1)
|
||||
println(value_index_1)
|
||||
break
|
||||
}
|
||||
}
|
||||
var lapndzDdct_len:Int = lapndzDdct.size
|
||||
|
||||
println(lapndzDdct)
|
||||
|
||||
|
||||
var rulesZ:Float = 9678.0f
|
||||
while (rulesZ <= 187.0f) { break }
|
||||
|
||||
|
||||
if (null != item) {
|
||||
var hintd:Double = 3451.0
|
||||
println(hintd)
|
||||
|
||||
|
||||
holder.binding.tvTab.text = item.name
|
||||
var t_tagG:MutableMap<String,Float> = mutableMapOf<String,Float>()
|
||||
t_tagG.put("bink", 14.0f)
|
||||
t_tagG.put("distribution", 2.0f)
|
||||
println(t_tagG)
|
||||
|
||||
|
||||
if (selectPosition == position) {
|
||||
var high7:Int = 6975
|
||||
if (high7 > 28) {}
|
||||
|
||||
|
||||
holder.binding.tvTab.setTextColor(context.getColor(R.color.white))
|
||||
var recommendH:MutableList<Boolean> = mutableListOf<Boolean>()
|
||||
recommendH.add(false)
|
||||
recommendH.add(false)
|
||||
recommendH.add(false)
|
||||
recommendH.add(false)
|
||||
recommendH.add(true)
|
||||
if (recommendH.contains(true)) {}
|
||||
|
||||
|
||||
holder.binding.tvTab.setBackgroundResource(R.drawable.jru_categories_constants)
|
||||
}else {
|
||||
var charactery:Double = 8502.0
|
||||
while (charactery <= 70.0) { break }
|
||||
|
||||
|
||||
holder.binding.tvTab.setTextColor(context.getColor(R.color.seriesBaseUtils))
|
||||
var checkT:MutableList<Long> = mutableListOf<Long>()
|
||||
checkT.add(184L)
|
||||
checkT.add(656L)
|
||||
checkT.add(263L)
|
||||
if (checkT.size > 69) {}
|
||||
|
||||
|
||||
holder.binding.tvTab.setBackgroundResource(R.drawable.byp_themes)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,158 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.modificationsPretch
|
||||
|
||||
import android.content.Context
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.chad.library.adapter4.BaseQuickAdapter
|
||||
import com.veloria.now.shortapp.R
|
||||
import com.veloria.now.shortapp.databinding.PsListBinding
|
||||
import kotlin.math.min
|
||||
import kotlin.math.max
|
||||
|
||||
|
||||
class LConstantsRight :
|
||||
BaseQuickAdapter<String, LConstantsRight.VH>() {
|
||||
@Volatile
|
||||
var pointAudio_dict: MutableMap<String,Double> = mutableMapOf<String,Double>()
|
||||
@Volatile
|
||||
private var fontActivity_size: Float = 8803.0f
|
||||
|
||||
|
||||
var currentPosition = -1
|
||||
|
||||
class VH(
|
||||
parent: ViewGroup,
|
||||
val binding: PsListBinding = PsListBinding.inflate(
|
||||
LayoutInflater.from(parent.context), parent, false
|
||||
),
|
||||
) : RecyclerView.ViewHolder(binding.root)
|
||||
|
||||
|
||||
|
||||
private fun supportDetectFamilyDecoration(pointRound: Double, while_9gLeft: String, footerTube: Float) :Boolean {
|
||||
var imageBack:Long = 4521L
|
||||
println(imageBack)
|
||||
var roundMore:Int = 5537
|
||||
var vipWith_h = 7463.0
|
||||
var while_s8Radius = mutableMapOf<String,String>()
|
||||
println(while_s8Radius)
|
||||
var accessibilityTwolameReadxblock = false
|
||||
imageBack *= 9349L
|
||||
accessibilityTwolameReadxblock = imageBack > 66
|
||||
roundMore -= 9358
|
||||
accessibilityTwolameReadxblock = roundMore > 45
|
||||
vipWith_h += 8937.0
|
||||
accessibilityTwolameReadxblock = vipWith_h > 76
|
||||
|
||||
return accessibilityTwolameReadxblock
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onCreateViewHolder(context: Context, parent: ViewGroup, viewType: Int): VH {
|
||||
var onfiguration_k = "pump"
|
||||
|
||||
var locationsAdjust:Boolean = this.supportDetectFamilyDecoration(3306.0,onfiguration_k,1732.0f)
|
||||
|
||||
if (locationsAdjust) {
|
||||
println("ok")
|
||||
}
|
||||
|
||||
println(locationsAdjust)
|
||||
|
||||
|
||||
var favoritesx:Int = 1541
|
||||
while (favoritesx < 125) { break }
|
||||
|
||||
|
||||
this.pointAudio_dict = mutableMapOf<String,Double>()
|
||||
|
||||
this.fontActivity_size = 6061.0f
|
||||
|
||||
|
||||
return VH(parent)
|
||||
}
|
||||
|
||||
|
||||
private fun collectionPlaceMeasureBingeApplyPrimary(userIntercept: Double, afterMmkv: MutableList<Double>, lifecycleWhile_t: Int) :Double {
|
||||
var linePlay = mutableListOf<Double>()
|
||||
println(linePlay)
|
||||
var helpBold = mutableListOf<Float>()
|
||||
var mmkvUrl:Float = 1962.0f
|
||||
println(mmkvUrl)
|
||||
var selectionsDecoration:Double = 7978.0
|
||||
mmkvUrl = mmkvUrl
|
||||
|
||||
return selectionsDecoration
|
||||
|
||||
}
|
||||
|
||||
|
||||
override fun onBindViewHolder(
|
||||
holder: VH,
|
||||
position: Int,
|
||||
item: String?
|
||||
) {
|
||||
var discovered_n = mutableListOf<Double>()
|
||||
|
||||
var welsencRemapping = this.collectionPlaceMeasureBingeApplyPrimary(874.0,discovered_n,2557)
|
||||
|
||||
if (welsencRemapping < 86.0) {
|
||||
println(welsencRemapping)
|
||||
}
|
||||
|
||||
println(welsencRemapping)
|
||||
|
||||
|
||||
var android4:Boolean = true
|
||||
if (!android4) {}
|
||||
|
||||
|
||||
if (null != item) {
|
||||
var systemi:MutableMap<String,Float> = mutableMapOf<String,Float>()
|
||||
systemi.put("chunked", 282.0f)
|
||||
systemi.put("accurate", 755.0f)
|
||||
systemi.put("gallery", 530.0f)
|
||||
systemi.put("physical", 445.0f)
|
||||
systemi.put("objective", 354.0f)
|
||||
systemi.put("redundant", 119.0f)
|
||||
while (systemi.size > 17) { break }
|
||||
|
||||
|
||||
holder.binding.tvNumEpisodes.text = item
|
||||
var main_at:Boolean = true
|
||||
while (!main_at) { break }
|
||||
|
||||
|
||||
if (currentPosition == position) {
|
||||
var listjS:Int = 8426
|
||||
if (listjS < 142) {}
|
||||
|
||||
|
||||
holder.binding.tvNumEpisodes.setTextColor(context.getColor(R.color.white))
|
||||
var keywordt:String = "reverse"
|
||||
while (keywordt.length > 128) { break }
|
||||
|
||||
|
||||
holder.binding.vLine.visibility = View.VISIBLE
|
||||
} else {
|
||||
var logicO:MutableMap<String,Long> = mutableMapOf<String,Long>()
|
||||
logicO.put("picklpf", 577L)
|
||||
logicO.put("collate", 947L)
|
||||
logicO.put("typeof", 260L)
|
||||
while (logicO.size > 156) { break }
|
||||
println(logicO)
|
||||
|
||||
|
||||
holder.binding.tvNumEpisodes.setTextColor(context.getColor(R.color.white60))
|
||||
var min_p8:Int = 5775
|
||||
|
||||
|
||||
holder.binding.vLine.visibility = View.GONE
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package com.veloria.now.shortapp.subtractionCroll.modificationsPretch
|
||||
|
||||
import android.content.Context
|
||||
import android.view.LayoutInflater
|
||||
import android.view.ViewGroup
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.chad.library.adapter4.BaseQuickAdapter
|
||||
import com.veloria.now.shortapp.databinding.ItemLanguageBinding
|
||||
import com.veloria.now.shortapp.texturedAsink.LanguageBean
|
||||
|
||||
class LanguageAdapter :
|
||||
BaseQuickAdapter<LanguageBean.DataBean, LanguageAdapter.VH>() {
|
||||
var currentPosition = -1
|
||||
|
||||
class VH(
|
||||
parent: ViewGroup,
|
||||
val binding: ItemLanguageBinding = ItemLanguageBinding.inflate(
|
||||
LayoutInflater.from(parent.context), parent, false
|
||||
),
|
||||
) : RecyclerView.ViewHolder(binding.root)
|
||||
|
||||
override fun onCreateViewHolder(context: Context, parent: ViewGroup, viewType: Int): VH {
|
||||
return VH(parent)
|
||||
}
|
||||
|
||||
override fun onBindViewHolder(
|
||||
holder: VH,
|
||||
position: Int,
|
||||
item: LanguageBean.DataBean?
|
||||
) {
|
||||
if (null != item) {
|
||||
holder.binding.tvText.text = item.show_name
|
||||
if (currentPosition == position) {
|
||||
holder.binding.cbSelect.isChecked = true
|
||||
} else {
|
||||
holder.binding.cbSelect.isChecked = false
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user