Material cards for Ionic
I hereby claim:
- I am sandoche on github.
- I am sandoche (https://keybase.io/sandoche) on keybase.
- I have a public key ASAL4BOrpeTd4bYqTVbJe-EQc3rzTDYJ-ogPUg4oTsCeHgo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* References & examples | |
* https://docs.motive.network/api_examples.html#Get_Account_Id | |
* https://docs.motive.network/api.html#Get_Account_Id | |
* https://docs.motive.network/api_examples.html#Get_Account_Public_Key | |
* https://docs.motive.network/api.html#Get_Account_Public_Key | |
* | |
* Notes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<Page @loaded="loaded($event)"> | |
<ActionBar :title="title" :flat="flat"/> | |
<StackLayout> | |
<PullToRefresh @refresh="refreshList"> | |
<ListView id="list" for="(news, index) in newsList" @itemTap="onItemTap" @loadMoreItems="updateList()" :items="newsList"> | |
<v-template> | |
<StackLayout> | |
<NewsItem :data="news"/> | |
<ActivityIndicator v-if="loading"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style scoped> | |
ActionBar { | |
background-color:#fff; | |
color: #444; | |
} | |
ListView { | |
background-color: #fff; | |
separator-color: #ccc; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { isAndroid, isIOS, device } from 'tns-core-modules/platform' | |
if (isAndroid && device.sdkVersion >= "21") { | |
// do something | |
} else if (isIOS) { | |
// do something else | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"news": { | |
"loading": false, | |
"error": null, | |
"retrieved": [] | |
}, | |
"readme": { | |
"loading": false, | |
"error": null, | |
"retrieved": "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "gitnews", | |
"version": "1.0.3", | |
"description": "Newsfeed of trending github repositories", | |
"author": "Sandoche Adittane <sandoche@gmail.com>", | |
"license": "MIT", | |
"nativescript": { | |
"id": "com.sandoche.gitnews", | |
"tns-ios": { | |
"version": "4.2.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[18-12-29 10:01:27.620] (Info) ab.actionsLogger.shell.appVersion - {"name":"NativeScript Sidekick","version":"1.14.1-v.2018.11.23.3"} | |
[18-12-29 10:01:27.637] (Info) ab.analytics.shell.clientId - No value provided | |
[18-12-29 10:01:27.666] (Info) ab.appContext.shell.appContext - No value provided | |
[18-12-29 10:01:27.667] (Info) ab.appContext.shell.projectType - No value provided | |
[18-12-29 10:01:27.729] (Info) ab.appValidityWatcher.shell.isAppValid - No value provided | |
[18-12-29 10:01:27.754] (Info) ab.autoUpdate.shell.updates - {"eventName":"checking-for-update","message":"Checking for updates..."} | |
[18-12-29 10:01:27.787] (Info) ab.buildDeploy.shell.buildConfigChanged - {"platform":null,"buildType":"Cloud","buildConfig":"Debug","isClean":false,"useSharedCloud":false,"webpack":{"isWebpack":false,"env":{"uglify":true,"snapshot":true,"aot":{"debug":false,"release":true},"sourceMap":false}},"isHmr":false} | |
[18-12-29 10:01:27.799] (Info) ab.buildDeploy.shell.isWebpackSupported - No value provided | |
[18-12-29 10:01:27.802] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[18-12-29 11:28:08.631] (Info) ab.actionsLogger.shell.appVersion - {"name":"NativeScript Sidekick","version":"1.14.1-v.2018.11.23.3"} | |
[18-12-29 11:28:08.652] (Info) ab.analytics.shell.clientId - No value provided | |
[18-12-29 11:28:08.672] (Info) ab.appContext.shell.appContext - No value provided | |
[18-12-29 11:28:08.674] (Info) ab.appContext.shell.projectType - No value provided | |
[18-12-29 11:28:08.767] (Info) ab.appValidityWatcher.shell.isAppValid - No value provided | |
[18-12-29 11:28:08.801] (Info) ab.autoUpdate.shell.updates - {"eventName":"checking-for-update","message":"Checking for updates..."} | |
[18-12-29 11:28:08.838] (Info) ab.buildDeploy.shell.buildConfigChanged - {"platform":null,"buildType":"Cloud","buildConfig":"Debug","isClean":false,"useSharedCloud":false,"webpack":{"isWebpack":false,"env":{"uglify":true,"snapshot":true,"aot":{"debug":false,"release":true},"sourceMap":false}},"isHmr":false} | |
[18-12-29 11:28:08.847] (Info) ab.buildDeploy.shell.isWebpackSupported - No value provided | |
[18-12-29 11:28:08.852] |
OlderNewer