Skip to content

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