示例#1
0
 @Override
 public void onBindListener() {
   btnPublishJob.setOnClickListener(this);
   tvStoreFilter.setOnClickListener(this);
   tvJobFilter.setOnClickListener(this);
   mAdapter.setEvent(this);
 }
示例#2
0
 @Override
 public void handleMessage(Message msg) {
   super.handleMessage(msg);
   switch (msg.what) {
     case DELAY_AUTO_REFRESH:
       if (mRefreshDataRequired && !mPullRefreshListView.isRefreshing()) {
         mPullRefreshListView.demo();
         mPullRefreshListView.setRefreshing(false);
       } else if (mAdapter != null) {
         mAdapter.notifyDataSetChanged();
       }
       break;
   }
 }