@Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { // TODO Auto-generated method stub GlobalRes.getInstance() .getBeans() .setCurrentFriendNo(((ClassMemberData) adapter.getItem(position - 1)).getUserNo()); GlobalRes.getInstance() .getBeans() .setCurrentFriendName(((ClassMemberData) adapter.getItem(position - 1)).getName()); AtySecretDetails.startAty(getActivity()); }
private void addDatas(List<ClassMemberData> datas) { adapter.getDatas().addAll(datas); adapter.notifyDataSetChanged(); refreshListView.onRefreshComplete2(); }
private void refreshDatas(List<ClassMemberData> datas) { adapter.getDatas().clear(); addDatas(datas); }