screenshot
screenshot copied to clipboard
Add a Listener When Screenshot is Taken
Hi. Thanks for the great work. Can we add some kind of listener, for the purpose of showing a toast within it, when the screenshot actually has been taken? Following piece of code shows what I want to do
Screenshot.with(activityReference).getScreenshot().addSnapshotListener(new SnapshotListener(){
void onSnapshottaken(Bitmap bmp){
bmp.save();
Toast.makeText(......).show();
}
});
Thanks for any input :)