20 lines
457 B
Java
20 lines
457 B
Java
package com.twitter.sdk.android.tweetcomposer;
|
|
|
|
import android.content.Context;
|
|
import android.view.View;
|
|
|
|
/* loaded from: classes.dex */
|
|
class CardViewFactory {
|
|
CardViewFactory() {
|
|
}
|
|
|
|
View a(Context context, Card card) {
|
|
if (!card.cardType.equals(Card.APP_CARD_TYPE)) {
|
|
return null;
|
|
}
|
|
AppCardView appCardView = new AppCardView(context);
|
|
appCardView.setCard(card);
|
|
return appCardView;
|
|
}
|
|
}
|