Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update zoom sdk #394

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '1.6.0'
ext.kotlin_version = '1.7.0'
ext.kotlin_coroutine_version = '1.3.3'
repositories {
google()
Expand Down
4 changes: 2 additions & 2 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ android {

dependencies {
api rootProject.constraintLayout
def core_version = "1.2.0"
def core_version = "1.7.0"
def core_testing_version = "2.1.0"
def room_version = "2.4.0"
def room_version = "2.4.3"
def multi_dex_version = "2.0.1"
def fragment_version = "1.4.1"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ abstract class BaseContentDetailFragment : Fragment(), BookmarkListener, Content
initializeBookmarkFragment()
}
}
else -> {}
}
})
}
Expand Down Expand Up @@ -143,6 +144,7 @@ abstract class BaseContentDetailFragment : Fragment(), BookmarkListener, Content
Status.ERROR -> {
toast.show()
}
else -> {}
}
}
})
Expand Down Expand Up @@ -178,6 +180,7 @@ abstract class BaseContentDetailFragment : Fragment(), BookmarkListener, Content
viewModel.getContent(content.nextContentId!!, forceRefresh = true).observe(viewLifecycleOwner, Observer {
when(it.status) {
Status.SUCCESS -> bottomNavigationFragment.initializeAndShowNavigationButtons()
else -> {}
}
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ open class BaseExamWidgetFragment : Fragment() {
content = it.data!!
loadAttemptsAndUpdateStartButton()
}
else -> {}
}
})
}
Expand Down Expand Up @@ -109,6 +110,7 @@ open class BaseExamWidgetFragment : Fragment() {
viewModel.getLanguages(exam.slug!!, exam.id)
.observe(viewLifecycleOwner, observer)
}
else -> {}
}
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ class ContentBottomNavigationFragment : Fragment() {
viewModel.getContentsForChapter(content.chapterId!!)?.observe(
viewLifecycleOwner, contentsFromChapterObserver)
}
else -> {}
}
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ class ContentLoadingFragment : Fragment(),
loadingLayout.visibility = View.GONE
emptyViewFragment.displayError(resource.exception!!)
}
else -> {}
}
})
}
Expand Down Expand Up @@ -123,6 +124,7 @@ class ContentLoadingFragment : Fragment(),
loadingLayout.visibility = View.GONE
emptyViewFragment.displayError(resource.exception!!)
}
else -> {}
}
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ class DownloadsFragment : Fragment(), EmptyViewListener {
).show()
}
Status.SUCCESS -> checkCourseRefreshDateAndDisplay()
else -> {}
}
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ class LoadingQuestionsFragment : Fragment(),
loadingLayout.visibility = View.GONE
emptyViewFragment.displayError(resource.exception!!)
}
else -> {}
}
})
} else {
Expand All @@ -110,6 +111,7 @@ class LoadingQuestionsFragment : Fragment(),
loadingLayout.visibility = View.GONE
emptyViewFragment.displayError(resource.exception!!)
}
else -> {}
}
})
}
Expand All @@ -130,6 +132,7 @@ class LoadingQuestionsFragment : Fragment(),
loadingLayout.visibility = View.GONE
emptyViewFragment.displayError(resource.exception!!)
}
else -> {}
}
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class NativeVideoWidgetFragment : BaseVideoWidgetFragment() {
Status.SUCCESS -> {
createAttemptAndInitializeExoplayer(it.data!!)
}
else -> {}
}
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class QuizAttemptsList : Fragment() {
content = it.data!!
loadAttempts()
}
else -> {}
}
})
}
Expand All @@ -72,6 +73,7 @@ class QuizAttemptsList : Fragment() {
contentAttempts = resource.data!!
display()
}
else -> {}
}
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ class QuizQuestionFragment : Fragment() {
userSelectedAnswer = it.data?.sortedBy { it.order }?.get(position)!!
initWebview()
}
else -> {}
}
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class QuizReviewFragment: Fragment() {
userSelectedAnswer = it.data?.sortedBy { it.order }?.get(position)!!
initWebview()
}
else -> {}
}
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class StartQuizFragment: BaseExamWidgetFragment() {
display()
loadAttemptsAndUpdateStartButton()
}
else -> {}
}
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ open class WebViewVideoFragment : BaseVideoWidgetFragment() {
video = it.data?.video
loadVideo(it.data!!)
}
else -> {}
}
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class ContentListFragment : BaseContentListFragment(), EmptyViewListener {
emptyViewFragment.displayError(resource.exception!!)
}
}
else -> {}
}
})
}
Expand Down
2 changes: 2 additions & 0 deletions course/src/main/java/in/testpress/course/ui/QuizActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ class QuizActivity : BaseToolBarActivity(), ShowQuizHandler, ExamEndHanlder, Que
Status.ERROR -> {
handleExamEndError(it.exception!!)
}
else -> {}
}
}

Expand All @@ -100,6 +101,7 @@ class QuizActivity : BaseToolBarActivity(), ShowQuizHandler, ExamEndHanlder, Que
Status.ERROR -> {
handleExamEndError(it.exception!!)
}
else -> {}
}
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ class ZoomMeetHandler(
showCustomMeetingUI(false)
}
}
else -> {}
}
}

Expand Down
2 changes: 1 addition & 1 deletion exam/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ dependencies {
androidTestImplementation rootProject.espressoCore
androidTestImplementation rootProject.uiautomator
androidTestImplementation 'androidx.test:rules:1.2.0'
implementation "androidx.core:core-ktx:1.2.0"
implementation "androidx.core:core-ktx:1.7.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

Expand Down