Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I need a clickable UI element instead of Toast (can i create custom toast with clickable feature?)

Tags:

android

rss

feed

I am developing a RSS news feed app for Android, and using Toast.makeText() to show the news or current update. It must go on web on the click of that message/news. The problem is that the Toast has no API/features that I can click on that and go on web to read the full article.

The prime requirement is that I need to display the news one by one so I can not use list or any other widget.

Can anyone suggest what UI element should I use to solve this problem?

like image 874
user619969 Avatar asked Dec 21 '22 17:12

user619969


1 Answers

As you've discovered, there is absolutely no user interaction with Toasts. This is not likely to change given their purpose.

About the only other thing I can think of is to use Notifications instead.

like image 127
RivieraKid Avatar answered Dec 24 '22 07:12

RivieraKid