<commit_before>---
layout: post
title: 'Content Transitions In-Depth (part 2)'
date: 2014-12-05
permalink: /2014/12/content-transitions-in-depth-part2.html
---

This post will give an in-depth analysis of _content transitions_ and their role in the Activity Transitions API. This is the second of a series of posts I will be writing on the topic. Make sure you have read [part 1][part1] before you start reading this post!

* **Part 1:** [Getting Started with Activity & Fragment Transitions][part1]
* **Part 2:** {% comment %}[{% endcomment %}
              Content Transitions In-Depth (_coming soon!_)
              {% comment %}][part2]{% endcomment %}
* **Part 3:** {% comment %}[{% endcomment %}
              Shared Element Transitions In-Depth (_coming soon!_)
              {% comment %}][part3]{% endcomment %}
* **Part 4:** Examples (_coming soon!_)

While these posts will focus mainly on Activity transitions, note that most of the information presented will also apply to Fragment transitions as well, with only some minor differences. I'll do my best to point out these differences as they are encountered in the posts!

Let's start by defining the term and illustrating a real-world example.

### What are Content Transitions?
<commit_msg>updated parts<commit_after>---
layout: post
title: 'Content Transitions In-Depth (part 2)'
date: 2014-12-05
permalink: /2014/12/content-transitions-in-depth-part2.html
---

This post will give an in-depth analysis of _content transitions_ and their role in the Activity Transitions API. This is the second of a series of posts I will be writing on the topic. Make sure you have read [part 1][part1] before you start reading this post!

* **Part 1:** [Getting Started with Activity & Fragment Transitions][part1]
* **Part 2:** [Content Transitions In-Depth][part2]
* **Part 3:** {% comment %}[{% endcomment %}
              Shared Element Transitions In-Depth (_coming soon!_)
              {% comment %}][part3]{% endcomment %}
* **Part 4:** Examples (_coming soon!_)

While these posts will focus mainly on Activity transitions, note that most of the information presented will also apply to Fragment transitions as well, with only some minor differences. I'll do my best to point out these differences as they are encountered in the posts!

Let's start by defining the term and illustrating a real-world example.

### What are Content Transitions?

{'fraction_non_alphanumeric': 0.09854469854469855, 'fraction_numerical': 0.02079002079002079, 'mean_word_length': 3.9710743801652892, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '134162', 'n_tokens_mistral': 673, 'n_tokens_neox': 608, 'n_words': 310}