title: Standalone MaterialViewPager sample app
body: <p>I recently found the MaterialViewPager library <a href="https://github.com/florent37/MaterialViewPager" rel="nofollow">on Github</a> where the author also included a sample app. The sample app on Github is dependent to two other moduels : </p>
  
  <ul>
  <li>materialviewpager</li>
  <li>materialviewpagercontroller</li>
  </ul>
  
  <p>I tried to convert the sample app provided into an standalone app by creating a blank project in Android Studio and including : </p>
  
  <pre><code>compile ('com.github.florent37:materialviewpager:1.2.0@aar'){
      transitive = true
  }
  </code></pre>
  
  <p>in the build file. Then I copied all the files in the sample folder to the app but I got so many errors in every file, after removing a lot of files and getting the app to compile I got this: </p>
  
  <p><img src="https://i.stack.imgur.com/WLnmi.png" alt="enter image description here"></p>
  
  <p>Since I am new to Android Studio and I spent two hours trying this without any success, can someone please let me know how I can convert the sample app the author provided to a standalone sample app?</p>