async in fragment

Java
https://stackoverflow.com/questions/21650062/executing-async-tasks-in-fragments
Source

Also in Java: