Exemple #1
0
        void InitializeSmsObserver()
        {
            var             handler         = new Handler();
            SmsCursorParser smsCursorParser = InitializeSmsCursorParser();

            smsObserver = new SmsObserver(contentResolver, handler,
                                          smsCursorParser);
        }
Exemple #2
0
 public SmsObserver(ContentResolver contentResolver, Handler handler,
                    SmsCursorParser smsCursorParser) : base(handler)
 {
     this.contentResolver = contentResolver;
     this.smsCursorParser = smsCursorParser;
 }