title: Android array result shows in multiple textview
body: <p>I'm trying to show the result which I got from my array function which has multiple result into the textview</p>
  
  <p>for example, if the result is 1, 3, 5, 7, 9, each result will be shown in each textview. There will be 10 textviews and only 5 textviews will be used in this case.</p>
  
  <p>is anyone know how to do it?</p>
  
  <pre><code> //this function is used to determine how many page can be flipped. I used viewFlipper in this case. rangeValue is depending on the user input
   public int binaryRangePage(int rangeValue){
      int flipperPage = 1;
      while(rangeValue &gt;= 2){
          rangeValue = rangeValue/2;
          flipperPage++;
      }
      return flipperPage;
  }
  
  
      totalPage = binaryRangePage(rangeMode);
              //initialization range for 2 dimensional table
      binaryTable = new int[rangeMode+1][totalPage+1];
      int n;
      int i;
      int k;          
      //looping the range
      for(i=1; i&lt;=rangeMode; i++){
          n = i;
          flipperPage = 1;
          //looping for each page in viewFlipper
          while(n&gt;0){
              remainder = n%2;
              binaryTable[i][flipperPage] = remainder;
              n = (int) Math.floor(n/2);
              System.out.println("remainder["+i+"]["+flipperPage+"]: "+remainder);            
              flipperPage++;
  
              }
          //if the current page is less than total page which should has value, the remainder page will be filled with 0
          if(flipperPage&lt;=totalPage){
              //looping untuk remainder page dgn 0
              for(k=flipperPage; k&lt;=totalPage;k++){
                  binaryTable[i][flipperPage] = 0;
                  System.out.println("remainder["+i+"]["+flipperPage+"]: 0");
                  flipperPage++;
              }
          }
  </code></pre>
  
  <p>I'm trying to shows the value of range which has remainder 1. for example, the range is 10, there will be 4 page which can be flipped. in the page 1, the value is 1, 3, 5, 7, and 9. these value will be showed in the textview</p>