File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes BaseAdapter: getView() problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "BaseAdapter: getView() problem" Watch "BaseAdapter: getView() problem" New topic
Author

BaseAdapter: getView() problem

june park
Greenhorn

Joined: Jun 06, 2011
Posts: 1
Hello everyone,

I made a listview that has three textviews and a checkbox and put it into a BaseAdapter. What it has to do is if an item is at the 'unread' status, then make its textviews BOLD. However, I encountered two problems.

1. the top item is always BOLD no matter it is read or unread.
2. If I do scrolling, then items reloaded by scrolling start to be bold

I researched about it but couldn't find any good things for me. If anyone has an idea, would you please help me? Below is my getView().
 
IntelliJ Java IDE
 
subject: BaseAdapter: getView() problem
 
Threads others viewed
Multiple Checkboxes in ListView
styling items of a ListView
how we can add two different lists with separator between the two???
listview with checkbox problem
How to Create two parallel listViews where each list view contains a text and a icon
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture