[Bug] [Android] Cannot add/remove menuitems at runtime to contextActions of a ViewCell
#8 284 ouverte le 29 oct. 2019
Métriques du dépôt
- Stars
- (5 644 étoiles)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
Description
It is not possible to add or remove menuitems to a viewcell at runtime. This actually only does not work for Android.
Steps to Reproduce
-
Clone this repository: https://github.com/BrayanKhosravian/AddMenuItemAtRuntime
-
Select Android as startup project
-
long press on one of the
ViewCellwhich are visible inside theListView(just to verify that there is only 1MenuItem) -
Click the
"Add"- Button to add aMenuItemat runtime -
Long click the same
ViewCell -
result: no
MenuItemwas added -
try the same with remove
-
to verify the behavior check the same steps for uwp and ios (result: MenuItems get added)
Expected Behavior
It should be able to add/remove MenuItem´s at runtime to a ViewCell. This works for Ios and UWP.
Actual Behavior
It is not possible to add/remove MenuItem´s at runtime to a ViewCell. This works for Ios and UWP.
Basic Information
- Version with issue: v4.3.0908675 (lower versions as well)
- Last known good version: -
- IDE: Visual Studio 2019 v16.3.2
- Platform Target Frameworks:
- Android: 9.0
- Android Support Library Version:
- Nuget Packages: no external nugets
- Affected Devices: tested with Huawei p20, but this is a generic issue
Reproduction Link
https://github.com/BrayanKhosravian/AddMenuItemAtRuntime
Screenshots
Not working on android

Working on IOS

Working on UWP
