I am populating ListView with an adapter as:
ListView lv;
FilterAdapter adapter=new FilterAdapter(Brand,Model,Price,Id);
lv.setAdapter(adapter);
Here FilterAdapter is another adapter class made by me. When I am adding, the last added object is going at the bottom of the listview, I want it to come on top and the order of items in listview to be recently added-last added. How can i achieve this, do i have to make changes in FilterAdapter class (getView() method)?