
Search In
Here I'm giving the example of validating form fields in a Spring Web MVC application using Bean Validation API. We'll develop a login form in Spring MVC in which we'll apply validation constraints on two fields email and password.
We use the Bean V
In the below example I have created a RecyclerView, In RecyclerView I have added cardView item, so when you click on cardview item it will open next activity.
In below code, first I have added RecyclerView and CardView library , In second step, In a
In the below example I have created a ListView in ListView I have added title, subtitle and image. Here first I have added ListView in activity_main.xml layout, then I have created new list_item.xml layout here I have created RelativeLayo
In accounts method we can reflect the change on accounts on run time and we can access the account method in Odoo server. For example you can see below code.
from openerp import fields, models, api, _
from datetime import timedelta
class ResCompa

Hello Reader's when you are developing the user interactive websites then you have to show user much more activities which a website is doing. Showing the password strength will make user to use the site much easier. So if you are looking how to
Navigation drawer
:It can used as an app's main navigation option on the left edge of the screen. it it hidden all the time and revealed on the click of the app icon or swipe gesture from the left of the screen. Navigation drawer is used when
Sometimes we require dynamic height of UICollectionViewcell according to text of our label like this:
To get output like this do following steps.
Go to your storyboard, from "object library" drag a collectionView t
In the below example I have created a multiple fragment images use in common Frame .
In first step, First I have created a fragment_common.xml layout , here I have added four ImageView. After then I have created four new xml layout -(fragmen
Spring AOP :- In Spring we can use AOP module. The AOP is Aspect Oriented Programming that works on cross-cutting concerns. This breaks the program logic into distinct part and these cross-cutting concerns are separated from the business logic of a
In the below example I have created View Pager (View pager slider). Here I have added ViewPager in activity_main.xml layout, after that I have created slide_page xml layout, in that I have added a textview and in next step I have created four n
