Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. public class LoginPresenter {
  2.  
  3. private final String TAG = "LoginPresenter";
  4.  
  5. public void performLogin(String userName, String password) {
  6. Log.d(TAG, "Username: " + userName + " & Password:" + password);
  7.  
  8. // Some awesome code for authentication
  9. }
  10.  
  11. public void setPasswordVisible(View view, boolean isVisible) {
  12.  
  13. Log.d(TAG, isVisible ? "Password is visible" : "Password is not visible");
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement