mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Fixed meeting participants list not showing all of them
This commit is contained in:
parent
481e8db0aa
commit
a424f05ab9
3 changed files with 9 additions and 6 deletions
|
|
@ -265,7 +265,7 @@ class MeetingViewModel @UiThread constructor() : GenericViewModel() {
|
|||
for (info in conferenceInfo.participantInfos) {
|
||||
val participant = info.address
|
||||
val isOrganizer = organizer?.weakEqual(participant) ?: false
|
||||
Log.i(
|
||||
Log.d(
|
||||
"$TAG Conference [${conferenceInfo.subject}] ${if (isOrganizer) "organizer" else "participant"} [${participant.asStringUriOnly()}] is a [${info.role}]"
|
||||
)
|
||||
if (isOrganizer) {
|
||||
|
|
@ -279,6 +279,9 @@ class MeetingViewModel @UiThread constructor() : GenericViewModel() {
|
|||
speakersList.add(ParticipantModel(participant, isOrganizer))
|
||||
}
|
||||
}
|
||||
Log.i(
|
||||
"$TAG Found [${speakersList.size}] participants for conference [${conferenceInfo.uri?.asStringUriOnly()}]"
|
||||
)
|
||||
|
||||
if (allSpeaker) {
|
||||
Log.i("$TAG All participants have Speaker role, considering it is a meeting")
|
||||
|
|
|
|||
|
|
@ -68,10 +68,8 @@
|
|||
android:fillViewport="true"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.0"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/invisible_title"
|
||||
app:layout_constraintVertical_bias="0.0">
|
||||
app:layout_constraintTop_toBottomOf="@id/invisible_title">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@
|
|||
app:layout_constraintBottom_toBottomOf="@id/title"
|
||||
app:layout_constraintTop_toTopOf="@id/title" />
|
||||
|
||||
<ScrollView
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:id="@+id/scrollView"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
|
|
@ -318,13 +318,15 @@
|
|||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:nestedScrollingEnabled="true"
|
||||
app:layout_constrainedHeight="true"
|
||||
app:layout_constraintTop_toBottomOf="@id/separator_4"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/participants_icon"
|
||||
app:layout_constraintEnd_toEndOf="parent"/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</ScrollView>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
<View
|
||||
android:id="@+id/separator_5"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue