测试MD

223 阅读1分钟

前言

Android工程师需要学习好多知识

1.Activity

2.Fragment

3.View

明天大雨,记得带雨衣

  如果你明天还来 如果你明天还来如果你明天还来如果你明天还来如果你明天还来如果你明天还来如果你明天还来如果你明天还来如果你明天还来如果你明天还来

public void function(int a,int b)

public Bitmap getBitmap(Context context) {
        Bitmap bitmap = null;
        ContentResolver contentResolver = context.getContentResolver();

        try {
            Uri uri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, contactId);
            InputStream input = ContactsContract.Contacts.openContactPhotoInputStream(contentResolver, uri);
            if(input != null) {
                bitmap = BitmapFactory.decodeStream(input);
            }
        } catch(Exception e) {
            e.printStackTrace();
        }

        return bitmap;
    }

大装 大装 大装


哈哈哈

Ok I see


吃了吗?


不吃了


哈哈哈


再见

Activity

1.Activity的生命周期

2.Activity的激活

3.Activity的使用

ViewGroup#onMeasure

public void measure(int width,int height){
    int sugW = MeasureSpace.getSize();
    
}

百度

好朋友

apple