F
F
fly12320082017-07-14 11:33:16
Android
fly1232008, 2017-07-14 11:33:16

How to make CursorAdapter in pure android architecture?

Question about clean architecture. There is a CursorAdapter. On his shoulders, both View management and reading from the database are obtained, which does not really fit into the division into independent layers. How to properly organize a CursorAdapter in a clean architecture? Throwing the base object (cursor) through all layers into the adapter somehow does not look right

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2017-07-14
@zagayevskiy

Don't use cursoradapter, use normal models.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question