Initial commit
This commit is contained in:
202
sources/com/ubt/jimu/user/view/fragment/FansFragment.java
Normal file
202
sources/com/ubt/jimu/user/view/fragment/FansFragment.java
Normal file
@@ -0,0 +1,202 @@
|
||||
package com.ubt.jimu.user.view.fragment;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||
import butterknife.ButterKnife;
|
||||
import butterknife.Unbinder;
|
||||
import com.recyclelib.URecyclerView;
|
||||
import com.ubt.jimu.R;
|
||||
import com.ubt.jimu.base.cache.Cache;
|
||||
import com.ubt.jimu.base.entities.Fans;
|
||||
import com.ubt.jimu.base.entities.FollowEntities;
|
||||
import com.ubt.jimu.base.http.ApiObserver;
|
||||
import com.ubt.jimu.base.http.manager.CommunityManager;
|
||||
import com.ubt.jimu.user.contract.FansContract$Presenter;
|
||||
import com.ubt.jimu.user.contract.FansContract$View;
|
||||
import com.ubt.jimu.user.view.LoginActivity;
|
||||
import com.ubt.jimu.user.view.UserCenterActivity;
|
||||
import com.ubt.jimu.user.view.adapter.FansAdapter;
|
||||
import com.ubt.jimu.utils.NetWorkUtil;
|
||||
import com.ubt.jimu.widgets.LoadingView;
|
||||
import com.ubtech.view.fragment.BaseFragment;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public class FansFragment extends BaseFragment implements FansContract$View {
|
||||
private FansContract$Presenter a;
|
||||
private FansAdapter c;
|
||||
private long d;
|
||||
private Unbinder e;
|
||||
URecyclerView fansRecyclerView;
|
||||
LoadingView loadingView;
|
||||
private List<Fans> b = new ArrayList();
|
||||
private Handler f = new Handler();
|
||||
|
||||
private void initView() {
|
||||
if (getArguments() != null) {
|
||||
this.d = getArguments().getLong("view_user_id");
|
||||
}
|
||||
this.c = new FansAdapter(this.mActivity, this.b);
|
||||
this.c.a(new FansAdapter.Callback() { // from class: com.ubt.jimu.user.view.fragment.FansFragment.1
|
||||
@Override // com.ubt.jimu.user.view.adapter.FansAdapter.Callback
|
||||
public void a(int i) {
|
||||
UserCenterActivity.a(((BaseFragment) FansFragment.this).mActivity, ((Fans) FansFragment.this.b.get(i)).getUserId());
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.view.adapter.FansAdapter.Callback
|
||||
public void a(Fans fans, int i) {
|
||||
if (Cache.getInstance().getLoginUserIntId() == 0) {
|
||||
LoginActivity.start(((BaseFragment) FansFragment.this).mActivity);
|
||||
} else {
|
||||
CommunityManager.create().subscriptionAdd((int) fans.getUserId(), new ApiObserver<FollowEntities>(null) { // from class: com.ubt.jimu.user.view.fragment.FansFragment.1.1
|
||||
@Override // com.ubt.jimu.base.http.ApiObserver, io.reactivex.Observer
|
||||
/* renamed from: a, reason: merged with bridge method [inline-methods] */
|
||||
public void onNext(FollowEntities followEntities) {
|
||||
super.onNext(followEntities);
|
||||
FansFragment.this.a.subscribe();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
this.fansRecyclerView.setAdapter(this.c);
|
||||
this.fansRecyclerView.setLayoutManager(new LinearLayoutManager(this.mActivity, 1, false));
|
||||
this.fansRecyclerView.setLoadingMoreEnabled(false);
|
||||
this.fansRecyclerView.setLoadingListener(new URecyclerView.LoadingListener() { // from class: com.ubt.jimu.user.view.fragment.FansFragment.2
|
||||
@Override // com.recyclelib.URecyclerView.LoadingListener
|
||||
public void onLoadingMore() {
|
||||
}
|
||||
|
||||
@Override // com.recyclelib.URecyclerView.LoadingListener
|
||||
public void onRefreshing() {
|
||||
FansFragment.this.loadingView.setIsRefresh(true);
|
||||
FansFragment.this.a.d(FansFragment.this.m(), FansFragment.this.d());
|
||||
}
|
||||
});
|
||||
this.loadingView.setOnRetryListener(new LoadingView.RetryRequest() { // from class: com.ubt.jimu.user.view.fragment.FansFragment.3
|
||||
@Override // com.ubt.jimu.widgets.LoadingView.RetryRequest
|
||||
public void OnRetryListener() {
|
||||
FansFragment.this.loadingView.c();
|
||||
FansFragment.this.f.postDelayed(new Runnable() { // from class: com.ubt.jimu.user.view.fragment.FansFragment.3.1
|
||||
@Override // java.lang.Runnable
|
||||
public void run() {
|
||||
FansFragment.this.a.subscribe();
|
||||
}
|
||||
}, 500L);
|
||||
}
|
||||
});
|
||||
this.loadingView.setBackgroundViewColor(getResources().getColor(R.color.bg_F9F9F9));
|
||||
}
|
||||
|
||||
private void o() {
|
||||
if (b()) {
|
||||
this.loadingView.a(R.string.tips_no_fans, R.drawable.icon_favourate_empty);
|
||||
} else {
|
||||
this.loadingView.a(R.string.others_no_fans, R.drawable.icon_favourate_empty);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.FansContract$View
|
||||
public int e() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.FansContract$View
|
||||
public int f() {
|
||||
return 1000;
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.FansContract$View
|
||||
public void g(List<Fans> list) {
|
||||
this.fansRecyclerView.A();
|
||||
if (list == null || list.size() == 0) {
|
||||
o();
|
||||
return;
|
||||
}
|
||||
this.loadingView.setVisibility(8);
|
||||
Log.i("FansFragment", list.toString());
|
||||
this.b.clear();
|
||||
this.b.addAll(list);
|
||||
this.c.notifyDataSetChanged();
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.FansContract$View
|
||||
public long m() {
|
||||
return Cache.getInstance().getLoginUserIntId();
|
||||
}
|
||||
|
||||
@Override // com.ubtech.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||||
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||||
View inflate = layoutInflater.inflate(R.layout.recycler_view, (ViewGroup) null);
|
||||
this.e = ButterKnife.a(this, inflate);
|
||||
initView();
|
||||
return inflate;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onDestroyView() {
|
||||
this.e.unbind();
|
||||
Handler handler = this.f;
|
||||
if (handler != null) {
|
||||
handler.removeCallbacksAndMessages(null);
|
||||
}
|
||||
super.onDestroyView();
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.FansContract$View
|
||||
public void onError() {
|
||||
this.loadingView.setVisibility(0);
|
||||
if (NetWorkUtil.b(this.mActivity)) {
|
||||
this.loadingView.e();
|
||||
} else {
|
||||
this.loadingView.d();
|
||||
}
|
||||
this.fansRecyclerView.A();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
this.a.unSubscribe();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
this.a.subscribe();
|
||||
}
|
||||
|
||||
public static FansFragment a(long j) {
|
||||
FansFragment fansFragment = new FansFragment();
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putLong("view_user_id", j);
|
||||
fansFragment.setArguments(bundle);
|
||||
return fansFragment;
|
||||
}
|
||||
|
||||
private boolean b() {
|
||||
return d() == m();
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.FansContract$View
|
||||
public long d() {
|
||||
return this.d;
|
||||
}
|
||||
|
||||
@Override // com.ubtech.view.BaseView
|
||||
/* renamed from: a, reason: merged with bridge method [inline-methods] */
|
||||
public void setPresenter(FansContract$Presenter fansContract$Presenter) {
|
||||
this.a = fansContract$Presenter;
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.FansContract$View
|
||||
public void a() {
|
||||
this.loadingView.g();
|
||||
}
|
||||
}
|
@@ -0,0 +1,30 @@
|
||||
package com.ubt.jimu.user.view.fragment;
|
||||
|
||||
import android.view.View;
|
||||
import butterknife.Unbinder;
|
||||
import butterknife.internal.Utils;
|
||||
import com.recyclelib.URecyclerView;
|
||||
import com.ubt.jimu.R;
|
||||
import com.ubt.jimu.widgets.LoadingView;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public class FansFragment_ViewBinding implements Unbinder {
|
||||
private FansFragment b;
|
||||
|
||||
public FansFragment_ViewBinding(FansFragment fansFragment, View view) {
|
||||
this.b = fansFragment;
|
||||
fansFragment.fansRecyclerView = (URecyclerView) Utils.b(view, R.id.recyclerView, "field 'fansRecyclerView'", URecyclerView.class);
|
||||
fansFragment.loadingView = (LoadingView) Utils.b(view, R.id.loadingView, "field 'loadingView'", LoadingView.class);
|
||||
}
|
||||
|
||||
@Override // butterknife.Unbinder
|
||||
public void unbind() {
|
||||
FansFragment fansFragment = this.b;
|
||||
if (fansFragment == null) {
|
||||
throw new IllegalStateException("Bindings already cleared.");
|
||||
}
|
||||
this.b = null;
|
||||
fansFragment.fansRecyclerView = null;
|
||||
fansFragment.loadingView = null;
|
||||
}
|
||||
}
|
209
sources/com/ubt/jimu/user/view/fragment/InterestFragment.java
Normal file
209
sources/com/ubt/jimu/user/view/fragment/InterestFragment.java
Normal file
@@ -0,0 +1,209 @@
|
||||
package com.ubt.jimu.user.view.fragment;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||
import butterknife.ButterKnife;
|
||||
import com.recyclelib.URecyclerView;
|
||||
import com.ubt.jimu.R;
|
||||
import com.ubt.jimu.base.cache.Cache;
|
||||
import com.ubt.jimu.base.entities.FollowEntities;
|
||||
import com.ubt.jimu.base.entities.Interest;
|
||||
import com.ubt.jimu.base.http.ApiObserver;
|
||||
import com.ubt.jimu.base.http.manager.CommunityManager;
|
||||
import com.ubt.jimu.user.contract.InterestContract$Presenter;
|
||||
import com.ubt.jimu.user.contract.InterestContract$View;
|
||||
import com.ubt.jimu.user.view.LoginActivity;
|
||||
import com.ubt.jimu.user.view.UserCenterActivity;
|
||||
import com.ubt.jimu.user.view.adapter.InterestAdapter;
|
||||
import com.ubt.jimu.utils.NetWorkUtil;
|
||||
import com.ubt.jimu.widgets.LoadingView;
|
||||
import com.ubtech.view.fragment.BaseFragment;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public class InterestFragment extends BaseFragment implements InterestContract$View {
|
||||
private InterestAdapter b;
|
||||
private InterestContract$Presenter c;
|
||||
private long d;
|
||||
URecyclerView interestRecycleView;
|
||||
LoadingView loadingView;
|
||||
private List<Interest> a = new ArrayList();
|
||||
private Handler e = new Handler();
|
||||
|
||||
private void initView() {
|
||||
if (getArguments() != null) {
|
||||
this.d = getArguments().getLong("view_user_id");
|
||||
}
|
||||
this.b = new InterestAdapter(this.mActivity, this.a);
|
||||
this.b.a(new InterestAdapter.Callback() { // from class: com.ubt.jimu.user.view.fragment.InterestFragment.1
|
||||
@Override // com.ubt.jimu.user.view.adapter.InterestAdapter.Callback
|
||||
public void a(int i) {
|
||||
UserCenterActivity.a(((BaseFragment) InterestFragment.this).mActivity, ((Interest) InterestFragment.this.a.get(i)).getUserId());
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.view.adapter.InterestAdapter.Callback
|
||||
public void b(int i) {
|
||||
if (Cache.getInstance().getLoginUserIntId() == 0) {
|
||||
LoginActivity.start(((BaseFragment) InterestFragment.this).mActivity);
|
||||
} else {
|
||||
CommunityManager.create().subscriptionAdd(((Interest) InterestFragment.this.a.get(i)).getUserId(), new ApiObserver<FollowEntities>(null) { // from class: com.ubt.jimu.user.view.fragment.InterestFragment.1.1
|
||||
@Override // com.ubt.jimu.base.http.ApiObserver, io.reactivex.Observer
|
||||
/* renamed from: a, reason: merged with bridge method [inline-methods] */
|
||||
public void onNext(FollowEntities followEntities) {
|
||||
super.onNext(followEntities);
|
||||
InterestFragment.this.c.b(InterestFragment.this.m(), InterestFragment.this.d());
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
this.interestRecycleView.setAdapter(this.b);
|
||||
this.interestRecycleView.setLayoutManager(new LinearLayoutManager(this.mActivity, 1, false));
|
||||
this.interestRecycleView.setLoadingMoreEnabled(false);
|
||||
this.interestRecycleView.setLoadingListener(new URecyclerView.LoadingListener() { // from class: com.ubt.jimu.user.view.fragment.InterestFragment.2
|
||||
@Override // com.recyclelib.URecyclerView.LoadingListener
|
||||
public void onLoadingMore() {
|
||||
}
|
||||
|
||||
@Override // com.recyclelib.URecyclerView.LoadingListener
|
||||
public void onRefreshing() {
|
||||
InterestFragment.this.loadingView.setIsRefresh(true);
|
||||
InterestFragment.this.c.b(InterestFragment.this.m(), InterestFragment.this.d());
|
||||
}
|
||||
});
|
||||
this.loadingView.setOnRetryListener(new LoadingView.RetryRequest() { // from class: com.ubt.jimu.user.view.fragment.InterestFragment.3
|
||||
@Override // com.ubt.jimu.widgets.LoadingView.RetryRequest
|
||||
public void OnRetryListener() {
|
||||
InterestFragment.this.loadingView.c();
|
||||
InterestFragment.this.e.postDelayed(new Runnable() { // from class: com.ubt.jimu.user.view.fragment.InterestFragment.3.1
|
||||
@Override // java.lang.Runnable
|
||||
public void run() {
|
||||
InterestFragment.this.c.subscribe();
|
||||
}
|
||||
}, 500L);
|
||||
}
|
||||
});
|
||||
this.loadingView.setBackgroundViewColor(getResources().getColor(R.color.bg_F9F9F9));
|
||||
}
|
||||
|
||||
private boolean o() {
|
||||
return d() == m();
|
||||
}
|
||||
|
||||
private void q() {
|
||||
if (o()) {
|
||||
this.loadingView.a(R.string.tips_no_subscription, R.drawable.icon_favourate_empty);
|
||||
} else {
|
||||
this.loadingView.a(R.string.others_no_subscription, R.drawable.icon_favourate_empty);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.InterestContract$View
|
||||
public int e() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.InterestContract$View
|
||||
public int f() {
|
||||
return 1000;
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.InterestContract$View
|
||||
public long m() {
|
||||
return Cache.getInstance().getLoginUserIntId();
|
||||
}
|
||||
|
||||
@Override // com.ubtech.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||||
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||||
View inflate = layoutInflater.inflate(R.layout.fragment_interest, (ViewGroup) null);
|
||||
ButterKnife.a(this, inflate);
|
||||
initView();
|
||||
return inflate;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onDestroy() {
|
||||
Handler handler = this.e;
|
||||
if (handler != null) {
|
||||
handler.removeCallbacksAndMessages(null);
|
||||
this.e = null;
|
||||
}
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.InterestContract$View
|
||||
public void onError() {
|
||||
if (NetWorkUtil.b(this.mActivity)) {
|
||||
this.loadingView.e();
|
||||
} else {
|
||||
this.loadingView.d();
|
||||
}
|
||||
this.interestRecycleView.A();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onPause() {
|
||||
this.c.unSubscribe();
|
||||
this.loadingView.b();
|
||||
super.onPause();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
this.c.subscribe();
|
||||
}
|
||||
|
||||
public static InterestFragment a(long j) {
|
||||
InterestFragment interestFragment = new InterestFragment();
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putLong("view_user_id", j);
|
||||
interestFragment.setArguments(bundle);
|
||||
return interestFragment;
|
||||
}
|
||||
|
||||
public /* synthetic */ void b() {
|
||||
this.loadingView.g();
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.InterestContract$View
|
||||
public long d() {
|
||||
return this.d;
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.InterestContract$View
|
||||
public void b(List<Interest> list) {
|
||||
this.interestRecycleView.A();
|
||||
if (list != null && list.size() != 0) {
|
||||
this.loadingView.b();
|
||||
Log.i("InterestFragment", list.toString());
|
||||
this.a.clear();
|
||||
this.a.addAll(list);
|
||||
this.b.notifyDataSetChanged();
|
||||
return;
|
||||
}
|
||||
q();
|
||||
}
|
||||
|
||||
@Override // com.ubtech.view.BaseView
|
||||
/* renamed from: a, reason: merged with bridge method [inline-methods] */
|
||||
public void setPresenter(InterestContract$Presenter interestContract$Presenter) {
|
||||
this.c = interestContract$Presenter;
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.InterestContract$View
|
||||
public void a() {
|
||||
this.loadingView.post(new Runnable() { // from class: com.ubt.jimu.user.view.fragment.a
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
InterestFragment.this.b();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
@@ -0,0 +1,30 @@
|
||||
package com.ubt.jimu.user.view.fragment;
|
||||
|
||||
import android.view.View;
|
||||
import butterknife.Unbinder;
|
||||
import butterknife.internal.Utils;
|
||||
import com.recyclelib.URecyclerView;
|
||||
import com.ubt.jimu.R;
|
||||
import com.ubt.jimu.widgets.LoadingView;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public class InterestFragment_ViewBinding implements Unbinder {
|
||||
private InterestFragment b;
|
||||
|
||||
public InterestFragment_ViewBinding(InterestFragment interestFragment, View view) {
|
||||
this.b = interestFragment;
|
||||
interestFragment.interestRecycleView = (URecyclerView) Utils.b(view, R.id.interestRecyclerView, "field 'interestRecycleView'", URecyclerView.class);
|
||||
interestFragment.loadingView = (LoadingView) Utils.b(view, R.id.loadingView, "field 'loadingView'", LoadingView.class);
|
||||
}
|
||||
|
||||
@Override // butterknife.Unbinder
|
||||
public void unbind() {
|
||||
InterestFragment interestFragment = this.b;
|
||||
if (interestFragment == null) {
|
||||
throw new IllegalStateException("Bindings already cleared.");
|
||||
}
|
||||
this.b = null;
|
||||
interestFragment.interestRecycleView = null;
|
||||
interestFragment.loadingView = null;
|
||||
}
|
||||
}
|
@@ -0,0 +1,76 @@
|
||||
package com.ubt.jimu.user.view.fragment;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.recyclerview.widget.GridLayoutManager;
|
||||
import butterknife.ButterKnife;
|
||||
import com.recyclelib.URecyclerView;
|
||||
import com.ubt.jimu.R;
|
||||
import com.ubt.jimu.base.entities.ArticleBean;
|
||||
import com.ubt.jimu.base.entities.MyPostListEntities;
|
||||
import com.ubt.jimu.user.contract.PostContract$Presenter;
|
||||
import com.ubt.jimu.user.contract.PostContract$View;
|
||||
import com.ubt.jimu.user.view.adapter.PostAdapter;
|
||||
import com.ubtech.view.fragment.BaseFragment;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public class PostListFragment extends BaseFragment implements PostContract$View {
|
||||
private PostContract$Presenter a;
|
||||
private List<ArticleBean.Article> b = new ArrayList();
|
||||
private PostAdapter c;
|
||||
URecyclerView postRecyclerView;
|
||||
|
||||
public static PostListFragment b() {
|
||||
return new PostListFragment();
|
||||
}
|
||||
|
||||
private void initView() {
|
||||
this.postRecyclerView.setLayoutManager(new GridLayoutManager((Context) this.mActivity, 4, 1, false));
|
||||
this.c = new PostAdapter(this.mActivity, this.b);
|
||||
this.postRecyclerView.setAdapter(this.c);
|
||||
}
|
||||
|
||||
@Override // com.ubtech.view.BaseView
|
||||
/* renamed from: a, reason: merged with bridge method [inline-methods] */
|
||||
public void setPresenter(PostContract$Presenter postContract$Presenter) {
|
||||
this.a = postContract$Presenter;
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.PostContract$View
|
||||
public long m() {
|
||||
return 10L;
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.PostContract$View
|
||||
public void n(List<MyPostListEntities.RecordsBean> list) {
|
||||
}
|
||||
|
||||
@Override // com.ubtech.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||||
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||||
View inflate = layoutInflater.inflate(R.layout.recycler_view, (ViewGroup) null);
|
||||
ButterKnife.a(this, inflate);
|
||||
initView();
|
||||
return inflate;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
this.a.unSubscribe();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
this.a.subscribe();
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.PostContract$View
|
||||
public void onSuccess() {
|
||||
}
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
package com.ubt.jimu.user.view.fragment;
|
||||
|
||||
import android.view.View;
|
||||
import butterknife.Unbinder;
|
||||
import butterknife.internal.Utils;
|
||||
import com.recyclelib.URecyclerView;
|
||||
import com.ubt.jimu.R;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public class PostListFragment_ViewBinding implements Unbinder {
|
||||
private PostListFragment b;
|
||||
|
||||
public PostListFragment_ViewBinding(PostListFragment postListFragment, View view) {
|
||||
this.b = postListFragment;
|
||||
postListFragment.postRecyclerView = (URecyclerView) Utils.b(view, R.id.recyclerView, "field 'postRecyclerView'", URecyclerView.class);
|
||||
}
|
||||
|
||||
@Override // butterknife.Unbinder
|
||||
public void unbind() {
|
||||
PostListFragment postListFragment = this.b;
|
||||
if (postListFragment == null) {
|
||||
throw new IllegalStateException("Bindings already cleared.");
|
||||
}
|
||||
this.b = null;
|
||||
postListFragment.postRecyclerView = null;
|
||||
}
|
||||
}
|
195
sources/com/ubt/jimu/user/view/fragment/PraiseFragment.java
Normal file
195
sources/com/ubt/jimu/user/view/fragment/PraiseFragment.java
Normal file
@@ -0,0 +1,195 @@
|
||||
package com.ubt.jimu.user.view.fragment;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||
import butterknife.ButterKnife;
|
||||
import com.recyclelib.URecyclerView;
|
||||
import com.ubt.jimu.R;
|
||||
import com.ubt.jimu.base.cache.Cache;
|
||||
import com.ubt.jimu.base.entities.FollowEntities;
|
||||
import com.ubt.jimu.base.entities.PraiseBean;
|
||||
import com.ubt.jimu.community.view.PublishDetailActivity;
|
||||
import com.ubt.jimu.user.contract.PraiseContract$Presenter;
|
||||
import com.ubt.jimu.user.contract.PraiseContract$View;
|
||||
import com.ubt.jimu.user.view.adapter.PraiseAdapter;
|
||||
import com.ubt.jimu.utils.NetWorkUtil;
|
||||
import com.ubt.jimu.widgets.LoadingView;
|
||||
import com.ubtech.view.fragment.BaseFragment;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public class PraiseFragment extends BaseFragment implements PraiseContract$View {
|
||||
private long a;
|
||||
private PraiseContract$Presenter b;
|
||||
private PraiseAdapter d;
|
||||
LoadingView loadingView;
|
||||
URecyclerView praiseRecycleView;
|
||||
private List<PraiseBean.Praise> c = new ArrayList();
|
||||
private Handler e = new Handler();
|
||||
|
||||
private void initView() {
|
||||
if (getArguments() != null) {
|
||||
this.a = getArguments().getLong("view_user_id");
|
||||
}
|
||||
this.d = new PraiseAdapter(this.mActivity, Cache.getInstance().getLoginUserIntId() == this.a, this.c);
|
||||
this.d.a(new PraiseAdapter.Callback() { // from class: com.ubt.jimu.user.view.fragment.PraiseFragment.1
|
||||
@Override // com.ubt.jimu.user.view.adapter.PraiseAdapter.Callback
|
||||
public void a(int i) {
|
||||
PraiseFragment.this.b.addPraise(((PraiseBean.Praise) PraiseFragment.this.c.get(i)).getId());
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.view.adapter.PraiseAdapter.Callback
|
||||
public void b(int i) {
|
||||
PublishDetailActivity.start(PraiseFragment.this.getContext(), ((PraiseBean.Praise) PraiseFragment.this.c.get(i)).getId());
|
||||
}
|
||||
});
|
||||
this.praiseRecycleView.setAdapter(this.d);
|
||||
this.praiseRecycleView.setLayoutManager(new LinearLayoutManager(this.mActivity, 1, false));
|
||||
this.praiseRecycleView.setLoadingMoreEnabled(false);
|
||||
this.praiseRecycleView.setLoadingListener(new URecyclerView.LoadingListener() { // from class: com.ubt.jimu.user.view.fragment.PraiseFragment.2
|
||||
@Override // com.recyclelib.URecyclerView.LoadingListener
|
||||
public void onLoadingMore() {
|
||||
}
|
||||
|
||||
@Override // com.recyclelib.URecyclerView.LoadingListener
|
||||
public void onRefreshing() {
|
||||
PraiseFragment.this.loadingView.setIsRefresh(true);
|
||||
PraiseFragment.this.b.subscribe();
|
||||
}
|
||||
});
|
||||
this.loadingView.setOnRetryListener(new LoadingView.RetryRequest() { // from class: com.ubt.jimu.user.view.fragment.PraiseFragment.3
|
||||
@Override // com.ubt.jimu.widgets.LoadingView.RetryRequest
|
||||
public void OnRetryListener() {
|
||||
PraiseFragment.this.loadingView.c();
|
||||
PraiseFragment.this.e.postDelayed(new Runnable() { // from class: com.ubt.jimu.user.view.fragment.PraiseFragment.3.1
|
||||
@Override // java.lang.Runnable
|
||||
public void run() {
|
||||
PraiseFragment.this.b.subscribe();
|
||||
}
|
||||
}, 1500L);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void o() {
|
||||
if (b()) {
|
||||
this.loadingView.a(R.string.tips_no_praise, R.drawable.icon_favourate_empty);
|
||||
} else {
|
||||
this.loadingView.a(R.string.others_no_praise, R.drawable.icon_favourate_empty);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.PraiseContract$View
|
||||
public long d() {
|
||||
return this.a;
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.PraiseContract$View
|
||||
public int e() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
public long m() {
|
||||
return Cache.getInstance().getLoginUserIntId();
|
||||
}
|
||||
|
||||
@Override // com.ubtech.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||||
public void onCreate(Bundle bundle) {
|
||||
super.onCreate(bundle);
|
||||
}
|
||||
|
||||
@Override // com.ubtech.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||||
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||||
View inflate = layoutInflater.inflate(R.layout.recycler_view, (ViewGroup) null);
|
||||
ButterKnife.a(this, inflate);
|
||||
initView();
|
||||
return inflate;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onDestroy() {
|
||||
Handler handler = this.e;
|
||||
if (handler != null) {
|
||||
handler.removeCallbacksAndMessages(null);
|
||||
}
|
||||
this.b.unSubscribe();
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onDestroyView() {
|
||||
super.onDestroyView();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
this.b.subscribe();
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.PraiseContract$View
|
||||
public void q(List<PraiseBean.Praise> list) {
|
||||
this.praiseRecycleView.A();
|
||||
if (list == null || list.size() == 0) {
|
||||
o();
|
||||
return;
|
||||
}
|
||||
this.loadingView.b();
|
||||
Log.i("PraiseFragment", list.toString());
|
||||
this.c.clear();
|
||||
this.c.addAll(list);
|
||||
this.d.notifyDataSetChanged();
|
||||
}
|
||||
|
||||
public static PraiseFragment a(long j) {
|
||||
PraiseFragment praiseFragment = new PraiseFragment();
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putLong("view_user_id", j);
|
||||
praiseFragment.setArguments(bundle);
|
||||
return praiseFragment;
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.PraiseContract$View
|
||||
public void b(String str) {
|
||||
if (NetWorkUtil.b(this.mActivity)) {
|
||||
this.loadingView.e();
|
||||
} else {
|
||||
this.loadingView.d();
|
||||
}
|
||||
this.praiseRecycleView.A();
|
||||
}
|
||||
|
||||
private boolean b() {
|
||||
return d() == m();
|
||||
}
|
||||
|
||||
@Override // com.ubtech.view.BaseView
|
||||
/* renamed from: a, reason: merged with bridge method [inline-methods] */
|
||||
public void setPresenter(PraiseContract$Presenter praiseContract$Presenter) {
|
||||
this.b = praiseContract$Presenter;
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.PraiseContract$View
|
||||
public void a() {
|
||||
this.loadingView.g();
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.PraiseContract$View
|
||||
public void a(FollowEntities followEntities) {
|
||||
if (followEntities.isStatus()) {
|
||||
this.loadingView.setIsRefresh(true);
|
||||
this.b.subscribe();
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,30 @@
|
||||
package com.ubt.jimu.user.view.fragment;
|
||||
|
||||
import android.view.View;
|
||||
import butterknife.Unbinder;
|
||||
import butterknife.internal.Utils;
|
||||
import com.recyclelib.URecyclerView;
|
||||
import com.ubt.jimu.R;
|
||||
import com.ubt.jimu.widgets.LoadingView;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public class PraiseFragment_ViewBinding implements Unbinder {
|
||||
private PraiseFragment b;
|
||||
|
||||
public PraiseFragment_ViewBinding(PraiseFragment praiseFragment, View view) {
|
||||
this.b = praiseFragment;
|
||||
praiseFragment.praiseRecycleView = (URecyclerView) Utils.b(view, R.id.recyclerView, "field 'praiseRecycleView'", URecyclerView.class);
|
||||
praiseFragment.loadingView = (LoadingView) Utils.b(view, R.id.loadingView, "field 'loadingView'", LoadingView.class);
|
||||
}
|
||||
|
||||
@Override // butterknife.Unbinder
|
||||
public void unbind() {
|
||||
PraiseFragment praiseFragment = this.b;
|
||||
if (praiseFragment == null) {
|
||||
throw new IllegalStateException("Bindings already cleared.");
|
||||
}
|
||||
this.b = null;
|
||||
praiseFragment.praiseRecycleView = null;
|
||||
praiseFragment.loadingView = null;
|
||||
}
|
||||
}
|
@@ -0,0 +1,72 @@
|
||||
package com.ubt.jimu.user.view.fragment;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||
import butterknife.ButterKnife;
|
||||
import com.daimajia.swipe.util.Attributes$Mode;
|
||||
import com.recyclelib.URecyclerView;
|
||||
import com.ubt.jimu.R;
|
||||
import com.ubt.jimu.base.entities.QuestionBean;
|
||||
import com.ubt.jimu.user.contract.QuestionContract$Presenter;
|
||||
import com.ubt.jimu.user.contract.QuestionContract$View;
|
||||
import com.ubt.jimu.user.view.adapter.QuestionAdapter;
|
||||
import com.ubtech.view.fragment.BaseFragment;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public class QuestionListFragment extends BaseFragment implements QuestionContract$View {
|
||||
private QuestionAdapter b;
|
||||
private QuestionContract$Presenter d;
|
||||
URecyclerView questionRecyclerView;
|
||||
private List<QuestionBean.Question> a = new ArrayList();
|
||||
private int c = 1;
|
||||
|
||||
private void initView() {
|
||||
this.b = new QuestionAdapter(this.mActivity, this.a);
|
||||
this.b.a(Attributes$Mode.Single);
|
||||
this.questionRecyclerView.setAdapter(this.b);
|
||||
this.questionRecyclerView.setLayoutManager(new LinearLayoutManager(this.mActivity, 1, false));
|
||||
this.questionRecyclerView.setLoadingListener(new URecyclerView.LoadingListener() { // from class: com.ubt.jimu.user.view.fragment.QuestionListFragment.1
|
||||
@Override // com.recyclelib.URecyclerView.LoadingListener
|
||||
public void onLoadingMore() {
|
||||
}
|
||||
|
||||
@Override // com.recyclelib.URecyclerView.LoadingListener
|
||||
public void onRefreshing() {
|
||||
QuestionListFragment.this.d.a("", QuestionListFragment.this.m(), QuestionListFragment.this.e());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public int e() {
|
||||
return this.c;
|
||||
}
|
||||
|
||||
public long m() {
|
||||
return 10L;
|
||||
}
|
||||
|
||||
@Override // com.ubtech.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||||
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||||
View inflate = layoutInflater.inflate(R.layout.recycler_view, (ViewGroup) null);
|
||||
ButterKnife.a(this, inflate);
|
||||
initView();
|
||||
return inflate;
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
this.d.unSubscribe();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
this.d.subscribe();
|
||||
}
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
package com.ubt.jimu.user.view.fragment;
|
||||
|
||||
import android.view.View;
|
||||
import butterknife.Unbinder;
|
||||
import butterknife.internal.Utils;
|
||||
import com.recyclelib.URecyclerView;
|
||||
import com.ubt.jimu.R;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public class QuestionListFragment_ViewBinding implements Unbinder {
|
||||
private QuestionListFragment b;
|
||||
|
||||
public QuestionListFragment_ViewBinding(QuestionListFragment questionListFragment, View view) {
|
||||
this.b = questionListFragment;
|
||||
questionListFragment.questionRecyclerView = (URecyclerView) Utils.b(view, R.id.recyclerView, "field 'questionRecyclerView'", URecyclerView.class);
|
||||
}
|
||||
|
||||
@Override // butterknife.Unbinder
|
||||
public void unbind() {
|
||||
QuestionListFragment questionListFragment = this.b;
|
||||
if (questionListFragment == null) {
|
||||
throw new IllegalStateException("Bindings already cleared.");
|
||||
}
|
||||
this.b = null;
|
||||
questionListFragment.questionRecyclerView = null;
|
||||
}
|
||||
}
|
138
sources/com/ubt/jimu/user/view/fragment/RankFragment.java
Normal file
138
sources/com/ubt/jimu/user/view/fragment/RankFragment.java
Normal file
@@ -0,0 +1,138 @@
|
||||
package com.ubt.jimu.user.view.fragment;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||
import butterknife.ButterKnife;
|
||||
import com.recyclelib.URecyclerView;
|
||||
import com.ubt.jimu.R;
|
||||
import com.ubt.jimu.base.cache.Cache;
|
||||
import com.ubt.jimu.base.entities.FollowEntities;
|
||||
import com.ubt.jimu.base.entities.Rank;
|
||||
import com.ubt.jimu.base.http.ApiObserver;
|
||||
import com.ubt.jimu.base.http.manager.CommunityManager;
|
||||
import com.ubt.jimu.user.contract.RankContract$Presenter;
|
||||
import com.ubt.jimu.user.contract.RankContract$View;
|
||||
import com.ubt.jimu.user.view.UserCenterActivity;
|
||||
import com.ubt.jimu.user.view.adapter.RankAdapter;
|
||||
import com.ubtech.view.fragment.BaseFragment;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public class RankFragment extends BaseFragment implements RankContract$View {
|
||||
public static final String e = RankFragment.class.getSimpleName();
|
||||
private RankContract$Presenter a;
|
||||
private List<Rank> b = new ArrayList();
|
||||
private RankAdapter c;
|
||||
private long d;
|
||||
URecyclerView rankRecyclerView;
|
||||
|
||||
private void initView() {
|
||||
this.c = new RankAdapter(this.mActivity, this.b);
|
||||
this.c.a(new RankAdapter.Callback() { // from class: com.ubt.jimu.user.view.fragment.RankFragment.1
|
||||
@Override // com.ubt.jimu.user.view.adapter.RankAdapter.Callback
|
||||
public void a(long j) {
|
||||
UserCenterActivity.a(((BaseFragment) RankFragment.this).mActivity, j);
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.view.adapter.RankAdapter.Callback
|
||||
public void a(Rank rank, int i) {
|
||||
CommunityManager.create().subscriptionAdd((int) rank.getUserId(), new ApiObserver<FollowEntities>(null) { // from class: com.ubt.jimu.user.view.fragment.RankFragment.1.1
|
||||
@Override // com.ubt.jimu.base.http.ApiObserver, io.reactivex.Observer
|
||||
/* renamed from: a, reason: merged with bridge method [inline-methods] */
|
||||
public void onNext(FollowEntities followEntities) {
|
||||
super.onNext(followEntities);
|
||||
RankFragment.this.a.subscribe();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
this.rankRecyclerView.setAdapter(this.c);
|
||||
this.rankRecyclerView.setLayoutManager(new LinearLayoutManager(this.mActivity, 1, false));
|
||||
this.rankRecyclerView.setLoadingMoreEnabled(false);
|
||||
this.rankRecyclerView.setLoadingListener(new URecyclerView.LoadingListener() { // from class: com.ubt.jimu.user.view.fragment.RankFragment.2
|
||||
@Override // com.recyclelib.URecyclerView.LoadingListener
|
||||
public void onLoadingMore() {
|
||||
}
|
||||
|
||||
@Override // com.recyclelib.URecyclerView.LoadingListener
|
||||
public void onRefreshing() {
|
||||
RankFragment.this.a.c(RankFragment.this.m());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.RankContract$View
|
||||
public void a() {
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.RankContract$View
|
||||
public long d() {
|
||||
return this.d;
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.RankContract$View
|
||||
public void l(List<Rank> list) {
|
||||
if (list == null || list.size() == 0) {
|
||||
return;
|
||||
}
|
||||
Log.i(e, list.toString());
|
||||
this.b.clear();
|
||||
this.b.addAll(list);
|
||||
this.c.notifyDataSetChanged();
|
||||
}
|
||||
|
||||
public long m() {
|
||||
return Cache.getInstance().getLoginUserIntId();
|
||||
}
|
||||
|
||||
@Override // com.ubtech.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||||
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||||
View inflate = layoutInflater.inflate(R.layout.fragment_rank, (ViewGroup) null);
|
||||
ButterKnife.a(this, inflate);
|
||||
initView();
|
||||
if (getArguments() != null) {
|
||||
this.d = getArguments().getLong("view_user_id");
|
||||
}
|
||||
return inflate;
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.RankContract$View
|
||||
public void onError() {
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
this.a.unSubscribe();
|
||||
}
|
||||
|
||||
@Override // androidx.fragment.app.Fragment
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
this.a.subscribe();
|
||||
}
|
||||
|
||||
@Override // com.ubt.jimu.user.contract.RankContract$View
|
||||
public void onSuccess() {
|
||||
this.rankRecyclerView.A();
|
||||
}
|
||||
|
||||
public static RankFragment a(long j) {
|
||||
RankFragment rankFragment = new RankFragment();
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putLong("view_user_id", j);
|
||||
rankFragment.setArguments(bundle);
|
||||
return rankFragment;
|
||||
}
|
||||
|
||||
@Override // com.ubtech.view.BaseView
|
||||
/* renamed from: a, reason: merged with bridge method [inline-methods] */
|
||||
public void setPresenter(RankContract$Presenter rankContract$Presenter) {
|
||||
this.a = rankContract$Presenter;
|
||||
}
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
package com.ubt.jimu.user.view.fragment;
|
||||
|
||||
import android.view.View;
|
||||
import butterknife.Unbinder;
|
||||
import butterknife.internal.Utils;
|
||||
import com.recyclelib.URecyclerView;
|
||||
import com.ubt.jimu.R;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public class RankFragment_ViewBinding implements Unbinder {
|
||||
private RankFragment b;
|
||||
|
||||
public RankFragment_ViewBinding(RankFragment rankFragment, View view) {
|
||||
this.b = rankFragment;
|
||||
rankFragment.rankRecyclerView = (URecyclerView) Utils.b(view, R.id.recyclerView, "field 'rankRecyclerView'", URecyclerView.class);
|
||||
}
|
||||
|
||||
@Override // butterknife.Unbinder
|
||||
public void unbind() {
|
||||
RankFragment rankFragment = this.b;
|
||||
if (rankFragment == null) {
|
||||
throw new IllegalStateException("Bindings already cleared.");
|
||||
}
|
||||
this.b = null;
|
||||
rankFragment.rankRecyclerView = null;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user