This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.* | |
| import java.util.zip.ZipFile | |
| /** | |
| * UnzipUtils class extracts files and sub-directories of a standard zip file to | |
| * a destination directory. | |
| * | |
| */ | |
| object UnzipUtils { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Singleton | |
| class ApiFactory @Inject constructor() { | |
| /** | |
| * [apiBaseUrl] | |
| * because we are adding it from parameter in the request | |
| * */ | |
| private val apiBaseUrl = BuildConfig.BASE_URL | |
| private var retrofit: Retrofit? = null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # this will exit the script if any command fails | |
| set -e | |
| set -o pipefail | |
| ## FOLLOW THIS STEPS FIRS TO SET EVN VARIABLE FOR THE FOLLOWING COMMANDS | |
| # Set android home path | |
| export ANDROID_HOME=~/Library/Android/sdk |
OlderNewer