PowerMenu icon indicating copy to clipboard operation
PowerMenu copied to clipboard

Can't make multiple items highlighted at the same time

Open ChinaFLTV opened this issue 2 years ago • 1 comments

  • Library Version v2.2.3
  • Affected Device(s) Huawei honor with Android 9.0

I checked the source code and found that the setSelectedPosition method called in the getView method in the MenuListAdapter will clear other items except the first one in the selected state,making the selection settings for other items invalid,thus making only one item in the highlighted state in the same time period,sos >~~<

Expected Behavior:

multiple item are in the highlighted state at the same time period when open the powermenu

ChinaFLTV avatar Jun 11 '23 14:06 ChinaFLTV

Now,I adjust the method in the BasicListAdapter by removing the call to the function called setSelectedSection and it achieve previous idea!

ChinaFLTV avatar Jun 12 '23 01:06 ChinaFLTV