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
71
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
72
Clase 2 (Tema 4 - View Pager)
ykro
0
82
Clase 3 (Tema 1 - CustomLayout)
ykro
0
58
Clase 3 (Tema 2 - Dialogs)
ykro
0
61
Clase 2 (Tema 2 - ActionBar y Menú)
ykro
0
47
Clase 3 (Tema 3 - Cámara)
ykro
0
49
Clase 3 (Tema 4 - Threads y API)
ykro
0
40
Clase 3 (Tema 5 - Parse JSON)
ykro
0
85
Other Decks in Technology
See All in Technology
usermode linux without MMU - fosdem2026 kernel devroom
thehajime
0
240
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
310
OWASP Top 10:2025 リリースと 少しの日本語化にまつわる裏話
okdt
PRO
3
820
[CV勉強会@関東 World Model 読み会] Orbis: Overcoming Challenges of Long-Horizon Prediction in Driving World Models (Mousakhan+, NeurIPS 2025)
abemii
0
140
AIエージェントに必要なのはデータではなく文脈だった/ai-agent-context-graph-mybest
jonnojun
0
160
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.3k
What happened to RubyGems and what can we learn?
mikemcquaid
0
310
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
2
170
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
470
広告の効果検証を題材にした因果推論の精度検証について
zozotech
PRO
0
200
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
320
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
Featured
See All Featured
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
260
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
180
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
130
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
230
YesSQL, Process and Tooling at Scale
rocio
174
15k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
140
Fireside Chat
paigeccino
41
3.8k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.6k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
920
Building an army of robots
kneath
306
46k
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