|
Android example source code file (MockDialogInterface.java)
The MockDialogInterface.java Android example source code// Copyright 2008 The Android Open Source Project package android.test.mock; import android.content.DialogInterface; /** * A mock {@link android.content.DialogInterface} class. All methods are non-functional and throw * {@link java.lang.UnsupportedOperationException}. Override it to provide the operations that you * need. */ public class MockDialogInterface implements DialogInterface { public void cancel() { throw new UnsupportedOperationException("not implemented yet"); } public void dismiss() { throw new UnsupportedOperationException("not implemented yet"); } } Other Android examples (source code examples)Here is a short list of links related to this Android MockDialogInterface.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.