Getting Started

Getting started with ComposableDataSource requires three steps


Getting started with ComposableDataSource requires three steps

Creating ViewModels

The ViewModel tells the ComposableDataSource what kind of cell or supplementary view to register and dequeue, and what data to configure that cell or view with

Creating Views

The View (Cell or SupplementaryView) displays the data you defined in your ViewModel

Creating a DataSource

Finally, the datasource displays the cells configured with its corresponding ViewModel