- Jun 6, 2020
- 11,517
- 4,383
I want to share my class to create a image preview list like in the gallery app.
This class is based on xCustomListView and PreoptimizedCLV.
The class is creating a cached thumbnail of a image if needed, to avoid performance issues on scrolling.
The cache folder is created here:
You can set the tile count, per default it is 4.
I have tested the class with .mp4,.jpg and .png files.
Example of usage:
...
This class is based on xCustomListView and PreoptimizedCLV.
The class is creating a cached thumbnail of a image if needed, to avoid performance issues on scrolling.
The cache folder is created here:
File.MakeDir(File.DirInternal , "cache")
You can set the tile count, per default it is 4.
I have tested the class with .mp4,.jpg and .png files.
Example of usage:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن تصاویر باید ثبت نام کنید
...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید