Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. 1) Textview -- for showing header
  2. 2) view --- for showing divider
  3. 3) Textview --- to display country/food name
  4.  
  5. Countries
  6. -------------------------
  7. aaa
  8. bbb
  9. ccc
  10.  
  11. Food
  12. -------------------------
  13. ddd
  14. eee
  15. fff
  16.  
  17. how to prevent listview selection item
  18.  
  19. v = vi.inflate(R.layout.list_item_section, null);
  20.  
  21. v.setOnClickListener(null);
  22. v.setOnLongClickListener(null);
  23. v.setLongClickable(false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement