严富坤的知识库专栏 本次搜索耗时 0.403 秒,为您找到 46 个相关结果.
  • 接口隔离原则

    1488 2024-09-12 《设计模式》
    [TOC] Question 1: What is the Interface Segregation Principle (ISP) in software design? 问题 1:什么是软件设计中的接口隔离原则(ISP)? Answer: The Interface Segregation Principle (ISP) is one of ...
  • 开闭原则

    1479 2024-09-12 《设计模式》
    Question 1: What is the Open/Closed Principle (OCP) in software design? 问题 1:什么是软件设计中的开闭原则(OCP)? Answer: The Open/Closed Principle (OCP) is one of the SOLID principles in obje...
  • 管理应用拥有的状态

    1271 2024-04-13 《ArkUI开发教程》
    一、LocalStorage:页面级UI状态存储 二、AppStorage:应用全局的UI状态存储 三、PersistentStorage:持久化存储UI状态 四、Environment:设备环境查询 管理应用拥有的状态,就是页面级之间参数的传递,即:被@Entry修饰的页面之间的状态管理模式。 一、LocalStorage:页面级UI...
  • 如何高效学习?

    1215 2025-09-14 《每日一篇》
    范例一:挣扎与迷茫 (Struggle and Confusion) 范例二:反思与计划 (Reflection and Planning) 范例三:哲思与重构 (Philosophical Deconstruction) 范例四:生物学与系统论 (Biological & Systematic Approach) 今日主题: 如何高效学...
  • Claude Code保存会话上下文(英文)

    Save Conversation Context - Universal Prompt 📋 How to Use 🔖 Prompt (Copy & Use Directly) 📖 Prompt Explanation This Prompt Will Make Claude Automatically: Applicable Scenarios: ...
  • 解决ViewPager在wrap_content高度时失效的问题

    491 2025-11-17 《深入Android开发》
    import android . animation . ValueAnimator import android . content . Context import android . os . Parcel import android . os . Parcelable import android . util . At...