android - SimpleCursorAdapter - set 2 columns to 1 view -
i have sqlite datebase displaying data in listview simplecursoradapter . have 2 columns want displey them in 1 textview . how can that? thanks try code , may you method calling listview oncreate private void populatelistviewfromdb1() { cursor cursor = helper1.getalldata(sharedemail); startmanagingcursor(cursor); string[] productname = new string[] { databasehelper.key_namevalue, databasehelper.key_type, }; int[] viewproduct = new int[] { r.id.textview1, }; // create adapter mysimplecursoradapter mycursoradapter = new mysimplecursoradapte...