<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[foreverlxm的专栏]]></title><description><![CDATA[喜欢算法，喜欢做题，目前是一只比较勤奋的小菜...]]></description><link>https://blog.youkuaiyun.com/foreverlxm</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; foreverlxm]]></copyright><item><title><![CDATA[ListVIew子项布局右对齐，TextVIew右对齐]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/76999592</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/76999592</guid><author>foreverlxm</author><pubDate>Wed, 09 Aug 2017 16:37:22 +0800</pubDate><description><![CDATA[TextView右对齐]]></description><category></category></item><item><title><![CDATA[Retrofit学习笔记]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/54094968</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/54094968</guid><author>foreverlxm</author><pubDate>Thu, 05 Jan 2017 18:53:22 +0800</pubDate><description><![CDATA[Retrofit的基本使用以及遇到的问题Base URL required，java.lang.IllegalArgumentException: baseUrl must end in /:以及json解析异常（ Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $）等问题]]></description><category></category></item><item><title><![CDATA[ViewPage+Fragment + ListView可左右滑动翻页（仿微信页面）]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/51027302</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/51027302</guid><author>foreverlxm</author><pubDate>Thu, 31 Mar 2016 17:01:15 +0800</pubDate><description><![CDATA[ViewPage，Fragment ， ListView，Activity实现仿微信页面（可左右滑动上下翻页）]]></description><category></category></item><item><title><![CDATA[怎样使用TabPageIndicator 怎样依赖第三方框架]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/50418561</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/50418561</guid><author>foreverlxm</author><pubDate>Mon, 28 Dec 2015 14:31:24 +0800</pubDate><description><![CDATA[在Android中，不时，需要依赖一些第三方框架，但是，对于Android新手来说，可能都不知道怎样去依赖（我是这样的）。]]></description><category></category></item><item><title><![CDATA[Android开发环境搭建]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/50371027</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/50371027</guid><author>foreverlxm</author><pubDate>Mon, 21 Dec 2015 12:11:23 +0800</pubDate><description><![CDATA[Android环境的搭建]]></description><category></category></item><item><title><![CDATA[Android搭建学习中所遇到的问题]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/50255185</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/50255185</guid><author>foreverlxm</author><pubDate>Thu, 10 Dec 2015 22:01:42 +0800</pubDate><description><![CDATA[1.ADT插件的版本要跟SDK相关，否则将不会识别
2.安装SDK时（在线安装），由于Google被墙，应设置代理
3.更新ADT后出现Error
 when loading the SDK：发现了以元素 'd:skin' 开头的无效内容
    解决方法： 用sdk\tools\lib下的devices.xml替换掉出错的devices.xml，然后重新启动eclipse
4.sdk ]]></description><category></category></item><item><title><![CDATA[外观模式]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/49929903</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/49929903</guid><author>foreverlxm</author><pubDate>Thu, 19 Nov 2015 17:54:36 +0800</pubDate><description><![CDATA[外观模式完美的体现了依赖倒转原则和迪米特法则，在开发中会经常用到。]]></description><category></category></item><item><title><![CDATA[建造者模式]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/49862019</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/49862019</guid><author>foreverlxm</author><pubDate>Mon, 16 Nov 2015 12:27:34 +0800</pubDate><description><![CDATA[看第一遍书的时候，由于是走马观花的看了一遍，就总是将装饰模式和建造者模式混淆，然而，他们是有很大差别的。
建造者模式：将一个复杂的构建与表示分离，这样，相同的构建过程能创建出不同的表示。
就像一家饮品店的MM调制饮品一样，工序是相同的，只是配料略有不同，但是饮品的口味却千差万别]]></description><category></category></item><item><title><![CDATA[简单工厂模式和工厂方法模式]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/49847221</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/49847221</guid><author>foreverlxm</author><pubDate>Sun, 15 Nov 2015 11:04:57 +0800</pubDate><description><![CDATA[简单工厂模式
在前面的博客简单工厂模式和策略模式的应用的前半部分，提到过简单工厂模式，我们知道，简单工厂模式的主要优点在于封装了对象的创建过程，很大程度上实现了低耦合，但是，我们也能清晰的看到，当需要扩展新的功能时，我们不得不修改工厂类，这种做法实则违反了“开放--封闭”原则
 。为了解决这一问题，我们引入工厂方法模式。
工厂方法模式：定义一个用于创建对象的接口，让子类决定实例化哪一个类，工]]></description><category></category></item><item><title><![CDATA[装饰模式]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/49779661</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/49779661</guid><author>foreverlxm</author><pubDate>Wed, 11 Nov 2015 13:45:46 +0800</pubDate><description><![CDATA[当我们需要的给已有的功能动态的添加其它功能时，选用装饰模式]]></description><category></category></item><item><title><![CDATA[简单工厂模式和策咯模式的区别与应用]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/49757551</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/49757551</guid><author>foreverlxm</author><pubDate>Tue, 10 Nov 2015 13:27:50 +0800</pubDate><description><![CDATA[工厂模式和策咯模式乍看下貌似没有什么本质的区别，实则差距却很大]]></description><category></category></item><item><title><![CDATA[搭建hibernate时 'hibernate.dialect' must be set when no Connection available错误]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/48915725</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/48915725</guid><author>foreverlxm</author><pubDate>Mon, 05 Oct 2015 17:52:44 +0800</pubDate><description><![CDATA[搭建hibernate时
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: org.hibernate.HibernateException: 'hibernate.dialect' must be set when no Connection available]]></description><category></category></item><item><title><![CDATA[三大框架之----struts2之ValueStack存取数据]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/48877605</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/48877605</guid><author>foreverlxm</author><pubDate>Sat, 03 Oct 2015 23:47:51 +0800</pubDate><description><![CDATA[我们知道，传输数据是网站的核心功能。在前两节中，我们学习了如何跳转界面，触发方法，这一节，我们来学习数据的存取]]></description><category></category></item><item><title><![CDATA[三大框架学习之----struts2 通配符的使用（二）]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/48859223</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/48859223</guid><author>foreverlxm</author><pubDate>Fri, 02 Oct 2015 12:06:17 +0800</pubDate><description><![CDATA[通过上一篇，我们知道要想正确搭建struts2框架，必须要配置struts.xml。但是这么一来，貌似与web.xml并没有太大的区别。
在struts中，为了解决这一问题，提供了可使一个或多个action类使用的配置文件。而通配符的使用也将大大简化配置文件]]></description><category></category></item><item><title><![CDATA[三大框架学习之----struts2框架的搭建（一）]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/48845067</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/48845067</guid><author>foreverlxm</author><pubDate>Thu, 01 Oct 2015 11:21:33 +0800</pubDate><description><![CDATA[最近开始学习java框架，刚开始接触，感觉配置struts2好麻烦，刚开始的时候，总出错，终于赶在午饭之前成功了，写下搭建步骤，希望共同学习。]]></description><category></category></item><item><title><![CDATA[Linux下的shell(一)变量的使用]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/44539829</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/44539829</guid><author>foreverlxm</author><pubDate>Sun, 22 Mar 2015 19:58:57 +0800</pubDate><description><![CDATA[一  变量
echo   $a     :   输出变量a，  若不存在，则创建一个变量a
unset  a    :      取消变量a
1.1环境变量 ：

env : 查看 环境变量与常见变量的说明
HOME:  用户的主文件夹
HISTSIZE：系统可以记下来的历史命令个数
PATH:执行文件查找的路径
LANG ：可修改语系
set：查看所有变量，包括环境变量和自定]]></description><category></category></item><item><title><![CDATA[linux下文件，文档操作命令（一）]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/44282119</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/44282119</guid><author>foreverlxm</author><pubDate>Sun, 15 Mar 2015 22:57:11 +0800</pubDate><description><![CDATA[打开一个目录（进入此目录）：cd   【路径】

创建文档：mkdir  【文件名】
 删除目录(仅限于空的目录，删除整个目录需要一层层的删)：rmdir

创建空的文件：touch 【文件名】
查看文件与目录：ls

修改文档所有者：chown  

修改文档所在群组：chgrp
修改文件所属权限     ：chmod
查看文件默认权限(将会返回一个数字，后三位是目录与文]]></description><category></category></item><item><title><![CDATA[开机  硬盘]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/44203721</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/44203721</guid><author>foreverlxm</author><pubDate>Wed, 11 Mar 2015 20:06:02 +0800</pubDate><description><![CDATA[磁盘的最小单位是扇区，对计算机有了解的朋友相必知道，磁盘上最终要的部分就是第一扇区，容量大小为514bytes
其中，MBR占446bytes,分区表占64bytes。
MBR：其中有引导加载程序，开机时，计算机默认会执行韧体BIOS，BIOS会去分析存储设备，根据设置会找到可开机的硬盘，然后找到此硬盘的第一扇区中的MBR，接下来就是MBR的引导加载程序启动，使用过双系统的朋友知道，开机时会有]]></description><category></category></item><item><title><![CDATA[linux中文本操作界面登录时，用户名，密码均正确，却链接错误]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/44202273</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/44202273</guid><author>foreverlxm</author><pubDate>Wed, 11 Mar 2015 18:12:59 +0800</pubDate><description><![CDATA[我用的linux版本是centos6.0.由于我的电脑是15.6寸，因此有一个小键盘，在输入密码的时候，习惯性的用了小键盘，故密码错误，连接失败。]]></description><category></category></item><item><title><![CDATA[EntityFramework  Codefirst搭建]]></title><link>https://blog.youkuaiyun.com/foreverlxm/article/details/41511033</link><guid>https://blog.youkuaiyun.com/foreverlxm/article/details/41511033</guid><author>foreverlxm</author><pubDate>Wed, 26 Nov 2014 11:39:08 +0800</pubDate><description><![CDATA[最近在搭建EF框架，发现没有适合菜鸟学习的（本人菜鸟，遇到很多问题），现在已经搭建成功，先将搭建过程记录下来
1.首先新建一个WEB窗体应用程序

2.添加一个新建项目

3.新建一个类库

4.重复步骤三，项目名称为DataBaseModel
5.添加引用
找到项目DataBase中的引用右键->添加引用->项目->DataBaseModel
找到项目EntityF]]></description><category></category></item></channel></rss>