public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
announcement = (Announcement) getArguments().getSerializable(ARG_ANNOUNCEMENT);
author = MainApplication.getData()
<BUG>.findByKey(Teacher.class, announcement.addedBy());
}</BUG>
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,

public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
announcement = (Announcement) getArguments().getSerializable(ARG_ANNOUNCEMENT);
author = MainApplication.getData()
.findByKey(Teacher.class, announcement.addedBy())
.blockingGet();
}
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
