AbstractCardAction.smali

.class public abstract Lcom/avast/android/feed/actions/AbstractCardAction;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/avast/android/feed/actions/CardAction;


# instance fields
.field protected mColor:Ljava/lang/String;
    .annotation runtime Lcom/avast/android/feed/cards/LoadResource;
        field = "mStyleColor"
    .end annotation

    .annotation runtime Lcom/google/gson/annotations/SerializedName;
        value = "color"
    .end annotation
.end field

.field protected transient mIsLoaded:Z

.field protected transient mLabel:Ljava/lang/String;

.field protected mLabelRes:Ljava/lang/String;
    .annotation runtime Lcom/avast/android/feed/cards/LoadResource;
        field = "mLabel"
    .end annotation

    .annotation runtime Lcom/google/gson/annotations/SerializedName;
        value = "label"
    .end annotation
.end field

.field protected transient mStyleColor:Lcom/avast/android/feed/style/StyleColor;


# direct methods
.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public getColor()Lcom/avast/android/feed/style/StyleColor;
    .registers 2

    iget-object v0, p0, Lcom/avast/android/feed/actions/AbstractCardAction;->mStyleColor:Lcom/avast/android/feed/style/StyleColor;

    return-object v0
.end method

.method public getLabel()Ljava/lang/String;
    .registers 2

    iget-object v0, p0, Lcom/avast/android/feed/actions/AbstractCardAction;->mLabel:Ljava/lang/String;

    return-object v0
.end method

.method public isLoaded()Z
    .registers 2

    iget-boolean v0, p0, Lcom/avast/android/feed/actions/AbstractCardAction;->mIsLoaded:Z

    return v0
.end method

.method public load(Lcom/avast/android/feed/internal/ResourceResolver;Lcom/avast/android/feed/cards/Card;Lcom/avast/android/feed/cards/variables/OnCollectCardVariableListener;)Z
    .registers 4

    invoke-interface {p1, p0, p2, p3}, Lcom/avast/android/feed/internal/ResourceResolver;->a(Lcom/avast/android/feed/cards/ResourceLoadable;Lcom/avast/android/feed/cards/Card;Lcom/avast/android/feed/cards/variables/OnCollectCardVariableListener;)Z

    move-result p1

    iput-boolean p1, p0, Lcom/avast/android/feed/actions/AbstractCardAction;->mIsLoaded:Z

    return p1
.end method