Skip to content

Commit

Permalink
force to new list view item
Browse files Browse the repository at this point in the history
  • Loading branch information
wangguoquan committed Mar 21, 2016
1 parent 4662f64 commit c8ab85d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/com/clear/vodmobile/view/FragmentFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ public class FragmentFactory {

private static final String TAG = "FragmentFactory";

/* TODO, FIXME, keep the fragment with same type & menuJson */

public static Fragment getInstanceByType(JSONObject menuJson) {
Fragment fragment = null;
String type;
Expand Down
4 changes: 2 additions & 2 deletions src/com/clear/vodmobile/view/SimplePicTextListAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ public View getView(int pos, View convertView, ViewGroup parent) {
// TODO Auto-generated method stub
Log.d(TAG, "SimplePicText get view: " + pos + " arg1: " + convertView);

if(convertView == null) {
//if(convertView == null) {
convertView = listContainer.inflate(R.layout.simple_pic_text_item, null);
}
//}

ImageUtil.displayImage(listItems.get(pos).PicURL,
(ImageView)convertView.findViewById(R.id.simple_pictext_pic));
Expand Down

0 comments on commit c8ab85d

Please sign in to comment.