adding Print support

This commit is contained in:
tibbi
2020-10-29 16:02:34 +01:00
parent 84967ac4bc
commit 810f10c9aa
5 changed files with 53 additions and 2 deletions

View File

@ -26,11 +26,11 @@ import kotlinx.android.synthetic.main.fragment_checklist.view.*
class ChecklistFragment : NoteFragment(), ChecklistItemsListener {
private var noteId = 0L
private var items = ArrayList<ChecklistItem>()
private var note: Note? = null
lateinit var view: ViewGroup
var items = ArrayList<ChecklistItem>()
val checklistItems get(): String = Gson().toJson(items)
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {