424344454647484950
private class ClearRecentStopsHandler implements ClickHandler { @Override public void onClick(ClickEvent arg0) { MobileApplicationDao dao = MobileApplicationContext.getDao(); dao.clearRecentStops(); refreshModel(); }
919293949596979899100101102
return; _bookmark.setName(text); if( _newBookmark ) { MobileApplicationDao dao = MobileApplicationContext.getDao(); dao.addBookmark(_bookmark); } NavigationController nav = getNavigationController(); nav.popViewController(); }
private class ClearBookmarksHandler implements ClickHandler { @Override public void onClick(ClickEvent arg0) { MobileApplicationDao dao = MobileApplicationContext.getDao(); dao.clearBookmarks(); refreshModel(); }