-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Implements @RootFragment annotation support. #2202
Implements @RootFragment annotation support. #2202
Conversation
11aa5ee to
93ef3ed
Compare
...re/androidannotations-api/src/main/java/org/androidannotations/annotations/RootFragment.java
Outdated
Show resolved
Hide resolved
...tations-core/androidannotations/src/main/java/org/androidannotations/holder/EBeanHolder.java
Show resolved
Hide resolved
...otations/src/main/java/org/androidannotations/internal/core/handler/RootFragmentHandler.java
Outdated
Show resolved
Hide resolved
93ef3ed to
6a485f0
Compare
WonderCsabo
left a comment
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.
Please add compile time tests to verify validation and that correct code compiles, and runtime tests as well.
...re/androidannotations-api/src/main/java/org/androidannotations/annotations/RootFragment.java
Outdated
Show resolved
Hide resolved
...re/androidannotations-api/src/main/java/org/androidannotations/annotations/RootFragment.java
Outdated
Show resolved
Hide resolved
...tations-core/androidannotations/src/main/java/org/androidannotations/holder/EBeanHolder.java
Outdated
Show resolved
Hide resolved
...tations-core/androidannotations/src/main/java/org/androidannotations/holder/EBeanHolder.java
Outdated
Show resolved
Hide resolved
...otations/src/main/java/org/androidannotations/internal/core/handler/RootFragmentHandler.java
Show resolved
Hide resolved
c79722f to
02c0b61
Compare
WonderCsabo
left a comment
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 for adding the extensive tests! I added some small review comments.
...e/androidannotations/src/test/java/org/androidannotations/rootfragment/RootFragmentTest.java
Show resolved
Hide resolved
...nnotations-testutils/src/main/java/org/androidannotations/testutils/ProcessorTestHelper.java
Show resolved
Hide resolved
...nnotations-test/src/test/java/org/androidannotations/test/rootfragment/RootFragmentTest.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/androidannotations/test/rootfragment/ActivityWithBeansWithRootFragment.java
Outdated
Show resolved
Hide resolved
...ore/androidannotations/src/test/java/org/androidannotations/rootfragment/CustomFragment.java
Outdated
Show resolved
Hide resolved
...tations-core/androidannotations/src/main/java/org/androidannotations/holder/EBeanHolder.java
Show resolved
Hide resolved
a7907e6 to
7f374b9
Compare
|
@WonderCsabo Travis failed this time but seems to be due to some missing copyrights in some other files |
|
I will add them.. |
7f374b9 to
8738fce
Compare
|
Thanks, that was my fault. I forgot to rebase the branch to include the license check... |
|
BTW, next time please create separate commits for unrelated changes such as this. |
4da9e81 to
6e5afd6
Compare
|
This depends on #2211 , right? |
|
Right now yes 😅 |
|
#2211 has been merged. |
|
I will rebase this branch, to simplify its revision. |
|
@smaugho please rebase this. |
6e5afd6 to
8efbb50
Compare
|
Done |
|
Thanks! :) |
I've implemented the support for a
@RootFragmentwhich solves the issue #1636 . Please let me know about any question/suggestion regarding the solution.Thanks.