ViewPager with Fragments inside PopupWindow (or DialogFragment) - Error no view found for id for fragment

前端 未结 2 1135
故里飘歌
故里飘歌 2020-12-05 02:14

I created a FragmentActivity with this code below

public class Activity_principal1 extends FragmentActivity {

    @Override
    protected void onCreate(Bund         


        
2条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-05 02:54

    I had the same issue, I try to create another viewpager in my dialog with another xml template, you know i didnt found information for fix this, but i use another view pager implementation, that works exactly as the viewpager in the supporta library, is called JazzyViewPager, and have multiple animations so cute! I recommend you use, this.

    Here is the link: https://github.com/jfeinstein10/JazzyViewPager

提交回复
热议问题