Day 5. Localization

Kiolk - Sep 14 - - Dev Community

Today, I did less than I expected, and spent more time than planned. I'm noticing that the speed of development is decreasing. This may be a natural process, because at the start, development goes faster than after. 

What I did:

Today, I focused the ArticleItem UI implementation. I created a date converter for display on UI, also implemented logic for calculation of time since publication. While working on this, I noticed that data for display is slightly different from our model. I decided to keep a separate model for UI and added extra mapper. As a result, I keep all logic for preparing data outside the main thread. 

Secondly, I added the base logic for working with localization. After a brief research, I decided to use native localization implementation for both platform. Alternatively, there is a third-party library that helps to keep localization in shard module. At first glance, it seemed overcomplicated with its own plugin, files structure, and complex configuration. I didn't want to spend too much time configuring all of that. I did spend some extra time configuration platform specific dependencies for Koin but resolved this issue.
Example UI implementation

What I will do:

  • Implement ArticleItem view.
  • Added day/night theme support.
  • Update README file with description of project.
  • Create a GitHub project to manage the tasks for future collaboration.

If you want to join the project, just leave a comment here, or write a message in LinkedIn.

What help I'm looking for:

Designer (create design of application in Figma)
Android/KMM developer
Any other help related to the project.

My timeline:

Day 1. Deep breath and dive
Day 2. Networking layer.
Day 3. Loading of articles.
Day 4. ArticleItem.

See you tomorrow. 

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player