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.
package com.appboy.sample; /*from ww w . ja va 2 s .c om*/ import android.app.Activity; import android.view.View; import android.widget.TextView; import com.appboy.models.Slideup; import com.appboy.ui.slideups.ISlideupViewFactory; public class CustomSlideupViewFactory implements ISlideupViewFactory { @Override public View createSlideupView(Activity activity, Slideup slideup) { View slideupView = activity.getLayoutInflater().inflate(R.layout.custom_slideup, null); TextView message = (TextView) slideupView.findViewById(R.id.slideup_message); message.setText(slideup.getMessage()); return slideupView; } }