Skip to content

Commit 471e19c

Browse files
Merge pull request #32 from SimformSolutionsPvtLtd/develop
Develop to Main LGTM.
2 parents 24f8256 + 0d1acff commit 471e19c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dependencyResolutionManagement {
5151

5252
```groovy
5353
dependencies {
54-
implementation 'com.github.SimformSolutionsPvtLtd:SSPullToRefresh:1.5'
54+
implementation 'com.github.SimformSolutionsPvtLtd:SSPullToRefresh:1.5.1'
5555
}
5656
```
5757
2. Wrap your refreshing view (RecyclerView, listView etc..) with SSPullToRefreshLayout

sspulltorefresh/src/main/java/com/simform/refresh/SSPullToRefreshLayout.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ class SSPullToRefreshLayout(context: Context?, attrs: AttributeSet? = null) :
8787
// init mRefreshView
8888
mRefreshView = DefaultAnimationView(getContext())
8989
(mRefreshView as SSLottieAnimationView).setAnimation(mLottieAnimationAssetFileName)
90-
mRefreshView.visibility = GONE
9190
val layoutParams = LayoutParams(mRefreshViewSize, mRefreshViewSize)
9291
addView(mRefreshView, layoutParams)
9392

@@ -206,7 +205,6 @@ class SSPullToRefreshLayout(context: Context?, attrs: AttributeSet? = null) :
206205
if (mRefreshView.parent != null) {
207206
(mRefreshView.parent as ViewGroup).removeView(mRefreshView)
208207
}
209-
refreshView.visibility = GONE
210208
addView(refreshView, mRefreshLayoutParams)
211209
if (refreshView !is RefreshCallbacks) throw ClassCastException("RefreshView must implement RefreshCallbacks")
212210
if (refreshView is SSLottieAnimationView) refreshView.setAnimation(mLottieAnimationAssetFileName)

0 commit comments

Comments
 (0)