|
@@ -42,12 +42,8 @@ public class HomeTeacherStyleAdapter extends BaseQuickAdapter<HomeStyleBean.Rows
|
|
|
|
|
|
if (item.liveing != null) {
|
|
|
helper.setVisible(R.id.liveing_text, true);
|
|
|
- helper.setGone(R.id.video_length, true);
|
|
|
} else {
|
|
|
- helper.setVisible(R.id.video_length, true);
|
|
|
-// helper.setGone(R.id.liveing_text, true);
|
|
|
-// long time = MediaUtils.extractDuration(getContext(), Build.VERSION.SDK_INT == Build.VERSION_CODES.Q, item.videoUrl);
|
|
|
-// helper.setText(R.id.liveing_text,String.valueOf(time));
|
|
|
+ helper.setVisible(R.id.liveing_text, false);
|
|
|
}
|
|
|
}
|
|
|
}
|