@Override public void onBindListener() { btnPublishJob.setOnClickListener(this); tvStoreFilter.setOnClickListener(this); tvJobFilter.setOnClickListener(this); mAdapter.setEvent(this); }
@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; } }