# setGalleryViewCapacity() not working?

**URL:** <https://devforum.zoom.us/t/setgalleryviewcapacity-not-working/58030>\
**Category:** Android\
**Created:** [September 27, 2021, 6:10am UTC](https://devforum.zoom.us/t/setgalleryviewcapacity-not-working/58030 "2021-09-27T06:10:19Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhaveshpatil0404](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bhaveshpatil0404/32/31385_2.png) [@bhaveshpatil0404](https://devforum.zoom.us/u/bhaveshpatil0404)\
**Post date:** [September 27, 2021, 6:10am UTC](https://devforum.zoom.us/t/setgalleryviewcapacity-not-working/58030/1 "2021-09-27T06:10:19Z")

</div>

**Description**  
set gallery view capacity methos is not working in android sdk 5.5  
MeetingSettingsHelper meetingSettingsHelper = instance.getMeetingSettingsHelper();  
meetingSettingsHelper.setGalleryViewCapacity(16);  
meetingSettingsHelper.setGalleryVideoViewDisabled(false);

**Which Android Meeting SDK version?**  
5.5

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [September 27, 2021, 4:31pm UTC](https://devforum.zoom.us/t/setgalleryviewcapacity-not-working/58030/2 "2021-09-27T16:31:50Z")

</div>

Hi @bhaveshpatil0404, thanks for using our SDK.

Can you please confirm that you are using the default UI? Also, how are you verifying the functionality of this method? Is this behavior reproducible on the latest version of the SDK?

Thanks!

---

<div class="post-metadata">

**Author:** ![bhaveshpatil0404](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bhaveshpatil0404/32/31385_2.png) [@bhaveshpatil0404](https://devforum.zoom.us/u/bhaveshpatil0404)\
**Post date:** [September 27, 2021, 4:44pm UTC](https://devforum.zoom.us/t/setgalleryviewcapacity-not-working/58030/3 "2021-09-27T16:44:59Z")

</div>

Yes i am using default UI  
Seeing maximum number of user in gallery view at one screen  
It’s working in sdk 4.4 but 4.4 is deprected now

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [September 27, 2021, 10:07pm UTC](https://devforum.zoom.us/t/setgalleryviewcapacity-not-working/58030/4 "2021-09-27T22:07:30Z")

</div>

Hi @bhaveshpatil0404,

Are you able to reproduce this behavior in the latest version of the SDK?

Thanks!

---

<div class="post-metadata">

**Author:** ![bhaveshpatil0404](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bhaveshpatil0404/32/31385_2.png) [@bhaveshpatil0404](https://devforum.zoom.us/u/bhaveshpatil0404)\
**Post date:** [September 28, 2021, 3:05am UTC](https://devforum.zoom.us/t/setgalleryviewcapacity-not-working/58030/5 "2021-09-28T03:05:53Z")

</div>

Sorry, but i am not getting your question

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [September 28, 2021, 4:06pm UTC](https://devforum.zoom.us/t/setgalleryviewcapacity-not-working/58030/6 "2021-09-28T16:06:55Z")

</div>

Hi @bhaveshpatil0404,

The latest version of the SDK is 5.7.1.1268. Can you please try updating to this version and see if you can reproduce the issue?

Thanks!

---

<div class="post-metadata">

**Author:** ![bhaveshpatil0404](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bhaveshpatil0404/32/31385_2.png) [@bhaveshpatil0404](https://devforum.zoom.us/u/bhaveshpatil0404)\
**Post date:** [September 29, 2021, 11:51am UTC](https://devforum.zoom.us/t/setgalleryviewcapacity-not-working/58030/7 "2021-09-29T11:51:34Z")

</div>

Yes, but in this SDK i getting problem for below methods  
showLeaveDialog();  
switchToNextCamera();  
isAudioConnected();  
connectVoIP();  
showParticipants();  
showShareOptions();  
showMoreOptions();

 ![Screenshot (133)](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/1/310c36a074734cc50d0e62ca95a330035d92ce5b.png)

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [September 29, 2021, 6:41pm UTC](https://devforum.zoom.us/t/setgalleryviewcapacity-not-working/58030/8 "2021-09-29T18:41:47Z")

</div>

Hi @bhaveshpatil0404,

Our [release notes](https://marketplace.zoom.us/docs/changelog#publications/android-meeting-sdk-v5-7-1) should have information on the replacements for these removed deprecated methods. Let me know if there is anything missing or if anything is unclear and I will be more than happy to help. 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 30, 2021, 4:42am UTC](https://devforum.zoom.us/t/setgalleryviewcapacity-not-working/58030/9 "2021-10-30T04:42:18Z")

</div>

Closed on October 30, 2021, 4:42am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
