ReviewAndConfirmRenderer with new render (parent)
package com.mercadopago.review_and_confirm.components;
import android.content.Context;
+import android.support.annotation.NonNull;
+import android.support.annotation.Nullable;
import android.view.View;
+import android.view.ViewGroup;
import android.widget.TextView;
import com.mercadopago.components.Renderer;
@@ -11,9 +14,11 @@ import com.mercadopago.components.Renderer;
*/
public class ReviewAndConfirmRenderer extends Renderer<ReviewAndConfirmContainer> {
+
@Override
- public View render(final ReviewAndConfirmContainer component, final Context context) {
- final TextView view = new TextView(context);
- return view;
+ protected View render(@NonNull final ReviewAndConfirmContainer component,
+ @NonNull final Context context,
+ @Nullable final ViewGroup parent) {
+ return null;
}
}
