SideContextMenuView Not working
See original GitHub issueI just installed this from nuget and im having a problem making it work. dose the source code differ from nuget?
I have this in listview, the first 5 items work and i could slide it and the button come out but after the 5 items i cant slide anything. and also the items stop beging visible.
Here is my xaml have a look
<controls:YListView x:Name="lstVideos" OnSelected="lstVideos_OnSelected">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<views:SideContextMenuView IsAutoCloseEnabled="true">
<views:SideContextMenuView.View>
<Frame BorderColor="Transparent" Style="{StaticResource FrameContainer}"
WidthRequest="{Binding Source={x:Reference lstVideos},
Path=Width, Converter={ StaticResource MenuFitWidth},
ConverterParameter='0'}">
<StackLayout Style="{StaticResource FormFloatLeft}">
<Image Aspect="Fill" HeightRequest="40" WidthRequest="50" Source="{ Binding Path=., Converter={StaticResource ImageSource}}" ></Image>
<StackLayout Orientation="Vertical">
<StackLayout Style="{StaticResource FormFloatLeft}">
<Label Text="{Binding Title}" VerticalOptions="Start" HorizontalOptions="Start" Style="{StaticResource Header}" />
</StackLayout>
</StackLayout>
</StackLayout>
</Frame>
</views:SideContextMenuView.View>
<views:SideContextMenuView.ContextTemplate>
<DataTemplate>
<Frame Style="{StaticResource FrameContainer}" BorderColor="Transparent" CornerRadius="10" IsClippedToBounds="true">
<StackLayout Style="{StaticResource FormFloatLeft}">
<controls:CustomButton
IsVisible="{Binding Playable, Converter={StaticResource Invert}}"
CommandParameter="{Binding Video_Id}"
Image="download.png"
Clicked="CustomButton_Clicked"
HorizontalOptions="EndAndExpand"
VerticalOptions="StartAndExpand"
Style="{StaticResource Icon}" />
<controls:CustomButton
x:Name="btnDelete"
CommandParameter="{Binding Video_Id}"
Image="cancel.png"
Clicked="BtnDelete_Clicked"
HorizontalOptions="EndAndExpand"
VerticalOptions="StartAndExpand"
Style="{StaticResource Icon}" />
</StackLayout>
</Frame>
</DataTemplate>
</views:SideContextMenuView.ContextTemplate>
</views:SideContextMenuView>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</controls:YListView>```
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Android SideContextMenuView not showing up · Issue #66
On android, once I swipe in a CollectionView there's a weird blank space overlapping the controls defined in the ContextTemplate.
Read more >AndreiMisiukevich/ContextMenu: ContextView for Xamarin. ...
Search code, repositories, users, issues, pull requests... · Provide feedback · Saved searches · AndreiMisiukevich/ContextMenu · Name already in use.
Read more >ScrollUp trigger RefreshView to Refreshing
When wrapping CollectionView in example page (e.g: SideMenuPage or any example page) with Xamarin.Forms.RefreshView , IsRefreshing property value set to ...
Read more >android - Why the contextmenu isn't working?
I have to put a context menu for it, but it's not working. And I put the onItemLongClick to the list and it's...
Read more >IsChecked Binding not working in MenuItem in a ...
1 Answer. A few things you have to do to make this work. First of all you cannot bind from inside a MenuItem...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well i tried that, but there are many diffrent cases where i get error when working with your library. And i have other controller that inteferes with the structure of you repo. making big changes is time consuming for me and thats why i build my own. I just wanted to show you the code so that you may be willing to remove ScrollView and add Relativelayout instead and with the help of bounds you could have the same effect.
You also need to know that with relativelayout, there wont be interference with any other controller like ListView, Button etc…
When i manage to finish my current project i will be more then willing to improve your library.
So) if you wish to enhance this plugin, feel free to make PR