RedApparat / Fotoapparat

Making Camera for Android more friendly. 📸
Apache License 2.0
3.82k stars 405 forks source link

Add typealiases. Codestyle improvements. #176

Closed hluhovskyi closed 6 years ago

hluhovskyi commented 6 years ago

Hello! Thanks a lot for your library.

The purpose of this PR is to clean up some parts of codebase according to Coding Conventions Also, this PR's brings typealiases for all selectors and some other cases which significantly improve readability.

Here is a short list of general changes:

If some changes don't fit your needs feel free to comment what should be changed or reverted.

hluhovskyi commented 6 years ago

Thanks for merging PR! Regarding your comments I've just tried to follow conventions mentioned above. And in the end such small things can vary from developer to developer. So in case if something related to this PR should be changed let me know I will try to help with it.