Advertisement
upward_p

Untitled

Jun 27th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.60 KB | None | 0 0
  1.  @Override
  2.     public void LoadList() {
  3.         iModelLoadItem.getDocResolution()
  4.                 .observeOn(AndroidSchedulers.mainThread())
  5.                 .subscribeOn(Schedulers.io()).subscribe(new Subscriber<List<DocRc>>() {
  6.             @Override
  7.             public void onCompleted() {
  8.             }
  9.             @Override
  10.             public void onError(Throwable e) {
  11.                 Log.e(" onError", " onError " + e );
  12.             }
  13.             @Override
  14.             public void onNext(List<DocRc> docRcs) {
  15.                 iViewDocsList.showList(docRcs);
  16.             }
  17.         });
  18.  
  19.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement