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

setContentView() not required here. #4

Merged
merged 1 commit into from
Mar 24, 2017

Conversation

EurigJones
Copy link

DataBindingUtil.setContentView() as well as returning the binding, it also sets the given layout as the content view of the given Activity.

DataBindingUtil.setContentView() as well as returning the binding, it also sets the given layout as the content view of the given Activity.
Copy link
Owner

@ericmaxwell2003 ericmaxwell2003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there,. Yup, forgot to take that out. It's added by Android Studio when you create the activity :-)

Thank you!
Eric

@ericmaxwell2003 ericmaxwell2003 merged commit a0660af into ericmaxwell2003:mvvm Mar 24, 2017
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