UI not loading till YouTube upload complete in Android

view story

http://stackoverflow.com – In my Android application I can upload videos to YouTube using YouTube Data API v3. Also in my first Activity, I'm displaying some YouTube thumbnails as well as progress bar when I'm uploading a video to YouTube. I'm displaying thumbnail by implementing YouTubeThumbnailView.OnInitializedListener and set the image inside the adapter class getView method public class FeedUploadAdapter extends BaseAdapter implements YouTubeThumbnailView.OnInitializedListener { and Drawable thumbnail = card.getThumbnail(); if (thumbnail != null) { youtubeImage.setImageDrawable(thumbnail); } When I star (HowTos)