dependencies { compile 'com.github.bassaer:chatmessageview:1.2.2' }
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
COMPILER = g++ | |
CFLAGS = -g -MMD -MP -Wall -Wextra -Winit-self -Wno-missing-field-initializers | |
LDFLAGS = -lcppunit | |
LIBS = | |
INCLUDE = -I./include | |
TARGET = ./bin/$(shell basename `readlink -f .`) | |
TEST = ./bin/test | |
SRCDIR = ./src | |
TESTDIR = ./tests | |
ifeq "$(strip $(SRCDIR))" "" |
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
public class Message { | |
private String mTitle; | |
private String mContent; | |
private String mSender; | |
private String mAddress; | |
static class Builder { | |
private Message message; |
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
public class MainActivity extends Activity { | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
Bitmap icon1 = BitmapFactory.decodeResource(getResources(), jp.bassaer.chatmessageview.R.drawable.face_1); |
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
import UIKit | |
import CoreMotion | |
class ViewController: UIViewController { | |
@IBOutlet weak var xLabel: UILabel! | |
@IBOutlet weak var yLabel: UILabel! | |
@IBOutlet weak var zLabel: UILabel! | |
let cmManager = CMMotionManager() |
NewerOlder