I have the following three lines of code.
Line 1 : GetBitMapFromURL gbmap = new GetBitMapFromURL(); //Obtain thumbnail bitmap
Line 2 : gbmap.execute(applicationThumbNailURL);
Line 3 : applicationThumbnailBitMap = gbmap.returnBitmap();
I want Line 3 to be executed only after GetBitMapFromURL async task’s onPostExecute is executed.
Create a callback in GetBitMapFromURL.
And let your activity implements this callback and
onGetBitMapFromURLComplete().