社区增加数据的刷新
This commit is contained in:
parent
2c93a3b95a
commit
ba8778ae44
@ -34,7 +34,7 @@ public class MainHomeComViewHolder extends AbsMainHomeParentComViewHolder {
|
||||
private MainHomeFollComViewHolder mainHomeFollLiveViewHolder;
|
||||
private MainHomeNewViewHolder mainHomeLiveViewHolder;
|
||||
private MainHomeRecomComViewHolder mainHomeRecomComViewHolder;
|
||||
private MainHomeGameViewHolder mainHomeGameLiveViewHolder;
|
||||
|
||||
|
||||
private final String mPageName = "home_page";
|
||||
private TextView tvPlay;
|
||||
|
@ -63,6 +63,14 @@ public class MainHomeFollComViewHolder extends AbsMainHomeChildViewHolder implem
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onReStart() {
|
||||
super.onReStart();
|
||||
mRefreshView.initData();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
|
||||
|
@ -89,6 +89,12 @@ public class MainHomeNewViewHolder extends AbsMainHomeChildViewHolder implements
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onReStart() {
|
||||
super.onReStart();
|
||||
mRefreshView.initData();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
List<NewCommunityType> list = CommonAppConfig.getCommunityTypeList(true, mContext);
|
||||
|
@ -66,6 +66,12 @@ public class MainHomeRecomComViewHolder extends AbsMainHomeChildViewHolder imple
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onReStart() {
|
||||
super.onReStart();
|
||||
mRefreshView.initData();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init() {
|
||||
|
||||
|
@ -58,7 +58,7 @@
|
||||
android:textSize="14sp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/lt_btn_facebook"
|
||||
app:layout_constraintEnd_toEndOf="@+id/lt_btn_facebook"
|
||||
app:layout_constraintHorizontal_bias="0.4"
|
||||
app:layout_constraintHorizontal_bias="0.46"
|
||||
app:layout_constraintStart_toEndOf="@+id/imageView5"
|
||||
app:layout_constraintTop_toTopOf="@+id/lt_btn_facebook" />
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user