Пример #1
0
 @Override
 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
   // TODO Auto-generated method stub
   TeamActive active = mAdapter.getItem(position);
   if (active != null) {
     UIHelper.showTeamActiveDetail(getActivity(), mTeam.getId(), active);
   }
 }
Пример #2
0
 private void clickErrorLayout() {
   if (event_type == EventList.EVENT_LIST_TYPE_NEW_EVENT) {
     mErrorLayout.setErrorType(EmptyLayout.NETWORK_LOADING);
     requestData(true);
   } else {
     if (AppContext.getInstance().isLogin()) {
       mErrorLayout.setErrorType(EmptyLayout.NETWORK_LOADING);
       requestData(true);
     } else {
       UIHelper.showLoginActivity(getActivity());
     }
   }
 }
Пример #3
0
 @Override
 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
   Event event = mAdapter.getItem(position);
   if (event != null) UIHelper.showEventDetail(view.getContext(), event.getId());
 }