Skip to content

Commit

Permalink
go for walk
Browse files Browse the repository at this point in the history
  • Loading branch information
z5i committed Aug 29, 2020
1 parent 6d3a9a4 commit a6946a4
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions app/src/main/java/com/z5i/periodical/MainActivityApp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -418,23 +418,19 @@ class MainActivityApp : AppCompatActivity() {
* Handler for "current" button in drawer_menu view
*/
fun goCurrent(v: View?) {
initMonth()
calendarUpdate()
//initMonth()
//calendarUpdate()

if(AnimationHelper.backFromNext()) {
Log.d("MainActivityApp", "backfromnext" + AnimationHelper.getCounter().toString())
while (AnimationHelper.getCounter() != 0) {
this.goPrev(null)
goPrev(null)
}
Log.d("MainActivityApp", "backfromnext" + AnimationHelper.getCounter().toString())
}

if(AnimationHelper.backFromPrev()) {
Log.d("MainActivityApp", "backfromprev" + AnimationHelper.getCounter().toString())
while (AnimationHelper.getCounter() != 0) {
this.goNext(null)
goNext(null)
}
Log.d("MainActivityApp", "backfromnext" + AnimationHelper.getCounter().toString())
}
}

Expand Down

0 comments on commit a6946a4

Please sign in to comment.