title: Chapter and Content like design in Android
body: <p>I don't want this question to be fully opinion based. I just want to know <strong>pros and cons of my approach and how to resolve all cons?</strong></p>
  
  <p><strong>Goal</strong></p>
  
  <p>I want to show chapters and when user clicks each chapter I need to make a call to my server and get the data and display it after parsing?</p>
  
  <p><strong>My Approach</strong></p>
  
  <p>I assume I will have around 100 chapters. I will have a menu like design at the top menubar. If user clicks menu button, chapters will be visible. When user clicks on a chapter, I will create a fragment to display the data.</p>
  
  <p><strong>My problems</strong></p>
  
  <ol>
  <li><p>Number of chapters - Mobile is a small device. If I display 100 chapters at a time via menu, it will not be user friendly.</p>
  
  <p><strong>My solution for the problem</strong> - I will split the chapters and make an activity which will have list of grouped chapters. Like Chap1-10, Chap11-20 ..
    When user clicks on one chap group, I will create an activity and display only 10 chapters in menu. For each click, create a fragment within the new chap group activity.</p></li>
  <li><p>Should I use activity or fragment for content display? Is there any alternative approach?</p></li>
  <li><p>Should I query my server for each chapter click? Or shall I store data in Realm database? Is it safer? Safer in the sense can User access realm stored data?</p></li>
  </ol>
  
  <p>Any suggestions? Thanks in Advance.</p>