This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BaseActivity extends AppCompatActivity | |
{ | |
public DrawerLayout drawerLayout; | |
public ListView drawerList; | |
private ActionBarDrawerToggle drawerToggle; | |
protected void onCreate(Bundle savedInstanceState) | |
{ | |
// R.id.drawer_layout should be in every activity with exactly the same id. | |
drawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description of this regular expression is as below: | |
Passwords will contain at least 1 upper case letter | |
Passwords will contain at least 1 lower case letter | |
Passwords will contain at least 1 number or special character | |
Passwords will contain at least 8 characters in length | |
Password maximum length should not be arbitrarily limited | |
(?=^.{8,}$)((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$ |