@Override
        public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
            View container = getLayoutInflater().inflate(R.layout.item_layout, parent, false);
            container.setOnClickListener(mItemAction);
            return new MyViewHolder(container);
        }
Custom adapter that supplies view holders to the RecyclerView. Our view holders
contain a simple LinearLayout (with a background color) and a TextView (displaying
the value of the container's bg color).
RecyclerViewAnimations/app/src/main/java/examples/android/com/recyclerviewanimations/MainActivity.java