-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
caodongping
committed
Aug 30, 2016
1 parent
ec607d5
commit ae6dd04
Showing
7 changed files
with
72 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
app/src/main/java/com/github/mzule/androidweekly/ui/view/base/BaseLinearLayout.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.github.mzule.androidweekly.ui.view.base; | ||
|
||
import android.content.Context; | ||
import android.util.AttributeSet; | ||
import android.widget.LinearLayout; | ||
|
||
import com.github.mzule.layoutannotation.LayoutBinder; | ||
|
||
import butterknife.ButterKnife; | ||
|
||
/** | ||
* Created by CaoDongping on 8/30/16. | ||
*/ | ||
|
||
public class BaseLinearLayout extends LinearLayout { | ||
|
||
public BaseLinearLayout(Context context, AttributeSet attrs, int defStyleAttr) { | ||
super(context, attrs, defStyleAttr); | ||
init(); | ||
} | ||
|
||
private void init() { | ||
LayoutBinder.bind(this); | ||
ButterKnife.bind(this); | ||
} | ||
|
||
} |
27 changes: 27 additions & 0 deletions
27
app/src/main/java/com/github/mzule/androidweekly/ui/view/base/BaseRelativeLayout.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.github.mzule.androidweekly.ui.view.base; | ||
|
||
import android.content.Context; | ||
import android.util.AttributeSet; | ||
import android.widget.RelativeLayout; | ||
|
||
import com.github.mzule.layoutannotation.LayoutBinder; | ||
|
||
import butterknife.ButterKnife; | ||
|
||
/** | ||
* Created by CaoDongping on 8/30/16. | ||
*/ | ||
|
||
public class BaseRelativeLayout extends RelativeLayout { | ||
|
||
public BaseRelativeLayout(Context context, AttributeSet attrs, int defStyleAttr) { | ||
super(context, attrs, defStyleAttr); | ||
init(); | ||
} | ||
|
||
private void init() { | ||
LayoutBinder.bind(this); | ||
ButterKnife.bind(this); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters