https://gist.github.com/cesarferreira/510aa2456dc0879f559f
Category: JAVA
Create An Observable From An Edit Text
https://stackoverflow.com/questions/41788166/create-an-observable-from-an-edit-text We can use RxBinding. This example could help you. https://github.com/JakeWharton/RxBinding //Validate username field Observable<Boolean> usernameObservable = RxTextView.textChanges(usernameEditText) .map(username -> StringUtils.isNotBlank(username) && Validators.validateUsername(username.toString())).skip(1); //Validate password field Observable<CharSequence> passwordObservable = RxTextView.textChanges(passwordEditText).skip(1); //Validate confirm password field Observable<CharSequence> confirmPasswordObservable = RxTextView.textChanges(confirmPasswordEditText) .skip(1); //Validate password READ MORE
Single and Completable in RxJava
https://android.jlelse.eu/making-your-rxjava-intentions-clearer-with-single-and-completable-f064d98d53a8 Clearer RxJava intentions with Single and Completable In almost all RxJava example code and tutorials there is one class that reigns supreme — the Observable. It is the object which makes the whole magic of reactive programming possible. It’s simple READ MORE
SQLite vs MySQL vs PostgreSQL
SQLite vs MySQL vs PostgreSQL: A Comparison Of Relational Database Management Systems Introduction Relational databases have been in use for a long time. They became popular thanks to management systems that implement the relational model extremely well, which has READ MORE
Espresso cheat sheet
Espresso cheat sheet The Espresso Cheat Sheet is a quick reference you can use during development. This cheat sheet contains most available instances of Matcher, ViewAction, and ViewAssertion. An offline version is also available in PDF format: espresso-cheat-sheet-2.1.0.pdf.
Mobile mini-MBA
Innovation and design thinking in Mobile Applications & Services Mini-MBA finished sussessfully and we present our application. e-nurse https://drive.google.com/open?id=1cjCSmZo5jiDIQlCNZptS9W3Al7t2nsde Presentation of e-Nurse 1η Ενότητα – IDEA GENERATION AND BUSINESS MODEL INNOVATION IT-driven transformation and mobile market trends (Γ. Δουκίδης) READ MORE
Difference between request.getSession(), (false) and (true)
request.getSession() will return a current session. if current session does not exist, then it will create a new one. request.getSession(true) will return current session. If current session does not exist, then it will create a new session. So basically there is not difference between READ MORE
Differences between cookies and sessions JSP
Sessions are server-side files that contain user information, while Cookies are client-side files that contain user information. Sessions have a unique identifier that maps them to specific users. This identifier can be passed in the URL or saved into READ MORE
Webapp Deploy to Aws
Deploy with War, web app archive Local java MySQL DB Tomcat server jsp-page Public AWS Elastic Beanstalk Tomcat VM Option -DJDBC_CONNECTION_STRING=jdbc:mysql://database -DJDBC_USER=user -DJDBC_PASSWORD=password then configure jdbc connection String DB_url=System.getProperty(“JDBC_CONNECTION_STRING”); String DB_user=System.getProperty(“JDBC_USER”); String DB_password=System.getProperty(“JDBC_PASSWORD”); Connection conn = null; READ MORE
Android Jetpack
Android Jetpack Jetpack is a set of libraries, tools and architectural guidance to help make it quick and easy to build great Android apps. It provides common infrastructure code so you can focus on what makes your app unique. READ MORE