@Override public void onReLoadCallback() { if (!FastOnClickUtils.isFastClick800()) { viewSelectorLayout.show_LoadingView(); getWeekBookData(); } }
private void Data() { viewSelectorLayout.show_LoadingView(); getWeekBookData(); refreshLayout.setMaterialRefreshListener( new MaterialRefreshListener() { @Override public void onRefresh(MaterialRefreshLayout materialRefreshLayout) { getWeekBookData(); } }); }
public void setContentView() { View v = getLayoutInflater().inflate(R.layout.activity_recommend, null); viewSelectorLayout = new ViewSelectorLayout(this, v); viewSelectorLayout.setReLoadCallbackListener(this); setContentView(viewSelectorLayout); }