Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

ViewModels? #484

Open
raveesh-me opened this issue Sep 29, 2017 · 3 comments
Open

ViewModels? #484

raveesh-me opened this issue Sep 29, 2017 · 3 comments
Labels

Comments

@raveesh-me
Copy link

Hi!
I am new to android development, yet have committed myself to kotlin/Anko pair. It seems that the development on the Anko side has slowed down a lot. I really love developing my UI in Anko. However, I don't know how to use Android ViewModels with Anko. Are there any examples? Is there a way that I can help?

Android Architecture components provide some much-needed abstractions. I mainly prefer Anko for its speedy layouts vs. inflating XML on runtime. Anko is definitely the future of Android development, but currently, it is competing with android architecture components in lots of ways (Anko SQLite vs ROOM) etc.
I want to know the future of Anko and its place in android development. Currently, I want to leverage android ViewModels with Anko and I can't find an example. Any help?

@nbnbbs
Copy link

nbnbbs commented Oct 10, 2017

ViewModel contain data for your UI, what a problem to bind it to Anko view?

@4u7
Copy link
Contributor

4u7 commented Nov 9, 2017

@raveeshtech This may help you https://github.com/JetBrains/kotlinconf-app/tree/master/android

@4u7 4u7 added the question label Nov 14, 2017
@partounian
Copy link

Came across this question while looking into Room vs Anko SQLite, would love to hear more about those modules, and the future of this project

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants