I'm looking at your library and I see the Global.init() function requires an Activity as the first parameter. This is a bit confusing as I wonder if I have to call the init() function on each activity?
I checked the code and it looks like it doesn't need an Activity at all - just the Context. I'd prefer to call the init() from my Application class as I use the library to read PDFs before they're even shown (so before the Activity class would call the init() function.
It looks like I could just modify the ViewLib code myself, but since that will break on an update, is this simple change something you could do?
Global.Init accepts Context object as parameter but the Context object must be derived from ContextWrapper, otherwise it may cause a crash in the native part that is using ContextWrapper, because Context.getPackageName() is abstract method, without implementation