0

助けてください!

私のアプリケーションでは、Android-UiTableView( thiagolocatelli / android-uitableview ) とAQuery( androidquery / androidquery )を使用しています

私の仕事は、json 配列からデータをロードし、URL から画像をロードすることです。私ができた写真なしでリストをロードする:

jgall = json.getJSONArray("gall");                  
int z = 0;
  for(int i = 0; i < jgall.length(); i++){
      JSONObject c = jgall.getJSONObject(i);
      tableView.addBasicItem(c.getString("name"), c.getString("place"));
  }

カスタマイズされたビューを表示しようとしましたが、何も起こりません

LayoutInflater mInflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);
RelativeLayout view      = (RelativeLayout) mInflater.inflate(R.layout.custom_view,null); 
String iurl              = c.getString("img");
aq.id(R.id.img).image(iurl, false, true);                       
ViewItem viewItem        = new ViewItem(view);
tableView.addViewItem(viewItem);

を使って作るのは本当だと教えてくださいAndroid-UiTableView? もしそうなら!どうやって?

4

1 に答える 1