I have a RecyclerView that I want to fill the remaining space of a screen. However, if I set the width to "wrap_content" the last few rows of the RecyclerView are not shown. It seems the RecyclerView is not calculating its height properly. Looks like others have similar issues but I haven't...
I'm retrieving the path to an image from a Uri and saving the path in one of my domain objects for future use. This works fine for images stored on the local device by using a cursor (see below) . However, I'm not sure how to get the file path when the image is stored on my Google drive. The Uri...
I have a RecyclerView to display a list of items. When I click on an item, the item will display an image, when I click on the item again, the image will be 'hidden'. This is working for the item I click on. However, when I click on an item to display the image, another item further down the...
I'm having an issue with Fragments and my Appbar. I have an Activity that uses fragments. When the Activity is first loaded, I use the FragmentManager to load the initial Fragment. When the user selects an option, I use the FragmentManager to 'replace' the current fragment with the new Fragment...
I'm looking for advice on the best design pattern to use so I can create a single toolbar and use it throughout my app. Should I use a single activity and fragments to display different content below the toolbar? What's the best approach?
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.