Android Project built using Kotlin to demonstrate the BuilderPattern in a example building a Sandwich with several ingredients and procesing the information in the ActivityMain
The logic is processed from SandwichBuilder class using ingredients class(Ham, Cheese, Bagel, Baguete) created from abstract class (Bread and Filing) then the final result we have a Sandwich object built with the user selection from UI and the ingredients are displayed in a textview.
If you feel that something is missing, or you have a good idea on how to improve this implementation, feel free to open a pull requests exposing your arguments.
Osmar I. Cancino Díaz - o.cancinodiaz@gmail.com Mobile Application Engineer
#Android #Kotlin #DesignPatterns