You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When @UriFactory has additional annotation @WithUriMatcher there should be generated <factory_name>UriMatcher that extends android.content.UriMatcher and defines mapping between uri paths from the @UriBuilder annotated methods and matcher codes @MatchesTo(INTEGER_CODE).
New annotations to be added in boringyuri-api: @WithUriMatcher for target ElementType.TYPE and @MatchesTo(Int) for target ElementType.METHOD
New generator step to be added to UriFactoryProcessor: UriMatcherGeneratorStep
The text was updated successfully, but these errors were encountered:
anton-novikau
changed the title
[boringyuri-processor]: Generate UriMatcher for @UriFactory when there is @WithUriMatcher
[boringyuri-api]: Generate UriMatcher for @UriFactory when there is @WithUriMatcher
Dec 10, 2020
When
@UriFactory
has additional annotation@WithUriMatcher
there should be generated<factory_name>UriMatcher
that extendsandroid.content.UriMatcher
and defines mapping between uri paths from the@UriBuilder
annotated methods and matcher codes@MatchesTo(INTEGER_CODE)
.New annotations to be added in
boringyuri-api
:@WithUriMatcher
for targetElementType.TYPE
and@MatchesTo(Int)
for targetElementType.METHOD
New generator step to be added to
UriFactoryProcessor
:UriMatcherGeneratorStep
The text was updated successfully, but these errors were encountered: