android - Accessibility reading showing items in a listview as list item + header view -


i implementing accessibility in custom pull refresh list view. pull refresh list view has header view show updating status while pull down. if list contains 5 items, talkback reads "showing item 1 of 6" instead of "showing item 1 of 5". think took total count list items + header views (ie, 5 items + 1 header view).

i want remove header view count this.

i have tried headerview.setimportantforaccessibility(important_for_accessibility_no_hide_descendants); doesn't work me.


Comments