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
79
Clase 3 (Tema 1 - CustomLayout)
ykro
0
57
Clase 3 (Tema 2 - Dialogs)
ykro
0
59
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
Mackerel in さくらのクラウド
cubicdaiya
1
250
Amazon Bedrock AgentCoreのフロントエンドを探す旅 (Next.js編)
kmiya84377
1
160
o11yツールを乗り換えた話
tak0x00
2
1.7k
Foundation Model × VisionKit で実現するローカル OCR
sansantech
PRO
1
420
形式手法特論:位相空間としての並行プログラミング #kernelvm / Kernel VM Study Tokyo 18th
ytaka23
3
1.5k
プロジェクトマネジメントは不確実性との対話だ
hisashiwatanabe
0
160
プロダクトエンジニアリングで開発の楽しさを拡張する話
barometrica
0
210
なごミュ@SPAJAM2025 第二回予選
1901drama
0
110
夏休みWebアプリパフォーマンス相談室/web-app-performance-on-radio
hachi_eiji
1
270
JAWS AI/ML #30 AI コーディング IDE "Kiro" を触ってみよう
inariku
3
400
ロールが細分化された組織でSREと協働するインフラエンジニアは何をするか? / SRE Lounge #18
kossykinto
0
240
AIは変更差分からユニットテスト_結合テスト_システムテストでテストすべきことが出せるのか?
mineo_matsuya
3
2.3k
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
8
560
A better future with KSS
kneath
239
17k
We Have a Design System, Now What?
morganepeng
53
7.7k
Git: the NoSQL Database
bkeepers
PRO
431
65k
Rails Girls Zürich Keynote
gr2m
95
14k
The Language of Interfaces
destraynor
159
25k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
YesSQL, Process and Tooling at Scale
rocio
173
14k
RailsConf 2023
tenderlove
30
1.2k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
1k
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