-
Notifications
You must be signed in to change notification settings - Fork 721
Clean up code
Hrishikesh Kadam edited this page Dec 31, 2018
·
4 revisions
-
FolioReader.clear();
Nullifies readLocator and listeners.
This method ideally should be used inonDestroy()
ofActivity
orFragment
.
Use this method if you want to useFolioReader
singleton instance again in the application,
else useFolioReader.stop()
which destruct theFolioReader
singleton instance. -
FolioReader.stop();
Destructs the
FolioReader
singleton instance.
Use this method only if you are sure that you won't need to use
FolioReader
singleton instance again in application, else useFolioReader.clear()
.