umarmohammed / XFExpandableListView

Demonstration of an expandable list view in Xamarin forms using listview grouping
9 stars 5 forks source link

Xamarin.iOS: Unable to locate assembly 'Prism.resources' (culture: 'en-US') #1

Open pawanshakya opened 6 years ago

pawanshakya commented 6 years ago

Integrating this project into my solution , gives above error. Though I am able to execute this solution and see after updating Xamarin.Form version at my machine. But still facing this issue while integrating. Can you please help me in this regard.

umarmohammed commented 6 years ago

Hi, I used the Prism MVVM framework when creating this demo. If you're not using Prism then this example wont compile.

Are you using an MVVM framework in your application? If not then you'll need to move the code from the ViewModel into your code behind and update it to work with the controls directly. If you are considering using an MVVM framework I highly recommend the Prism framework, they have some great video tutorials such as https://youtu.be/DYRLcqG2BAY

You can also read my description of the code in this project on my blog post here https://umohammed.wordpress.com/2016/12/11/expandable-listview-in-xamarin-forms-using-grouping/

Since writing this I've actually moved away from using Xamarin Forms to Ionic instead so I won't be able to help you any further. Good luck with your project.

pawanshakya commented 6 years ago

Thanks Umar for your response. I got that working

Including "xmlns:local="clr-namespace:XXX;assembly=XXX" " and below lines for resources , seems to fix the issue for me.