Adds the full Android source tree, Gradle wrapper and version catalog, fastlane store metadata in six languages and the fdroiddata build recipe. .gitignore now also excludes build output and keystores. README gains build instructions and an updated structure tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015g6ECVSKcBG8CJPrqC3G5o
21 lines
546 B
Kotlin
21 lines
546 B
Kotlin
package cc.skysparkle.fogwave
|
|
|
|
import android.app.Application
|
|
import coil.ImageLoader
|
|
import coil.ImageLoaderFactory
|
|
import coil.memory.MemoryCache
|
|
|
|
class FogwaveApp : Application(), ImageLoaderFactory {
|
|
override fun newImageLoader(): ImageLoader {
|
|
return ImageLoader.Builder(this)
|
|
.memoryCache {
|
|
MemoryCache.Builder(this)
|
|
.maxSizePercent(0.20)
|
|
.build()
|
|
}
|
|
.crossfade(true)
|
|
.respectCacheHeaders(false)
|
|
.build()
|
|
}
|
|
}
|