-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to view poster image #16
Comments
Did you make sure to build the full URL? The TMDb API only returns the image path, e.g. |
how to obtain size using your tmdb??? |
Either obtain them via the |
thanks and one more thing how do i use a single async method for returning one id's tiitle,poster path and year. |
Can't you just return the whole movie object in 'doInBackground()' instead
|
so u r saying that i should use return movie.toString(); but if i use this then how do i separate the three things i need from the whole thing??? and another thing how do i use the same Async method for multiple tmdb ids?? |
and also how do i extract the titles and posters of the MostPopular movies as it returns a list. |
ok after using the above method how do i use the data that comes in a list from the 4 line. how do i view it |
at leat tell me what type of list it returns arraylist |
Just look at the type? E.g. hover your mouse cursor over it in eclipse, or press Ctrl+Q in Android Studio/IntelliJ. |
well i did and it said com.uwetrottmann.tmdb.entities.ResultsPage so as i said before it returns a list. SO how do i use it. |
It returns a list of |
ok i did exactly as u said but the activity stopped instantly protected void onCreate(Bundle savedInstanceState) {
ADB Log 09-04 22:13:28.501 4865-4865/com.ITAN.cinematheque E/AndroidRuntime﹕ FATAL EXCEPTION: main |
i did every thing but i was unable to set the imageview image from poster path
public class showMovieInfo extends AsyncTask<Integer,Integer,String>{
The text was updated successfully, but these errors were encountered: