You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 7, 2026. It is now read-only.
If you create an activity which extends LightCycleAppCompatActivity and it contains a fragment which extends LightCycleSupportFragment, the activity receives a callback to onOptionsItemSelected when you select an option item (as usual), but the fragment doesn't.
It seems like this might be due to LightCycleAppCompatActivity not calling super.onOptionsItemSelected() - therefore the event doesn't get propagated to the fragments in the activity.
If you create an activity which extends
LightCycleAppCompatActivityand it contains a fragment which extendsLightCycleSupportFragment, the activity receives a callback toonOptionsItemSelectedwhen you select an option item (as usual), but the fragment doesn't.It seems like this might be due to
LightCycleAppCompatActivitynot callingsuper.onOptionsItemSelected()- therefore the event doesn't get propagated to the fragments in the activity.See: https://github.com/soundcloud/lightcycle/blob/master/lightcycle-lib/src/main/java/com/soundcloud/lightcycle/LightCycleAppCompatActivity.java#L47