正在查看: Mabilis Cash v1.19.4 应用的 PHCashboxFlowsActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Mabilis Cash v1.19.4 应用的 PHCashboxFlowsActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.loans.mabiliscash.business.cashbox;
import android.content.Context;
import android.content.Intent;
import com.google.android.material.tabs.TabLayout;
import com.lingyue.supertoolkit.widgets.SimpleFragmentPagerAdapter;
import com.loans.mabiliscash.R;
import com.loans.mabiliscash.common.PHViewBindingActivity;
import com.loans.mabiliscash.databinding.ActivityCashboxFlowsBinding;
import com.loans.mabiliscash.widght.PHTabSelectedListener;
public class PHCashboxFlowsActivity extends PHViewBindingActivity<ActivityCashboxFlowsBinding> {
public static void start(Context context) {
context.startActivity(new Intent(context, (Class<?>) PHCashboxFlowsActivity.class));
}
@Override
public ActivityCashboxFlowsBinding bindingInflater() {
return ActivityCashboxFlowsBinding.c(getLayoutInflater());
}
protected void j() {
super.j();
sendFetchUserInfoRequest();
}
protected void o() {
super.o();
SimpleFragmentPagerAdapter simpleFragmentPagerAdapter = new SimpleFragmentPagerAdapter(getSupportFragmentManager());
simpleFragmentPagerAdapter.a(IncomeFlowsFragment.F(), getString(R.string.income));
simpleFragmentPagerAdapter.a(WithdrawFlowsFragment.F(), getString(R.string.withdrawal));
((ActivityCashboxFlowsBinding) this.o).c.setAdapter(simpleFragmentPagerAdapter);
T t2 = this.o;
((ActivityCashboxFlowsBinding) t2).b.setupWithViewPager(((ActivityCashboxFlowsBinding) t2).c);
((ActivityCashboxFlowsBinding) this.o).b.addOnTabSelectedListener((TabLayout.OnTabSelectedListener) new PHTabSelectedListener());
}
}