Created
April 20, 2020 21:55
-
-
Save emmano/6eb75a1897870e4a6ca889057768211e to your computer and use it in GitHub Desktop.
Sample class that has a dependency on Looper
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 LooperDependent { | |
static final Handler HANDLER = | |
new Handler(Looper.getMainLooper()) { | |
@Override | |
public void handleMessage(Message msg) { | |
throw new AssertionError("Unknown handler message received: " + msg.what); | |
} | |
}; | |
public void someMethodToVerify() {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment