Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android arch component #1

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

codecameo
Copy link

Android architecture component (ViewModel) has been integrated with the existing project. As DaggerActivity extends from Activity and ViewModelProviders.of() method requires a Fragment or FragmentActivity as it's first parameter, The parent of MainActivity has been changed to AppCompatActivity from DaggerActivity and addition modifications have been made because of this change.

# Conflicts:
#	app/build.gradle
#	app/src/main/java/uk/co/mycompany/ui/main/MainActivityViewModel.kt
#	app/src/main/java/uk/co/mycompany/ui/main/ViewModelFactory.kt
#	app/src/main/java/uk/co/mycompany/ui/main/di/ViewModelModule.kt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants