[AC-5471] Android DrawerLayout getCenterView method is not working
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Invalid |
Resolution Date | 2017-12-30T22:20:47.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Mohamad Alhajj |
Assignee | Shak Hossain |
Created | 2017-12-25T09:12:08.000+0000 |
Updated | 2017-12-30T22:20:48.000+0000 |
Description
The returned error when getCenterView is used is as follows:
*getCenterView is not a function*
Titanium version: 6.3.0.GA
Attachments
File | Date | Size |
---|---|---|
getCenterViewAndroidDrawerLayout.zip | 2017-12-28T16:08:19.000+0000 | 9426056 |
Hello [~malhajj], Thanks for sharing with us. Please create a full reproducible test code and provide here for us to test the issue. Also, provide detail affected environment. Thanks.
Hello Mostafizur, I've updated the Environment field with the details about the affected environment and attached a test scenario. Regards
Hello, Why are you calling "androidDrawer.centerView" and "androidDrawer.getCenterView()" in console log? You already create them in drawer creation. "androidDrawer.getCenterView()" is when you don't define the certerview in drawer creation and you assign to it in drawer by the event listener. Something like below.
This issue is invalid. Thanks.