Skip to content

Commit

Permalink
no longer reloads view on-resume.
Browse files Browse the repository at this point in the history
  • Loading branch information
mickstar committed Jul 14, 2020
1 parent a01854d commit f92a92f
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,15 @@ class LibraryActivity : AppCompatActivity(), Contract.View,
}
}

override fun onPause() {
Log.e("zotero", "paused")
super.onPause()
}

var listPosition: Int = 0
override fun onPostResume() {
Log.e("zotero", "post-resumed")
super.onPostResume()
Log.e("zotero", "resumed")
presenter.onResume()
}

Expand Down Expand Up @@ -617,7 +623,7 @@ class LibraryActivity : AppCompatActivity(), Contract.View,

override fun onResume() {
super.onResume()
presenter.redisplayItems()
Log.d("zotero","onResume called.")
}

override fun onNoteCreate(note: Note) {
Expand Down

0 comments on commit f92a92f

Please sign in to comment.