当前位置: 首页>>代码示例>>Java>>正文


Java SlidingUpPanelLayout.PanelSlideListener方法代码示例

本文整理汇总了Java中com.sothree.slidinguppanel.SlidingUpPanelLayout.PanelSlideListener方法的典型用法代码示例。如果您正苦于以下问题:Java SlidingUpPanelLayout.PanelSlideListener方法的具体用法?Java SlidingUpPanelLayout.PanelSlideListener怎么用?Java SlidingUpPanelLayout.PanelSlideListener使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.sothree.slidinguppanel.SlidingUpPanelLayout的用法示例。


在下文中一共展示了SlidingUpPanelLayout.PanelSlideListener方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: onAttach

import com.sothree.slidinguppanel.SlidingUpPanelLayout; //导入方法依赖的package包/类
@Override
public void onAttach(Activity activity) {
    super.onAttach(activity);
    if (activity instanceof DrawerNavigationUI)
        navActivity = (DrawerNavigationUI) activity;

    if(activity instanceof SlidingUpPanelLayout.PanelSlideListener)
        slidingPanelListenerMgr.addPanelSlideListener(parentActivityPanelListenerLabel, (SlidingUpPanelLayout.PanelSlideListener) activity);
}
 
开发者ID:mxiao6,项目名称:Tower-develop,代码行数:10,代码来源:FlightDataFragment.java

示例2: addPanelSlideListener

import com.sothree.slidinguppanel.SlidingUpPanelLayout; //导入方法依赖的package包/类
public void addPanelSlideListener(String label, SlidingUpPanelLayout.PanelSlideListener listener){
    panelListenerClients.put(label, listener);
}
 
开发者ID:mxiao6,项目名称:Tower-develop,代码行数:4,代码来源:FlightDataFragment.java

示例3: onPanelSlide

import com.sothree.slidinguppanel.SlidingUpPanelLayout; //导入方法依赖的package包/类
@Override
public void onPanelSlide(View view, float v) {
    for(SlidingUpPanelLayout.PanelSlideListener listener: panelListenerClients.values()){
        listener.onPanelSlide(view, v);
    }
}
 
开发者ID:mxiao6,项目名称:Tower-develop,代码行数:7,代码来源:FlightDataFragment.java

示例4: onPanelStateChanged

import com.sothree.slidinguppanel.SlidingUpPanelLayout; //导入方法依赖的package包/类
@Override
public void onPanelStateChanged(View panel, SlidingUpPanelLayout.PanelState previousState, SlidingUpPanelLayout.PanelState newState) {
    for(SlidingUpPanelLayout.PanelSlideListener listener: panelListenerClients.values()){
        listener.onPanelStateChanged(panel, previousState, newState);
    }
}
 
开发者ID:mxiao6,项目名称:Tower-develop,代码行数:7,代码来源:FlightDataFragment.java

示例5: setPanelSlideListener

import com.sothree.slidinguppanel.SlidingUpPanelLayout; //导入方法依赖的package包/类
/**
 * Sets a listener that can provide further customization, the respective calls to the listener is performed after the adapter has completed its own processing.
 *
 * @param listener
 */
public void setPanelSlideListener(@Nullable SlidingUpPanelLayout.PanelSlideListener listener) {
    mListener = listener;
}
 
开发者ID:kaichunlin,项目名称:android-transition,代码行数:9,代码来源:SlidingUpPanelLayoutAdapter.java


注:本文中的com.sothree.slidinguppanel.SlidingUpPanelLayout.PanelSlideListener方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。