خرید بک لینک

Vote count: 0

    ListAdapter adapter = new SimpleAdapter(Search.this, selected,R.layout.displays_searchitems, new String[]{"EAN","COMPANY", "NAME","DESCRIPTION", "BRAND", "CBRAND"}, new int[]{
    R.id.ets_ean, R.id.ets_company, R.id.ets_name,   R.id.ets_desc, R.id.ets_brand, R.id.ets_cbrands});
    customList.setAdapter(adapter);

So this my adapter. Search is the name of my class. its_ean,its_comapny.... are all the id of the editText that i'm displaying the data into from the database. The problem is, each time i search for new result it's displaying one below the other than auto-refreshing. notifyDataSetChanged() is not working.

asked 20 secs ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 31 خرداد 1395 ساعت: 11:35

صفحه بندی