正在查看: 大众借. v4.1.2 应用的 Z0ACT.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 大众借. v4.1.2 应用的 Z0ACT.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.shiliuj.ui.activitys;
import android.os.Bundle;
import android.view.View;
import androidx.core.content.ContextCompat;
import androidx.recyclerview.widget.RecyclerView;
import com.base.commonlibrary.base.baserx.RxSchedulers;
import com.base.commonlibrary.baseview.BaseListActivity;
import com.base.commonlibrary.baseview.recyclerview.base.ViewHolder;
import com.base.commonlibrary.views.LoadingTip;
import com.shiliuj.mjyp.app.api.Api;
import com.shiliuj.mjyp.app.base.RxSubscriber;
import com.shiliuj.ui.bean.MineMsgList;
public class Z0ACT extends BaseListActivity {
protected boolean canLoadMore() {
return false;
}
public int getItemLayoutId() {
return 2131492982;
}
public boolean onItemLongClickData(View view, RecyclerView.ViewHolder viewHolder, int i) {
return false;
}
public void convertData(ViewHolder viewHolder, Object obj, int i) {
MineMsgList.ResultBean resultBean = (MineMsgList.ResultBean) obj;
String createTime = resultBean.getCreateTime();
viewHolder.setText(2131296998, getResources().getString(2131689741));
viewHolder.setText(2131296963, createTime);
if (resultBean.getStatus() == 0) {
viewHolder.setTextColor(2131296998, ContextCompat.getColor(this.mContext, 2131099920));
viewHolder.setTextColor(2131296963, ContextCompat.getColor(this.mContext, 2131099921));
} else {
viewHolder.setTextColor(2131296998, ContextCompat.getColor(this.mContext, 2131099917));
viewHolder.setTextColor(2131296963, ContextCompat.getColor(this.mContext, 2131099917));
}
}
public void onItemClickData(View view, RecyclerView.ViewHolder viewHolder, int i) {
MineMsgList.ResultBean resultBean = (MineMsgList.ResultBean) this.list.get(i);
Bundle bundle = new Bundle();
bundle.putInt("id", resultBean.getId());
startActivity(Y0ACT.class, bundle);
}
public void loadData() {
this.mRxManager.add(Api.getDefault().sysfeedbackList().compose(RxSchedulers.io_main()).subscribe(new RxSubscriber<MineMsgList>(this.mContext, this.isShow) {
public void _onNext(MineMsgList mineMsgList) {
Z0ACT.this.setData(mineMsgList.getResult());
}
protected void _onError(String str) {
Z0ACT.this.showErrorTip(str);
}
}));
}
public void initView(Bundle bundle) {
super.initView(bundle);
this.titleLayout.setTitle(getResources().getString(2131689861));
this.loadTip.setOnReloadListener(new LoadingTip.onReloadListener() {
public void reload() {
Z0ACT.this.isShow = true;
Z0ACT.this.loadData();
}
});
}
}