解决英语刷新报错问题 解决周星榜UI问题
This commit is contained in:
parent
dbc62fa439
commit
251a428f80
Binary file not shown.
@ -35,7 +35,7 @@ import kotlin.Unit;
|
||||
*/
|
||||
public class MainHomeLiveWeekItemViewHolder<T> extends RecyclerView.ViewHolder {
|
||||
private ImageView imgWeekHead;
|
||||
public SVGAImageView weekSvga;
|
||||
public SVGAImageView weekSvga;
|
||||
private ViewFlipper viewflipperBanner;
|
||||
private final int bannerNextShow = 1003;
|
||||
//Handler定时加载下一张的数据
|
||||
|
@ -60,6 +60,7 @@ import com.yunbao.common.utils.MobclickAgent;
|
||||
import com.yunbao.common.utils.RouteUtil;
|
||||
import com.yunbao.common.utils.StringUtil;
|
||||
import com.yunbao.common.utils.ToastUtil;
|
||||
import com.yunbao.common.utils.WordUtil;
|
||||
import com.yunbao.common.views.CustomViewHolder;
|
||||
import com.yunbao.live.utils.LiveStorge;
|
||||
import com.yunbao.live.views.LiveRoomViewHolder;
|
||||
@ -103,7 +104,7 @@ public class MainHomeViewHolder2 extends AbsMainHomeChildViewHolder implements O
|
||||
private List<BannerBean> mBannerList;
|
||||
private List<WeekListBean> mWeekListBean;
|
||||
public static ImageView btnUseIco;
|
||||
private int select = 0;
|
||||
private int select = WordUtil.isNewZh()?0:17;
|
||||
//是否是首頁
|
||||
private int intoIndex = 0;
|
||||
private List<LiveBean> new_data;
|
||||
@ -245,6 +246,7 @@ public class MainHomeViewHolder2 extends AbsMainHomeChildViewHolder implements O
|
||||
mRefreshView.getRefreshView().scrollToPosition(0);
|
||||
mAdapter.clearData();
|
||||
select = bean.getId();
|
||||
Log.i("MainHomeViewHolder2", bean.getChinese()+"::"+bean.getId());
|
||||
boolean flag = false;
|
||||
if (position == 0) {
|
||||
Log.i("MainHomeViewHolder2", "mLiveOptFollAgent:");
|
||||
|
@ -101,7 +101,6 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="10dp"
|
||||
|
||||
android:drawablePadding="4dp"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
@ -204,6 +203,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:constraint_referenced_ids="type,dr_pk_ico,pk_ico,pk_avatar"/>
|
||||
|
||||
<!-- 这里从下面开始布局 这里是周星榜的-->
|
||||
<ViewFlipper
|
||||
android:id="@+id/viewflipper_banner"
|
||||
@ -215,17 +215,16 @@
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:riv_corner_radius="10dp"
|
||||
android:layout_margin="3dp"
|
||||
android:flipInterval="1000"
|
||||
android:inAnimation="@anim/vice_screen_come_in"
|
||||
android:outAnimation="@anim/vice_screen_come_out"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
<com.makeramen.roundedimageview.RoundedImageView
|
||||
android:id="@+id/img_week_head"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_margin="3dp"
|
||||
app:riv_corner_radius="10dp"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
@ -236,7 +235,7 @@
|
||||
android:id="@+id/week_svga"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:scaleType="fitXY"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
|
@ -4,7 +4,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<ImageView
|
||||
<com.makeramen.roundedimageview.RoundedImageView
|
||||
android:id="@+id/week_live"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
@ -12,6 +12,7 @@
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintDimensionRatio="0.809"
|
||||
android:layout_width="0dp"
|
||||
app:riv_corner_radius="10dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:layout_height="0dp" />
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user