Anko: MVVM,MVC

Created on 2 Apr 2019  路  6Comments  路  Source: Kotlin/anko

how to use MVVM or MVC patterns in anko side ?
@yole
@EddieRingle
@yanex
@hhariri

Most helpful comment

I don't think any architecture pattern has a correlation with Anko because Anko has nothing to do with them. Anko will make your code clean and easy to read. The implementation of Anko to any architecture pattern is vary based on individual preferences.

All 6 comments

Please don't @-mention random people when asking questions.

ok , am sorry about this

am witing for answer about y question

I am also waiting for answer about y question

I'm does not expert with Anko or architecture patterns, but did u tries to use it in the same places where u use the default xml? Something like
LayoutInflater.inflate(...) or setContentView(...)
replace to
CustomAnkoComponent.createView()

I don't think any architecture pattern has a correlation with Anko because Anko has nothing to do with them. Anko will make your code clean and easy to read. The implementation of Anko to any architecture pattern is vary based on individual preferences.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AndwareSsj picture AndwareSsj  路  4Comments

jeantuffier picture jeantuffier  路  5Comments

bapspatil picture bapspatil  路  4Comments

maomaobug picture maomaobug  路  4Comments

SuleymanovTat picture SuleymanovTat  路  4Comments