Skip to content

Commit c8fb164

Browse files
Android UI Kit v2.2.1-1
1 parent dba640d commit c8fb164

File tree

66 files changed

+1165
-707
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1165
-707
lines changed
-12.1 KB
Loading

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ dependencies {
7272
implementation 'com.facebook.shimmer:shimmer:0.4.0'
7373

7474
//
75-
implementation 'com.cometchat:pro-android-chat-sdk:2.2.0'
75+
implementation 'com.cometchat:pro-android-chat-sdk:2.2.1'
7676
}

app/src/main/java/com/cometchat/pro/androiduikit/ComponentFragments/CallListViewFragment.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
import com.facebook.shimmer.ShimmerFrameLayout;
3434
import com.google.android.material.snackbar.Snackbar;
3535

36+
import java.util.ArrayList;
37+
import java.util.Arrays;
3638
import java.util.Collections;
3739
import java.util.List;
3840

@@ -139,7 +141,7 @@ public void onScrollStateChanged(@NonNull RecyclerView recyclerView, int newStat
139141
private void getCallList() {
140142
if (messagesRequest == null)
141143
{
142-
messagesRequest = new MessagesRequest.MessagesRequestBuilder().setCategory(CometChatConstants.CATEGORY_CALL).setLimit(30).build();
144+
messagesRequest = new MessagesRequest.MessagesRequestBuilder().setCategories(Arrays.asList(CometChatConstants.CATEGORY_CALL)).setLimit(30).build();
143145
}
144146

145147
messagesRequest.fetchPrevious(new CometChat.CallbackListener<List<BaseMessage>>() {

app/src/main/res/layout/activity_chat.xml

Lines changed: 0 additions & 14 deletions
This file was deleted.

app/src/main/res/layout/activity_component_list.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@
152152
android:layout_marginTop="16dp"
153153
android:layout_marginLeft="8dp"
154154
android:layout_marginRight="8dp"
155-
android:id="
156-
@+id/cometchat_user_view"
155+
android:id="@+id/cometchat_user_view"
157156
app:cardElevation="4dp"
158157
android:clickable="true"
159158
android:foreground="?attr/selectableItemBackground"

app/src/main/res/layout/activity_user_list.xml

Lines changed: 0 additions & 17 deletions
This file was deleted.

app/src/main/res/layout/fragment_avatar.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
android:text="@string/avatar_description"
3131
android:layout_width="wrap_content"
3232
android:layout_height="wrap_content"/>
33-
<com.cometchat.pro.uikit.Avatar
33+
<com.cometchat.pro.uikit.ui_components.shared.cometchatAvatar.CometChatAvatar
3434
tools:src="@tools:sample/avatars"
3535
app:avatar_shape="@string/circle"
3636
android:layout_gravity="center"

app/src/main/res/layout/fragment_badge_count.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
android:text="@string/badgeCount_description"
3131
android:layout_width="wrap_content"
3232
android:layout_height="wrap_content"/>
33-
<com.cometchat.pro.uikit.BadgeCount
33+
<com.cometchat.pro.uikit.ui_components.shared.cometchatBadgeCount.CometChatBadgeCount
3434
android:layout_gravity="center"
3535
android:layout_width="wrap_content"
3636
app:count="1"

app/src/main/res/layout/fragment_status_indicator.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
android:text="@string/statusIndicator_description"
3232
android:layout_width="wrap_content"
3333
android:layout_height="wrap_content"/>
34-
<com.cometchat.pro.uikit.StatusIndicator
34+
<com.cometchat.pro.uikit.ui_components.shared.cometchatUserPresence.CometChatUserPresence
3535
android:layout_gravity="center"
3636
android:layout_width="20dp"
3737
app:user_status="@string/online"

app/src/main/res/layout/nav_header_screen.xml

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)