Giter Site home page Giter Site logo

yash786agg / slidingbottomsheet Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 2.0 14.17 MB

Bottom Sheet Behaviour Like Google Maps or Uber Application

License: Apache License 2.0

Kotlin 100.00%
bottom-sheet bottomsheetbehavior bottomsheetdialogfragment bottomnavigationview uber googlemaps transition-animation sliding-menu mvvmandroid googlemapsdemo

slidingbottomsheet's Introduction

SlidingBottomSheet

This app includes has a google map that shows the near-by events based on user current location which we are getting from LocationViewModel class. On particular POI selection application shows details which include the title, description and the list of images of those events. It also includes the feature to show directions in the form of Polyline between POI and user current location and if your current location is within the 5 km of the selected event than notification pop up with details.

Register your app on Google console with the same package name and insert MAP_API_kEY in keys.properties file to run the application.

Demo

Sliding Up

Languages, libraries and tools used

Above Features are used to make code simple, generic, understandable, clean and easily maintainable for future development. Especially Koin for dependency injection and Kotlin Coroutines for asynchronous API call.

BottomSheetBehavior

  • This class is also in Java as this class includes the code for Resizing map with sliding BottomSheet in Android. As Android’s BottomSheetBehavior doesn’t provide a middle state/ middle anchor. It only supports completely-expanded and completely-collapsed states.

Prerequisites

  • Android Studio 3.5
  • Gradle version 3.5.1
  • Kotlin version 1.3.50
  • Android Device with USB Debugging Enabled

Built With

  • Android Studio - The Official IDE for Android
  • Kotlin - Language used to build the application
  • Gradle - Build tool for Android Studio

slidingbottomsheet's People

Contributors

yash786agg avatar yashaggind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lieubv volgup

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.