Closed sudansh closed 4 years ago
Hi, @sudansh.
The width of the popup is determined by the width size of the PowerSpinnerView
.
So I think If your parent view's width size is 0 or changed from 0, then the width of the popup could be 0.
Could you build using this demo project?
@skydoves Thanks for the information. I have my view as gone
and then making it visible
. Making it from invisible
to visible
showed the dropdown. I have fixed it by setting the adapter after it is visible.
Please complete the following information:
Describe the Bug:
The dropdown menu isn't showing on click of the powerspinner. On debugging I found out the width of the view is 0. If I use
spinner_popup_width
with some value the dropdown shows.Expected Behavior: The dropdown should show
Doesn't Work
Works