gowong / material-sheet-fab

Android library that provides the floating action button to sheet transition from Google's Material Design.
MIT License
1.58k stars 255 forks source link

how to delete notes #18

Closed roshan8 closed 8 years ago

roshan8 commented 8 years ago

Is it possible to implement on note click listener ?

I want to delete note on some event (either long press or onClick event)(its not demonstrated in sample app too)

Is that possible ??

gowong commented 8 years ago

Hi, The sample app isn't meant to be a functioning notes app. It is just to demonstrate a possible use case for this library. But yes, it should be pretty straightforward to add an onClickListener to each note view and then do the deletion there.

roshan8 commented 8 years ago

Thanks for the reply.

I just started with Android programming.

Can you Plz explain where to add on click listener for this? On Nov 17, 2015 4:31 AM, "Gordon Wong" notifications@github.com wrote:

Hi, The sample app isn't meant to be a functioning notes app. It is just to demonstrate a possible use case for this library. But yes, it should be pretty straightforward to add an onClickListener to each note view and then do the deletion there.

— Reply to this email directly or view it on GitHub https://github.com/gowong/material-sheet-fab/issues/18#issuecomment-157202417 .