titanium-sdk
titanium-sdk copied to clipboard
Android: invalid id
I have searched and made sure there are no existing issues for the issue I am filing
- [X] I have searched the existing issues
Description
when I use
<Alloy>
<TabGroup style="Titanium.UI.Android.TABS_STYLE_BOTTOM_NAVIGATION">
<Tab id="tab1" title="Home" >
<Window></Window>
</Tab>
</TabGroup>
</Alloy>
I receive the Invalid ID 0x00000000
error (no crash or UI issue). Happens with 10.1.1.GA and 10.2.0
Another test:
<Alloy>
<Window>
<Menu platform="android">
<MenuItem title="Test" />
</Menu>
</Window>
</Alloy>
Platform
Android
SDK version you are using
10.1.1.GA
@hansemannn let's continue the search here.
I can reproduce the error with the <TabGroup>
example above BUT only with TABS_STYLE_BOTTOM_NAVIGATION
Very interesting. For me, adding a unique itemId
to the menu item fixes the issue that happens on-focus for me.
I have another app where the itemId
fixed the issue too. Still unsure about the TabGroup :thinking: