title: How can I use ResultReceiver in InputMethodManager#hideSoftInputFromWindow
body: <p>I have some code:</p>
  
  <pre><code>inputMethodManager.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(), 0, new ResultReceiver(null) {
       @Override
       protected void onReceiveResult(int resultCode, Bundle resultData) {
            keyboardClosed();
       }
  });
  </code></pre>
  
  <p>However, running this on a 4.3 emulator the <code>onReceiveResult()</code> method is never called.
  I'm sure I'm doing something wrong, but can't see what...</p>
  
  <p>Can anyone provide me with either some details of how to do this properly or why it isn't working?</p>