I am creating a HorizontalListView using the DevSmart library (GitHub link). When a user clicks on an element, I am catching the event and want to refresh all the views so I can show the user's selection. I've tried a bunch of different things and just can't get the HorizontalListView to refresh its views:
// does not work
mHorizontalListView.invalidate();
mHorizontalListView.requestLayout();
// does not work
mHorizontalListView.notify();
// does not work
mHorizontalListView.notifyAll();
// works, but scrolls to position 0 which isn't desirable
mHorizontalListView.setAdapter(mHorizontalListViewAdapter);
Is there any analog to invalidateViews on regular ListViews that I'm missing here. I know my selection update code is working because if I scroll the selected element on and off, when the element shows up again and has to be rebuilt, it shows up properly.