{"push_id":840140970,"size":5,"distinct_size":1,"ref":"refs/heads/youtube-channels","head":"a6401d5c4a28c769199478890f26c3f22bd1ecc0","before":"4a41428944f5aa5afc36578d8966bc9edf0bd3de","commits":[{"sha":"fc3513b87a9576f2f4388c3c8e17be2410f86db1","author":{"email":"3562abf11da33d699bf451bbbc8fc90ec6bfdbfd@gmail.com","name":"Akoscz"},"message":"android data binding\n\n- created a PlaylistDatabindingCardAdapter which binds the Video object\nto the youtube_databinding_video_card.xml layout file\n- adding a BindingUtils class which exposes some static binding\nconvenience methods such as loadImage which in turn uses Picasso to\nfetch an image from the bound imageUrl parameter and load it into the\nprovided ImageView.  It also requires you to supply a placeholder image\nresource ID to be loaded into the imageView while Picasso fetches the\nimage\n- BindingUtils also contains a parseDuration method which parses the\nfunky duration string from the Video object and turns it into something\nreadable by a human","distinct":false,"url":"https://api.github.com/repos/akoscz/YouTubePlaylist/commits/fc3513b87a9576f2f4388c3c8e17be2410f86db1"},{"sha":"cd7f4966273214a4e0a46740d808a232bb32ce14","author":{"email":"273a05b7ed96a31fc0592e05aa38b4efdf8be145@users.noreply.github.com","name":"Akoscz"},"message":"Update README.md","distinct":false,"url":"https://api.github.com/repos/akoscz/YouTubePlaylist/commits/cd7f4966273214a4e0a46740d808a232bb32ce14"},{"sha":"0dc450a7586a5e3417604686151554d935c4d11e","author":{"email":"273a05b7ed96a31fc0592e05aa38b4efdf8be145@users.noreply.github.com","name":"Akoscz"},"message":"Update README.md","distinct":false,"url":"https://api.github.com/repos/akoscz/YouTubePlaylist/commits/0dc450a7586a5e3417604686151554d935c4d11e"},{"sha":"2c7a623c2de3637563626764e2e15662ffa24925","author":{"email":"3562abf11da33d699bf451bbbc8fc90ec6bfdbfd@gmail.com","name":"Akoscz"},"message":"viewModel and onClick bindings\n\n- added a VideoViewModel class which is responsible for preparing that\ndata from the model to be bound into the view\n- the viewModel class is instantiated in the BindingHolder class and\ninitialized with data in the onBindViewHolder method in the\nPlaylistCardAdapter\n- replaced PlaylistCardAdapter with the data binding implementation\n- replaced youtube_video_card.xml with the data binding implementation\n- updated youtube_video_card.xml to bind to the VideoViewModel rather\nthan directly to a Video object","distinct":false,"url":"https://api.github.com/repos/akoscz/YouTubePlaylist/commits/2c7a623c2de3637563626764e2e15662ffa24925"},{"sha":"a6401d5c4a28c769199478890f26c3f22bd1ecc0","author":{"email":"273a05b7ed96a31fc0592e05aa38b4efdf8be145@users.noreply.github.com","name":"Akoscz"},"message":"Merge pull request #7 from akoscz/data-binding\n\nData binding","distinct":true,"url":"https://api.github.com/repos/akoscz/YouTubePlaylist/commits/a6401d5c4a28c769199478890f26c3f22bd1ecc0"}]}