DEV Community

Cover image for Day 3. Loading of articles
Kiolk
Kiolk

Posted on

Day 3. Loading of articles

So, I am continuing the challenge 100 days of code. I am developing a mobile client for Dev.to

What I did:

I continued to work on network layer. I updated configuration of Ktor, cleaned up code and extracted some constants. With helping of AI, for reduce of boring work, I created models for network and presentation layer. Also, I added mapper from one to others. I prefer to keep models separately for each layer, but I skip this for domain layer, because I can't see possible difference with models of presentation layer. I added model for request parameters for future implementation of pagination and sort of articles. Also, I added converter for date during parsing JSON. For working with, time I use kotlinx.datetime
I spent near two hours for this work
Progress

What I will do:

  • Update README file with description of project.
  • Create a GitHub project to manage the tasks for future collaboration.
  • Create @Composable for representing single article.
  • Create scrollable list of articles with pagination.

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.

See you tomorrow. 

Sentry blog image

The Visual Studio App Center’s retiring

But sadly….you’re not. See how to make the switch to Sentry for all your crash reporting needs.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more