Android Open Source - appboy-android-sdk Default Card View

From Project

Back to project page appboy-android-sdk.


The source code is released under:

Copyright (c) 2014 Appboy, Inc. All rights reserved. * Use of source code or binaries contained within Appboy's Android SDK is permitted only to enable use of the Appboy platform by customers of Appb...

If you think the Android project appboy-android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.appboy.ui.widget;
//from  w  w w  .  j a va2 s .  c  om
import android.content.Context;
import android.util.Log;
import com.appboy.Constants;
import com.appboy.ui.R;

public class DefaultCardView extends BaseCardView<Card> {
  private static final String TAG = String.format("%s.%s", Constants.APPBOY_LOG_TAG_PREFIX, DefaultCardView.class.getName());

  public DefaultCardView(Context context) {
    this(context, null);

  public DefaultCardView(Context context, Card card) {

    if (card != null) {

  protected int getLayoutResource() {
    return R.layout.com_appboy_default_card;

  @Override public void onSetCard(Card card) {
    Log.w(TAG, "onSetCard called for blank view with: " + card.toString());

Java Source Code List