Created
November 22, 2013 15:58
-
-
Save kyze8439690/7602219 to your computer and use it in GitHub Desktop.
ListView do not show header view until you add an adapter to it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
listView.addHeaderView(headerView); | |
//add adapter and show the header | |
listView.setAdapter(myAdapter); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment