Skip to content

Android arch component#1

Open
codecameo wants to merge 4 commits intors146:developfrom
codecameo:android_arch_component
Open

Android arch component#1
codecameo wants to merge 4 commits intors146:developfrom
codecameo:android_arch_component

Conversation

@codecameo
Copy link
Copy Markdown

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