Skip to content

Bakribrahim208/NagwaTask

Repository files navigation

Nagwa Assignment - Android Developer


Assignment Requirement: Create a simple mobile application that:

  • You can find fake responses for the list of videos and books in the attachments.
  • Or use this api (https://nagwa.free.beeceptor.com/movies)
  • You can choose one file to fake download.
  • Show fake download percentage progress for item if the item is downloading.
  • Mark the item that was downloaded, the

Key features:

  • Show all files
  • User Can download one or multiple file
  • show progress percatage when filed downloading (if content length of file known)
  • show Indeterminate in progress (if content length not exist in file like google chrome )
  • show complete after file downloaded.
  • handle failure when problem happened
  • Retry button to redownload file

Demo

Screenshots

Download File state Download File for unknown file size Download File when failure happend

Tech Stack

  • Kotlin
  • Dagger2
  • Rxjava2
  • OkHttp
  • Android Architecture Components

Architecture

Clean Architecture with MVVM pattern in the presentation layer

Ref

When i search to how download file i found can make it with retrofit Stream or andoid downoad manager but i found solution from Jake Wharton that can download file with Okhttp only with progress and that link of File

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages