Skip to content Skip to sidebar Skip to footer

Textview Isn't Updated With Json Response

I have 3 textviews I'm attempting to update (nameTv, contentTv, publishedTv) with data obtained from a JSON response. When I execute the code shown below the textviews do not updat

Solution 1:

GetYouTubeUserCommentsTasktask=newGetYouTubeUserCommentsTask(null,
                viewCount); // passing null. 

And you have

public GetYouTubeUserCommentsTask(Handler replyTo, String username) {
        this.replyTo = replyTo; // replyTo is nullthis.username = username;
    }

replyTo is null. You need to Initialize the handler replyTo

Post a Comment for "Textview Isn't Updated With Json Response"