package io.podcst.android.specs;

import android.app.ActionBar;
import android.view.ViewGroup;

import com.facebook.litho.ComponentContext;
import com.facebook.litho.ComponentLayout;
import com.facebook.litho.Row;
import com.facebook.litho.annotations.LayoutSpec;
import com.facebook.litho.annotations.OnCreateLayout;
import com.facebook.litho.annotations.Prop;
import com.facebook.litho.widget.Card;

import io.podcst.android.data.Podcast;

/**
 * Created by eve on 19/04/17.
 */

@LayoutSpec
public class PodcastRowCardSpec {

    @OnCreateLayout
    static ComponentLayout onCreateLayout(ComponentContext c, @Prop Podcast podcast) {

        return Row.create(c)
                .child(Card.create(c)
                        .content(PodcastRow
                                .create(c)
                                .podcast(podcast)))
                .build();
    }
}

@@ -38,62 +38,34 @@
 ort 
-android.app.ActionBar;%0Aimport android.view.ViewGroup;%0A
+com.facebook.litho.Column;
 %0Aimp
@@ -152,39 +152,8 @@
 ut;%0A
-import com.facebook.litho.Row;%0A
 impo
@@ -586,19 +586,22 @@
  return 
-Row
+Column
 .create(

Fix podcast row width