摘要: LIstView 滚动 异步 加载更多 mono for android 阅读全文
posted @ 2014-03-12 21:52 查海涅 阅读(702) 评论(0) 推荐(0) 编辑
摘要: 需求:为Listview的Item里面的按钮Button添加一个事件,单击按钮时通过事件传值并跳转到新的页面。 环境:mono 阅读全文
posted @ 2014-02-28 14:14 查海涅 阅读(2083) 评论(1) 推荐(3) 编辑
摘要: ListView 加载更多列表 Load More mono forandroid 项目笔记 阅读全文
posted @ 2014-03-15 00:43 查海涅 阅读(1317) 评论(2) 推荐(1) 编辑
摘要: 以前的我是没有做笔记的习惯的,学习了后觉得自己能记住,但是最近发现很多学的东西都忘记了,所有现在一有新的知识,就记下来吧。最近又做一个mono for android 的项目 这次调整比较大,上次做的点餐系统很好用 ,但是做的时候没有做笔记很多东西都忘记了,这次我把项目涉及到的知识传到博客上,方便记忆,也很大家分享分享的,希望大家能给出点意见。在value里面新建 mystyle.xml 在Layout里面新建布局myTitle.axml 在activity中先加入样式 Theme = "@style/test"[Activity(Label = "Cloud&q 阅读全文
posted @ 2014-02-20 10:43 查海涅 阅读(2826) 评论(0) 推荐(1) 编辑
摘要: 由于项目需要 要保持用户登录状态 要进行状态保持 用途就好像asp.net的session一样登录的时候进行保存ISharedPreferences shared = GetSharedPreferences("UserName", FileCreationMode.Private); string value = shared.GetString("UserName", ""); value = "new value"; ISharedPreferencesEdito... 阅读全文
posted @ 2014-02-18 23:54 查海涅 阅读(793) 评论(0) 推荐(1) 编辑
摘要: void button_Click(object sender, EventArgs e) { string Url = "上传地址,服务器端负责接收"; byte[] fbytes; int Id = 1; string filename = "text.jpg"; string emsg = ""; System.Json.JsonObject id = new System.Json.JsonObject() { ... 阅读全文
posted @ 2014-02-18 09:14 查海涅 阅读(920) 评论(1) 推荐(1) 编辑
摘要: axml C#using System;using Android.App;using Android.Content;using Android.Widget;using Android.OS;using Android.Graphics;using System.IO;namespace Phoot{ [Activity(Label = "Phoot", MainLauncher = true, Icon = "@drawable/icon")] public class Activity1 : Activity { public static in 阅读全文
posted @ 2014-02-17 20:48 查海涅 阅读(1515) 评论(2) 推荐(2) 编辑
摘要: 布局 C#代码 protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); Button btn = FindViewById(Resource.Id.btn); btn.Cl... 阅读全文
posted @ 2014-02-17 10:22 查海涅 阅读(694) 评论(0) 推荐(0) 编辑