private void iniImageUser() { linearUsers.RemoveAllViews(); ItemUser item1 = new ItemUser(context, "images/e1.jpg"); item1.NameUser = "******"; ItemUser item2 = new ItemUser(context, "images/e2.jpg"); item2.NameUser = "******"; ItemUser item3 = new ItemUser(context, "images/e3.jpg"); item3.NameUser = "******"; ItemUser item4 = new ItemUser(context, "images/e4.jpg"); item4.NameUser = "******"; ItemUser item5 = new ItemUser(context, "images/e5.jpg"); item5.NameUser = "******"; linearUsers.AddView(item1); linearUsers.AddView(item2); linearUsers.AddView(item3); linearUsers.AddView(item4); linearUsers.AddView(item5); }
private void iniImageUser(){ linearUsers.RemoveAllViews (); ItemUser item1 = new ItemUser (context, "images/e1.jpg"); item1.NameUser = "******"; ItemUser item2 = new ItemUser (context, "images/e2.jpg"); item2.NameUser = "******"; ItemUser item3 = new ItemUser (context, "images/e3.jpg"); item3.NameUser = "******"; ItemUser item4 = new ItemUser (context, "images/e4.jpg"); item4.NameUser = "******"; ItemUser item5 = new ItemUser (context, "images/e5.jpg"); item5.NameUser = "******"; linearUsers.AddView (item1); linearUsers.AddView (item2); linearUsers.AddView (item3); linearUsers.AddView (item4); linearUsers.AddView (item5); }