Code

Learn free code

Volley JsonArrayRequest – kotlin Android

Android Volley JsonArrayRequest to Post ArrayList data to the server.Store Data in Locle recyclerView list and send to the server.  JsonArrayRequest — A request for retrieving a JSONArray response body at a given URL Example of volley json arrayRequest in kotlin MainActivity.kt VolleySingleton.kt activity_main.xml add this line into app.gradle [dependencies] Out Put

Volley JsonArrayRequest – kotlin Android Read More »

Swipe Refresh Layout example kotlin in android

Pull to Swipe Refresh Layout is a gesture that is being used in a lot of popular apps, apps where content updates are frequent, like news, social media e.t.c. In Android development this gesture it’s called ‘Swipe to Refresh‘ Methods are: – setOnRefreshListener(OnRefreshListener): adds a listener to let other parts of the code know when refreshing begins.– setRefreshing(boolean): enables or disables progress visibility.– isRefreshing(): checks

Swipe Refresh Layout example kotlin in android Read More »