Я пытаюсь загрузить изображение с URL-адреса, предоставленного ответом json на Google Place, и поместить его в макет изображения, который будет отображаться при нажатии маркера. Я не получаю ошибок во время выполнения или при отладке, но изображение не отображается в Imageview. Есть ли что-нибудь, что может вызвать это?
Мой макет:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/places"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:orientation="horizontal"
android:background="@drawable/mapinfoborder">
<ImageView
android:id="@+id/place_badge"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="20dp"
android:adjustViewBounds="true" />
<TextView
android:id="@+id/place_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:textColor="#ffffffff"
android:layout_below="@+id/place_badge"
android:paddingTop="5dp"
android:textSize="20dp"
android:gravity="center"
android:text="TitlePlaceHolder"/>
<TextView
android:id="@+id/place_snippet"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/place_title"
android:paddingTop="5dp"
android:textColor="#ffffffff"
android:textSize="16dp"
android:gravity="center"
android:text="SnippetPlaceHolder"/>
</RelativeLayout>
Вызов его в моей деятельности:
View v = inflater.inflate(R.layout.places_layout, null);
placeImage = (ImageView) v.findViewById(R.id.place_badge);
...
Picasso.with(getApplicationContext())
.load(markerPlaces.get(marker.getId())).placeholder(R.drawable.bus)
.into(placeImage);
Опять же, я не получаю никаких ошибок, поэтому я действительно не могу предоставить пригодный для использования логарифм. Любые комментарии/идеи/предложения приветствуются.