title: Call method in main class from static fragment class
body: <p>I have a fragment class and I want to call a method in the "main" class of my activity. The fragment class is static so that is probably whats causing the problem although I have to keep it static. I want to be able to do something like this from inside my static class:
      <code>Method();</code>
  I've tried:
      <code>getActivity().Method();</code>
  Although that didn't work. What should I do?</p>