package androidpath.ll.leshare;

import android.app.Activity;
import android.os.Bundle;
import android.widget.EditText;
import android.widget.Toast;

import butterknife.ButterKnife;
import butterknife.InjectView;
import butterknife.OnClick;


public class LoginActivity extends Activity {
    @InjectView(R.id.login_username_input)
    EditText mUsernameInput;
    @InjectView(R.id.login_password_input)
    EditText mPasswordInput;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);
        ButterKnife.inject(this);
    }

    @OnClick(R.id.btn_login)
    void login() {
        String msg = "Username: " + mUsernameInput.getText() +
                "\nPassword: " + mPasswordInput.getText();
        Toast.makeText(this, msg, Toast.LENGTH_SHORT).show();
    }

}

@@ -633,16 +633,73 @@
 %0A    %7D%0A%0A
+%0A%0A    //test the input for development purpose for now.%0A%0A
     @OnC
@@ -918,21 +918,61 @@
 RT).show();%0A
+        //TODO implement login later on%0A
     %7D%0A%0A%7D%0A

add comments and TODO to LoginActivity