我是新手Angular 2,我知道托管Angular 1.x在共享主机上GoDaddy,但我不知道如何发布Angular 2应用程序,例如我有这个结构文件夹:
angular2-quickstart
--app
app.component.ts
main.ts
--node_modules
--typings
index.html
package.json
styles.css
systemjs.config.js
tsconfig.json
typings.json
Run Code Online (Sandbox Code Playgroud)
我需要在ftp上传什么文件?
我没有尝试任何东西因为我不知道如何继续
提前谢谢!
我有这个代码:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference android:key="notification_settings"
android:text="@string/impostazione"
android:id="@+id/save_check"
android:summary="@string/notification_title"
android:defaultValue="false"
></CheckBoxPreference>
</PreferenceScreen>
Run Code Online (Sandbox Code Playgroud)
现在我需要在 FragmentA 中获取复选框值:
sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getActivity());
Run Code Online (Sandbox Code Playgroud)
现在?