I'm a bit stuck here,
I just started with the basics of Glass development, is it possible to add a CardScrollView/Card to an Livecard?
It looks like it's only possible to add RemoteViews to a LiveCard but I would like to show a CardScrollView instead of coding everything in xml.
CardScrollView csvCardsView; //has adapter, items,...
RemoteViews aRV = new RemoteViews(this.getPackageName(), R.layout.card_text);
if (mLiveCard == null) {
mLiveCard = mTimelineManager.createLiveCard(LIVE_CARD_ID);
mLiveCard.setViews(aRV);
//... Action code
mLiveCard.publish(LiveCard.PublishMode.REVEAL);
}
Now I can't find out how to add my csvCardsView
to my mLiveCard
since LiveCard.setViews()
only accepts RemoteViews and RemoteViews.addViews()
also only accepts RemoteViews.