|
|
@@ -7,6 +7,7 @@ import android.view.LayoutInflater;
|
|
|
import android.view.View;
|
|
|
import android.view.ViewGroup;
|
|
|
import android.widget.Button;
|
|
|
+import android.widget.TextView;
|
|
|
|
|
|
import kr.co.zumo.app.R;
|
|
|
import kr.co.zumo.app.lifeplus.model.SignUpModel;
|
|
|
@@ -41,14 +42,17 @@ public class SignUpNeedFor30daysFragment extends FragmentBase<SignUpNeedFor30day
|
|
|
@Override
|
|
|
protected void onAfterActivityCreated(Bundle savedInstanceState) {
|
|
|
|
|
|
- View buttonAuthorization = (Button) getView().findViewById(R.id.sign_up_mobile_authorization_button);
|
|
|
+ View parent = getView();
|
|
|
|
|
|
- buttonAuthorization.setOnClickListener(new View.OnClickListener() {
|
|
|
- @Override
|
|
|
- public void onClick(View view) {
|
|
|
- presenter.onEvent(new Event.Builder(Event.SUCCESS).build());
|
|
|
- }
|
|
|
- });
|
|
|
+ TextView title = parent.findViewById(R.id.text_title);
|
|
|
+ TextView description = parent.findViewById(R.id.text_description);
|
|
|
+
|
|
|
+ title.setText(R.string.sign_up_30days_title);
|
|
|
+ description.setText(R.string.sign_up_30days_description);
|
|
|
+
|
|
|
+ Button button = getView().findViewById(R.id.button_confirm);
|
|
|
+ button.setText(R.string.confirm);
|
|
|
+ button.setOnClickListener(view -> presenter.onEvent(new Event.Builder(Event.SUCCESS).build()));
|
|
|
}
|
|
|
|
|
|
@Override
|