How to change ImageView source in android

Issue This is my xml, this is located inside a fragment that appears in my activity. <FrameLayout android:id=”@+id/frame1″ android:layout_width=”wrap_content” android:layout_height=”115dp” android:layout_margin=”2dp” android:layout_weight=”0.33″> <ImageView android:id=”@+id/whoamiwith” android:layout_width=”match_parent” android:layout_height=”match_parent” android:scaleType=”fitCenter” android:src=”@drawable/default_image” /> </FrameLayout> And this is my java code : @Override public void

Continue reading