Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I prevent ListView footer from becoming selected?

I have a ListView which can be navigated with the dpad. It has a footer. I want to prevent navigation into the footer with the dpad. I have set focusable and focusableInTouchMode of the footer view itself to false; this makes no difference (so I deduce that it is not actually focus I am seeing, but rather selection).

How do I prevent the footer from becoming selected?

like image 558
Carl Manaster Avatar asked Oct 29 '10 17:10

Carl Manaster


1 Answers

You might try using this when adding the footer view:

listView.addFooterView(view, data, false);//third argument indicates footer is unselectable

Haven't done this myself, so just a suggestion.

like image 193
danh32 Avatar answered Nov 10 '22 03:11

danh32