Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Simple-Sms
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangchengbo
Simple-Sms
Commits
f4637b74
Commit
f4637b74
authored
Nov 18, 2024
by
zhangchengbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:替换无引用申明
parent
fede4c6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
BaseSimpleActivity.kt
...implemobiletools/commons/activities/BaseSimpleActivity.kt
+2
-3
No files found.
commons/src/main/kotlin/com/simplemobiletools/commons/activities/BaseSimpleActivity.kt
View file @
f4637b74
...
...
@@ -21,7 +21,6 @@ import android.provider.DocumentsContract
import
android.provider.MediaStore
import
android.provider.Settings
import
android.telecom.TelecomManager
import
android.util.Log
import
android.view.Menu
import
android.view.MenuItem
import
android.view.View
...
...
@@ -249,13 +248,13 @@ abstract class BaseSimpleActivity : AppCompatActivity() {
this
.
scrollingView
=
scrollingView
this
.
toolbar
=
toolbar
if
(
scrollingView
is
RecyclerView
)
{
scrollingView
.
setOnScrollChangeListener
{
v
,
scrollX
,
scrollY
,
oldScrollX
,
oldScrollY
->
scrollingView
.
setOnScrollChangeListener
{
_
,
_
,
_
,
_
,
_
->
val
newScrollY
=
scrollingView
.
computeVerticalScrollOffset
()
scrollingChanged
(
newScrollY
,
currentScrollY
)
currentScrollY
=
newScrollY
}
}
else
if
(
scrollingView
is
NestedScrollView
)
{
scrollingView
.
setOnScrollChangeListener
{
v
,
scrollX
,
scrollY
,
oldScrollX
,
oldScrollY
->
scrollingView
.
setOnScrollChangeListener
{
_
,
_
,
scrollY
,
_
,
oldScrollY
->
scrollingChanged
(
scrollY
,
oldScrollY
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment