I have a Activity
called ListaBasica
and a Adapter
with the name adapterBasico
. Adapter
contains a list of bulletins. The Activity
contains information taken from the Adapter
as the sum of the time reported in the bulletin.
My question is this: when I delete some items from Adapter
I need to have Activity
updated. I would like to know if there is any way to check if Adapter
has undergone some kind of change, as with EditText
when using:
EditText.addTextChangedListener(new TextWatcher() {
@Override
public void afterTextChanged(Editable s) {
}
@Override
public void beforeTextChanged(CharSequence s, int start, int count, int after) {
}
@Override
public void onTextChanged(CharSequence s, int start, int before, int count) {
}
});
Is there something like this to check Adapter
?