openHPI / xikolo-android

📱 Android App of the HPI MOOC Platform
https://play.google.com/store/apps/dev?id=7185448023325736337
GNU General Public License v3.0
41 stars 15 forks source link

Enroll deeplink does not show CourseActivity in `enrolled` state #269

Closed bengelhaupt closed 4 years ago

bengelhaupt commented 4 years ago

When clicking on the enroll button on the web and being led to the app, the CourseActivity is not started in the enrolled mode and only shows description and certificate tabs.

This is caused by not having an active observer after initialization. But when adding such an observer and the user is led into the app by such an enrollment deeplink, the activity would need to be restarted as there was a bug with our viewpager.