রচনা পরিধান

পরিধানযোগ্য নির্দিষ্ট ডিভাইস, আকার, আকার এবং নেভিগেশন অঙ্গভঙ্গি সমর্থন করার জন্য কার্যকারিতা প্রদান করে পরিধানযোগ্য ডিভাইসগুলির জন্য জেটপ্যাক রচনা অ্যাপ্লিকেশন লিখুন।
সর্বশেষ আপডেট স্থিতিশীল রিলিজ মুক্তির প্রার্থী বিটা রিলিজ আলফা রিলিজ
জুন 12, 2024 1.3.1 - 1.4.0-beta03 -

নির্ভরতা ঘোষণা করা

পরিধানের উপর নির্ভরতা যোগ করতে, আপনাকে অবশ্যই আপনার প্রকল্পে Google Maven সংগ্রহস্থল যোগ করতে হবে। আরও তথ্যের জন্য Google এর Maven সংগ্রহস্থল পড়ুন।

আপনার অ্যাপ বা মডিউলের জন্য build.gradle ফাইলে আপনার প্রয়োজনীয় আর্টিফ্যাক্টগুলির জন্য নির্ভরতা যোগ করুন:

গ্রোভি

dependencies {
    implementation "androidx.wear.compose:compose-foundation:1.3.1"

    // For Wear Material Design UX guidelines and specifications
    implementation "androidx.wear.compose:compose-material:1.3.1"

    // For integration between Wear Compose and Androidx Navigation libraries
    implementation "androidx.wear.compose:compose-navigation:1.3.1"

    // For Wear preview annotations
    implementation("androidx.wear.compose:compose-ui-tooling:1.3.1")
    
    // NOTE: DO NOT INCLUDE a dependency on androidx.compose.material:material.
    // androidx.wear.compose:compose-material is designed as a replacement
    // not an addition to androidx.compose.material:material.
    // If there are features from that you feel are missing from
    // androidx.wear.compose:compose-material please raise a bug to let us know.
}

কোটলিন

dependencies {
    implementation("androidx.wear.compose:compose-foundation:1.3.1")

    // For Wear Material Design UX guidelines and specifications
    implementation("androidx.wear.compose:compose-material:1.3.1")

    // For integration between Wear Compose and Androidx Navigation libraries
    implementation("androidx.wear.compose:compose-navigation:1.3.1")
    
    // For Wear preview annotations
    implementation("androidx.wear.compose:compose-ui-tooling:1.3.1")

    // NOTE: DO NOT INCLUDE a dependency on androidx.compose.material:material.
    // androidx.wear.compose:compose-material is designed as a replacement
    // not an addition to androidx.compose.material:material.
    // If there are features from that you feel are missing from
    // androidx.wear.compose:compose-material please raise a bug to let us know.
}

নির্ভরতা সম্পর্কে আরও তথ্যের জন্য, বিল্ড নির্ভরতা যুক্ত করুন দেখুন।

প্রতিক্রিয়া

আপনার প্রতিক্রিয়া জেটপ্যাককে আরও ভাল করতে সাহায্য করে। আপনি যদি নতুন সমস্যা আবিষ্কার করেন বা এই লাইব্রেরির উন্নতির জন্য ধারনা পান তাহলে আমাদের জানান। আপনি একটি নতুন তৈরি করার আগে অনুগ্রহ করে এই লাইব্রেরিতে বিদ্যমান সমস্যাগুলি দেখুন৷ আপনি তারকা বোতামে ক্লিক করে একটি বিদ্যমান সমস্যায় আপনার ভোট যোগ করতে পারেন।

একটি নতুন সমস্যা তৈরি করুন

আরও তথ্যের জন্য ইস্যু ট্র্যাকার ডকুমেন্টেশন দেখুন।

Wear Compose Material3 Version 1.0

সংস্করণ 1.0.0-alpha23

14 মে, 2024

androidx.wear.compose:compose-material3:1.0.0-alpha23 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha23-এ এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • আমরা ToggleButton এবং RadioButton API আপডেট করেছি যাতে নিষ্ক্রিয় রং কনফিগার করা যায়। ( if13a7 )
  • আমরা Material3 এর জন্য একটি নতুন CircularProgressIndicator যোগ করেছি। ( Ib3bd7 )

বাগ ফিক্স

  • আমরা একটি বাগ সংশোধন করেছি যেখানে নির্বাচনযোগ্য বোতামগুলি ইতিমধ্যে নির্বাচিত হয়ে গেলে টগল করতে ডবল ট্যাপ ঘোষণা করেছে। ( I7ed88 )

সংস্করণ 1.0.0-alpha22

1 মে, 2024

androidx.wear.compose:compose-material3:1.0.0-alpha22 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha22-এ এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • আমরা Material3 ColorScheme আপডেট করেছি। ( I7b2b8 )
  • আমরা Material3 স্যুইচ আপডেট করেছি - সেইসাথে কিছু রঙ পরিবর্তন, টিকটি এখন মেলে যা চেকবক্সের জন্য ব্যবহৃত হয়। ( ICac7b )

বাগ ফিক্স

  • নতুন rotaryScrollable মডিফায়ার ব্যবহার করতে সমস্ত ইন্টিগ্রেশন ডেমো আপডেট করুন৷ ( I25090 )

সংস্করণ 1.0.0-alpha21

এপ্রিল 17, 2024

androidx.wear.compose:compose-material3:1.0.0-alpha21 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha21-এ এই কমিট রয়েছে।

  • পূর্ববর্তী রিলিজে একটি প্রযুক্তিগত সমস্যার কারণে এই রিলিজটি ট্রিগার করা হয়েছিল যার ফলে উৎস জারগুলি অনুপস্থিত হয়েছিল। এই রিলিজে কোন নতুন প্রতিশ্রুতি নেই।

সংস্করণ 1.0.0-alpha20

3 এপ্রিল, 2024

androidx.wear.compose:compose-material3:1.0.0-alpha20 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha20 এই কমিট ধারণ করে।

বাগ ফিক্স

  • আমরা বৈসাদৃশ্যের জন্য Ripple চাপা এবং ফোকাসড স্টেট আলফা সমন্বয় করেছি। ( I59f0a )
  • টাইপোগ্রাফি শৈলী এবং লাইন উচ্চতায় সাম্প্রতিক পরিবর্তনগুলি অনুসরণ করে আমরা Button , ToggleButton এবং RadioButton প্রাথমিক এবং মাধ্যমিক লেবেলের মধ্যে ব্যবধান যুক্ত করেছি। ( I2c0ba )

সংস্করণ 1.0.0-alpha19

6 মার্চ, 2024

androidx.wear.compose:compose-material3:1.0.0-alpha19 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha19-এ এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • আমরা Wear Compose Material3 লাইব্রেরিতে TimeText যোগ করেছি। এই উপাদানটি স্ক্রিনের শীর্ষে বর্তমান সময় (এবং অতিরিক্ত স্থিতি) দেখায়। নতুন, সংক্ষিপ্ত Material3 API রৈখিক এবং বাঁকা বিষয়বস্তুর মধ্যে সদৃশতা এড়ায়। ( I4d7c3 )
  • আমরা RadioButton জন্য onSelected থেকে onSelect প্যারামিটারের নাম আপডেট করেছি। ( I1a971 )
  • RadioButton এবং SplitRadioButton কে টোকেনাইজ করুন এবং CompositionLocal লুকআপের পরিমাণ কমানোর জন্য বিদ্যমান পদ্ধতিগুলিকে রিফ্যাক্টর করুন যাতে ক্যাশে করা রঙের দৃষ্টান্ত যোগ করে এবং RadioButtonColors এবং SplitRadioButtonColors অভ্যন্তরীণ পদ্ধতি তৈরি করে। ( I02b33 )

সংস্করণ 1.0.0-alpha18

21 ফেব্রুয়ারি, 2024

androidx.wear.compose:compose-material3:1.0.0-alpha18 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha18-এ এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • আমরা CardColors , ToggleButtonColors এবং SplitToggleButtonColors এর জন্য অভ্যন্তরীণভাবে ক্যাশে করা উদাহরণ তৈরি করে এবং CompositionLocal এর ব্যবহার কমিয়ে ডিফল্ট প্যাটার্ন রিফ্যাক্টর করেছি। ( if3fec )

সংস্করণ 1.0.0-alpha17

7 ফেব্রুয়ারি, 2024

androidx.wear.compose:compose-material3:1.0.0-alpha17 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha17 এই কমিট ধারণ করে।

এপিআই পরিবর্তন

  • আমরা ডিফল্টরূপে buttonColors ব্যবহার করার জন্য Button API আপডেট করেছি এবং ডুপ্লিকেট filledButtonColors সরিয়ে দিয়েছি। ( I4fe3b )
  • আমরা ButtonColors , IconButtonColors এবং TextButtonColors এর জন্য অভ্যন্তরীণভাবে একটি ক্যাশড ইন্সট্যান্স তৈরি করে এবং CompositionLocal এর ব্যবহার কমিয়ে ডিফল্ট প্যাটার্ন রিফ্যাক্টর করেছি। ( I5f51c )
  • আমরা কম্পোনেন্ট নির্দিষ্ট রঙের ক্লাসে rememberUpdatedState এর ওভারহেড সরিয়ে দিয়েছি এবং কালার ক্লাসের অভ্যন্তরীণ হিসেবে অ্যাক্সেসর পদ্ধতি চিহ্নিত করেছি। ( if6571 )

বাগ ফিক্স

  • Modifier.node ব্যবহার করার জন্য আমরা Modifier.minimumInteractiveComponentSize আপডেট করেছি। ( Iba6b7 )

সংস্করণ 1.0.0-alpha16

24 জানুয়ারী, 2024

androidx.wear.compose:compose-material3:1.0.0-alpha16 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha16-এ এই কমিট রয়েছে।

নতুন বৈশিষ্ট

  • আমরা CompactButton যোগ করেছি, যা বোতাম হিসাবে একই ভরাট, ভরাট টোনাল এবং রূপরেখাযুক্ত রং ব্যবহার করতে পারে।( I05df0 )

এপিআই পরিবর্তন

  • আমরা RadioButton / SplitRadioButton নির্বাচন নিয়ন্ত্রণের জন্য কন্টেইনার হিসাবে যোগ করেছি, যেমন রেডিও নিয়ন্ত্রণ। এটি বিদ্যমান ToggleButton থেকে পৃথক যে RadioButton নির্বাচনযোগ্য (এবং একটি নির্বাচন গ্রুপের মধ্যে কাজ করে) যেখানে ToggleButton টগলযোগ্য (এবং স্বাধীন)। ( I61275 )
  • আমরা কম্পোজ Material3 লাইব্রেরির সাথে সামঞ্জস্যের জন্য Wear Compose Material3 লাইব্রেরি থেকে LocalContentAlpha সরিয়ে দিচ্ছি। ( I49a0a )
  • তাদের API-এ একটি MutableInteractionSource উন্মোচনকারী উপাদান এবং পরিধান উপাদান3 উপাদানগুলিকে এখন একটি বাতিলযোগ্য MutableInteractionSource প্রকাশ করার জন্য আপডেট করা হয়েছে যা ডিফল্ট null. এখানে কোন শব্দার্থিক পরিবর্তন নেই: নাল পাস করার অর্থ হল আপনি MutableInteractionSource উত্থাপন করতে চান না এবং প্রয়োজন হলে এটি উপাদানের ভিতরে তৈরি করা হবে। null এ পরিবর্তন করা কিছু উপাদানকে কখনোই একটি MutableInteractionSource বরাদ্দ করতে দেয় না, এবং অন্যান্য উপাদানগুলিকে শুধুমাত্র অলসভাবে একটি উদাহরণ তৈরি করার অনুমতি দেয় যখন তাদের প্রয়োজন হয়, যা এই উপাদানগুলির মধ্যে কর্মক্ষমতা উন্নত করে। আপনি যদি এই উপাদানগুলিতে পাস করা MutableInteractionSource ব্যবহার না করেন, তাহলে এর পরিবর্তে আপনি null পাস করার পরামর্শ দেওয়া হয়। এটিও সুপারিশ করা হয় যে আপনি আপনার নিজের উপাদানগুলিতে অনুরূপ পরিবর্তন করুন৷ ( Ib90fc , b/298048146 )
  • wear:compose-material এবং wear:compose-material3 লাইব্রেরিতে নতুন রিপল API যোগ করে যা অবচয়িত rememberRipple প্রতিস্থাপন করে। এছাড়াও একটি অস্থায়ী CompositionLocal , LocalUseFallbackRippleImplementation যোগ করে, যাতে অবহেলিত rememberRipple/RippleTheme এপিআই ব্যবহার করে উপাদান উপাদানগুলিকে প্রত্যাবর্তন করা যায়। এটি পরবর্তী স্থিতিশীল প্রকাশে মুছে ফেলা হবে, এবং আপনি একটি কাস্টম RippleTheme প্রদান করছেন এমন ক্ষেত্রে এটি শুধুমাত্র একটি অস্থায়ী মাইগ্রেশন সহায়তার উদ্দেশ্যে করা হয়েছে। এই পরিবর্তনের পিছনে মাইগ্রেশন তথ্য এবং আরও ব্যাকগ্রাউন্ড তথ্যের জন্য developer.android.com দেখুন। ( af92b21 )
  • আমরা HorizontalPageIndicator api এবং এর ডকুমেন্টেশনে সামান্য উন্নতি করেছি। ( I60efc )
  • আমরা অপরিবর্তনীয় হওয়ার জন্য ColorScheme আপডেট করেছি, স্বতন্ত্র রঙের আপডেটগুলিকে কম দক্ষ করে তোলে, কিন্তু রঙের আরও সাধারণ ব্যবহারকে আরও দক্ষ করে তোলে। এই পরিবর্তনের পিছনে যুক্তি হল যে বেশিরভাগ অ্যাপে একটি প্রধান ব্যবহারের ক্ষেত্রে পৃথক রং আপডেট করা হবে না। এটি এখনও সম্ভব কিন্তু এটি আগের থেকে আরও বেশি পুনর্গঠন করবে, ফলস্বরূপ আমরা সমস্ত উপাদান কোডের মাধ্যমে রাষ্ট্রীয় সাবস্ক্রিপশনের পরিমাণ উল্লেখযোগ্যভাবে হ্রাস করব এবং আরও মানক ব্যবহারের ক্ষেত্রে প্রাথমিককরণ এবং রানটাইম খরচকে প্রভাবিত করবে। ( Ibc2d6 )
  • অক্ষম রং কাস্টমাইজ করার অনুমতি দিতে ToggleButton এবং SplitToggleButton API আপডেট করা হয়েছে৷ উপরন্তু, উপাদান ডিজাইন টোকেন এখন রঙ এবং টাইপোগ্রাফি মান ব্যবহার করা হয়. ( if087c )
  • মেটেরিয়াল ডিজাইন টোকেন ব্যবহার করার জন্য আপডেট করা বোতাম ছবির পটভূমির রং। ( Iba215 )
  • আমরা ক্লিক হ্যান্ডলিং সরিয়ে Checkbox , Switch এবং RadioButton উপাদানগুলিকে শুধুমাত্র প্রদর্শনের জন্য পরিবর্তন করেছি। এই উপাদানগুলি (Split)ToggleButton এ ব্যবহার করা হবে বলে আশা করা হচ্ছে যা ক্লিকটি পরিচালনা করে, তাই উপাদানগুলিকে এখন কেবলমাত্র প্রদর্শন হিসাবে আরও স্পষ্টভাবে নির্দেশ করা হয়েছে (এবং Wear-এ স্বতন্ত্র ব্যবহারের জন্য নয়)৷ ( I2322e )

বাগ ফিক্স

  • আমরা Wear Compose Material 3-এ সময়কাল এবং সহজ করার গতির মানগুলির জন্য টোকেন যুক্ত করেছি। ( I437cd )
  • আমরা ToggleButton , SplitToggleButton , Checkbox , Switch এবং RadioButton এ একটি বাগ সংশোধন করেছি যাতে অ্যাক্সেসিবিলিটি ঘোষণার পুনরাবৃত্তি না হয় (আগে, শব্দার্থিক ভূমিকা সদৃশ ছিল)। ( Ica281 )
  • কর্মক্ষমতা উন্নত করতে আমরা CompactButton এর জন্য ম্যাটেরিয়ালকোর স্তরটি সরিয়ে দিয়েছি। ( 7902858 )

সংস্করণ 1.0.0-alpha15

15 নভেম্বর, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha15 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha15-এ এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • আমরা ফাউন্ডেশন স্তরের SwipeToDismissBox নাম পরিবর্তন করে BasicSwipeToDismissBox করেছি। এটি ফাউন্ডেশন স্তরের উপাদান এবং Material3 স্তরের SwipeToDismissBox এর মধ্যে পার্থক্যকে স্পষ্ট করে তোলে। পরেরটি স্ক্রিমগুলিতে ব্যবহার করার জন্য MaterialTheme থেকে রং টেনে নেয় এবং অবশিষ্ট বাস্তবায়নটি BasicSwipeToDismissBox এ অর্পণ করে। ( Ibecfc )

বাগ ফিক্স

  • কর্মক্ষমতা উন্নত করতে আমরা Material3 বোতামের জন্য উপাদান-কোর স্তরটি সরিয়ে দিয়েছি। ( I55555 )

সংস্করণ 1.0.0-alpha14

18 অক্টোবর, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha14 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha14 এই কমিট ধারণ করে।

এপিআই পরিবর্তন

  • আমরা Material3 HorizontalPageIndicator থেকে indicatorStyle প্যারামিটার সরিয়ে দিয়েছি - পরিবর্তে, এটি ডিভাইসের পর্দার আকৃতি (রৈখিক বা গোলাকার) অনুসরণ করবে। ( I83728 )
  • আমরা একটি নতুন SplitToggleButtonColors ক্লাস যোগ করে, ToggleButton এর রঙগুলি থেকে SplitToggleButton এর রঙগুলিকে আলাদা করেছি। ( I78bee )

সংস্করণ 1.0.0-alpha13

4 অক্টোবর, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha13 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha13-এ এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • আমরা TitleCard এ একটি ঐচ্ছিক সাবটাইটেল ক্ষেত্র যোগ করেছি। ( IFc45a )
  • আমরা TextButton এর জন্য মেটেরিয়াল ডিজাইন কালার টোকেন যোগ করেছি। ( I769dc )

সংস্করণ 1.0.0-আলফা12

20 সেপ্টেম্বর, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha12 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha12-এ এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • আমরা উপাদান ডিজাইন টোকেন ব্যবহার করার জন্য IconButton আপডেট করেছি। ( I3f137 )
  • আমরা উপাদান ডিজাইন টোকেন ব্যবহার করার জন্য IconToggleButton আপডেট করেছি। ( I7d263 )
  • আমরা CheckboxColors , RadioButtonColors , SwitchColors এর কনস্ট্রাক্টরগুলিকে সর্বজনীন করেছি৷ ( I82b73 )

সংস্করণ 1.0.0-alpha11

6 সেপ্টেম্বর, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha11 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha11-এ এই কমিট রয়েছে।

বাগ ফিক্স

  • আমরা Material3 কার্ডের টাইপোগ্রাফি আপডেট করেছি TitleMedium এ। ( I597bd )
  • আমরা আমাদের Material3 ListHeader এবং ListSubheader এর জন্য টাইপোগ্রাফি এবং প্রান্তিককরণ আপডেট করেছি। ( Ib5ceb )

সংস্করণ 1.0.0-আলফা10

23 আগস্ট, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha10 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha10 এই কমিট ধারণ করে।

নতুন বৈশিষ্ট

  • Wear Material3 লাইব্রেরিতে HorizontalPageIndicator যোগ করুন। ( Ifee99 )

এপিআই পরিবর্তন

  • Material3 ডিজাইন টোকেন ব্যবহার করতে বোতাম কোড আপডেট করুন। ( I92fe4 )
  • পরিধান উপাদান 3 স্টেপার এবং স্লাইডার API-কে পরীক্ষামূলক হিসাবে ঘোষণা করা হচ্ছে কারণ ব্যবহারকারী ইন্টারফেসের বিবরণ এখনও চূড়ান্ত করা হচ্ছে। ( I84d54 )
  • আমরা বৃত্তাকার TextButton এবং TextToggleButton থেকে ExtraSmall আকারগুলি সরিয়ে দিয়েছি কারণ সেই আকারটি শুধুমাত্র IconButton এ প্রযোজ্য। ( Ibc7d5 )

বাগ ফিক্স

  • LargeButtonSize ( Ib10fa ) এর জন্য LabelLarge ব্যবহার করার জন্য আমরা TextToggleButton-এর জন্য টাইপোগ্রাফির নির্দেশিকা আপডেট করেছি
  • LargeButtonSize ( I8f3a7 ) এর জন্য LabelLarge ব্যবহার করার জন্য আমরা TextButton-এর জন্য টাইপোগ্রাফির নির্দেশিকা আপডেট করেছি
  • অ্যাক্সেসযোগ্যতার জন্য আমরা কার্ডের ন্যূনতম টাচ টার্গেট 48dp সেট করেছি। ( Ieb9b1 )
  • ছবি ডেমো সহ AppCard যোগ করুন, পটভূমি ডেমো ( Id735f ) সহ AppCard সরানো হচ্ছে
  • বৃত্তাকার বোতামগুলিতে একটি বাগ ঠিক করুন যেখানে মডিফায়ারগুলি সঠিকভাবে চেইন করা হয়নি৷ ( I5e162 )

সংস্করণ 1.0.0-alpha09

9 আগস্ট, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha09 প্রকাশিত হয়েছে। 1.0.0-alpha09 সংস্করণে এই কমিট রয়েছে।

নতুন বৈশিষ্ট

  • আমরা material3 ( I6bed6 ) এর জন্য ToggleButton যোগ করেছি

এপিআই পরিবর্তন

  • আমরা API সীমাবদ্ধতা হিসাবে FloatRange টীকা চালু করেছি, যা পূর্বে মন্তব্যে বলা হয়েছিল। ( আইসিবি401 )
  • আমরা সর্বশেষ Material3 নির্দেশিকা মেনে চলার জন্য Wear Material3-এর টাইপোগ্রাফি আপডেট করেছি। ( I1bad6 )

বাগ ফিক্স

  • আমরা Material3 ডিজাইনের সাথে সামঞ্জস্য রেখে Button , IconButton এবং TextButton এর রঙ আপডেট করেছি। ( Ib2495 )
  • আমরা অক্ষম রাজ্যে চেকবক্স টিক দৃশ্যমানতা ঠিক করেছি। ( Ib25bf )

সংস্করণ 1.0.0-alpha08

জুলাই 26, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha08 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha08 এই কমিট ধারণ করে।

নতুন বৈশিষ্ট

  • আমরা Material3 - Switch , Checkbox , RadioButton -এর জন্য নিম্নলিখিত নির্বাচন নিয়ন্ত্রণগুলি যুক্ত করেছি। ( Ib918c )
  • আমরা Material3-তে IconToggleButton এবং TextToggleButton যোগ করেছি, যথাক্রমে আইকন এবং পাঠ্যের জন্য একটি একক স্লট সহ একটি বৃত্তাকার টগল বোতাম। ToggleButton এর বিভিন্ন মাপের জন্য, আমরা সংশ্লিষ্ট টগল বোতামে প্রদত্ত মাপের সঙ্গে Modifier.touchTargetAwareSize ব্যবহার করার পরামর্শ দিই। ( I9f015 )
  • আমরা আমাদের Material3 উপাদানগুলিতে ListHeader এবং ListSubheader যোগ করেছি। ( Ibaefe )
  • আমরা Material3 SwipeToDismissBox যোগ করেছি, যা নতুন ফাউন্ডেশনকে SwipeToDismissBox বলে এবং এর থিম থেকে ডিফল্ট রঙের মান সরবরাহ করে। ( I275fb )
  • Wear Compose করার জন্য আমরা Material3 InlineSlider যোগ করেছি। এটি ব্যবহারকারীদের বিভিন্ন মান থেকে একটি নির্বাচন করতে দেয়। নির্বাচনের পরিসরটি পরিসরের সর্বনিম্ন এবং সর্বোচ্চ মানগুলির মধ্যে একটি বার হিসাবে দেখানো হয়, যেখান থেকে ব্যবহারকারীরা একটি একক মান নির্বাচন করতে পারে। InlineSlider ভলিউম বা উজ্জ্বলতার মতো সেটিংস সামঞ্জস্য করার জন্য আদর্শ। ( I7085f )

এপিআই পরিবর্তন

  • আমরা আকৃতির পরিবর্তে RoundedCornerShape ভিত্তিক ব্যবহার করার জন্য Wear Material 3 থিমে শেপ আপডেট করেছি। ( আইডিবি১৩৩ )
  • আমরা বোতাম সর্বজনীনের জন্য উচ্চতা ধ্রুবক তৈরি করেছি ( Idbfde )
  • কম্প্যাটিবিলিটি সাপ্রেশন ( I8e87a , b/287516207 ) টীকা করতে API ফাইল আপডেট করা হয়েছে
  • পাবলিক কনস্ট্রাক্টর এবং পাবলিক প্রপার্টি থাকতে আমরা Wear Compose Material 3-এ InlineSliderColors আপডেট করেছি। ( I6b632 )
  • আমরা পাবলিক কনস্ট্রাক্টর এবং পাবলিক প্রপার্টি পেতে Wear Compose Material 3-এ সমস্ত রঙের ক্লাস আপডেট করেছি। ( I17702 )
  • আমরা বোতাম অনুভূমিক এবং উল্লম্ব প্যাডিং ধ্রুবককে সর্বজনীন করেছি। ( আইইইএএফ৭ )

বাগ ফিক্স

  • বোতামটি এখন তার উচ্চতা সামঞ্জস্য করে এমন বিষয়বস্তুকে সামঞ্জস্য করবে যা অ্যাক্সেসযোগ্যতার জন্য বড় ফন্টের কারণে বেড়েছে, যখন প্রয়োজন হবে ( Iaf302 )
  • অ্যাক্সেসিবিলিটি সমস্যা সমাধানের জন্য আমরা বেশ কিছু বোতাম ডেমো আপডেট করেছি। ( I61ce9 )
  • Stepper এবং InlineSlider এখন দীর্ঘ প্রেসে বারবার ক্লিক সমর্থন করে যাতে আপনি + বা - বোতাম ( I27359 ) ধরে রেখে দ্রুত Stepper এবং InlineSlider এর মান বাড়াতে/কমাতে পারেন।

সংস্করণ 1.0.0-alpha07

জুন 21, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha07 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha07 এই কমিট ধারণ করে।

নতুন বৈশিষ্ট

  • আমরা আমাদের কম্পোজ ফর Wear OS Material 3 লাইব্রেরিতে Stepper কম্পোনেন্ট যোগ করেছি। এটি পূর্ববর্তী উপাদান সংস্করণের মতোই, তবে বিকাশকারীর প্রতিক্রিয়া অনুসরণ করে ডিফল্টরূপে পরিসরের শব্দার্থবিদ্যা বাদ দেয়। আমরা Modifier.rangeSemantics প্রদান করি যে ক্ষেত্রে পরিসীমা শব্দার্থবিদ্যা প্রয়োজন। ( আইসি৩৯এফডি )
  • আমরা আমাদের কম্পোজ ফর Wear OS Material 3 লাইব্রেরিতে curvedText যোগ করেছি। ( IA8ae3 )

বাগ ফিক্স

  • wear.compose.material3 ( I72004 , b/285404743 ) এর API নির্ভরতা হতে wear.compose.foundation আপডেট করেছি

সংস্করণ 1.0.0-alpha06

7 জুন, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha06 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha06 এই কমিট ধারণ করে।

বাগ ফিক্স

  • সঠিক নিষ্ক্রিয় আলফা মানগুলির জন্য toDisabledColor এক্সটেনশন ফাংশন ব্যবহার করতে আমরা TextButton আপডেট করেছি। ( I814c8 )

সংস্করণ 1.0.0-alpha05

24 মে, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha05 প্রকাশিত হয়েছে। 1.0.0-alpha05 সংস্করণে এই কমিট রয়েছে।

নতুন বৈশিষ্ট

  • আমরা Material3-তে TextButton যোগ করেছি, পাঠ্যের জন্য একটি একক স্লট সহ একটি বৃত্তাকার বোতাম। TextButton এর বিভিন্ন মাপের জন্য, আমরা TextButtonDefaults এ দেওয়া Modifier.touchTargetAwareSize এবং ExtraSmallButtonSize , SmallButtonSize , DefaultButtonSize এবং LargeButtonSizeIcon ব্যবহার করার পরামর্শ দিই। ডিফল্ট TextButton কোনো সীমানা নেই এবং কম জোর দেওয়া কর্মের জন্য একটি স্বচ্ছ পটভূমি নেই। উচ্চ জোরের প্রয়োজন হয় এমন কর্মের জন্য, filledTextButtonColors ব্যবহার করুন; একটি মাঝারি জোরের জন্য, TextButton রূপরেখা, সীমানাটি ButtonDefaults.outlinedButtonBorder এ সেট করুন; আউটলাইন করা এবং ভরাটের মধ্যে মাঝামাঝি জায়গার জন্য, filledTonalTextButtonColors ব্যবহার করুন। ( I667e4 )
  • আমরা Wear Compose Material3 লাইব্রেরিতে Card , OutlinedCard , AppCard এবং TitleCard যোগ করেছি। AppCard এবং TitleCard এছাড়াও CardDefaults.outlinedCardColors এবং CardDefaults.outlinedCardBorder ( I80e72 ) ব্যবহার করে রূপরেখাযুক্ত চেহারা দেওয়া যেতে পারে

এপিআই পরিবর্তন

  • ট্রেলিং ল্যাম্বডা সিনট্যাক্স সমর্থন করার জন্য আমরা বোতাম লেবেল প্যারামিটারটিকে শেষ পর্যন্ত সরিয়ে দিয়েছি এবং ভূমিকা প্যারামিটারটি সরিয়ে দিয়েছি (যেহেতু এটি Modifier.semantics ব্যবহার করে ওভাররাইড করা যেতে পারে)। ButtonColors কনস্ট্রাক্টর এখন সর্বজনীন। ( Ie1b6d )

সংস্করণ 1.0.0-alpha04

10 মে, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha04 এই কমিট ধারণ করে।

নতুন বৈশিষ্ট

  • আমরা Material3-তে IconButton যোগ করেছি, আইকন/চিত্রের জন্য একটি একক স্লট সহ একটি বৃত্তাকার বোতাম। চারটি বৈচিত্র রয়েছে: IconButton , FilledIconButton , FilledTonalIconButton এবং OutlinedIconButtonIconButton এর বিভিন্ন আকারের জন্য, আমরা IconButtonDefaults এ দেওয়া Modifier.touchTargetAwareSize এবং ExtraSmallButtonSize , SmallButtonSize , DefaultButtonSize এবং LargeButtonSizeIcon ব্যবহার করার পরামর্শ দিই। প্রদত্ত বোতাম আকারের জন্য প্রস্তাবিত আইকন আকার নির্ধারণ করতে আমরা IconButtonDefaults.iconSizeFor প্রদান করি। ( I721d4 )

সংস্করণ 1.0.0-alpha03

এপ্রিল 19, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha03 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha03 এই কমিট ধারণ করে।

এপিআই পরিবর্তন

  • আমরা উপাদান 3 বোতাম উপাদান যুক্ত করেছি - এটি আমাদের স্টেডিয়াম-আকৃতির বোতাম এবং পূর্বে পরিধান রচনা উপাদান লাইব্রেরিতে চিপ নামে পরিচিত ছিল (কম্পোজ মেটেরিয়াল 3 লাইব্রেরির সাথে সামঞ্জস্যের জন্য এটিকে বোতামে নামকরণ করা হয়েছে)। ডিফল্ট বোতামে একটি ভরাট ব্যাকগ্রাউন্ড রয়েছে এবং FilledTonal (নিঃশব্দ ব্যাকগ্রাউন্ড), আউটলাইনড (একটি পাতলা সীমানা সহ স্বচ্ছ) এবং চাইল্ড (স্বচ্ছ ব্যাকগ্রাউন্ড এবং সীমানা নেই, সর্বনিম্ন প্রাধান্য সহ সম্পূরক ক্রিয়াকলাপের জন্য ব্যবহৃত) বোতামের বৈচিত্র রয়েছে। সাধারণ আইকন এবং পাঠ্য বিষয়বস্তুর জন্য রাউন্ড বোতামগুলি ভবিষ্যতের রিলিজে অনুসরণ করবে।( Ia6942 )

সংস্করণ 1.0.0-alpha02

5 এপ্রিল, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha02 এই কমিট ধারণ করে।

বাগ ফিক্স

  • আমরা Wear Compose Material 3-এ একটি DefaultTextStyle যোগ করেছি যা PlatformTextStyle.includeFontPadding কে সত্য (বর্তমান সেটিং) তে ডিফল্ট করে। এটি আমাদের ভবিষ্যতে কম্পোজ লাইব্রেরির সাথে ডিফল্টরূপে ফন্ট প্যাডিং বন্ধ করার সিঙ্ক্রোনাইজ করার অনুমতি দেবে ( ব্যাকগ্রাউন্ডের জন্য কম্পোজে ফন্ট প্যাডিং ফিক্স দেখুন)। ( I7e461 )

সংস্করণ 1.0.0-alpha01

22 মার্চ, 2023

androidx.wear.compose:compose-material3:1.0.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.0.0-alpha01-এ এই কমিট রয়েছে।

নতুন বৈশিষ্ট

  • মেটেরিয়াল 3 হল মেটেরিয়াল ডিজাইনের পরবর্তী বিবর্তন এবং এতে আপডেট করা থিমিং এবং পুনরায় ডিজাইন করা উপাদান অন্তর্ভুক্ত রয়েছে। Wear Compose-এ Material 3 Android-এ Material 3 Compose লাইব্রেরির সাথে একত্রিত হওয়ার জন্য ডিজাইন করা হয়েছে। এই প্রথম আলফা রিলিজে নিম্নলিখিতগুলির প্রাথমিক, কার্যকরী বাস্তবায়ন রয়েছে:

    • উপাদানের থিম - লাইব্রেরির উপাদানগুলির মধ্যে ধারাবাহিকভাবে রঙের স্কিম, টাইপোগ্রাফি এবং আকারগুলি কনফিগার করে৷ Material3 থিমে সংশোধিত রঙ রয়েছে যা অ্যাক্সেসযোগ্য বৈসাদৃশ্য সমর্থন করে। ( I84005 )
    • টেক্সট/আইকন - Wear Compose অ্যাপের জন্য ব্লক তৈরি করা ( I8e06a )
  • আমরা সমান্তরালভাবে Wear Material ( androidx.wear.compose:compose-material ) এবং Wear Material 3 ( androidx.wear.compose:compose-material3 ) বিকাশ করা চালিয়ে যাব। ভবিষ্যত material3 রিলিজ উইজেট সেটকে প্রসারিত করবে যাতে কম্পোজ ফর ওয়্যার OS থেকে বোতাম, পিকার এবং স্লাইডারের মতো অন্যান্য পরিচিত উপাদান অন্তর্ভুক্ত করা যায়।

  • Wear Material এবং Wear Material 3 লাইব্রেরিগুলি পারস্পরিকভাবে একচেটিয়া এবং একই অ্যাপে মিশ্রিত করা উচিত নয়, প্রাথমিকভাবে কারণ তারা বিভিন্ন থিমের উল্লেখ করে যা অপ্রত্যাশিত অসঙ্গতির দিকে নিয়ে যায়।

সংস্করণ 1.4

সংস্করণ 1.4.0-beta03

জুন 12, 2024

androidx.wear.compose:compose-*:1.4.0-beta03 প্রকাশিত হয়েছে। 1.4.0-beta03 সংস্করণে এই কমিটগুলি রয়েছে।

বাগ ফিক্স

  • আমরা 'focusable' এর ব্যবহারকে 'focusTarget' দিয়ে প্রতিস্থাপন করতে Modifier.rotaryScrollable আপডেট করেছি যা কর্মক্ষমতা উন্নত করে। ( Id294b )
  • আমরা একটি সমস্যা সমাধান করেছি যেখানে ProgressIndicator TalkBack অধীনে তার ঘোষণার পুনরাবৃত্তি করেছে। ( I94563 )
  • আমরা Wear Compose লাইব্রেরি বেসলাইন প্রোফাইল আপডেট করেছি। ( I3cbc3 )

সংস্করণ 1.4.0-beta02

29 মে, 2024

androidx.wear.compose:compose-*:1.4.0-beta02 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-beta02-এ এই কমিট রয়েছে।

বাগ ফিক্স

  • আমরা বাঁকা পাঠ্য থেকে স্ক্রীন রিডারদের কাছে সীমানা প্রস্থ বাড়িয়েছি যাতে ছেঁটে ফেলার সমস্যাগুলি সমাধান করা যায় ( Id865f )৷
  • আমরা HorizontalPageIndicator এর সীমানা সীমাবদ্ধ করেছি যা স্ক্রীন রিডারদের কাছে পাঠানো হয়েছিল - পূর্বে সূচকটি পূর্ণ স্ক্রীন ( Id8d7a ) দখল করেছিল।

সংস্করণ 1.4.0-beta01

14 মে, 2024

androidx.wear.compose:compose-*:1.4.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-beta01-এ এই কমিটগুলি রয়েছে৷

Wear OS-এর জন্য Compose-এর 1.4-beta01 রিলিজ ইঙ্গিত করে যে লাইব্রেরির এই রিলিজটি বৈশিষ্ট্য সম্পূর্ণ এবং API লক করা হয়েছে (যেখানে পরীক্ষামূলক হিসাবে চিহ্নিত করা ব্যতীত)। Wear Compose 1.4-এ নিম্নলিখিত নতুন কার্যকারিতা রয়েছে:

  • আমরা Modifier.rotaryScrollable যোগ করেছি, একটি নতুন সংশোধক যা স্ক্রোলযোগ্য কন্টেইনারগুলির সাথে ঘূর্ণমান ইভেন্টগুলিকে সংযুক্ত করে, ব্যবহারকারীদের তাদের Wear OS ডিভাইসে একটি মুকুট বা ঘূর্ণায়মান বেজেলের মাধ্যমে স্ক্রোল করতে দেয়৷ উপরন্তু, ScalingLazyColumn এবং Picker এখন ডিফল্টরূপে রোটারি ইনপুট সমর্থন করে। স্ক্রোল বা স্ন্যাপ আচরণ কনফিগার করতে rotaryScrollableBehavior প্যারামিটার ব্যবহার করুন। স্ন্যাপ আচরণের জন্য, flingBehavior প্যারামিটারের মাধ্যমে স্ন্যাপ প্রদান করার পাশাপাশি টাচ স্ক্রোলিং এর জন্য সুপারিশ করা হয়।
  • SwipeDismissableNavHost এখন অ্যাপ-মধ্যস্থ ট্রানজিশনের জন্য একটি এন্ট্রি অ্যানিমেশন প্রদান করে।
  • PositionIndicator এখন ডিফল্টরূপে প্রদর্শিত হয় যখন একটি স্ক্রীন প্রথম প্রদর্শিত হয়।
  • SelectableChip এবং SplitSelectableChip ToggleChip এ একটি ভিন্নতা হিসাবে যোগ করা হয়েছে - অ্যাক্সেসযোগ্যতার জন্য টগলযোগ্য শব্দার্থের পরিবর্তে নির্বাচনযোগ্য শব্দার্থ প্রদান করতে RadioButton সাথে এটি ব্যবহার করুন
  • ListHeader এখন উচ্চতা সামঞ্জস্য সমর্থন করে যখন বিষয়বস্তু বড় ফন্টের আকার মিটমাট করার জন্য অতিরিক্ত উচ্চতার প্রয়োজন হয়।

বাগ ফিক্স

  • আমরা একটি বাগ সংশোধন করেছি যেখানে নির্বাচনযোগ্য চিপগুলি ইতিমধ্যে নির্বাচিত হয়ে গেলে টগল করতে ডবল ট্যাপ ঘোষণা করেছে৷ ( I7ed88 )

সংস্করণ 1.4.0-alpha08

1 মে, 2024

androidx.wear.compose:compose-*:1.4.0-alpha08 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha08-এ এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • আমরা নতুন রোটারি API-তে নিম্নলিখিত পরিবর্তনগুলি করেছি: Modifier.rotary নাম পরিবর্তন করে Modifier.rotaryScrollable ; RotaryBehavior ইন্টারফেসের নাম পরিবর্তন করে RotaryScrollableBehavior করা হয়েছে এবং এর ফাংশন handleScrollEvent performScroll জন্য ; RotaryScrollableAdapter থেকে RotaryScrollableLayoutInfoProvider নামকরণ করা হয়েছে এবং scrollableState প্রপার্টি সরিয়ে দেওয়া হয়েছে। ( I0c8a6 )
  • আমরা রোটারি API-তে অতিরিক্ত পরিবর্তন করেছি: RotaryScrollableLayoutInfoProvider নাম পরিবর্তন করে RotarySnapLayoutInfoProvider রাখা হয়েছে (কারণ এই প্রদানকারীটি শুধুমাত্র স্ন্যাপ সহ রোটারির জন্য প্রয়োজন); RotaryScrollableDefaults.snapBehavior snapOffsetsnapOffset প্যারামিটারের ধরন Int থেকে Dp-এ পরিবর্তিত হয়েছে। ( ইদ্দেবে )
  • আমরা SplitSelectableChipclickInteractionSource প্যারামিটারের নাম পরিবর্তন করে containerInteractionSource করেছি। ( IA8f84 )
  • আমরা SplitSelectableChip এর জন্য ক্লিক কলব্যাক প্যারামিটারের নাম আপডেট করেছি - onClick থেকে onSelectionClick এবং onBodyClick থেকে onContainerClick । ( I32237 )

বাগ ফিক্স

  • PositionIndicator (স্ক্রোল বার) স্ক্রোলযোগ্য বিষয়বস্তুকে ওভারল্যাপ করে এমন একটি বাগ ঠিক করার জন্য আমরা PositionIndicator এর জন্য অনুভূমিক প্যাডিং 2dp (5dp ছিল) আপডেট করেছি। অনুগ্রহ করে মনে রাখবেন যে এই পরিবর্তনটি বিদ্যমান স্ক্রিনশটগুলিকে ভেঙে ফেলবে বলে আশা করা হচ্ছে যাতে প্যাডিং পরিবর্তনের কারণে PositionIndicator অন্তর্ভুক্ত রয়েছে৷ ( I57472 )
  • আমরা লো-রেজ এবং হাই-রেস রোটারি ডিভাইসের মধ্যে পার্থক্য বর্ণনা করে নতুন রোটারি API-এর জন্য ডকুমেন্টেশন উন্নত করেছি। ( I63abe )
  • আমরা SwipeDismissableNavHost এ একটি সীমার বাইরের ব্যতিক্রমের কথা বলেছি যা ইন্টারপোলেটেড আলফা মান শূন্যের কম হলে ট্রিগার হতে পারে। ( Ib75a1 , b/335782510 )

সংস্করণ 1.4.0-alpha07

এপ্রিল 17, 2024

androidx.wear.compose:compose-*:1.4.0-alpha07 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha07-এ এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • আমরা Modifier.rotary যোগ করেছি, একটি নতুন সংশোধক যা স্ক্রোলযোগ্য কন্টেইনারগুলির সাথে ঘূর্ণমান ইভেন্টগুলিকে সংযুক্ত করে, ব্যবহারকারীদের তাদের Wear OS ডিভাইসে একটি মুকুট বা ঘূর্ণায়মান বেজেলের মাধ্যমে স্ক্রোল করতে দেয়৷ উপরন্তু, ScalingLazyColumn এবং Picker এখন ডিফল্টরূপে রোটারি ইনপুট সমর্থন করে, নতুন ওভারলোড সহ যা স্ক্রোল বা স্ন্যাপ উভয়ের কনফিগারেশন নির্দিষ্ট করার জন্য rotaryBehavior প্যারামিটার অন্তর্ভুক্ত করে। যদি rotaryBehavior প্যারামিটারটি স্ন্যাপ করার জন্য সেট করা থাকে, তাহলে স্পর্শ স্ক্রোলিং এর জন্য flingBehavior প্যারামিটারের মাধ্যমেও স্ন্যাপ প্রদান করার পরামর্শ দেওয়া হয়। ( I2ef6f )
  • NestedScroll উত্সগুলির বর্ধিত সংজ্ঞা যা এখন অ্যানিমেশন (সাইড ইফেক্ট) এবং মাউস হুইল এবং কীবোর্ড (ইউজারইনপুট) অন্তর্ভুক্ত করার জন্য UserInput এবং SideEffect দ্বারা ড্র্যাগ এবং ফ্লিং প্রতিস্থাপন করা হচ্ছে। ( I40579 )
  • টগল নিয়ন্ত্রণ যেমন Switch/Checkbox এবং RadioButton মতো নির্বাচনযোগ্য নিয়ন্ত্রণের মধ্যে পার্থক্য পরিষ্কার করতে আমরা SelectableChip এবং SplitSelectableChip যোগ করেছি। এটি selectionControl পরামিতিগুলির সাথে ToggleChip/SplitToggleChip এর পূর্বে যোগ করা ওভারলোডগুলিকে প্রতিস্থাপন করে। ( IA0217 )
  • ProgressIndicatorDefaultsIndeterminateStrokeWidth এর দৃশ্যমানতা পরিবর্তনকারীকে সর্বজনীনের জন্য আপডেট করা হয়েছে। ( I5b5a4 )

সংস্করণ 1.4.0-alpha06

3 এপ্রিল, 2024

androidx.wear.compose:compose-*:1.4.0-alpha06 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha06-এ এই কমিট রয়েছে।

বাগ ফিক্স

  • Horologist থেকে AndroidX-এ রোটারি আচরণ স্থানান্তরিত করার বৃহত্তর প্রচেষ্টার অংশ হিসেবে আমরা ঘূর্ণমান সহায়তার একটি অভ্যন্তরীণ খসড়া যোগ করেছি। ( I617d1 )
  • Horologist থেকে AndroidX-এ রোটারি আচরণ স্থানান্তরিত করার বৃহত্তর প্রচেষ্টার অংশ হিসেবে আমরা হ্যাপটিক্স সমর্থনের একটি অভ্যন্তরীণ খসড়া যোগ করেছি। ( I5568a )

সংস্করণ 1.4.0-alpha05

20 মার্চ, 2024

androidx.wear.compose:compose-*:1.4.0-alpha05 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha05-এ এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • আমরা ScalingLazyListState এর initialCenterItemIndex এবং initialCenterItemScrollOffset বৈশিষ্ট্যগুলিকে সর্বজনীন করেছি। ( I0c616 )
  • আমরা ProgressIndicatorDefaults থেকে FullScreenStrokeWidth সর্বজনীন করেছি। ( Ibea23 )

বাগ ফিক্স

  • আমরা ScalingLazyColumn থেকে layoutInfo এ কলের সংখ্যা কমিয়ে PositionIndicator এর কর্মক্ষমতা উন্নত করেছি। ( আইডিসি৮৩ডি )

সংস্করণ 1.4.0-alpha04

6 মার্চ, 2024

androidx.wear.compose:compose-*:1.4.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha04-এ এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • আমরা ToggleChip এবং SplitToggleChip এর জন্য একটি নতুন ওভারলোড যোগ করেছি যা toggleControl প্যারামিটারের পরিবর্তে একটি selectionControl প্যারামিটার নেয়। অ্যাক্সেসযোগ্যতার জন্য টগলযোগ্য শব্দার্থবিদ্যার পরিবর্তে নির্বাচনযোগ্য শব্দার্থ প্রদান করার জন্য এটি RadioButton নিয়ন্ত্রণের সাথে ব্যবহার করা উচিত ( I1d6d9 )
  • ToggleChip এবং SplitToggleChip ( I1a971 ) এর জন্য onSelected থেকে onSelect নতুন selectionControl ওভারলোডের জন্য আমরা পরামিতি নাম আপডেট করেছি

সংস্করণ 1.4.0-alpha03

21 ফেব্রুয়ারি, 2024

androidx.wear.compose:compose-*:1.4.0-alpha03 প্রকাশিত হয়েছে। 1.4.0-alpha03 সংস্করণে এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • Modifier.inspectable র‍্যাপারটি বাতিল করা হয়েছে৷ এই API প্রয়োজনের তুলনায় আপনার সংশোধককে আরও বেশি অবৈধতা তৈরি করবে, তাই এটির ব্যবহার এখন নিরুৎসাহিত করা হচ্ছে। ডেভেলপারদেরকে ModifierNodeElementinspectableProperties() পদ্ধতি প্রয়োগ করতে উৎসাহিত করা হয় যদি তারা টুলিং-এ সংশোধক বৈশিষ্ট্যগুলি প্রকাশ করতে চায়। ( Ib3236 )

বাগ ফিক্স

  • আমরা WearPreview* টীকাগুলির জন্য একটি ডকুমেন্টেশন বাগ সংশোধন করেছি। ( Id526d )

সংস্করণ 1.4.0-alpha02

7 ফেব্রুয়ারি, 2024

androidx.wear.compose:compose-*:1.4.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.4.0-alpha02 এই কমিট ধারণ করে।

বাগ ফিক্স

  • আমরা সোয়াইপ-টু-রিভিলে একটি বাগ সংশোধন করেছি, যেখানে অন্য একটি আইটেম সোয়াইপ করা শুরু করে একটি আইটেমের সাথে একটি প্রতিশ্রুতিবদ্ধ কর্মের সাথে ইন্টারঅ্যাক্ট করা (এবং বাতিল) করা সম্ভব ছিল৷( Ide059 )
  • যখন বিষয়বস্তু বড় ফন্ট মাপ মিটমাট করার জন্য অতিরিক্ত উচ্চতা প্রয়োজন তখন উচ্চতা সমন্বয় সমর্থন করার জন্য আমরা ListHeader আপডেট করেছি। ( I7290c , b/251166127 )

সংস্করণ 1.4.0-alpha01

24 জানুয়ারী, 2024

androidx.wear.compose:compose-*:1.4.0-alpha01 প্রকাশিত হয়েছে। 1.4.0-alpha01 সংস্করণে এই কমিট রয়েছে।

নতুন বৈশিষ্ট

  • ইন-অ্যাপ ট্রানজিশনের জন্য আমরা SwipeDismissableNavHost এ এন্ট্রি অ্যানিমেশন যোগ করেছি।( cfeb79a )
  • PositionIndicator এখন ডিফল্টরূপে প্রদর্শিত হয় যখন একটি স্ক্রীন প্রথম প্রদর্শিত হয়। পরিধানের গুণমান সংক্রান্ত নির্দেশিকা পূরণ করতে সাহায্য করার জন্য এই পরিবর্তনটি চালু করা হয়েছে। দুর্ভাগ্যবশত, এর মানে হল যে PositionIndicator অন্তর্ভুক্ত স্ক্রীনগুলিতে স্ক্রিনশট পরীক্ষাগুলি আপডেট করতে হবে, কারণ PositionIndicator আগে প্রদর্শিত হত না। ( 419cef7 )

এপিআই পরিবর্তন

  • আমরা wear:compose-material এবং wear:compose-material3 লাইব্রেরিতে একটি নতুন রিপল API যোগ করেছি যা অবচয়িত rememberRipple প্রতিস্থাপন করে। এছাড়াও একটি অস্থায়ী CompositionLocal , LocalUseFallbackRippleImplementation যোগ করে, যাতে অবহেলিত rememberRipple/RippleTheme এপিআই ব্যবহার করে উপাদান উপাদানগুলিকে প্রত্যাবর্তন করা যায়। এটি পরবর্তী স্থিতিশীল প্রকাশে মুছে ফেলা হবে, এবং আপনি একটি কাস্টম RippleTheme প্রদান করছেন এমন ক্ষেত্রে এটি শুধুমাত্র একটি অস্থায়ী মাইগ্রেশন সহায়তার উদ্দেশ্যে করা হয়েছে। এই পরিবর্তনের পিছনে মাইগ্রেশন তথ্য এবং আরও ব্যাকগ্রাউন্ড তথ্যের জন্য developer.android.com দেখুন। ( af92b21 )
  • আমরা অপরিবর্তনীয় হওয়ার জন্য ColorScheme আপডেট করেছি, স্বতন্ত্র রঙের আপডেটগুলিকে কম দক্ষ করে তোলে, কিন্তু রঙের আরও সাধারণ ব্যবহারকে আরও দক্ষ করে তোলে। এই পরিবর্তনের পিছনে যুক্তি হল যে বেশিরভাগ অ্যাপে একটি প্রধান ব্যবহারের ক্ষেত্রে পৃথক রং আপডেট করা হবে না। এটি এখনও সম্ভব কিন্তু এটি আগের থেকে আরও বেশি পুনর্গঠন করবে, এর ফলে আমরা সমস্ত উপাদান কোডের মাধ্যমে রাষ্ট্রীয় সাবস্ক্রিপশনের পরিমাণ উল্লেখযোগ্যভাবে হ্রাস করব এবং আরও সাধারণ ব্যবহারের ক্ষেত্রে প্রারম্ভিকতা এবং রানটাইম খরচকে প্রভাবিত করবে। ( f5c48b7 )
  • Wear material এবং Wear material3 কম্পোনেন্ট যা তাদের API-এ একটি MutableInteractionSource প্রকাশ করে এখন একটি বাতিলযোগ্য MutableInteractionSource প্রকাশ করার জন্য আপডেট করা হয়েছে যা ডিফল্ট null হয়ে যায়। এখানে কোন শব্দার্থিক পরিবর্তন নেই: নাল পাস করার অর্থ হল আপনি MutableInteractionSource উত্থাপন করতে চান না এবং প্রয়োজন হলে এটি উপাদানের ভিতরে তৈরি করা হবে। null এ পরিবর্তন করা কিছু উপাদানকে কখনোই একটি MutableInteractionSource বরাদ্দ করতে দেয় না, এবং অন্যান্য উপাদানগুলিকে শুধুমাত্র অলসভাবে একটি উদাহরণ তৈরি করার অনুমতি দেয় যখন তাদের প্রয়োজন হয়, যা এই উপাদানগুলির মধ্যে কর্মক্ষমতা উন্নত করে। আপনি যদি এই উপাদানগুলিতে পাস করা MutableInteractionSource ব্যবহার না করেন, তাহলে এর পরিবর্তে আপনি null পাস করার পরামর্শ দেওয়া হয়। এটিও সুপারিশ করা হয় যে আপনি আপনার নিজের উপাদানগুলিতে অনুরূপ পরিবর্তন করুন৷ ( f8fa920 )
  • আমরা সম্প্রসারণযোগ্য অবস্থা সংরক্ষণ করার জন্য rememberExpandableState আপডেট করেছি। এটি নিশ্চিত করে যে অন্য স্ক্রিনে নেভিগেট করার সময় ডেটা সংরক্ষণ করা হয় এবং মূল স্ক্রিনে ফিরে আসার সময় পুনরুদ্ধার করা হয়। ( 5c80095 )

বাগ ফিক্স

  • জীবনচক্র সচেতন শ্রোতা ব্যবহার করার জন্য আমরা ReduceMotion সেটিংস আপডেট করেছি। ( 7c6b122 )
  • জীবনচক্র সম্পর্কে সচেতন হতে আমরা TouchExplorationStateProvider 's Listener আপডেট করেছি ( be28b01 )
  • কর্মক্ষমতা উন্নত করতে আমরা CompactButton এর জন্য ম্যাটেরিয়ালকোর লেয়ারটি সরিয়ে দিয়েছি ( 25db8e9 )
  • ব্যতিক্রম এড়াতে আমরা BasicSwipeToDismissBox NaN অফসেটগুলিতে আরও শক্তিশালী করেছি ( b983739 )
  • আলফা মানগুলি 0,1 সীমার মধ্যে রয়েছে তা নিশ্চিত করতে আমরা BasicSwipeToDismissBox আপডেট করেছি
  • আমরা ToggleButton , SplitToggleButton , Checkbox , Switch এবং RadioButton এ একটি বাগ সংশোধন করেছি যাতে অ্যাক্সেসিবিলিটি ঘোষণার পুনরাবৃত্তি না হয় (আগে, শব্দার্থিক ভূমিকা নকল করা হয়েছিল) ( d11eeb7 )

সংস্করণ 1.3

সংস্করণ 1.3.1

3 এপ্রিল, 2024

androidx.wear.compose:compose-*:1.3.1 প্রকাশিত হয়েছে। সংস্করণ 1.3.1- এ এই কমিটগুলি রয়েছে।

বাগ ফিক্স

  • আমরা সোয়াইপ-টু-রিভিল-এ একটি বাগ সংশোধন করেছি, যেখানে অন্য আইটেম সোয়াইপ করা শুরু করে একটি আইটেমে একটি প্রতিশ্রুতিবদ্ধ অ্যাকশনের সাথে ইন্টারঅ্যাক্ট করা (এবং বাতিল) করা সম্ভব ছিল। ( আইডি০৫৯ )

সংস্করণ 1.3.0

24 জানুয়ারী, 2024

androidx.wear.compose:compose-*:1.3.0 প্রকাশিত হয়েছে। সংস্করণ 1.3.0 এই কমিট ধারণ করে.

1.2.0 থেকে গুরুত্বপূর্ণ পরিবর্তন

  • SwipeToDismissBoxState ক্লাস, SwipeToDismissValue গণনা, এবং Modifier.edgeSwipeToDismiss এক্সটেনশন ফাংশন এখন androidx.wear.compose.foundation প্যাকেজের পরিবর্তে androidx.wear.compose.material প্যাকেজের প্রতিটি অংশ। এই আপডেট করা আর্কিটেকচার আপনাকে অন্যান্য ডিজাইন বিবেচনা থেকে স্বাধীনভাবে অঙ্গভঙ্গি হ্যান্ডলিং বাস্তবায়ন করতে দেয়। কনফিগার করা থিম থেকে রং প্রয়োগ করার মতো মেটেরিয়াল ডিজাইন ওয়ার্কফ্লো আলাদাভাবে পরিচালনা করা হয়।
  • SwipeToRevealCard এবং SwipeToRevealChip ক্লাস আপনাকে recommended swipe-to-reveal guidance বাস্তবায়ন করতে সাহায্য করে। SwipeToRevealSample ক্লাস দেখায় কিভাবে এই উপাদানগুলি ব্যবহার করতে হয়।
  • আমাদের 1.3.0-alpha02 রিলিজ একটি পরিবর্তন প্রবর্তন করেছে যা ব্যবহারকারী-নির্বাচিত ফন্ট স্কেলিংকে আরও ভালভাবে সমর্থন করার জন্য Chip এবং ToggleChip অবজেক্টের উচ্চতা বৃদ্ধি করে। এটি কিছু ক্লিপিং ঘটতে পারে। এই সমস্যাটি সমাধান করতে, MaterialTheme এর জন্য large আকারটি এখন একটি বড় কোণার ব্যাসার্ধ ব্যবহার করে (24 dp-এর পরিবর্তে 26 dp)। Chip এবং ToggleChip অবজেক্টগুলি চিপ এবং ToggleChip কোণায় ক্লিপিং বিষয়বস্তু এড়াতে এই নতুন কোণার ব্যাসার্ধ ব্যবহার করে।

    • বেশিরভাগ Chips এবং ToggleChips অপরিবর্তিত থাকে, তাদের ডিফল্ট 52 ডিপি উচ্চতা দেওয়া হয়। যাইহোক, Chip এবং ToggleChip অবজেক্ট যেগুলিতে প্রাইমারি বা সেকেন্ডারি লেবেল টেক্সটের একাধিক লাইন রয়েছে, বা যার জন্য উচ্চতা ওভাররাইড করা হয়েছে, স্ক্রিনশট পরীক্ষাগুলি ভেঙে যেতে পারে।

অতিরিক্ত পরিবর্তন

সংস্করণ 1.3.0-এ প্রবর্তিত পরিবর্তনগুলির আরও সম্পূর্ণ সেটের জন্য, beta01 রিলিজ নোটগুলি দেখুন।

বাস্তবায়নের জন্য সুপারিশ

  • যদি আপনার অ্যাপ ব্যবহারকারীদের স্ক্রিনের বিষয়বস্তু, যেমন একটি মানচিত্র-ভিত্তিক অ্যাপে প্যান করার অনুমতি দেয়, তাহলে SwipeDismissableNavHost কম্পোজেবল-এ userSwipeEnabled কে false সেট করে সোয়াইপ হ্যান্ডলিং বন্ধ করুন এবং একটি বোতাম অন্তর্ভুক্ত করুন যা ব্যবহারকারীদের আগের স্ক্রিনে যেতে দেয়।
  • একটি স্ক্রোলিং তালিকার মধ্যে ফেড-ইন এবং অবস্থান-পরিবর্তন অ্যানিমেশনের সময় অবস্থান নির্দেশকের জন্য অ্যানিমেশনগুলি বন্ধ করতে, একটি SnapSpec অবজেক্ট ব্যবহার করুন।
  • প্লেব্যাকের জন্য সামগ্রী লোড করার জন্য একটি মিডিয়া অ্যাপের জন্য অপেক্ষা করার সময়, একটি ফাঁকা Placeholder কম্পোজযোগ্য দেখান৷
  • চাহিদা অনুযায়ী প্রসারণযোগ্য আইটেমগুলির একটি সংগ্রহ তৈরি করতে, পরীক্ষামূলক ExpandableStateMapping ক্লাস ব্যবহার করার কথা বিবেচনা করুন।

সংস্করণ 1.3.0-rc01

জানুয়ারী 10, 2024

androidx.wear.compose:compose-*:1.3.0-rc01 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-rc01-এ এই কমিট রয়েছে।

বাগ ফিক্স

  • আমরা একটি 26dp গোলাকার কোণার ব্যাসার্ধ ব্যবহার করতে MaterialTheme বড় আকার আপডেট করেছি এবং এটি এখন চিপ এবং ToggleChip দ্বারা ব্যবহার করা হবে। উচ্চতা সামঞ্জস্য সমর্থন করার জন্য এই পরিবর্তনের প্রয়োজন হয় যখন বিষয়বস্তুর বড় ফন্টের আকারগুলিকে মিটমাট করার জন্য অতিরিক্ত উচ্চতার প্রয়োজন হয়—অন্যথায়, বিদ্যমান স্টেডিয়াম আকৃতি কিছু পাঠ্য বিষয়বস্তু ক্লিপ করে।

    কোণে টেক্সট ক্লিপ করা হয়েছে
    চিত্র 1 : পাঠ্য কোণে ক্লিপ করা হয়েছে।
    টেক্সট ক্লিপ করা হয়নি
    চিত্র 2 : টেক্সট ক্লিপ করা হয়নি।

    এই পরিবর্তনের ফলে স্ক্রিনশট পরীক্ষায় বিঘ্ন ঘটতে পারে। ( I2e6ae )

সংস্করণ 1.3.0-beta02

13 ডিসেম্বর, 2023

androidx.wear.compose:compose-*:1.3.0-beta02 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-beta02-এ এই কমিট রয়েছে।

বাগ ফিক্স

  • আমরা BasicSwipeToDismissBox এ উদ্দিষ্ট সোয়াইপ মোশন পুনরুদ্ধার করেছি। এটি পূর্ববর্তী রিলিজে পরিবর্তিত হয়েছিল, যেমন আঙুলটি স্ক্রিনটি স্পর্শ করার সময় পরিবর্তনের স্লাইড অংশটি ঘটেছিল। ( আইডি 8 ই 76 )

সংস্করণ 1.3.0-beta01

15 নভেম্বর, 2023

androidx.wear.compose:compose-*:1.3.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-beta01-এ এই কমিট রয়েছে।

ওয়েয়ার ওএসের জন্য রচনাটির 1.3-BETA01 রিলিজ ইঙ্গিত দেয় যে লাইব্রেরির এই প্রকাশটি বৈশিষ্ট্য সম্পূর্ণ এবং এপিআই লক করা হয়েছে (যেখানে পরীক্ষামূলক হিসাবে চিহ্নিত চিহ্নিত) ব্যতীত)। কমপোজ পরিধান করুন 1.3 নিম্নলিখিত নতুন কার্যকারিতা অন্তর্ভুক্ত:

  • SwipeToDismissBoxState , SwipeToDismissValue এবং Modifier.edgeSwipeToDismiss androidx.wear.compose.foundation অন্তর্নিহিত সোয়াইপ-টু-ডিসমিসিস বাস্তবায়নের পাশাপাশি androidx.wear.compose.material থেকে অ্যান্ড্রয়েডএক্স.ওয়েয়ার ডটকমপোস.মেটরিয়াল থেকে স্থানান্তরিত করা হয়েছে BasicSwipeToDismissBox এটি সোয়াইপ-টু-ডিসিসিসের জন্য অঙ্গভঙ্গি হ্যান্ডলিংয়ের মাধ্যমে উপাদান নকশার জন্য স্বাধীনভাবে ব্যবহার করার অনুমতি দেয়, উদাহরণস্বরূপ androidx.wear.compose.navigationSwipeDismissableNavHost থেকে। androidx.wear.compose.material থেকে SwipeToDismissBox এখনও উপাদান ডিজাইনের সাথে ব্যবহার করার পরামর্শ দেওয়া হয়, কারণ এটি MaterialTheme থেকে রঙগুলি টানায়, তারপরে বাকী বাস্তবায়নকে BasicSwipeToDismissBox অর্পণ করে।
  • SwipeDismissableNavHost এখন একটি নতুন userSwipeEnabled প্যারামিটার সমর্থন করে যাতে সোয়াইপ হ্যান্ডলিংটি স্ক্রিনগুলির জন্য বন্ধ করা যায় যেখানে এটির প্রয়োজন হয় না।
  • BasicSwipeToDismissBox HierarchicalFocusCoordinator ব্যবহার করে ফোকাস হ্যান্ডলিংয়ের উন্নতি করেছে।
  • SwipeToReveal কাছে এমন উপাদানগুলিতে নতুন SwipeToRevealCard এবং SwipeToRevealChip কম্পোজেবল রয়েছে যা Card এবং Chip জন্য প্রস্তাবিত ইউএক্স গাইডেন্স অনুসরণ করে। এটি গৌণ ক্রিয়াটির জন্যও পূর্বাবস্থায় সমর্থন রয়েছে।
  • DefaultTextStyle এখন অ্যান্ড্রয়েড প্ল্যাটফর্ম জুড়ে সামঞ্জস্যপূর্ণ হওয়ার জন্য ফন্ট প্যাডিং বন্ধ করে দেয়।
  • Chip এবং ToggleChip এখন অ্যাক্সেসযোগ্যতার জন্য বড় ফন্টের কারণে বেড়ে ওঠা সামগ্রীগুলিকে সামঞ্জস্য করার জন্য তাদের উচ্চতা সামঞ্জস্য করুন
  • PositionIndicator এখন ফেড-ইন, ফেড-আউট এবং অবস্থান-পরিবর্তন অ্যানিমেশনগুলির জন্য স্বতন্ত্র অ্যানিমেশন স্পেস রয়েছে। পারফরম্যান্সের কারণে, আমরা সুপারিশ করি যে স্ক্রোলযোগ্য তালিকাগুলির সাথে ব্যবহার করার সময় ফেড-ইন এবং অবস্থান-পরিবর্তন বন্ধ করা হয়।
  • ExpandableStateMapping যখন চাহিদা অনুসারে তৈরি করা প্রয়োজন এবং @Composable স্কোপের সাথে অগত্যা নয়, তখন ExpandableStates উত্পন্ন করার জন্য একটি নতুন উপায় সরবরাহ করে।
  • Placeholder এখন সামগ্রীটি প্রস্তুত অবস্থায় না থাকলে পুনরায় সেট করার অনুমতি দেয়। এছাড়াও, হ্রাস গতির সেটিংটি এখন ঝলমলে প্রভাব এবং Placeholder উপর মোছার গতিতে প্রযোজ্য।

জ্ঞাত সমস্যা

  • যখন কোনও স্ক্রিন প্রথম প্রদর্শিত হয় তখন PositionIndicator প্রাথমিকভাবে প্রদর্শিত হয় না। আমরা প্রথম দিকে 1.4 আলফায় পরিবর্তন আনার ইচ্ছা করি যাতে এটি প্রাথমিকভাবে প্রদর্শিত হয় তবে কোনও অ্যানিমেশন ছাড়াই।

এপিআই পরিবর্তন

  • আমরা BasicSwipeToDismissBox উইপটোডিসবক্সবক্সে ফাউন্ডেশন স্তরের SwipeToDismissBox নামকরণ করেছি। এটি ফাউন্ডেশন স্তরের উপাদান এবং উপাদান স্তরের SwipeToDismissBox মধ্যে পার্থক্যকে আরও পরিষ্কার করে তোলে। দ্বিতীয়টি স্ক্রিমগুলিতে ব্যবহার করার জন্য MaterialTheme থেকে রঙগুলি টানায় এবং BasicSwipeToDismissBox অবশিষ্ট বাস্তবায়নকে অর্পণ করে। ( আইবিইসিএফসি )
  • আমরা পরীক্ষামূলক হিসাবে rememberExpandableStateMapping হিসাবে চিহ্নিত করেছি এবং expandableItem কার্যকারিতা উন্নত করেছি। ( I5f6bc )
  • আমরা SwipeToReveal কার্ড এবং চিপ এপিআইগুলিতে SwipeToRevealAction ক্লাসটি SwipeToRevealPrimaryAction , SwipeToRevealSecondaryAction এবং SwipeToRevealUndoAction কমপোজেবলগুলি ব্যবহার করে একটি স্লট-ভিত্তিক এপিআইয়ের সাথে প্রতিস্থাপন করেছি। নতুন এপিআই কীভাবে ব্যবহার করবেন সে সম্পর্কে উদাহরণগুলির জন্য দয়া করে নমুনা কোডটি দেখুন। ( Ia8943 )
  • আমরা PositionIndicator অ্যানিমেশন পতাকাগুলি AnimationSpec প্যারামিটারগুলির সাথে প্রতিস্থাপন করেছি। AnimationSpec হিসাবে snap পাস করে পৃথক অ্যানিমেশনগুলি অক্ষম করা যায়। ( I6c523 )

বাগ ফিক্স

  • আকার সীমিত হলে আমরা সীমিত বাঁকানো পাঠ্য দ্বারা ট্রিগার করা একটি বাগ ঠিক করেছি ( i50efe )
  • আমরা curvedComposable ( i970eb ) সম্পর্কিত একটি সম্ভাব্য ন্যান ক্র্যাশকে সম্বোধন করেছি
  • আমরা অবস্থান পরিবর্তন হাইলাইট অ্যানিমেশনটি অপসারণকে PositionIndicator সরিয়ে ফেলেছি। ( আইবি 424 )
  • আমরা এর কার্যকারিতা উন্নত করতে উপাদান চিপের জন্য উপাদান-কোর স্তরটি সরিয়ে ফেলেছি। ( If2dcb )

সংস্করণ 1.3.0-আলফা 08

18 অক্টোবর, 2023

androidx.wear.compose:compose-*:1.3.0-alpha08 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-ALPHA08 এ এই কমিটগুলি রয়েছে।

এপিআই পরিবর্তন

  • আমরা বিভিন্ন অ্যানিমেশনগুলি নিয়ন্ত্রণ করতে PositionIndicator ওভারলোডগুলিতে পৃথক পতাকা যুক্ত করেছি: showFadeInAnimation , showFadeOutAnimation এবং showPositionAnimation । পূর্ববর্তী এপিআইকে অবমূল্যায়ন করা হয়েছে এবং নতুনটিকে কল করা হয়েছে। পারফরম্যান্সের কারণে এবং ইউএক্স ধারাবাহিকতার জন্য, যখন PositionIndicator স্ক্রোলযোগ্য তালিকার সাথে ব্যবহৃত হয়, আমরা showFadeInAnimation এবং showPositionAnimation পতাকাগুলি স্যুইচ করার পরামর্শ দিই। যদি PositionIndicator স্ট্যান্ডেলোন সূচক হিসাবে ব্যবহৃত হয়, উদাহরণস্বরূপ ভলিউম পরিবর্তনের জন্য, তবে আমরা সমস্ত 3 অ্যানিমেশন চালু করার পরামর্শ দিই। ( I44294 )
  • আমরা সোয়াইপ-টু-ডিসিসেস কার্যকারিতা পরিধান করার পরে wear.compose.foundation সোয়াইপ-টু-ডিসিসেস কার্যকারিতা স্থানান্তরিত করার পরে আমরা SwipeToDismissBoxState , SwipeToDismissValue এবং edgeSwipeToDismiss অবমূল্যায়ন করেছি। দয়া করে wear.compose.foundation সমতুল্য সঙ্গে প্রতিস্থাপন করুন। ( Iee8c9 )

বাগ ফিক্স

  • আমরা পোশাক কমপোজ ফাউন্ডেশন, উপাদান এবং নেভিগেশন লাইব্রেরির জন্য বেসলাইন প্রোফাইলগুলি আপডেট করেছি। ( আইডিবি 060 )
  • আমরা পূর্ববর্তী সিএল -তে প্রবর্তিত PositionIndicator জন্য একটি আচরণগত পরিবর্তন ফিরিয়ে দিয়েছি, যেমন কোনও স্ক্রিন প্রাথমিকভাবে প্রদর্শিত হওয়ার সময় PositionIndicator অ্যানিমেটেড হয়েছিল। আমরা শুরুর দিকে 1.4 আলফায় অনুরূপ পরিবর্তন আনার ইচ্ছা করি, যাতে PositionIndicator প্রাথমিকভাবে প্রদর্শিত হয় তবে কোনও অ্যানিমেশন ছাড়াই। ( I41843 )
  • আমরা PositionIndicator কিছু পারফরম্যান্স ইস্যুগুলিকে সম্বোধন করেছি। ( আই 1 সি 654 , বি/302399827 )
  • আমরা উত্পন্ন রাষ্ট্রের চেয়ে State<Boolean> এর উপর নির্ভর করতে টাচ এক্সপ্লোরেশন স্টেট প্রোভাইডার ডিফল্ট বাস্তবায়নের পারফরম্যান্সকে অনুকূলিত করেছি। ( আইইইসি 4 ডি )
  • আমরা অ্যান্ড্রয়েড 13 এবং উচ্চতর জন্য systemGestureExclusion আয়তক্ষেত্রগুলি সেট করেছি। ( আইবি 1 এফ 4 বি )

সংস্করণ 1.3.0-alpha07

4 অক্টোবর, 2023

androidx.wear.compose:compose-*:1.3.0-alpha07 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha07 এই কমিট ধারণ করে।

এপিআই পরিবর্তন

  • আমরা বিভিন্ন অ্যানিমেশনগুলি নিয়ন্ত্রণ করতে PositionIndicator পৃথক পতাকা যুক্ত করেছি: showFadeInAnimation , showFadeOutAnimation এবং showPositionAnimation । পূর্ববর্তী এপিআইকে অবমূল্যায়ন করা হয়েছে এবং নতুনটিকে কল করা হয়েছে। পারফরম্যান্সের কারণে এবং ইউএক্স ধারাবাহিকতার জন্য, যখন PositionIndicator স্ক্রোলযোগ্য তালিকার সাথে ব্যবহৃত হয়, আমরা showFadeInAnimation এবং showPositionAnimation পতাকাগুলি স্যুইচ করার পরামর্শ দিই। যদি PositionIndicator স্ট্যান্ডেলোন সূচক হিসাবে ব্যবহৃত হয়, উদাহরণস্বরূপ ভলিউম পরিবর্তনের জন্য, তবে আমরা সমস্ত 3 অ্যানিমেশন চালু করার পরামর্শ দিই। ( আইএ 2 ডি 63 )

বাগ ফিক্স

  • আমরা প্রাথমিক ক্রিয়া পাঠ্যে একটি বিবর্ণ অ্যানিমেশন যুক্ত করে এবং গৌণ ক্রিয়াটি ম্লান করে/সম্পূর্ণ সোয়াইপ সম্প্রসারণে আইকন স্কেল পরিবর্তন করে গতি প্রকাশের জন্য সোয়াইপের উন্নতি করেছি। ( আইবি 7223 )
  • এটি সুপারিশ করা হয় যে ক্রিয়াগুলি প্রকাশের জন্য সোয়াইপটি অ্যাক্সেসযোগ্য করা হয়েছে এবং আমরা নমুনাগুলি প্রকাশের জন্য আমাদের সোয়াইপে কাস্টম অ্যাক্সেসযোগ্যতার ক্রিয়া যুক্ত করেছি। ( I42224 )
  • প্রাথমিক যুক্তি কোনও পুনঃনির্মাণকে ট্রিগার না করে তা নিশ্চিত করার জন্য আমরা SwipeToDismissBox কার্যকারিতা উন্নত করেছি। SwipeToDismissBox এখন পুরো পর্দার আকার হিসাবে আঁকা। ( Ie0aa2 )
  • PositionIndicator ভুলভাবে অদৃশ্য হয়ে গেলে আমরা একটি বাগ ঠিক করেছি। ( I2091a )
  • পুনরুদ্ধারগুলি অনুকূল করে PositionIndicator উন্নত পারফরম্যান্স। অ্যানিমেশনগুলি নিয়ন্ত্রণের জন্য নতুন পতাকা ( fadeIn , fadeOut এবং positionChange ) পরবর্তীকালে যুক্ত করা হয়েছে (এপিআই পরিবর্তনগুলি দেখুন) ( আইএফএসি 7 ডি )
  • আমরা PositionIndicator জন্য মাইক্রোব্যাঞ্চমার্ক পরীক্ষা যুক্ত করেছি ( আইডিএফ 875 )

সংস্করণ 1.3.0-alpha06

20 সেপ্টেম্বর, 2023

androidx.wear.compose:compose-*:1.3.0-alpha06 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha06 এই কমিট ধারণ করে।

বাগ ফিক্স

  • আমরা SwipeToReveal সাথে Modifier.edgeSwipeToDismiss জন্য সমর্থন যুক্ত করেছি। ( I95774 , খ/293444286 )
  • আমরা উপাদান SwipeToRevealChip এবং SwipeToRevealCard জন্য নমুনা যুক্ত করেছি। ( আইবি 974 )
  • আমরা ওয়েয়ার কমপোজ ফাউন্ডেশন এবং উপাদান লাইব্রেরির জন্য বেসলাইন প্রোফাইলগুলি আপডেট করেছি। ( I1dd1f )

সংস্করণ 1.3.0-alpha05

6 সেপ্টেম্বর, 2023

androidx.wear.compose:compose-*:1.3.0-alpha05 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha05 এই কমিট ধারণ করে।

বাগ ফিক্স

  • আমরা প্রকাশের জন্য সোয়াইপে হ্যান্ডলিং যুক্ত করেছি যাতে একবারে কেবল একটি আইটেম সোয়াইপ করা যায়। ( I3cd7a )
  • এর প্রকৃত আচরণের সাথে আরও ভাল মেলে ScalingLazyColumnDefaults ডকুমেন্টেশন উন্নত করেছে। ( I886d3 )

সংস্করণ 1.3.0-alpha04

23 আগস্ট, 2023

androidx.wear.compose:compose-*:1.3.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha04 এই কমিট ধারণ করে।

নতুন বৈশিষ্ট

  • আমরা SwipeToReveal মাধ্যমিক ক্রিয়াটির জন্য পূর্বাবস্থায় ফিরে সমর্থন যুক্ত করেছি। ( I7a22d )

এপিআই পরিবর্তন

  • পরিধানের উপাদান 3 লাইব্রেরিতে HorizontalPageIndicator যুক্ত করুন। ( Ifee99 )
  • androidx.wear.tooling.preview লাইব্রেরি ব্যবহার করতে আপডেট হওয়া পরিধান পূর্বরূপ সরঞ্জামিং। ( Ib036e )

বাগ ফিক্স

  • গোলাকার বোতামগুলিতে একটি বাগ ঠিক করুন যেখানে মডিফায়ারগুলি সঠিকভাবে বেঁধে রাখা হয়নি। ( I5e162 )

সংস্করণ 1.3.0-alpha03

9 আগস্ট, 2023

androidx.wear.compose:compose-*:1.3.0-alpha03 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha03 এই কমিট ধারণ করে।

এপিআই পরিবর্তন

  • আমরা কার্ড এবং চিপস সহ SwipeToReveal বাস্তবায়নের জন্য উপাদানগুলিতে দুটি নতুন কম্পোজেবল যুক্ত করেছি। এই কম্পোজেবলগুলি উপাদানটিতে প্রস্তাবিত ইউএক্স গাইডেন্স অনুসরণ করে এবং বিকাশকারীদের পরিধানের উপাদানগুলিতে বিদ্যমান উপাদানগুলির সাথে SwipeToReveal প্রয়োগ করা আরও সহজ করে তোলে। ( I7ec65 )
  • আমরা এপিআই সীমাবদ্ধতা হিসাবে FloatRange টীকাগুলি চালু করেছি, যা আগে মন্তব্যে বর্ণিত হয়েছিল। ( আইসিবি 401 )

বাগ ফিক্স

  • আমরা onGloballyPositioned() অভ্যন্তরে ScalingLazyColumn প্রাথমিক স্ক্রোলিং লজিকটি সরিয়ে নিয়েছি। ( আইসি 90 এফ 1 )
  • স্ট্রোক বরাদ্দ অনুকূল করতে আমরা এখন PositionIndicator , ProgressIndicator এবং SelectionControls drawWithCache ব্যবহার করছি। ( I5f225 , খ/288234617 )
  • আমরা অক্ষম রাজ্যে চেকবক্স টিক দৃশ্যমানতা স্থির করেছি। ( আইবি 25 বিএফ )
  • সামগ্রীটি প্রস্তুত অবস্থায় না থাকলে প্লেসহোল্ডারকে পুনরায় সেট করার অনুমতি দেওয়ার জন্য আমরা Placeholder আপডেট করেছি। ( আইবিডি 820 )
  • আমরা ফ্লেকি Placeholder পরীক্ষাগুলিতে কিছু সংশোধন করেছি ( আইডিবি 560 )

সংস্করণ 1.3.0-alpha02

জুলাই 26, 2023

androidx.wear.compose:compose-*:1.3.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha02 এই কমিট ধারণ করে।

এপিআই পরিবর্তন

  • আমরা ExpandableStateMapping সরবরাহ করেছি, ExpandableStates উত্পন্ন করার একটি নতুন উপায়, যে ক্ষেত্রে তাদের চাহিদা অনুসারে তৈরি করা দরকার, অগত্যা কোনও @Composable স্কোপের মধ্যে নয় ( iff9e0 )
  • SwipeToDismissBox androidx.wear.compose.material থেকে androidx.wear.compose.foundation প্যাকেজ থেকে স্থানান্তরিত হয়েছে। ( I275fb )
  • সামঞ্জস্যতা দমনকে টীকা দেওয়ার জন্য এপিআই ফাইলগুলি আপডেট করা হয়েছে। ( I8e87a , খ/287516207 )
  • আমরা Chip , CompactChip এবং ToggleChip পাবলিক ( আইডিবিএফডিই ) এর জন্য উচ্চতার ধ্রুবকগুলি তৈরি করেছি
  • আমরা Chip এবং CompactChip জনসাধারণের জন্য অনুভূমিক এবং উল্লম্ব প্যাডিংগুলি তৈরি করেছি। ( আইইএফ 7 )
  • নতুন userSwipeEnabled প্যারামিটারের মাধ্যমে SwipeDismissableNavHost সোয়াইপ হ্যান্ডলিং বন্ধ করতে কার্যকারিতা যুক্ত করা হয়েছে। ( আইডি 2 এ 0 বি , বি/230865655 )
  • আমরা ওয়েয়ার কমপোজ ফাউন্ডেশন থেকে নতুন SwipeToDismissBox ব্যবহার করতে ওয়েয়ার কমপোজ নেভিগেশন লাইব্রেরি আপডেট করেছি। ( I4ff8e )

বাগ ফিক্স

  • আমরা একটি জেড-অর্ডার বাগ ঠিক করেছি যেখানে expandedItem বোতামের সাথে বোতামগুলির সাথে ক্লিক করার পরে সঠিক সামগ্রীটি দেখায় না। ( I1899d , খ/289991514 )
  • HierarchicalFocusCoordinator ( আই 45362 , বি/277852486 ) ব্যবহার করে SwipeToDismissBox (এবং তাই SwipeDismissableNavHost ) এর ফোকাস হ্যান্ডলিং উন্নত করুন
  • আমরা SwipeableV2 -তে অঙ্গভঙ্গি হ্যান্ডলিংয়ের একটি সমাধান করেছি। ( I89737 )
  • আমরা আমাদের 1.2 রিলিজের জন্য বেসলাইন প্রোফাইলগুলি চূড়ান্ত করেছি। ( ID5740 )
  • ফাউন্ডেশনে SwipeToDismissBox স্থানান্তরিত হওয়ার পরে, ম্যাটেরিয়াল SwipeToDismissBox বাস্তবায়ন এখন ফাউন্ডেশনের দিকে এগিয়ে যায় এবং এর থিম থেকে ডিফল্ট রঙের মান সরবরাহ করে (( আইএফ 8451 )
  • আমরা ListHeader শিরোনাম শব্দার্থবিজ্ঞান যুক্ত করেছি। ( আইসি 5420 )
  • Chip এবং ToggleChip এখন অ্যাক্সেসযোগ্যতার জন্য বড় ফন্টের কারণে বেড়ে ওঠা সামগ্রীগুলি সামঞ্জস্য করার জন্য তাদের উচ্চতা সামঞ্জস্য করবে, যখন প্রয়োজন হয়। ( আইএএফ 302 )
  • অ্যাক্সেসযোগ্যতার জন্য SplitToggleChip ট্যাপেবল অঞ্চলের শব্দার্থক ভূমিকায় একটি বাগ স্থির করে। ( আইইইডি 3 এ )
  • হ্রাস মোশন সেটিংটি এখন ঝলমলে প্রভাবটি বন্ধ করে দেয় এবং স্থানধারীদের উপর মোছার গতি মুছে দেয়। ( I91046 )
  • Stepper এবং InlineSlider এখন লং প্রেসে বারবার ক্লিকগুলি সমর্থন করে যাতে আপনি + বা - বোতামগুলি ধরে রেখে Stepper এবং InlineSlider মান বাড়িয়ে/হ্রাস করতে পারেন। ( I27359 )

সংস্করণ 1.3.0-alpha01

জুন 21, 2023

androidx.wear.compose:compose-*:1.3.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.3.0-alpha01-এ এই কমিট রয়েছে।

বাগ ফিক্স

  • 1.2.0-alpha07 এবং 1.2.0-alpha10 এ ঘোষিত হিসাবে, আমরা এখন অ্যান্ড্রয়েড প্ল্যাটফর্ম জুড়ে সামঞ্জস্যপূর্ণ হওয়ার জন্য ফন্ট প্যাডিং বন্ধ করতে DefaultTextStyle পরিবর্তন করছি। এটি বৃহত ফন্ট আকারের সাথে পাঠ্য ক্লিপিংয়ের কিছু ক্ষেত্রে সম্বোধন করবে এবং স্ক্রিন লেআউটগুলিকেও প্রভাবিত করতে পারে, যাতে স্ক্রিনশট পরীক্ষাগুলি আপডেট করা দরকার। উদাহরণস্বরূপ, আমরা এখানে পাঠ্য ক্লিপিং দেখতে পাই ( আইসি 6 এ 86 )
পাঠ্য বড় ফন্ট আকারের সাথে ক্লিপড
চিত্র 1 : পাঠ্য ক্লিপড।
  • ফন্ট প্যাডিং বন্ধ হয়ে গেলে এটি আর উপস্থিত নেই:
পাঠ্য বড় ফন্টের আকারের সাথে ক্লিপড নেই
চিত্র 2 : পাঠ্য ক্লিপড নয়।
  • আমরা wear.compose.foundation wear.compose.material এর একটি এপিআই নির্ভরতা হিসাবে আপডেট করেছি ( i72004 , খ/285404743 )
  • আমরা SwipeToDismissBox একটি বাগ ঠিক করেছি। পটভূমি এবং সামগ্রী কীগুলি এখন স্মরণ ব্লকে পাস করা হয় যাতে সামগ্রী বা পটভূমি পরিবর্তিত হলে নতুন সংশোধনকারী তৈরি হয়। ( আইবি 876 সি , বি/280392104 )
  • 12 বা 24 ঘন্টা সময়ের জন্য ফর্ম্যাটটি বেছে নেওয়ার সময় আমরা লোকেলটি ব্যবহার করার জন্য TimeText আপডেট করেছি। ( If4a3d )
  • আমরা SwipeToDismissBox contentScrimColor ডিফল্ট পরামিতিগুলিতে একটি অসঙ্গতি স্থির করেছি। ( I2d70f )
  • আমরা SwipeToReveal মোশন হ্যান্ডলিংয়ের উন্নতি করেছি। ( I28fb7 )

জ্ঞাত সমস্যা

  • ব্যবহারকারী-কনফিগার করা ফন্ট আকারগুলি সমর্থন করা একটি অ্যাক্সেসযোগ্যতার প্রয়োজনীয়তা। আমরা জানি যে মাল্টিলাইন চিপগুলি বড় ফন্ট আকারের সাথে প্রদর্শিত হলে পাঠ্য-ক্লিপিংয়ের দিকে নিয়ে যেতে পারে, তাই আমরা সেই ক্ষেত্রে উচ্চতা সামঞ্জস্য করতে শুরুর দিকে 1.3 আলফা সংস্করণে চিপ আপডেট করব।

সংস্করণ 1.2

সংস্করণ 1.2.1

18 অক্টোবর, 2023

androidx.wear.compose:compose-*:1.2.1 প্রকাশিত হয়েছে। সংস্করণ 1.2.1 এই কমিট ধারণ করে.

বাগ ফিক্স

  • PositionIndicator ভুলভাবে অদৃশ্য হয়ে গেলে একটি বাগ স্থির করে। ( 7A167F )

সংস্করণ 1.2.0

9 আগস্ট, 2023

androidx.wear.compose:compose-*:1.2.0 প্রকাশিত হয়েছে। সংস্করণ 1.2.0 এই কমিট ধারণ করে.

1.1.0 থেকে গুরুত্বপূর্ণ পরিবর্তন

সংস্করণ 1.2.0-rc01

জুলাই 26, 2023

androidx.wear.compose:compose-*:1.2.0-rc01 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-rc01-এ এই কমিট রয়েছে।

বাগ ফিক্স

  • আমরা আমাদের 1.2 রিলিজের জন্য বেসলাইন প্রোফাইলগুলি চূড়ান্ত করেছি ( ID5740 )

সংস্করণ 1.2.0-beta02

7 জুন, 2023

androidx.wear.compose:compose-*:1.2.0-beta02 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-BETA02 এ এই কমিটগুলি রয়েছে।

নতুন বৈশিষ্ট

  • আমরা নতুন পরীক্ষামূলক LocalReduceMotion CompositionLocal ভেরিয়েবল যুক্ত করেছি যা ScalingLazyColumn স্কেলিং এবং ম্লান হওয়া অক্ষম করে। ( I58024 )

বাগ ফিক্স

  • আমরা ওয়েয়ার কমপোজ ফাউন্ডেশন এবং উপাদান গ্রন্থাগারগুলির জন্য বেসলাইন প্রোফাইলগুলি আপডেট করেছি ( আই 4725 ডি )
  • আমরা SwipeToDismissBox contentScrimColor প্যারামিটারগুলির জন্য ডিফল্ট মানগুলিতে একটি অসঙ্গতি স্থির করেছি ( i2d70f )
  • আমরা IncludeFontPadding সেটিং ( i737ed ) এর জন্য ব্যবহৃত ডিফল্ট DefaultTextStyle ডিফল্ট মানটি স্থির করেছি

সংস্করণ 1.2.0-beta01

24 মে, 2023

androidx.wear.compose:compose-*:1.2.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-beta01-এ এই কমিট রয়েছে।

ওয়েয়ার ওএস 1.2 এর জন্য রচনা কী আছে

ওয়েয়ার ওএসের জন্য রচনাটির 1.2-বিটা 01 রিলিজ ইঙ্গিত দেয় যে লাইব্রেরির এই প্রকাশটি বৈশিষ্ট্যটি সম্পূর্ণ এবং এপিআই লক করা হয়েছে (যেখানে পরীক্ষামূলক হিসাবে চিহ্নিত চিহ্নিত) ব্যতীত)। কমপোজ পরিধান করুন 1.2 নিম্নলিখিত নতুন কার্যকারিতা অন্তর্ভুক্ত:

  • expandableItem এবং expandableItems দুটি নতুন Foundation উপাদান যা একটি ScalingLazyColumn মধ্যে প্রসারিত আইটেমগুলিকে সমর্থন করে। একক প্রসারণযোগ্য আইটেমের জন্য expandableItem ব্যবহার করুন, যেমন পাঠ্য যেখানে লাইনের সংখ্যা। সামগ্রীটি প্রসারিত হওয়ার পরে ধসে পড়ে এমন একটি বোতাম তৈরি করা সহজ করার জন্য এক্সপেনডেবল আইটেমগুলি এবং expandableItems expandableButton ব্যবহার করুন।
  • HierarchicalFocusCoordinator - এই পরীক্ষামূলক কম্পোজেবল ফোকাস সক্ষম বা ফোকাস অক্ষম হিসাবে রচনাটির উপ -গাছ চিহ্নিত করতে সক্ষম করে।
  • Picker - এপিআই এখন ব্যবহারকারী স্ক্রোলিংয়ের জন্য পিকার সক্রিয় কিনা তা নিয়ন্ত্রণ করতে userScrollEnabled অন্তর্ভুক্ত।
  • PickerGroup - একাধিক পিকারকে একসাথে পরিচালনা করার জন্য একটি নতুন কমপোজেবল। এটি HierarchicalFocusCoordinator এপিআই ব্যবহার করে পিকারদের মধ্যে ফোকাস পরিচালনা করে এবং পিকার আইটেমগুলির অটো-কেন্দ্রিকিং সক্ষম করে।
  • Placeholder - আমরা শিহর এবং 'মুছুন' অ্যানিমেশনগুলিতে আপডেট করেছি। বিষয়বস্তু প্রস্তুত হলে এখন অবিলম্বে ওয়াইপ-অফ প্রভাব প্রয়োগ করা হয়।
  • ScalingLazyColumn - আমরা ScalingLazyColumn এবং সম্পর্কিত ক্লাসগুলি androidx.wear.compose.material.ScalingLazyColumn androidx.wear.compose.foundation.lazy.ScalingLazyColumn স্থানান্তরিত করেছি। Foundation.Lazy ব্যবহার করতে দয়া করে আপডেট করুন।
  • SwipeToReveal -আমরা বিদ্যমান 'লং প্রেস' প্যাটার্নের পরিপূরক, মাধ্যমিক ক্রিয়াগুলি অ্যাক্সেস করার উপায় হিসাবে সোয়াইপ-টু-রিভিলের জন্য পরীক্ষামূলক সমর্থন যুক্ত করেছি।
  • Stepper - ডিফল্ট রেঞ্জের শব্দার্থবিজ্ঞানগুলি অক্ষম করার সুবিধার্থে এখন একটি অতিরিক্ত enableRangeSemantics প্যারামিটার সহ একটি ওভারলোড রয়েছে।
  • Previews - আমরা পরিধানের স্ক্রিনগুলিতে কমপোজেবলগুলি পূর্বরূপগুলির জন্য নিম্নলিখিত কাস্টম টীকাগুলি যুক্ত করেছি: WearPreviewSmallRound একটি ছোট, বৃত্তাকার ডিভাইসে কমপোজেবলের পূর্বরূপ; WearPreviewLargeRound একটি বৃহত রাউন্ড ডিভাইসে কমপোজেবলের পূর্বরূপ দেয়; WearPreviewSquare একটি বর্গ ডিভাইসে কম্পোজেবলের পূর্বরূপ দেয়। এছাড়াও, নিম্নলিখিত এবং মাল্টি-প্রিভিউ টীকাগুলি: WearPreviewFontScales একাধিক ফন্ট আকারের সাথে একটি পরিধান ডিভাইসে কমপোজেবলগুলি পূর্বরূপ দেয়, যখন WearPreviewDevices বিভিন্ন পরিধানের ডিভাইসে কমপোজেবলগুলির পূর্বরূপ দেয়।
  • আমরা রচনাটি পরিধান করার জন্য একটি DefaultTextStyle যুক্ত করেছি যা PlatformTextStyle.includeFontPadding ডিফল্ট করে। এটি আমাদের প্রথম দিকে 1.3 আলফা সংস্করণে কমপোজ লাইব্রেরিগুলির সাথে ডিফল্টরূপে ফন্ট প্যাডিং বন্ধ করে সিঙ্ক্রোনাইজ করার অনুমতি দেবে - আরও তথ্যের জন্য 1.2.0 -আলফা 10 দেখুন।

নতুন বৈশিষ্ট

  • যখন হ্রাস_মোশন সেটিংটি চালু করা হয় তখন আমরা অক্ষম স্কেলিং এবং বিবর্ণ অ্যানিমেশনটির জন্য পরীক্ষামূলক সমর্থন যুক্ত করেছি। ( I58024 )

বাগ ফিক্স

  • CurvedSize.kt ( আইএবি 75 সি ) এ angularWidthDp জন্য উন্নত ডকুমেন্টেশন
  • SwipeDismissableNavHost এখন খালি ব্যাকস্ট্যাকের সম্ভাব্য কারণগুলির সাথে একটি সতর্কতা লগ করে। ব্যাকস্ট্যাকটি খালি থাকাকালীন নিক্ষেপ করা হয়েছিল এমন IllegalArgumentException ক্র্যাশগুলি রোধ করার জন্য এটি করা হয়। ( I04a81 , বি/277700155 )

সংস্করণ 1.2.0-আলফা 10

10 মে, 2023

androidx.wear.compose:compose-*:1.2.0-alpha10 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-আলফা 10 এ এই কমিটগুলি রয়েছে।

নতুন বৈশিষ্ট

  • আমরা মাধ্যমিক ক্রিয়াগুলি অ্যাক্সেস করার উপায় হিসাবে প্রকাশের জন্য সোয়াইপের পক্ষে সমর্থন যুক্ত করেছি। এই প্যাটার্নটি 'লং প্রেস' প্যাটার্নটিকে পরিপূরক করে, বিদ্যমান ব্যবহারকারী কোনও ব্যবহারকারী (বিভিন্ন) গৌণ ক্রিয়া প্রকাশ করতে পারে। ( I60862 )

এপিআই পরিবর্তন

  • আমরা SwipeToReveal অ্যাকশন কমপোজেবলগুলিতে RevealScope যুক্ত করেছি, যা অফসেটে অ্যাক্সেস দেয় যেখানে অতিরিক্ত ক্রিয়াকলাপ প্রকাশিত হয়। ( I3fd56 )

বাগ ফিক্স

  • ScalingLazyColumn ঝাঁকুনির পরে এপিআই 33 এ আটকে থাকার সাথে একটি সমস্যা স্থির করা হয়েছে ( আইসি 4599 )
  • আমরা জ্যাঙ্ক হ্রাসের জন্য PositionIndicator কিছু পারফরম্যান্সের উন্নতি করেছি। ( I35e92 )
  • আমরা চিপ এবং CompactChip একটি বাগ ঠিক করেছি যেখানে শব্দার্থক ভূমিকা আর Role.Button সেট করা হচ্ছে না ut ( I93f91 , বি/277326264 )

জ্ঞাত সমস্যা

  • আমরা অ্যান্ড্রয়েড স্টুডিওতে একটি বাগ চিহ্নিত করেছি যা @ওয়েয়ারপ্যাভিউডভেসিস এবং @ওয়্যারপরিভিউফন্টসকেলেসের সাথে টীকায়িত হলে প্রাকদর্শন রেন্ডারিংয়ে ব্যর্থতার কারণ হয় - শীঘ্রই প্রকাশের জন্য একটি ফিক্স পরিকল্পনা করা হয়েছে। দয়া করে নোট করুন যে অন্যান্য পরিধান পূর্বরূপ টীকাগুলি অ্যান্ড্রয়েড স্টুডিও জিরাফ 2022.3.1 এবং এর বাইরেও ইচ্ছাকৃতভাবে কাজ করে।

  • সংস্করণ 1.2.0 -Alpha07 এ আমরা কমপোজ পরতে ডিফল্ট টেক্সটস্টাইল যুক্ত করেছি, বিদ্যমান প্ল্যাটফর্ম টেক্সটসাইলটি বজায় রেখেছি। অ্যান্ড্রয়েড প্ল্যাটফর্ম জুড়ে সামঞ্জস্যপূর্ণ হওয়ার জন্য আমরা প্রথম দিকে 1.3 আলফা সংস্করণে ফন্ট প্যাডিং বন্ধ করতে ডিফল্ট টেক্সটস্টাইল পরিবর্তন করব। এটি বৃহত্তর ফন্ট আকারের সাথে পাঠ্য ক্লিপিংয়ের কিছু ক্ষেত্রে সম্বোধন করবে এবং স্ক্রিন লেআউটগুলিকেও প্রভাবিত করতে পারে, যাতে স্ক্রিনশট পরীক্ষাগুলি আপডেট করার প্রয়োজন হয়। উদাহরণস্বরূপ, বড় ফন্টের আকারের সাথে আমরা এখানে পাঠ্য ক্লিপিং দেখতে পাই:

পাঠ্য বড় ফন্ট আকারের সাথে ক্লিপড
চিত্র 1 : পাঠ্য ক্লিপড।
  • ফন্ট প্যাডিং বন্ধ হয়ে গেলে এটি আর উপস্থিত নেই:
পাঠ্য বড় ফন্টের আকারের সাথে ক্লিপড নেই
চিত্র 2 : পাঠ্য ক্লিপড নয়।

আপনার থিমটিতে টাইপোগ্রাফিটি ওভাররাইড করে এখন নতুন সেটিংটি গ্রহণ করা যেতে পারে - উদাহরণ কোডটি দেখুন।

সংস্করণ 1.2.0-alpha09

এপ্রিল 19, 2023

androidx.wear.compose:compose-*:1.2.0-alpha09 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-ALPHA09 এ এই কমিটস রয়েছে।

এপিআই পরিবর্তন

  • ডিপিতে কৌণিক প্রস্থ সেট করার জন্য CurvedModifier এপিআইতে angularSizeDp যুক্ত করুন ( i89a52 )

বাগ ফিক্স

  • আমাদের সময় পিকার ডেমোগুলিতে অ্যাক্সেসযোগ্যতার সমস্যাগুলি রয়েছে ( ID0EB7 )

সংস্করণ 1.2.0-alpha08

5 এপ্রিল, 2023

androidx.wear.compose:compose-*:1.2.0-alpha08 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-ALPHA08 এ এই কমিটগুলি রয়েছে।

এপিআই পরিবর্তন

  • আমরা ExpandableItemsState নামকরণ করেছি ExpandableState । ( If85ea )
  • আমরা সামগ্রীটি প্রসারিত হওয়ার সময় ধসে পড়ে এবং প্রসারণযোগ্য উদাহরণগুলি আপডেট করে এমন একটি বোতাম তৈরি করা সহজ করার জন্য আমরা expandableButton যুক্ত করেছি। ( আইএই 309 )

বাগ ফিক্স

  • আরও সম্ভাবনা দেখানোর জন্য উন্নত প্রসারণযোগ্য নমুনাগুলি। অ্যানিমেশনের মাধ্যমে এর সামগ্রীটি কেন্দ্রিক রাখতে expandableItem আইটেমের পরিবর্তিত অ্যানিমেশন। ( I2f637 )
  • স্টেট ব্যবহার করে রঙগুলি ম্যানুয়ালি অ্যানিমেট করার সময় অতিরিক্ত পুনরুদ্ধারগুলি এড়াতে ToggleControls আপডেট করা হয়েছে। ( I5d319 )

সংস্করণ 1.2.0-alpha07

22 মার্চ, 2023

androidx.wear.compose:compose-*:1.2.0-alpha07 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-ALPHA07 এর মধ্যে এই কমিটগুলি রয়েছে।

এপিআই পরিবর্তন

  • আমরা উপাদান থেকে ফাউন্ডেশনে প্রসারণযোগ্য আইটেমের উপাদানগুলি (1.2.0-ALPHA06 এ যুক্ত) সরানো করেছি, যেহেতু তাদের MaterialTheme কোনও অর্থবহ রেফারেন্স ছিল না। ( আইবি 0525 )

বাগ ফিক্স

  • আমরা PickerGroup ব্যবহার করে একটি স্ক্রিনে ঘটেছিল এমন একটি ক্র্যাশ ঠিক করেছি, নিশ্চিত করে যে PickerGroup ফোকাসটি সঠিকভাবে হ্যান্ডেলগুলি সঠিকভাবে হ্যান্ডল করে যখন কোনও পিকার ফোকাস না থাকে। আমাদের পিকার ডেমোতে আরএসবি স্ক্রোলিংয়ের জন্য সমর্থন যুক্ত করেছে। ( If8c19 )
  • আমরা ডায়ালগ ট্রানজিশনের উন্নতি করেছি - ইন্ট্রো ট্রানজিশনটি এখন আউটরো ট্রানজিশনের সাথে মেলে মসৃণ। ( Ib5af9 )
  • আমরা রচনাটি পরিধান করার জন্য একটি DefaultTextStyle যুক্ত করেছি যা PlatformTextStyle.includeFontPadding ডিফল্ট করে। এটি আমাদের ভবিষ্যতে রচনা গ্রন্থাগারগুলির সাথে ডিফল্টরূপে ফন্ট প্যাডিং বন্ধ করে দেওয়ার সিঙ্ক্রোনাইজ করতে দেয় - পটভূমির জন্য দেখুন ( রচনাটিতে ফন্ট প্যাডিং ফিক্স করুন )। ( I2aee8 )
  • গুগল প্লে স্টোরে প্রকাশনা অ্যাপ্লিকেশনগুলিকে অবরুদ্ধ করে এমন ক্রিয়াকলাপ-কম্পোজের মাধ্যমে একটি UpsideDownCake পূর্বরূপ নির্ভরতা ফিরিয়ে দিয়েছে। ( I6443d )

সংস্করণ 1.2.0-alpha06

8 মার্চ, 2023

androidx.wear.compose:compose-*:1.2.0-alpha06 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-ALPHA06 এর মধ্যে এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • CurvedBox উপাদান যুক্ত করুন, যা বাঁকা বিশ্বে একে অপরের শীর্ষে উপাদান রাখে। ( I29200 )
  • যুক্ত এক্সপেনডেবল আইটেম (গুলি) - ScalingLazyColumn প্রসারণযোগ্য আইটেমগুলির একটি গ্রুপকে সমর্থন করার জন্য দুটি নতুন উপাদান, বা একটি প্রসারণযোগ্য একক আইটেম, যেমন পাঠ্য যেখানে লাইনের সংখ্যা প্রসারিত হয়। ( I95dd5 )
  • আমরা পরিধানের স্ক্রিনগুলিতে কমপোজেবলগুলি পূর্বরূপের জন্য নিম্নলিখিত কাস্টম টীকাগুলি যুক্ত করেছি: WearPreviewSmallRound একটি ছোট, বৃত্তাকার ডিভাইসে কমপোজেবলের পূর্বরূপ; WearPreviewLargeRound একটি বৃহত রাউন্ড ডিভাইসে কমপোজেবলের পূর্বরূপ দেয়; WearPreviewSquare একটি বর্গ ডিভাইসে কম্পোজেবলের পূর্বরূপ দেয়। এছাড়াও, নিম্নলিখিত এবং মাল্টি-প্রিভিউ টীকাগুলি: WearPreviewFontScales একাধিক ফন্ট আকারের সাথে একটি পরিধান ডিভাইসে কমপোজেবলগুলি পূর্বরূপ দেয়, যখন WearPreviewDevices বিভিন্ন পরিধানের ডিভাইসে কমপোজেবলগুলির পূর্বরূপ দেয়। এই পূর্বরূপগুলি ব্যবহার করতে, আপনি অবশ্যই সর্বশেষতম অ্যান্ড্রয়েড স্টুডিও (জিরাফ ক্যানারি 6) বা তার বাইরেও ব্যবহার করছেন। দয়া করে মনে রাখবেন যে এই টীকাগুলি যদি আপনার উদ্দেশ্য অনুসারে না হয় তবে পূর্বরূপ এখনও ব্যবহার করা যেতে পারে এবং পরামিতিগুলির মাধ্যমে আরও কাস্টমাইজেশন সমর্থন করে। ( I397ff )
  • আমরা এর বিস্তৃত প্রয়োগযোগ্যতার কারণে মূল রচনা গ্রন্থাগারগুলিতে স্থানান্তরিত হওয়ার জন্য প্রার্থী হিসাবে বিবেচিত HierarchicalFocusCoordinator পরীক্ষামূলক হিসাবে চিহ্নিত করেছি। ( I3a768 )

বাগ ফিক্স

  • HierarchicalFocusCoordinator একটি বাগ স্থির করে, যখন ল্যাম্বডা focusEnabled প্যারামিটারের জন্য পাস করা হয় তখন আমরা এখন নতুনটি সঠিকভাবে ব্যবহার করি। ( আইসিবি 353 )
  • Button , CompactButton , Chip , CompactChip এবং ToggleButton ব্যাকগ্রাউন্ড হিসাবে প্রাথমিক রঙগুলি ব্যবহার করার সময় আমরা পটভূমিতে ডিফল্ট অক্ষম সামগ্রীর রঙ আপডেট করেছি। এটি অ্যাক্সেসযোগ্যতার জন্য বিপরীতে উন্নত করে। ( I527cc )

সংস্করণ 1.2.0-alpha05

22 ফেব্রুয়ারি, 2023

androidx.wear.compose:compose-*:1.2.0-alpha05 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-alpha05 এই কমিট ধারণ করে।

এপিআই পরিবর্তন

  • PickerGroup যখন সত্য হিসাবে সেট করা হয়, তখন PickerGroup পিতামাতার কমপোজেবল থেকে পাস করা ন্যূনতম সীমাবদ্ধতাগুলি অনুমোদিত হবে। যদি মিথ্যা হিসাবে সেট করা হয় তবে PickerGroup ন্যূনতম সীমাবদ্ধতাগুলি পুনরায় সেট করবে। ( I3e046 )
  • আমরা নির্দিষ্ট পিকার বিকল্পে প্রোগ্রাম্যাটিক অ্যানিমেশনকে সমর্থন করার জন্য ( আই 6 এফই 67 ) এ animateScrollToOption যুক্ত করেছি

বাগ ফিক্স

  • ডান থেকে বাম লেআউটগুলি সমর্থন করার জন্য আমরা HorizontalPageIndicator আপডেট করেছি। ( আইএ 4359 )
  • HorizontalPageIndicator ( আই 6 এফবিবি 8 ) এ ডান-টু-বাম লেআউটের জন্য স্ক্রিনশট পরীক্ষা যুক্ত করা হয়েছে
  • SwipeDismissableNavHostTest আরও পরীক্ষা যুক্ত করা হয়েছে যা TestNavHostController ( i61d54 ) ব্যবহার করে

সংস্করণ 1.2.0-alpha04

ফেব্রুয়ারী 8, 2023

androidx.wear.compose:compose-*:1.2.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-alpha04 এই কমিট ধারণ করে।

নতুন বৈশিষ্ট

  • ফোকাস এপিআই ব্যবহার করে একসাথে একাধিক পিকারকে পরিচালনা করার জন্য PickerGroup । এটি বিভিন্ন পিকারের মধ্যে ফোকাস পরিচালনা করে, পরামিতিগুলির উপর ভিত্তি করে পিকারদের অটো-কেন্দ্রিকিং সক্ষম করে এবং বিকাশকারীদের গ্রুপ থেকে ইভেন্টগুলি পরিচালনা করার সময় বিভিন্ন পিকারের মধ্যে ফোকাস পরিবর্তন করতে দেয়। টকব্যাক মোডে, PickerGroup গ্রুপ থেকে নির্বাচিত পিকারকে ফোকাসটি সরিয়ে টকব্যাক ফোকাস পরিচালনা করে। ( I60840 )

এপিআই পরিবর্তন

  • ডিফল্ট রেঞ্জের শব্দার্থবিজ্ঞানগুলি অক্ষম করার সুবিধার্থে আমরা একটি অতিরিক্ত enableRangeSemantics প্যারামিটার সহ স্টিপারে একটি ওভারলোড যুক্ত করেছি ( আইএ 61 ডি 4 )

বাগ ফিক্স

  • অনুভূমিকভাবে স্ক্রোলিং পৃষ্ঠায় ( আইইসি 3 এফ 8 , বি/266555016 ) এর মধ্যে ScalingLazyColumn বাসা বাঁধার অনুমতি দিন
  • স্টিপার কেডোকস এবং StepperTest টেস্ট ক্লিন-আপের উন্নতি। ( আইসি 118 ই )
  • 2.5.3 সংস্করণে androidx.navigation নির্ভরতা আপডেট হয়েছে ( if58ed )

সংস্করণ 1.2.0-alpha03

25 জানুয়ারী, 2023

androidx.wear.compose:compose-*:1.2.0-alpha03 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-alpha03 এই কমিট ধারণ করে।

এপিআই পরিবর্তন

  • আমরা androidx.wear.compose.material.ScalingLazyColumn থেকে andrdoidx.wear.compose.foundation.lazy.ScalingLazyColumn (অভিবাসনের এই উদাহরণটি দেখুন) থেকে ScalingLazyColumn (এবং সম্পর্কিত ক্লাস) স্থানান্তরিত করেছি। এই নতুন অবস্থানটি আরও ঘনিষ্ঠভাবে compose.foundation.lazy.LazyColumn এর সাথে মেলে এবং এটি আরও প্রাকৃতিক কারণ এটি কোনও মতামতযুক্ত উপাদান উপাদান নয়। একটি নতুন মেটেরিয়াল 3 লাইব্রেরির প্রস্তুতিতে এখন পরিবর্তনটি ঘটছে, যা আমরা বিদ্যমান উপাদান লাইব্রেরির সাথে সমান্তরালে কাজ করব। ( I060e7 )

নিম্নলিখিত পরিবর্তনগুলি উপাদান থেকে Foundation.Lazy ScalingLazyColumn মাইগ্রেশনের অংশ L

  • PositionIndicator ইন্ডিকেটর এপিআইগুলিকে লক্ষ্য করে ScalingLazyColumn লক্ষ্য করে অবমূল্যায়ন করা হয়েছে - দয়া করে Foundation.Lazy ScalingLazyColumn আপডেট করুন L অতিরিক্তভাবে anchorType ক্ষেত্রটি ScalingLazyListLayoutInfo যুক্ত করা হয়েছিল। ( I29d95 )
  • ScalingLazyColumn পরিধান রচনা উপাদান প্যাকেজে ( i16d34 ) অবমূল্যায়ন হিসাবে চিহ্নিত করা হয়েছে
  • ওয়েয়ার কমপোজ Foundation.Lazy থেকে ScalingLazyListState ব্যবহার করার জন্য আমরা ScrollAway মডিফায়ার আপডেট করেছি ScalingLazyListState ( আইএফসি 42 সি )
  • আমরা Foundation.Lazy থেকে ScalingLazyListState ব্যবহার করতে ডায়ালগ এপিআই আপডেট করেছি ScalingLazyListState
  • আমরা Foundation.Lazy থেকে ScalingParams ব্যবহার করতে পিকার এপিআই আপডেট করেছি ScalingParams ( আইডিসি 3 ডি 8 )

বাগ ফিক্স

  • আমরা এমন একটি বাগ ঠিক করেছি যা ScalingLazyListState.centerItemIndex অপ্রয়োজনীয় পুনরুদ্ধারগুলি তৈরি করেছিল তা নিশ্চিত করেই এটি কেবল আপডেটগুলি ধাক্কা দেয় যখন মানটি আসলে পরিবর্তিত হয় ( আইএ 9 এফ 38 )
  • আমরা SwipeToDismissBox পারফরম্যান্সের উন্নতি করেছি ( i3933 বি )
  • ওয়েয়ার কমপোজ ফাউন্ডেশনে ScalingLazyColumn জন্য বেঞ্চমার্ক পরীক্ষা যুক্ত করা হয়েছে ( ie00f9 )
  • আমরা Foundation.Lazy থেকে তাদের সমতুল্য ব্যবহার করতে উপাদানগুলিতে কিছু অভ্যন্তরীণ ScalingLazyColumn ক্লাস পদ্ধতি আপডেট করেছি L
  • আমরা পিকার পরীক্ষায় কিছু সমস্যা স্থির করেছি এবং অফসেট ( i6AC34 ) সহ স্ক্রোল চেক করার জন্য আরও পরীক্ষা যুক্ত করেছি
  • আমরা ScalingLazyColumn ইন্টিগ্রেশন ডেমোগুলি Foundation.Lazy উপর নির্ভর করতে স্থানান্তরিত করেছি ScalingLazyColumn
  • আমরা আমাদের DatePicker ডেমোতে ( আই 961 সিডি ) fromDate/toDate প্যারামিটারগুলি যুক্ত করেছি

সংস্করণ 1.2.0-alpha02

11 জানুয়ারী, 2023

androidx.wear.compose:compose-*:1.2.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-alpha02 এই কমিট ধারণ করে।

এপিআই পরিবর্তন

  • অ্যান্ড্রয়েড রচনা ইউআই পরীক্ষাগুলি এখন প্রতিটি ফ্রেমের জন্য লেআউট পাসগুলি চালাবে যখন ফ্রেমগুলি নিষ্ক্রিয় করার জন্য কার্যকর করা হয় (যেমন waitForIdle মাধ্যমে)। এটি এমন পরীক্ষাগুলিকে প্রভাবিত করতে পারে যা লেআউট অ্যানিমেশনগুলির পৃথক ফ্রেমগুলিতে জোর দেয়। ( I8ea08 , খ/222093277 )
  • BasicText ( আই 24874 ) এর সাথে ধারাবাহিক আচরণের জন্য পাঠ্য পরতে প্যারামিটার minLines যুক্ত করা হয়
  • CompactChipTapTargetPadding সর্বজনীন করা হয়েছে যাতে এটি ডকুমেন্টেশনে প্রদর্শিত হয় ( if1e70 , বি/234119038 )

বাগ ফিক্স

  • wear.compose প্যাকেজগুলির জন্য মাল্টিপ্ল্যাটফর্ম বিল্ডগুলি অক্ষম করুন ( আইএডি 3 ডি 7 )
  • scrollToOption ( i6f9a0 ) এর জন্য কেডোকস ঠিক করুন
  • PlaceholderState.rememberPlaceholderState() rememberUpdatedState onContentReady ( I02635 , বি/260343754 )
  • আমরা নতুন সংমিশ্রণ কৌশলটি Modifier.graphicsLayer যুক্ত করে তুলে Picker উপাদানটিতে দেখা একটি পাঠ্য জিটারিং ইস্যু স্থির করেছি। ( I99302 )
  • আমরা একটি বাগ ঠিক করেছি যা আমাদের DatePicker ডেমোতে ( i660bd ) ঝলকানি সৃষ্টি করেছিল
  • আমরা 12-ঘন্টা সময় এবং তারিখ পিকার ডেমোগুলির জন্য অ্যাক্সেসযোগ্যতা উন্নত করেছি ( i05e12 )
  • আমরা আমাদের সময় এবং তারিখের পিকার ডেমোগুলি আপডেট করেছি যাতে নির্বাচিত (আই 4 এসিবি) যখন পিকাররা আরএসবি পরিবর্তনের দ্বারা প্রভাবিত না হয় ( i4aecb )

সংস্করণ 1.2.0-alpha01

7 ডিসেম্বর, 2022

androidx.wear.compose:compose-*:1.2.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.2.0-alpha01-এ এই কমিট রয়েছে।

নতুন বৈশিষ্ট

  • আমরা পরীক্ষামূলক স্থানধারক কার্যকারিতা আপডেট করেছি যাতে পরবর্তী অ্যানিমেশন লুপটি শুরু হওয়ার জন্য অপেক্ষা না করে সামগ্রী প্রস্তুত হয়ে গেলে "মুছুন" প্রভাবটি অবিলম্বে প্রয়োগ করা হয়। আমরা শিমারটিতে কিছু আপডেট করেছি এবং অ্যানিমেশনগুলি মুছে ফেলেছি। ( I5a7f4 )

এপিআই পরিবর্তন

  • ফোকাস সক্ষম বা ফোকাস অক্ষম হিসাবে রচনাটির উপ-গাছগুলি চিহ্নিত করতে সক্ষম করতে আমরা একটি HierarchicalFocusCoordinator কমপোজেবল যুক্ত করেছি (( আই 827 সিবি )
  • ToggleButton জন্য শব্দার্থক ভূমিকা ওভাররাইড করার জন্য আমরা একটি নতুন সম্পত্তি যুক্ত করেছি (( i67132 )
  • আমরা TimeTextDefaults.TimeFormat12Hours এএম/প্রধানমন্ত্রী অপসারণ করতে আপডেট করেছি TimeText এটি TimeText এপিআই -তে timeSource পরামিতিগুলির ডিফল্ট মান পরিবর্তন করবে। ( I1eb7f )
  • আমরা মাল্টি-পিকার সহ স্ক্রিনগুলির অ্যাক্সেসযোগ্যতা উন্নত করতে পিকার এপিআই প্রসারিত করেছি। ব্যবহারকারী স্ক্রোলিংয়ের জন্য পিকারটি সক্রিয় কিনা তা নিয়ন্ত্রণ করতে userScrollEnabled একটি নতুন সম্পত্তি রয়েছে। ( I3c3aa )

বাগ ফিক্স

  • আমরা চূড়ান্ত ইউএক্স স্পেসগুলির সাথে মেলে একটি OutlinedButton/OutlinedCompactButton 2.dp থেকে 1.DP এ ডিফল্ট সীমানা প্রস্থকে পরিবর্তন করেছি। ( আইসিএফ 84 ডি )
  • প্রথম আইটেমের প্রভাব হ্রাস করার জন্য একটি খালি ScalingLazyColumn যুক্ত হয়ে জায়গায় স্ক্রোল করতে দেখা যাচ্ছে আমরা সামগ্রীগুলি খালি থাকাকালীন একটি আনুমানিক autoCentering topPadding যুক্ত করেছি। এই পরিবর্তনটি উচ্চতার প্রাথমিক আইটেম 0.dp ধরে ধরে প্রয়োজনীয় শীর্ষ প্যাডিংয়ের পরিমাণ গণনা করে। ScalingLazyListAnchorType.ItemStart জন্য এটি সঠিক শীর্ষ প্যাডিং গণনা করবে, ScalingLazyListAnchorType.ItemCenter জন্য এই গণনাটি ভুল হবে কারণ আইটেমগুলির উচ্চতা সঠিকভাবে আকার দেওয়ার জন্য আইটেমগুলির উচ্চতা প্রয়োজন হয় যার ফলে আইটেমগুলি বাস্তব উচ্চতার উপর ভিত্তি করে একটি ছোট স্ক্রোলের ফলে স্থান প্রভাবের ফলস্বরূপ প্রয়োজন হয় (( I239a4 )
  • আমরা পরিধানের প্ল্যাটফর্মের সাথে মেলে SwipeToDismiss অ্যানিমেশনটিতে প্রয়োগ করা ব্যাকগ্রাউন্ড স্ক্রিমটি আপডেট করেছি। ( I9003e )
  • শূন্য ত্রুটিগুলি দ্বারা বিভাজন এড়াতে আমাদের আকারের তালিকাগুলির জন্য LazyListState এবং ScalingLazyListState হ্যান্ডলিং ফিক্সড PositionIndicator রয়েছে (( আইসি 28 ডিডি )

সংস্করণ 1.1

সংস্করণ 1.1.2

ফেব্রুয়ারী 8, 2023

androidx.wear.compose:compose-foundation:1.1.2 , androidx.wear.compose:compose-material:1.1.2 , এবং androidx.wear.compose:compose-navigation:1.1.2 প্রকাশিত হয়েছে। সংস্করণ 1.1.2 এ এই কমিটস রয়েছে।

বাগ ফিক্স

  • আমরা এমন একটি বাগ ঠিক করেছি যা ScalingLazyListState.centerItemIndex অপ্রয়োজনীয় পুনরুদ্ধারগুলি তৈরি করেছিল তা নিশ্চিত করেই এটি কেবল আপডেটগুলি ধাক্কা দেয় যখন মানটি আসলে পরিবর্তিত হয় ( আইএ 9 এফ 38 )

সংস্করণ 1.1.1

11 জানুয়ারী, 2023

androidx.wear.compose:compose-foundation:1.1.1 , androidx.wear.compose:compose-material:1.1.1 , এবং androidx.wear.compose:compose-navigation:1.1.1 প্রকাশিত হয়েছে। সংস্করণ 1.1.1 এই কমিট ধারণ করে.

বাগ ফিক্স

  • PlaceholderState.rememberPlaceholderState() rememberUpdatedState onContentReady ( I02635 , বি/260343754 )

সংস্করণ 1.1.0

7 ডিসেম্বর, 2022

androidx.wear.compose:compose-foundation:1.1.0 , androidx.wear.compose:compose-material:1.1.0 , এবং androidx.wear.compose:compose-navigation:1.1.0 প্রকাশিত হয়েছে। সংস্করণ 1.1.0 এই কমিট ধারণ করে.

1.0.0 থেকে গুরুত্বপূর্ণ পরিবর্তন

নতুন বৈশিষ্ট

  • আমরা পরীক্ষামূলক স্থানধারক কার্যকারিতা আপডেট করেছি যাতে পরবর্তী অ্যানিমেশন লুপটি শুরু হওয়ার জন্য অপেক্ষা না করে সামগ্রী প্রস্তুত হয়ে গেলে "মুছুন" প্রভাবটি অবিলম্বে প্রয়োগ করা হয়। আমরা শিমারটিতে কিছু আপডেট করেছি এবং অ্যানিমেশনগুলি মুছে ফেলেছি। ( I5a7f4 )

বাগ ফিক্স

  • আমরা চূড়ান্ত ইউএক্স স্পেসগুলির সাথে মেলে একটি OutlinedButton/OutlinedCompactButton 2.dp থেকে 1.DP এ ডিফল্ট সীমানা প্রস্থকে পরিবর্তন করেছি। ( আইসিএফ 84 ডি )
  • In order to reduce the effect of the first item added to an empty ScalingLazyColumn appearing to scroll into place we have added an estimated autoCentering topPadding when the contents are empty. This change calculates the amount of top padding needed by assuming an initial item of height 0.dp. For ScalingLazyListAnchorType.ItemStart this will calculate the correct top padding, for ScalingLazyListAnchorType.ItemCenter this calculation will be incorrect as the height of the items is needed to correctly size the contents resulting in a small scroll into place effect based on the items real height.( I239a4 )
  • We have updated the background scrim applied to the SwipeToDismiss animation to match the Wear platform.( I9003e )
  • We have fixed PositionIndicator handling of LazyListState and ScalingLazyListState for list items of size 0 to avoid divide by zero errors.( Ic28dd )

সংস্করণ 1.1.0-rc01

9 নভেম্বর, 2022

androidx.wear.compose:compose-foundation:1.1.0-rc01 , androidx.wear.compose:compose-material:1.1.0-rc01 , and androidx.wear.compose:compose-navigation:1.1.0-rc01 are released . সংস্করণ 1.1.0-rc01-এ এই কমিট রয়েছে।

বাগ ফিক্স

  • We have added baseline profile rules for Placeholders , ScrollAway , RadioButton , Switch , Checkbox , OutlinedButton , OutlinedCompactButton , OutlinedChip and OutlinedCompactChip . ( I8249c )
  • We have fixed a bug in Modifier.scrollAway so that if the specified itemIndex is invalid (for example, if that item index is out of range), then the TimeText will now still be displayed. ( I2137a )
  • We have updated the SwipeToDismissBox animation to match the platform implementation. After the initial squeeze animation, the screen now slides off to the right once the dismissal has been triggered. ( I41d34 )
  • As an optimization, we have updated Modifier.scrollAway to only read the scrollState inside the measure block to avoid recomposing the modifier after each remeasure. ( I4c6f1 )
  • We have added documentation and a sample to placeholders to show the correct ordering for Modifier.placeholder and Modifier.placeholderShimmer when applied to the same composable. ( Ie96f4 , b/256583229 )
  • We have changed the default border width for an OutlinedCompactChip/OutlinedChip from 2.dp to 1.dp to match final UX specs. ( Ib3d8e )
  • We have fixed a bug in rememberPickerState where updated inputs were not saved, so that composables were not updated after changes to the inputs. ( I49ff6 , b/255323197 )
  • We have made some UI updates to the placeholders, 1) change the shimmer gradient to 1.5x the screen size, 2) add easing (cubic bezier) of the shimmer progression and 3) speed up the wipe-off animation (250ms). ( Id29c1 )
  • We have corrected a UI bug in the placeholder wipeOff effect where Chip and Card backgrounds were wiping off slightly early due to not taking the component's position on screen into account. ( I2c7cb )
  • We have updated the placeholder background drawing to merge colors rather than layer them where possible to reduce the risk of alpha blending of the different cropped layers from allowing underlying colors to bleed through at the placeholder background edges. ( I2ea26 )
  • We have corrected the calculation of ScalingLazyListState.centerItemIndex/centerItemOffset so that if two items sit either side of the viewport center line the one that is closest will be considered as the centerItem . ( I30709 , b/254257769 )
  • We have corrected a bug in the ScalingLazyListState.layoutInfo.visibleItemsInfo which was reporting incorrect offsets during ScalingLazyColumn initialization. Now an empty list will be returned until all list items are visible and have the correct offsets. Check for ScalingLazyListState.layoutInfo.visibleItemsInfo.isNotEmpty() will confirm that the ScalingLazyColumn initialization is complete and items are visible. ( I3a3b8 )

সংস্করণ 1.1.0-beta01

24 অক্টোবর, 2022

androidx.wear.compose:compose-foundation:1.1.0-beta01 , androidx.wear.compose:compose-material:1.1.0-beta01 , and androidx.wear.compose:compose-navigation:1.1.0-beta01 are released . সংস্করণ 1.1.0-beta01-এ এই কমিট রয়েছে।

What's in Compose for Wear OS 1.1

The 1.1.0-beta01 of Compose for Wear OS indicated that this release of the library is feature complete and the API locked.

  • Wear Compose 1.1 release includes the following new functionality:
    • Picker - Accessibility improvements to Picker so that multi-picker screens are navigable with screen readers and the content description is accessible
    • Picker contentDescription parameter is now used only for the selected Picker option and takes a nullable String (in the previous commit, it was necessary to pass a mapping from option to the content description, but only the selected option was used).
    • Picker items are now always center-aligned, fixing a bug when setting gradientRatio to zero had the side-effect of changing the alignment.
    • Chip/ToggleChip - We have updated the default gradients for Chip/ToggleChip to bring them in line with the latest UX spec. ChipDefaults.gradientBackgroundChipColors has been updated to start from 50% of primary rather than 32.5%.
    • Chip/ToggleChip - Added overloads for modifying Chip shapes
    • Chip/Button/ToggleButton - Added a new outlined style for Chips and Buttons and new OutlinedChip and OutlinedButton composables that provide a transparent Chip/Button with a thin border.
    • Card - Updated the default gradients for Cards to bring them in line with the latest UX spec. CardDefaults.cardBackgroundPainter has been updated to start from 30% of primary and end at 20% of onSurfaceVariant (was previously 20% to 10% onSurfaceVariant ). ToggleChip.toggleChipColors changes from a linear gradient of 75% surface to 32.5% primary to 0% surface to 50% primary.
    • Button/ToggleButton - Added properties for modifying button shapes.
    • Theme - Updated a number of the default colors in the MaterialTheme in order to improve accessibility as the original colors did not have sufficient contrast resulting in difficulties for users to differentiate chip/card/button backgrounds from the theme background color.
    • InlineSlider/Stepper - Button roles added so that Talkback can recognise them as buttons.
    • Scaffold - PositionIndicator now is positioned and sized so that it only takes the space needed. This is useful, for example, if semantic information is added to it, talkback now gets the correct bounds of the PositionIndicator on screen.
    • CurvedText/TimeText - Added Modifier.scrollAway , which scrolls an item vertically in/out of view, based on scroll state (with overloads to work with Column , LazyColumn and ScalingLazyColumn ). ScrollAway is typically used to scroll a TimeText out of view as the user starts to scroll a list of items upwards.
    • CurvedText/TimeText - Added support for fontFamily , fontStyle and fontSynthesis in CurvedTextStyle , usable on curvedText and basicCurvedText
    • CurvedText/TimeText - Added fontWeight to the constructor and copy method on CurvedTextStyle
    • ToggleControls - Added animated Checkbox , Switch and RadioButton toggle controls for use with ToggleChip and SplitToggleChip . These can be used instead of the static icons provided by ToggleChipDefaults ( switchIcon , checkboxIcon and radioIcon ).
    • Placeholder - Added experimental placeholder support. This has three distinct visual effects designed to work together.
    • Firstly a placeholder background brush effect used in containers such as Chip and Cards to draw over the normal background when waiting for content to load.
    • Secondly a modifier ( Modifier.placeholder() ) to draw a stadium shaped placeholder widget over the top of content that is being loaded.
    • Thirdly a modifier gradient/shimmer effect ( Modifier.placeholderShimmer() ) that is drawn over the top of the other effects to indicate to users that we are waiting for data to load.
      • All of these effects are designed to be coordinated and shimmer and wipe-off in an orchestrated fashion.
  • Core Compose dependencies updated from 1.2 to 1.3

এপিআই পরিবর্তন

  • Font parameters ( fontFamily , fontWeight , fontStyle & fontSynthesis ) can now be specified directly as parameters of curvedText ( Idc422 )

বাগ ফিক্স

  • curveText and basicCurvedText will now work properly with talkback (the have a properly sized and placed (but empty) compose-ui node associated with them, using the text as content description) ( I7af7c , b/210721259 )
  • Bug fix to the Picker when PickerState.repeatedItems = false to add an explicit setting of autoCentering params on the Pickers internal ScalingLazyColumn to ensure that it is possible to scroll the zero'th option to the center of the view. ( I8a4d7 )

সংস্করণ 1.1.0-Alpha07

5 অক্টোবর, 2022

androidx.wear.compose:compose-foundation:1.1.0-alpha07 , androidx.wear.compose:compose-material:1.1.0-alpha07 , and androidx.wear.compose:compose-navigation:1.1.0-alpha07 are released . সংস্করণ 1.1.0-ALPHA07 এর মধ্যে এই কমিট রয়েছে।

নতুন বৈশিষ্ট

  • We have added experimental placeholder support. This has three distinct visual effects designed to work together. Firstly a placeholder background brush effect used in containers such as Chip and Cards to draw over the normal background when waiting for content to load. Secondly a modifier ( Modifier.placeholder() ) to draw a stadium shaped placeholder widget over the top of content that is being loaded. Thirdly a modifier gradient/shimmer effect ( Modifier.placeholderShimmer() ) that is drawn over the top of the other effects to indicate to users that we are waiting for data to load. All of these effects are designed to be coordinated and shimmer and wipe-off in an orchestrated fashion. ( I3c339 )

এপিআই পরিবর্তন

  • Added support for fontWeight , fontFamily , fontStyle and fontSynthesis in CurvedTextStyle , usable on curvedText and basicCurvedText . Those parameter can be used to specify the font and style to use on the curved text.( Iaa1a8 ),( I72759 )
  • Updated Modifier.scrollAway 's offset parameter to Dp for consistency with Modifier.offset (previously it was in pixels). Also, refactored as a LayoutModifier for efficiency. ( I9f94b )
  • As part of the new toggle controls API, we have renamed RadioButton's circleColor to ringColor . ( I28fa9 )
  • We have added animated Checkbox , Switch and RadioButton toggle controls for use with ToggleChip and SplitToggleChip . These can be used instead of the static icons provided by ToggleChipDefaults ( switchIcon , checkboxIcon and radioIcon ). ( I8a8c4 )

সংস্করণ 1.1.0-alpha06

21শে সেপ্টেম্বর, 2022

androidx.wear.compose:compose-foundation:1.1.0-alpha06 , androidx.wear.compose:compose-material:1.1.0-alpha06 , and androidx.wear.compose:compose-navigation:1.1.0-alpha06 are released . সংস্করণ 1.1.0-alpha06-এ এই কমিট রয়েছে।

নতুন বৈশিষ্ট

  • We have added Modifier.scrollAway , which scrolls an item vertically in/out of view, based on scroll state (with overloads to work with Column , LazyColumn and ScalingLazyColumn ). ScrollAway is typically used to scroll a TimeText out of view as the user starts to scroll a list of items upwards. ( I61766 )

বাগ ফিক্স

  • The PositionIndicator now is positioned and sized so that it only takes the space needed. This is useful, for example, if semantic information is added to it, talkback now gets the correct bounds of the PositionIndicator on screen. ( Ie6106 , b/244409133 )

সংস্করণ 1.1.0-alpha05

7 সেপ্টেম্বর, 2022

androidx.wear.compose:compose-foundation:1.1.0-alpha05 , androidx.wear.compose:compose-material:1.1.0-alpha05 , and androidx.wear.compose:compose-navigation:1.1.0-alpha05 are released . সংস্করণ 1.1.0-alpha05 এই কমিট ধারণ করে।

বাগ ফিক্স

  • Button roles were added to InlineSlider and Stepper so that Talkback can recognise them as buttons. ( Icb46c , b/244260275 )
  • We have corrected the z-order of position and page indicators in the Scaffold. The indicators will now sit on top of the vignette and so will not be obscured by the vignette if it is present. ( Ib988f , b/244207528 )

সংস্করণ 1.1.0-alpha04

24 আগস্ট, 2022

androidx.wear.compose:compose-foundation:1.1.0-alpha04 , androidx.wear.compose:compose-material:1.1.0-alpha04 , and androidx.wear.compose:compose-navigation:1.1.0-alpha04 are released . সংস্করণ 1.1.0-alpha04 এই কমিট ধারণ করে।

এপিআই পরিবর্তন

  • We have updated a number of the default colors in the MaterialTheme in order to improve accessibility as the original colors did not have sufficient contrast resulting in difficulties for users to differentiate chip/card/button backgrounds from the theme background color. The updated colors are surface(0xFF202124->0xFF303133), onPrimary(0xFF202124->0xFF303133), onSecondary(0xFF202124->0xFF303133), primaryVariant(0xFF669DF6->0xFF8AB4F8) and onError(0xFF202124->0xFF000000). The changes in colors though relatively subtle may impact existing screenshot tests. ( 81ab09 )

বাগ ফিক্স

  • Fix a logic bug in ScalingLazyColumn that could result in lists with a small (typically exactly 2) number of list items not completing initialization and as a result being transparent. ( 504347 )

সংস্করণ 1.1.0-alpha03

10 আগস্ট, 2022

androidx.wear.compose:compose-foundation:1.1.0-alpha03 , androidx.wear.compose:compose-material:1.1.0-alpha03 , and androidx.wear.compose:compose-navigation:1.1.0-alpha03 are released . সংস্করণ 1.1.0-alpha03 এই কমিট ধারণ করে।

নতুন বৈশিষ্ট

  • We have added a new outlined style for Chips and Buttons and new OutlinedChip and OutlinedButton composables that provide a transparent Chip/Button with a thin border. ( Id5972 )

এপিআই পরিবর্তন

  • Added overloads for modifying button shapes ( Icccde )

বাগ ফিক্স

  • We have corrected the size of the toggle control area of the ToggleChip as it was not matching its UX spec. The UX Spec calls for a 4.dp spacer between the label and a 24x24.dp toggle control icon area giving a total 28.dp width. However the implementation is incorrectly giving 36x24.dp toggle control area. This results in taking away 8.dp of usable text label area. NOTE: This bug fix gives additional space for the text label and as result can (positively) impact the text layout for overflowing text. If you have screenshot tests including ToggleChips they may need to be updated. ( I514c8 , b/240548670 )

সংস্করণ 1.1.0-alpha02

জুলাই 27, 2022

androidx.wear.compose:compose-foundation:1.1.0-alpha02 , androidx.wear.compose:compose-material:1.1.0-alpha02 , and androidx.wear.compose:compose-navigation:1.1.0-alpha02 are released . সংস্করণ 1.1.0-alpha02 এই কমিট ধারণ করে।

নতুন বৈশিষ্ট

  • We have switched Compose for Wear OS dependencies on core Compose libraries from 1.2.0 to 1.3.0-alpha0X

এপিআই পরিবর্তন

  • Added overloads for modifying chip shapes ( I02e87 )

বাগ ফিক্স

  • We have animated the visibility of the vignette when showing/hiding Dialog, to be consistent with the existing scaling animation. ( Ida33e )
  • We have fixed a bug where a divide-by-zero could occur with some fling behavior when scrolling. ( I86cb6 )
  • Fixed a bug in the ChipDefaults.childChipColor() to ensure that the disabled background color is fully transparent. ( I2b3c3 , b/238057342 )

সংস্করণ 1.1.0-alpha01

জুন 29, 2022

androidx.wear.compose:compose-foundation:1.1.0-alpha01 , androidx.wear.compose:compose-material:1.1.0-alpha01 , and androidx.wear.compose:compose-navigation:1.1.0-alpha01 are released . সংস্করণ 1.1.0-alpha01-এ এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • Picker's contentDescription parameter is now used only for the selected Picker option and takes a nullable String (previously, it was necessary to pass a mapping from option to the content description, but only the selected option was used). ( Ife6a7 )
  • We have made accessibility improvements to Picker so that multi-picker screens are navigable with screen readers and the content description is accessible ( I64edb )

বাগ ফিক্স

  • We have updated the baseline profile rules packaged with the Wear Compose library ( I9c694 )
  • We have corrected the direction of the gradient for Chips in right to left mode. Was top left->bottom right, is now top right->bottom left. ( Ic2e77 )
  • We have updated the default gradients for Chip/ToggleChip/Card to bring them in line with latest UX spec. ChipDefaults.gradientBackgroundChipColors has been updated to start from 50% of primary rather than 32.5%. CardDefaults.cardBackgroundPainter has been updated to start from 30% of primary and end at 20% of onSurfaceVariant (was previously 20% to 10% onSurfaceVariant ). ToggleChip.toggleChipColors changes from a linear gradient of 75% surface to 32.5% primary to 0% surface to 50% primary. ( I43bbd )
  • We have added a background color ( MaterialTheme.color.surface ) behind Chip/ToggleChips that have gradient backgrounds in order to ensure that they are properly visible in the unlikely event that a light color is used behind them. ( Ibe1a4 , b/235937657 )
  • Picker items are now always center-aligned, fixing a bug when setting gradientRatio to zero had the side-effect of changing the alignment. ( I712b8 )

সংস্করণ 1.0

সংস্করণ 1.0.2

7 সেপ্টেম্বর, 2022

androidx.wear.compose:compose-foundation:1.0.2 , androidx.wear.compose:compose-material:1.0.2 , and androidx.wear.compose:compose-navigation:1.0.2 are released. Version 1.0.2 contains these commits.

বাগ ফিক্স

  • We have corrected the z-order of position and page indicators in the Scaffold. The indicators will now sit on top of the vignette and so will not be obscured by the vignette if it is present. ( Ib988f , b/244207528 )

সংস্করণ 1.0.1

24 আগস্ট, 2022

androidx.wear.compose:compose-foundation:1.0.1 , androidx.wear.compose:compose-material:1.0.1 , and androidx.wear.compose:compose-navigation:1.0.1 are released. সংস্করণ 1.0.1 এই কমিট ধারণ করে.

বাগ ফিক্স

  • Fix a logic bug in ScalingLazyColumn that could result in lists with a small (typically exactly 2) number of list items not completing initialization and as a result being transparent. ( 076c61 )

সংস্করণ 1.0.0

জুলাই 27, 2022

androidx.wear.compose:compose-foundation:1.0.0 , androidx.wear.compose:compose-material:1.0.0 , and androidx.wear.compose:compose-navigation:1.0.0 are released. সংস্করণ 1.0.0 এই কমিট ধারণ করে.

1.0.0 এর প্রধান বৈশিষ্ট্য

  • This is the first stable release of Compose for Wear OS ( read more ).
  • Compose for Wear OS builds upon the core Compose libraries providing additional wearable-specific components and, where appropriate, alternate implementations of core Compose components tailored to wearable devices.
  • For a list of the key components in Wear Compose see the release notes for ( Compose for Wear OS Beta01 ).

বাগ ফিক্স

  • We have animated the visibility of the vignette when showing/hiding Dialog, to be consistent with the existing scaling animation. ( Ida33e )
  • We have fixed a bug where a divide-by-zero could occur with some fling behavior when scrolling. ( I86cb6 )
  • Fixed a bug in the ChipDefaults.childChipColor() to ensure that the disabled background color is fully transparent. ( I2b3c3 , b/238057342 )

সংস্করণ 1.0.0-rc02

22 জুন, 2022

androidx.wear.compose:compose-foundation:1.0.0-rc02 , androidx.wear.compose:compose-material:1.0.0-rc02 , and androidx.wear.compose:compose-navigation:1.0.0-rc02 are released . সংস্করণ 1.0.0-rc02 এই কমিট ধারণ করে।

বাগ ফিক্স

  • We have corrected the direction of the gradient for Cards in right to left (RTL) mode. It was top left->bottom right, and it is now top right->bottom left. ( Ic2e77 )
  • We have updated the default gradients for Chip/ToggleChip/Card to bring them in line with the latest UX spec. ChipDefaults.gradientBackgroundChipColors has been updated to start from 50% of primary rather than 32.5%. CardDefaults.cardBackgroundPainter has been updated to start from 30% of primary and end at 20% of onSurfaceVariant (was previously 20% to 10% onSurfaceVariant). ToggleChip.toggleChipColors changes from a linear gradient of 75% surface to 32.5% primary to 0% surface to 50% primary. ( I43bbd )
  • We have added a background color ( MaterialTheme.color.surface ) behind Chip/ToggleChips that have gradient backgrounds in order to ensure that they are properly visible in the unlikely event that a light color is used behind them. ( Ibe1a4 , b/235937657 )
  • We have updated the baseline profile rules packaged with the Wear Compose library ( I9c694 )

সংস্করণ 1.0.0-rc01

15 জুন, 2022

androidx.wear.compose:compose-foundation:1.0.0-rc01 , androidx.wear.compose:compose-material:1.0.0-rc01 , and androidx.wear.compose:compose-navigation:1.0.0-rc01 are released . সংস্করণ 1.0.0-rc01 এই কমিট ধারণ করে।

এপিআই পরিবর্তন

  • Interfaces in compose libraries are now built using jdk8 default interface methods ( I5bcf1 )

বাগ ফিক্স

  • We have removed the explicit call to fillMaxWidth() on list header as it is not needed and can result in problems if a ScalinglazyColumn has a mixture of ListHeader() and Chip() components as the width will tend to grow/shrink as ListHeader items are scrolled in/out of view. ( I37144 , b/235074035 )
  • We have fixed a bug in the ScalingLazyColumn that could result in the list items not drawing correctly until scrolled if the 0th list item was large enough (including padding) ( Ic6159 , b/234328517 )
  • We have made a small adjustment in the ScalingLazyColumn easing as items reach the edge of the screen to match UX spec updates. Old values CubicBezierEasing(0.25f, 0.00f, 0.75f, 1.00f) -> new values CubicBezierEasing(0.3f, 0f, 0.7f, 1f) . To keep the old behavior you can override the scalingParams of ScalingLazyColumn ( Ie375c )
  • We have added padding to the CompactChip in order to ensure that its tap target size is at least 48.dp high to meet the Material accessibility guidelines. This might impact any layouts you have using CompactChips as they will be taking up additional space. ( I3d57c )

সংস্করণ 1.0.0-beta03

জুন 1, 2022

androidx.wear.compose:compose-foundation:1.0.0-beta03 , androidx.wear.compose:compose-material:1.0.0-beta03 , and androidx.wear.compose:compose-navigation:1.0.0-beta03 are released . সংস্করণ 1.0.0-beta03 এই কমিট ধারণ করে।

নতুন বৈশিষ্ট

  • We have made ScalingLazyColumn work in Compose @Preview mode. ( I3b3b6 , b/232947354 )

এপিআই পরিবর্তন

  • We have changed the default value for the ScalingLazyColumn.horizontalAlignment property from Start to CenterHorizontally to ensure that when list items do not fill the entire width of the column they will be aligned for maximum visibility. To switch back to the previous behavior set horizontalAlignment = Alignment.Start .( I9ed4b )

জ্ঞাত সমস্যা

  • CompactChip's tap/touch height is smaller than Material accessibility guidelines. This will be corrected in the next release (15th June) . If you are using CompactChip this will affect your layouts as CompactChips will now have additional padding above and below. Please adjust and test your layouts or see the bug comments for a workaround to use the existing behavior. ( b/234332135 )

বাগ ফিক্স

  • New demo to animate adding or removing a start text on a TimeText . ( I16d75 )
  • Add tests for HorizontalPageIndicator.PagesState ( I64ed0 )
  • Updating TimeText closer to UX specs ( Ib7ea1 )

সংস্করণ 1.0.0-beta02

18 মে, 2022

androidx.wear.compose:compose-foundation:1.0.0-beta02 , androidx.wear.compose:compose-material:1.0.0-beta02 , and androidx.wear.compose:compose-navigation:1.0.0-beta02 are released . সংস্করণ 1.0.0-beta02-এ এই কমিট রয়েছে।

নতুন বৈশিষ্ট

  • Picker now always responds to scroll events even when in read-only mode. This avoids the need for users to first select a Picker by tapping, before they can scroll. In read-only mode, options other than that currently selected are obscured by a shim in gradientColor . ( I72925 )
  • We have changed the UX behavior of Chip/ToggleChip/CompactChip/SplitToggleChip to stop them from doing fillMaxWidth by default. Instead they will grow to fit their contents. To keep the previous behavior simply add modifier = Modifier.fillMaxWidth() ( I60a2c , b/232206371 )

বাগ ফিক্স

  • CurvedTextStyle constructor taking a TextStyle now also respects the fontWeight (This may be added to the constructor and copy methods in future revisions of the API) ( Ieebb9 )
  • Edge swiping improvements. When Modifier.edgeSwipeToDismiss is used and a swipe to the left is triggered from the edge area, it no longer triggers swipe-to-dismiss when swipe direction changes to the right. Previously, it was possible to trigger swipe-to-dismiss by swiping to the left and then swiping to the right.( I916ea )
  • HorizontalPageIndicator now shows up to 6 pages on the screen. If there are more than 6 pages in total, it shows a half-size indicator on the left or right, with a smooth transition between pages.( I2ac29 )
  • Improved default snap behavior on ScalingLazyColumn and Picker ( I49539 )
  • Edge swiping improvements. When Modifier.edgeSwipeToDismiss is used, swipe-to-dismiss only triggers when first touch lands on the edge and swiped to the right, Previously it was possible to trigger swipe-to-dismiss by swiping from any part of the screen if a scroll reaches the start.( I8ca2a )

সংস্করণ 1.0.0-beta01

11 মে, 2022

androidx.wear.compose:compose-foundation:1.0.0-beta01 , androidx.wear.compose:compose-material:1.0.0-beta01 , and androidx.wear.compose:compose-navigation:1.0.0-beta01 are released . সংস্করণ 1.0.0-beta01-এ এই কমিট রয়েছে।

What's in Compose for Wear OS 1.0

The 1.0.0-beta01 of Compose for Wear OS marks an important milestone as the library is feature complete and the API locked.

Wear Compose Material components in the 1.0 release include:

  • Material Theme - used as a replacement for the Compose for Mobile MaterialTheme , provides the colors, shapes and typography for building components on Wearables that implement the Wear Material Design UX guidelines out of the box.
  • Button , CompactButton and ToggleButton - Button offers a single slot to take an icon, image or short text (3 characters max). Circular in shape with recommended sizes for default, large or small buttons. CompactButton offers a single slot to take any content (icon, image or text) and is circular in shape with background size extra small. CompactButton has optional transparent padding around the background that increases the clickable area. ToggleButton is a button that offers a single slot to take any content (short text, icon or image) and has on/off (checked/unchecked) states with coloring and different icons to show whether checked or not
  • Cards - used to display information about applications such as notifications. Flexible design for different use cases with AppCard and TitleCard giving different layouts and support for images as either card contents or backgrounds.
  • Chips - stadium shaped components similar to buttons, but with a larger area and multiple slots to allow for labels, secondary labels and icons. In different sizes and with support for images as backgrounds.
  • ToggleChips and SplitToggleChips - a Chip with a checked/unchecked state and the addition of a ToggleControl slot to show an icon such as a switch or radio button to show the checked state of the component. In addition, the SplitToggleChip has two tappable areas, one clickable and one toggleable.
  • CircularProgressIndicator - Wear Material progress indicator with two variations. The first expresses the proportion of completion of an ongoing task and supports a gap in the circular track between start and end angles. The second indicates indeterminate progress for an unspecified wait time.
  • curvedText - forms part of the DSL for describing CurvedLayouts , along with curvedRow and curvedColumn , to lay out components around circular devices. See Wear Component Foundation below for more details on CurvedLayout and CurvedModifier (this plays a similar role to Modifiers in the non curved world and allows for configuration of various aspects of layout, padding, gradients, etc).
  • Dialog, Alert and Confirmation - Dialog displays a full-screen dialog, layered over any other content, and supports swipe-to-dismiss. It takes a single slot which is expected to be opinionated Wear Material dialog content such as Alert or Confirmation. Alert is opinionated dialog content with slots for icon, title and message. It has overloads for either two negative and positive buttons shown side-by-side or a slot for one or more vertically stacked chips. Confirmation is opinionated dialog content that displays a message for a given duration. It has a slot for an icon or image (that could be animated).
  • HorizontalPageIndicator - shows horizontal page position in a fashion appropriate to the Wearable form factor. Designed to take the full screen and show a curved indicator on round devices. Can be used with the Accompanist page viewer.
  • Icon - A Wear implementation of Icon which takes color and alpha from the Wear Material Theme. For a clickable icon, see Button or Chip.
  • Picker - displays a scrollable list of items from which to pick. By default, items will be repeated 'infinitely' in both directions. Can be displayed in read-only mode to hide unselected options.
  • PositionIndicator - shows scroll position or other positional indication in a fashion appropriate to the Wearable form factor. Designed to take the full screen and shows a curved indicator on round devices.
  • Scaffold - implements the basic Wear Material Design visual layout structure. This component provides an API to put together several Wear Material components (such as TimeText , PositionIndicator and Vignette ) constructing the screen, ensuring proper layout strategy for them and collecting necessary data so these components will work together correctly.
  • ScalingLazyColumn - a scrolling scaling/fisheye list component that forms a key part of the Wear Material Design language. Provides scaling and transparency effects to the content items. ScalingLazyColumn is designed to be able to handle potentially large numbers of content items, which are only materialized and composed when needed.
  • Slider - allows users to make a selection from a range of values. The range of selections is shown as a bar, which can optionally be displayed with separators.
  • Stepper - a full-screen component that allows users to make a selection from a range of values, using increase/decrease buttons at the top and bottom of the screen, with a slot in the middle for Text or a Chip.
  • SwipeToDismissBox - handles the swipe-to-dismiss gesture. It takes a single slot for the background (only displayed during the swipe gesture) and the foreground content. Can optionally be combined with the androidx navigation library by using SwipeDismissableNavHost (see Wear Compose Navigation library below).
  • Text - A Wear implementation of the Compose Material Text component, taking color and alpha from the Wear Material Theme
  • TimeText - a component for showing Time and application status at the top of the screen. Adjusts to screen shape by using curved text on round screens.
  • Vignette - a screen treatment for use in the Scaffold that blurs top and bottom of screen when scrollable content is in use.

  • The following components are also included from Wear Compose Foundation:

  • CurvedLayout - Wear Foundation CurvedLayout is a layout composable that places its children in an arc, rotating them as needed. This is similar to a Row layout curved into a segment of an annulus. Note that the content of a CurvedLayout is not a composable lambda - rather, it is a DSL (domain-specific language). All elements in the CurvedLayout's DSL support an optional modifier parameter, created from CurvedModifier .

  • basicCurvedText - an element in the CurvedLayout DSL, basicCurvedText allows developers to easily write curved text following the curvature of a circle (usually at the edge of a circular screen). basicCurvedText can be only created within the CurvedLayout to ensure the best experience, like being able to specify the positioning, and using CurvedModifiers . Note that in most cases curvedText should be used instead, since it uses Material theming.

  • curvedComposable - wraps normal composable content so that it can be used with CurvedLayout . If curvedComposable has several elements inside, they will be drawn on top of each other (like a Box). To put several composables along a curve, wrap each one with curvedComposable .

  • curvedRow and curvedColumn - similar to Row and Column, curvedRow and curvedColumn can be nested inside a CurvedLayout to lay elements out as needed. For a curvedRow , the angular layout direction and radial alignment may be specified. For a curvedColumn , the angular alignment and radial direction may be specified.

  • CurvedModifier - all curved components accept a modifier parameter that can be created using CurvedModifier : background, size, weight and padding are supported.

  • The following component is also included from Wear Compose Navigation:

  • SwipeDismissableNavHost - provides a place in the Compose hierarchy for self-contained navigation to occur, with backwards navigation provided by a swipe gesture. Content is displayed within a SwipeToDismissBox , showing the current navigation level. During a swipe-to-dismiss gesture, the previous navigation level (if any) is shown in the background.

  • See previous release notes for the various Alpha releases for more details of what has been delivered.

এপিআই পরিবর্তন

  • Added CurvedModifier.padding* functions. These are used to specify additional space to be added around a curved component. ( I4dbb4 )
  • Removed CompositionLocal internal class ( I42490 )
  • We have added constant values for Button , CompactButton and ToggleButton icon sizes, as guidance ( I57cab )
  • Add enabled parameter to AppCard and TitleCard . Now they have a similar API to androidx.compose.material Cards. When the parameter is set to false, the card will not be clickable. ( Idc48d , b/228869805 )

বাগ ফিক্স

  • Stepper now disables the decrease and increase buttons when the lower/upper limits have been reached (and applies ContentAlpha.disabled to the iconColor) ( I4be9f )
  • We have added 1dp padding around Picker contents when drawn with a gradient to prevent jitter on text seen when swiping. ( I0b7b9 )
  • Add screenshot tests for PositionIndicator ( I5e8bc )
  • Add more tests for AppCard and TitleCard ( I85391 , b/228869805 )

Version 1.0.0-alpha21

20 এপ্রিল, 2022

androidx.wear.compose:compose-foundation:1.0.0-alpha21 , androidx.wear.compose:compose-material:1.0.0-alpha21 , and androidx.wear.compose:compose-navigation:1.0.0-alpha21 are released . Version 1.0.0-alpha21 contains these commits.

নতুন বৈশিষ্ট

  • Added new curved modifiers to specify the background of a curved element: CurvedModifier.background , .radialGradientBackground and .angularGradientBackground ( I8f392 )
  • Allow curved text overflow mode (clip/ellipsis/visible) to be specified. ( I8e7aa )
  • Added CurvedModifier.weight modifier, similar to the one in Compose. This can be used on children of curvedRow and CurvedLayout (for width) and children of curvedColumn (for height). ( I8abbd )
  • Added CurvedModifier.size , .angularSize and .radialSize modifiers to specify the size of a curved element. ( I623c7 )

এপিআই পরিবর্তন

  • Reorder parameters to ensure background is before color consistently across the Wear Compose API ( I43208 )
  • Removed clockwise & insideOut parameters and replaced with more expressive constants on new classes. Curved layout direction can now be LayoutDirection aware, and it is inherited when not specified ( If0e6a )
  • We have replaced autoCenter: Boolean with autoCenter: AutoCentringParams in order to fix an API issue with the ScalingLazyColumn . ( Ia9c90 )
  • We have renamed iconTintColor and toggleControlTintColor to iconColor and toggleControlColor throughout the API (Chip/ToggleChip/Dialog/Slider/Stepper/...) as the color is applied to the icon/toggleControl slot. ( Ied238 )
  • Rewrite PageIndicatorStyle enum into value class ( I2dc72 )
  • We have added RowScope/ColumnScope/BoxScope to some of the slots in our Composables to indicate to developers what the layouts assumptions are. This will allow developers to use additional modifiers on some slot content and avoid the need to provide extra layout elements. Additionally we have made some minor updates to the AppCard/TitleCard colors so that timeColor and appColor default to contentColor , these properties can still all be individually overridden if needed. ( I26b59 )
  • Made SwipeToDismissBoxState.Companion object private ( I39e84 )
  • Fix parameters order for InlineSlider and Stepper . A simple change to follow api guidelines ( I11fec )
  • We have removed the Saver object for SwipeToDismissBoxState as it was not used. ( Ifb54e )
  • We have updated CompactChip to bring it inline with the latest UX Specification. Padding has been reduced to horizontal = 12.dp and vertical = 0.dp. The font for label has been changed from button to caption1. The recommended icon sizes are 20x20 when both icon and label are present and 24x24 for an icon only compact chip. For the icon only use case we have also ensured that the icon is center aligned. ( Iea2be )
  • We have added a number of new fields to ScalingLazyListLayoutInfo to enable developers to know the amount of contentPadding and autoCenteringPadding that has been applied. These can be useful for developers when calculating fling/scroll ( I7577b )
  • We have implemented in/out transitions for Dialog. A showDialog parameter has been added and the Dialog now controls its own visibility (this enables Dialog to run the intro and outro animations when the Dialog is shown/hidden). Note that the outro animation is not performed when the user leaves the dialog via swipe-to-dismiss. We have also added a default value for state in the recently added SwipeToDismissBox overload. ( I682a0 )
  • In order to better support i18n and a11y we have changed ToggleChip and SplitToggleChip so that they no longer have a default for the toggleControl slot. We have also changed ToggleChipDefaults so that the following methods now return ImageVector rather than Icon (note that as they no longer return @Composables they have changed to start with lower case), SwitchIcon()->switchIcon() , CheckboxIcon->checkboxIcon() and RadioIcon()->radioIcon() - this allows and encourages developers to create their own Icon() composables with an appropriate contentDescription set. ( I5bb5b )
  • We have added a SwipeDismissableNavHostState parameter to SwipeDismissableNavHost . This supports use of edge-swiping on screens used as navigation destinations, because SwipeToDismissBoxState can now be hoisted and used to initialize both SwipeDismissableNavHostState and Modifier.edgeSwipeToDismiss on screens that require edge-swiping. ( I819f5 , b/228336555 )

বাগ ফিক্স

  • Ensure curved layouts are updated when needed. ( Ie8bfa , b/229079150 )
  • Bug fix for https://issuetracker.google.com/issues/226648931 ( Ia0a0a , b/226648931 )
  • Removed unnecessary experimental annotations ( I88d7e )

Version 1.0.0-alpha20

6 এপ্রিল, 2022

androidx.wear.compose:compose-foundation:1.0.0-alpha20 , androidx.wear.compose:compose-material:1.0.0-alpha20 , and androidx.wear.compose:compose-navigation:1.0.0-alpha20 are released . Version 1.0.0-alpha20 contains these commits.

নতুন বৈশিষ্ট

  • Add edgeSwipeToDismiss modifier for SwipeToDismiss . Allows swipeToDismiss to be active only on the left edge of the viewport. Used when the center of the screen needs to be able to handle horizontal paging, such as 2-d scrolling a Map or swiping horizontally between pages.( I3fcec , b/200699800 )

এপিআই পরিবর্তন

  • Base implementation of CurvedModifiers , this opens the way to introduce ways to customize curved content (but no CurvedModifiers are provided yet, and the ability to create custom modifiers may be available later) ( I9b8df )
  • EdgeSwipe modifier documentation and default values update for better understanding .( I6d00d )
  • Add PageIndicator slot into Scaffold. By adding PageIndicator directly into Scaffold we might assure that it will be correctly shown on circular devices. ( Ia6042 )
  • Remove default Icons from InlineSlider and Stepper parameters. This will help developers to be more attentive to localization and accessibility requirements. Usages of default icons were shown in demos and samples. ( I7e6fd )
  • Replace Trailing and Leading parameter names with Start and End in TimeText ( Iaac32 )
  • We have added a SwipeToDismissBox overload with an onDismissed parameter to support the common usage of triggering a navigation event when the swipe gesture has completed. ( I50353 , b/226565726 )
  • Removed ExperimentalWearMaterialApi annotations from TimeText usage ( Ide520 )
  • We have marked ScalingLazyList/Column scope and info interfaces as sealed as they are not intended for external developers to implement and this will allow us to add new members in them in future without binary breaking changes. ( I7d99f )
  • We have added a new flingBehaviour property to the Picker and a PickerDefaults.flingBehaviour() method to enable configuration of the fling behavior such as adding RSB support. PickerState now implements the ScrollableState interface. ( Ib89c7 )

বাগ ফিক্স

  • Update the Android Runtime (ART) baseline profile rules for Wear Compose libraries. ART can leverage profile rules on devices in order to compile ahead-of-time a specific subset of the application to improve the performance of the application. Note that this will have no effect on debuggable applications. ( Iaa8ef )
  • Improve documentation ( I2c051 )

Version 1.0.0-alpha19

23 মার্চ, 2022

androidx.wear.compose:compose-foundation:1.0.0-alpha19 , androidx.wear.compose:compose-material:1.0.0-alpha19 , and androidx.wear.compose:compose-navigation:1.0.0-alpha19 are released . Version 1.0.0-alpha19 contains these commits.

এপিআই পরিবর্তন

  • Renamed CurvedRow to CurvedLayout , and reworked to be a scope with a DSL. Using this DSL, more complex curved layouts can be specified using a series of nested curvedRow and curvedColumn (Which are the curved layout equivalents of Row and Column). Inside these layout elements, three elements can be used: curvedComposable (to add any @Composable), basicCurvedText (foundation's curved text) and curvedText (wear material aware curved text). ( Ib776a )
  • Make the side for the PositionIndicator configurable. The basic PositionIndicator's position can now be configured to be End (layout direction-aware), OppositeRsb (takes into account screen rotation, to position itself opposite to the physical RSB), or the absolutes Left & Right. ( I2f1f3 )
  • For SwipeToDismissBox , we have renamed SwipeDismissTarget .Original to SwipeToDismissValue.Default and SwipeDismissTarget.Dismissal to SwipeToDismissValue.Dismissed . We have also moved SwipeToDismissBoxDefaults.BackgroundKey and SwipeToDismissBoxDefaults.ContentKey to SwipeToDismissKeys.Background , SwipeToDismissKeys.Content respectively. ( I47a36 )
  • We have added a read-only mode to Picker, for screens with multiple Pickers where only one Picker is editable at a time. When the Picker is read-only, it displays the currently selected option, and a label if one has been provided. ( I879de )
  • SwipeToDismissBoxState has been refactored to restrict the scope of ExperimentalWearMaterialApi to Modifier.swipeable and SwipeableState , which are now used internally. SwipeToDismissBoxState now has currentValue , targetValue , isAnimationRunning and snapTo members to support common use cases - please let us know if you require any further properties to be made available. Also fixed the behavior of SwipeableState in the case where the swipe offset is within a rounding error of an anchor. ( I58302 )

বাগ ফিক্স

  • Simplified and fixed code to detect if the content of a ScalingLazyColumn can be scrolled (used to decide if we display a scrollbar or not) ( I7bce0 )
  • Fixed a bug on Position Indicator when used with more than one state and switching between them ( I320b5 )
  • We have updated the default Compose for Wear OS theme typography/fonts to match our latest UX guidance. Of note display1 (40.sp) and display2 (34.sp) are now smaller than their previous values and various other minor updates to line height and line spacing have been made. ( Ie3077 )
  • We have added resistance to SwipeToDismissBox so that motion only happens when swiping to dismiss and not at all in the opposite direction. ( Ifdfb9 )
  • We have changed some of the default parameter values for the CircularProgressIndicator functions to bring them in-line with Wear Material Design UX guidance. For the Spinner/Indeterminant version the size (40->24.dp), indicatorColor (primary->onBackground), trackColor transparency (30%->10%) and stroke width (4->3dp) have been updated. For the Progress/Determinate version the trackColor transparency (30%->10%) has been updated. ( I659cc )
  • We have updated the default scaling params of the ScalingLazyColumn in-line with the latest Wear Material Design UX specifications. Visually this results in list items starting to be scaled closer to the list center, but being less scaled at the list edge than before. ( Ica8f3 )
  • Some adjustments to ScalingLazyColumnDefaults.snapFlingBehavior to improve the end of the animation ( If3260 )

Version 1.0.0-alpha18

9 মার্চ, 2022

androidx.wear.compose:compose-foundation:1.0.0-alpha18 , androidx.wear.compose:compose-material:1.0.0-alpha18 , and androidx.wear.compose:compose-navigation:1.0.0-alpha18 are released . Version 1.0.0-alpha18 contains these commits.

এপিআই পরিবর্তন

  • Several improvements to PositionIndicator: ShowResult renamed PositionIndicatorVisibility. Some performance improvements to avoid recomputations when not needed ( Iaed9d )
  • The recommended coloring for the SplitToggleChip has been updated. SplitToggleChip's now have a solid colored background when checked or unchecked with the coloring of the ToggleControl being the primary indication of whether the component is checked or not. We have added a new ToggleDefaults.splitToggleChipColors() to support the new color scheme. We have also simplified the toggleChipColors() methods removing the splitBackgroundOverlayColor ( I7e66e )
  • We have added unadjustedSize to the ScalingLazyListItemInfo as it is not safe to calculate the original item size using the scaled size and scaling factor due to float maths precision. ( I54657 , b/221079441 )
  • Add HorizontalPageIndicator . It represents a total number of pages and a selected page. Might be linear or curved, depending on the shape of the device. It also supports custom indicator shape, which defines how each indicator is visually represented. ( Iac898 )
  • We have updated PickerState so that the numberOfOptions can be updated. This supports use-cases such as a DatePicker , when the number of days in the month changes depending on the month selected. The constructor parameter for PickerState has changed to initialNumberOfOptions accordingly. ( Iad066 )
  • Hide the PositionIndicator when is a scrollbar and can't scroll. ( Id0a7f )
  • For consistency with Scaffold, our full-screen Dialog component now displays a PositionIndicator and a Vignette . We are also now using ScalingLazyColumn instead of Column , which means that the Dialog contents are now in ScalingLazyListScope (and typically need to be enclosed by item { /* content */ }). Dialog supports the verticalArrangement parameter accordingly. ( Idea13 )
  • We have changed the name of ToggleChip and SplitToggleChip toggleIcon property to toggleControl to better align with Material Design in order to help designers and developers navigate the API. ( If5921 , b/220129803 )
  • We have added a new entry caption3 to the Wear Material Theme Typology.Caption3 is a small font used for the extra long-form writing like legal texts. ( I74b13 , b/220128356 )

বাগ ফিক্স

  • Stop the snapping animation when we are there. ( Idb69d )
  • Animate changes in PositionIndicator. ( I94cb9 )
  • Based on UI/UX feedback we have changed the ScalingLazyColumn autoCentering so that it will provide only enough space to make sure the items with index ScalingLazyListState.initialCenterItemIndex or higher will be able to be fully scrolled to the center of the viewport. This allows developers to place one or two items about the item initially in the center which are not scrollable into the middle. This will mean that an autoCenter'ing ScalingLazyColumn will not be able to scroll above the initialCenterItemIndex/initialCenterItemScrollOffset ( I22ee2 )
  • We have added a demo for a Date Picker and fixed a bug in PickerState where the initiallySelectedOption was not applied until the Picker had been displayed. ( Id0d7e )
  • In order to reduce the clipping of wider ScalingLazyColumn items on circular screens we have increased the default horizontal content padding from 8 to 10 dp. ( I0d609 )
  • Ensure the PositionIndicator is shown when scrolling. ( Ied9a2 )

Version 1.0.0-alpha17

23 ফেব্রুয়ারি, 2022

androidx.wear.compose:compose-foundation:1.0.0-alpha17 , androidx.wear.compose:compose-material:1.0.0-alpha17 , and androidx.wear.compose:compose-navigation:1.0.0-alpha17 are released . Version 1.0.0-alpha17 contains these commits.

নতুন বৈশিষ্ট

  • We have added snap support that can be used with ScalingLazyColumn . Set flingBehavior = ScalingLazyColumnDefaults.flingWithSnapBehavior(state) to enable snap support. ( I068d3 , b/217377069 )
  • We have added demos for Picker used to select a time in either 24 hour or 12 hour clock. ( Ie5552 )

এপিআই পরিবর্তন

  • Fix an issue with TimeText custom fonts & styles on square device ( Iea76e )
  • ScalingLazyListLayoutInfo now has reverseLayout , viewportSize and orientation properties matching those from LazyListLayoutInfo ( I4f258 , b/217917020 )
  • ScalingLazyColumn now has a userScrollEnabled property matching that from LazyList ( I164d0 , b/217912513 )
  • Pickers now have a gradient on the top and bottom by default ( Iab92a )

বাগ ফিক্স

  • We have modified ScalingLazyColumn so that it no longer greedily fills all of the space in its parent. Instead it will take its size from the size of its contents. This makes it consistent with the behaviour of LazyColumn . If you want to reinstate the old behaviour then pass Modifier.fillMaxWidth()/width()/widthIn() to the ScalingLazyColumn ( I51bf8 )
  • We have improved the exception message in SwipeDismissableNavHost.kt that was triggered if the navigation backstack was empty. ( I1b1dc )

Version 1.0.0-alpha16

ফেব্রুয়ারী 9, 2022

androidx.wear.compose:compose-foundation:1.0.0-alpha16 , androidx.wear.compose:compose-material:1.0.0-alpha16 , and androidx.wear.compose:compose-navigation:1.0.0-alpha16 are released . Version 1.0.0-alpha16 contains these commits.

নতুন বৈশিষ্ট

  • Add CircularProgressIndicator . Progress indicators display the length of a process or an unspecified wait time. Supports a gap (cutout) for TimeText or other components if used full-screen. ( Iab8da )

এপিআই পরিবর্তন

  • Pickers now have a flingBehavior parameter, the default value makes them snap to the closest option when scrolling/flinging. ( I09000 )
  • Additional integer API for InlineSlider and Stepper ( I1b5d6 )

বাগ ফিক্স

  • We have changed the default initialCenterItemIndex for the ScalingLazyListState from 0->1. This means that unless overridden on state construction with ScalingLazyListState.rememberScalingLazyListState(initialCenterItemIndex = ) then the 2nd list item (index == 1) will be placed in the center of the viewport at initialization and the 1st (index == 0) item will be placed before it. This allows for a better default visual effect out of the box as most of the viewport will be filled with list items. ( I0c623 , b/217344252 )
  • We have reduced the ScalingLazyColumn default extraPadding that is provided to ensure that there are plenty of list items to draw (even when we are scaling some of them down in size) from 10% to 5%. This will avoid composing extra list items that might not appear in the viewport. If non standard scalingParams are being used (more extreme scaling for instance) the developer can adjust extra padding using viewportVerticalOffsetResolver . ( I76be4 )
  • Fix an issue with TimeText on multiple lines on square device ( Ibd3fb )
  • We have modified ScalingLazyColumn so that it no longer greedily fills all of the space in its parent. Instead it will take its size from the size of its contents. This makes it consistent with the behavior of LazyColumn . If you want to reinstate the old behavior then pass Modifier.fillMaxSize() to the ScalingLazyColumn - NOTE: This change is incomplete and will be addressed in a follow up change in the next Alpha release. ( I3cbfa )

Version 1.0.0-alpha15

জানুয়ারী 26, 2022

androidx.wear.compose:compose-foundation:1.0.0-alpha15 , androidx.wear.compose:compose-material:1.0.0-alpha15 , and androidx.wear.compose:compose-navigation:1.0.0-alpha15 are released . Version 1.0.0-alpha15 contains these commits.

এপিআই পরিবর্তন

  • We have added a new property autoCentering to the ScalingLazyColumn . When true (the default) this will ensure that all items including the first and last can be scrolled so that they are visible in the center of the lists viewport. Note that if using auto-centering you will probably want to set vertical content padding to 0.dp. If both autoCentering and vertical content padding are provided then they will both result in additional space being available before the first and after the last list items allowing them to be scrolled even further. ( I2a282 , b/214922490 )
  • We have added a Dialog component that enables any composable to trigger a full screen dialog that sits on top of other content. When shown, the dialog supports swipe-to-dismiss and will show its parent's content in the background during the swipe gesture. The dialog content is expected to be Alert or Confirmation (renamed from earlier components AlertDialog and ConfirmationDialog ) - Alert , Confirmation and Dialog are all in the androidx.wear.compose.material.dialog package. Alert and Confirmation can be used as navigation destinations. Also, added ColumnScope to Alert and Confirmation parameters as necessary. ( Ia9014 )
  • We have removed onSurfaceVariant2 from the Compose for WearOS Material Theme Colors and replaced uses in the library with onSurfaceVariant . ( Icd592 )
  • Added a method to programmatically select an option on the PickerState , the initially selected option can now also be specified when creating a PickerState . ( I92bdf )
  • We have added support for customizing the fling behavior of the ScalingLazyColumn . ( I1ad2e , b/208842968 )
  • We have added NavController.currentBackStackEntryAsState() to the Wear.Compose.Navigation library. ( If9028 , b/212739653 )
  • Added Modifier.onRotaryScrollEvent() and Modifier.onPreRotaryScrollEvent() for Wear devices with a rotating side button.( I18bf5 , b/210748686 )

Version 1.0.0-alpha14

জানুয়ারী 12, 2022

androidx.wear.compose:compose-foundation:1.0.0-alpha14 , androidx.wear.compose:compose-material:1.0.0-alpha14 , and androidx.wear.compose:compose-navigation:1.0.0-alpha14 are released . Version 1.0.0-alpha14 contains these commits.

নতুন বৈশিষ্ট

  • We have added a number of methods to ScalingLazyListState to allow developer control over scrolling to specific list items and also setting the initial list item and offset.

    As part of this change we have also modified the ScalingLazyList so that it is oriented around the center of the viewport of the ScalingLazyList rather than the start of the viewport.

    A new property anchorType: ScalingLazyListAnchorType = ScalingLazyListAnchorType.ItemCenter has been added to the ScalingLazyList to control whether the center ( ScalingLazyListAnchorType.ItemCenter ) or Edge ( ScalingLazyListAnchorType.ItemStart ) should be aligned to the viewport's centerline.

    As a result the ScalingLazyListItemInfo.offset and ScalingLazyListItemInfo.adjustedOffset have changed and will now reflect the offset of the item with respect to both the position of the list item and the anchorType of the list. Eg for a ScalingLazyColumn with anchorType of ItemCenter and an list item positioned with its center on the centerline of the viewport the offset would be 0 .

    The new methods are scrollTo , animatedScrollTo , centerItemIndex , and centerItemOffset . ( I61b61 )

  • We have added a back button handler to SwipeDismissableNavHost , so that pressing back navigates to the previous level in the navigation hierarchy. ( I5b086 , b/210205624 )

Version 1.0.0-alpha13

15 ডিসেম্বর, 2021

androidx.wear.compose:compose-foundation:1.0.0-alpha13 , androidx.wear.compose:compose-material:1.0.0-alpha13 , and androidx.wear.compose:compose-navigation:1.0.0-alpha13 are released . Version 1.0.0-alpha13 contains these commits.

এপিআই পরিবর্তন

  • We have made RangeIcons internal (referenced internally by InlineSlider and Stepper ). ( I927ec )

বাগ ফিক্স

  • Fixed an issue where SwipeDismissableNavHost would add a destination to the Compose hierarchy before it has reached the CREATED Lifecycle state, resulting in an IllegalStateException . This fix was a prerequisite to updating dependency on navigation-compose to 2.4.0-beta02 and beyond. ( I40a2b , b/207328687 )

  • Added a Drawables enum class for getting drawable resources within the Wear Compose library, so that reflection is no longer needed. This fixes a bug where library drawables were removed when minifyEnabled=true or shrinkResources=true ). ( Ib2a98 )

  • Added tests for Stepper in Wear Compose ( I2d03a )

  • Added samples for SwipeDismissableNavHost in Wear Compose Navigation. ( I85f06 )

সংস্করণ 1.0.0-আলফা12

ডিসেম্বর 1, 2021

androidx.wear.compose:compose-foundation:1.0.0-alpha12 , androidx.wear.compose:compose-material:1.0.0-alpha12 , and androidx.wear.compose:compose-navigation:1.0.0-alpha12 are released . Version 1.0.0-alpha12 contains these commits.

নতুন বৈশিষ্ট

  • We have added a Stepper component which allows users to make a selection from a range of values. Stepper is a full-screen control with increase and decrease buttons at the top and bottom, and a slot in the middle (expected to take either a Chip or Text). The button icons can be customized if required. ( I625fe )

  • We have added 2 new composables for displaying dialogs: AlertDialog waits for a response from the user and displays a title, icon, message and either a) two buttons for simple positive/negative choices or b) vertically stacked chips or toggle chips for more flexible choices, ConfirmationDialog displays an acknowledgement with a timeout. This simple dialog has slots for a title and an (animated) icon. ( Ic2cf8 )

এপিআই পরিবর্তন

  • Add units (millis) to suggested dialog duration values. ( I09b48 )

সংস্করণ 1.0.0-alpha11

17 নভেম্বর, 2021

androidx.wear.compose:compose-foundation:1.0.0-alpha11 , androidx.wear.compose:compose-material:1.0.0-alpha11 , and androidx.wear.compose:compose-navigation:1.0.0-alpha11 are released . Version 1.0.0-alpha11 contains these commits.

নতুন বৈশিষ্ট

  • We have added a picker component that lets the user select an item from a scrolling list. By default, the list of selectable items is repeated 'infinitely' in both directions, to give the impression of a rotating cylinder seen from the side. Two features will be added in later releases: snapping to a value after a swipe/fling; adding a function to PickerState to set/scroll to the current value. ( I6461b )

এপিআই পরিবর্তন

  • Added a ScalingLazyItemScope and some new modifiers fillParentMaxSize/fillParentMaxWidth/fillParentMaxHeight to allow list items to be sized based on the size of the parent container. Items can be set to fill all or a fraction of the parent's size. This exposes functionality already available in the LazyRow/Column ( I4612f )
  • Added support to ScalingLazyColumn to allow items to have a key. Also added convenience methods to allow adding of items from Arrays and Lists. ( Ic1f89 )

বাগ ফিক্স

  • Additional examples for TimeText ( I8cb64 )

সংস্করণ 1.0.0-আলফা10

3 নভেম্বর, 2021

androidx.wear.compose:compose-foundation:1.0.0-alpha10 , androidx.wear.compose:compose-material:1.0.0-alpha10 , and androidx.wear.compose:compose-navigation:1.0.0-alpha10 are released . Version 1.0.0-alpha10 contains these commits.

নতুন বৈশিষ্ট

  • Added an InlineSlider for wear compose. InlineSlider allows users to make a selection from a range of values. The range of selections is shown as a bar between the minimum and maximum values of the range, from which users may select a single value. ( If0148 )

  • Check out the new Compose for WearOS Codelab !

এপিআই পরিবর্তন

  • Macrobenchmark now has a minSdkVersion of 23 . ( If2655 )

বাগ ফিক্স

  • Update transition handling in SwipeDismissableNavHost in a SideEffect ( I04994 , b/202863359 )
  • Update transition handling in SwipeDismissableNavHost ( I1cbe0 , b/202863359 )

সংস্করণ 1.0.0-alpha09

27 অক্টোবর, 2021

androidx.wear.compose:compose-foundation:1.0.0-alpha09 , androidx.wear.compose:compose-material:1.0.0-alpha09 , and androidx.wear.compose:compose-navigation:1.0.0-alpha09 are released . Version 1.0.0-alpha09 contains these commits.

নতুন বৈশিষ্ট

  • We have launched the Developer Preview of Compose on Wear OS - see our blog post which reviews the main composables and links to further resources to starting using them.

এপিআই পরিবর্তন

  • We have added support for developers to be able to customize all of the colors in the Wear Material Design Color theme. ( I4759b , b/199754668 )

বাগ ফিক্স

  • Added SwipeToDismissBox samples that persist state ( Ibaffe )
  • Added links to developer.android.com guides from KDocs for CurvedText, TimeText and SwipeToDismissBox. ( I399d4 )
  • SwipeDismissableNavHost now throws if there's no current destination (indicates that the NavGraph was not built with the wear.compose.navigation.composable utility function) ( I91403 )
  • Added additional documentation and examples for time source usage in TimeText ( I4f6f0 )

সংস্করণ 1.0.0-alpha08

13 অক্টোবর, 2021

androidx.wear.compose:compose-foundation:1.0.0-alpha08 , androidx.wear.compose:compose-material:1.0.0-alpha08 , and androidx.wear.compose:compose-navigation:1.0.0-alpha08 are released . সংস্করণ 1.0.0-alpha08 এই কমিট ধারণ করে।

এপিআই পরিবর্তন

  • We have renamed AppCard and TitleCard body properties to content and moved them to the end of the property list to allow them to be provided as a trailing lambda. Also renamed bodyColor to contentColor for consistency with the new slot names. ( I57e78 )

বাগ ফিক্স

  • Added links to developer.android.com guides from KDocs for button, card, chip, theme, position indicator and scaling lazy column components. ( I22428 )
  • Fix WearOS SwipeToDismissBox sometimes not handling swipes. ( I9387e )
  • Added samples for Button, CompactButton, Chip, CompactChip, AppCard, TitleCard, ToggleButton, ToggleChip, SplitToggleChip ( Iddc15 )
  • Added microbenchmark performance tests for Card, Chip, ToggleChip, TimeText and ScalingLazyColumn. ( If2fe9 )

সংস্করণ 1.0.0-alpha07

29 সেপ্টেম্বর, 2021

androidx.wear.compose:compose-foundation:1.0.0-alpha07 , androidx.wear.compose:compose-material:1.0.0-alpha07 , and androidx.wear.compose:compose-navigation:1.0.0-alpha07 are released . সংস্করণ 1.0.0-alpha07 এই কমিট ধারণ করে।

নতুন বৈশিষ্ট

  • Added a CurvedText component in material, a component allowing developers to easily write curved text following the curvature of a circle (usually at the edge of a circular screen). ( I19593 )

এপিআই পরিবর্তন

  • Added tests for TimeText ( Idfead )
  • Transform ArcPaddingValues into an interface. ( Iecd4c )
  • Added animation to SwipeToDismissBox ( I9ad1b )
  • Added hasBackground parameter to the SwipeToDismissBox API so that the swipe gesture can be disabled when there is no background content to display. ( I313d8 )
  • rememberNavController() now takes a optional set of Navigator instances that will be added to the returned NavController to better support optional Navigators such as those from Accompanist Navigation Material . ( I4619e )
  • Reference NamedNavArgument from navigation-common and remove copy from wear.compose.navigation. ( I43af6 )

বাগ ফিক্স

  • Fixed CurvedRow test flakiness on smaller devices. ( If7941 )
  • Fixed possible flickering on CurvedRow when the content updates, and ensures the curved row is remeasured ( Ie4e06 )
  • ChipDefaults.gradientBackgroundChipColors() has been updated in line with UX Spec changes. The gradient now starts with MaterialTheme.colors.primary with alpha 32.5% and ends with MaterialTheme.colors.surface with alpha @ 0% over a background of MaterialTheme.colors.surface @ 75% alpha. ( Id1548 )
  • We have updated the colors for ToggleChips when in the selected state to match the latest Wear Material Design UX Spec guidance. When selected ToggleChips now have a gradient background from MaterialTheme.color.surface @ 0% alpha, top left, to MaterialTheme.color.primary @ 32% alpha, bottom right, over a background of MaterialTheme.color.surface @ 75% alpha. This results in a more subtle difference between checked and unchecked for the ToggleChip. ( Idd40b )

সংস্করণ 1.0.0-alpha06

15 সেপ্টেম্বর, 2021

androidx.wear.compose:compose-foundation:1.0.0-alpha06 , androidx.wear.compose:compose-material:1.0.0-alpha06 , and androidx.wear.compose:compose-navigation:1.0.0-alpha06 are released . সংস্করণ 1.0.0-alpha06 এই কমিট ধারণ করে।

নতুন বৈশিষ্ট

  • We have added Scaffold a top level application composable that provides a structure for handling PositionIndicators (like Scroll or Volume) position, an area at the top of the screen for displaying the time and application status, and also supports a Vignette to blur the screen top and bottom edge for scrollable content. The main area of the Scaffold is where the application contents are placed. ( I5e0bf )
  • Added TimeText implementation for Wear Compose ( I5654c )

Wear Compose Navigation Library

  • We have added the first release of the Wear Compose Navigation library, which provides integration between the Wear Compose and Androidx Navigation libraries. It provides a simple means to navigate between @Composable functions as the destinations in your application.

  • This initial release provides:

    • A SwipeDismissableNavHost composable that hosts a navigation graph and provides backwards navigation via swipe gestures
    • NavGraphBuilder.composable extension to assist with constructing navigation graphs
    • rememberSwipeDismissableNavController() to allow hoisting state
  • Example usage where we create two screens and navigate between them:

    val navController = rememberSwipeDismissableNavController()
    SwipeDismissableNavHost(
        navController = navController,
        startDestination = "start"
    ) {
        composable("start") {
            Column(
                horizontalAlignment = Alignment.CenterHorizontally,
                verticalArrangement = Arrangement.Center,
                modifier = Modifier.fillMaxSize(),
            ) {
                Button(onClick = { navController.navigate("next") }) {
                    Text("Go")
                }
            }
        }
        composable("next") {
            Column(
                horizontalAlignment = Alignment.CenterHorizontally,
                verticalArrangement = Arrangement.Center,
                modifier = Modifier.fillMaxSize(),
            ) {
                Text("Swipe to go back")
            }
        }
    }
    
  • Wear Compose Navigation is packaged as a separate library so that simple WearCompose applications that implement their own hand-rolled navigation are not required to depend on the Androidx Navigation library.

এপিআই পরিবর্তন

  • Updated SwipeDismissableNavHost to support rememberSaveable by setting the key identity for background and content ( I746fd )
  • We have added a PositionIndicator adapter that can handle LazyListState ( I21b88 )
  • Updated SwipeToDismissBox to support rememberSaveable ( Ie728b )
  • We have added reverseLayout support to the ScalingLazyColumn. This allows for the reversing of the direction of scrolling and layout ( I9e2fc )
  • Deprecated performGesture and GestureScope , which have been replaced by performTouchInput and TouchInjectionScope . ( Ia5f3f , b/190493367 )
  • We have renamed VignetteValue to VignettePosition and renamed VignetteValue.Both renamed to VignettePosition.TopAndBottom. ( I57ad7 )
  • We have renamed ScalingLazyColumnState to ScalingLazyListState, ScalingLazyColumnItemInfo to ScalingLazyListItemInfo, ScalingLazyColumnLayoutInfo to ScalingLazyListLayoutInfo and ScalingLazyColumnScope to ScalingLazyListScope in case we decide to add a ScalingLazyRow implementation in the future. ( I22734 )

বাগ ফিক্স

  • Updated CompactChip documentation to describe what happens if neither an icon nor a label is provided. ( I4ba88 )
  • We have made some adjustments to the Wear card components. ( I6b3d0 )
    1. TitleCard spacing between Title and Body reduced from 8.dp to 2.dp.
    2. TitleCard header font changed from body to title3.
    3. Card background gradient changed to make the background appear darker.

সংস্করণ 1.0.0-alpha05

1 সেপ্টেম্বর, 2021

androidx.wear.compose:compose-foundation:1.0.0-alpha05 and androidx.wear.compose:compose-material:1.0.0-alpha05 are released. 1.0.0-alpha05 সংস্করণে এই কমিট রয়েছে।

এপিআই পরিবর্তন

  • Mark ArcPaddingValues as @Stable ( I57deb )
  • ScalingLazyColumnState now implements the ScrollableState interface giving developers programmatic access to scroll the component. ( I47dbc )

বাগ ফিক্স

  • We have reduced the spacing between Icon and Text in Chip and ToggleChip to bring them in line with updates to the UX Spec. ( I83802 )

সংস্করণ 1.0.0-alpha04

18 আগস্ট, 2021

androidx.wear.compose:compose-foundation:1.0.0-alpha04 and androidx.wear.compose:compose-material:1.0.0-alpha04 are released. সংস্করণ 1.0.0-alpha04 এই কমিট ধারণ করে।

নতুন বৈশিষ্ট

  • Added a SwipeToDismissBox and swipeable modifier that can be used to support a left-to-right swipe-to-dismiss gesture. Although independent of navigation components, this is expected to be used to exit one screen and navigate to another. Added integration tests to demo swipe-to-dismiss. ( I7bbaa )
  • We have added ScalingLazyColumnItemInfo and ScalingLazyColumnLayoutInfo interfaces to ScalingLazyColumnState class to enable developers to know the actual positions and sizes of items in the ScalingLazyColumn after scaling has been applied. We have also fixed a bug with the way that scaling was calculated when 'top' content padding is applied to the ScalingLazyColumn. ( I27c07 )

এপিআই পরিবর্তন

  • Add CurvedTextStyle class to specify curved text styling Options. Similar to TextStyle, but now only supports color, fontSize and background. More styling options will be added in the future. ( I96ac3 )
  • We have added ScalingLazyColumnItemInfo and ScalingLazyColumnLayoutInfo interfaces to ScalingLazyColumnState class to enable developers to know the actual positions and sizes of items in the ScalingLazyColumn after scaling has been applied. We have also fixed a bug with the way that scaling was calculated when 'top' content padding is applied to the ScalingLazyColumn. ( I27c07 )
  • Added @ExperimentalWearMaterialApi to SwipeDismissTarget enum, part of the SwipeToDismissBox API. ( I48b5e )

বাগ ফিক্স

  • Added test material for SwipeToDismissBox ( I9febc )

সংস্করণ 1.0.0-alpha03

4 আগস্ট, 2021

androidx.wear.compose:compose-foundation:1.0.0-alpha03 and androidx.wear.compose:compose-material:1.0.0-alpha03 are released. সংস্করণ 1.0.0-alpha03 এই কমিট ধারণ করে।

এপিআই পরিবর্তন

  • Added CurvedText component, that allows developers to easily write text following the curvature a circle (usually at the edge of a circular screen) ( Id1267 )
  • We have renamed CardDefaults.imageBackgroundPainter() to CardDefaults.imageWithScrimBackgroundPainter() to make it clear that the background image with have a scrim drawn over it. ( I53206 )
  • Adding ScalingLazyColumn component that provides a list component for Wear Material that gives a fisheye view with the list contents scaling down in size and becoming transparent as they scale towards the edge of the component. ( I7070c )

বাগ ফিক্স

  • We changed the default color of the appName content in AppCard in response to a UX Spec update. The default color for the appName is now MaterialTheme.colors.onSurfaceVariant . Additionally added a missing parameter doc description for the title slot. ( Ic4ad1 )

সংস্করণ 1.0.0-alpha02

জুলাই 21, 2021

androidx.wear.compose:compose-foundation:1.0.0-alpha02 and androidx.wear.compose:compose-material:1.0.0-alpha02 are released. সংস্করণ 1.0.0-alpha02 এই কমিট ধারণ করে।

নতুন বৈশিষ্ট

  • Added a new class CurvedRow to laid out composables in an arc ( I29941 )
  • Added a new type of card for use in applications (TitleCard), also add support for having images as the background to Cards to emphasize their contents ( I53b0f )

এপিআই পরিবর্তন

  • Add support for radial alignment to CurvedRow (similar to the vertical alignment in a row) ( Id9de5 )
  • Add a new class CurvedRow to laid out composables in an arc ( I29941 )
  • Added a new type of card for use in applications (TitleCard), also add support for having images as the background to Cards to emphasize their contents ( I53b0f )
  • Added toggle icons (checkbox, switch and radio buttons) to ToggleChipDefaults to make it easier for developers to configure ToggleChip and SplitToggleChips ( I7b639 )
  • The start and end content padding for Chips has been updated so that it is consistently 14.dp regardless of whether the Chip has an icon present or not (was previously 12.dp if icon present and 14.dp if not) ( I34c86 )

বাগ ফিক্স

  • Add tests for CurvedRow ( I93cdb )
  • Tying Wear Compose dependencies to Compose 1.0.0-rc01. ( Ie6bc9 )
  • Changed the handing of background image painting in Cards and Chips so that the image is Cropped rather than being stretched in order to maintain image proportions. ( I29b41 )
  • Added more demos and integration tests for Button and ToggleButton. ( 5e27ed2 )
  • Added more Chip tests to cover the content colors for imageBackgroundChips ( Ia9183 )

সংস্করণ 1.0.0-alpha01

জুলাই 1, 2021

androidx.wear.compose:compose-foundation:1.0.0-alpha01 and androidx.wear.compose:compose-material:1.0.0-alpha01 are released. সংস্করণ 1.0.0-alpha01-এ এই কমিট রয়েছে।

নতুন বৈশিষ্ট

Wear Compose is a Kotlin, Compose-based library that supports Wear Material design, an extension of Material Design for WearOS wearables. This first alpha release contains early, functional implementations of the following:

  • Material theme - configures the colors, typography and shapes consistently across the components used from this library.
  • Chip, CompactChip - chips are stadium shaped and variations are available to take icon, label and secondary label content.
  • - ToggleChip, SplitToggleChip - a specialized type of chip that includes a slot for a bi-state toggle icon such as a radio button or checkbox. In addition, the SplitToggleChip has two tappable areas, one clickable and one toggleable.
  • Button, CompactButton - buttons are circular in shape, with a single content slot for an icon or minimal text (maximum 3 characters).
  • ToggleButton - a button that turns an action on or off, with a single slot for icon or minimal text (maximum 3 characters).
  • Card, AppCard - rectangular shaped with rounded corners, offering slots for content such as app icon, time, title and body.

Future releases will extend the Widget set adding support for Wear Material Design pickers, sliders, lists, page indicators, dialogs, scroll rsb indicators, toasts and more.

Additionally support will be provided for other Wearable Specific features such as curved layouts and text, as well as scaffolding to make it easy for developers to build Wearable apps/overlays.

Wear Compose Material is designed with the same principles as Compose Material, although being targeted at wearables. The Wear Compose Material library should be used in place of the Compose Material library when building for a Wearable device.

The two “Material” libraries should be considered mutually exclusive and should not be mixed in the same app. If developers find themselves including the Compose Material library in their dependencies it would suggest that either a) there are components missing from the Wear Compose Material library, please let us know what you need, or b) are using a component that we do not recommend for use on a Wearable Device.