I want to use the following code snippet, please help me in understanding the given functions or suggest me online documentation that can I use.
view.animate().setDuration(2000).alpha(0)
.withEndAction(new Runnable() {
@Override
public void run() {
list.remove(item);
adapter.notifyDataSetChanged();
view.setAlpha(1);
}
});
what does function setDuration(2000)
, .alpha(0)
,.alpha(1)
and .withEndAction()