SyntaxFix
Write A Post
Hire A Developer
Questions
simply add to your data structure ( mItems ) , and then notify your adapter about dataset change
private void addItem(String item) { mItems.add(item); mAdapter.notifyDataSetChanged(); } addItem("New Item");