ashishoc

Results 3 comments of ashishoc

**Activity** > ``` > @Override > public void onCreate(Bundle savedInstanceState) { > super.onCreate(savedInstanceState); > setContentView(R.layout.contact_main); > > ButterKnife.bind(this); > this.setMaterialMenu(R.id.toolbar); > this.disabledTitle(); > pref=new Pref(this); > > ArrayList dataSet=getData(); >...

alternatively is there way to restore normal state while swiping left? Some time need to restore item rather then deletion.

Thanks, Btw I came to this solution for now.. ``` if (direction == SWIPE_LEFT) { //restore state notifyItemChanged(position); } ```