title: Use RecyclerView in earlier versions of Android
body: <p>I want to use RecyclerView in my Android app. Following are the properties:</p>
  
  <pre><code>minSdkVersion="14" (ICS)
  compile sdk version="21" (L)
  Target sdk version="14" (ICS)
  </code></pre>
  
  <p>I added <code>compile 'com.android.support:appcompat-v7:21.0.3'</code> under dependencies in build.gradle file.
  When I'm adding RecyclerView in XML, I'm getting following error: </p>
  
  <pre><code>The following classes could not be found:
  - android.support.v7.widget.RecyclerView (Fix Build Path, Create Class)
  </code></pre>
  
  <p>XML code:</p>
  
  <pre><code>&lt;android.support.v7.widget.RecyclerView
          android:id="@+id/my_recycler_view"
          android:scrollbars="vertical"
          android:layout_width="match_parent"
          android:layout_height="match_parent"/&gt;
  </code></pre>
  
  <p>I want the application to run on all devices above ICS. Please help me in resolving this issue.</p>