laxmanrizecorp / npr-android-app

Automatically exported from code.google.com/p/npr-android-app
0 stars 0 forks source link

Image Loading #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load the top stories list
2. Scroll through the view
3. Watch the images load

What is the expected output? What do you see instead?
The correct thumbnail doesn't always initially load. Scrolling seems to alter 
which image is shown or sometimes display an image where there wasn't one 
before.

Can we detail how we are loading these images a little? That way I can see if 
NPR's API offers a better alternative.

Original issue reported on code.google.com by jpenn...@gmail.com on 19 Oct 2011 at 8:40

GoogleCodeExporter commented 9 years ago

Original comment by jpenn...@gmail.com on 8 Nov 2011 at 10:53

GoogleCodeExporter commented 9 years ago
We need to look under the <image> node for the <crop type=square... grab that 
media URL and then append &s=13 to get back a 75x75 image from the NPR api.

Original comment by jpenn...@gmail.com on 18 Nov 2011 at 10:15

GoogleCodeExporter commented 9 years ago

Original comment by justinfr...@gmail.com on 9 Dec 2011 at 12:07

GoogleCodeExporter commented 9 years ago
Now using the cropped image and fixed incorrect image issue.

Original comment by justinfr...@gmail.com on 21 Dec 2011 at 4:06

GoogleCodeExporter commented 9 years ago
Much better!

Original comment by jpenn...@gmail.com on 21 Dec 2011 at 7:38