O
O
open0322019-11-24 23:08:14
Android
open032, 2019-11-24 23:08:14

How to specify an image for the used library in MainActivity?

Implemented a library for working with an image in the builder

implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.10.0'

In layout.activity_main specified it
...
<com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:src="@drawable/arco">
</com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView>
...

Everything works, but only with one image, which is specified in the layout
. How can I send images there from MainActivity?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question