Uploaded image for project: 'Realm .NET SDK'
  1. Realm .NET SDK
  2. RNET-147

Pagination examples please....

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      Guys great work!

      I am using Realm for Xamarin and Java and I need clear examples on how pagination works.
      Was surprised to learn Skip and Take are not supported yet, how soon?

      Can I suggest examples explaining how exactly pagination is not needed with Realm?
      Sorry but this is not sufficient

      > Since queries in Realm are lazy, performing this sort of paginating behavior isn’t necessary at all, as Realm will only load objects from the results of the query once they are explicitly accessed.
      >
      > If for UI-related or other implementation reasons you require a specific subset of objects from a query, it’s as simple as taking the IQueryable object, and reading out only the objects you need.
      >

      I mean this problem of pagination with Realm gets most new users stumped, and there's no example!
      Honestly it's a hard concept telling users to replace well known pagination routines with a loop...

      Most of the UI controls and grid/list display routines out there have callbacks that include query, sort parameters...and pagination parameters.
      A simple example would have clarified this feature of not needing "those loading mechanisms with realm".
      Would it be too much work to add a few lines of examples to your documentation showing exactly how it's done?

      It's clear the use case being referenced in your documentation is not sufficient to cater to the majority of pagination use cases out there.

      You do need a way to execute SKIP, TAKE, TOP, LIMIT routines.
      If Realm already does that for local data, can we see how?

      Thanks.

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: