Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Room Park Android
Project
Project
Details
Activity
Releases
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
Vladislav Bogdashkin
Room Park Android
Commits
0af0d011
Commit
0af0d011
authored
Jan 23, 2020
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix toolbar show on article
parent
e119bfde
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
20 deletions
+3
-20
ScreenController.kt
.../roompark/presentation/screen/article/ScreenController.kt
+2
-13
ScreenController.kt
...oompark/presentation/screen/feed_list/ScreenController.kt
+1
-7
No files found.
app/src/main/java/com/biganto/visual/roompark/presentation/screen/article/ScreenController.kt
View file @
0af0d011
...
...
@@ -12,6 +12,7 @@ import androidx.core.text.HtmlCompat
import
butterknife.BindView
import
butterknife.OnClick
import
com.biganto.visual.roompark.R
import
com.biganto.visual.roompark.base.HeaderToolbarModel
import
com.biganto.visual.roompark.base.RoomParkApplication
import
com.biganto.visual.roompark.base.RoomParkMainActivity
import
com.biganto.visual.roompark.conductor.BigantoBaseController
...
...
@@ -81,24 +82,12 @@ class ArticleScreenController :
handleBack
()
}
private
fun
setToolbar
(){
toolBar
.
hideAll
()
toolBar
.
appBar
.
setExpanded
(
false
,
false
)
// toolBar.collapsingToolbarLayout.stateTitle = "ИЗБРАННОЕ"
// toolBar.appBar.liftOnScrollTargetViewId = R.id.Article_cards_recycler_view
toolBar
.
appBar
.
setLiftable
(
false
)
toolBar
.
appBarScrollable
(
false
)
// ArticleRecyclerView.isNestedScrollingEnabled = false
}
private
fun
bindRecycler
()
{
}
override
fun
onViewBound
(
v
:
View
)
{
setToolbar
()
toolBar
.
setToolbar
()
bindRecycler
()
}
...
...
app/src/main/java/com/biganto/visual/roompark/presentation/screen/feed_list/ScreenController.kt
View file @
0af0d011
package
com.biganto.visual.roompark.presentation.screen.feed_list
import
android.view.View
import
androidx.appcompat.widget.Toolbar
import
androidx.core.os.bundleOf
import
androidx.recyclerview.widget.LinearLayoutManager
import
androidx.recyclerview.widget.RecyclerView
...
...
@@ -47,12 +46,7 @@ class ArticlesScreenController :
private
fun
setToolbar
()
{
toolBar
.
showAll
()
toolBar
.
appBar
.
setExpanded
(
false
,
false
)
toolBar
.
appBar
.
setLiftable
(
true
)
toolBar
.
appBarScrollable
(
false
)
articlesRecyclerView
.
isNestedScrollingEnabled
=
false
// articlesRecyclerView.isNestedScrollingEnabled = false
toolBar
.
setToolbar
(
HeaderToolbarModel
(
...
...
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