title: How to fixed first row in RecyclerView Android?
body: <p>Hi am try to create on demo there i want to fixed first row from RecyclerView, i have creted one list from that but i do't know how to fixed first row.</p>
  
  <p>Mylist.xml</p>
  
  <pre><code>    &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:tools="http://schemas.android.com/tools"
          android:layout_width="fill_parent"
          android:layout_height="match_parent"
          tools:context="com.hmkcode.android.recyclerview.MainActivity" &gt;
  
  
  
          &lt;android.support.v7.widget.RecyclerView
              xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:tools="http://schemas.android.com/tools"
              android:id="@+id/recyclerView"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              tools:context=".MainActivity"
          /&gt;
      &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>MainActivity.java</p>
  
  <pre><code>    import android.support.v7.widget.DefaultItemAnimator;
      import android.support.v7.widget.LinearLayoutManager;
      import android.support.v7.widget.RecyclerView;
      import android.app.Activity;
      import android.os.Bundle;
  
      public class MainActivity extends Activity {
  
          @Override
          protected void onCreate(Bundle savedInstanceState) {
              super.onCreate(savedInstanceState);
              setContentView(R.layout.activity_main);
  
              RecyclerView recyclerView = (RecyclerView) findViewById(R.id.recyclerView);
  
              ItemData itemsData[] = { new ItemData("Help", R.drawable.help),
                      new ItemData("Delete", R.drawable.content_discard),
                      new ItemData("Cloud", R.drawable.collections_cloud),
                      new ItemData("Favorite", R.drawable.rating_favorite),
                      new ItemData("Like", R.drawable.rating_good),
                      new ItemData("Rating", R.drawable.rating_important),
                      new ItemData("Help", R.drawable.help),
                      new ItemData("Delete", R.drawable.content_discard),
                      new ItemData("Cloud", R.drawable.collections_cloud),
                      new ItemData("Favorite", R.drawable.rating_favorite),
                      new ItemData("Like", R.drawable.rating_good),
                      new ItemData("Rating", R.drawable.rating_important),
                      new ItemData("Help", R.drawable.help),
                      new ItemData("Delete", R.drawable.content_discard),
                      new ItemData("Cloud", R.drawable.collections_cloud),
                      new ItemData("Favorite", R.drawable.rating_favorite),
                      new ItemData("Like", R.drawable.rating_good),
                      new ItemData("Rating", R.drawable.rating_important) };
  
              recyclerView.setLayoutManager(new LinearLayoutManager(this));
  
              MyAdapter mAdapter = new MyAdapter(itemsData);
              recyclerView.setAdapter(mAdapter);
              recyclerView.setItemAnimator(new DefaultItemAnimator());
  
  
          }
      }
  </code></pre>