Tag Archives: testing

BMI Calculator – Hilt

In this lecture of the BMI Calculator sample application we are going to refactor our app and we are going to start using Hilt, which is a new dependency injection framework for Android.

Continue reading

Follow and like us:

BMI Calculator – Dagger 2

In this lecture of the BMI Calculator sample application we are going to refactor our app and we are going to start using Dagger 2, which is a popular dependency injection library for Android.

Continue reading

Follow and like us:

BMI Calculator – Testing with Koin

In this lecture of the BMI Calculator sample application we are going to talk first about how does tests work in general on Android then how you do testing with Koin.

You will learn about the following topics:

      • Setup and run tests
        • Unit tests
        • Instrumented tests
      • Some code concepts
        • JUnit4
        • Hamcrest
        • AndroidX test library
        • AndroidX Architecture Components Core Test Library

Continue reading

Follow and like us:

BMI Calculator – RecyclerView

In this chapter of the BMI Calculator application tutorial we are going to start using the RecyclerView, what we have already added to the bmis_fragment.xml file.

In this chapter first, we will create an Adapter and a ViewHolder, which won’t have a difficult layout. Thenafter we will create a Data Binding Adapter, which will send the items for the RecyclerView.

Continue reading

Follow and like us: