Skip to content

Commit

Permalink
fix: android blur method (#447)
Browse files Browse the repository at this point in the history
Co-authored-by: Santiago Lopez Bayo <[email protected]>
  • Loading branch information
slopez93 and Santiago Lopez Bayo authored Oct 10, 2022
1 parent b6c8515 commit cea9766
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,12 @@ protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
}
}

public void clearFocus() {
super.setFocusableInTouchMode(true);
super.setFocusable(true);
super.onDetachedFromWindow();
}

public void setOnSelectListener(@Nullable OnSelectListener onSelectListener) {
mOnSelectListener = onSelectListener;
}
Expand Down

0 comments on commit cea9766

Please sign in to comment.