Android ListView selecting item replaces text in top list view item -


i have listfragment shows items database. when user clicks on item in list view, details appear in second fragment. however, listview replaces text in top item text of selected item. can still click on top item , details of should there, , correct text. i'm @ loss causing this, itemclick code doesn't change in listview, reads data event args. know causing this?

    cardfragment cardfragment = fragmentmanager.findfragmentbyid<cardfragment>(resource.id.frgcard);     if (cardfragment == null)     {         cardfragment = cardfragment.newcardfragment(e.id);         var transaction = fragmentmanager.begintransaction();         transaction.replace(resource.id.frgcard, cardfragment);         transaction.settransition(fragmenttransit.fragmentfade);         transaction.commit();     }     else     {         cardfragment.changecard(e.id);     } 

here list adapter (a simplecursoradapter):

simplecursoradapter cursoradapter = new simplecursoradapter(activity, resource.layout.card_list_item, mcursor, columns, to);                 cursoradapter.stringconversioncolumn = 0; // sort name column                 cursoradapter.filterqueryprovider = new filterqueryprovider(activity); 


Comments

Popular posts from this blog

Java 3D LWJGL collision -

methods - python can't use function in submodule -

c# - ErrorThe type or namespace name 'AxWMPLib' could not be found (are you missing a using directive or an assembly reference?) -