@Singleton
public class FileHelper
extends java.lang.Object
| Constructor and Description |
|---|
FileHelper(android.content.Context mContext,
Res mRes,
PreferencesHelper mPreferencesHelper,
MultimapHelper mMultimapHelper) |
| Modifier and Type | Method and Description |
|---|---|
void |
restoreLocationsMultimap()
Restore the locations multimap by reading the target file and making
converting the target json object
|
void |
restorePendingLocation()
Restore all locations from file to the locations list.
|
void |
storeLocationsMultimap()
Stre the location's multimap in sav file
|
void |
storePendingLocation()
Store all locations that exists in the location list in a file.
|
@Inject
public FileHelper(android.content.Context mContext,
Res mRes,
PreferencesHelper mPreferencesHelper,
MultimapHelper mMultimapHelper)
public void storePendingLocation()
public void restorePendingLocation()
public void storeLocationsMultimap()
public void restoreLocationsMultimap()