0

I know there were plenty of similar problems there but I didn't find specific problem like that. What I expect? After I update my row by setOnItemClickListener I want to update my listview from database and see it updated without screen moving to first row every time I update listview. How it works right now?

                    dbWorker.fillList();
                    ArrayList<Uni> List = StaticVariables.List;
                    final listviewAdapterList adapterList = new listviewAdapterList(ListActivity.this, List);
                    lvList.setAdapter(adapterList);

I know that I can somehow use notifyDataSetChanged() but I'm not quiet sure where should I use it to not move list from row I clicked to first row.

JohnBaron
  • 31
  • 4

0 Answers0