android / android/architecture-samples
What is the need for a fragment
- Dominant language
- Kotlin
- Stars
- 45.8k
- Forks
- 11.9k
- PR merge metrics
- No merged PRs in 30d
Description
Branch - todo-mvp
I can't understand the use of a fragment here. The only use it see is that it is used to separate the view and the activity.
Should I always create a fragment to separate the view even if Im not needing a fragment.
https://github.com/googlesamples/android-architecture/tree/todo-mvp/todoapp/app/src/main/java/com/example/android/architecture/blueprints/todoapp/taskdetail
Contributor guide
Research direction
Start by reading the todo-mvp taskdetail source at todoapp/app/src/main/java/com/example/android/architecture/blueprints/todoapp/taskdetail and trace how its fragment and activity are used. The issue does not specify a documentation change or a completion criterion, so clarify the intended explanation before attempting work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 18/100