Currently, filtering results overwrites the RecyclerView adapter. We should instead batch add/remove items from the list and call notify() so that the standard RecyclerView animations will be used. This will make searching for pantries a smoother visual process
Improve ViewHolder design
Currently, the lack of padding and icons/images to the left of the pantries makes the Pantry list look a little ugly.
Ideas for Left Image/Icon
Use Place Photos API in data-importer tool and use images from API in list.
This is the ideal option but due to API costs and feasibility of downloading pantry photos through JSON, more research is needed to see if this can be done.
Use small MapView on left side to show marker location
Not ideal because this image is mostly just for left padding. Don't really see a practical use for a map that small.
Pantry Availability icon - Green icon for open, red icon for closed
Perhaps the ideal on second thought. Users will be more interested in a quick visual pattern to see if pantry is open/closed. I originally wanted to include that visual pattern in the Map, but if we add multiple data sources, we'll want to reserve different colors in Map screen for different types of food sources
Enable
RecyclerView
animationsCurrently, filtering results overwrites the
RecyclerView
adapter. We should instead batch add/remove items from the list and callnotify()
so that the standardRecyclerView
animations will be used. This will make searching for pantries a smoother visual processImprove
ViewHolder
designCurrently, the lack of padding and icons/images to the left of the pantries makes the Pantry list look a little ugly.
Ideas for Left Image/Icon
data-importer
tool and use images from API in list.MapView
on left side to show marker location