how to populate tree view of contacts and groups?

i been trying to populate a tree view of roster contacts without luck

Roster roster = Roster.getInstanceFor(connection);

Collection entries = roster.getEntries();

for (RosterEntry entry : entries) {



i wish to have a separate class that can hold contact object values of presence and an name and id, and an image offline , online , now can i do that? how do i make a tree view of that object ?

been reading more java books and i stuck with it , appreciate help.


Read More »

By: StackOverFlow - Monday, 16 April

Related Posts