Subscribed to my Channel? - Programmable 101

app android

SwipeRefreshLayout in Android | AndroidMonks

SwipeRefreshLayout in Android with Example Android SwipeRefreshLayout is a ViewGroup that can hold only one scrollable child. It can be either a ScrollView, ListView or RecyclerView. The basic need for a SwipeRefreshLayout is to allow the users to refresh the screen manually. According to the Docs, “The SwipeRefreshLayout should be used whenever the user can refresh …

SwipeRefreshLayout in Android | AndroidMonks Read More »

5 Alternatives to SlidingDrawer with example

5 Alternatives to SlidingDrawer with example SlidingDrawers have always been attractive, containing cool animation and provides better UI experience to the user. However, the SlidingDrawer library has been deprecated in API 17. In this tutorial we look at 5 super cool open source Sliding Drawers that are very easy to implement. Use them in your …

5 Alternatives to SlidingDrawer with example Read More »

AsyncTask with Progressbar Example | AndroidMonks

 AsyncTask with Progressbar with Example According to the Android Docs, “AsyncTask enables proper and easy use of the UI thread. This class allows you to perform background operations and publish results on the UI thread without having to manipulate threads and/or handlers”. Now that you know what a AsyncTask is, we will use the Async …

AsyncTask with Progressbar Example | AndroidMonks Read More »

Singleton for FusedLocationProviderClient

Creating a Singleton for FusedLocationProviderClient This is a quick tutorial on how to create a singleton for FusedLocationProviderClient in Android. Hoping that you know what a FusedLocationApi used to do(It is deprecated now). The Android Library has the Fused Location Provider Client that is responsible for capturing the location updates from the user. You can …

Singleton for FusedLocationProviderClient Read More »

ViewAnimator in Android | AndroidMonks

ViewAnimator in Android with Example ViewAnimator is a Base class of a FrameLayout, which defines the Animation on it when switching between views. ViewAnimator can be altered in order to change the in-Animation and out-Animation of the FrameLayout or defining custom animation to the Views at hand. We will see, how to create a simple …

ViewAnimator in Android | AndroidMonks Read More »

ZoomControls in Android | AndroidMonks

ZoomControls in Android with Example How often have you seen the +- button that depicts the ZoomControls action in Android Apps. These are a major part of creating a Book reader, or a e-shopping applications. The need for Zoom Controls was very high after the use of high quality images, because people wanted to zoom …

ZoomControls in Android | AndroidMonks Read More »

TableLayout in Android with Example | AndroidMonks

TableLayout in Android with Example | AndroidMonks TableLayout is used to represent Table like View alignment in Android. There are various ways in which you can achieve a table like representation. however TableLayout makes it easy to create one. A TableLayout consists of a number of TableRow objects, each defining a row (actually, you can have other …

TableLayout in Android with Example | AndroidMonks Read More »

Adding Textview inside GridView using Adapters | Androidmonks

Adding Textview inside GridView using Adapters This is a quick implementation to show how you can use a TextView inside a GridView. There always needn’t be a Button. The objective here is to create a 2×2 Grid and add Textviews inside. Check the code below. Create your layout.xml You have to create your layout.xml by …

Adding Textview inside GridView using Adapters | Androidmonks Read More »

AutocompleteTextview in Android – Complete Tutorial

AutocompleteTextview in Android – Implementation and Overview AutocompleteTextview in short, helps the user complete the text when entered into a EditText. If you have read my TextView or ListView, you can guess how we are going to do this. We will need to declare AutocompleteTextview with a simple AutocompleteTextview XML tag. <AutoCompleteTextView android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:text=”Text …

AutocompleteTextview in Android – Complete Tutorial Read More »