How to get WXSDKInstance in custom IActivityNavBarSetter in weex android version?

Weex provides WXNavigatorModule for navigation control, and the corresponding method can be customized by setting the IActivityNavBarSetter API. Navigation control needs to get the Activity, of the current operation, but this interface IActivityNavBarSetter can"t get the WXSDKInstance instance of WXNavigatorModule.

do I understand it wrong, or is there another way to solve it?

Feb.28,2021

I encountered the same problem. The final solution is to copy a copy of the WXNavigatorModule code, and then overwrite the original module

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be411c-30a27.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be411c-30a27.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?