Skip to content

Conversation

@rjrjr
Copy link
Collaborator

@rjrjr rjrjr commented Oct 1, 2020

Deletes unused method ViewRegistry.hasViewBeenBound. Reduces visibility of
LayoutRunnerViewFactory. Improves kdoc on LayoutRunner, especially WRT
ViewBinding.

Also deletes ViewRegistryTest, which was mainly about testing an impossible
to mock extension method that is thoroughly exercised by espresso tests, and
was the only reason ViewRegistry.hasViewBeenBound existed.

closes #197

@rjrjr rjrjr requested a review from a team as a code owner October 1, 2020 16:18
Deletes unused method `ViewRegistry.hasViewBeenBound`. Reduces visibility of
`LayoutRunnerViewFactory`. Improves kdoc on `LayoutRunner`, especially WRT
`ViewBinding`.

Also deletes `ViewRegistryTest`, which was mainly about testing an impossible
to mock extension method that is thoroughly exercised by espresso tests, and
was the only reason `ViewRegistry.hasViewBeenBound` existed.

closes #197
@rjrjr rjrjr force-pushed the ray/delete-unused-thingy-from-the-thing-197 branch from 4d72849 to 2b53220 Compare October 1, 2020 17:20
@rjrjr
Copy link
Collaborator Author

rjrjr commented Oct 1, 2020

Update deletes ViewRegistryTest, which looks to be what required the method, in order to make some mocking possible. It's just not worth the API pollution.

@rjrjr rjrjr merged commit 3aacced into main Oct 1, 2020
@rjrjr rjrjr deleted the ray/delete-unused-thingy-from-the-thing-197 branch October 1, 2020 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Eliminate ViewRegistry. hasViewBeenBound

3 participants