Hello.
Let me questions.
In the table below, 1 and 2 will fail.
-
It crashes at run time.
message
"Unsupported OperationException"
-
No error will occur.
However, as you update the timeline, it will not be deleted.
If I get advice on these, I am very happy.
call.enqueue(new Callback<List<Tweet>>() {
@Override
public void success(Result<List<Tweet>> result) {
result.data.remove(index); // error 1
tweetList.addAll(result.data);
tweetList.remove(Index); // error 2
adapter.notifyDataSetChanged();