Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajivnarayana/nativescript-listview-header
UITableView tableHeaderView additions to nativescript listview.
https://github.com/rajivnarayana/nativescript-listview-header
Last synced: about 1 month ago
JSON representation
UITableView tableHeaderView additions to nativescript listview.
- Host: GitHub
- URL: https://github.com/rajivnarayana/nativescript-listview-header
- Owner: rajivnarayana
- Created: 2016-01-22T17:08:24.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-26T15:20:34.000Z (almost 9 years ago)
- Last Synced: 2024-04-25T01:42:28.771Z (9 months ago)
- Language: TypeScript
- Size: 1.35 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Nativescript ListView header plugin.
A plugin for adding headerView i.e. [tableHeaderView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITableView_Class/#//apple_ref/occ/instp/UITableView/tableHeaderView) to ListView for iOS.
## Installation```
tns plugin add nativescript-listview-header
```
### ExamplesInclude the plugin in your xml
```xml
```
Set your header view in code behind
```javascript
var searchBarModule = require("ui/search-bar");
exports.onListViewLoaded = function(args) {
var listView = args.object;
listView.tableHeaderView = new searchBarModule.SearchBar();
}
```### Screen shot