You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/*设置数据集合/
public void setDatas(List datas){
this.mDatas = datas;
if (DisplayUtils.notEmpty(mDatas)){
mViewFlipper.removeAllViews();
for (int i = 0; i < mDatas.size(); i++) {
TextView textView = new TextView(getContext());
setTextView(textView,i);
/*设置数据集合/
public void setDatas(List datas){
this.mDatas = datas;
if (DisplayUtils.notEmpty(mDatas)){
mViewFlipper.removeAllViews();
for (int i = 0; i < mDatas.size(); i++) {
TextView textView = new TextView(getContext());
setTextView(textView,i);
这个逻辑是错误的,如果开始有数据,重新设置一个无数据的,这个就没有办法刷新,可能开始就没有考虑过这种情况吧
Originally posted by @Trammels in #4 (comment)
The text was updated successfully, but these errors were encountered: