INNER CODE UNIT · Java

onTextChanged

junixapp/XPopup · app/src/main/java/com/lxj/xpopupdemo/DemoActivity.java:72

            public void onTextChanged(CharSequence s, int start, int before, int count) { }
            @Override
            public void afterTextChanged(Editable s) {
                if(s.toString().isEmpty()){
                    attachPopup.dismiss();
                    return;
                }
                if(attachPopup.isDismiss()){
                    attachPopup.show();
                }
            }
        });

        initData();
    }

    private void initData() {
        //recyclerView.setLayoutManager(new LinearLayoutManager(this));

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…