Is it possible to set a ListFragment
to not scroll using the getListView()
method?
getListView().setScrollContainer(false);
doesn't work.
Edit:
Weird behavior. This was supposed to block the List, but somehow you can still scroll it slowly if you keep touching it repeatedly.
scrollView.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View v, MotionEvent event) {
// TODO Auto-generated method stub
return isBlockedScrollView;
}
});