Studio Android Periksa apakah email valid java

android.util.Patterns.EMAIL_ADDRESS.matcher(email.getText().toString()).matches();

It returns true if it is a valid email address and false if not
Fool lin