-
Notifications
You must be signed in to change notification settings - Fork 738
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()ofActivityorFragment.
Use this method if you want to useFolioReadersingleton instance again in the application,
else useFolioReader.stop()which destruct theFolioReadersingleton instance. -
FolioReader.stop();Destructs the
FolioReadersingleton instance.
Use this method only if you are sure that you won't need to use
FolioReadersingleton instance again in application, else useFolioReader.clear().