Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

SQ-27/Settings Part 4: licences ⚖️ #192

Merged
merged 14 commits into from
Mar 29, 2017
Merged

SQ-27/Settings Part 4: licences ⚖️ #192

merged 14 commits into from
Mar 29, 2017

Conversation

rock3r
Copy link
Collaborator

@rock3r rock3r commented Mar 29, 2017

This PR closes #27 by implementing the last bit, the licences screen. As a side note I realised we don't need Android-Apt as since the Android Gradle Plugin 2.2 there is a built-in annotation processor, so I switched to that one and removed one dependency.

licences

TODO:

  • Edge cases [BLOCKED waiting for design on signed off settings]
  • Sub-screens:
    • FOSS licences
    • About screen
  • Use CoordinatorLayout in settings
  • Photo border
  • Obtain cover photo defo not worth it

@rock3r
Copy link
Collaborator Author

rock3r commented Mar 29, 2017

Don't be scared by the number of lines changed, a lot of it is just the licences' text :)

@rock3r rock3r mentioned this pull request Mar 29, 2017
8 tasks
protected void onStart() {
super.onStart();

licensesList.setAdapter(new LibrariesAdapter(this));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just asking: why are we creating the LibrariesAdapter every time the Activity is started? This is a fixed list which is never going to change at runtime so wouldn't it be better to set it in the onCreate ? Same for the LayoutManager and the ItemDecorator

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep that's actually a bug, I created onStart by mistake and didn't notice. Will fix asap.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

@quiro91 quiro91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@quiro91 quiro91 merged commit 0e14ec8 into develop Mar 29, 2017
@quiro91 quiro91 deleted the SQ-27/Licences branch March 29, 2017 16:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Screen: settings
2 participants