Akatsuki icon indicating copy to clipboard operation
Akatsuki copied to clipboard

Using @Arg alone causes RuntimeException

Open tom91136 opened this issue 10 years ago • 1 comments

Using @Arg alone with a call to Akatsuki.restore and a non-null instance state causes Akatsuki to look for the @Retained's retainer class which does not exist.

tom91136 avatar Nov 18 '15 16:11 tom91136

This has to be implemented in the generated code(a.k.a compile time) otherwise an annotation query has to be done to distinguish which annotation type is actually being used. Android seems to have questionable performance when it comes to runtime annotation queries so this fix ill be implemented via CLASS_LUT and a runtime fall-back in case the LUT option is turned off

tom91136 avatar Nov 21 '15 01:11 tom91136