Skip to content

Fast Pagination with auto-suggest search and filter functionality implemented

Notifications You must be signed in to change notification settings

kushagrasaxenaknit/BeerOrder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BeerOrder

Contest held on HackerEarth

Fast Pagination with auto-suggest search and filter functionality implemented

Utilized JSON Response Parameters from url through Retrofit Implement functionality to list beers in a mobile app
Search beer by name
Sort feature to sort result through ‘alcohol content’ in ascending and descending order
Filter feature to filter result by Beer style or FAVOURITE
Implemented Shopping Cart to allow users to add the beers into their cart. Maintained state of the cart across sessions through sqlite.
Custom Font and Icon are used to make app interactive.
Added autocomplete feature to Search beers conveniently
Features I have included extra :
PAGINATION to display 15 beer items at a time in one page as user scrolls next page is loaded from list. This saves the memory usage. Offline storage of beer items through sqlite to browse even without internet. Only those items to which user has scrolled are stored offline.
Favorite option to add beer to favorite list and see it by applying favorite filter present on filter list at top.
Filter list is initiated dynamically from received json to list all styles.
Search is optimized if user sets filter of particular style and then tries to search any beer then system searches only in list which satisfies filter setting,
Sort can be applied to any nested level like after applying some filter and typing search text then we can sort the resulted item in either increasing and decreasing order of alcohol content.
Removal of any item added to cart can be done and cart is maintained offline through sqlite.
INSTRUCTIONS :

App is built to be easily understand any function.

We need to have internet connection to load data. Items can be added to favorite by clicking heart button. Items can be added to cart by clicking cart button and increasing quantity on next page where all details about item is displayed . At top search can be done by typing text. Cart items can be viewed by clicking cart button at top. Items from cart can be removed by clicking garbage button beside them. Dropdown Spinner can be used to select sort or filter options.

This app has been tested on Redmi 3s prime API 23.
Screenshots


See Demo Video here
Download Demo Version here

About

Fast Pagination with auto-suggest search and filter functionality implemented

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages