Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Conversation

@jankovd
Copy link

@jankovd jankovd commented Oct 13, 2015

Useful when Calligraphy is used in a library project where the default
configuration need not be changed, or when different defaults are needed
in multiple contexts.

@chrisjenx
Copy link
Owner

Thats pretty cool, I fear that may be too complicated for some users tho. I'll look through and see if we can make it more digestible.

@jankovd
Copy link
Author

jankovd commented Oct 15, 2015

Note that nothing changes for any existing users of the library, this PR only increases the number of places and ways this library can be used, for example in library projects.

I'll ammend the commit to reduce the visibility of CalligraphyConfig.from since it is of no use to anyone outside the package, and with that, the only api change would be the new CalligraphyContextWrapper.wrap(Context, CalligraphyConfig) method.

@chrisjenx
Copy link
Owner

OK I'll re-review once that's done

On Thu, 15 Oct 2015 12:33 Dejan Jankov notifications@github.com wrote:

Note that nothing changes for any existing users of the library, this
commit only increases the number of places and ways this library can be
used, for exaple in library projects.

I'll ammend the commit to reduce the visibility of CalligraphyConfig.from
since it is of no use to anyone outside the package, and with that, the
only api change would be the new CalligraphyContextWrapper.wrap(Context,
CalligraphyConfig) method.


Reply to this email directly or view it on GitHub
#220 (comment)
.

Useful when Calligraphy is used in a library project where the default
configuration need not be changed, or when different defaults are needed
in multiple contexts.
@jankovd jankovd force-pushed the per_context_config branch from 8e55c65 to 7392dea Compare October 15, 2015 12:46
@jankovd
Copy link
Author

jankovd commented Oct 15, 2015

Done.

@jankovd
Copy link
Author

jankovd commented Dec 1, 2015

Do you have any plans for reviewing and possibly merging this PR?

@chrisjenx
Copy link
Owner

@jankovd this would be better suited to https://github.com/InflationX/ViewPump

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants