I have a problem with the setEmptyView method from a ListView.
Here is my Java code:
ListView view = (ListView)findViewById(R.id.listView1); view.se
Just use,
View emptyView = getLayoutInflater().inflate(R.layout.empty_view, null); ((ViewGroup)listView.getParent()).addView(emptyView);
Instead of listView.setEmptyView(emptyView);
listView.setEmptyView(emptyView);