2019.8.27 curriculum design case

A day to complete the task

  1. Register today and completed the landing interface made but there are some shortcomings such as areas that need improvement can not use SMS verification code login, you can not retrieve your password, etc., need further study.

  2. processing database management background after registration.

public class MainActivity extends AppCompatActivity {

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

    @BindView(R.id.bt_main_logout)
    Button mBtMainLogout;

    @OnClick({
            R.id.bt_main_logout
    })
    public void onClick(View view){
        switch (view.getId()) {
            case R.id.bt_main_logout:
                Intent intent = new Intent(this, loginActivity.class);
                startActivity(intent);
                finish();
                break;
        }
    }
}

 

3. Upload the file to the branch gitlab

 

 

  Second, the next day's program

  Log in and complete the registration page, and added to the main project, optimization of interface design.

Third, Daily Summary

  1.GitLab upload compared to GitHub more trouble, now we get to know yet.

  2. Production Code draws on the example of the Internet and found very clever.

  3. How to use the login interface yet to be discussed.

  1. Register today and completed the landing interface made but there are some shortcomings such as areas that need improvement can not use SMS verification code login, you can not retrieve your password, etc., need further study.

  2. processing database management background after registration.

public class MainActivity extends AppCompatActivity {

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

    @BindView(R.id.bt_main_logout)
    Button mBtMainLogout;

    @OnClick({
            R.id.bt_main_logout
    })
    public void onClick(View view){
        switch (view.getId()) {
            case R.id.bt_main_logout:
                Intent intent = new Intent(this, loginActivity.class);
                startActivity(intent);
                finish();
                break;
        }
    }
}

 

3. Upload the file to the branch gitlab

 

 

  Second, the next day's program

  Log in and complete the registration page, and added to the main project, optimization of interface design.

Third, Daily Summary

  1.GitLab upload compared to GitHub more trouble, now we get to know yet.

  2. Production Code draws on the example of the Internet and found very clever.

  3. How to use the login interface yet to be discussed.

Guess you like

Origin www.cnblogs.com/hj609/p/11420613.html