Among the 23 classic design patterns there is one called Builder pattern, the creation of ________in Android is a typical example of using this pattern, the pattern constrains the building details and also give you the convinience of chain call to a lot of methods such as setTitle,setMessage,setNegativeButton etc.