Skip to content

Conversation

@serializer
Copy link
Member

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.

@serializer serializer changed the title Resolve app crash on clicking skip fix: Resolve app crash on clicking skip Dec 10, 2019
@auto-label auto-label bot added the fix label Dec 10, 2019

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
}
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

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

okayy

@iamareebjamal
Copy link
Member

Search for other onCreates which might be referring to viewLifecycleOwner

@fossasia fossasia deleted a comment from serializer Dec 10, 2019
@fossasia fossasia deleted a comment from serializer Dec 10, 2019
@iamareebjamal iamareebjamal changed the title fix: Resolve app crash on clicking skip fix: Move viewLifeCycleOwner reference to onCreateView Dec 10, 2019
@iamareebjamal iamareebjamal merged commit 096a7a1 into fossasia:development Dec 10, 2019
rcs10 pushed a commit to rcs10/open-event-attendee-android that referenced this pull request Jun 18, 2020
rcs10 pushed a commit to rcs10/open-event-attendee-android that referenced this pull request Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

App crash on clicking skip

2 participants