-
Couldn't load subscription status.
- Fork 554
fix: Move viewLifeCycleOwner reference to onCreateView #2486
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
Conversation
|
|
||
| override fun onCreate(savedInstanceState: Bundle?) { | ||
| super.onCreate(savedInstanceState) | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
onCreate is redundant. Remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okayy
|
Search for other onCreates which might be referring to viewLifecycleOwner |
Signed-off-by: rcs10 <dhanueshrc28@gmail.com>
Signed-off-by: rcs10 <dhanueshrc28@gmail.com>
Fixes #2482
Changes: Instead of observing in onCreate method, I have observed the changes in onCreateView as the views get initialized after that in fragments.