I have a class and in it I have some static and some non-static methods so when I'm trying to access non-static methods from static ones I get that famous error. And whenever I am searching this forum I get solutions when there are two classes and from one you are trying to reach other one. My question is how to call non-static method from static one if they are in the same class?
I am trying with
new ClassName().methodName();
but my method contains sending of Intent and finish(), so if I'm creating other object than finish doesn't work.