Closed chnouman closed 6 years ago
Adding Snaps dynamicaly and notifyDataSetChanged gives this above error what i'm doing so far is
//add three more items progressBar.setVisibility(View.VISIBLE); new Handler().postDelayed(new Runnable() { @Override public void run() { List<App> apps = getApps(); snapAdapter.addSnap(new Snap(Gravity.CENTER_HORIZONTAL, "Paper Industry", apps)); snapAdapter.addSnap(new Snap(Gravity.CENTER_HORIZONTAL, "Wood Industry", apps)); snapAdapter.addSnap(new Snap(Gravity.CENTER_HORIZONTAL, "Cement Industry", apps)); snapAdapter.notifyDataSetChanged(); progressBar.setVisibility(View.GONE); } },3000);
@SUPERCILEX can you please help
@rubensousa
sorry that was due to my mistake.
Adding Snaps dynamicaly and notifyDataSetChanged gives this above error what i'm doing so far is