Vou ler sim, vlw por mostrar o caminho.
Em 26 de setembro de 2014 00:53, Ernani Joppert Pontes Martins <joppert@gmail.com> escreveu:
Vc vai ter que ler sobre backstack!
http://developer.android.com/training/implementing-navigation/temporal.html
Abraço!
Ernani
2014-09-25 23:01 GMT-03:00 marcos filho <m.filhow@gmail.com>:
> o que percebi é que como ele só muda o conteúdo, quado eu clico no cel pra
> voltar, ele sai do app pq basicamente só tem uma activity aberta, ou seja,
> se eu clicar pra voltar, queria voltar para o fragment anterior.
>
> tem como tratar isso? e outra quando eu viro a tela de lado, o fragment que
> está aberto (que no meu caso é uma lista) ele fica em branco, por que?
>
> Em 25 de setembro de 2014 22:51, Ernani Joppert Pontes Martins
> <joppert@gmail.com> escreveu:
>
>> Sim, basicamente quando vc abre o drawer, ele mata os menu items, e,
>> quando vc fecha, ele abre os do fragment, se o novo fragment tiver
>> menu items diferentes, ele vai popular os dele.
>>
>> Cada fragment gerencia seus menu items...
>>
>> O drawer pode gerar um item específico (global) ou eliminar os atuais!
>>
>> []'s
>>
>> Ernani
>>
>> 2014-09-24 16:03 GMT-03:00 marcos filho <m.filhow@gmail.com>:
>> > Estou com um navigation drawer com um OptionsMenu com 2 itens, mas meu
>> > fragment tem um menu item, quando eu abro meu navigation drawer ele fica
>> > com
>> > os 3 itens, queria que o menu do meu fragment não apareça quando o meu
>> > drawer for aberto. É possível?
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Android Brasil - Dev" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to androidbrasil-dev+unsubscribe@googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Android Brasil - Dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to androidbrasil-dev+unsubscribe@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Brasil - Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to androidbrasil-dev+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
0 comentários:
Postar um comentário