miha-x64
02/06/2017, 1:30 PMif (savedInstanceState != null) {
val savedComments = savedInstanceState.getParcelableArrayList<Comment>("comments")
if (savedComments != null) {
gotComments(savedComments)
} else {
service.getComments(post.id, account?.name) // [0]
}
} else {
service.getComments(post.id, account?.name) // [1]
}