i have created a custom dialog class
public class NewPost extends Dialog
{
// functionality
}
now my requirement is to create listview inside it. i know we can create textboxes,buttons,dropdown list inside it.
but in order to create list view we should inherit our class from listActivity class
what you suggest is it possible or not if yes then how to achieve this using any interface or what?
You don’t really have to extend
listActivityin order to use listviews.Extending
listActivitywill give you some functionality for free, such asgetListView()(if I recall the method name correctly), but that can just as well be done manually withfindViewById()just as any other view.