function loadUserPage()
  if use_qq_avatar and qq then
    Glide.with(this).load("https://q1.qlogo.cn/g?b=qq&nk="..tostring(qq).."&s=640").into(avatar)
   else
    if not isBlank(avatar_url) then
      Glide.with(this).load(avatar_url).into(avatar)
    end
  end

  nickText.text=displayname
  uidText.text=username

  local function chipView(t,def)
    if def then
      textColor=primaryColor
     else
      textColor=secondaryColor
    end
    return inflate({
      Chip,
      text=t,
      alpha="0.6",
      elevation="0dp",
      chipStrokeWidth="0dp",
      textColor=textColor,
      chipCornerRadius="9dp",
      chipBackgroundColor=ColorStateList.valueOf(secondaryColor-0xF0000000)
    })
  end

  local function isWrappedWithPercent(str)
    if type(str) ~= "string" then
      return false
    end
    return string.match(str, "^%%.*%%$") ~= nil
  end

  --不公开特殊标签算法😋

  if #tags>0 then
    tagContainer.visibility=0
    for i=1,#tags do
      local content=tags[i]
      if isWrappedWithPercent(content) and content~="%%" then
        local removed=string.sub(content,2,-2)
        tagContainer.addView(chipView(removed,true))
       else
        tagContainer.addView(chipView(content))
      end
    end
  end

  if isBlank(bio) then
    bioText.text="未设置签名"
   else
    bioText.text=bio
  end

  local year1, month1, day1 = string.match(beijingTime(registration_date), "(%d+)-(%d+)-(%d+)")
  createdAtText.text=year1.."年"..month1.."月"..day1.."日"

  lastActiveText.text=getTimeAgo(beijingTime(last_active_date))

end
