|
|
|
@ -1122,8 +1122,11 @@ public class VideoActivity extends BaseActivity implements Clock.Callback, Custo |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void updateVod(Vod item) { |
|
|
|
private void updateVod(Vod item) { |
|
|
|
|
|
|
|
boolean id = !item.getId().isEmpty(); |
|
|
|
boolean pic = !item.getPic().isEmpty(); |
|
|
|
boolean pic = !item.getPic().isEmpty(); |
|
|
|
boolean name = !item.getName().isEmpty(); |
|
|
|
boolean name = !item.getName().isEmpty(); |
|
|
|
|
|
|
|
if (id) getIntent().putExtra("id", item.getId()); |
|
|
|
|
|
|
|
if (id) mHistory.setKey(getHistoryKey()); |
|
|
|
if (pic) mHistory.setVodPic(item.getPic()); |
|
|
|
if (pic) mHistory.setVodPic(item.getPic()); |
|
|
|
if (name) mHistory.setVodName(item.getName()); |
|
|
|
if (name) mHistory.setVodName(item.getName()); |
|
|
|
if (name) mBinding.name.setText(item.getName()); |
|
|
|
if (name) mBinding.name.setText(item.getName()); |
|
|
|
|