-2

How can I declare such variable:

private ImageService service; 

I saw it here.

Do I have to add some kind of specific lib?

Community
  • 1
  • 1

1 Answers1

0

You should use import statement at the begining of your class.

import blablabla.ImageService;

where blablabla is a package.

wind_gan
  • 134
  • 9