上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页
摘要: public class Dog{ public static void main(String[]args){ A a= new A(); a.add(); //java实例对象可以访问类的静态方法和静态字段,C#却不能; int id = a.id; System.out.println(id); } } cla... 阅读全文
posted @ 2019-08-10 14:58 liliyou 阅读(439) 评论(0) 推荐(0) 编辑
摘要: using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) { HelpAttribute helpAttribute; foreach (var item in typeof(AnyCl... 阅读全文
posted @ 2019-08-06 15:40 liliyou 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 输出: 分析: 1.先根据层次链找到最顶层的基类,先调用基类构造函数,再依次调用各级派生类构造函数, 2.派生类会隐式地调用父类构造函数 显示调用父类构造函数: 析构函数则与构造函数相反 派生类没有构造函数则隐式调用基类无参构造函数: 阅读全文
posted @ 2019-07-20 14:38 liliyou 阅读(948) 评论(0) 推荐(0) 编辑
摘要: 在config.xml里面设置 阅读全文
posted @ 2019-06-11 17:17 liliyou 阅读(1022) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-06-08 16:30 liliyou 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 在app.module.ts中 配置pageTransition属性 阅读全文
posted @ 2019-06-08 13:04 liliyou 阅读(517) 评论(0) 推荐(0) 编辑
摘要: ionic3与ionic4最小化插件安装不一样: ionic3安装方法: 并在app.module.ts中 注入依赖: 应用时: ionic4安装方法 并在app.module.ts中 注入依赖: 应用时: 阅读全文
posted @ 2019-06-06 14:43 liliyou 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 问题1 解决方案: 修改为 Could not get unknown property 'ANDROID_SUPPORT_V4_VERSION' ionic打包报错:Could not get unknown property 'ANDROID_SUPPORT_V4_VERSION' 解决方法: 阅读全文
posted @ 2019-06-03 10:53 liliyou 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 修改 /platforms/android/local.properties 文件 阅读全文
posted @ 2019-05-26 20:28 liliyou 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 在ionic3 中实现订阅发布模式,需要用到Events。 Events下面有三个方法 events.subscribe() 订阅 events.publish() 发布 events.unsubscribe() 取消订阅 用法: 在一个页面上发布事件: 发布事件 订阅事件 参考:https://w 阅读全文
posted @ 2019-05-26 15:35 liliyou 阅读(145) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页