翰林优商.apk(点击下载) / SjmDspAdH5Handler.java


package com.sjm.sjmdsp.adCore.assist.adH5;

import android.app.Activity;
import android.content.Intent;
import android.os.Handler;
import com.sjm.sjmdsp.SjmDspPageActivity;
import com.sjm.sjmdsp.adCore.assist.SjmDspAdHandler;
import com.sjm.sjmdsp.adCore.model.SjmDspAdItemData;

public class SjmDspAdH5Handler extends SjmDspAdHandler {
    @Override // com.sjm.sjmdsp.adCore.assist.SjmDspAdHandler
    public void clickAction() {
    }

    @Override // com.sjm.sjmdsp.adCore.assist.SjmDspAdHandler
    public String getState() {
        return "查看详情";
    }

    public SjmDspAdH5Handler(SjmDspAdItemData sjmDspAdItemData) {
        super(sjmDspAdItemData);
    }

    @Override // com.sjm.sjmdsp.adCore.assist.SjmDspAdHandler
    public void clickAction(final Activity activity) {
        new Handler().postDelayed(new Runnable() {
            /* class com.sjm.sjmdsp.adCore.assist.adH5.SjmDspAdH5Handler.AnonymousClass1 */

            public void run() {
                Intent intent = new Intent(activity, SjmDspPageActivity.class);
                intent.addCategory("sjmDsp__PageCategory");
                intent.putExtra("adData", SjmDspAdH5Handler.this.adItemData);
                activity.startActivity(intent);
            }
        }, 500);
    }
}