java internal interface in class throw Invalid parameter type error in xamarin android binding -
after
i put aar file in binding project
add v7appcompact nuget package
- add v7.recycle... nugget package
- build binding project
the vs throw warning build log , errors:
1>------ rebuild started: project: calendarviewdebugbinding, configuration: debug cpu ------ 1>jartoxml : java hotspot(tm) 64-bit server vm warning : ignoring option usesplitverifier; support removed in 8.0 1>bindingsgenerator : warning bg8801: invalid parameter type com.henry.calendarview.simplemonthview.ondayclicklistener in method viewholder in managed type com.henry.calendarview.simplemonthadapter.viewholder. 1>bindingsgenerator : warning bg8c00: type com.henry.calendarview.simplemonthadapter, base interface com.henry.calendarview.simplemonthview.ondayclicklistener invalid. 1>d:\tempapps\calendarviewdebugbinding\calendarviewdebugbinding\obj\debug\generated\src\com.henry.calendarview.simplemonthadapter.cs(1105,86,1105,104): warning cs0114: 'simplemonthadapter.oncreateviewholder(viewgroup, int)' hides inherited member 'recyclerview.adapter.oncreateviewholder(viewgroup, int)'. make current member override implementation, add override keyword. otherwise add new keyword. 1>d:\tempapps\calendarviewdebugbinding\calendarviewdebugbinding\obj\debug\generated\src\com.henry.calendarview.simplemonthadapter.cs(9,23,9,41): error cs0534: 'simplemonthadapter' not implement inherited abstract member 'recyclerview.adapter.oncreateviewholder(viewgroup, int)' 1>d:\tempapps\calendarviewdebugbinding\calendarviewdebugbinding\obj\debug\generated\src\com.henry.calendarview.simplemonthadapter.cs(9,23,9,41): error cs0534: 'simplemonthadapter' not implement inherited abstract member 'recyclerview.adapter.onbindviewholder(recyclerview.viewholder, int)' 1>d:\tempapps\calendarviewdebugbinding\calendarviewdebugbinding\obj\debug\generated\src\com.henry.calendarview.simplemonthadapter.cs(17,95,17,124): error cs0535: 'simplemonthadapter.calendarday' not implement interface member 'icomparable.compareto(object)' ========== rebuild all: 0 succeeded, 1 failed, 0 skipped ==========
so go github source project find type ondayclicklistener
, found interface in simplemonthview
class.
and,so , how fix build warning ?
here aar(name 'library-debug.aar ') file put in github : the_file
and here source project in github : henry-newbie/calendarview
at last use library instead: dengshiwei/calendarcomponent
Comments
Post a Comment