Hello, just asking:
Why i cant use: List mCrimes = CrimeLab.getCrimes()
Insted of: List mCrimes = CrimeLab.get(this).getCrimes()
( CrimeLab is on the another fragmentActivity )
CrimeLab.class:
public static CrimeLab get(Context context){
if(sCrimeLab == null){
sCrimeLab = new CrimeLab(context);
}
return sCrimeLab;
}
public List getCrimes(){
return mCrimes;
}