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
69
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
71
Clase 2 (Tema 4 - View Pager)
ykro
0
81
Clase 3 (Tema 1 - CustomLayout)
ykro
0
58
Clase 3 (Tema 2 - Dialogs)
ykro
0
60
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
38
Clase 3 (Tema 5 - Parse JSON)
ykro
0
84
Other Decks in Technology
See All in Technology
タスクって今どうなってるの?3.14の新機能 asyncio ps と pstree でasyncioのデバッグを (PyCon JP 2025)
jrfk
1
220
多野優介
tanoyusuke
1
170
Function calling機能をPLaMo2に実装するには / PFN LLMセミナー
pfn
PRO
0
820
それでも私はContextに値を詰めたい | Go Conference 2025 / go conference 2025 fill context
budougumi0617
4
1.1k
「技術負債にならない・間違えない」 権限管理の設計と実装
naro143
35
10k
20250929_QaaS_vol20
mura_shin
0
110
AWSにおけるTrend Vision Oneの効果について
shimak
0
110
成長自己責任時代のあるきかた/How to navigate the era of personal responsibility for growth
kwappa
3
220
組織観点からIAM Identity CenterとIAMの設計を考える
nrinetcom
PRO
1
150
Findy Team+のSOC2取得までの道のり
rvirus0817
0
290
動画データのポテンシャルを引き出す! Databricks と AI活用への奮闘記(現在進行形)
databricksjapan
0
130
KAGのLT会 #8 - 東京リージョンでGAしたAmazon Q in QuickSightを使って、報告用の資料を作ってみた
0air
0
190
Featured
See All Featured
Speed Design
sergeychernyshev
32
1.1k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
Side Projects
sachag
455
43k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
The Cost Of JavaScript in 2023
addyosmani
53
9k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
51k
Statistics for Hackers
jakevdp
799
220k
The Language of Interfaces
destraynor
162
25k
Into the Great Unknown - MozCon
thekraken
40
2.1k
Thoughts on Productivity
jonyablonski
70
4.9k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
20k
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