Skip to content

akoscz/YouTubePlaylist

Repository files navigation

YouTubePlaylist

A sample Android application which demonstrates the use of the YouTube Data API v3.

This sample app makes use of the YouTube Data API v3 classes to fetch a YouTube Playlist using the GetPlaylistAsyncTask which then extracts the list of Video's the playlist contains. The list of video's are then presented using a RecyclerView of CardView's in the YouTubeRecyclerViewFragment. The data binding of video details to CardView is handled by the PlaylistCardAdapter.

Picasso is used for downloading and caching the video thumbnail images. And lastly a retained fragment is used to persist the PlaylistVideos datamodel across orientation changes.

Setup

NOTE: You MUST have a valid API key for this sample application to work. Remember, when you register your application with the Google Developer Console you need to enable the YouTube Data API.

Dependencies

Screenshots

Phone: Single Column Portrait and Landscape

Tablet: 7" and 9" (sw600) 2 Columns Portrait, 3 Columns Landscape

Tablet: 10" (sw800) 3 Columns Portrait and Landscape

License

About

A sample Android application which demonstrates the use of the YouTube Data v3 API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages