I have been using Android Studio 3.0 Preview 1 to refactor my code.
I have enable Java-8 features for my code by following this link :
I have refactored my code with lambdas by following 'Android Studio' suggestion.
Now, I am trying to use method reference where every latest Android studio suggests.
How to call instance method that defined in the same class using method reference concept of java 8?
sample code :
Handler handler = getHandler();
handler.dowork(() -> refreshIt());// Need convert this line using method references and refreshIt() is an instance method.