File tree 3 files changed +10
-4
lines changed
src/main/java/com/donnfelker/android/bootstrap/ui
3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 45
45
<dependency >
46
46
<groupId >com.jakewharton</groupId >
47
47
<artifactId >butterknife</artifactId >
48
- <version >1.3.0 </version >
48
+ <version >1.3.2 </version >
49
49
</dependency >
50
50
<dependency >
51
51
<groupId >com.actionbarsherlock</groupId >
Original file line number Diff line number Diff line change 3
3
import static android .content .Intent .FLAG_ACTIVITY_CLEAR_TOP ;
4
4
import static android .content .Intent .FLAG_ACTIVITY_SINGLE_TOP ;
5
5
import android .content .Intent ;
6
+ import android .os .Bundle ;
6
7
7
8
import com .actionbarsherlock .app .SherlockActivity ;
8
9
import com .actionbarsherlock .view .MenuItem ;
16
17
public abstract class BootstrapActivity extends SherlockActivity {
17
18
18
19
@ Override
19
- public void setContentView (int layoutResId ) {
20
- super .setContentView (layoutResId );
21
-
20
+ protected void onCreate (Bundle savedInstanceState ) {
21
+ super .onCreate (savedInstanceState );
22
22
23
23
BootstrapApplication .getInstance ().inject (this );
24
+ }
25
+
26
+ @ Override
27
+ public void setContentView (int layoutResId ) {
28
+ super .setContentView (layoutResId );
24
29
25
30
// Used to inject views with the Butterknife library
26
31
Views .inject (this );
Original file line number Diff line number Diff line change 11
11
* Base class for all Bootstrap Activities that need fragments.
12
12
*/
13
13
public class BootstrapFragmentActivity extends SherlockFragmentActivity {
14
+
14
15
@ Override
15
16
protected void onCreate (Bundle savedInstanceState ) {
16
17
super .onCreate (savedInstanceState );
You can’t perform that action at this time.
0 commit comments