test_class.declarator: travelNotesPresenter
test_class.original_string: TravelNotesPresenter travelNotesPresenter;
test_class.type: TravelNotesPresenter
test_class.var_name: travelNotesPresenter
test_class.file: app/src/test/java/gear/yc/com/gearapplication/ui/mvp/travelnotes/TravelNotesPresenterTest.java
test_class.identifier: TravelNotesPresenterTest
test_class.interfaces: implements TravelNotesContract.View
test_case.body: @Test
      public void loadData() throws Exception {
          travelNotesPresenter.loadData("",0);
      }
test_case.class_method_signature: TravelNotesPresenterTest.loadData()
test_case.full_signature: @Test public void loadData()
test_case.identifier: loadData
test_case.invocations: loadData
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void loadData()
focal_class.declarator: INIT_KEY="全国";//面
focal_class.modifier: private final
focal_class.original_string: private final String INIT_KEY="全国";//面包
focal_class.type: String
focal_class.var_name: INIT_KEY
focal_class.declarator: view
focal_class.modifier: private
focal_class.original_string: private TravelNotesContract.View view;
focal_class.type: TravelNotesContract.View
focal_class.var_name: view
focal_class.declarator: obj
focal_class.modifier: public
focal_class.original_string: public TravelNotesActivity obj;
focal_class.type: TravelNotesActivity
focal_class.var_name: obj
focal_class.file: app/src/main/java/gear/yc/com/gearapplication/ui/mvp/travelnotes/TravelNotesPresenter.java
focal_class.identifier: TravelNotesPresenter
focal_class.interfaces: implements TravelNotesContract.Presenter
focal_class.class_method_signature: TravelNotesPresenter.TravelNotesPresenter(TravelNotesContract.View view, TravelNotesActivity obj)
focal_class.full_signature: public  TravelNotesPresenter(TravelNotesContract.View view, TravelNotesActivity obj)
focal_class.identifier: TravelNotesPresenter
focal_class.modifiers: public
focal_class.parameters: (TravelNotesContract.View view, TravelNotesActivity obj)
focal_class.signature:  TravelNotesPresenter(TravelNotesContract.View view, TravelNotesActivity obj)
focal_class.class_method_signature: TravelNotesPresenter.refreshData(String key,int page,boolean isNote)
focal_class.full_signature: @Override public int refreshData(String key,int page,boolean isNote)
focal_class.identifier: refreshData
focal_class.modifiers: @Override public
focal_class.parameters: (String key,int page,boolean isNote)
focal_class.return: int
focal_class.signature: int refreshData(String key,int page,boolean isNote)
focal_class.class_method_signature: TravelNotesPresenter.loadData(String key,int page)
focal_class.full_signature: @Override public void loadData(String key,int page)
focal_class.identifier: loadData
focal_class.modifiers: @Override public
focal_class.parameters: (String key,int page)
focal_class.return: void
focal_class.signature: void loadData(String key,int page)
focal_class.class_method_signature: TravelNotesPresenter.loadData(String key,int page,int count)
focal_class.full_signature: @Override public void loadData(String key,int page,int count)
focal_class.identifier: loadData
focal_class.modifiers: @Override public
focal_class.parameters: (String key,int page,int count)
focal_class.return: void
focal_class.signature: void loadData(String key,int page,int count)
focal_class.class_method_signature: TravelNotesPresenter.start()
focal_class.full_signature: @Override public void start()
focal_class.identifier: start
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void start()
focal_class.class_method_signature: TravelNotesPresenter.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_method.body: @Override
      public void loadData(String key,int page) {
          view.showDialog();
  //        RouterDemo.getRouter(obj.getLifecycleSubject(),key, page+"")
  //                .doOnTerminate(() -> view.disDialog())
  //                .subscribe(d -> obj.dataBinding(d),
  //                        e -> obj.dataError(e));
          APIServiceManager
                  .getTravelNotesAPI()
                  .getTravelNotesList(key, page + "")
                  .compose(obj.bindToLifecycle())
                  .compose(RxSchedulersHelper.io_main())
                  .compose(SchedulersHelper.handleResult())
                  .doOnTerminate(() -> view.disDialog())
                  .subscribe(d -> obj.dataBinding(d),
                          e -> obj.dataError(e));
  //                .subscribe(s -> RxBus.getInstance().post(RxBus.getInstance()
  //                        .getTag(obj.getClass(),RxBus.TAG_UPDATE), s),
  //                        e -> RxBus.getInstance().post(RxBus.getInstance()
  //                                .getTag(obj.getClass(),RxBus.TAG_ERROR), e.getMessage()));
      }
focal_method.class_method_signature: TravelNotesPresenter.loadData(String key,int page)
focal_method.full_signature: @Override public void loadData(String key,int page)
focal_method.identifier: loadData
focal_method.invocations: showDialog subscribe doOnTerminate compose compose compose getTravelNotesList getTravelNotesAPI bindToLifecycle io_main handleResult disDialog dataBinding dataError
focal_method.modifiers: @Override public
focal_method.parameters: (String key,int page)
focal_method.return: void
focal_method.signature: void loadData(String key,int page)