mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Refactored to move out nearby adapter from the activity
This commit is contained in:
parent
a5fe5ff5a6
commit
c2ccd95089
4 changed files with 87 additions and 47 deletions
7
app/src/main/java/fr/free/nrw/commons/ViewHolder.java
Normal file
7
app/src/main/java/fr/free/nrw/commons/ViewHolder.java
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
package fr.free.nrw.commons;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public interface ViewHolder<T> {
|
||||
void bindModel(Context context, T model);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue