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

Add display message support for rooms #7

Closed
7 tasks
abishekvashok opened this issue Jul 8, 2017 · 3 comments
Closed
7 tasks

Add display message support for rooms #7

abishekvashok opened this issue Jul 8, 2017 · 3 comments

Comments

@abishekvashok
Copy link
Contributor

abishekvashok commented Jul 8, 2017

Since, we got a rooms fragment which displays all our rooms, we now would need to view messages from them.

  • Add onClick attribute to the dynamically generated views which opens a new fragment.
  • Pass the room id to the other fragment.
  • If network is available try to get new messages and populate the realm table for messages.
  • If network is not available and no messages are there in the realm db, redirect to network connection page.
  • If no messages are in the room even after there is an internet connection, show it to the user.
  • Get the messages from the realm db sorting it with id of the row.
  • Display the messages in a recycler view.

Difficulty: Hard

CC: @championswimmer @the-dagger

Please add bounty points :)

@abishekvashok
Copy link
Contributor Author

Working on it.

@abishekvashok
Copy link
Contributor Author

Done via #9

  • Add onClick attribute to the dynamically generated views which opens a new fragment.
  • Pass the room id to the other fragment.
  • If network is available try to get new messages and populate the realm table for messages.
  • If network is not available and no messages are there in the realm db, redirect to network connection page.
  • If no messages are in the room even after there is an internet connection, show it to the user.
  • Get the messages from the realm db sorting it with id of the row.
  • Display the messages in a recycler view.

In addition to the above added soft addition support for messages and rooms :)

Please add bounties @the-dagger @championswimmer

@abishekvashok
Copy link
Contributor Author

@the-dagger pls add bounties :P

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

No branches or pull requests

2 participants