'Firebase Verify Badge [closed]

I have implemented a function that has to show verify badge on my app user profile if I change the rule from Firebase real-time database but badge doesn't appear even after making rules true view my Rules in Firebase

Code I used in my app to show badge:

if (_childValue.containsKey("Verify")) {
        Verify = _childValue.get("Verify").toString();
        if (Verify.equals("True")) {
            verifyimg.setVisibility(View.VISIBLE);
        }
        else {
            verifyimg.setVisibility(View.INVISIBLE);
        }
    }



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source