Weak reference objects, which do not prevent their referents from being made finalizable, finalized, and then reclaimed. Weak references are most often used to implement canonicalizing mappings. Suppose that the garbage collector determines at a certain point in time that an object is weakly reachable. At that time it will atomically clear all weak references to that object… Read More »
This demo shows How to use Swipe to Refresh in ListViews and ListViewFragments. You can download the complete Android Studio Source Code at the end of the Post. 1. Using ListFragment 2. Using SwipeRefreshListFragment You can download the complete Android Studio Source Code from here. You can send your valuable comments @email@example.com.
Here is a simple example in which we will save or retain the state of the progress using fragments. Note : We have handle a configuration by another way – by ignoring the change i.e using this property in the activity tag android:configChanges=”” By using this android ignores the configuration change and will never try to create a… Read More »
Hello all, Today I will show you a demo on how to use Asynchronous task in android. You should use this if you are doing a task that takes longer time to complete. This class doesnot block the UI thread so the “Application Not Responding” dialog will not appear when you are doing a big task. You should… Read More »