正在查看: BetterTogether v3.0.0 应用的 CreateNewPasswordActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: BetterTogether v3.0.0 应用的 CreateNewPasswordActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.bettertogether.screens.password.create;
import af.d;
import af.e;
import android.text.TextUtils;
import android.view.View;
import androidx.constraintlayout.widget.ConstraintLayout;
import bc.j;
import cd.f0;
import cd.g;
import com.bettertogether.base.BaseActivity;
import com.bettertogether.screens.login.LoginActivity;
import java.util.Locale;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.g0;
import lq.m;
import lq.n;
import lq.o;
import lq.x;
import md.l;
import s6.t;
import s8.h;
import xs.c;
import ys.a;
@Metadata
public final class CreateNewPasswordActivity extends BaseActivity implements e {
public static final t f5006w = new t(28, 0);
public final m f5007e;
public String f5008i;
public final x f5009v;
public CreateNewPasswordActivity() {
h s10 = com.google.firebase.messaging.e.s(this);
this.f5007e = n.a(o.f13215d, new l(((a) s10.a).a(com.google.firebase.messaging.e.o(), new c(g0.a(CreateNewPasswordActivity.class))), new af.a(this, 1), 19));
this.f5009v = n.b(new af.a(this, 0));
}
@Override
public final View getView() {
ConstraintLayout constraintLayout = ((g) this.f5009v.getValue()).f4229a;
Intrinsics.checkNotNullExpressionValue(constraintLayout, "binding.root");
return constraintLayout;
}
@Override
public final void hideLoadingDialog() {
((g) this.f5009v.getValue()).f4234f.a();
enableViews();
}
@Override
public final void initViews() {
this.f5008i = getIntent().getStringExtra("confirmation_code");
g gVar = (g) this.f5009v.getValue();
gVar.f4231c.setOnClickListener(new fc.a(14, this, gVar));
Locale locale = Locale.getDefault();
Intrinsics.checkNotNullExpressionValue(locale, "getDefault()");
int layoutDirectionFromLocale = TextUtils.getLayoutDirectionFromLocale(locale);
f0 f0Var = gVar.f4230b;
if (layoutDirectionFromLocale == 1) {
f0Var.f4223c.setRotation(180.0f);
} else {
f0Var.f4223c.setRotation(0.0f);
}
f0Var.f4227g.setVisibility(8);
f0Var.f4228h.setText(getResources().getString(2131951852));
f0Var.f4223c.setOnClickListener(new j(this, 21));
}
@Override
public final void onBackPressed() {
startActivity(LoginActivity.f5000y.p(this, false));
}
@Override
public final ad.a providePresenter() {
return (d) this.f5007e.getValue();
}
@Override
public final void showLoadingDialog() {
disableViews();
((g) this.f5009v.getValue()).f4234f.b();
}
}