(p.130) Parameters becomes p0 & p1

When I click the Implement Members option(p.129), the parameters of onCreateViewHolder and onBindViewHolder becomes p0 and p1(instead of what the book show).

After few hours trial, I figure out it’s likely the problem of latest Android SKD, which is API 28 and it’s still in beta at the moment. Now I change my SKD version back to Android 8.0(API 26) and everything is fine again.

Just posting this for anyone having the same problem.

Hi Tang,

That’s a great catch, thanks for taking the time to figure out what the problem is and writing it up here.

Hope you’re enjoying the book!

Darryl