Thanks for using Zoom SDK. We have tried to build the example2 app and we are not able to reproduce the issue you are facing. Could you use the example2 project and build a demo apk for us to further investigate?
Actually problem in sample was bottom Tool bar share button id & custom share button inside your sample both have same id(findviewbyid) so listener collapse will not work.