Skip to content

Commit

Permalink
adding setupViews
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroCarrillo committed Sep 21, 2016
1 parent 9aebddf commit 1c917c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ public boolean onStepSuccess() {
return true;
}

@Override
public void setupViews() {
// find my views.
}

@Override
public String showTitle() {
return "Step "+stepNumber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public StepView(Context context, AttributeSet attrs, int defStyleAttr) {
public abstract String showTitle();
public abstract void onStepCancel();
public abstract String showSelection();
public abstract void setupViews();

public void setStepLayoutInterface(StepLayoutInterface stepLayoutInterface) {
this.stepLayoutInterface = stepLayoutInterface;
Expand Down Expand Up @@ -113,6 +114,8 @@ private void initView() {
vsContent.setLayoutResource(customStepResource());
vsContent.inflate();

setupViews();

}

public void showSeparator(boolean show) {
Expand Down

0 comments on commit 1c917c1

Please sign in to comment.