app / sg.edu.ntu.scse.cz2006.gymbuddies.util / DiskIOHelper / hasImageCache

hasImageCache

open static fun hasImageCache(context: Context!, fileName: String!): Boolean

the method checks whether cached bitmap file is exist in application's internal folder. note that the bitmap only valid for a day, after that the cache will be deleted.

Parameters

context - Context!:

fileName - String!: user id will be more preferable

Return
Boolean: