kolomCari.setOnEditorActionListener((textView, i, keyEvent) -> {
boolean handle = false;
if (i == EditorInfo.IME_ACTION_DONE){
Toast.makeText(getContext(),kolomCari.getText().toString().trim(),Toast.LENGTH_LONG).show();
handle = true;
}
return handle;
public static void ngepopInfo(Context context,View view){
PopupWindow popupWindow = new PopupWindow(context);
View layoutNya = LayoutInflater.from(context).inflate(R.layout.hasil_adapter,null);
popupWindow.setContentView(layoutNya);
popupWindow.setWidth(WindowManager.LayoutParams.WRAP_CONTENT);
popupWindow.setHeight(WindowManager.LayoutParams.WRAP_CONTENT);