Java Code Examples for android.widget.ExpandableListView#setId()
The following examples show how to use
android.widget.ExpandableListView#setId() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PullToRefreshExpandableListView.java From android-project-wo2b with Apache License 2.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 2
Source File: PullToRefreshExpandableListView.java From zen4android with MIT License | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 3
Source File: PullToRefreshExpandableListView.java From handmarkPulltorefreshLibrary with Apache License 2.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 4
Source File: PullToRefreshExpandableListView.java From PullToRefresh-PinnedSection-ListView with MIT License | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 5
Source File: PullToRefreshExpandableListView.java From iSCAU-Android with GNU General Public License v3.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 6
Source File: PullToRefreshExpandableListView.java From FacebookNewsfeedSample-Android with Apache License 2.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 7
Source File: PullToRefreshExpandableListView.java From ONE-Unofficial with Apache License 2.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 8
Source File: PullToRefreshExpandableListView.java From SweetMusicPlayer with Apache License 2.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 9
Source File: PullToRefreshExpandableListView.java From PullToRefreshLibrary with Apache License 2.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 10
Source File: PullToRefreshExpandableListView.java From GifAssistant with Apache License 2.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 11
Source File: PullToRefreshExpandableListView.java From Alibaba-Android-Certification with MIT License | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 12
Source File: PullToRefreshExpandableListView.java From LbaizxfPulltoRefresh with Apache License 2.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 13
Source File: PullToRefreshExpandableListView.java From NetEasyNews with GNU General Public License v3.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 14
Source File: PullToRefreshExpandableListView.java From FanXin-based-HuanXin with GNU General Public License v2.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 15
Source File: PullToRefreshExpandableListView.java From effective_android_sample with Apache License 2.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 16
Source File: PullToRefreshExpandableListView.java From BigApp_Discuz_Android with Apache License 2.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 17
Source File: PullToRefreshExpandableListView.java From SwipeMenuAndRefresh with Apache License 2.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; lv = new InternalExpandableListView(context, attrs); // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 18
Source File: PullToRefreshExpandableListView.java From sctalk with Apache License 2.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 19
Source File: PullToRefreshExpandableListView.java From Social with Apache License 2.0 | 5 votes |
@Override protected ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { final ExpandableListView lv; if (VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD) { lv = new InternalExpandableListViewSDK9(context, attrs); } else { lv = new InternalExpandableListView(context, attrs); } // Set it to this so it can be used in ListActivity/ListFragment lv.setId(android.R.id.list); return lv; }
Example 20
Source File: PullToRefreshExpandableListView.java From letv with Apache License 2.0 | 5 votes |
protected final ExpandableListView createRefreshableView(Context context, AttributeSet attrs) { ExpandableListView lv; if (VERSION.SDK_INT >= 9) { lv = new InternalExpandableListViewSDK9(this, context, attrs); } else { lv = new InternalExpandableListView(this, context, attrs); } lv.setLayoutParams(new LayoutParams(-1, -1)); int mode = getMode(); String pullLabel = context.getString(2131100695); String refreshingLabel = context.getString(2131100699); String releaseLabel = context.getString(2131100700); if (mode == 1 || mode == 3) { this.mLvHeaderLoadingFrame = new FrameLayout(context); this.mHeaderLoadingView = new PullToRefreshHeaderView(context, 1, releaseLabel, pullLabel, refreshingLabel, new Object[0]); this.mLvHeaderLoadingFrame.addView(this.mHeaderLoadingView, -1, (int) ((60.0f * getResources().getDisplayMetrics().density) + 0.5f)); this.mHeaderLoadingView.setVisibility(8); lv.addHeaderView(this.mLvHeaderLoadingFrame, null, false); } if (mode == 2 || mode == 3) { this.mLvFooterLoadingFrame = new FrameLayout(context); this.mFooterLoadingView = new PullToRefreshHeaderView(context, 2, releaseLabel, pullLabel, refreshingLabel, new Object[0]); this.mLvFooterLoadingFrame.addView(this.mFooterLoadingView, -1, -2); this.mFooterLoadingView.setVisibility(8); } lv.setId(16908293); return lv; }