-
Notifications
You must be signed in to change notification settings - Fork 130
Header color change, fixes long list click #402
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
Conversation
a3993ce to
6eea6bd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akmittal006, Thanks for these changes, but it looks like @vishwesh3 is also working for issue #364. Can you please remove the third fix from this PR, so that we can merge it.
Note: Squash your commits into one , Thank you
2709181 to
fc8fad6
Compare
|
@opticod it is done.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice effort! But couple of comments.
| private static final int TYPE_HEADER = 0; | ||
| private static final int TYPE_ITEM = 1; | ||
| private final Context context; | ||
| private static Context context; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using static field for Context variable will lead to memory leak. You can find many article on memory leak through static fields in web.
Can you come up with different approach for this?
| private static final int TYPE_HEADER = 0; | ||
| private static final int TYPE_ITEM = 1; | ||
| private final Context context; | ||
| private static Context context; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here!
|
@opticod I have made the changes. Thanks for reviewing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @akmittal006 Its looking as well as working great. 🎉
a UI update which includes following:
change of header color based on type of template selected. Provides more continuity and feel to app.

Refactors some code
fixes Selecting and unselecting items #364