Previously, I didn’t really bother, but now I wondered: where to put the adapter in terms of mvc ? Until now, I used approximately the following project structure:
+ model \
| ----- \ data (data models)
| ----- \ database (helper and provider)
| ----- \ operation (network operations and database operations)
+ ui \ (activty, fragments ...)
+ util \
| ---- \ adapters (adapters)
| ----........
The question is not how to implement it, the question is kosher ─ how best to organize the code.