android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/flex_box_container"
app:layout_constraintVertical_bias="0.0">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_list_city"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="8dp"
android:paddingTop="16dp"
android:visibility="gone" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
ImageCustom imageCustom = new ImageCustom();
imageCustom.setFitHeight(150);
imageCustom.setFitWidth(150);
imageCustom.setPickOnBounds(true);
imageCustom.setPreserveRatio(true);
imageCustom.setURL(strExport + resultSet.getString("id").trim() + strJPG);
imageCustom.setImage(image);
imageLayout.add(imageCustom, 0, imageLayout.getChildren().size()); // вот что нужно