A
A
AleAleA2018-06-23 20:21:17
Java
AleAleA, 2018-06-23 20:21:17

How to pass image reference from one class to another?

There is an image in layout with @+id/muse, layout data belongs to the second class'y, you need to send a link to the image to the first class.
There is a BottomSheetDialog, it has an ImageView container (that is, an id and another is specified, but there is no reference to drawable), I need to declare this id ImageView in the class'e BottomSheetDialog, so that later in the Main class when some condition is met, apply
How to pass a link to an image from one class to another?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mereci, 2018-06-23
@mereci

Good time. Not a master, of course, but isn't it possible to try through sharedprefenses with a condition on fullness in the first class?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question