Skip to content

Commit

Permalink
release 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aggarwalpulkit596 committed Aug 6, 2019
1 parent 02bee33 commit 28b4070
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ android {
applicationId "com.codingblocks.cbonlineapp"
minSdkVersion 21
targetSdkVersion 29
versionCode 100050000
versionCode 100050001
// 1 (versioning scheme)
// 00 (major version)
// 05 (minor version)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import androidx.lifecycle.Observer
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
import com.codingblocks.cbonlineapp.R
import com.codingblocks.cbonlineapp.adapters.TabLayoutAdapter
import com.codingblocks.cbonlineapp.extensions.observeOnce
import com.codingblocks.cbonlineapp.extensions.observer
import com.codingblocks.cbonlineapp.fragments.AnnouncementsFragment
import com.codingblocks.cbonlineapp.fragments.CourseContentFragment
Expand Down Expand Up @@ -67,7 +68,7 @@ class MyCourseActivity : AppCompatActivity(), SwipeRefreshLayout.OnRefreshListen
}

resumeBtn.setOnClickListener {
viewModel.getResumeCourse().observer(this) {
viewModel.getResumeCourse().observeOnce {
with(it[0]) {
when (contentable) {
LECTURE -> {
Expand Down

0 comments on commit 28b4070

Please sign in to comment.