java - Multiselect Recyclerview List -
good day all,
i have list of items want user able select 5 out of 10 items , 5 able send data off webservice.
but neither of them worked or github repo non existent (the second one).
does have other tuts on how this?
thank you
what going on proplem? video (https://www.youtube.com/watch?v=7du30yal6ri) expectation?
in example, create empty class , simple recyclerview.
the view item handle user click behaviour. if user selected item click again item not select , otherwise. when action happening, have listener send mainactivity (implemented onitemchangelistener
method of interface defined in adapter
)
in mainactivity, create layout recyclerview, delete button, , no items labels. delete button process delete , update list data.
the source code at: https://github.com/liemvo/example_recyclemultiselected
Comments
Post a Comment