Short answer: No You could: Have the one child click listener do many things Design your own custom listener system for registering custom listeners. Register custom listeners in your custom listener system. Have the one child click listener of the ExpandableListView tell the custom listener system to iterate through all of its listeners and notify them of the event Can I have a onGroupClickListener somewhere in the same class too?
Yes. You could create and register one very much like you did for the child click listener.
Short answer: No. You could: Have the one child click listener do many things. Design your own custom listener system for registering custom listeners.
Register custom listeners in your custom listener system. Have the one child click listener of the ExpandableListView tell the custom listener system to iterate through all of its listeners and notify them of the event. Can I have a onGroupClickListener somewhere in the same class too?
Yes. You could create and register one very much like you did for the child click listener.
Ok, well I need to know when a group item is clicked and I need to know when a child item is clicked. Is it possible to put them in one general onClickListener? – yellavon May 25 at 19:32 Updated my answer to cover both of the original questions.
If you register both listeners, then they'll get called according to what I understand you're trying to achieve: when a group item is clicked, the group click listener will be notified; and when a child item is clicked, the child click listener will be notified. – Programmer Bruce May 25 at 19:47.
Have the one child click listener of the ExpandableListView tell the custom listener system to iterate through all of its listeners and notify them of the event.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.