Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.33 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.33 KB

Android application is built based on the MVVM architectural pattern

  • Model-View-ViewModel (MVVM) software design pattern has been followed.
  • Retrofit is type-safe REST client for Android and Java.
  • Data Binding library which connects Views with Data..
  • Parcelable is a serialization mechanism provided by Android.
  • DiffUtils is used to track changes made to the RecyclerView Adapter.

As webservice this Spring Boot Application has been used.

Installation

Clone the Repository from Github

git clone [email protected]:Masum-ipv/GloboFly.git

APIs

    @GET("destination")
    Call<List<Destination>> getDestinations();

    @GET("messages")
    Call<String> getMessage();

    @GET("destination/{id}")
    Call<Destination> getDestination(@Path("id") int id);

    @POST("destination")
    Call<Destination> addDestination(@Body Destination destination);

    @PUT("destination/{id}")
    Call<Destination> updateDestination(@Path("id") int id, @Body Destination destination);

    @DELETE("destination/{id}")
    Call<Destination> deleteDestination(@Path("id") int id);

alt text