Xamarin.Forms-Expander | Let ’ s make use of the Xamarin | Form library
kandi X-RAY | Xamarin.Forms-Expander Summary
kandi X-RAY | Xamarin.Forms-Expander Summary
Let’s make use of the Xamarin.Forms Expander to create and expandable list in Xamarin Forms. Creating an expandable list in Xamarin Forms use to be tricky but now with the new Expander in Xamarin Forms, it is quite easy. You can watch the video here
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Xamarin.Forms-Expander
Xamarin.Forms-Expander Key Features
Xamarin.Forms-Expander Examples and Code Snippets
Community Discussions
Trending Discussions on Xamarin.Forms-Expander
QUESTION
NOTE: this didn't work : SQLite Error: Cannot delete WhereListIterator`1: it has no PK (Adding a table name made no change)
I have an AcceuilPage which basically do this : https://github.com/devcrux/Xamarin.Forms-Expander but i added a delete icon and when i press it i want to be able to delete all the content for this date ( also the date) from this page.
So i added a delete function to delete it from database but when i expand for a date and press delete i get this error : Exception: System.NotSupportedException: Cannot delete Object: it has no PK which bring me to await App.Database.DeleteAgendaAsync(agenda); in :
...ANSWER
Answered 2020-Jun-26 at 05:24When we touch on the imagebutton/button , the click event triggers , but it does not mean we select an item in CollectionView ,the button click event covers the click/tap event on item of Collectionview itself, so in this scenario , AgendaCollection.SelectedItem
is null ,then the error happens .
For the second approach you used: var agenda = (Agenda)BindingContext;
, you set BindingContext
in constructor : BindingContext = new Agenda();
, BindingContext
is a brand new object which is not the one you are selecting .
To solve the prorblem , you could get the imagebutton's BindingContext
and then manipulate the logic .
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Xamarin.Forms-Expander
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page