Updated RepeaterView 

 Added ItemCreatedEvent and made the DataTemplate able to accept both ViewCell and View for it's content
 
Yes, I have tried complex layouts.

From: Rui Marinho [mailto:notifications@github.com]
Sent: Thursday, October 23, 2014 4:46 AM
To: XLabs/Xamarin-Forms-Labs
Cc: Grover, Eric
Subject: Re: [Xamarin-Forms-Labs] Updated RepeaterView (#417)


In src/Xamarin.Forms.Labs/Xamarin.Forms.Labs/Controls/RepeaterView.cs:

> +                    {

> +                        var cell = this.ItemTemplate.CreateContent();

> +                        View view;

> +                        if (cell is ViewCell)

> +                            view = ((ViewCell)cell).View;

> +                        else

> +                            view = (View)cell;

> +

> +                        view.BindingContext = item;

> +                        this.Children.Insert(ItemsSource.IndexOf(item), view);

> +                        NotifyItemAdded(view, item);

> +                    }

> +

> +                    this.UpdateChildrenLayout();

> +                    this.InvalidateLayout();

> +                }

>              }

>          }

>

Did you a tried a complex layout ? like a stack panel inside of a grid?

—
Reply to this email directly or view it on GitHub<https://github.com/XLabs/Xamarin-Forms-Labs/pull/417/files#r19265356>.