kotlin Archives - Jigopost https://www.jigopost.com/tag/kotlin/ jigopost is Web And Android Development tutorials for beginners, Our mission: to help people learn to code for free. Level up your blogging skills and become a successful blogger. This includes information on how to start, run, and grow your blog Wed, 01 Jun 2022 10:02:09 +0000 en-US hourly 1 https://www.jigopost.com/wp-content/uploads/2019/12/cropped-logojigodp-32x32.png kotlin Archives - Jigopost https://www.jigopost.com/tag/kotlin/ 32 32 Volley JsonArrayRequest – kotlin Android https://www.jigopost.com/volley-jsonarrayrequest-kotlin-android/ https://www.jigopost.com/volley-jsonarrayrequest-kotlin-android/#respond Wed, 01 Jun 2022 06:35:00 +0000 https://www.jigopost.com/?p=1098 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

The post Volley JsonArrayRequest – kotlin Android appeared first on Jigopost.

]]>
https://www.jigopost.com/volley-jsonarrayrequest-kotlin-android/feed/ 0
Swipe Refresh Layout example kotlin in android https://www.jigopost.com/swipe-refresh-layout-example-kotlin-in-android/ https://www.jigopost.com/swipe-refresh-layout-example-kotlin-in-android/#respond Wed, 06 Oct 2021 05:01:00 +0000 https://www.jigopost.com/?p=814 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...

The post Swipe Refresh Layout example kotlin in android appeared first on Jigopost.

]]>
https://www.jigopost.com/swipe-refresh-layout-example-kotlin-in-android/feed/ 0
Chip center text in Kotlin android https://www.jigopost.com/chip-center-text-kotlin/ https://www.jigopost.com/chip-center-text-kotlin/#respond Mon, 06 Sep 2021 06:31:00 +0000 https://www.jigopost.com/?p=1437 Chip center text : Using Android Chips with Styles In simple terms Android Chip is just a combined object of text, icon and optional close icon. you set center chip text Below show example of chip center text MainActivity.kt activity_main.xml Output

The post Chip center text in Kotlin android appeared first on Jigopost.

]]>
https://www.jigopost.com/chip-center-text-kotlin/feed/ 0
Volley string request in kotlin with example https://www.jigopost.com/volley-string-request-in-kotlin-with-example/ https://www.jigopost.com/volley-string-request-in-kotlin-with-example/#respond Mon, 06 Sep 2021 06:03:00 +0000 https://www.jigopost.com/?p=1126 Volley string request : This example demonstrates how to use Volley Library to parse JSON in Kotlin. android kotlin – Volley post request with parameters. MainActivity.kt. package com.cfsuman.jetpack import androidx.appcompat.app. MainActivity.kt VolleySingleton.kt activity_main.xml add line to app.gradle [dependencies] Output

The post Volley string request in kotlin with example appeared first on Jigopost.

]]>
https://www.jigopost.com/volley-string-request-in-kotlin-with-example/feed/ 0
How to Download an image using volley request https://www.jigopost.com/how-to-download-an-image-using-volley-request/ https://www.jigopost.com/how-to-download-an-image-using-volley-request/#respond Mon, 06 Sep 2021 05:53:00 +0000 https://www.jigopost.com/?p=1123  How to Volley image request, How to Volley image request example, kotlin Volley image request, android kotlin Volley image request. MainActivity.kt VolleySingleton.kt activity_main.xml Add to dependency to app.gradle [dependencies] Output

The post How to Download an image using volley request appeared first on Jigopost.

]]>
https://www.jigopost.com/how-to-download-an-image-using-volley-request/feed/ 0
Volley JsonObjectRequest in Kotlin https://www.jigopost.com/volley-jsonobjectrequest-in-kotlin/ https://www.jigopost.com/volley-jsonobjectrequest-in-kotlin/#respond Mon, 06 Sep 2021 05:36:00 +0000 https://www.jigopost.com/?p=1119 integrated a volley request of JSONObjectRequest in Kotlin. we’ll be implementing GET and POST StringRequest and JsonObjectRequests MainActivity.kt VolleySingleton.kt activity_main.xml add dependency to app.gradle [dependencies] Output

The post Volley JsonObjectRequest in Kotlin appeared first on Jigopost.

]]>
https://www.jigopost.com/volley-jsonobjectrequest-in-kotlin/feed/ 0
ViewPager In Kotlin Android https://www.jigopost.com/viewpager-in-kotlin-android/ https://www.jigopost.com/viewpager-in-kotlin-android/#respond Sun, 27 Jun 2021 03:43:00 +0000 https://www.jigopost.com/?p=782 Here we provides a simple tutorials to implement ViewPager in Kotlin. ViewPager is one of most popular widgets available in android libraries. It is used in most of the famous apps like PlayStore,WhatsApp etc. ViewPager is a widget that is used to implement tabs in Android Applications. ViewPager allows users to swipe left or right to see...

The post ViewPager In Kotlin Android appeared first on Jigopost.

]]>
https://www.jigopost.com/viewpager-in-kotlin-android/feed/ 0
Retrofit with Kotlin-Android https://www.jigopost.com/retrofit-with-kotlin-android/ https://www.jigopost.com/retrofit-with-kotlin-android/#respond Sun, 27 Jun 2021 03:43:00 +0000 https://www.jigopost.com/?p=785 n this tutorial we will learn how to implement Retrofit HTTP client in Android with Kotlin. Retrofit is a powerful HTTP client for an Android and Java built by awesome folks at Square . Retrofit Configured with convertors makes it easy to serialize structured data sets. Typically for JSON  we uses Gson convertors to serialization...

The post Retrofit with Kotlin-Android appeared first on Jigopost.

]]>
https://www.jigopost.com/retrofit-with-kotlin-android/feed/ 0
Spinner Using Kotlin in Android With Example https://www.jigopost.com/spinner-using-kotlin-in-android-with-example/ https://www.jigopost.com/spinner-using-kotlin-in-android-with-example/#respond Sun, 27 Jun 2021 03:42:00 +0000 https://www.jigopost.com/?p=800 Spinners provide a way to select one value from a list set.In the default state, a spinner shows its currently selected value. Create a new Project in Kotlin Open Android Studio. Go to File => New => New Project. Write application name as Spinner. Then, check Include Kotlin Support and click next button. Select minimum...

The post Spinner Using Kotlin in Android With Example appeared first on Jigopost.

]]>
https://www.jigopost.com/spinner-using-kotlin-in-android-with-example/feed/ 0
Edit Text ChangeListener Kotlin https://www.jigopost.com/edit-text-changelistener-kotlin/ https://www.jigopost.com/edit-text-changelistener-kotlin/#respond Sun, 27 Jun 2021 03:41:00 +0000 https://www.jigopost.com/?p=802 Action whenever the text is changed in the EditText View. Application to implement a listenerTextWatcher object, for EditText to trigger an action on text change. Create a new Project in Kotlin Message can display outside of our application normal UI 1 Open Android Studio.2 Go to File => New => New Project. Write application name...

The post Edit Text ChangeListener Kotlin appeared first on Jigopost.

]]>
https://www.jigopost.com/edit-text-changelistener-kotlin/feed/ 0