Permalink
Browse files

Added getOnFocusChangeListener method to ShadowView

  • Loading branch information...
1 parent 575bc4a commit 0a780446a9b9384ec3e1ffa2d47c132dbaa8e63c @roberttaylor426 committed Jan 4, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/main/java/com/xtremelabs/robolectric/shadows/ShadowView.java
@@ -446,6 +446,11 @@ public void clearFocus() {
public void setOnFocusChangeListener(View.OnFocusChangeListener listener) {
onFocusChangeListener = listener;
}
+
+ @Implementation
+ public View.OnFocusChangeListener getOnFocusChangeListener () {
+ return onFocusChangeListener;
+ }
@Implementation
public void invalidate() {

0 comments on commit 0a78044

Please sign in to comment.