hfhbd
08/28/2021, 7:56 PMViewModelProvider.Factory not a fun interface? This would allow you to pass a lambda instead.ephemient
08/28/2021, 8:00 PMhfhbd
08/28/2021, 8:04 PMephemient
08/28/2021, 8:05 PMephemient
08/28/2021, 8:06 PMhfhbd
08/28/2021, 8:07 PMhfhbd
08/28/2021, 10:30 PMfun is not possible, because Factory has no generics, and in an fun interface, the single abstract method cannot have generics alone. Alternative would be adding generics everywhere or wildcards...hfhbd
08/28/2021, 10:30 PM