If anyone is looking for a sample of implementing this I used the sample code created by Marcin Kitowicz here for right swiping with a background and drawable image.

The implementation is outlined in a post here. In order to implement left swipe I used the inverse left and right positioning logic of the right swipe code shared in Marcin’s sample.

--

--

Open Sourcer

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store