Android Question SlidingMenuwrapper slow

devmobile

Active Member
Licensed User
Hello
I use this powerful library in my project
It is working good in all version android
But in version >=5 AND <6 it is slow when i try open it and i cannot scroll listview inside menu
My listview scrolling but it is slow.(this problem exist when i open menu)
I use last version this library
Thanks
 

Erel

B4X founder
Staff member
Licensed User
1. Note that ItemHeight dimension should be set with 'dip' units.
2. You can use GetDeviceLayoutValues.ApproximateScreenSize to get the screen size.
3. Unless the list will hold more than 1000 items then it will be simpler to use CustomListView.

There are only two items in the list so there is no scrolling at all.
 
  • Like
Reactions: eps
Upvote 0

devmobile

Active Member
Licensed User
Problem is in listview
I can select it but cannot scroll it.
When i drag on listview,it dont scroll but when i close it and open it again,i see current scrolled listview
What is your idea?
 
Upvote 0

devmobile

Active Member
Licensed User
Ok
I found it.
When i use debug my project,it dont have problem
But when i release it,listview not scrolling.
Please help me
 
Upvote 0

devmobile

Active Member
Licensed User
1. Note that ItemHeight dimension should be set with 'dip' units.
2. You can use GetDeviceLayoutValues.ApproximateScreenSize to get the screen size.
3. Unless the list will hold more than 1000 items then it will be simpler to use CustomListView.

There are only two items in the list so there is no scrolling at all.
Please dont send duplicate post
I delete it :D

I did it but not working
Erel menu is working of course app affect on menu but i dont know where problem
 
Upvote 0

devmobile

Active Member
Licensed User
1. Note that ItemHeight dimension should be set with 'dip' units.
2. You can use GetDeviceLayoutValues.ApproximateScreenSize to get the screen size.
3. Unless the list will hold more than 1000 items then it will be simpler to use CustomListView.

There are only two items in the list so there is no scrolling at all.
Hello again
I record a video from my app testing result in appetize.io site online.
(download from here https://streamable.com/k6lzj)
I test it in android 7 and android 5
You see that in android 5,i scroll listview and hide menu and again show it and so listview scrolled.
I know that this library is working good in all version
But i cannot solve it why it is slow in android 5
Maybe other library affect on it?
 
Upvote 0
Top