Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Clase 2(Tema 1 - Fragmentos)
Search
Adrián Catalán
October 23, 2013
Technology
0
67
Clase 2(Tema 1 - Fragmentos)
Curso MOOC de Android en Telescopio (
http://telescopio.galileo.edu
)
Adrián Catalán
October 23, 2013
Tweet
Share
More Decks by Adrián Catalán
See All by Adrián Catalán
Clase 2 (Tema 3 - Tabs)
ykro
0
130
Clase 2 (Tema 5 - Navigation Drawer)
ykro
0
69
Clase 2 (Tema 4 - View Pager)
ykro
0
78
Clase 3 (Tema 1 - CustomLayout)
ykro
0
57
Clase 3 (Tema 2 - Dialogs)
ykro
0
58
Clase 2 (Tema 2 - ActionBar y Menú)
ykro
0
46
Clase 3 (Tema 3 - Cámara)
ykro
0
47
Clase 3 (Tema 4 - Threads y API)
ykro
0
37
Clase 3 (Tema 5 - Parse JSON)
ykro
0
82
Other Decks in Technology
See All in Technology
「良さそう」と「とても良い」の間には 「良さそうだがホンマか」がたくさんある / 2025.07.01 LLM品質Night
smiyawaki0820
1
480
Understanding_Thread_Tuning_for_Inference_Servers_of_Deep_Models.pdf
lycorptech_jp
PRO
0
160
LangSmith×Webhook連携で実現するプロンプトドリブンCI/CD
sergicalsix
1
190
開発生産性を組織全体の「生産性」へ! 部門間連携の壁を越える実践的ステップ
sudo5in5k
1
5.3k
ビギナーであり続ける/beginning
ikuodanaka
3
660
asken AI勉強会(Android)
tadashi_sato
0
170
AWS Organizations 新機能!マルチパーティ承認の紹介
yhana
1
250
Witchcraft for Memory
pocke
1
730
GeminiとNotebookLMによる金融実務の業務革新
abenben
0
250
Glacierだからってコストあきらめてない? / JAWS Meet Glacier Cost
taishin
1
130
品質と速度の両立:生成AI時代の品質保証アプローチ
odasho
1
140
Tech-Verse 2025 Global CTO Session
lycorptech_jp
PRO
0
1.5k
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
680
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Writing Fast Ruby
sferik
628
62k
Unsuck your backbone
ammeep
671
58k
Balancing Empowerment & Direction
lara
1
400
Facilitating Awesome Meetings
lara
54
6.4k
Into the Great Unknown - MozCon
thekraken
39
1.9k
Code Reviewing Like a Champion
maltzj
524
40k
Navigating Team Friction
lara
187
15k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Transcript
CLASE 2: Navegación Adrián Catalán
[email protected]
@ykro
FRAGMENTOS Y BACK STACK Tema 1
http://fav.me/d30v8dv
Fragmentos • Un fragmento representa cierto comportamiento o una porción
de interfaz de usuario en una actividad • Pueden combinarse múltiples fragmentos • Siempre debe ser parte de una actividad
Fragmentos • Surgieron para brindar mayor flexibilidad al construir la
interfaz de usuario
métodos importantes • onCreate – Inicialización de componentes • onActivityCreated – Llamado
cuando onCreate de la actividad termina • onPause – Se llama cuando el usuario abandona el fragmento
Interfaz de usuario • Método onCreateView
Agregando un fragmento • Desde el layout XML
Agregando un fragmento • A través de código
Manejo del backstack • Navegación entre actividades de la misma
app
Manejo del backstack • Navegación entre varias apps
Manejo del backstack • Es posible mover una actividad con
su back stack completo
Manejo del backstack • addToBackStack – onDestroy vs onStop
Más información • Documentación oficial Fragmentos http://developer.android.com/guide/ components/fragments.html • Documentación
oficial Tasks and Back Stack http://developer.android.com/guide/ components/tasks-and-back-stack.html
http://fav.me/d3jw0cs