BaseExpandableListAdapter is not called

In this class

   public class Rest_name_adapter extends BaseExpandableListAdapter  {
   }

I have put Logs in all the methods to check the sequence of called methods. But from the statement in my activity class

   exp_listView.setAdpater(new Rest_name_adapter(getParent(), group_list, child_list));

It goes to the Rest_name_adapter class, just calls the contructor and nothing else. I dont know why It is not calling this: getChildView() and getGroupView() methods?? In context, I have used getParent() because this is the child of TabGroupActivity. Please help

Answers


Do you implement some methods in your Rest_name_adapter? If not there is a simple explanation - adapter calls getGroupCount(), which returns 0 by default. As there a no groups - no views needed. So there is no one call to getGroupView() occured.


Need Your Help

Is it possible to selectively build WinCE directories in parallel

windows-ce platform-builder

I was wondering if it is possible to build (via blddemo) some of the directories (i.e. their trees) in parallel while others not.

Develop a Bootloader In Assembly

assembly nasm boot bootloader floppy

I've already done a part of my OS in Assembly, but now I want to build a own bootloader for it too instead of using GRUB. When I was developing my test OS in Assembly I remember that I boot it like...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.