If you are creating the fragment in code shouldn't you have a reference to it already? If you don't for some reason, you can set the id in code when you create it.
Also, this question is better-suited for the android-developers group... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Jun 27, 2012 at 7:48 AM, Italo Romeiro <[email protected]> wrote: > Hi guys, > > I found a trouble working with fragments because I have in my application > a fragment dynamically created without 'id' or 'tag', so, how can I get > this fragment from activity to catch the data generated inside it? Is there > a way to solve this or is it a better idea changing my code? > > Thank you for your time. > > -- > "...todo olho o vera, toda lingua confessara, que Jesus Cristo é o SENHOR > \o/...." > Italo Romeiro Wanderley ( http://lattes.cnpq.br/7595135413281424 ) > Analista de Sistemas > GREat - Grupo de Redes de Computadores, Engenharia de Software e Sistemas > UFC - Universidade Federal do Ceará > Brasil > > -- > You received this message because you are subscribed to the Google Groups > "Android Discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/android-discuss?hl=en. > -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en.
