maaxgr
09/27/2021, 6:02 AMAndroidView(
factory = { context ->
PDFView(context)
})
The problem is that the constructor consumes an AttributeSet Object.
public PDFView(Context context, AttributeSet set) {
From where do i get this object? Didn't find anything on stackoverflow/googleAlbert Chang
09/27/2021, 6:06 AMAttributeSet
contains attributes when inflated from xml. null
should be fine here.maaxgr
09/27/2021, 7:57 AM