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

Moving Butter Knife and Renderers libraries from Rosie to the sample project, updated sample butterknife version 7.0.1 -> 8.0.1 #68

Closed
wants to merge 11 commits into from

Conversation

luis-ibanez
Copy link
Contributor

@luis-ibanez luis-ibanez commented May 27, 2016

There was a warning for using a @nullable over a @OnClick method in MarvelActivity.java, I have updated Butterknife, replace that @nullable for @optional and updated all the @Bind annotation for @BindView. Fix #70

@pedrovgs
Copy link
Contributor

Thank you so much @luis-ibanez 👍

@Serchinastico
Copy link
Contributor

Awesome PR 👍

@luis-ibanez
Copy link
Contributor Author

I'm researching why the tests failed, it seems there is a problem finding the loading view inside the include. Will commit when fixed.

@Serchinastico
Copy link
Contributor

Yup, we got to the same point. Butterknife doesn't bind the views correctly. Thanks for taking a look, we will wait for your update!

@luis-ibanez
Copy link
Contributor Author

Fixes #70

@luis-ibanez luis-ibanez changed the title Updated sample butterknife version 7.0.1 -> 8.0.1 Moving Butter Knife and Renderers libraries from Rosie to the sample project, updated sample butterknife version 7.0.1 -> 8.0.1 May 27, 2016

We have removed the direct support to Renderers and Butter Knife libraries on Rosie to simplify its use and make easier its support. The sample is still using this libraries, so you can find an example of how to integrate this libraries in your project.


Copy link
Contributor

Choose a reason for hiding this comment

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

@luis-ibanez we are not using a changelog for this project we use the release information to notify the release changes if needed.

protected void onPreparePresenter() {
super.onPreparePresenter();
ButterKnife.bind(this);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

We should create another method invoked just after the setContentView method. Something like onPrepareActivity or just override setContentView method to add the butter knife call. Thoughts @Serchinastico?

initialization of view from onPreparePresenter
to onPrepareActivity
@pedrovgs
Copy link
Contributor

@luis-ibanez you have some checkstyle violations:

/home/travis/build/Karumi/Rosie/sample/src/main/java/com/karumi/rosie/sample/base/view/fragment/MarvelFragment.java:20:8: Unused import - android.support.annotation.Nullable.

@luis-ibanez
Copy link
Contributor Author

@pedrovgs the build failed again

@pedrovgs
Copy link
Contributor

Sorry, I'm restarting it again..the problem is the Android Emulator and the Travis-CI environments :S

@pedrovgs
Copy link
Contributor

I've no idea about what's going on with this build :S We always get a timeout during the dexing stage... :_(

@luis-ibanez
Copy link
Contributor Author

I close this PR just to response better to the #70 issue, and make the update in a separate PR given the problems making everything together is causing.

@pedrovgs
Copy link
Contributor

ok

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.

None yet

4 participants