Neighbor Error in Xamarin.Forms

My application has two kinds of list, which are loaded from a URL. The first is the main category, the second is a subcategory. When you click on the first item in the list of the main category, it fills the list of subcategories corresponding to the selected main value. The problem is that I again cannot return to my main category in WP.

Viewcell and Imagecell work great on Android.

If I use ImageCell instead of Viewcell, I can successfully move to the main category.

What is the reason?

Thanks in advance.

+4
source share
1 answer

I've always had too much rendering from ViewCell to WP8.1.

I wanted to do the same thing as you, but I read in too many places that a scrollable component inside another scrollable component never gives the desired result.

Instead, I choose to use a single ListView. When the main category is used, load the list view into subcategories. To go back, you can have a subcategory of "..."

Add the GoBack subcategory to the list before adding other subcategories. enter image description here

+2
source

All Articles