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

Backport pt. 1 #62

Closed
wants to merge 1 commit into from
Closed

Backport pt. 1 #62

wants to merge 1 commit into from

Conversation

ZacSweers
Copy link
Contributor

As discussed in #47. This PR is intended to be minimal-to-no structural and functional changes, focusing just on compat drop-ins, API annotations, and beginning some work in gating off transitions that won't run on pre-lollipop.

This commit:

  • Drops in compat* versions wherever possible, while including some local compat implementations as well.
  • Target annotations on areas that will only be Lollipop+ (for future reference, no functional changes yet)
  • Using appcompat theming where possible rather than material

Future work would focus around fully supporting conditional transitions and vector drawable interactions, taking advantage of android's resource directory versioning for API-dependent resources, and backporting some functionality with new logic (such as circular imageviews).

I know it's a lot, but after spending a lot of time this week trying to pull things apart in a modular way, it just seemed too much to keep track of. I would've started hitting rebase hell and risking unbuildable commits due to missed imports here or there. One approach might be to break it down into smaller components (per-package maybe?). Another idea would be to PR into another branch so that you could introduce the changes slowly. Let me know what you thinkm and sorry again for the large pull diff :/.

Testing-wise, I've been pretty thorough in testing it to make sure things look and behave the same way. I haven't been able to test designer news or product hunt though. DN's API website seems to be down, and PH requires my emailing them first and asking for permission.

This commit is intended to be minimal-to-no structural changes, focusing just on compat drop-ins, API annotations, and beginning some work in gating off transitions that won't run on pre-lollipop.

This commit:
- Drops in compat* versions wherever possible, while including some local compat implementations as well.
- Target annotations on areas that will only be Lollipop+ (for future reference, no logic changes yet)
- Using appcompat theming where possible rather than material

Future work would focus around fully supporting conditional transitions and vector drawable interactions, taking advantage of android's resource directory versioning for API-dependent resources, and backporting some functionality with new logic (such as circular imageviews).
@googlebot
Copy link
Collaborator

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

@ZacSweers
Copy link
Contributor Author

I signed it!

@googlebot
Copy link
Collaborator

CLAs look good, thanks!

@googlebot googlebot added cla: yes and removed cla: no labels Feb 6, 2016
@nickbutcher
Copy link
Owner

Thanks for all of this work @hzsweers! As discussed elsewhere, please can you resubmit this to the backport branch i've just created. I think that it makes sense to work in a separate branch for this large a change until it has settled down.

Thanks!

@ZacSweers
Copy link
Contributor Author

Will do! I'll close this for now and then re-open to that branch after rebasing next week some time.

@ZacSweers ZacSweers closed this Feb 20, 2016
nickbutcher added a commit that referenced this pull request Feb 29, 2016
Backport pt. 1 (continued from #62)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants