I have Layout
with ListView
and in bottom there is EditText
field where user can write down title and add new item in ListView
. I the List item there is title but I want to add checkbox too. This is my code :
protected void addItemList() {
// TODO Auto-generated method stub
// TODO Auto-generated method stub
if (isInputValid(etInput)) {
itemArrey.add(0,etInput.getText().toString());
etInput.setText("");
itemAdapter.notifyDataSetChanged();
}
How can I add a checkbox?