1

Using SQLite with ListFragment makes problems

view story
linux-howto

http://stackoverflow.com – I am using a ListFragment to show data from a database. But the data is not shown correctly. Inside my Fragment I add an contact to the SQLite database after the user has clicked on an ActionBar item and inserted a name: //Handle OnClick events on ActionBar items @Override public boolean onOptionsItemSelected(MenuItem item) { // handle item selection switch (item.getItemId()) { case R.id.menu_add: Toast.makeText(getActivity(), "Click", Toast.LENGTH_SHORT).show(); LayoutInflater factory = LayoutInflater.from(getActivity()); //textEntryView is an Layout (HowTos)