在上一篇博客<Android 高仿微信(QQ)滑动弹出编辑.删除菜单效果,增加下拉刷新功能>里,已经带着大家学习如何使用SwipeMenuListView这一开源库实现滑动列表弹出菜单,接下来,将进一步学习,如何为不同的list item呈现不同的菜单,此处我们做一个实例:Android 高仿QQ滑动弹出菜单标记已读.未读消息,看下效果图: 1. 创建项目,并导入SwipeMenuListView类库 2. 创建消息实体bean: public class Msg { public int i
public void jumpUnread(boolean cycle) { List<ContactLogModel> dataList = adapter.getContactLogModelList(); int dataSize = dataList.size(); int position = 0; if (cycle) { position = 0; } else { position = ListView().getFirstVisiblePosition(); } Confi
using Microsoft.Exchange.WebServices.Data; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace ExchangeTest { class Program { static ExchangeService service;