Android Build an Interactive Story App The Model-View-Presenter Pattern Creating the Story

Help me

Why do make the object of page[0] e.g. in the video pages[0] = new Page(); What is the need of it??


1 Answer

nothing to worry we are just defining page[0] as the object of Page() class so that we can access setter method defined in the page class.. Hope this helps....