Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a Fragment in a Popup Window - in Android

Is it possible to load a Fragment / FragmentActivity class on a PopupWindow? I need a PopupWindow with more than one site. On the first one should be some Buttons. With these Buttons you'll change the Layout of the Popup- and open a new one with, for example, some TextViews.

like image 720
derSoerrn Avatar asked Nov 13 '22 16:11

derSoerrn


1 Answers

Try to use DialogFragment Class. See this post.

like image 137
user1592811 Avatar answered Nov 15 '22 06:11

user1592811