View OverflowTextView.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.actinarium.sample.overflow; | |
import android.content.Context; | |
import android.util.AttributeSet; | |
import android.widget.TextView; | |
/** | |
* <p></p> | |
* | |
* @author Paul Danyliuk |
View richtext.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "ranges", // Means it's a rich text object | |
"ranges": { | |
"text": "1 pinch sugar\n2 pounds salt \n3 oz flour", // Character data. See how it's just text with newlines, no formatting | |
"objects": [ // If the text contains any links (row references, URLs, images, pages etc), | |
// those will appear in the "objects" array | |
{ | |
"start": 28, // e.g. this one means there's a page link to a page "Uncheck" (/_suvou) | |
"end": 29, // inserted in place of characters 28-29 of the "text" above (where the space is) |
View Analytics.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.actinarium.materialcue.analytics; | |
import android.app.Application; | |
import android.support.annotation.NonNull; | |
import android.util.Log; | |
import com.actinarium.materialcue.dto.Overlay; | |
import com.actinarium.materialcue.iab.PremiumStatus; | |
import com.actinarium.materialcue.iab.PremiumStatusChangeListener; | |
import com.google.android.gms.analytics.HitBuilders; | |
import com.google.android.gms.analytics.Tracker; |