All Projects → mrabelwahed → photon

mrabelwahed / photon

Licence: MIT license
Fast and light image loading library based on kotlin

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to photon

AndroidMVPArchitecture
Android MVP architecture sample project with or without RxJava and Dagger2 and Kotlin
Stars: ✭ 78 (+290%)
Mutual labels:  rxjava, mockito-kotlin, dagger2, retrofit2
Newspaper
An aggregated newspaper app containing news from 10+ local news publishers in Hong Kong. Made with ❤
Stars: ✭ 82 (+310%)
Mutual labels:  rxjava, dagger2, retrofit2
Android Mvvm Rx3 Dagger2 Navcomponent
Implemented using MVVM, LiveData, Room, RX3, Dagger2, Coil, View Binding, Navigation Component and AndroidX
Stars: ✭ 72 (+260%)
Mutual labels:  rxjava, dagger2, retrofit2
Mvparms
⚔️ A common architecture for Android applications developing based on MVP, integrates many open source projects, to make your developing quicker and easier (一个整合了大量主流开源项目高度可配置化的 Android MVP 快速集成框架).
Stars: ✭ 10,146 (+50630%)
Mutual labels:  rxjava, dagger2, retrofit2
Mockstar
Demo project on How to be a Mockstar using Mockito and MockWebServer.
Stars: ✭ 53 (+165%)
Mutual labels:  rxjava, dagger2, retrofit2
Aiyagirl
🔥 爱吖妹纸(含 Kotlin 分支版本)——Retrofit + RxJava + MVP 架构 APP 体验代码家的干货集中营 Gank.io,福利多多,不容错过
Stars: ✭ 1,109 (+5445%)
Mutual labels:  rxjava, dagger2, retrofit2
Mvpframes
整合大量主流开源项目并且可高度配置化的 Android MVP 快速集成框架,支持 AndroidX
Stars: ✭ 100 (+400%)
Mutual labels:  rxjava, dagger2, retrofit2
Afmall
A pure shopping App based on Kotlin + ARouter + MVP + RxJava2 + Retrofit + Dagger2 + 七牛云 + Glide
Stars: ✭ 20 (+0%)
Mutual labels:  rxjava, dagger2, retrofit2
Android Clean Architecture Mvvm Dagger Rx
Implemented by Clean Architecture, Dagger2, MVVM, LiveData, RX, Retrofit2, Room, Anko
Stars: ✭ 138 (+590%)
Mutual labels:  rxjava, dagger2, retrofit2
Androidstarter
A sample Android app using the MVP architecture.
Stars: ✭ 140 (+600%)
Mutual labels:  rxjava, dagger2, retrofit2
Dagger2
Kotlin Dagger2 example project
Stars: ✭ 145 (+625%)
Mutual labels:  rxjava, dagger2, retrofit2
Bigbang
Android base project used by Xmartlabs team
Stars: ✭ 47 (+135%)
Mutual labels:  rxjava, dagger2, retrofit2
Star Wars Shop
Simple project with clean architecture and android lifecycle
Stars: ✭ 37 (+85%)
Mutual labels:  rxjava, dagger2, retrofit2
Android tmdb clean architecture
Showcase of clean architecture concepts along with Continuous Integration and Development for modular Android applications. Includes test suits (functional and unit tests) along with code coverage.
Stars: ✭ 63 (+215%)
Mutual labels:  rxjava, dagger2, retrofit2
Android App Template
Kickstart your new project with Android App Template (Kotlin + MVVM + AAC + Dagger 2 + Retrofit 2 + RxJava)
Stars: ✭ 34 (+70%)
Mutual labels:  rxjava, dagger2, retrofit2
Kotlinrxmvparchitecture
Clean MVP Architecture with RxJava + Dagger2 + Retrofit2 + Mockito + Fresco + EasiestGenericRecyclerAdapter using Kotlin. Includes Unit Tests(Kotlin Tests)!
Stars: ✭ 94 (+370%)
Mutual labels:  rxjava, dagger2, retrofit2
Fountain
Android Kotlin paged endpoints made easy
Stars: ✭ 175 (+775%)
Mutual labels:  rxjava, dagger2, retrofit2
Wanandroid
🐔🏀【停止维护,已使用Jetpack+Mvvm重构】根据鸿神提供的WanAndroid开放Api来制作的产品级玩安卓App,采用Kotlin语言,基于Material Design+AndroidX +MVP+RxJava+Retrofit等框架开发,注释超详细,方便大家练手
Stars: ✭ 674 (+3270%)
Mutual labels:  rxjava, dagger2, retrofit2
Kotlin Life
App界的一股清流 音视频vr应有尽有 完全按照Material design规范设计的App (written with java and Kotlin)
Stars: ✭ 864 (+4220%)
Mutual labels:  rxjava, dagger2, retrofit2
Just Another Android App
An Android base app with loads of cool libraries/configuration NOT MAINTAINED
Stars: ✭ 1,654 (+8170%)
Mutual labels:  rxjava, dagger2, retrofit2

Photon

is an image loading library for Android. Photon is easy,fast and light library

features

  • Image downloading
  • In Memory Caching
  • Disk Caching

Sample App

How to use Photon

    val imageLoader = Photon.getInstance(this)

    imageLoader.displayImage(URL1,image1 , R.drawable.place_holder)

manage cache

setup maximum cache

val cacheSize =4194304 //4MiB

val imageLoader = Photon.getInstance(this , cacheSize)

clear cache

imageLoader.clearcache()

cancel Loading

- to cancel certain image loading task
imageLoader.cancel(url)

-to cancel all tasks

imageLoader.cancelAll()

how to add Photon to your Android Project

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

  dependencies {
       implementation 'com.github.mrabelwahed:photon:1.0.3'
  }

How to contribute

  • fork the repository
  • create branch and add feature or fix bug
  • create pull request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].