{"id":24216738,"url":"https://github.com/codekidx/lazy-loader","last_synced_at":"2025-06-23T12:33:10.049Z","repository":{"id":81066844,"uuid":"49504036","full_name":"codekidX/lazy-loader","owner":"codekidX","description":null,"archived":false,"fork":false,"pushed_at":"2016-01-12T14:33:01.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-19T13:59:03.598Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codekidX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-12T14:09:58.000Z","updated_at":"2016-01-12T14:10:23.000Z","dependencies_parsed_at":"2023-03-17T18:15:54.682Z","dependency_job_id":null,"html_url":"https://github.com/codekidX/lazy-loader","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/codekidX/lazy-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekidX%2Flazy-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekidX%2Flazy-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekidX%2Flazy-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekidX%2Flazy-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codekidX","download_url":"https://codeload.github.com/codekidX/lazy-loader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codekidX%2Flazy-loader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261479065,"owners_count":23164620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-14T04:46:23.819Z","updated_at":"2025-06-23T12:33:04.726Z","avatar_url":"https://github.com/codekidX.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lazy Loader\n\nThis library is based on https://github.com/thest1/LazyList.git. Credits to thest1 for an awesome base.\n\n## Usage\n\n\n#### 1. Add it in your root build.gradle at the end of repositories\n\n\n\tallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url \"https://jitpack.io\" }\n\t\t}\n\t}\n\t\n\t\n#### 2. Add the dependency\n\n\n\tdependencies {\n\t\tcompile 'com.github.User:Repo:Tag'\n\t}\n\t\n\t\n## Guide\n\n#### ImageLoaderLocal\n\nThis class is used to load image from a specific path from the phone's storage\n\n  ImageLoaderLocal imageLoaderLocal = new ImageLoaderLocal();\n    //Inside List's getView\n    imageLoaderLocal.DisplayImage(String path, ImageView imageView, int id); //here 'id' is the default image from your resources | if null it will show default gradient\n\n\n#### ImageLoaderRemote\n\nThis class is used to load image from a specific path from the phone's storage\n\n  ImageLoaderRemote imageLoaderRemote = new ImageLoaderRemote();\n    //Inside List's getView | same as thest1's code\n    imageLoaderRemote.DisplayImage(String url, ImageView imageView);\n    \n#### ImageDecoder\n\nThis class is used to get bitmap from decoded file. Example when you use Bitmap.decodeFile method.\n\n  ImageDecoder imageDecoder = new ImageDecoder();\n    //Inside List's getView | same as thest1's code\n    imageDecoder.DisplayImage(String path, ImageView imageView, int id); //here 'id' is the default image from your resources | if null it will show default gradient\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekidx%2Flazy-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodekidx%2Flazy-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodekidx%2Flazy-loader/lists"}