Week 1 : GSoC with OpenMRS

Saurabh Kumar
2 min readJun 11, 2021

--

After a lot of planning and deliberation in the community bonding period, I started taking up Issues as planned in the proposal with the start of coding period from 7th of June.

I am taking up the huge encapsulation of the library task AC-891 in parallel to the View-binding task. In the view-binding task I have already finished 3 packages and few PRs are still under review.

For the Jitpack library PR, I have completely migrated the models and entities from the main module to the library module and tested the app which works fine.

View Binding really makes dealing with view elements quite easy with :

  • Null safety: Since view binding creates direct references to views, there’s no risk of a null pointer exception due to an invalid view ID.
  • Type safety: The fields in each binding class have types matching the views they reference in the XML file. This means that there’s no risk of a class cast exception.

Next Week I will be trying to make more progress on the ViewBinding Issue and complete 3–4 more packages to use view-binding instead of traditional way.

In addtion I will also be making significant progress on the Jitpack module PR and try to get the retrofit base classes across the module without breaking any test if possible or with least refactorings as possible.

Happy Weekend :)

Sign up to discover human stories that deepen your understanding of the world.

--

--

Saurabh Kumar
Saurabh Kumar

Written by Saurabh Kumar

Cooking Dreams | Engineering at AWS Github.Handle : https://github.com/LuGO0

No responses yet

Write a response