Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2010-2011 eBusiness Information, Excilys Group Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed To in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package com.googlecode.androidannotations.annotations;
THIS ANNOTATION HAS BEEN DEPRECATED.

IT WILL BE REMOVED IN THE NEXT RELEASE OF ANDROIDANNOTATIONS.

We decided to deprecate BeforeCreate because it does not bring value to your Android code any more. Prior to AndroidAnnotations 2.2, it allowed you to execute code before the content view was set. However, this behavior has changed, the content view is now set after the onCreate() method has been called.

Methods annotated with

:
@link BeforeCreate} will be called before super.onCreate() is called by the generated activity. The method may have zero or one parameter, that must be a android.os.Bundle. There may be several methods annotated with @BeforeCreate in the same activity.
public @interface BeforeCreate {
New to GrepCode? Check out our FAQ X