B4A Library B4APhotoPager v3.85

bluedude

Well-Known Member
Licensed User
Longtime User
Menu? I just added togglezoom after initializing the slider. I don't need and want a menu to do it.
 

susu

Well-Known Member
Licensed User
Longtime User
Please fix the blur image issue. Thanks!
 

bluedude

Well-Known Member
Licensed User
Longtime User
Great, click works! One other small thing. I have two sliders and I use one to download images in cache. The second one (bigger sizes) needs to get images from the cache which are downloaded by slider1 already. How is the cache arranged? Where are the images stored?

Also notices it isn't easy to get the URL of a current image item.
 

lonleystar

Well-Known Member
Licensed User
Longtime User


Hi, U've to set CacheOnDisk = true.
 

Mrjoey

Active Member
Licensed User
Longtime User
hey , mr Lonleystar , is it possible to add "ItemWidth" and "ItemHeight"?
Vp.SetArrayList() is not working , although the previous version is working .thank u
mr lonleystar , welcome back , anything to say about this? thank u
 

bluedude

Well-Known Member
Licensed User
Longtime User
Hi, I use that but my scenario it slightly different. Anyway, solved it differently.

I would also advise to kill the ToggleZoom stuff or allow and override the boolean, now I need to keep track of the Toggle status which is a small pain.

I rather have a boolean parameter added to enforce it on or off.
 

susu

Well-Known Member
Licensed User
Longtime User
Hi Salvi,

Please test the sample app, you can see all the image will be blur when zoom in, even it's high-res image. You can take a look at the sample code too, I did what you said but can't fix it.
Thank you.
 

Attachments

  • blurimage.zip
    40.7 KB · Views: 295
  • ViewPager.apk
    357.6 KB · Views: 277

lonleystar

Well-Known Member
Licensed User
Longtime User
Hi Salvi,

Please test the sample app, you can see all the image will be blur when zoom in, even it's high-res image. You can take a look at the sample code too, I did what you said but can't fix it.
Thank you.
Hi, I tested the demo U post and I dont see any blur on my S4. You have to consider that the zoom ranges = 1 to 3

MIN_SCALE = 1.0
MID_SCALE = 1.75
MAX_SCALE = 3.0
 

susu

Well-Known Member
Licensed User
Longtime User
Hi, I tested the demo U post and I dont see any blur on my S4. You have to consider that the zoom ranges = 1 to 3

MIN_SCALE = 1.0
MID_SCALE = 1.75
MAX_SCALE = 3.0

How can I set zoom range? There's no method to do it.
 

susu

Well-Known Member
Licensed User
Longtime User
Thanks for update but there's new strange problem:
- Open app 1st time can not zoom/double tap.
- Open app 2nd time can zoom/double tap.
- Open app 3rd time can not zoom/double tap.
- Open app 4th time can zoom/double tap.
 

lonleystar

Well-Known Member
Licensed User
Longtime User
Thanks for update but there's new strange problem:
- Open app 1st time can not zoom/double tap.
- Open app 2nd time can zoom/double tap.
- Open app 3rd time can not zoom/double tap.
- Open app 4th time can zoom/double tap.
Hi, U've not to use vp.ToggleDoubleTap and vp.ToggleZoom together. Another thing CacheInMemory and CacheOnDisk they are already by default false.


P.S.

If U use ToggleZoom U can not zoom and can not tap.

If U use ToggleDoubleTap U can zoom by fingers but can not tap
 

susu

Well-Known Member
Licensed User
Longtime User
Ok, I figured out. Honestly, your naming method is really confused
I will donate you as I said before. Thank you so much.
 

lonleystar

Well-Known Member
Licensed User
Longtime User
Ok, I figured out. Honestly, your naming method is really confused
I will donate you as I said before. Thank you so much.

Hi Susu, I've to thank U for the donation.

P.S.

Please can U explain me with some example what is confused? so I can make it more better.
 

susu

Well-Known Member
Licensed User
Longtime User
Please can U explain me with some example what is confused? so I can make it more better.

For example why I can not zoom when set ToogleZoom? Is it easier to understand if you name it like SetZooom = True/False ?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…