Java or C# answers are fine (we use MonoDroid)
I successfully add a control to a LinearLayout with:
LayoutInflater _inflatorservice = (LayoutInflater)this.GetSystemService(Context.LayoutInflaterService);
var viewContainer = _inflatorservice.Inflate(Resource.Layout.ReportItImageButton, myLinearLayout);
How do I then get a reference to the view just added? I add many of the same control this way so would need to get the nth item added to the layout.
This works, it gets the most recent item added assuming the item is of type
Button.