Git Product home page Git Product logo

login's Introduction

login

要求; 1.当用户名输入email后,需要用正则表达式验证邮箱格式是否正确,如果不正确,需要用toast提示用户输入的格式不对; 2.当用户输入密码后,需要验证长度在8-12位,否则需要用toast提示用户密度长度不足; 3.用户名和密码保存在二维数组中,第一列是用户名,第二列是密码,当用户点击登录,需要遍历二维数组,看看是否有匹配的用户名和密码; 4.当用户登录成功后,使用 i te t 跳转到一个主界面,代表登录成功,在该主界面使用一个 TextView 显示用户登录进入到时间; 5.额外的,使用一个特殊用户名和密码,例如 Admin,登录进入一个管理界面,可以显示出所有的用户名和密码

login's People

Contributors

iyangxicong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.