package com.andreiusenka.hackerlist.login;

import android.support.v4.app.Fragment;

/**
 * Created by satyen on 28/01/17.
 */

public class LoginFragment extends Fragment implements LoginContract.View {

    private LoginContract.Presenter mLoginPresenter;

    public static LoginFragment newInstance() {
        return new LoginFragment();
    }

    @Override
    public void setPresenter(LoginContract.Presenter presenter) {
        mLoginPresenter = presenter;
    }
}

@@ -56,31 +56,375 @@
 oid.
-support.v4.app.Fragment
+os.Bundle;%0Aimport android.support.annotation.Nullable;%0Aimport android.support.v4.app.Fragment;%0Aimport android.support.v4.view.ViewGroupCompat;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0Aimport android.widget.Button;%0Aimport android.widget.EditText;%0Aimport android.widget.TextView;%0A%0Aimport com.andreiusenka.hackerlist.R
 ;%0A%0A/
@@ -596,16 +596,126 @@
 enter;%0A%0A
+%0A    private Button loginButton;%0A    private EditText emailEditText;%0A    private EditText passwordEditText;%0A%0A%0A
     publ
@@ -873,24 +873,24 @@
 resenter) %7B%0A
-
         mLog
@@ -919,11 +919,474 @@
 r;%0A    %7D
+%0A%0A    @Override%0A    public void onCreate(@Nullable Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A%0A    %7D%0A%0A    @Nullable @Override%0A    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) %7B%0A        View root = inflater.inflate(R.layout.login_fragment, container, false);%0A%0A        // Set Up Button%0A        loginButton = (Button) root.findViewById(R.id.button_login);%0A%0A        return root;%0A    %7D
 %0A%7D%0A

set up button