akoscz / YouTubePlaylist

A sample Android application which demonstrates the use of the YouTube Data v3 API.
Apache License 2.0
153 stars 84 forks source link

The Green/Blue thing in corner? #21

Closed RobertCarpvik closed 7 years ago

RobertCarpvik commented 7 years ago

What does it stand for and where do I remove it?

mauricioedu commented 7 years ago

To completely remove the colored indicator even from debug builds, remove the following line from YouTubeFragment.onCreateView() Picasso.with(getActivity()).setIndicatorsEnabled(BuildConfig.DEBUG);

akoscz commented 7 years ago

Picasso utilizes two caches: disk and memory. The last resort is to load the image from the network, which is expensive and slow.

The color represents a source:

https://futurestud.io/tutorials/picasso-cache-indicators-logging-stats

RobertCarpvik commented 7 years ago

Thank you so much for the answer, it makes a lot of sense! thanks again!