Ho creato questa classe che estende android.app.Fragment per avere dei callback quando la transizione da un fragment all'altro è completa.
Perchè funzioni è necessario impostare un'animazione custom per la transizione tra fragments ;)
:cool: https://gist.github.com/cesco89/9ddb738eef1cead8fea7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters