JoanZapata/base-adapter-helper — pull request #39 by xiazdong (2014-09-02 03:01:38+00:00)
Title: change convert position

When I use EnhancedQuickAdapter, you add 'itemChanged' attribute, this is the parameter in 'convert' function, I think this attribute means it should be 'true' when adapting the new view. But it always 'false'. So I read your source code, I find you call 'convert(helper, item);' after 'helper.setAssociatedObject(item);'. So when you call 'convert', 'helper.associatedObject' has been set to 'item'. So 'itemChanged' always be 'false'. When I put 'convert(helper, item);' before ''helper.setAssociatedObject(item);'. 'itemChanged' has the true meaning.