Title: Error in populateFlicks fundtion of app/home/home-view-model.ts · Issue #4 · NativeScript/tutorials · GitHub
Open Graph Title: Error in populateFlicks fundtion of app/home/home-view-model.ts · Issue #4 · NativeScript/tutorials
X Title: Error in populateFlicks fundtion of app/home/home-view-model.ts · Issue #4 · NativeScript/tutorials
Description: In the definition of app/home/home-view-model.ts in the Home UI section there is an error in the populateFlicks function. It is defined as populateFlicks(): void { this._flicks = FlickService().getInstance().getFlicks(); } but should be ...
Open Graph Description: In the definition of app/home/home-view-model.ts in the Home UI section there is an error in the populateFlicks function. It is defined as populateFlicks(): void { this._flicks = FlickService().get...
X Description: In the definition of app/home/home-view-model.ts in the Home UI section there is an error in the populateFlicks function. It is defined as populateFlicks(): void { this._flicks = FlickService().get...
Opengraph URL: https://github.com/NativeScript/tutorials/issues/4
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error in populateFlicks fundtion of app/home/home-view-model.ts","articleBody":"In the definition of `app/home/home-view-model.ts` in the [Home UI](https://docs.nativescript.org/tutorial/plain.html#create-the-home-page) section there is an error in the `populateFlicks` function.\r\n\r\nIt is defined as\r\n\r\n```\r\npopulateFlicks(): void {\r\n this._flicks = FlickService().getInstance().getFlicks();\r\n }\r\n```\r\n\r\nbut should be \r\n```\r\npopulateFlicks(): void {\r\n this._flicks = FlickService.getInstance().getFlicks();\r\n }\r\n```\r\n\r\nThat is, FlickService should not be called.","author":{"url":"https://github.com/alecgregory","@type":"Person","name":"alecgregory"},"datePublished":"2022-05-16T15:50:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/4/tutorials/issues/4"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:49cfe484-772b-b0c4-617c-eee682a9e9a4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 93C6:1C3192:39F2FF0:4AB5EAA:698021ED |
| html-safe-nonce | e23b29c3b438ea948ce7f8bf38b44fc890b626acf9497304e799a6e4e6eb870d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0M2OjFDMzE5MjozOUYyRkYwOjRBQjVFQUE6Njk4MDIxRUQiLCJ2aXNpdG9yX2lkIjoiNTE5OTM3MTkzNTgxNjg4NDcxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9c475d7ad9f8270e5cc0cb3d564ccac5e8dc53995ea1cf0fa0fe13b1833deaad |
| hovercard-subject-tag | issue:1237360208 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/tutorials/4/issue_layout |
| twitter:image | https://opengraph.githubassets.com/87cc3633107d135b902549c758431c3807fedaed06d8450365d80c9e93d1e339/NativeScript/tutorials/issues/4 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/87cc3633107d135b902549c758431c3807fedaed06d8450365d80c9e93d1e339/NativeScript/tutorials/issues/4 |
| og:image:alt | In the definition of app/home/home-view-model.ts in the Home UI section there is an error in the populateFlicks function. It is defined as populateFlicks(): void { this._flicks = FlickService().get... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alecgregory |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/tutorials git https://github.com/NativeScript/tutorials.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 429924063 |
| octolytics-dimension-repository_nwo | NativeScript/tutorials |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 429924063 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/tutorials |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width