KunMinX / Linkage-RecyclerView

即使不用饿了么订餐,也请务必收藏好该库!🔥 一行代码即可接入,二级联动订餐列表。
3.65k stars 458 forks source link

cannot find symbol class FragmentElemeBinding #24

Closed waleedmakarem closed 5 years ago

waleedmakarem commented 5 years ago

Dear Sir, Thanks for your very nice library Linkage-RecyclerView . However, when I add the reference to gradle :

implementation 'com.kunminx.linkage:linkage-recyclerview:1.9.0'

then when i try to define below object:

private FragmentElemeBinding mBinding;

I get below error: error: cannot find symbol class FragmentElemeBinding

This class seems not included into the library.

KunMinX commented 5 years ago

@waleedmakarem

Hi there: Thanks for your trying, this reference only provide the Linkage-RecyclerView module.

the ElemeSampleFragment is just an example in the sample module. if you would like to define something like FragmentElemeBinding, you need to support DataBinding first,

for more detail: https://developer.android.google.cn/topic/libraries/data-binding