itemtouchhelper-extension icon indicating copy to clipboard operation
itemtouchhelper-extension copied to clipboard

onSwiped method

Open hamzabinamin opened this issue 6 years ago • 0 comments

I know there is a onSwiped method in the helper and callback classes however how can I use that method to access a view component in the activity? My use case consists of a main activity and a fragment. The adapter class shows the rows in the fragment through the activity class, now I need to change the text and an imageview when a row gets swiped, how can I access the textview and imageview present in the fragment through the onSwipe method?

hamzabinamin avatar Mar 29 '18 14:03 hamzabinamin