#3756 Convert SearchDepictionsFragment to use Pagination (#3758)

This commit is contained in:
Seán Mac Gillicuddy 2020-05-28 12:10:04 +01:00 committed by GitHub
parent 0ebd59a223
commit c216fdf0d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 1035 additions and 616 deletions

View file

@ -1,5 +1,7 @@
package fr.free.nrw.commons;
import androidx.annotation.NonNull;
/**
* Base presenter, enforcing contracts to atach and detach view
*/
@ -7,7 +9,7 @@ public interface BasePresenter<T> {
/**
* Until a view is attached, it is open to listen events from the presenter
*/
void onAttachView(T view);
void onAttachView(@NonNull T view);
/**
* Detaching a view makes sure that the view no more receives events from the presenter