Added empty listview support
Added empty listview support