V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
comeotz
V2EX  ›  Android

Android 开发 等你来教,大神赶紧来...

  •  
  •   comeotz · Jul 17, 2016 · 12458 views
    This topic created in 3572 days ago, the information mentioned may be changed or developed.
    我是新手,刚入行~
    需求是这样的, ListView 的 item 给个点击事件。
    点击 item 后会加载一个布局,就在这个 item 下面添加,这个布局分为两个页面,可以左右滑动。
    第一个页面还是一个类似 listView 这样的条目,第二个页面是一个折线图。
    我要怎么组织整个布局呢?
    sherlocktheplant
        1
    sherlocktheplant  
       Jul 17, 2016
    用 ExpandableListView

    http://my.oschina.net/amigos/blog/62614

    然后加载进来的 View 里用 ViewPager 但是这个得自己处理一下触摸事件 不然 ViewPager 滚不了
    zcljy
        2
    zcljy  
       Jul 18, 2016
    最简单方式在 item 下弹出 popwindow popwindow 嵌套 viewpager
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3732 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 04:29 · PVG 12:29 · LAX 21:29 · JFK 00:29
    ♥ Do have faith in what you're doing.