贡献榜神秘人修改
This commit is contained in:
parent
93e25f58f5
commit
e2a151a5af
@ -288,7 +288,7 @@ public class MainListAdapter extends RefreshAdapter<ListBean> {
|
|||||||
public void onComplete(SVGAVideoEntity videoItem) {
|
public void onComplete(SVGAVideoEntity videoItem) {
|
||||||
SVGADrawable drawable = new SVGADrawable(videoItem);
|
SVGADrawable drawable = new SVGADrawable(videoItem);
|
||||||
svga1.setImageDrawable(drawable);
|
svga1.setImageDrawable(drawable);
|
||||||
SVGAViewUtils.playEndClear(svga1);
|
SVGAViewUtils.playEndClear(svga1,false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -311,10 +311,12 @@ public class MainListAdapter extends RefreshAdapter<ListBean> {
|
|||||||
mName1.setText(R.string.mystery_man);
|
mName1.setText(R.string.mystery_man);
|
||||||
ImgLoader.display(mContext, R.mipmap.hide, mAvatar1);
|
ImgLoader.display(mContext, R.mipmap.hide, mAvatar1);
|
||||||
mSex1.setVisibility(View.GONE);
|
mSex1.setVisibility(View.GONE);
|
||||||
|
svga1.setVisibility(View.GONE);
|
||||||
} else {
|
} else {
|
||||||
ImgLoader.display(mContext, bean.getAvatarThumb(), mAvatar1);
|
ImgLoader.display(mContext, bean.getAvatarThumb(), mAvatar1);
|
||||||
mName1.setText(bean.getUserNiceName());
|
mName1.setText(bean.getUserNiceName());
|
||||||
mSex1.setVisibility(View.VISIBLE);
|
mSex1.setVisibility(View.VISIBLE);
|
||||||
|
svga1.setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
mVotes1.setText(bean.getTotalCoinFormat());
|
mVotes1.setText(bean.getTotalCoinFormat());
|
||||||
@ -363,7 +365,7 @@ public class MainListAdapter extends RefreshAdapter<ListBean> {
|
|||||||
public void onComplete(SVGAVideoEntity videoItem) {
|
public void onComplete(SVGAVideoEntity videoItem) {
|
||||||
SVGADrawable drawable = new SVGADrawable(videoItem);
|
SVGADrawable drawable = new SVGADrawable(videoItem);
|
||||||
svga2.setImageDrawable(drawable);
|
svga2.setImageDrawable(drawable);
|
||||||
SVGAViewUtils.playEndClear(svga2);
|
SVGAViewUtils.playEndClear(svga2,false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -411,6 +413,7 @@ public class MainListAdapter extends RefreshAdapter<ListBean> {
|
|||||||
liveing2.setVisibility(View.INVISIBLE);
|
liveing2.setVisibility(View.INVISIBLE);
|
||||||
}
|
}
|
||||||
mBtnFollow2.setVisibility(bean.isHide() ? View.GONE : View.VISIBLE);
|
mBtnFollow2.setVisibility(bean.isHide() ? View.GONE : View.VISIBLE);
|
||||||
|
svga2.setVisibility(bean.isHide() ? View.GONE : View.VISIBLE);
|
||||||
if (bean.getAttention() == 1) {
|
if (bean.getAttention() == 1) {
|
||||||
mBtnFollow2.doChecked(true);
|
mBtnFollow2.doChecked(true);
|
||||||
mBtnFollow2.setText(mFollowing);
|
mBtnFollow2.setText(mFollowing);
|
||||||
@ -438,7 +441,7 @@ public class MainListAdapter extends RefreshAdapter<ListBean> {
|
|||||||
public void onComplete(SVGAVideoEntity videoItem) {
|
public void onComplete(SVGAVideoEntity videoItem) {
|
||||||
SVGADrawable drawable = new SVGADrawable(videoItem);
|
SVGADrawable drawable = new SVGADrawable(videoItem);
|
||||||
svga3.setImageDrawable(drawable);
|
svga3.setImageDrawable(drawable);
|
||||||
SVGAViewUtils.playEndClear(svga3);
|
SVGAViewUtils.playEndClear(svga3,false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -486,6 +489,7 @@ public class MainListAdapter extends RefreshAdapter<ListBean> {
|
|||||||
liveing3.setVisibility(View.INVISIBLE);
|
liveing3.setVisibility(View.INVISIBLE);
|
||||||
}
|
}
|
||||||
mBtnFollow3.setVisibility(bean.isHide() ? View.GONE : View.VISIBLE);
|
mBtnFollow3.setVisibility(bean.isHide() ? View.GONE : View.VISIBLE);
|
||||||
|
svga3.setVisibility(bean.isHide() ? View.GONE : View.VISIBLE);
|
||||||
if (bean.getAttention() == 1) {
|
if (bean.getAttention() == 1) {
|
||||||
mBtnFollow3.doChecked(true);
|
mBtnFollow3.doChecked(true);
|
||||||
mBtnFollow3.setText(mFollowing);
|
mBtnFollow3.setText(mFollowing);
|
||||||
@ -587,6 +591,7 @@ public class MainListAdapter extends RefreshAdapter<ListBean> {
|
|||||||
liveing.setVisibility(View.INVISIBLE);
|
liveing.setVisibility(View.INVISIBLE);
|
||||||
}
|
}
|
||||||
mBtnFollow.setVisibility(bean.isHide() ? View.GONE : View.VISIBLE);
|
mBtnFollow.setVisibility(bean.isHide() ? View.GONE : View.VISIBLE);
|
||||||
|
svga.setVisibility(bean.isHide() ? View.GONE : View.VISIBLE);
|
||||||
mBtnFollow.setTag(position);
|
mBtnFollow.setTag(position);
|
||||||
if (bean.getAttention() == 1) {
|
if (bean.getAttention() == 1) {
|
||||||
mBtnFollow.doChecked(true);
|
mBtnFollow.doChecked(true);
|
||||||
|
@ -42,13 +42,13 @@
|
|||||||
android:id="@+id/img_trophy"
|
android:id="@+id/img_trophy"
|
||||||
android:layout_width="40dp"
|
android:layout_width="40dp"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
android:layout_marginBottom="2dp"
|
|
||||||
android:layout_marginRight="5dp"
|
|
||||||
android:onClick="mainClick"
|
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:padding="6dp"
|
android:layout_alignParentBottom="true"
|
||||||
android:contentDescription="TODO" />
|
android:layout_marginRight="5dp"
|
||||||
|
android:layout_marginBottom="2dp"
|
||||||
|
android:contentDescription="TODO"
|
||||||
|
android:onClick="mainClick"
|
||||||
|
android:padding="6dp" />
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
Loading…
Reference in New Issue
Block a user