<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Dear月的博客]]></title><description><![CDATA[日常学习开发经验总结]]></description><link>https://blog.youkuaiyun.com/github_36287370</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; github_36287370]]></copyright><item><title><![CDATA[AS 提交失误找不到本地代码，然后分不清提交版本的时候怎么办]]></title><link>https://blog.youkuaiyun.com/github_36287370/article/details/106396701</link><guid>https://blog.youkuaiyun.com/github_36287370/article/details/106396701</guid><author>github_36287370</author><pubDate>Thu, 28 May 2020 09:45:06 +0800</pubDate><description><![CDATA[废话不多说，我想你一定很着急，请不要慌，不要重启AS 这篇blog很有可能帮到你，加油！

1.找到图形化界面



2.找到git的面板输出Console



3.找到你误操作的时间点



4.然后是常见的代码操作


git reset --hard 版本号


*如果你重启过AS日志输出可能就不存在了 ，可以执行以下代码查看最近提交


git reflog

git reflog能找回的版本有限，而且容易被最近的git操作覆盖，所以遇到失误操作时千万别慌！不要重启AS，更不要重启电脑！
...]]></description><category></category></item><item><title><![CDATA[从零开始打造一个Android 3D立体旋转容器]]></title><link>https://blog.youkuaiyun.com/github_36287370/article/details/78548666</link><guid>https://blog.youkuaiyun.com/github_36287370/article/details/78548666</guid><author>github_36287370</author><pubDate>Thu, 16 Nov 2017 10:52:53 +0800</pubDate><description><![CDATA[本文地址，转载请注明 http://blog.youkuaiyun.com/mr_immortalz/article/details/51918560 
github 代码下载地址 ：https://github.com/ImmortalZ/StereoView

1.概述

回到正题，这次带来的效果，是一个Android 的3D立体旋转的效果。 
当然灵感的来源，来自早些时间微博上看到的效果图。]]></description><category></category></item><item><title><![CDATA[Android Camera 的学习记录]]></title><link>https://blog.youkuaiyun.com/github_36287370/article/details/78542434</link><guid>https://blog.youkuaiyun.com/github_36287370/article/details/78542434</guid><author>github_36287370</author><pubDate>Wed, 15 Nov 2017 16:39:41 +0800</pubDate><description><![CDATA[Android中利用Camera与Matrix实现3D效果详解 - 优快云博客
http://blog.youkuaiyun.com/zhangke3016/article/details/52093776











android 中存在两Camera，这里说的是 android.graphics.Camera;
官方介绍
A camera instance ca]]></description><category></category></item><item><title><![CDATA[EventBus]]></title><link>https://blog.youkuaiyun.com/github_36287370/article/details/69666104</link><guid>https://blog.youkuaiyun.com/github_36287370/article/details/69666104</guid><author>github_36287370</author><pubDate>Sat, 08 Apr 2017 11:24:22 +0800</pubDate><description><![CDATA[1、简介
1.1. EventBus是一个Android端的publish/subscrlbe消息总线，简化了应用程序各组件间、组件与后台线程间的通信，比如请求网络，等网络返回时通过Handler或者BroadCast通知UI，两个Fragment之间需要通过Listner通信，这些需求都可以通过EventBus实现。
2、下载地址
1.2. https://github.com/green]]></description><category></category></item><item><title><![CDATA[Service 的启动与运行]]></title><link>https://blog.youkuaiyun.com/github_36287370/article/details/53735200</link><guid>https://blog.youkuaiyun.com/github_36287370/article/details/53735200</guid><author>github_36287370</author><pubDate>Mon, 19 Dec 2016 10:06:26 +0800</pubDate><description><![CDATA[有了 Service 类我们如何启动他呢，有两种方法：

Context.startService()
Context.bindService() 
1、在同一个应用任何地方调用 startService() 方法就能启动 Service 了，然后系统会回调 Service 类的 onCreate() 以及 onStart() 方法。这样启动的 Service 会一直运行在后台，直到 Co]]></description><category></category></item><item><title><![CDATA[Service 生命周期]]></title><link>https://blog.youkuaiyun.com/github_36287370/article/details/53734839</link><guid>https://blog.youkuaiyun.com/github_36287370/article/details/53734839</guid><author>github_36287370</author><pubDate>Mon, 19 Dec 2016 09:49:10 +0800</pubDate><description><![CDATA[先看一段代码在LogCat中添加一个标签，观察Service生命周期的过程。

import android.app.Service;import android.content.Intent;import android.os.IBinder;import android.util.Log;public class ServiceLeft extends Service {	private ]]></description><category></category></item><item><title><![CDATA[Service学习（二）]]></title><link>https://blog.youkuaiyun.com/github_36287370/article/details/53734633</link><guid>https://blog.youkuaiyun.com/github_36287370/article/details/53734633</guid><author>github_36287370</author><pubDate>Mon, 19 Dec 2016 09:40:32 +0800</pubDate><description><![CDATA[接Service学习（一）；

public class CountService extends Service {	private boolean threadDisable;	private String activityValue = null;	private int count;	@Override	public IBinder onBind(Intent intent) {		L]]></description><category></category></item><item><title><![CDATA[Service 学习（一）]]></title><link>https://blog.youkuaiyun.com/github_36287370/article/details/53639539</link><guid>https://blog.youkuaiyun.com/github_36287370/article/details/53639539</guid><author>github_36287370</author><pubDate>Wed, 14 Dec 2016 14:47:41 +0800</pubDate><description><![CDATA[一、Service的概念
Service是Android程序中四大基础组件之一，它和Activity一样都是Context的子类，只不过它没有UI界面，是在后台运行的组件。
二、Service的生命周期
Service对象不能自己启动，需要通过某个Activity、Service或者其他Context对象来启动.启动的方法有两种，Context.startService和Context.bi]]></description><category></category></item><item><title><![CDATA[选择头像文件操作]]></title><link>https://blog.youkuaiyun.com/github_36287370/article/details/53158633</link><guid>https://blog.youkuaiyun.com/github_36287370/article/details/53158633</guid><author>github_36287370</author><pubDate>Mon, 14 Nov 2016 14:32:04 +0800</pubDate><description><![CDATA[最初方案：
【Android设置头像，手机拍照或从本地相册选取图片作为头像】


像微信、QQ、微博等社交类的APP，通常都有设置头像的功能，设置头像通常有两种方式：


1，让用户通过选择本地相册之类的图片库中已有的图像，裁剪后作为头像。


2，让用户启动手机的相机拍照，拍完照片后裁剪，然后作为头像。

Android设置头像，手机拍照或从本地相册选取图片作为头像 -]]></description><category></category></item><item><title><![CDATA[java.lang.RuntimeException: Can't create handler inside thread that has not]]></title><link>https://blog.youkuaiyun.com/github_36287370/article/details/52882424</link><guid>https://blog.youkuaiyun.com/github_36287370/article/details/52882424</guid><author>github_36287370</author><pubDate>Fri, 21 Oct 2016 13:26:38 +0800</pubDate><description><![CDATA[以前没遇到过现在遇到就找到收集一下


在Android中不允许Activity里新启动的线程访问该Activity里的UI组件，这样会导致新启动的线程无法改变UI组件的属性值。


出现java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()异]]></description><category></category></item><item><title><![CDATA[SwipeRefreshLayout嵌套ScrollView包裹复杂头布局和RecyclerView]]></title><link>https://blog.youkuaiyun.com/github_36287370/article/details/52880164</link><guid>https://blog.youkuaiyun.com/github_36287370/article/details/52880164</guid><author>github_36287370</author><pubDate>Fri, 21 Oct 2016 10:00:26 +0800</pubDate><description><![CDATA[主要是在使用SwipeRefreshLayout嵌套ScrollView包裹复杂头布局和RecyclerView 时出现一些问题不能好好解决上网搜索得到一些收获




布局如下：上面是一个描述有：头像和部分信息的布局，底部是一个RecyclerView；

想法：想实现RecyclerView向上滚动的时候，隐藏上面的头像布局信息；使用了

CoordinatorLayout]]></description><category></category></item><item><title><![CDATA[Android报错ViewPager: Can't Change Tag of Fragment的解决方法]]></title><link>https://blog.youkuaiyun.com/github_36287370/article/details/52717256</link><guid>https://blog.youkuaiyun.com/github_36287370/article/details/52717256</guid><author>github_36287370</author><pubDate>Sat, 01 Oct 2016 13:26:55 +0800</pubDate><description><![CDATA[问题描述

在应用里用到了ViewPager和FragmentPagerAdapter 实现多页（>20页）滑动，每一页都是一个Fragment，给ViewPager注册一个OnPageChangeListener，当知道某一个Fragment被选中时，开始调用其刷新数据的方法。

并有一目录，点击某个条目时，调用 ViewPager 的 setCurrentItem(position) ]]></description><category></category></item></channel></rss>