Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event listener #8

Closed
cwfei opened this issue Nov 12, 2015 · 4 comments
Closed

Event listener #8

cwfei opened this issue Nov 12, 2015 · 4 comments

Comments

@cwfei
Copy link

cwfei commented Nov 12, 2015

Sorry for stupid questions, but how do I keep track the events such as check, un-check, arrange items, delete items and add new items, and also how can i display it as a TextView instead of editText and bind them into adapter for displaying in recyclerView, much thanks

@federicoiosue
Copy link
Owner

Actually events are not fired because I've developed the library to be auto-consistent and do everything on its own, but could be a nice improvement at low cost using something like EventBus.

For what concerns your second question I have to admit that I'm missing your point: you would like to show a single checklist item as reciclerview item or all the CheckListView component?

@cwfei
Copy link
Author

cwfei commented Nov 13, 2015

Actually I'm developing a notes application where user can create either a simple note or a checklist, so the main screen will have a recycler view that display all those notes, I've no problem display them using normal text view, just wondering how to display checklist view, the numbers of checklist view is depending on the user, it can be many. BTW thanks for your reply and I appreciate your help.

@federicoiosue
Copy link
Owner

https://github.com/federicoiosue/Omni-Notes/blob/master/omniNotes/src/main/java/it/feio/android/omninotes/utils/TextHelper.java

Look around line 70.

That requires HTML parsing (computationally not convenient in a list) to show Unicode as symbols.
If you find a better approach is very welcome!

@cwfei
Copy link
Author

cwfei commented Nov 16, 2015

Thank you, I've been stuck for a long time, thanks for you help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants