Package com.eclipsesource.tabris.widgets.enhancement

Examples of com.eclipsesource.tabris.widgets.enhancement.RefreshHandler


      }
    }
  }

  private void setupPullToRefresh( final Tree tree ) {
    final RefreshHandler handler = new RefreshHandler();
    handler.setMessage( "Spoiler Alert!" );
    handler.addRefreshListener( new RefreshListener() {
      @Override
      public void refresh() {
        markDead( tree.getItems() );
        tree.update();
        handler.done();
      }
    } );
    onTree( tree ).setRefreshHandler( handler  );
  }
View Full Code Here

TOP

Related Classes of com.eclipsesource.tabris.widgets.enhancement.RefreshHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.