This file contains 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
class RxCallInstruction : Instruction() { | |
override fun getDescription(): String { | |
return "Should wait until login completes." | |
} | |
override fun checkCondition(): Boolean { | |
return RxCounter.isIdle() | |
} | |
} |
This file contains 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 android.text.Spannable; | |
import android.text.SpannableStringBuilder; | |
import android.text.style.ForegroundColorSpan; | |
public class SpannableStringColor { | |
private final String text; | |
private final Spannable colorizedString; | |
public SpannableStringColor(String text) { |
This file contains 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 ScreengrabHelper { | |
private static ScreengrabHelper instance; | |
private static final long INIT_DELAY = 2000; | |
private long delay; | |
private boolean screenShotTaken; | |
public ScreengrabHelper() { | |
this.delay = INIT_DELAY; |