Best android open-source packages and libraries.

Time Logger

Timer clock android project
Updated 2 years ago

Timer Logger

Table of Contents

Prerequisite

  • This project uses the Gradle build system,JDK 11. To build this project, use the gradlew build command after unzipping the folder or use "Import Project" in Android Studio.

  • Use the latest android studio ide to build and run this project

Running the app

  • After setting up the sample backend project the url copied from ngrok should be replaced in the file below.
  • Path to file in the app module src/main/java/com/github/didahdx/timelogger/common/Constant.kt
  • Paste your url in the variable ENDPOINT_API
  • Sample url for demonstration http://c745-105-163-2-61.ngrok.io/ use the url copied from ngrok
  • Make sure your url ends with a forward slash / as the sample shown above
  • It should look similar to this
object Constant {
    const val ENDPOINT_API="http://c745-105-163-2-61.ngrok.io/"
}
  • Build the project and run it.

ScreenShots

Testing

  • All tests are under the Android Test package. All the tests are run using JUnit.

Libraries

Libraries used in the whole application are:

  • ViewModel - Manage UI related data in a lifecycle conscious way
  • RxJava - RxJava is a Java VM implementation of Reactive Extensions: a library for composing asynchronous and event-based programs by using observable sequences.
  • Kotlin.coroutines - Concurrency design pattern that you can use on Android to simplify code that executes asynchronously.
  • Dagger2 - Used for Dependency injection
Tags log