Skip to content

Instantly share code, notes, and snippets.

@orhanobut
Created September 22, 2015 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orhanobut/2fd0fd42a402eafbb349 to your computer and use it in GitHub Desktop.
Save orhanobut/2fd0fd42a402eafbb349 to your computer and use it in GitHub Desktop.
public class ProductListFragment extends Fragment {
private String uuid;
@Override public void onCreate() {
uuid = UUID.randomUUID().toString();
}
@Override void onCreateView(...) {
listener.onRefreshData(uuid);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment