Skip to content

prashanthramakrishnan/SampleAppTypicodeAndroid

Repository files navigation

SampleAppWithTypicode

Developed by:Prashanth Ramakrishnan

Features

  • Language used is Kotlin.
  • Fetches the data from the provided API and shows the list in a recycler view.
  • Swipe to refresh fetches data from the network again.
  • List contains title and body fetched from the API.
  • Search functionality is provided, the search is done only on the title text and not on the body. Search is applied on click on search button on the keyboard, back button or dismissing keyboard does'nt apply the search!
  • Clicking on the list shows the post ID.
  • Long clicking on the list shows a dialog with which the post can be deleted locally.
  • There is no storage in the application, everything is live via the network.
  • Common errors including network are handled as a Snackbar message.
  • Includes unit tests for presenters and instrumentation tests for the application flow. For instrumentation tests I chose to use Robotium.
  • Add your own release keys to install the app in release flavor.

Refer here for proguard rules.

Note

  • There is no DB in this application, data is shown as is from the API calls!
  • Tested on Motorola Moto G4 (not on emulator), Android version 7.0

Open source libraries used

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.