Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Blog Reader Android App Adapting Data for Display in a List Finishing Our AsyncTask

Jonathan Etienne
Jonathan Etienne
24,572 Points

Challenge task 2 of 2 in Stage 4 of Android Development

I am experiencing difficulties with the following challenge: "Inside 'onPostExecute()', set the member variable 'mStatus' to the value passed into 'onPostExecute()'. Then call the 'updateStatusLabel()' method of 'CustomActivity'."

I tried to do the following, but initial results have been unsatisfactory: @Override protected void onPostExecute(String result) { mStatus = result; CustomActivity.onPostExecute();

Thanks in advance for your support,

3 Answers

Joe Brown
Joe Brown
21,465 Points

Yea you need to drop that CustomActivity.onPostExecute(), just simply replace that with your call to updateStatusLabel()

Stephen Bone
Stephen Bone
12,359 Points

It looks like you're trying to call the method from within the method itself. Looking at the instructions it looks like you just need to make a call to the updateStatusLabel method.

Jonathan Etienne
Jonathan Etienne
24,572 Points

Thank you for your input. My problem was resolved.