FragmentManager fragmentManager = getSupportFragmentManager(); FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();
Se pueden declarar antes (fuera) de los onClickListener(), con el fin de reducir código?
¡Desbloquea vídeos ilimitados! Sube a Premium
Necesitas premium para acceder a este contenido. Suscríbete por $26USD al mes
Clase 1
30.- Tipos de transacciones
Clase 2
31.- Crear proyecto
Clase 3
32.- Crear interfaz
Clase 4
33.- Habilitar uso de botones
Clase 5
34.- Crear fragment A
Clase 6
35.- Crear fragment B
Clase 7
36.- Agregar FrameLayout
Clase 8
37.- Agregar fragment A
Clase 9
38.- Agregar un TAG
Clase 10
39.- Agregar fragment B
Clase 11
40.- Probar agregar fragment
Clase 12
41.- Optimizar código
Clase 13
42.- Buscar fragment por tag
Clase 14
43.- Remover Fragment A
Clase 15
44.- Error al remover el fragment
Clase 16
45.- Validar que existe el fragment
Clase 17
46.- Remover Fragment B
Clase 18
47.- Probar remover Fragment
Clase 19
48.- Agregar botones de reemplazo
Clase 20
49.- Definir botones de reemplazo
Clase 21
50.- Reemplazar con fragmento A
Clase 22
51.- Reemplazar con fragmento B
Clase 23
52.- Probar reemplazo
Clase 24
53.- Reemplazar y colocar TAG
Clase 25
54.- Detach fragment
Clase 26
55.- Modificar interfaz
Clase 27
56.- Detach Fragment A
Clase 28
57.- Detach prevenir fallo
Clase 29
58.- Detach Fragment B
Clase 30
59.- Probar aplicación
Clase 31
60.- Cambiar interfaz
Clase 32
61.- Attach FragmentA
Clase 33
62.- Attach FragmentB
Clase 34
63.- Probar aplicacion
Clase 35
64.- Show y Hide
Clase 36
65.- Cambiar interfaz
Clase 37
66.-Show FragmentoA
Clase 38
67.- Show FragmentoB
Clase 39
68.- Hide FragmentoA
Clase 40
69.- Hide FragmentoB
Clase 41
70.- Probar aplicacion
1 comentario(s)
FragmentManager fragmentManager = getSupportFragmentManager(); FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();