felipecsl/QuickReturn

Quick Return target hide scroll thumb when scroll to top!!

danger1988 opened this issue · 0 comments

I investigate the code and see that QuickReturn use a dummy invisible row to prevent the first item of listview overlap by the QuickReturn target
...
if (position < numColumns) {
if (convertView == null)
v = new View(parent.getContext());
else
v = convertView;
v.setLayoutParams(new AbsListView.LayoutParams(
AbsListView.LayoutParams.MATCH_PARENT,
targetViewHeight));

        finalHeight = targetViewHeight;
    } 

...
But by using this technique, the scroll thumb of scroll bar will be hidden by the quickreturn target when we scroll to top also.

Could you modify the code to add a dummy header instead of dummy row to prevent this happen?