mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-06-08 02:37:13 +00:00
Use local images instead or remote ones (#4)
This commit is contained in:
parent
68723844c3
commit
28ec06cb95
36 changed files with 21 additions and 25 deletions
|
@ -12,7 +12,7 @@ Log.c("tag", "logValue") //critical log
|
|||
|
||||
## Activity Life Cycle
|
||||
|
||||

|
||||

|
||||
|
||||
```kotlin
|
||||
package com.its.<appname>
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
A **Fragment** represents a behavior or a portion of user interface in a `FragmentActivity`. It's possible to combine multiple fragments in a single activity to build a multi-pane UI and reuse a fragment in multiple activities.
|
||||
Think of a fragment as a *modular section of an activity*, which has its *own* lifecycle, receives its *own* input events, and which you can add or remove while the activity is running (sort of like a "sub activity" that you can reuse in different activities).
|
||||
|
||||

|
||||

|
||||
|
||||
A fragment must always be hosted in an activity and the fragment's lifecycle is *directly affected* by the host activity's lifecycle.
|
||||
|
||||

|
||||

|
||||
|
||||
## Minimal Fragment Functions
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue