mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Commented out postpone enter transition for conversation fragment, seems better
This commit is contained in:
parent
97cae93bb5
commit
efb8ec66a2
1 changed files with 3 additions and 2 deletions
|
|
@ -123,6 +123,7 @@ class ConversationFragment : GenericFragment() {
|
|||
if (positionStart == 0 && adapter.itemCount == itemCount) {
|
||||
// First time we fill the list with messages
|
||||
Log.i("$TAG [$itemCount] events have been loaded")
|
||||
binding.eventsList.scrollToPosition(adapter.itemCount - 1)
|
||||
} else {
|
||||
Log.i("$TAG [$itemCount] new events have been loaded, scrolling to bottom")
|
||||
binding.eventsList.smoothScrollToPosition(adapter.itemCount - 1)
|
||||
|
|
@ -176,7 +177,7 @@ class ConversationFragment : GenericFragment() {
|
|||
isSlidingPaneChild = true
|
||||
|
||||
super.onViewCreated(view, savedInstanceState)
|
||||
postponeEnterTransition()
|
||||
// postponeEnterTransition()
|
||||
|
||||
binding.lifecycleOwner = viewLifecycleOwner
|
||||
|
||||
|
|
@ -225,7 +226,7 @@ class ConversationFragment : GenericFragment() {
|
|||
}
|
||||
|
||||
(view.parent as? ViewGroup)?.doOnPreDraw {
|
||||
startPostponedEnterTransition()
|
||||
// startPostponedEnterTransition()
|
||||
sharedViewModel.openSlidingPaneEvent.value = Event(true)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue