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

Utilities Section remade #143

Closed
wants to merge 4 commits into from
Closed

Utilities Section remade #143

wants to merge 4 commits into from

Conversation

aryanagarwal15
Copy link
Collaborator

This is in reference to #79

@Rushi98 Only three things are to be done:
A) I was not sure how to get menus from firebase here in Realm. So I've just created a viewholder and adapter class. You probably can add that logic. Won't take much time.
B) Currently only Taxi no. are visible and I was not able to add logic for scooty and car rental numbers. I really think the approach used in UtilitiesContactsActivity is very bad. Would prefer if it is done better.
C) As I didn't have data for menu currently. I have not implemented pinch to zoom feature in viewholder. Will do that in future commits.

Lets keep this PR active and develop on it. As I require collaborative help, I would appreciate if all the work is done in this PR.

@Devsoc-BPGC Devsoc-BPGC deleted a comment Aug 19, 2018
@Devsoc-BPGC Devsoc-BPGC deleted a comment Aug 19, 2018
@Devsoc-BPGC Devsoc-BPGC deleted a comment Aug 19, 2018
@Devsoc-BPGC Devsoc-BPGC deleted a comment Aug 19, 2018
@Devsoc-BPGC Devsoc-BPGC deleted a comment Aug 19, 2018
@Devsoc-BPGC Devsoc-BPGC deleted a comment Aug 19, 2018
@Rushi98
Copy link
Member

Rushi98 commented Aug 20, 2018

screenshot_20180820-233529
screenshot_20180820-233537
@aryanagarwal15 the ui needs improvement,

  1. Calculate span count based on device width
  2. Make the label height wrap content, max width constant

@aryanagarwal15
Copy link
Collaborator Author

@Rushi98 I am not sure if many people use the landscape mode in our Application. We probably can make this landscape only app (Up for discussion). I'll fix UI problems you pointed out in 1st screenshot.

@Rushi98
Copy link
Member

Rushi98 commented Aug 22, 2018

It's not hard to support landscape grid layout. See how span count was calculated in the code you replaced.

@Devsoc-BPGC Devsoc-BPGC deleted a comment Aug 29, 2018
@Devsoc-BPGC Devsoc-BPGC deleted a comment Aug 29, 2018
@Devsoc-BPGC Devsoc-BPGC deleted a comment Sep 19, 2018
@Devsoc-BPGC Devsoc-BPGC deleted a comment Sep 19, 2018
@Rushi98
Copy link
Member

Rushi98 commented Jan 19, 2019

closing as out-of-date

@Rushi98 Rushi98 closed this Jan 19, 2019
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

Successfully merging this pull request may close these issues.

2 participants