Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. In qml how to improve the listview's speed when switch page?

In qml how to improve the listview's speed when switch page?

Scheduled Pinned Locked Moved QML and Qt Quick
7 Posts 5 Posters 5.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sfjam
    wrote on last edited by
    #1

    i use listview to display a picec of picture one by one ,but i find it too slow to move,so how can i solve this problem?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      thisisbhaskar
      wrote on last edited by
      #2

      If you are expecting any kind of help, you need to provide enough details. Do you mean you have divided your picture in to pieces and added all those pieces only by one to listView or how is it?

      EDIT: Sorry for my harsh answer here.. Don't know what was I thinking when I replied to this.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sfjam
        wrote on last edited by
        #3

        i just want to improve the speed when switch page use qml listview!because it is too slow to bear

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kkrzewniak
          wrote on last edited by
          #4

          Try:
          horizontal/vertical Velocity

          If you still can't get it to perform well, I would recommend switching to using Loaders. Usually 2 loaders would suffice to achieve a nice sliding effect.

          Me, Grimlock, not "nice dino". ME BASH BRAINS!

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dialingo
            wrote on last edited by
            #5

            Your Image element has a property "asynchronous". Set it to true.
            This will speed up graphics loading a lot. Pictures will be loaded concurrently and moving will not be blocked.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sfjam
              wrote on last edited by
              #6

              i follow you advice,but it's also slow,is there any other way to solve this problem?

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tigriswind
                wrote on last edited by
                #7

                @
                i have same problem with you;

                i have some ideas:

                1,create the custom listview, but i find the listview in qml can not inherit

                2,set the contentX or contentY dirently after a pan event; but i find some conflicts with the nature animation

                if you have some advises,you can use tigriswing@gmail.com
                @

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved