要求; 1.当用户名输入email后,需要用正则表达式验证邮箱格式是否正确,如果不正确,需要用toast提示用户输入的格式不对; 2.当用户输入密码后,需要验证长度在8-12位,否则需要用toast提示用户密度长度不足; 3.用户名和密码保存在二维数组中,第一列是用户名,第二列是密码,当用户点击登录,需要遍历二维数组,看看是否有匹配的用户名和密码; 4.当用户登录成功后,使用 i te t 跳转到一个主界面,代表登录成功,在该主界面使用一个 TextView 显示用户登录进入到时间; 5.额外的,使用一个特殊用户名和密码,例如 Admin,登录进入一个管理界面,可以显示出所有的用户名和密码
login's Introduction
login's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.