@Override protected void onCreate(Bundle savedInstanceState) { Global.debugMemory(mDebugPrefix, "onCreate"); super.onCreate(savedInstanceState); final Intent intent = getIntent(); if (Global.debugEnabled && (intent != null)) { Log.d( Global.LOG_CONTEXT, mDebugPrefix + "onCreate " + intent.toUri(Intent.URI_INTENT_SCHEME)); } setContentView(R.layout.activity_gallery_filter); this.mFilterValue = new FilterValue(); onCreateButtos(); GalleryFilterParameter filter = (savedInstanceState == null) ? getFilter(this.getIntent()) : GalleryFilterParameter.parse( savedInstanceState.getString(FILTER_VALUE, ""), new GalleryFilterParameter()); if (filter != null) { mFilter = filter; toGui(mFilter); mFilterValue.showLatLon(filter.isNonGeoOnly()); } bookmarkController = new BookmarkController(this); }
private void toGui(IGalleryFilter gf) { mFilterValue.get(gf); }