error "Cannot resolve symbol'with'"
Closed this issue · 1 comments
hatimmakki commented
Hi
Thanks for v2, and that's really gr8 work.
Here is my issue.
When I create the instance:
Premiumer mPremiumer = new PremiumerBuilder.with(context) .sku(SKU) .listener(this) .build();
It shows that I have a problem with ".with(context)"
The error is:
Cannot resolve symbol'with'
any help with this?
thanks
tslamic commented
Hi,
just remove new
keyword as PremiumerBuilder.with(Context)
is a static factory method:
Premiumer premiumer = PremiumerBuilder.with(context).sku(SKU).listener(this).build();