mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
a11c4607b4
This commits improves the options menu inflation and invalidation logic in the EditorActivity. The options menu is now properly invalidated in onPrepareOptionsMenu and inflated only when required. Also, the options menu is now lazily invalidated, cancelling all the previous invalidation calls in order to prevent re-inflating the options menu frequently.