Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Clase 2(Tema 1 - Fragmentos)
Search
Adrián Catalán
October 23, 2013
Technology
88
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Clase 2(Tema 1 - Fragmentos)
Curso MOOC de Android en Telescopio (
http://telescopio.galileo.edu
)
Adrián Catalán
October 23, 2013
Transcript
15 slides
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
More Decks by Adrián Catalán
See All by Adrián Catalán
Clase 2 (Tema 3 - Tabs)
ykro
0
140
Clase 2 (Tema 5 - Navigation Drawer)
ykro
0
88
Clase 2 (Tema 4 - View Pager)
ykro
0
99
Clase 3 (Tema 1 - CustomLayout)
ykro
0
71
Clase 3 (Tema 2 - Dialogs)
ykro
0
77
Clase 2 (Tema 2 - ActionBar y Menú)
ykro
0
63
Clase 3 (Tema 3 - Cámara)
ykro
0
59
Clase 3 (Tema 4 - Threads y API)
ykro
0
53
Clase 3 (Tema 5 - Parse JSON)
ykro
0
100
Other Decks in Technology
See All in Technology
プラガブルで宣言的なソフトウェアファクトリーを支えるTypeScript
timakin
4
1.3k
AWS Well-Arhitected Frameworkセキュリティの柱 について
miu_crescent
PRO
2
260
成長するID管理基盤における運用もコストも犠牲にしないオブザーバビリティ向上の実践 / Improving Observability for a Growing Identity Platform Without Adding Operational Burden or Cost
kaminashi
1
140
2026-11-16 JAWS-UG コンテナ支部 #31 ゆるLT大会 ECR のライフサイクルポリシーを いい感じに設定したい / ECR Lifecycle policy
masasuzu
3
630
AWS WAF あなたの推しサービス教えて!LT #jawsugosaka @fillz_noh
fillznoh
1
110
gradle-best-practices 使ってみた
mikanichinose
0
240
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
450
共通基盤の実装に Kotlin - Quarkus を選定した理由と採用したアーキテクチャ
nealle
1
170
From vibe coding to reliable (agentic) development
jcabot
0
270
Kiro Crew の Conductor mode: 1 つのチャットに渡したゴールを、コンダクターがワーカーに分けて任せる
inariku
PRO
1
120
お風呂場をサーバルームにしよう
yusuke427
0
400
技術書典で本を売る流れ
yoshimura_datam
0
170
Featured
See All Featured
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
620
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
390
Evolving SEO for Evolving Search Engines
ryanjones
0
370
The Limits of Empathy - UXLibs8
cassininazir
2
800
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
480
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
340
Building Adaptive Systems
keathley
44
3.3k
Chasing Engaging Ingredients in Design
codingconduct
0
410
Writing Fast Ruby
sferik
630
63k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k