Tell me how to create a class as a Picasso?
To not create a class object. And immediately use his methods through the dot. Where can I read about it?
Tell me how to create a class as a Picasso?
To not create a class object. And immediately use his methods through the dot. Where can I read about it?
The principle on which Picasso Tipo class works is called the Builder pattern , which generates a design pattern in which a particular instance of a received object may have different properties.
When methods are called through a point in a few pieces, it is called a method chainig (call chain) . This method is not directly related to the Builder pattern and can be used in any classes if its methods return suitable values of the type.
Source: https://ru.stackoverflow.com/questions/545378/
All Articles
Picasso.with().load().into();- Andro