This shows you the differences between two versions of the page.
moby:android:10 [2020/05/28 17:10] radu.ciobanu |
moby:android:10 [2020/08/25 16:58] (current) radu.ciobanu Sesiunea 10 |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Sesiunea 10 - Stocare de date ===== | ===== Sesiunea 10 - Stocare de date ===== | ||
- | TODO | + | A zecea lecție este formată din două capitole și abordează subiectul stocării datelor în Android. Vor fi abordate următoarele elemente: |
+ | |||
+ | * introducere în SQLite | ||
+ | * Architecture Components | ||
+ | * utilizarea Room Database, ViewModel și Repository pentru a salva și gestiona datele în aplicații Android. | ||
+ | |||
+ | ==== Introducere în SQLite ==== | ||
+ | |||
+ | În prima parte a sesiunii, vom discuta pe scurt despre sistemul de gestiune de baze de date relaționale SQLite pus la dispoziție de Android. | ||
+ | |||
+ | <note important> | ||
+ | **//Prezentare//** | ||
+ | |||
+ | [[https://docs.google.com/presentation/d/1JeRAAHJhjprO-MwnyX0CGAU1GiaBqWF5jDYceXdHmIc/edit#slide=id.g116d7d9d49_3_13|10.0 SQLite Primer]] | ||
+ | </note> | ||
+ | |||
+ | <note tip> | ||
+ | **//Concept chapter//** | ||
+ | |||
+ | [[https://google-developer-training.github.io/android-developer-fundamentals-course-concepts-v2/unit-4-saving-user-data/lesson-10-storing-data-with-room/10-0-c-sqlite-primer/10-0-c-sqlite-primer.html|10.0 SQLite primer]] | ||
+ | </note> | ||
+ | |||
+ | ==== Room, LiveData, și ViewModel ==== | ||
+ | |||
+ | În a doua parte a sesiunii, vom discuta despre Architecture Components, care reprezintă un set de recomandări și biblioteci pentru arhitectura unei aplicații Android. | ||
+ | |||
+ | <note important> | ||
+ | **//Prezentare//** | ||
+ | |||
+ | [[https://docs.google.com/presentation/d/1h_dxT0sNtQ5qbyHH3ZbTvVYIe0xvYJj6KGc886EGt-A/edit#slide=id.g2392362572_0_16|10.1 Room, LiveData, and ViewModel]] | ||
+ | </note> | ||
+ | |||
+ | <note tip> | ||
+ | **//Concept chapter//** | ||
+ | |||
+ | [[https://google-developer-training.github.io/android-developer-fundamentals-course-concepts-v2/unit-4-saving-user-data/lesson-10-storing-data-with-room/10-1-c-room-livedata-viewmodel/10-1-c-room-livedata-viewmodel.html|10.1 Room, LiveData, and ViewModel]] | ||
+ | </note> | ||
+ | |||
+ | <note> | ||
+ | **//Codelabs//** | ||
+ | |||
+ | [[https://codelabs.developers.google.com/codelabs/android-training-livedata-viewmodel/#0|10.1A Room, LiveData, and ViewModel]] | ||
+ | |||
+ | [[https://codelabs.developers.google.com/codelabs/android-training-room-delete-data/#0|10.1B Deleting data from a Room database]] | ||
+ | </note> | ||
+ | |||
+ | ====== ====== | ||
+ | |||
+ | {{:moby:android:smartrdi_an.png?nolink&300|}} | ||