In previous article we learnt how to play a youtube video in android using YoutubePlayerView and using YoutubeBaseActivity. But there is one problem in YoutubePlayerView that we need to extend our activity with YoutubeBaseActivity. What if we don’t want to extend our activity with YoutubeBaseActivity or we want to implement the YoutubePlayerView in fragment. There is a
Read MoreHello Friends, Today we are going to learn how to play a youtube video in our app using YoutubePlayerAPI. And also I will also show you how to show thumbnails of the youtube video. This app will be having two screens: First screen listing all the videos in RecyclerView. Playing the selected video. VIDEO DEMO
Read MoreHello Friends, today we are going to learn an awesome functionality based on Swipe Dismiss RecyclerView. To achieve this functionality we are going to need one java class which will handle the Swipe gesture. The class you can get from this link, this is a superb class that you need to implement with your recycler
Read MoreIn previous article we learnt about how to use multiple choices in ListView. Today we are going to learn how to enable single choice/radio button in ListView, GridView and in RecyclerView using RadioButton, you’ll configure the ListView to display a radioButton next to each item. You can combine many components like TextView, RadioButton, ImageView, etc. and can
Read MoreHi to all, today we are going to learn how to enable multiple items to be chosen in ListView, GridView and in RecyclerView using CheckBox, you’ll configure the ListView to display a checkbox next to each item. You can combine many components like TextView, CheckBox, ImageView, etc. and can make ListView as you require. Prerequisite:
Read MoreIn earlier tutorials we had learned implementation of RecyclerView. Now in this tutorial we will move to RecyclerView Animation part. The best thing of RecyclerView is that it provide inbuilt animations but the ListView and GridView don’t provide inbuilt animation. Now to implement the Animation in RecyclerView it provide some methods that we need to use: notifyItemRemoved(position)
Read More