couple correections to viewpager

This commit is contained in:
tibbi
2016-11-26 19:45:23 +01:00
parent b3bca97c6a
commit 215883014c
5 changed files with 18 additions and 18 deletions

View File

@ -31,8 +31,4 @@ class NotesPagerAdapter(fm: FragmentManager, private val notes: List<Note>) : Fr
fragments.put(position, fragment)
return fragment
}
fun saveNote(pos: Int) {
fragments.get(pos)?.saveText()
}
}