Skip to content

9.1.0

Compare
Choose a tag to compare
@rm3l rm3l released this 25 Mar 00:04
· 122 commits to master since this release
63f4968

This release essentially adds the ability to capture screenshots from modal dialogs.

The Maoni#start method has been overloaded to accept a Dialog instance. So you can now pass either an Activity or a Dialog to this method, e.g.:

//The optional file provider authority allows you to 
//share the screenshot capture file to other apps (depending on your callback implementation)
new Maoni.Builder(<myContextObject>, MY_FILE_PROVIDER_AUTHORITY)
    .withDefaultToEmailAddress("feedback@my.company.com")
    .build()
    .start(<myDialogInstance>);

Preview

Thanks @dennisdeng2002 for this contribution !