Skip to content

Initial Implementation #1

@mdb1

Description

@mdb1

MVP

  • Create the ViewStateController
  • Add test coverage to the ViewStateController
  • Create the ViewModifier that applies the styles based on the controller
  • Create the InitialLoading configuration, the base cases, and the custom cases
  • Create the SubsequentLoading configuration, the base cases, and the custom cases
  • Add the ability to use a custom indicator view
  • Create the Error configuration, the base cases, and the custom cases
  • Add ability to display toasts (add positioning options)
  • Add configuration options for toasts (colors, texts, custom views)
  • Rename default case for toasts to toast
  • Add snackBar case in ToastType
  • Create an SPM package and upload it to this repository
  • Add videos and sample code in the Readme file
    • Default cases
    • Custom Initial Loading
    • Custom Subsequent Loading
    • Custom Error
    • Custom Toast
    • The case where you have some latestInfo that is not valid, but you still want to show it instead of the error (use custom error view)
    • EmptyView for placeholder

ExampleApp

  • Create an Example App that consumes the SPM
  • Create a Demo view where the user can toggle options
    • InitialLoading
    • SubsequentLoading
    • Errors
    • Toasts

Article

  • Write an article explaining the ViewStateController

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions