OverviewFelgo 2 Support (Qt 5) › Using new JsonListModel with Firebase

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #20903



    So i have just received the godsend of an e-mail talking about the new JsonListModel feature!

    It seems perfect for my use, my only question is could i intergrate this with my firebase database? I am currently struggling on deleting entries by ID and feel this could help. my current structure per JSON object is:


    Index: (Date at which the item was saved): {

    Name: Edd

    Details: Full Day

    Confirmed: Bool

    Date: (Selected Calendar date on save)



    one of these is created for each entry depending on user details in the FBDB

    would i be able to push my read into the JsonListModel format for use in displaying and also then deleting entries by id?





    Felgo Team

    Hi Edward,

    the JSON List Model is a View Type to be used in QML together with e.g. AppListView. Using this model has no effect on how you store the data on the server side, e.g. with Firebase.

    However, you can e.g. delete the Entry from Firebase, then load the FULL JSON structure, which has now one entry less. Assign the FULL JSON to the JsonListModel then, and then view will simply remove the deleted item and other elements in the list won’t be affected.


Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support