正在查看: OLX India v19.42.007 应用的 HelpActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: OLX India v19.42.007 应用的 HelpActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.olxgroup.panamera.app.users.myAccount.activities;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.PorterDuff;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import android.widget.Toast;
import com.olxgroup.panamera.app.common.infra.m2;
import com.olxgroup.panamera.app.common.utils.g1;
import com.olxgroup.panamera.domain.users.myaccount.presentation_contract.HelpContract;
import com.olxgroup.panamera.domain.users.myaccount.presentation_impl.HelpPresenter;
public class HelpActivity extends x implements HelpContract.IView, TextWatcher {
HelpPresenter b0;
public static Intent b3() {
return new Intent((Context) m2.b, (Class<?>) HelpActivity.class);
}
private String c3() {
return d3();
}
private String d3() {
try {
return getPackageManager().getPackageInfo(getPackageName(), 0).versionName;
} catch (PackageManager.NameNotFoundException unused) {
return "?";
}
}
public void f3(View view) {
V2();
}
public void g3(View view) {
X2();
}
public void h3(View view) {
Y2();
}
public void i3(View view) {
Z2();
}
public void j3(View view) {
W2();
}
public void k3(View view) {
T2();
}
public void l3(View view) {
S2();
}
public void m3(View view) {
a3();
}
public void n3(View view) {
U2();
}
public void S2() {
this.b0.betaTesterButtonClicked();
}
public void T2() {
this.b0.cookiesPolicyButtonClicked();
}
public void U2() {
this.b0.developerButtonClicked();
}
public void V2() {
this.b0.helpAndSupportButtonClicked();
}
public void W2() {
this.b0.privacyPolicyButtonClicked();
}
public void X2() {
this.b0.rateButtonClicked();
}
public void Y2() {
this.b0.referFriendsButtonClicked();
}
public void Z2() {
this.b0.termsAndCondButtonClicked();
}
public void a3() {
this.b0.versionButtonClicked();
}
@Override
public void afterTextChanged(Editable editable) {
this.b0.passwordChanged(editable.toString());
}
@Override
public void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) {
}
public com.olx.southasia.databinding.w H2() {
return com.olx.southasia.databinding.w.Q(getLayoutInflater());
}
@Override
public void hidePassword() {
((com.olxgroup.panamera.app.common.activities.k) this).Z.E.setVisibility(8);
}
protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
this.b0.setView(this);
this.b0.start();
((com.olxgroup.panamera.app.common.activities.k) this).Z.E.addTextChangedListener(this);
((com.olxgroup.panamera.app.common.activities.k) this).Z.D.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
HelpActivity.this.f3(view);
}
});
((com.olxgroup.panamera.app.common.activities.k) this).Z.G.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
HelpActivity.this.g3(view);
}
});
((com.olxgroup.panamera.app.common.activities.k) this).Z.H.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
HelpActivity.this.h3(view);
}
});
((com.olxgroup.panamera.app.common.activities.k) this).Z.I.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
HelpActivity.this.i3(view);
}
});
((com.olxgroup.panamera.app.common.activities.k) this).Z.F.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
HelpActivity.this.j3(view);
}
});
((com.olxgroup.panamera.app.common.activities.k) this).Z.B.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
HelpActivity.this.k3(view);
}
});
((com.olxgroup.panamera.app.common.activities.k) this).Z.A.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
HelpActivity.this.l3(view);
}
});
((com.olxgroup.panamera.app.common.activities.k) this).Z.K.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
HelpActivity.this.m3(view);
}
});
((com.olxgroup.panamera.app.common.activities.k) this).Z.C.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
HelpActivity.this.n3(view);
}
});
}
public boolean onSupportNavigateUp() {
onBackPressed();
return true;
}
@Override
public void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
}
@Override
public void openBetaTester() {
Intent e = olx.com.delorean.a.e();
if (e.resolveActivity(getPackageManager()) != null) {
startActivity(e);
}
}
@Override
public void openDeveloperOptions() {
startActivity(olx.com.delorean.a.L0());
}
@Override
public void openHelpAndSupport() {
startActivity(olx.com.delorean.a.S());
}
@Override
public void openRate() {
com.olxgroup.panamera.app.common.utils.h.a.b(this);
}
@Override
public void openReferFriends() {
g1.b(this, this.b0.getOpenAppLink());
}
@Override
public void openWebView(String str) {
startActivity(olx.com.delorean.a.T(str));
}
@Override
public void setActionBarTitle() {
setSupportActionBar(((com.olxgroup.panamera.app.common.activities.k) this).Z.J);
androidx.appcompat.app.a supportActionBar = getSupportActionBar();
if (supportActionBar != null) {
supportActionBar.w(true);
supportActionBar.D(com.olx.southasia.p.my_account_help_support);
((com.olxgroup.panamera.app.common.activities.k) this).Z.J.getNavigationIcon().setColorFilter(androidx.core.content.b.getColor(this, com.olx.southasia.e.toolbar_text), PorterDuff.Mode.SRC_ATOP);
}
}
@Override
public void setDeveloperOptionsVisibility(boolean z) {
((com.olxgroup.panamera.app.common.activities.k) this).Z.C.setVisibility(z ? 0 : 8);
}
@Override
public void setListItems() {
((com.olxgroup.panamera.app.common.activities.k) this).Z.D.b(true, getString(com.olx.southasia.p.my_account_get_help), getString(com.olx.southasia.p.my_account_get_help_sub));
((com.olxgroup.panamera.app.common.activities.k) this).Z.G.b(true, getString(com.olx.southasia.p.my_account_rate_us), getString(com.olx.southasia.p.my_account_rate_us_sub));
((com.olxgroup.panamera.app.common.activities.k) this).Z.H.b(false, getString(com.olx.southasia.p.my_account_invite_friends, "OLX"), getString(com.olx.southasia.p.my_account_invite_friends_sub));
((com.olxgroup.panamera.app.common.activities.k) this).Z.I.b(true, getString(com.olx.southasia.p.my_account_terms_of_use), null);
((com.olxgroup.panamera.app.common.activities.k) this).Z.F.b(true, getString(com.olx.southasia.p.my_account_privacy_policy), null);
((com.olxgroup.panamera.app.common.activities.k) this).Z.B.b(true, getString(com.olx.southasia.p.my_account_cookies_policy), null);
((com.olxgroup.panamera.app.common.activities.k) this).Z.A.b(true, getString(com.olx.southasia.p.my_account_beta_title), getString(com.olx.southasia.p.my_account_betatest_sub));
((com.olxgroup.panamera.app.common.activities.k) this).Z.K.b(false, getString(com.olx.southasia.p.my_account_version), c3());
((com.olxgroup.panamera.app.common.activities.k) this).Z.C.b(true, "{ } Developer Options", null);
}
@Override
public void setPrivacyItemsVisibility(boolean z) {
((com.olxgroup.panamera.app.common.activities.k) this).Z.I.setVisibility(z ? 0 : 8);
((com.olxgroup.panamera.app.common.activities.k) this).Z.F.setVisibility(z ? 0 : 8);
((com.olxgroup.panamera.app.common.activities.k) this).Z.B.setVisibility(z ? 0 : 8);
}
@Override
public void showDeveloperOptions() {
Toast.makeText((Context) this, (CharSequence) "You are now a developer", 0).show();
((com.olxgroup.panamera.app.common.activities.k) this).Z.E.setVisibility(0);
}
}