aliasadi / android-mvvm-architecture Goto Github PK
View Code? Open in Web Editor NEWA basic sample android application to understand MVVM in a very simple way.
A basic sample android application to understand MVVM in a very simple way.
can you handle data binding in this sample?
Caused by: java.lang.ClassCastException: com.aliasadi.mvvm.data.domain.Movie cannot be cast to com.aliasadi.mvvm.data.model.MovieRemote
at com.aliasadi.mvvm.ui.details.DetailsActivity.createViewModel(DetailsActivity.java:54)
at com.aliasadi.mvvm.ui.details.DetailsActivity.createViewModel(DetailsActivity.java:26)
at com.aliasadi.mvvm.ui.base.BaseActivity.onCreate(BaseActivity.java:20)
at com.aliasadi.mvvm.ui.details.DetailsActivity.onCreate(DetailsActivity.java:36)
at android.app.Activity.performCreate(Activity.java:7845)
at android.app.Activity.performCreate(Activity.java:7834)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3280)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3466)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2045)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:239)
at android.app.ActivityThread.main(ActivityThread.java:7500)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
I copies your project as it is, same code, and files,gradle properties, but when i am running my App The Network module says : No Item where as when i rum your's it shows the list of movie.
Please help with it ASAP.
Note: I have just updated the gradle implementation versions to latest one's and all other code is exactly same, its till not working.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.