My goal is to wait for the profile picture download so I can start a video that will use that picture.
I'm using the provided facebook widget: ProfilePictureView to show the picture.
And I'm waiting for the onComplete of executeMeRequestAsync() but this seems to wait for the GraphUser that only contains the picture Id. When I do the setProfileId() of the ProfilePictureView is when it starts downloading the picture.
There's any possibility to have something like that onComplete() that waits for the download using ProfilePictureView? Or I'll need to go for a Bitmap or something, but then How do I make a callback to report that the download of file is completed?
Code that get's the info from FB and onComplete show my button that will start the video
Request.executeMeRequestAsync(session, new Request.GraphUserCallback() {
public void onCompleted(GraphUser user, Response response) {
showStartButton();
}
});