EmptyView of ListView inside viewflipper
===

I want to show emptyview for listview when cursor adapter attached to list is empty.it is quite straight forward when parent of listview in some layout.

I want to do exactly same with the parent of listview as viewflipper.
Actually, viewflipper flips between different listviews. how can i do that?
If i add emptyview by xml or dynamically by code it is considered as a view in viewflipper.



One possible way can be to extend listview class to make custom listview with emptytext by default.. and add these lists in viewflipper.. but i dont want to change hierarchy of program..as in current hierarchy it sometimes cast viewflipper.getparent to listview..which would be disturbed severely.


