├── .gitignore ├── LICENSE ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── developerspace │ │ └── voipcalling │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── ic_launcher-playstore.png │ ├── java │ │ └── com │ │ │ └── developerspace │ │ │ └── voipcalling │ │ │ ├── CometChatConfig.kt │ │ │ ├── MainApplication.kt │ │ │ ├── MainScreen.kt │ │ │ ├── SplashActivity.kt │ │ │ ├── UserDetailScreen.kt │ │ │ ├── UserSettings.kt │ │ │ ├── ui │ │ │ └── logs │ │ │ │ ├── LogsAdapter.kt │ │ │ │ ├── LogsFragment.kt │ │ │ │ └── LogsViewModel.kt │ │ │ └── utils │ │ │ ├── CallBroadcast.kt │ │ │ ├── CallConnection.kt │ │ │ ├── CallConnectionService.kt │ │ │ ├── CallHandler.kt │ │ │ ├── CometChatCallHandler.kt │ │ │ └── PushNotificationService.kt │ └── res │ │ ├── drawable │ │ ├── ic_baseline_call_24.xml │ │ ├── ic_baseline_refresh_24.xml │ │ ├── ic_baseline_settings_24.xml │ │ ├── ic_baseline_supervised_user_circle_24.xml │ │ ├── ic_launcher_foreground.xml │ │ └── no_call.png │ │ ├── layout │ │ ├── activity_main_screen.xml │ │ ├── activity_splash.xml │ │ ├── activity_user_detail_screen.xml │ │ ├── activity_user_settings.xml │ │ ├── fragment_logs.xml │ │ ├── logs_list_row.xml │ │ └── no_call_layout.xml │ │ ├── menu │ │ └── bottom_nav_menu.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── navigation │ │ └── mobile_navigation.xml │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── ic_launcher_background.xml │ │ ├── strings.xml │ │ └── themes.xml │ └── test │ └── java │ └── com │ └── developerspace │ └── voipcalling │ └── ExampleUnitTest.kt ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── samples └── VoIP Sample.mp4 ├── settings.gradle └── uikit ├── .gitignore ├── build.gradle ├── consumer-rules.pro ├── proguard-rules.pro └── src ├── androidTest └── java │ └── com │ └── cometchat │ └── pro │ └── uikit │ └── ExampleInstrumentedTest.java ├── main ├── AndroidManifest.xml ├── assets │ ├── Roboto-Black.ttf │ ├── Roboto-Bold.ttf │ ├── Roboto-Light.ttf │ ├── Roboto-Medium.ttf │ ├── Roboto-Regular.ttf │ └── Roboto-Thin.ttf ├── java │ └── com │ │ └── cometchat │ │ └── pro │ │ └── uikit │ │ ├── ui_components │ │ ├── calls │ │ │ ├── call_list │ │ │ │ ├── AllCall.java │ │ │ │ ├── CometChatCallList.java │ │ │ │ ├── CometChatNewCallList.java │ │ │ │ ├── MissedCall.java │ │ │ │ └── TabAdapter.java │ │ │ └── call_manager │ │ │ │ ├── CometChatCallActivity.java │ │ │ │ ├── CometChatStartCallActivity.java │ │ │ │ ├── helper │ │ │ │ ├── CometChatAudioHelper.java │ │ │ │ ├── IncomingAudioHelper.java │ │ │ │ └── OutgoingAudioHelper.java │ │ │ │ ├── listener │ │ │ │ └── CometChatCallListener.java │ │ │ │ └── ongoing_call │ │ │ │ ├── OngoingCallBroadcast.java │ │ │ │ └── OngoingCallService.java │ │ ├── chats │ │ │ └── CometChatConversationList.java │ │ ├── cometchat_ui │ │ │ └── CometChatUI.java │ │ ├── groups │ │ │ ├── add_members │ │ │ │ ├── CometChatAddMembers.java │ │ │ │ └── CometChatAddMembersActivity.java │ │ │ ├── admin_moderator_list │ │ │ │ ├── CometChatAdminModeratorList.java │ │ │ │ └── CometChatAdminModeratorListActivity.java │ │ │ ├── banned_members │ │ │ │ ├── CometChatBanMembers.java │ │ │ │ └── CometChatBanMembersActivity.java │ │ │ ├── create_group │ │ │ │ ├── CometChatCreateGroup.java │ │ │ │ └── CometChatCreateGroupActivity.java │ │ │ ├── group_details │ │ │ │ └── CometChatGroupDetailActivity.java │ │ │ ├── group_list │ │ │ │ └── CometChatGroupList.java │ │ │ └── group_members │ │ │ │ ├── CometChatGroupMemberList.java │ │ │ │ ├── CometChatGroupMemberListActivity.java │ │ │ │ └── GroupMemberAdapter.java │ │ ├── messages │ │ │ ├── extensions │ │ │ │ ├── Collaborative │ │ │ │ │ └── CometChatCollaborativeActivity.java │ │ │ │ ├── ExtensionResponseListener.java │ │ │ │ ├── Extensions.java │ │ │ │ └── Reactions │ │ │ │ │ └── CometChatReactionInfoActivity.java │ │ │ ├── forward_message │ │ │ │ └── CometChatForwardMessageActivity.java │ │ │ ├── live_reaction │ │ │ │ ├── LiveReactionListener.java │ │ │ │ └── ReactionClickListener.java │ │ │ ├── media_view │ │ │ │ └── CometChatMediaViewActivity.java │ │ │ ├── message_actions │ │ │ │ ├── CometChatMessageActions.java │ │ │ │ └── listener │ │ │ │ │ ├── MessageActionCloseListener.java │ │ │ │ │ └── OnMessageLongClick.java │ │ │ ├── message_information │ │ │ │ ├── CometChatMessageInfoScreenActivity.java │ │ │ │ └── Message_Receipts │ │ │ │ │ ├── CometChatReceiptsAdapter.java │ │ │ │ │ ├── CometChatReceiptsList.java │ │ │ │ │ └── CometChatReceiptsViewModel.java │ │ │ ├── message_list │ │ │ │ ├── CometChatMessageList.java │ │ │ │ ├── CometChatMessageListActivity.java │ │ │ │ └── MessageAdapter.java │ │ │ └── thread_message_list │ │ │ │ ├── CometChatThreadMessageList.java │ │ │ │ ├── CometChatThreadMessageListActivity.java │ │ │ │ └── ThreadAdapter.java │ │ ├── shared │ │ │ ├── cometchatAvatar │ │ │ │ └── CometChatAvatar.java │ │ │ ├── cometchatBadgeCount │ │ │ │ └── CometChatBadgeCount.java │ │ │ ├── cometchatCalls │ │ │ │ ├── CometChatCalls.java │ │ │ │ ├── CometChatCallsAdapter.java │ │ │ │ └── CometChatCallsViewModel.java │ │ │ ├── cometchatComposeBox │ │ │ │ ├── CometChatComposeBox.java │ │ │ │ ├── CometChatComposeBoxActions.java │ │ │ │ ├── CometChatEditText.java │ │ │ │ └── listener │ │ │ │ │ └── ComposeActionListener.java │ │ │ ├── cometchatConversations │ │ │ │ ├── CometChatConversations.java │ │ │ │ ├── CometChatConversationsAdapter.java │ │ │ │ └── CometChatConversationsViewModel.java │ │ │ ├── cometchatGroups │ │ │ │ ├── CometChatGroups.java │ │ │ │ ├── CometChatGroupsAdapter.java │ │ │ │ └── CometChatGroupsViewModel.java │ │ │ ├── cometchatReaction │ │ │ │ ├── CometChatReactionDialog.java │ │ │ │ ├── ReactionUtils.java │ │ │ │ ├── adapter │ │ │ │ │ └── EmojiAdapter.java │ │ │ │ ├── fragment │ │ │ │ │ ├── FragmentReaction.java │ │ │ │ │ ├── FragmentReactionNature.java │ │ │ │ │ ├── FragmentReactionObject.java │ │ │ │ │ ├── FragmentReactionPeople.java │ │ │ │ │ └── FragmentReactionPlaces.java │ │ │ │ ├── listener │ │ │ │ │ └── OnReactionClickListener.java │ │ │ │ └── model │ │ │ │ │ └── Reaction.java │ │ │ ├── cometchatSharedMedia │ │ │ │ ├── CometChatSharedMedia.java │ │ │ │ ├── adapter │ │ │ │ │ ├── CometChatSharedMediaAdapter.java │ │ │ │ │ └── TabAdapter.java │ │ │ │ └── fragments │ │ │ │ │ ├── CometChatSharedFiles.java │ │ │ │ │ ├── CometChatSharedImages.java │ │ │ │ │ └── CometChatSharedVideos.java │ │ │ ├── cometchatSmartReplies │ │ │ │ ├── CometChatSmartReplies.java │ │ │ │ ├── SmartRepliesAdapter.java │ │ │ │ └── SmartReplyViewModel.java │ │ │ ├── cometchatStickers │ │ │ │ ├── StickerFragment.java │ │ │ │ ├── StickerView.java │ │ │ │ ├── adapter │ │ │ │ │ ├── StickerTabAdapter.java │ │ │ │ │ └── StickersAdapter.java │ │ │ │ ├── listener │ │ │ │ │ └── StickerClickListener.java │ │ │ │ └── model │ │ │ │ │ └── Sticker.java │ │ │ ├── cometchatUserPresence │ │ │ │ └── CometChatUserPresence.java │ │ │ └── cometchatUsers │ │ │ │ ├── CometChatUsers.java │ │ │ │ ├── CometChatUsersAdapter.java │ │ │ │ └── UserListViewModel.java │ │ ├── userprofile │ │ │ ├── CometChatUserProfile.java │ │ │ └── privacy_security │ │ │ │ └── CometChatMorePrivacyActivity.java │ │ └── users │ │ │ ├── block_users │ │ │ ├── BlockedListAdapter.java │ │ │ ├── CometChatBlockUserList.java │ │ │ └── CometChatBlockUserListActivity.java │ │ │ ├── user_details │ │ │ ├── CometChatUserDetailScreenActivity.java │ │ │ └── callHistroy │ │ │ │ └── CallHistoryAdapter.java │ │ │ └── user_list │ │ │ └── CometChatUserList.java │ │ ├── ui_resources │ │ ├── constants │ │ │ └── UIKitConstants.java │ │ └── utils │ │ │ ├── AnimUtil.java │ │ │ ├── CallUtils.java │ │ │ ├── FontUtils.java │ │ │ ├── MediaUtils.java │ │ │ ├── Utils.java │ │ │ ├── audio_visualizer │ │ │ ├── AudioBarConstant.java │ │ │ └── AudioRecordView.java │ │ │ ├── camera_preview │ │ │ └── CameraPreview.java │ │ │ ├── custom_alertDialog │ │ │ ├── CustomAlertDialogHelper.java │ │ │ └── OnAlertDialogButtonClickListener.java │ │ │ ├── item_clickListener │ │ │ └── OnItemClickListener.java │ │ │ ├── keyboard_utils │ │ │ ├── KeyBoardUtils.java │ │ │ └── KeyboardVisibilityListener.java │ │ │ ├── pattern_utils │ │ │ ├── PatternBuilder.java │ │ │ └── PatternUtils.java │ │ │ ├── recycler_touch │ │ │ ├── ClickListener.java │ │ │ └── RecyclerTouchListener.java │ │ │ ├── sticker_header │ │ │ ├── StickyHeaderAdapter.java │ │ │ └── StickyHeaderDecoration.java │ │ │ └── zoom_imageView │ │ │ └── ZoomImageView.java │ │ └── ui_settings │ │ ├── UIKitSettings.java │ │ └── UISettings.java ├── res-components │ ├── .DS_Store │ ├── calls │ │ └── layout │ │ │ ├── activity_cometchat_callmanager.xml │ │ │ ├── activity_cometchat_start_call.xml │ │ │ ├── cometchat_call_history_row.xml │ │ │ ├── cometchat_call_list_row.xml │ │ │ ├── fragment_cometchat_all_call.xml │ │ │ ├── fragment_cometchat_calls.xml │ │ │ └── fragment_cometchat_missed_call.xml │ ├── chats │ │ └── layout │ │ │ ├── cometchat_conversation_list_row.xml │ │ │ ├── conversation_shimmer.xml │ │ │ ├── conversation_shimmer_row.xml │ │ │ └── fragment_cometchat_conversationlist.xml │ ├── cometchatui │ │ └── layout │ │ │ └── activity_cometchat_unified.xml │ ├── groups │ │ ├── .DS_Store │ │ └── layout │ │ │ ├── activity_cometchat_ban_members.xml │ │ │ ├── activity_cometchat_group_detail.xml │ │ │ ├── cometchat_group_member_row.xml │ │ │ ├── cometchat_update_group_dialog.xml │ │ │ ├── fragment_cometchat_add_member.xml │ │ │ ├── fragment_cometchat_admin_moderator_list.xml │ │ │ ├── fragment_cometchat_ban_member.xml │ │ │ ├── fragment_cometchat_create_group.xml │ │ │ └── fragment_cometchat_grouplist.xml │ ├── messagebubbles │ │ └── layout │ │ │ ├── message_action_item.xml │ │ │ ├── message_left_audio_item.xml │ │ │ ├── message_left_file_item.xml │ │ │ ├── message_left_group_call_item.xml │ │ │ ├── message_left_link_item.xml │ │ │ ├── message_left_list_image_item.xml │ │ │ ├── message_left_list_video_item.xml │ │ │ ├── message_left_location_item.xml │ │ │ ├── message_left_polls_item.xml │ │ │ ├── message_left_reply_item.xml │ │ │ ├── message_left_sticker_item.xml │ │ │ ├── message_left_text_item.xml │ │ │ ├── message_left_whiteboard_item.xml │ │ │ ├── message_left_writeboard_item.xml │ │ │ ├── message_right_audio_item.xml │ │ │ ├── message_right_file_item.xml │ │ │ ├── message_right_group_call_item.xml │ │ │ ├── message_right_link_item.xml │ │ │ ├── message_right_list_image_item.xml │ │ │ ├── message_right_list_video_item.xml │ │ │ ├── message_right_location_item.xml │ │ │ ├── message_right_polls_item.xml │ │ │ ├── message_right_reply_item.xml │ │ │ ├── message_right_sticker_item.xml │ │ │ ├── message_right_text_item.xml │ │ │ ├── message_right_whiteboard_item.xml │ │ │ ├── message_right_writeboard_item.xml │ │ │ ├── thread_location_message_item.xml │ │ │ ├── thread_message_audio_layout.xml │ │ │ ├── thread_message_file_item.xml │ │ │ ├── thread_message_image_item.xml │ │ │ ├── thread_message_item.xml │ │ │ ├── thread_message_link_item.xml │ │ │ └── thread_message_video_item.xml │ ├── messages │ │ ├── .DS_Store │ │ └── layout │ │ │ ├── activity_cometchat_forward_message.xml │ │ │ ├── activity_cometchat_media_view.xml │ │ │ ├── activity_cometchat_message_info.xml │ │ │ ├── activity_cometchat_message_list.xml │ │ │ ├── activity_cometchat_reaction_info.xml │ │ │ ├── activity_cometchat_webview.xml │ │ │ ├── cometchat_block_user_message_view.xml │ │ │ ├── cometchat_composebox_actions.xml │ │ │ ├── cometchat_edit_message_view.xml │ │ │ ├── cometchat_join_ongoing_call_view.xml │ │ │ ├── cometchat_messagedate_header.xml │ │ │ ├── cometchat_messagelist_toolbar.xml │ │ │ ├── cometchat_receipts_row.xml │ │ │ ├── cometchat_reply_message_view.xml │ │ │ ├── cometchat_threadlist_toolbar.xml │ │ │ ├── fragment_cometchat_message_actions.xml │ │ │ ├── fragment_cometchat_messagelist.xml │ │ │ ├── fragment_cometchat_thread_message.xml │ │ │ ├── message_placeholder.xml │ │ │ └── messages_shimmer.xml │ ├── others │ │ └── layout │ │ │ ├── activity_screen.xml │ │ │ ├── add_polls_layout.xml │ │ │ ├── cc_dialog.xml │ │ │ ├── cometchat_dialog_layout.xml │ │ │ ├── cometchat_reaction_window.xml │ │ │ ├── cometchat_sticker_view.xml │ │ │ ├── divider.xml │ │ │ ├── footer_decor.xml │ │ │ ├── fragment_emoji_objects.xml │ │ │ ├── fragment_stickers_view.xml │ │ │ ├── group_list_row.xml │ │ │ ├── map_share_layout.xml │ │ │ ├── polls_option.xml │ │ │ ├── reaction_info_row.xml │ │ │ ├── reaction_list_row.xml │ │ │ ├── rsc_emoji_item.xml │ │ │ ├── stickers_row.xml │ │ │ └── view_message_box.xml │ ├── shared │ │ └── layout │ │ │ ├── cometchat_badge_count.xml │ │ │ ├── cometchat_compose_box.xml │ │ │ ├── cometchat_shared_media.xml │ │ │ ├── cometchat_shared_media_file_row.xml │ │ │ ├── cometchat_shared_media_image_row.xml │ │ │ ├── cometchat_shared_media_video_row.xml │ │ │ ├── cometchat_smart_reply.xml │ │ │ ├── cometchat_smartreply_row.xml │ │ │ └── fragment_cometchat_shared_media.xml │ ├── userprofile │ │ └── layout │ │ │ ├── activity_cometchat_more_privacy.xml │ │ │ └── fragment_cometchat_user_profile.xml │ └── users │ │ ├── drawable │ │ └── ic_baseline_picture_in_picture.xml │ │ └── layout │ │ ├── activity_cometchat_user_detail.xml │ │ ├── cometchat_update_user_dialog.xml │ │ ├── cometchat_user_list_row.xml │ │ ├── cometchat_userlist_header.xml │ │ ├── fragment_cometchat_block_user.xml │ │ ├── fragment_cometchat_userlist.xml │ │ ├── user_shimmer.xml │ │ └── user_shimmer_item.xml └── res │ ├── .DS_Store │ ├── anim │ ├── animate_left_slide.xml │ ├── animate_right_slide.xml │ └── animate_up_slide.xml │ ├── animator │ └── toolbar_elevation.xml │ ├── drawable │ ├── .DS_Store │ ├── add_emoji.png │ ├── bottom_border.xml │ ├── bottom_curve_border.xml │ ├── cc.png │ ├── cc_message_bubble_left.xml │ ├── cc_message_bubble_right.xml │ ├── cc_progress_drawable.xml │ ├── cc_rounded_date_button.xml │ ├── compose_box.xml │ ├── count_background.xml │ ├── curve_progress_bar.xml │ ├── default_sticker.png │ ├── feel.xml │ ├── heart_reaction.png │ ├── ic_account.xml │ ├── ic_add.xml │ ├── ic_add_24dp.xml │ ├── ic_add_circle_grey_32dp.xml │ ├── ic_archive_white_24dp.xml │ ├── ic_arrow.xml │ ├── ic_arrow_back_24dp.xml │ ├── ic_arrow_right_24dp.xml │ ├── ic_baseline_check_circle_24.xml │ ├── ic_baseline_edit_24.xml │ ├── ic_baseline_forward_24.xml │ ├── ic_baseline_more_vert_24.xml │ ├── ic_baseline_retry_24.xml │ ├── ic_block_24dp.xml │ ├── ic_call_24dp.xml │ ├── ic_call_end_white_24dp.xml │ ├── ic_call_green24dp.xml │ ├── ic_call_incoming_24dp.xml │ ├── ic_call_missed_incoming_24dp.xml │ ├── ic_call_missed_outgoing_24dp.xml │ ├── ic_call_outgoing_24dp.xml │ ├── ic_camera.xml │ ├── ic_chat.xml │ ├── ic_chat_pin_white_24dp.xml │ ├── ic_check_black_24dp.xml │ ├── ic_circle_grey_32dp.xml │ ├── ic_circle_outline_12dp.xml │ ├── ic_close_24dp.xml │ ├── ic_close_circle.xml │ ├── ic_contacts.xml │ ├── ic_content_copy_black_24dp.xml │ ├── ic_defaulf_image.xml │ ├── ic_delete_24dp.xml │ ├── ic_done_all_black_24dp.xml │ ├── ic_double_tick.xml │ ├── ic_exit_to_app.xml │ ├── ic_file_download.xml │ ├── ic_forward.xml │ ├── ic_group.xml │ ├── ic_group_add_black_24dp.xml │ ├── ic_hand.xml │ ├── ic_happy.xml │ ├── ic_help.xml │ ├── ic_help_24dp.xml │ ├── ic_info.xml │ ├── ic_info_red.xml │ ├── ic_insert_drive_file_black_24dp.xml │ ├── ic_keyboard_arrow_down_red_24dp.xml │ ├── ic_keyboard_arrow_right_black_24dp.xml │ ├── ic_keyboard_arrow_up_green_24dp.xml │ ├── ic_keyboard_black_24dp.xml │ ├── ic_library_music_24dp.xml │ ├── ic_lightblue_circular_background.xml │ ├── ic_lock_24dp.xml │ ├── ic_mic_grey_24dp.xml │ ├── ic_mic_white_24dp.xml │ ├── ic_missed_video_call_24dp.xml │ ├── ic_more.xml │ ├── ic_nature_24dp.xml │ ├── ic_nav_chat.xml │ ├── ic_near_me_24dp.xml │ ├── ic_no_calls_48dp.xml │ ├── ic_notification.xml │ ├── ic_notifications_black_24dp.xml │ ├── ic_object_24dp.xml │ ├── ic_pause_24dp.xml │ ├── ic_phone_add_24dp.xml │ ├── ic_photo.xml │ ├── ic_pin_circle_24dp.xml │ ├── ic_places_24dp.xml │ ├── ic_play_arrow_black_24dp.xml │ ├── ic_play_button.xml │ ├── ic_poll_24dp.xml │ ├── ic_reply.xml │ ├── ic_reply_24dp.xml │ ├── ic_report_problem.xml │ ├── ic_report_problem_24dp.xml │ ├── ic_search_24dp.xml │ ├── ic_security.xml │ ├── ic_security_24dp.xml │ ├── ic_send.xml │ ├── ic_share_24dp.xml │ ├── ic_stop_24dp.xml │ ├── ic_stop_white_24dp.xml │ ├── ic_thread_24dp.xml │ ├── ic_translate.xml │ ├── ic_unreadchat_bubble_white_24dp.xml │ ├── ic_video_call_black_24dp.xml │ ├── ic_videocam_24dp.xml │ ├── ic_videocam_green_24dp.xml │ ├── ic_videocam_white_24dp.xml │ ├── ic_whiteboard_24dp.png │ ├── ic_writeboard_24dp.png │ ├── left_border.xml │ ├── left_border_dark.xml │ ├── left_border_lmessage.xml │ ├── left_border_rmessage.xml │ ├── no_conversation.png │ ├── no_groups.png │ ├── rounded_border.xml │ ├── rounded_dialog.xml │ ├── search_box.xml │ ├── search_box_shimmer.xml │ ├── shimmer_circle.xml │ ├── smart_reply.xml │ ├── tab_background_state.xml │ ├── tab_layout_background.xml │ ├── tab_layout_background_active.xml │ └── thin_rounded_border.xml │ ├── layout │ └── new_message_layout.xml │ ├── menu │ ├── cometchat_navigation_bottom.xml │ ├── cometchat_reaction_nav.xml │ └── group_action_menu.xml │ ├── raw │ ├── beep2.mp3 │ ├── incoming_call.wav │ ├── incoming_message.wav │ ├── outgoing_call.wav │ ├── outgoing_message.wav │ ├── record_error.wav │ ├── record_finished.wav │ └── record_start.wav │ ├── values-ar │ └── strings.xml │ ├── values-de │ └── strings.xml │ ├── values-es │ └── strings.xml │ ├── values-fr │ └── strings.xml │ ├── values-hi │ └── strings.xml │ ├── values-ms │ └── strings.xml │ ├── values-pt │ └── strings.xml │ ├── values-ru │ └── strings.xml │ ├── values-zh-rTW │ └── strings.xml │ ├── values-zh │ └── strings.xml │ ├── values │ ├── attr.xml │ ├── color.xml │ ├── dimen.xml │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml │ └── xml │ └── provider_path.xml └── test └── java └── com └── cometchat └── pro └── uikit └── ExampleUnitTest.java /.gitignore: -------------------------------------------------------------------------------- 1 | # Built application files 2 | *.apk 3 | *.aar 4 | *.ap_ 5 | *.aab 6 | 7 | # Files for the ART/Dalvik VM 8 | *.dex 9 | 10 | # Java class files 11 | *.class 12 | 13 | # Generated files 14 | bin/ 15 | gen/ 16 | out/ 17 | # Uncomment the following line in case you need and you don't have the release build type files in your app 18 | # release/ 19 | 20 | # Gradle files 21 | .gradle/ 22 | build/ 23 | 24 | # Local configuration file (sdk path, etc) 25 | local.properties 26 | 27 | # Proguard folder generated by Eclipse 28 | proguard/ 29 | 30 | # Log Files 31 | *.log 32 | 33 | # Android Studio Navigation editor temp files 34 | .navigation/ 35 | 36 | # Android Studio captures folder 37 | captures/ 38 | 39 | # IntelliJ 40 | *.iml 41 | .idea/workspace.xml 42 | .idea/tasks.xml 43 | .idea/gradle.xml 44 | .idea/assetWizardSettings.xml 45 | .idea/dictionaries 46 | .idea/libraries 47 | # Android Studio 3 in .gitignore file. 48 | .idea/caches 49 | .idea/modules.xml 50 | # Comment next line if keeping position of elements in Navigation Editor is relevant for you 51 | .idea/navEditor.xml 52 | 53 | # Keystore files 54 | # Uncomment the following lines if you do not want to check your keystore files in. 55 | #*.jks 56 | #*.keystore 57 | 58 | # External native build folder generated in Android Studio 2.2 and later 59 | .externalNativeBuild 60 | .cxx/ 61 | 62 | # Google Services (e.g. APIs or Firebase) 63 | # google-services.json 64 | 65 | # Freeline 66 | freeline.py 67 | freeline/ 68 | freeline_project_description.json 69 | 70 | # fastlane 71 | fastlane/report.xml 72 | fastlane/Preview.html 73 | fastlane/screenshots 74 | fastlane/test_output 75 | fastlane/readme.md 76 | 77 | # Version control 78 | vcs.xml 79 | 80 | # lint 81 | lint/intermediates/ 82 | lint/generated/ 83 | lint/outputs/ 84 | lint/tmp/ 85 | # lint/reports/ 86 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /app/src/androidTest/java/com/developerspace/voipcalling/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- 1 | package com.developerspace.voipcalling 2 | 3 | import androidx.test.platform.app.InstrumentationRegistry 4 | import androidx.test.ext.junit.runners.AndroidJUnit4 5 | 6 | import org.junit.Test 7 | import org.junit.runner.RunWith 8 | 9 | import org.junit.Assert.* 10 | 11 | /** 12 | * Instrumented test, which will execute on an Android device. 13 | * 14 | * See [testing documentation](http://d.android.com/tools/testing). 15 | */ 16 | @RunWith(AndroidJUnit4::class) 17 | class ExampleInstrumentedTest { 18 | @Test 19 | fun useAppContext() { 20 | // Context of the app under test. 21 | val appContext = InstrumentationRegistry.getInstrumentation().targetContext 22 | assertEquals("com.dwarsh.voipcalling", appContext.packageName) 23 | } 24 | } -------------------------------------------------------------------------------- /app/src/main/ic_launcher-playstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/app/src/main/ic_launcher-playstore.png -------------------------------------------------------------------------------- /app/src/main/java/com/developerspace/voipcalling/CometChatConfig.kt: -------------------------------------------------------------------------------- 1 | package com.developerspace.voipcalling 2 | 3 | class CometChatConfig { 4 | companion object { 5 | var APP_ID = "****************" //Replace with CometChat APP ID 6 | var KEY = "************************************" //Replace with CometChat Key 7 | var REGION = "**" //Replace with CometChat App Region 8 | } 9 | } -------------------------------------------------------------------------------- /app/src/main/java/com/developerspace/voipcalling/ui/logs/LogsViewModel.kt: -------------------------------------------------------------------------------- 1 | package com.developerspace.voipcalling.ui.logs 2 | 3 | import android.util.Log 4 | import androidx.lifecycle.LiveData 5 | import androidx.lifecycle.MutableLiveData 6 | import androidx.lifecycle.ViewModel 7 | import com.cometchat.pro.constants.CometChatConstants 8 | import com.cometchat.pro.core.Call 9 | import com.cometchat.pro.core.CometChat 10 | import com.cometchat.pro.core.MessagesRequest 11 | import com.cometchat.pro.exceptions.CometChatException 12 | import com.cometchat.pro.models.BaseMessage 13 | import java.util.* 14 | import kotlin.collections.ArrayList 15 | 16 | class LogsViewModel : ViewModel() { 17 | 18 | var messagesRequest : MessagesRequest? = null 19 | 20 | private val _logsList = MutableLiveData>() 21 | 22 | val logsList: LiveData> = _logsList 23 | 24 | fun fetchCalls() { 25 | if (messagesRequest == null) { 26 | messagesRequest = 27 | MessagesRequest.MessagesRequestBuilder() 28 | .setCategories(listOf(CometChatConstants.CATEGORY_CALL)) 29 | .setLimit(30).build() 30 | } 31 | 32 | messagesRequest?.fetchPrevious(object : CometChat.CallbackListener?>() { 33 | 34 | override fun onSuccess(p0: List?) { 35 | Log.e( "onSuccess: ",p0?.toString()!! ) 36 | Collections.reverse(p0) 37 | _logsList.value = filterList(p0) 38 | } 39 | 40 | override fun onError(e: CometChatException) { 41 | Log.e("onError: ", e.message!!) 42 | 43 | } 44 | }) 45 | } 46 | 47 | private fun filterList(p0: List): List? { 48 | val tempList = ArrayList() 49 | for (message in p0) { 50 | val call = message as Call 51 | if (call.callStatus!=CometChatConstants.CALL_STATUS_INITIATED) 52 | tempList.add(call) 53 | } 54 | return tempList 55 | } 56 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_baseline_call_24.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_baseline_refresh_24.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_baseline_settings_24.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_baseline_supervised_user_circle_24.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 11 | 14 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/no_call.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/app/src/main/res/drawable/no_call.png -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_splash.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 17 | 25 | 30 | 40 | 46 | 47 | -------------------------------------------------------------------------------- /app/src/main/res/layout/no_call_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 12 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/menu/bottom_nav_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/navigation/mobile_navigation.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 19 | 20 | -------------------------------------------------------------------------------- /app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #262EDC 4 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | VoIP Calling 3 | MainActivity 4 | Logs 5 | Users 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /app/src/test/java/com/developerspace/voipcalling/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.developerspace.voipcalling 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | ext.kotlin_version = "1.4.31" 4 | repositories { 5 | google() 6 | jcenter() 7 | } 8 | dependencies { 9 | classpath "com.android.tools.build:gradle:4.1.2" 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | classpath 'com.google.gms:google-services:4.3.5' 12 | 13 | // NOTE: Do not place your application dependencies here; they belong 14 | // in the individual module build.gradle files 15 | } 16 | } 17 | 18 | allprojects { 19 | repositories { 20 | google() 21 | jcenter() 22 | maven { 23 | url "https://dl.bintray.com/cometchat/pro" 24 | } 25 | 26 | } 27 | } 28 | 29 | task clean(type: Delete) { 30 | delete rootProject.buildDir 31 | } -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | # AndroidX package structure to make it clearer which packages are bundled with the 15 | # Android operating system, and which are packaged with your app"s APK 16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 17 | android.useAndroidX=true 18 | # Automatically convert third-party libraries to use AndroidX 19 | android.enableJetifier=true 20 | # Kotlin code style for this project: "official" or "obsolete": 21 | kotlin.code.style=official -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sun Mar 14 15:41:50 IST 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip 7 | -------------------------------------------------------------------------------- /samples/VoIP Sample.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/samples/VoIP Sample.mp4 -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app',':uikit' 2 | rootProject.name = "VoIP Calling" -------------------------------------------------------------------------------- /uikit/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /uikit/consumer-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/consumer-rules.pro -------------------------------------------------------------------------------- /uikit/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /uikit/src/androidTest/java/com/cometchat/pro/uikit/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit; 2 | 3 | import android.content.Context; 4 | 5 | import androidx.test.platform.app.InstrumentationRegistry; 6 | import androidx.test.ext.junit.runners.AndroidJUnit4; 7 | 8 | import org.junit.Test; 9 | import org.junit.runner.RunWith; 10 | 11 | import static org.junit.Assert.*; 12 | 13 | /** 14 | * Instrumented test, which will execute on an Android device. 15 | * 16 | * @see Testing documentation 17 | */ 18 | @RunWith(AndroidJUnit4.class) 19 | public class ExampleInstrumentedTest { 20 | @Test 21 | public void useAppContext() { 22 | // Context of the app under test. 23 | Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); 24 | 25 | assertEquals("com.cometchat.pro.liftoff.test", appContext.getPackageName()); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /uikit/src/main/assets/Roboto-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/assets/Roboto-Black.ttf -------------------------------------------------------------------------------- /uikit/src/main/assets/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/assets/Roboto-Bold.ttf -------------------------------------------------------------------------------- /uikit/src/main/assets/Roboto-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/assets/Roboto-Light.ttf -------------------------------------------------------------------------------- /uikit/src/main/assets/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/assets/Roboto-Medium.ttf -------------------------------------------------------------------------------- /uikit/src/main/assets/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/assets/Roboto-Regular.ttf -------------------------------------------------------------------------------- /uikit/src/main/assets/Roboto-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/assets/Roboto-Thin.ttf -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/calls/call_list/TabAdapter.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.calls.call_list; 2 | 3 | import androidx.annotation.Nullable; 4 | import androidx.fragment.app.Fragment; 5 | import androidx.fragment.app.FragmentManager; 6 | import androidx.fragment.app.FragmentStatePagerAdapter; 7 | 8 | import java.util.ArrayList; 9 | import java.util.List; 10 | 11 | 12 | public class TabAdapter extends FragmentStatePagerAdapter { 13 | private final List mFragmentList = new ArrayList<>(); 14 | private final List mFragmentTitleList = new ArrayList<>(); 15 | private final List mFragmentIconList = new ArrayList<>(); 16 | public TabAdapter(FragmentManager fm) { 17 | super(fm); 18 | } 19 | 20 | @Override 21 | public Fragment getItem(int position) { 22 | return mFragmentList.get(position); 23 | 24 | } 25 | public void addFragment(Fragment fragment, String title) { 26 | mFragmentList.add(fragment); 27 | mFragmentTitleList.add(title); 28 | } 29 | 30 | @Nullable 31 | @Override 32 | public CharSequence getPageTitle(int position) { 33 | return mFragmentTitleList.get(position); 34 | } 35 | @Override 36 | public int getCount() { 37 | return mFragmentList.size(); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/calls/call_manager/ongoing_call/OngoingCallBroadcast.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.calls.call_manager.ongoing_call; 2 | 3 | import android.content.BroadcastReceiver; 4 | import android.content.Context; 5 | import android.content.Intent; 6 | import android.os.Build; 7 | import android.util.Log; 8 | 9 | import com.cometchat.pro.uikit.ui_components.calls.call_manager.CometChatStartCallActivity; 10 | import com.cometchat.pro.uikit.ui_resources.constants.UIKitConstants; 11 | 12 | public class OngoingCallBroadcast extends BroadcastReceiver { 13 | @Override 14 | public void onReceive(Context context, Intent intent) { 15 | String sessionID = intent.getStringExtra(UIKitConstants.IntentStrings.SESSION_ID); 16 | String type = intent.getStringExtra(UIKitConstants.IntentStrings.TYPE); 17 | Log.e( "onReceive: ",sessionID); 18 | if (intent.getAction().equals("Ongoing")) { 19 | Intent joinOngoingIntent = new Intent(context, CometChatStartCallActivity.class); 20 | joinOngoingIntent.putExtra(UIKitConstants.IntentStrings.SESSION_ID,sessionID); 21 | joinOngoingIntent.putExtra(UIKitConstants.IntentStrings.TYPE,type); 22 | joinOngoingIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 23 | context.startActivity(joinOngoingIntent); 24 | } 25 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { 26 | context.startForegroundService(new Intent(context,OngoingCallService.class)); 27 | } else { 28 | context.startService(new Intent(context, OngoingCallService.class)); 29 | } 30 | 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/groups/create_group/CometChatCreateGroupActivity.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.groups.create_group; 2 | 3 | import android.graphics.Color; 4 | import android.os.Bundle; 5 | import android.view.Menu; 6 | import android.view.MenuItem; 7 | 8 | import androidx.annotation.NonNull; 9 | import androidx.appcompat.app.AppCompatActivity; 10 | import androidx.fragment.app.Fragment; 11 | 12 | import com.cometchat.pro.uikit.R; 13 | 14 | import com.cometchat.pro.uikit.ui_settings.UISettings; 15 | 16 | public class CometChatCreateGroupActivity extends AppCompatActivity { 17 | 18 | private Fragment fragment; 19 | 20 | private String guid; 21 | 22 | private String loggedInUserScope; 23 | @Override 24 | protected void onCreate(Bundle savedInstanceState) { 25 | super.onCreate(savedInstanceState); 26 | setContentView(R.layout.activity_screen); 27 | Fragment fragment = new CometChatCreateGroup(); 28 | getSupportFragmentManager().beginTransaction().replace(R.id.frame_fragment,fragment).commit(); 29 | if (UISettings.getColor()!=null) 30 | getWindow().setStatusBarColor(Color.parseColor(UISettings.getColor())); 31 | } 32 | 33 | 34 | @Override 35 | public boolean onCreateOptionsMenu(Menu menu) { 36 | return super.onCreateOptionsMenu(menu); 37 | } 38 | 39 | @Override 40 | public boolean onOptionsItemSelected(@NonNull MenuItem item) { 41 | return super.onOptionsItemSelected(item); 42 | } 43 | 44 | 45 | } 46 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/messages/extensions/Collaborative/CometChatCollaborativeActivity.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.messages.extensions.Collaborative; 2 | 3 | import androidx.appcompat.app.AppCompatActivity; 4 | 5 | import android.os.Bundle; 6 | import android.webkit.WebSettings; 7 | import android.webkit.WebView; 8 | 9 | import com.cometchat.pro.uikit.R; 10 | 11 | import com.cometchat.pro.uikit.ui_resources.constants.UIKitConstants; 12 | 13 | /** 14 | * CometChatCollaborativeActivity is a Activity class which is used to load extension such as 15 | * whiteboard and writeboard in webView. 16 | * 17 | * Created On - 26 November 2020 18 | * 19 | */ 20 | public class CometChatCollaborativeActivity extends AppCompatActivity { 21 | 22 | private WebView webView; 23 | private String url = null; 24 | 25 | @Override 26 | protected void onCreate(Bundle savedInstanceState) { 27 | super.onCreate(savedInstanceState); 28 | setContentView(R.layout.activity_cometchat_webview); 29 | webView = findViewById(R.id.webview); 30 | if (getIntent().hasExtra(UIKitConstants.IntentStrings.URL)) { 31 | url = getIntent().getStringExtra(UIKitConstants.IntentStrings.URL); 32 | } 33 | if (url!=null) { 34 | WebSettings webSettings = webView.getSettings(); 35 | webSettings.setJavaScriptEnabled(true); 36 | webView.loadUrl(url); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/messages/extensions/ExtensionResponseListener.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.messages.extensions; 2 | 3 | import com.cometchat.pro.exceptions.CometChatException; 4 | 5 | public abstract class ExtensionResponseListener { 6 | 7 | public abstract void OnResponseSuccess(T var); 8 | 9 | public abstract void OnResponseFailed(CometChatException e); 10 | } 11 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/messages/live_reaction/ReactionClickListener.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.messages.live_reaction; 2 | 3 | import android.view.View; 4 | 5 | public abstract class ReactionClickListener { 6 | public void onClick(View var1){} 7 | public void onCancel(View var1){} 8 | } 9 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/messages/message_actions/listener/MessageActionCloseListener.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.messages.message_actions.listener; 2 | 3 | import android.content.DialogInterface; 4 | 5 | public interface MessageActionCloseListener 6 | { 7 | public void handleDialogClose(DialogInterface dialog); 8 | } 9 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/messages/message_actions/listener/OnMessageLongClick.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.messages.message_actions.listener; 2 | 3 | import com.cometchat.pro.models.BaseMessage; 4 | 5 | import java.util.List; 6 | 7 | public interface OnMessageLongClick 8 | { 9 | void setLongMessageClick(List baseMessage); 10 | } 11 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/shared/cometchatCalls/CometChatCallsViewModel.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.shared.cometchatCalls; 2 | 3 | import android.content.Context; 4 | 5 | import com.cometchat.pro.core.Call; 6 | import com.cometchat.pro.models.BaseMessage; 7 | 8 | import java.util.List; 9 | 10 | public class CometChatCallsViewModel { 11 | 12 | private Context context; 13 | 14 | private CometChatCallsAdapter callListAdapter; 15 | 16 | private CometChatCalls callListView; 17 | 18 | private CometChatCallsViewModel(){ 19 | 20 | } 21 | public CometChatCallsViewModel(Context context, CometChatCalls cometChatCallList){ 22 | this.callListView=cometChatCallList; 23 | this.context=context; 24 | setAdapter(); 25 | } 26 | 27 | private CometChatCallsAdapter getAdapter(){ 28 | if (callListAdapter==null){ 29 | callListAdapter=new CometChatCallsAdapter(context); 30 | } 31 | return callListAdapter; 32 | } 33 | 34 | public void add(Call call){ 35 | if (callListAdapter!=null) 36 | callListAdapter.add(call); 37 | } 38 | 39 | private void setAdapter(){ 40 | callListAdapter=new CometChatCallsAdapter(context); 41 | callListView.setAdapter(callListAdapter); 42 | } 43 | 44 | 45 | public void setCallList(List callList) { 46 | if (callListAdapter!=null) 47 | callListAdapter.updateList(callList); 48 | } 49 | 50 | 51 | public void update(Call call) { 52 | if (callListAdapter!=null) 53 | callListAdapter.update(call); 54 | } 55 | 56 | public void remove(Call call) { 57 | if (callListAdapter!=null) 58 | callListAdapter.remove(call); 59 | } 60 | 61 | public int size() { 62 | return callListAdapter.getItemCount(); 63 | } 64 | } -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/shared/cometchatReaction/adapter/EmojiAdapter.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.shared.cometchatReaction.adapter; 2 | 3 | import android.content.Context; 4 | import android.view.View; 5 | import android.view.ViewGroup; 6 | import android.widget.ArrayAdapter; 7 | 8 | import androidx.emoji.widget.EmojiTextView; 9 | 10 | import com.cometchat.pro.uikit.R; 11 | import com.cometchat.pro.uikit.ui_components.shared.cometchatReaction.model.Reaction; 12 | 13 | import java.util.List; 14 | 15 | public class EmojiAdapter extends ArrayAdapter { 16 | 17 | private boolean mUseSystemDefault = Boolean.FALSE; 18 | 19 | // CONSTRUCTOR 20 | public EmojiAdapter(Context context, Reaction[] data) { 21 | super(context, R.layout.rsc_emoji_item, data); 22 | } 23 | 24 | public EmojiAdapter(Context context, List data) { 25 | super(context, R.layout.rsc_emoji_item, data); 26 | } 27 | 28 | 29 | @Override 30 | public View getView(int position, View convertView, ViewGroup parent) { 31 | View view = convertView; 32 | 33 | if (view == null) { 34 | view = View.inflate(getContext(), R.layout.rsc_emoji_item, null); 35 | ViewHolder viewHolder = new ViewHolder(view); 36 | view.setTag(viewHolder); 37 | } 38 | 39 | if (null != getItem(position)) { 40 | Reaction emoji = this.getItem(position); 41 | ViewHolder holder = (ViewHolder) view.getTag(); 42 | holder.icon.setText(new String(Character.toChars(emoji.getCode()))); 43 | } 44 | 45 | return view; 46 | } 47 | 48 | static class ViewHolder { 49 | EmojiTextView icon; 50 | 51 | public ViewHolder(View view) { 52 | this.icon = view.findViewById(R.id.emoji_icon); 53 | } 54 | } 55 | } -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/shared/cometchatReaction/fragment/FragmentReaction.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.shared.cometchatReaction.fragment; 2 | 3 | import android.content.Context; 4 | import android.os.Bundle; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | import android.widget.AdapterView; 9 | 10 | import androidx.fragment.app.Fragment; 11 | 12 | import com.cometchat.pro.uikit.R; 13 | 14 | import com.cometchat.pro.uikit.ui_components.shared.cometchatReaction.listener.OnReactionClickListener; 15 | import com.cometchat.pro.uikit.ui_components.shared.cometchatReaction.model.Reaction; 16 | 17 | public class FragmentReaction extends Fragment implements AdapterView.OnItemClickListener { 18 | 19 | public static final String TAG = "FragmentEmoji"; 20 | 21 | private OnReactionClickListener mOnEmojiconClickedListener; 22 | private View mRootView; 23 | 24 | @Override 25 | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { 26 | this.mRootView = inflater.inflate(R.layout.fragment_emoji_objects, container, false); 27 | return this.mRootView; 28 | } 29 | 30 | @Override 31 | public void onItemClick(AdapterView parent, View view, int position, long id) { 32 | final Reaction clickedReaction = (Reaction) parent.getItemAtPosition(position); 33 | if (this.mOnEmojiconClickedListener != null) { 34 | this.mOnEmojiconClickedListener.onEmojiClicked(clickedReaction); 35 | } 36 | } 37 | 38 | @Override 39 | public void onAttach(Context context) { 40 | super.onAttach(context); 41 | } 42 | 43 | public void addEmojiconClickListener(OnReactionClickListener listener) { 44 | this.mOnEmojiconClickedListener = listener; 45 | } 46 | } -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/shared/cometchatReaction/listener/OnReactionClickListener.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.shared.cometchatReaction.listener; 2 | 3 | import com.cometchat.pro.uikit.ui_components.shared.cometchatReaction.model.Reaction; 4 | 5 | public interface OnReactionClickListener { 6 | void onEmojiClicked(Reaction emojicon); 7 | } 8 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/shared/cometchatReaction/model/Reaction.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.shared.cometchatReaction.model; 2 | 3 | import android.os.Parcel; 4 | import android.os.Parcelable; 5 | 6 | public class Reaction implements Parcelable { 7 | String name; 8 | int code; 9 | 10 | public Reaction(String name, int code) { 11 | this.name = name; 12 | this.code = code; 13 | } 14 | 15 | protected Reaction(Parcel in) { 16 | name = in.readString(); 17 | code = in.readInt(); 18 | } 19 | 20 | public static final Creator CREATOR = new Creator() { 21 | @Override 22 | public Reaction createFromParcel(Parcel in) { 23 | return new Reaction(in); 24 | } 25 | 26 | @Override 27 | public Reaction[] newArray(int size) { 28 | return new Reaction[size]; 29 | } 30 | }; 31 | 32 | public String getName() { 33 | return name; 34 | } 35 | 36 | public int getCode() { 37 | return code; 38 | } 39 | 40 | @Override 41 | public int describeContents() { 42 | return 0; 43 | } 44 | 45 | @Override 46 | public void writeToParcel(Parcel parcel, int i) { 47 | parcel.writeString(name); 48 | parcel.writeInt(code); 49 | } 50 | } -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/shared/cometchatSharedMedia/adapter/TabAdapter.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.shared.cometchatSharedMedia.adapter; 2 | 3 | import androidx.annotation.Nullable; 4 | import androidx.fragment.app.Fragment; 5 | import androidx.fragment.app.FragmentManager; 6 | import androidx.fragment.app.FragmentStatePagerAdapter; 7 | 8 | import java.util.ArrayList; 9 | import java.util.List; 10 | 11 | 12 | public class TabAdapter extends FragmentStatePagerAdapter { 13 | private final List mFragmentList = new ArrayList<>(); 14 | private final List mFragmentTitleList = new ArrayList<>(); 15 | private final List mFragmentIconList = new ArrayList<>(); 16 | public TabAdapter(FragmentManager fm) { 17 | super(fm); 18 | } 19 | 20 | @Override 21 | public Fragment getItem(int position) { 22 | return mFragmentList.get(position); 23 | 24 | } 25 | public void addFragment(Fragment fragment, String title) { 26 | mFragmentList.add(fragment); 27 | mFragmentTitleList.add(title); 28 | } 29 | 30 | @Nullable 31 | @Override 32 | public CharSequence getPageTitle(int position) { 33 | return mFragmentTitleList.get(position); 34 | } 35 | @Override 36 | public int getCount() { 37 | return mFragmentList.size(); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/shared/cometchatSmartReplies/SmartReplyViewModel.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.shared.cometchatSmartReplies; 2 | 3 | import android.content.Context; 4 | 5 | import java.util.List; 6 | 7 | public class SmartReplyViewModel { 8 | 9 | private static final String TAG = "SmartReplyViewModel"; 10 | 11 | private Context context; 12 | 13 | private SmartRepliesAdapter smartReplyListAdapter; 14 | 15 | private CometChatSmartReplies smartReplyList; 16 | 17 | public SmartReplyViewModel(Context context, CometChatSmartReplies smartReplyList) { 18 | this.context = context; 19 | this.smartReplyList = smartReplyList; 20 | setSmartReplyAdapter(smartReplyList); 21 | } 22 | 23 | private void setSmartReplyAdapter(CometChatSmartReplies smartReplyList) { 24 | smartReplyListAdapter=new SmartRepliesAdapter(context); 25 | smartReplyList.setAdapter(smartReplyListAdapter); 26 | } 27 | 28 | private SmartRepliesAdapter getAdapter(){ 29 | if (smartReplyListAdapter==null){ 30 | smartReplyListAdapter=new SmartRepliesAdapter(context); 31 | } 32 | return smartReplyListAdapter; 33 | } 34 | 35 | public void setSmartReplyList(List replyList){ 36 | getAdapter().updateList(replyList); 37 | } 38 | 39 | 40 | } 41 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/shared/cometchatStickers/adapter/StickerTabAdapter.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.shared.cometchatStickers.adapter; 2 | 3 | import android.content.Context; 4 | import android.graphics.drawable.Drawable; 5 | import android.text.SpannableStringBuilder; 6 | 7 | import androidx.annotation.Nullable; 8 | import androidx.fragment.app.Fragment; 9 | import androidx.fragment.app.FragmentManager; 10 | import androidx.fragment.app.FragmentStatePagerAdapter; 11 | 12 | import java.util.ArrayList; 13 | import java.util.List; 14 | 15 | 16 | public class StickerTabAdapter extends FragmentStatePagerAdapter { 17 | private Drawable myDrawable; 18 | private SpannableStringBuilder sb; 19 | private final List mFragmentList = new ArrayList<>(); 20 | private final List mFragmentTitleList = new ArrayList<>(); 21 | private final List mFragmentIconList = new ArrayList<>(); 22 | private Context context; 23 | public StickerTabAdapter(Context context,FragmentManager fm) { 24 | super(fm); 25 | this.context = context; 26 | } 27 | 28 | @Override 29 | public Fragment getItem(int position) { 30 | return mFragmentList.get(position); 31 | 32 | } 33 | public void addFragment(Fragment fragment, String title) { 34 | mFragmentList.add(fragment); 35 | mFragmentTitleList.add(title); 36 | } 37 | 38 | public void addFragment(Fragment fragment, String title,String icon) { 39 | mFragmentList.add(fragment); 40 | mFragmentTitleList.add(title); 41 | mFragmentIconList.add(icon); 42 | } 43 | 44 | public String getPageIcon(int position) { return mFragmentIconList.get(position); } 45 | @Nullable 46 | @Override 47 | public CharSequence getPageTitle(int position) { 48 | sb = new SpannableStringBuilder(""); 49 | return sb; 50 | } 51 | @Override 52 | public int getCount() { 53 | return mFragmentList.size(); 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/shared/cometchatStickers/listener/StickerClickListener.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.shared.cometchatStickers.listener; 2 | 3 | import com.cometchat.pro.uikit.ui_components.shared.cometchatStickers.model.Sticker; 4 | 5 | public interface StickerClickListener { 6 | void onClickListener(Sticker sticker); 7 | } 8 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/shared/cometchatStickers/model/Sticker.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.shared.cometchatStickers.model; 2 | 3 | import android.os.Parcel; 4 | import android.os.Parcelable; 5 | 6 | public class Sticker implements Parcelable { 7 | String name; 8 | String url; 9 | String setName; 10 | 11 | public Sticker(String name,String url,String setName) { 12 | this.name = name; 13 | this.url = url; 14 | this.setName = setName; 15 | } 16 | 17 | protected Sticker(Parcel in) { 18 | name = in.readString(); 19 | url = in.readString(); 20 | setName = in.readString(); 21 | } 22 | 23 | public static final Creator CREATOR = new Creator() { 24 | @Override 25 | public Sticker createFromParcel(Parcel in) { 26 | return new Sticker(in); 27 | } 28 | 29 | @Override 30 | public Sticker[] newArray(int size) { 31 | return new Sticker[size]; 32 | } 33 | }; 34 | 35 | public String getName() { 36 | return name; 37 | } 38 | 39 | public String getUrl() { 40 | return url; 41 | } 42 | 43 | public String getSetName() { 44 | return setName; 45 | } 46 | 47 | @Override 48 | public int describeContents() { 49 | return 0; 50 | } 51 | 52 | @Override 53 | public void writeToParcel(Parcel parcel, int i) { 54 | parcel.writeString(name); 55 | parcel.writeString(url); 56 | parcel.writeString(setName); 57 | } 58 | } -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_components/users/block_users/CometChatBlockUserListActivity.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_components.users.block_users; 2 | 3 | import android.graphics.Color; 4 | import android.os.Bundle; 5 | import android.view.Menu; 6 | import android.view.MenuItem; 7 | 8 | import androidx.annotation.NonNull; 9 | import androidx.appcompat.app.AppCompatActivity; 10 | import androidx.fragment.app.Fragment; 11 | 12 | import com.cometchat.pro.uikit.R; 13 | 14 | import com.cometchat.pro.uikit.ui_settings.UISettings; 15 | 16 | public class CometChatBlockUserListActivity extends AppCompatActivity { 17 | 18 | private Fragment fragment; 19 | 20 | private String guid; 21 | 22 | private String loggedInUserScope; 23 | @Override 24 | protected void onCreate(Bundle savedInstanceState) { 25 | super.onCreate(savedInstanceState); 26 | setContentView(R.layout.activity_screen); 27 | Fragment fragment = new CometChatBlockUserList(); 28 | getSupportFragmentManager().beginTransaction().replace(R.id.frame_fragment,fragment).commit(); 29 | if (UISettings.getColor()!=null) 30 | getWindow().setStatusBarColor(Color.parseColor(UISettings.getColor())); 31 | } 32 | 33 | 34 | @Override 35 | public boolean onCreateOptionsMenu(Menu menu) { 36 | return super.onCreateOptionsMenu(menu); 37 | } 38 | 39 | @Override 40 | public boolean onOptionsItemSelected(@NonNull MenuItem item) { 41 | return super.onOptionsItemSelected(item); 42 | } 43 | 44 | 45 | } 46 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_resources/utils/AnimUtil.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_resources.utils; 2 | 3 | import android.animation.AnimatorSet; 4 | import android.animation.ObjectAnimator; 5 | import android.view.View; 6 | import android.view.animation.AccelerateDecelerateInterpolator; 7 | import android.view.animation.AlphaAnimation; 8 | import android.view.animation.Animation; 9 | 10 | public class AnimUtil { 11 | 12 | private static boolean isStartRecorded = false; 13 | 14 | public static void stopBlinkAnimation(View view) 15 | { 16 | view.clearAnimation(); 17 | view.setAlpha(1.0f); 18 | } 19 | 20 | public static void blinkAnimation(View view) { 21 | Animation anim = new AlphaAnimation(0.0f, 1.0f); 22 | anim.setDuration(700); //You can manage the time of the blink with this parameter 23 | anim.setStartOffset(20); 24 | anim.setRepeatMode(Animation.REVERSE); 25 | anim.setRepeatCount(Animation.INFINITE); 26 | view.startAnimation(anim); 27 | } 28 | 29 | public static void start(View view) { 30 | AnimatorSet set = new AnimatorSet(); 31 | ObjectAnimator scaleY = ObjectAnimator.ofFloat(view, "scaleY", 2.0f); 32 | ObjectAnimator scaleX = ObjectAnimator.ofFloat(view, "scaleX", 2.0f); 33 | set.setDuration(150); 34 | set.setInterpolator(new AccelerateDecelerateInterpolator()); 35 | set.playTogether(scaleY, scaleX); 36 | set.start(); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_resources/utils/FontUtils.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_resources.utils; 2 | 3 | import android.content.Context; 4 | import android.graphics.Typeface; 5 | 6 | public class FontUtils { 7 | 8 | private static FontUtils _instance; 9 | 10 | public static final String robotoMedium = "Roboto-Medium.ttf"; 11 | 12 | public static final String robotoBlack = "Roboto-Regular.ttf"; 13 | 14 | public static final String robotoRegular = "Roboto-Regular.ttf"; 15 | 16 | public static final String robotoBold = "Roboto-Bold.ttf"; 17 | 18 | public static final String robotoLight = "Roboto-Light.ttf"; 19 | 20 | public static final String robotoThin = "Roboto-Thin.ttf"; 21 | 22 | private Context context; 23 | 24 | public static FontUtils getInstance(Context context) { 25 | if (_instance == null) { 26 | _instance = new FontUtils(context); 27 | } 28 | return _instance; 29 | } 30 | 31 | 32 | private FontUtils(Context context) { 33 | this.context = context; 34 | } 35 | 36 | public Typeface getTypeFace(String fontName) { 37 | Typeface typeface = null; 38 | if (context != null) 39 | typeface = Typeface.createFromAsset(context.getAssets(), fontName); 40 | return typeface; 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_resources/utils/audio_visualizer/AudioBarConstant.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_resources.utils.audio_visualizer; 2 | 3 | import android.graphics.Color; 4 | 5 | public class AudioBarConstant { 6 | 7 | public static enum AnimSpeed { 8 | SLOW, 9 | MEDIUM, 10 | FAST 11 | } 12 | public enum PaintStyle { 13 | OUTLINE, 14 | FILL 15 | } 16 | public enum PositionGravity { 17 | TOP, 18 | BOTTOM 19 | } 20 | public static class AudioBarConstants { 21 | public static final float DEFAULT_DENSITY = 0.25f; 22 | public static final int DEFAULT_COLOR = Color.BLACK; 23 | public static final float DEFAULT_STROKE_WIDTH = 6.0f; 24 | public static final int MAX_ANIM_BATCH_COUNT = 4; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_resources/utils/custom_alertDialog/OnAlertDialogButtonClickListener.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_resources.utils.custom_alertDialog; 2 | 3 | import android.view.View; 4 | 5 | import androidx.appcompat.app.AlertDialog; 6 | 7 | public interface OnAlertDialogButtonClickListener { 8 | void onButtonClick(AlertDialog alertDialog, View v, int which, int popupId); 9 | } -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_resources/utils/item_clickListener/OnItemClickListener.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_resources.utils.item_clickListener; 2 | 3 | /* 4 | 5 | * Purpose - OnItemClickListener<T> is an Generic class used to provide methods 6 | like OnItemClick(T var,int position) & OnItemLongClick(T var,int position) 7 | 8 | * Created on - 20th December 2019 9 | 10 | * Modified on - 16th January 2020 11 | 12 | */ 13 | 14 | public abstract class OnItemClickListener { 15 | 16 | public abstract void OnItemClick(T var, int position); 17 | 18 | public void OnItemLongClick(T var,int position) { 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_resources/utils/keyboard_utils/KeyBoardUtils.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_resources.utils.keyboard_utils; 2 | 3 | import android.app.Activity; 4 | import android.view.View; 5 | import android.view.ViewTreeObserver; 6 | 7 | public class KeyBoardUtils { 8 | 9 | static int mAppHeight; 10 | 11 | static int currentOrientation = -1; 12 | 13 | public static void setKeyboardVisibilityListener(final Activity activity, final View contentView, final KeyboardVisibilityListener keyboardVisibilityListener) { 14 | 15 | contentView.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() { 16 | 17 | private int mPreviousHeight; 18 | 19 | @Override 20 | 21 | public void onGlobalLayout() { 22 | 23 | int newHeight = contentView.getHeight(); 24 | 25 | if (newHeight == mPreviousHeight) 26 | 27 | return; 28 | 29 | mPreviousHeight = newHeight; 30 | 31 | if (activity.getResources().getConfiguration().orientation != currentOrientation) { 32 | 33 | currentOrientation = activity.getResources().getConfiguration().orientation; 34 | 35 | mAppHeight = 0; 36 | 37 | } 38 | 39 | if (newHeight >= mAppHeight) { 40 | 41 | mAppHeight = newHeight; 42 | 43 | } 44 | 45 | if (newHeight != 0) { 46 | 47 | if (mAppHeight > newHeight) { 48 | 49 | 50 | keyboardVisibilityListener.onKeyboardVisibilityChanged(true); 51 | 52 | } else { 53 | 54 | 55 | keyboardVisibilityListener.onKeyboardVisibilityChanged(false); 56 | 57 | } 58 | 59 | } 60 | 61 | } 62 | 63 | }); 64 | 65 | } 66 | } 67 | 68 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_resources/utils/keyboard_utils/KeyboardVisibilityListener.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_resources.utils.keyboard_utils; 2 | 3 | public interface KeyboardVisibilityListener { 4 | 5 | void onKeyboardVisibilityChanged(boolean keyboardVisible); 6 | 7 | } -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_resources/utils/recycler_touch/ClickListener.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_resources.utils.recycler_touch; 2 | 3 | import android.view.View; 4 | 5 | public abstract class ClickListener { 6 | public void onClick(View var1, int var2){} 7 | 8 | public void onLongClick(View var1, int var2){} 9 | } -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_resources/utils/recycler_touch/RecyclerTouchListener.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_resources.utils.recycler_touch; 2 | 3 | import android.content.Context; 4 | import android.view.GestureDetector; 5 | import android.view.MotionEvent; 6 | import android.view.View; 7 | 8 | import androidx.recyclerview.widget.RecyclerView; 9 | 10 | public class RecyclerTouchListener implements RecyclerView.OnItemTouchListener { 11 | private ClickListener clickListener; 12 | private GestureDetector gestureDetector; 13 | 14 | public RecyclerTouchListener(Context var1, final RecyclerView var2, final ClickListener var3) { 15 | this.clickListener = var3; 16 | this.gestureDetector = new GestureDetector(var1, new GestureDetector.SimpleOnGestureListener() { 17 | public boolean onSingleTapUp(MotionEvent var1) { 18 | return true; 19 | } 20 | 21 | public void onLongPress(MotionEvent var1) { 22 | View var2x = var2.findChildViewUnder(var1.getX(), var1.getY()); 23 | if (var2x != null && var3 != null) { 24 | var3.onLongClick(var2x, var2.getChildPosition(var2x)); 25 | } 26 | 27 | } 28 | }); 29 | } 30 | 31 | public boolean onInterceptTouchEvent(RecyclerView var1, MotionEvent var2) { 32 | View var3 = var1.findChildViewUnder(var2.getX(), var2.getY()); 33 | if (var3 != null && this.clickListener != null && this.gestureDetector.onTouchEvent(var2)) { 34 | this.clickListener.onClick(var3, var1.getChildPosition(var3)); 35 | } 36 | 37 | return false; 38 | } 39 | 40 | public void onTouchEvent(RecyclerView var1, MotionEvent var2) { 41 | } 42 | 43 | public void onRequestDisallowInterceptTouchEvent(boolean var1) { 44 | } 45 | 46 | 47 | 48 | } 49 | -------------------------------------------------------------------------------- /uikit/src/main/java/com/cometchat/pro/uikit/ui_resources/utils/sticker_header/StickyHeaderAdapter.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit.ui_resources.utils.sticker_header; 2 | 3 | import android.view.ViewGroup; 4 | import androidx.recyclerview.widget.RecyclerView; 5 | 6 | public interface StickyHeaderAdapter { 7 | 8 | long getHeaderId(int var1); 9 | 10 | T onCreateHeaderViewHolder(ViewGroup var1); 11 | 12 | void onBindHeaderViewHolder(T var1, int var2, long var3); 13 | } -------------------------------------------------------------------------------- /uikit/src/main/res-components/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res-components/.DS_Store -------------------------------------------------------------------------------- /uikit/src/main/res-components/calls/layout/activity_cometchat_start_call.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 16 | 19 | 27 | 28 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/calls/layout/cometchat_call_history_row.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 11 | 12 | 13 | 18 | 24 | 25 | 37 | 38 | 45 | 46 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/calls/layout/fragment_cometchat_all_call.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 12 | 21 | 27 | 32 | 33 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/calls/layout/fragment_cometchat_missed_call.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 12 | 21 | 27 | 32 | 33 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/cometchatui/layout/activity_cometchat_unified.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 15 | 16 | 19 | 20 | 21 | 24 | 29 | 30 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/groups/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res-components/groups/.DS_Store -------------------------------------------------------------------------------- /uikit/src/main/res-components/groups/layout/activity_cometchat_ban_members.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 15 | 19 | 20 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/groups/layout/fragment_cometchat_ban_member.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 15 | 20 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/messagebubbles/layout/message_action_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 22 | 23 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/messagebubbles/layout/message_left_reply_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 18 | 28 | 36 | 37 | 48 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/messages/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res-components/messages/.DS_Store -------------------------------------------------------------------------------- /uikit/src/main/res-components/messages/layout/activity_cometchat_message_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/messages/layout/activity_cometchat_reaction_info.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 14 | 19 | 25 | 26 | 32 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/messages/layout/activity_cometchat_webview.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/messages/layout/cometchat_block_user_message_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 15 | 24 | 32 | 38 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/messages/layout/cometchat_edit_message_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 13 | 19 | 25 | 30 | 31 | 39 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/messages/layout/cometchat_join_ongoing_call_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 18 | 26 | 27 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/messages/layout/cometchat_messagedate_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 26 | 27 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/messages/layout/cometchat_threadlist_toolbar.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 20 | 29 | 30 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/messages/layout/messages_shimmer.xml: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 20 | 21 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/activity_screen.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 9 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/cc_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 12 | 13 | 22 | 23 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/cometchat_dialog_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 14 | 20 | 21 | 31 | 32 | 39 | 40 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/cometchat_reaction_window.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 14 | 15 | 25 | 26 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/cometchat_sticker_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 22 | 23 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/divider.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/footer_decor.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 10 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/fragment_emoji_objects.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/fragment_stickers_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 12 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/map_share_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 11 | 18 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/polls_option.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 16 | 23 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/reaction_info_row.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 16 | 25 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/reaction_list_row.xml: -------------------------------------------------------------------------------- 1 | 2 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/rsc_emoji_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 11 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/others/layout/stickers_row.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/shared/layout/cometchat_badge_count.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 19 | 20 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/shared/layout/cometchat_shared_media.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 21 | 22 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/shared/layout/cometchat_shared_media_file_row.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 15 | 20 | 26 | 35 | 36 | 42 | 43 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/shared/layout/cometchat_shared_media_image_row.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 14 | 22 | 30 | 38 | 39 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/shared/layout/cometchat_shared_media_video_row.xml: -------------------------------------------------------------------------------- 1 | 7 | 15 | 21 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/shared/layout/cometchat_smart_reply.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/shared/layout/cometchat_smartreply_row.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/shared/layout/fragment_cometchat_shared_media.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 12 | 18 | 23 | 29 | 30 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/users/drawable/ic_baseline_picture_in_picture.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/users/layout/cometchat_userlist_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 20 | 21 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/users/layout/fragment_cometchat_block_user.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 15 | 19 | 24 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /uikit/src/main/res-components/users/layout/user_shimmer_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 21 | 22 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /uikit/src/main/res/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/.DS_Store -------------------------------------------------------------------------------- /uikit/src/main/res/anim/animate_left_slide.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/anim/animate_right_slide.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/anim/animate_up_slide.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /uikit/src/main/res/animator/toolbar_elevation.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | 13 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/drawable/.DS_Store -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/add_emoji.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/drawable/add_emoji.png -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/bottom_border.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/bottom_curve_border.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/cc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/drawable/cc.png -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/cc_message_bubble_left.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/cc_message_bubble_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/cc_progress_drawable.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 17 | 18 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/cc_rounded_date_button.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/compose_box.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/count_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/curve_progress_bar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/default_sticker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/drawable/default_sticker.png -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/feel.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/heart_reaction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/drawable/heart_reaction.png -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_account.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_add.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_add_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_add_circle_grey_32dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_archive_white_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_arrow.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_arrow_back_24dp.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_arrow_right_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_baseline_check_circle_24.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_baseline_edit_24.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_baseline_forward_24.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_baseline_more_vert_24.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_baseline_retry_24.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_block_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_call_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_call_end_white_24dp.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_call_green24dp.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_call_incoming_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_call_missed_incoming_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_call_missed_outgoing_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_call_outgoing_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_camera.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_chat.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_chat_pin_white_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 10 | 11 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_check_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_circle_grey_32dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_circle_outline_12dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_close_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_close_circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_contacts.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_content_copy_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_defaulf_image.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_delete_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_done_all_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_double_tick.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_exit_to_app.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_file_download.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_forward.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_group.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_group_add_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_hand.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_help.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_help_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_info.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_info_red.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_insert_drive_file_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_keyboard_arrow_down_red_24dp.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_keyboard_arrow_right_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_keyboard_arrow_up_green_24dp.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_keyboard_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_library_music_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_lightblue_circular_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_lock_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_mic_grey_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_mic_white_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_missed_video_call_24dp.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_more.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_nature_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_nav_chat.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_near_me_24dp.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_no_calls_48dp.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_notification.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_notifications_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_object_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_pause_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_phone_add_24dp.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_photo.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_pin_circle_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 11 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_places_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_play_arrow_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_play_button.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_poll_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_reply.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_reply_24dp.xml: -------------------------------------------------------------------------------- 1 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_report_problem.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_report_problem_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_search_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_security.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_security_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_send.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_share_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_stop_24dp.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_stop_white_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_thread_24dp.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_unreadchat_bubble_white_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_video_call_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_videocam_24dp.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_videocam_green_24dp.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_videocam_white_24dp.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_whiteboard_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/drawable/ic_whiteboard_24dp.png -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/ic_writeboard_24dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/drawable/ic_writeboard_24dp.png -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/left_border.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/left_border_dark.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/left_border_lmessage.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/left_border_rmessage.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/no_conversation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/drawable/no_conversation.png -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/no_groups.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/drawable/no_groups.png -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/rounded_border.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/rounded_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/search_box.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/search_box_shimmer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/shimmer_circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 9 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/smart_reply.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/tab_background_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/tab_layout_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 8 | 9 | 10 | 12 | 13 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/tab_layout_background_active.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 8 | 9 | 10 | 12 | 13 | -------------------------------------------------------------------------------- /uikit/src/main/res/drawable/thin_rounded_border.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /uikit/src/main/res/layout/new_message_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 20 | 26 | 27 | -------------------------------------------------------------------------------- /uikit/src/main/res/menu/cometchat_navigation_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 13 | 14 | 18 | 19 | 23 | 27 | 28 | -------------------------------------------------------------------------------- /uikit/src/main/res/menu/cometchat_reaction_nav.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 13 | 14 | 18 | 19 | 23 | 24 | -------------------------------------------------------------------------------- /uikit/src/main/res/menu/group_action_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | 9 | 11 | 12 | -------------------------------------------------------------------------------- /uikit/src/main/res/raw/beep2.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/raw/beep2.mp3 -------------------------------------------------------------------------------- /uikit/src/main/res/raw/incoming_call.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/raw/incoming_call.wav -------------------------------------------------------------------------------- /uikit/src/main/res/raw/incoming_message.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/raw/incoming_message.wav -------------------------------------------------------------------------------- /uikit/src/main/res/raw/outgoing_call.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/raw/outgoing_call.wav -------------------------------------------------------------------------------- /uikit/src/main/res/raw/outgoing_message.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/raw/outgoing_message.wav -------------------------------------------------------------------------------- /uikit/src/main/res/raw/record_error.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/raw/record_error.wav -------------------------------------------------------------------------------- /uikit/src/main/res/raw/record_finished.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/raw/record_finished.wav -------------------------------------------------------------------------------- /uikit/src/main/res/raw/record_start.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developerspace-samples/VoIP-Call-Sample/6151e003e467cc3c5c569c84eca5452b9b8875bd/uikit/src/main/res/raw/record_start.wav -------------------------------------------------------------------------------- /uikit/src/main/res/values/color.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #03A9F4 4 | #169CD8 5 | #2196F3 6 | #000000 7 | 8 | #FFFFFF 9 | #FAFAFA 10 | #6b000000 11 | #EEEEEE 12 | #e0e0e0 13 | #40bdbdbd 14 | #E64CAF50 15 | #eecc0000 16 | #B1AEAE 17 | #979797 18 | #ECECEC 19 | 20 | #8867C5 21 | #0020F5 22 | #43A047 23 | #C8E6C9 24 | #FFCDD2 25 | #E53935 26 | #B96B6B6B 27 | #C4C4C4 28 | #9E9C9C 29 | #202124 30 | 31 | -------------------------------------------------------------------------------- /uikit/src/main/res/values/dimen.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 24dp 4 | 16sp 5 | 14sp 6 | 12sp 7 | 30dp 8 | -------------------------------------------------------------------------------- /uikit/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 4 | 250dp 5 | -------------------------------------------------------------------------------- /uikit/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 14 | 15 | 19 | 20 | 24 | 25 | 29 | 30 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /uikit/src/main/res/xml/provider_path.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 9 | 12 | 15 | 18 | -------------------------------------------------------------------------------- /uikit/src/test/java/com/cometchat/pro/uikit/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.cometchat.pro.uikit; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } --------------------------------------------------------------------------------