MCPcopy Create free account
hub / github.com/buggins/coolreader / showBrowser

Method showBrowser

android/src/org/coolreader/CoolReader.java:1220–1234  ·  view source on GitHub ↗
( final FileInfo fileToShow )

Source from the content-addressed store, hash-verified

1218 }
1219
1220 public void showBrowser( final FileInfo fileToShow )
1221 {
1222 log.v("showBrowser() is called");
1223 if ( currentView == mReaderView )
1224 mReaderView.save();
1225 mEngine.runInGUI( new Runnable() {
1226 public void run() {
1227 showView(mBrowser);
1228 if (fileToShow==null || mBrowser.isBookShownInRecentList(fileToShow))
1229 mBrowser.showLastDirectory();
1230 else
1231 mBrowser.showDirectory(fileToShow, fileToShow);
1232 }
1233 });
1234 }
1235
1236 public void showBrowserRecentBooks()
1237 {

Callers 4

runMethod · 0.80
doneMethod · 0.80
onCommandMethod · 0.80
loadDocumentMethod · 0.80

Calls 3

runInGUIMethod · 0.80
vMethod · 0.65
saveMethod · 0.45

Tested by

no test coverage detected