public void init() {
    if (listView == null) listView = (ListView) findViewById(R.id.collect_list);

    listView.setOnItemClickListener(this);

    adapter = new CollectListAdapter(true, null);
    listView.setAdapter(adapter);
    adapter.setData(User.getInstance().getCollectionList());
  }
 @Override
 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
   gotoDetail(adapter.getItem(position));
 }