Skip to content

Android Preference class that shows a thumbnail of an image using the path as the preference value

Notifications You must be signed in to change notification settings

austingreco/ImagePreference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ImagePreference

A preference which pulls an image from a local file path and creates a thumbnail icon in the preference.

By default it's set up to choose a photo from the gallery; then, when the image is selected, it's set as the preference value. When the preference is displayed, it will look at that value and try to make a thumbnail from the path. If the path is not found, the default icon is shown instead. The images are cached as SoftReferences, so multiple file loads are avoided unless necessary.

License

About

Android Preference class that shows a thumbnail of an image using the path as the preference value

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages