0
I have a view with several Ragments, I added a floating button to print the screen, but I would like to know how to differentiate each Ragment to put different names in the photos.
I have the code below, which takes the photo but superimposes the next ones because it has the same name.
@OnClick(R.id.fab_client_screenshot)
public void printScreen() {
String fileName = "foto.png";
JUtil.saveScreenShot(mViewPager.getRootView(), fileName);
}
Vlw man, it worked
– Eduardo Bonfa