How would you implement a list like the example below, where the boundary line between items in a RecyclerView are at an angle.
My plan right now is to take the top-most triangular portion of each item and render that into the item above, so visually the items look like the boundaries are slanted, but in reality they remain horizontal. The item can then handle item selection based on where the click is within the item. But is there a better way?
EDIT: On consideration I realise I have no idea how to crop an image to a triangle, so any pointers for that would be super helpful too.