@Override public void onAttach(Activity activity) { super.onAttach(activity); if (activity instanceof CreateAuctionCallbacks) { createAuctionCallbacks = (CreateAuctionCallbacks) activity; } }
@Override public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); updateTitle(getString(R.string.title_create_auction)); }
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); auctionItem = new AuctionItem(); pics = new ArrayList<String>(); }
@Override public void onDetach() { super.onDetach(); createAuctionCallbacks = null; }