How to add and manage pages If I previously don't know how many pages will be created?
From the tutorials and examples I see that for each page the appropriate code module is added to IDE like B4Pages2, B4Pages3.
Start with 2, 3 or how many ever Pages.
If you later need more then add them in the IDE and publish an update with the new amount of Pages.
You can do this as often as you need. You can not add them Dynamically. They all must be present/available/added to the IDE at Compiletime.
How to add and manage pages If I previously don't know how many pages will be created?
From the tutorials and examples I see that for each page the appropriate code module is added to IDE like B4Pages2, B4Pages3.
If the layout in each page is similar, or you are creating the view via code, then you can just show same page with different layout (remove the previous ones, if already displayed) or create the view on it.
Remember a page is just a panel class. You have full control over it.
Or... Make a generic page with a full-sized anchored BBCodeView.
Then whatever you want to put in that codeview-page is dynamic.
Codeviews can render not just text but also other views. To show a different page, simply set the .text of the codeview to what you need.
An extra benefit is that the codeview can be scrolled.