title: In Android RecyclerView How to change the color of Alternate rows
body: <p>I am new in android , recently I have learned <code>recyclerview</code> and i want to change the color of rows.</p>
  
  <p>Example:  I have 10 rows and I want to change color like 5 rows blue and 5 rows red.Alternate rows color should be like this.</p>
  
  <p>From where I have to change this by Adapter or by MainActivity.
  <em>Please help me</em></p>