How to access dynamic layout in adapter?

41
January 12, 2019, at 7:30 PM

I have one adapter in which I have one button, I will click on that button and opening alert dialogue with Yes and No buttons. Now if user will click on that button I am creating one dynamic layout with linear layout and converting it to Image and share it with Installed application. Till opening alert dialog it is working fine, but for accessing dynamic layout not getting idea, can any one help me with some ideas

READ ALSO
i want to make a seekbar with this different background drawbles

i want to make a seekbar with this different background drawbles

see image over here I have already completed adding flags but with different backgrounds seems quite difficult I want to make an seekbar like this any suggestion thanks in advance

46
Cannot resolve adapter method when using DifUtil

Cannot resolve adapter method when using DifUtil

I want to update my RecyclerView using DifUtil to prevent duplicatesThis is how my User class look like:

73
Sorting of ArrayList shows first item twice

Sorting of ArrayList shows first item twice

i try to Sort my arrayList depending on the distance between user and the locationTo do this i created the following two methods:

57