xianzhez notes


  • Home

  • Categories

  • Archives

  • Tags

Android Development Art

Posted on 2016-02-13   |   In Android

第1章 Activity的生命周期和启动模式

1. 正常情况下Activity的生命周期

onCreate onStart onResume onPause onStop onDestroy

两个Activity切换过程的生命周期

ActivityA onPause()

ActivityB onCreate()

ActivityB onStart()

ActivityB onResume()

ActivityA onStop()

2. 异常情况下Activity的生命周期

onSaveInstanceState在onStop之前,和onPause没有既定的时序关系。

onRestoreInstanceState在onStart之后

Read more »

Latex Learning

Posted on 2015-05-19   |   In Tools

LaTex

入门

1
2
3
4
5
\documentclass{article}
%这里是导言区
\begin{document}
Hello, world!
\end{document}

\documentclass{article}

\documentclass{article} 中包含了一个控制序列(或称命令/标记)。

所谓控制序列,是以反斜杠\开头,以第一个空格或非字母 的字符结束的一串文字,他们并不被输出,但是他们会影响输出文档的效果。

这里的控制序列是 documentclass,它后面紧跟着的 {article} 代表这个控制序列有一个必要的参数,该参数的值为 article。这个控制序列的作用,是调用名为 “article” 的文档类。

Read more »

JVM Common

Posted on 2014-11-05   |   In Java

#JVM Internals

###JVM specification and Implements

stack based VS register based

Java Code -> Byte Code

JAVA Stack, Heap, Method Area

thread related:

PC, JVM Stack, Native Method Stack

share:

Heap, Method Area

Read more »

Macdown

Posted on 2014-07-29   |   In Tools

Macdown

Mou icon

Overview

Mou, the missing Markdown editor for web developers.

Syntax

Strong and Emphasize

strong or strong ( Cmd + B )

emphasize or emphasize ( Cmd + I )

Sometimes I want a lot of text to be bold.
Like, seriously, a LOT of text

Blockquotes

Right angle brackets > are used for block quotes.

Links and Email

An email example@example.com link.

Simple inline link http://chenluois.com, another inline link Smaller, one more inline link with title Resize.

A reference style link. Input id, then anywhere in the doc, define the link with corresponding id:

Titles ( or called tool tips ) in the links are optional.

Read more »

Computer Network Learning Notes

Posted on 2014-07-26   |   In Network

1. 概述

  • 因特网的边缘部分和核心部分的作用,包含分组交换的概念。
  • 计算机网络的一些性能指标。
  • 计算机网络分层次的体系结构,包含协议和服务的概念。

1.2 因特网概述

1.2.1 网络的网络

网络由若干结点(node)和连接这些节点的链路(link)组成。

结点可以是计算机、集线器、交换机或路由器。

Read more »
123
xianzhez

xianzhez

25 posts
9 categories
14 tags
© 2017 xianzhez
Powered by Hexo
Theme - NexT.Muse