Skip to content

Building record: Todo-list app using MVVM architecture #9

@Jasmine-liang

Description

@Jasmine-liang

Show case, code -> Todolist app

output.compress-video-online.com.mp4

Day 1

Why Coordianate Layout?

  • I want ToolBar to collapse or hide. Google made it really easy by introducing AppBarLayout & CollapsingToolbarLayout, which both work best under a CoordinatorLayout.

Why Relative Layout?

  • RelativeLayout enables you to specify how child views are positioned relative to each other.

Trade-off using @Parcelize annotation

We know implementing Parcelable on an entity class so the entity object will be put into an Intent object and passed between activities/fragment. Is it a good practice? What about Repository pattern? android - Is it good practice implementing Parcelable on a Room database entity? - Stack Overflow

Additional knowledge

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions