예제 #1
0
 @Override
 public void onReLoadCallback() {
   if (!FastOnClickUtils.isFastClick800()) {
     viewSelectorLayout.show_LoadingView();
     getWeekBookData();
   }
 }
예제 #2
0
  private void Data() {
    viewSelectorLayout.show_LoadingView();
    getWeekBookData();

    refreshLayout.setMaterialRefreshListener(
        new MaterialRefreshListener() {
          @Override
          public void onRefresh(MaterialRefreshLayout materialRefreshLayout) {
            getWeekBookData();
          }
        });
  }
예제 #3
0
 public void setContentView() {
   View v = getLayoutInflater().inflate(R.layout.activity_recommend, null);
   viewSelectorLayout = new ViewSelectorLayout(this, v);
   viewSelectorLayout.setReLoadCallbackListener(this);
   setContentView(viewSelectorLayout);
 }