This is a simple piece of code to add items to listview dynamically throgh edittext and button.