Android Question [Android Architecture Components] available in the near future?

fredo

Well-Known Member
Licensed User
Longtime User
In an effort to create the next project with more modern possibilities, a look was taken at the relatively new "Android Architecture Components".

An interesting introduction from Google's developer is here:


Is it imaginable that there will be B4A Libraries of those important components in the near future?


Just like in the Firebase world, the modules can be used individually and independently of each other.

For example, "Room" could be the first module to considerably simplify an MVVM approach for non-trivial applications.​


 

DonManfred

Expert
Licensed User
Longtime User
For example, "Room" could be the first module to considerably simplify an MVVM approach for non-trivial applications.
Room depends on annotations which needs to be included in your own class to define your room-Database.
The (java) Classes needs to be compiled by Android Studio to generate the desired Room-code.

Writing a simple wrapper will not help with "Room" unfortunately.
I did learned this lesson while write a wrapper for the ExternalLogger which is based on Room.

See the Github project Source for an Example on Database and DAO classes needed.
 
Last edited:
Upvote 0
Top