Page

Why are paginations starting with page 1?

Why are paginations starting with page 1?
  1. How do I get the current page in pagination?
  2. Should pagination start at 0?

How do I get the current page in pagination?

To retrieve the current page use the getPage function. this will return the number of the current page. If pagination is disabled this will return false.

Should pagination start at 0?

When implementing a Rest API, with parameters for paging, should paging be zero indexed or start at 1. The parameters would be Page, and PageSize. Well, Yes!

Adding new attributes to a screen
How do I add a new attribute?How do I add Attributes to my property at runtime?What is used to add Attributes to the model? How do I add a new attri...
Do users expect push notifications to be send after logging off a mobile app?
According to GIST,“The beauty of a push notification? Users will receive the notification on their devices even if they are logged out of your app.” D...
When should I require a user to re-login to their account?
Why is user login important? Why is user login important?Login creates a user account. This means that users are uniquely identifiable within your p...