title: ListView smoothScrollToPosition working but setSelectionFromTop not working
body: <p>I have a list view and the requirement is to scroll the list pragmatically.  </p>
  
  <p>I am using this.</p>
  
  <pre><code> // allClues.setSelection(clueIndex +1 );
   //allClues.setSelectionFromTop(clueIndex+1, rowWidth*noOfrows /2 + 50);
  
  allClues.smoothScrollToPosition(clueIndex +1 );
  allClues.invalidateViews();
  </code></pre>
  
  <p>It has a onItemClickListener</p>
  
  <pre><code>listView.setOnItemClickListener(new OnItemClickListener() {
            @Override
            public void onItemClick(AdapterView&lt;?&gt; parent, View view,
            int position, long id) {
  
  
  
               ItemAdapter.selectedItem = position;
  
              view.setSelected(true);
  
              ((AbsListView) parent).invalidateViews();
  
              puzzle.setSelected(position);
  
  
            }
          }); 
      }
  </code></pre>
  
  <p>smoothScrolltoPosition is working fine, but the list ls long and its scrolled very frequently, therefor its not looking good.</p>
  
  <p>when I am using setSelection to position the particular item at top and setSelectionFromTop
  nothing is happining. Does these two methods require some pre condition, as smoothScrolltoPosition is working perfectly.</p>