title: Prevent Soft Keyboard and popupWindow from closing when any Gridview/ListView Item is being clicked in PopupWindow
body: <p>I am working on an android application. In an activity, I am showing a popupWindow on clicking on a button in my activity. This PopupWindow is having an EditText Field. When EditText is in focus the soft keyboard opens. When I type in EditText field, a result matching that query shows in ListView in the same PopupWindow.</p>
  
  <p><a href="https://i.stack.imgur.com/HAblE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HAblE.png" alt="enter image description here"></a></p>
  
  <p>Now, when I click on any item of the Listview in the popupWindow, the softkeyboard and popupWindow both get closed. But I do not want them to be closed. How can I prevent it. </p>
  
  <p>Please help, Thanks a lot in advanced :)</p>