Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Great tutorial. But i’m facing a little problem. When I rotate the phone, the data remains there… when I “rerotate” de phone, the data remains there, but the cursor comes back to initial point… Do you have some thoughts about it?
- Victor
This is not pure MVVM pattern, It is mixture of MVVM and MVP. In MVVM ViewModel doesn’t know about View, but here ViewModel has reference of View(Activity) through LoginResultCallback .
- Shubham
Hello, Is there a way i can subscribe to you, so that I would be notified whenever a new article related to Android/Java is posted. Your articles are great. Thanks Aakash
- Aakash Jain
hi,i do this step by step but it showed me a “duplicate class found in activity_main.xml” error! please help
- امیر
Hi, If I don’t use Databinding/Livedata, then will my app fall in MVVM pattern?
- Tushar
Found data binding errors. ****/ data binding error ****msg:Cannot find the setter for attribute ‘bind:toastMessage’ with parameter type java.lang.String on android.widget.Button
- Luciano Moura
Brother can you give me same example of mvvb and mvp to understand the patterns better ?
- Md. Rafsan Biswas
Hi Anupam, From past few days i have been searching for mvvm in android, then i have found yours code simple and understandable, but as the comments section says this is not pure mvvm, So, please can u provide the pure mvvm understandable example for simple login page. Please help ASAP, I am in extreme need of it. Thank you in advance.
- Rajesh
ViewModel: It acts as a link between the Model and the ViewModel. I think it should be “It acts as a link between the Model and the View”
- Pratik Butani
Very neat and simple to understand this tutorial. I though MVVM is very hard to learn, but with your support and tutorial it makes me learner. Thanks lot man!! But i am obstruction of below error… Please help to find this error Found data binding errors. ****/ data binding error ****msg:cannot find method afterEmailTextChanged(android.text.Editable) in class com.eyeraise.kot.model.login.LoginModel file:/Users/bala/Documents/Muthu/Source/eyeraise/kot/app/src/main/res/layout/activity_login.xml loc:27:64 - 27:104 ****\ data binding error ****
- Muthukumar Subramaniam