Skip to content

Commit

Permalink
Fix home page on interface showing abnormal bug details and user inte…
Browse files Browse the repository at this point in the history
…rface layout and coin video model class structure changes
  • Loading branch information
HotBitmapGG committed Nov 19, 2016
1 parent 55d4b86 commit 39b5c3e
Show file tree
Hide file tree
Showing 11 changed files with 212 additions and 668 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ android {
versionName props['versionName']


// 去掉jack编译,因为跟新25后编译不通过,所以暂时屏蔽掉
// 去掉jack编译,因为更新25后编译不通过,所以暂时屏蔽掉
// jackOptions {
// enabled true
// }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public ClickableViewHolder onCreateViewHolder(ViewGroup parent, int viewType)

bindContext(parent.getContext());
return new ItemViewHolder(LayoutInflater.from(getContext())
.inflate(R.layout.item_video_strip, parent, false));
.inflate(R.layout.item_user_coins_video, parent, false));
}

@Override
Expand All @@ -61,7 +61,6 @@ public void onBindViewHolder(ClickableViewHolder holder, int position)
.into(itemViewHolder.mVideoPic);

itemViewHolder.mVideoTitle.setText(listBean.getTitle());
itemViewHolder.mVideoUserInfo.setText(listBean.getOwner().getName());
itemViewHolder.mVideoPlayNum.setText(String.valueOf(listBean.getStat().getView()));
itemViewHolder.mVideoReviewNum.setText(String.valueOf(listBean.getStat().getDanmaku()));
}
Expand All @@ -82,8 +81,6 @@ public class ItemViewHolder extends ClickableViewHolder

TextView mVideoTitle;

TextView mVideoUserInfo;

TextView mVideoPlayNum;

TextView mVideoReviewNum;
Expand All @@ -95,7 +92,6 @@ public ItemViewHolder(View itemView)

mVideoPic = $(R.id.item_img);
mVideoTitle = $(R.id.item_title);
mVideoUserInfo = $(R.id.item_user_name);
mVideoPlayNum = $(R.id.item_play);
mVideoReviewNum = $(R.id.item_review);
}
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit 39b5c3e

Please sign in to comment.