B4X FEED xCustomListView JumpToItem

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: xCustomListView JumpToItem است. این موضوع تا کنون 34 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع xCustomListView JumpToItem
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
34
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
I've got an issue with xCustomListView.JumpToItem and I'm not sure if this is a bug, a feature or a system limitation :)

JumpToItem is supposed to jump to a specified item without animating the scroll, but it doesn't always work.

The problem is that when this command is executed WHILE the listview is still animating (due to a finger swiping down), nothing happens.

Create a layout file with an xcustomlistview and a button, run this code, and swipe with your finger over the screen really quick over the listview from bottom to top to start the animation. You will see the list scrolling from 1 to 100, which is normal. WHILE the animation is still running, quickly press the button. Nothing will happen. You'll think the list has ended up on position 1 but in reality that is not the case. (BTW, in B4A ScrollToItem(1) seems to work fine, even during the animation, but as far as I can see not in IOS).

B4X:

کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید



 

عقب
بالا