shivanibansal / TwitterClient_Proj_04

Week 4 Project : Twitter Improvements
0 stars 0 forks source link

Issue in updating user profile #1

Open shivanibansal opened 9 years ago

shivanibansal commented 9 years ago

Hi Nathan, I am having an issue in updating user details when i click on any tweet. It opens Profile view, with his timelines, but user details (name and all) are not updated. Though i am updating details in Profile view at https://github.com/shivanibansal/TwitterClient_Proj_04/blob/master/src/com/yahoo/bshivani/basictwitter/ProfileActivity.java#L97 Another issue is how can we limit click to Image only. If click on Image then only it opens user profile. Please give me your feedback to complete this homework Thanks Shivani

@nesquena @thecodepath

shivanibansal commented 9 years ago

Hey Nathan, I am looking for your feedback to complete this project. I appreciate if you could please help me Thanks Shivani @nesquena @thecodepath

nesquena commented 9 years ago

Limiting click to image is done in the adapter. Basically in the adapter getView you want to setup a click listener on the ImageView which opens up the profile. I recommend you try this out to understand how it works. Read the helpful hints linked in the email for more info.

For the profile info that's not updating can you toast in there and verify that it's running at all?

nesquena commented 9 years ago

Also your get user lookup method doesn't actually seem to contain the Id of the user to lookup? You aren't passing the user to lookup to the client. How would it give you user information for a particular profile if you don't tell it which user to lookup? Or maybe I've missed where you specify that?

shivanibansal commented 9 years ago

I am setting user id client in https://github.com/shivanibansal/TwitterClient_Proj_04/blob/master/src/com/yahoo/bshivani/basictwitter/ProfileActivity.java#46, then calling API