Skip to content
Loading effect for the child views in Adapter View before binding data from service.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea Initial Commit Mar 3, 2017
app Added support for api 15 Jun 5, 2017
gradle/wrapper
loadingviews Added support for api 15 Jun 5, 2017
screens
.gitattributes Initial Commit Mar 3, 2017
.gitignore
LICENCE Create LICENCE Mar 3, 2017
README.md Initial Commit Mar 3, 2017
build.gradle Initial Commit Mar 3, 2017
gradle.properties
gradlew
gradlew.bat Initial Commit Mar 3, 2017
settings.gradle Initial Commit Mar 3, 2017

README.md

LazyLoadingViews

Loading effect for the child views in Adapter View before binding data from service.

Output sample

Just add the loading views in adapter layout.

  <test.jinesh.loadingviews.LoadingTextView
            android:layout_width="match_parent"
            android:textColor="#000"
            android:id="@+id/city"
            android:layout_margin="5dp"
            android:layout_weight="1"
            android:gravity="center_vertical"
            android:textSize="18sp"
            android:layout_height="0dp" />
			

Call startLoading() to show loading effect on views.

    LoadingTextView cityText = (LoadingTextView) view.findViewById(R.id.city);
	cityText.startLoading();

Call stopLoading() to hide loading effect on views.

cityText.stopLoading();

You can’t perform that action at this time.