jeudi 7 mai 2015

Android Fragments for ASP.NET Controls similar functionality

I am creating an android application which includes repetitive UI structures describing members using an image, a name and some details. These structures will exist everywhere in my application and sometimes they will be presented in grids or lists with more than 50 members. I want to find a way to design these structures in a way similar to Controls in ASP.NET so that I don't have to create them from scratch every time I need them. Is it a good practice to create these structures using Fragments (passing a memberID parameter to each Fragment) and for example when I want to create a 5 X 10 grid of members to create 50 Fragments dynamically each one displaying a member. Thank you in advance.

Aucun commentaire:

Enregistrer un commentaire