Reputation: 2074
I am using firebase storage to store images for my application so I can downloaded them using picasso when I need them in different activities, every thing was perfect suddenly with no reason a little strange triangle appears at the top corner of the following imageView
<ImageView
android:id="@+id/imgVisitedUserImageId"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="4"
android:contentDescription="@string/cover_image"
android:scaleType="fitXY"
android:src="@drawable/unknown" />
when I comment out the Picasso image download line
Picasso.with(ProfileActivity.this).load(visitedImage).placeholder(R.drawable.unknown).into(visitedUserImage);
and setImageResource to the imageview using any image every thing goes fine and the image is set well without that strange green triangle any help I will be thankful.enter image description here
Upvotes: 0
Views: 234
Reputation: 4332
It seems that somewhere in your app you are setting Picassos debug indicators to true. See the documentation for reference http://square.github.io/picasso/
Upvotes: 0
Reputation: 128448
that green triangle is actually a debug indicators coming through Picasso library. I am wondering it's coming though you haven't called setIndicatorsEnabled method!
What are debug indicators?
Debug indicators is actually for development to enable the display of a colored ribbon which indicates the image source. You can call setIndicatorsEnabled(true)
on the Picasso instance to enable it and false for disabling it.
Refer documentation for more details http://square.github.io/picasso/
Upvotes: 3