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
interface SmartLockCredentialsManager { | |
/** | |
* Retrieves stored credentials | |
* | |
* @return Single that emits stored credentials | |
*/ | |
fun retrieveCredentials(): Single<Credential> | |
/** |
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
PATH_TO_APK=$1 | |
APK_THRESHOLD=$2 | |
echo "Analyze APK size command" | |
NEW_APK_SIZE=`expr $(stat -c%s PATH_TO_APK) / 1024` | |
echo "APK size is now "$NEW_APK_SIZE" KB" | |
if [[ $NEW_APK_SIZE -lt $APK_THRESHOLD ]]; then | |
echo "APK file is less than "$APK_THRESHOLD" KB. OK" |
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
public class Presenter { | |
private final NetworkApi api; | |
public Presenter(NetworkApi api) { | |
this.api = api; | |
} | |
public void loadData() { | |
view.showProgress(true); |
NewerOlder