কম্পোজ অ্যানিমেশন
androidx.compose.animation
androidx.compose.animation.core
androidx.compose.animation.graphics
( সকল কম্পোজ প্যাকেজের জন্য এপিআই রেফারেন্স ডক্স দেখুন )
| সর্বশেষ আপডেট | স্থিতিশীল রিলিজ | রিলিজ প্রার্থী | বিটা রিলিজ | আলফা রিলিজ |
|---|---|---|---|---|
| ২৫ মার্চ, ২০২৬ | ১.১০.৬ | - | ১.১১.০-বিটা০২ | - |
কাঠামো
Compose হলো androidx অন্তর্গত ৭টি Maven গ্রুপ আইডির একটি সমন্বয়। প্রতিটি গ্রুপে নির্দিষ্ট কিছু কার্যকারিতার একটি উপসেট থাকে, এবং প্রতিটির নিজস্ব রিলিজ নোট থাকে।
এই সারণিতে গ্রুপগুলো এবং প্রতিটি রিলিজ নোট সেটের লিঙ্ক ব্যাখ্যা করা হয়েছে।
| গ্রুপ | বর্ণনা |
|---|---|
| কম্পোজ.অ্যানিমেশন | ব্যবহারকারীর অভিজ্ঞতা আরও সমৃদ্ধ করতে তাদের Jetpack Compose অ্যাপ্লিকেশনগুলিতে অ্যানিমেশন তৈরি করুন। |
| compose.compiler | একটি কোটলিন কম্পাইলার প্লাগইনের সাহায্যে @Composable ফাংশনগুলোকে রূপান্তর করুন এবং অপটিমাইজেশন সক্রিয় করুন। |
| রচনা করুন। ভিত্তি | ব্যবহারের জন্য তৈরি বিল্ডিং ব্লক ব্যবহার করে জেটপ্যাক কম্পোজ অ্যাপ্লিকেশন লিখুন এবং আপনার নিজস্ব ডিজাইন সিস্টেমের অংশগুলি তৈরি করতে এর ভিত্তি প্রসারিত করুন। |
| রচনা করুন। উপাদান | ব্যবহারের জন্য প্রস্তুত ম্যাটেরিয়াল ডিজাইন কম্পোনেন্ট ব্যবহার করে জেটপ্যাক কম্পোজ UI তৈরি করুন। এটি কম্পোজের উচ্চতর এন্ট্রি পয়েন্ট, যা www.material.io-তে বর্ণিত কম্পোনেন্টগুলোর অনুরূপ কম্পোনেন্ট সরবরাহ করার জন্য ডিজাইন করা হয়েছে। |
| রচনা.উপাদান৩ | ম্যাটেরিয়াল ডিজাইনের পরবর্তী সংস্করণ, ম্যাটেরিয়াল ডিজাইন ৩ কম্পোনেন্ট ব্যবহার করে জেটপ্যাক কম্পোজ UI তৈরি করুন। ম্যাটেরিয়াল ৩-এ রয়েছে আপডেট করা থিমিং ও কম্পোনেন্ট এবং ডাইনামিক কালারের মতো ম্যাটেরিয়াল ইউ পার্সোনালাইজেশন ফিচার। এটি নতুন অ্যান্ড্রয়েড ১২-এর ভিজ্যুয়াল স্টাইল এবং সিস্টেম UI-এর সাথে সামঞ্জস্যপূর্ণ করে ডিজাইন করা হয়েছে। |
| কম্পোজ.রানটাইম | কম্পোজের প্রোগ্রামিং মডেল ও স্টেট ম্যানেজমেন্টের মৌলিক উপাদান এবং কম্পোজ কম্পাইলার প্লাগইনের টার্গেট করার জন্য কোর রানটাইম। |
| compose.ui | ডিভাইসের সাথে ইন্টারঅ্যাক্ট করার জন্য প্রয়োজনীয় UI কম্পোজের মৌলিক উপাদানগুলো হলো লেআউট, ড্রয়িং এবং ইনপুট। |
নির্ভরতা ঘোষণা করা
Compose-এ ডিপেন্ডেন্সি যোগ করতে হলে, আপনাকে আপনার প্রজেক্টে Google Maven রিপোজিটরিটি যুক্ত করতে হবে। আরও তথ্যের জন্য Google-এর Maven রিপোজিটরি সম্পর্কে পড়ুন।
আপনার অ্যাপ বা মডিউলের build.gradle ফাইলে প্রয়োজনীয় আর্টিফ্যাক্টগুলোর ডিপেন্ডেন্সি যোগ করুন:
গ্রোভি
dependencies { implementation "androidx.compose.animation:animation:1.10.6" } android { buildFeatures { compose true } composeOptions { kotlinCompilerExtensionVersion = "1.5.15" } kotlinOptions { jvmTarget = "1.8" } }
কোটলিন
dependencies { implementation("androidx.compose.animation:animation:1.10.6") } android { buildFeatures { compose = true } composeOptions { kotlinCompilerExtensionVersion = "1.5.15" } kotlinOptions { jvmTarget = "1.8" } }
নির্ভরতা সম্পর্কে আরও তথ্যের জন্য, 'বিল্ড নির্ভরতা যোগ করুন ' দেখুন।
প্রতিক্রিয়া
আপনার মতামত জেটপ্যাককে আরও উন্নত করতে সাহায্য করে। আপনি যদি নতুন কোনো সমস্যা খুঁজে পান অথবা এই লাইব্রেরিটি উন্নত করার জন্য কোনো ধারণা থাকে, তবে আমাদের জানান। নতুন কোনো সমস্যা তৈরি করার আগে অনুগ্রহ করে এই লাইব্রেরির বিদ্যমান সমস্যাগুলো দেখে নিন। আপনি তারকা বোতামে ক্লিক করে কোনো বিদ্যমান সমস্যায় আপনার ভোট যোগ করতে পারেন।
আরও তথ্যের জন্য ইস্যু ট্র্যাকার ডকুমেন্টেশন দেখুন।
সংস্করণ ১.১১
সংস্করণ 1.11.0-beta02
২৫ মার্চ, ২০২৬
androidx.compose.animation:animation-*:1.11.0-beta02 প্রকাশিত হয়েছে। সংস্করণ 1.11.0-beta02-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
-
SeekableTransitionStateএখন অফ-থ্রেড স্টেট পরিবর্তন সঠিকভাবে পরিচালনা করে। পূর্বে, যদিSnapshot.withMutableSnapshot()ব্যবহার করে UI থ্রেডের বাইরে স্টেট পরিবর্তন করা হতো, তাহলে ট্রানজিশনটি ভুলভাবে UI থ্রেডের বাইরে আপডেটটি পরিচালনা করার চেষ্টা করত। ( 0aba38 ) - ০-সময়কালের চক্র প্রতিরোধ করতে
InfiniteRepeatableSpecএ সময়কাল যাচাই করুন ( 151b6d ) -
animateFloatAsState( 3a1cdc ) এর জন্য কাস্টমAnimationSpecএvisibilityThresholdমেনে চলুন। -
AnimatedContentএ প্যারেন্ট ট্রানজিশন চলাকালীন চাইল্ড এক্সিট অ্যানিমেশন শেষ হয়ে গেলে যে কর্নার কেস ইন্টারাপশন হতো, তা ঠিক করা হয়েছে। ( ad9b4f )
সংস্করণ 1.11.0-beta01
১১ মার্চ, ২০২৬
androidx.compose.animation:animation-*:1.11.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.11.0-beta01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
-
isTransitionActiveঠিক করুন যাতে এটি শুধুমাত্র তখনই true রিপোর্ট করে যখন মিলে যাওয়া শেয়ার্ড এলিমেন্ট থেকে কোনো সক্রিয় অ্যানিমেশন থাকে ( d3426a , b/474385510 )
সংস্করণ 1.11.0-alpha06
২৫শে ফেব্রুয়ারি, ২০২৬
androidx.compose.animation:animation-*:1.11.0-alpha06 প্রকাশিত হয়েছে। সংস্করণ 1.11.0-alpha06-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
-
sharedElementsম্যাপ অ্যাক্সেসের পারফরম্যান্স উন্নত করুন। ( 93f57d )
সংস্করণ 1.11.0-alpha05
১১ ফেব্রুয়ারী, ২০২৬
androidx.compose.animation:animation-*:1.11.0-alpha05 প্রকাশিত হয়েছে। সংস্করণ 1.11.0-alpha05-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.11.0-alpha04
২৮ জানুয়ারী, ২০২৬
androidx.compose.animation:animation-*:1.11.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.11.0-alpha04-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.11.0-alpha03
১৪ জানুয়ারী, ২০২৬
androidx.compose.animation:animation-*:1.11.0-alpha03 প্রকাশিত হয়েছে। সংস্করণ 1.11.0-alpha03-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
নতুন বৈশিষ্ট্য
- নতুন এক সেট ভিজ্যুয়াল ডিবাগিং সুবিধা চালু করা হয়েছে, যা শেয়ার্ড এলিমেন্ট এবং
Modifier.animatedBoundsসম্পর্কিত তথ্য ভিজ্যুয়ালাইজ করার সুযোগ দেয়। এই ধরনের তথ্যের মধ্যে রয়েছে: টার্গেট বাউন্ডস, বাউন্ডস অ্যানিমেশনের গতিপথ, প্রাপ্ত মিলের সংখ্যা, ট্রানজিশনটি সক্রিয় আছে কিনা, ইত্যাদি।
এপিআই পরিবর্তন
- অ্যানিমেটেড বাউন্ডস এবং শেয়ার্ড এলিমেন্ট অ্যানিমেশন ডিবাগ করতে সাহায্য করার জন্য নতুন এপিআই
LookaheadAnimationVisualDebugging,CustomizedLookaheadAnimationVisualDebuggingএবংLookaheadAnimationVisualDebugConfigযোগ করা হয়েছে। ( Id5575 , b/390011686 , b/466169919 )
বাগ সংশোধন
- বাউন্ডস কোয়েরি করার আগে শেয়ার্ড ট্রানজিশন রুট স্থাপন করা আবশ্যক। ( 77d59c )
সংস্করণ 1.11.0-alpha02
১৭ ডিসেম্বর, ২০২৫
androidx.compose.animation:animation-*:1.11.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.11.0-alpha02-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.11.0-alpha01
০৩ ডিসেম্বর, ২০২৫
androidx.compose.animation:animation-*:1.11.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.11.0-alpha01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
- শুধুমাত্র
SharedTransitionLayoutসংযুক্ত থাকলেইsharedElementsজন্য পজিশন অর্জন করুন ( I2a035 )
সংস্করণ ১.১০
সংস্করণ ১.১০.৬
২৫ মার্চ, ২০২৬
androidx.compose.animation:animation-*:1.10.6 প্রকাশিত হয়েছে। সংস্করণ 1.10.6-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.১০.৫
১১ মার্চ, ২০২৬
androidx.compose.animation:animation-*:1.10.5 প্রকাশিত হয়েছে। সংস্করণ 1.10.5-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.১০.৪
২৫শে ফেব্রুয়ারি, ২০২৬
androidx.compose.animation:animation-*:1.10.4 প্রকাশিত হয়েছে। সংস্করণ 1.10.4-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.১০.৩
১১ ফেব্রুয়ারী, ২০২৬
androidx.compose.animation:animation-*:1.10.3 প্রকাশিত হয়েছে। সংস্করণ 1.10.3-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
- একটি বিশেষ পরিস্থিতির কারণে সৃষ্ট ক্র্যাশটি ঠিক করা হয়েছে, যেখানে শেয়ার্ড ট্রানজিশন রুট স্থাপন করার আগেই শেয়ার্ড কন্টেন্ট নোডটি বিচ্ছিন্ন হয়ে যেত। ( 121310 )
সংস্করণ ১.১০.২
২৮ জানুয়ারী, ২০২৬
androidx.compose.animation:animation-*:1.10.2 প্রকাশিত হয়েছে। সংস্করণ 1.10.2-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.১০.১
১৪ জানুয়ারী, ২০২৬
androidx.compose.animation:animation-*:1.10.1 প্রকাশিত হয়েছে। সংস্করণ 1.10.1-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.১০.০
০৩ ডিসেম্বর, ২০২৫
androidx.compose.animation:animation-*:1.10.0 প্রকাশিত হয়েছে। সংস্করণ 1.10.0-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে। 1.9.0 থেকে গুরুত্বপূর্ণ পরিবর্তনসমূহ:
- 1.10 সংস্করণে শেয়ার্ড ট্রানজিশন এপিআইগুলো স্থিতিশীল।
-
SharedTransitionScopeএর লেআউটগুলির জন্য নতুনModifier.skipToLookaheadPositionAPI, যা পজিশন পরিবর্তনের অ্যানিমেট করার পরিবর্তে সরাসরি টার্গেট পজিশনে চলে যায় ( 9a88f4 ) - শেয়ার করা উপাদানগুলিকে গতিশীলভাবে সক্রিয়/নিষ্ক্রিয় করার সমর্থন ( 07680e )
- ফ্লিং ( b0afe2 ) ব্যবহার করে শেয়ার্ড এলিমেন্ট ট্রানজিশন শুরু করার জন্য ইনিশিয়াল ভেলোসিটি সমর্থন করতে নতুন এপিআই।
-
AnimatedVisibilityএবংAnimatedContentজন্য একটি ভেইল লেয়ার অ্যানিমেট করার নতুনEnterTransitionএবংExitTransition( 0f6e7c )
সংস্করণ 1.10.0-rc01
১৯ নভেম্বর, ২০২৫
androidx.compose.animation:animation-*:1.10.0-rc01 প্রকাশিত হয়েছে। সংস্করণ 1.10.0-rc01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
এপিআই পরিবর্তন
-
EnterExitTransitionsজন্য এখনunveilInএবংveilOutঅপশনগুলো উপলব্ধ। এর মাধ্যমে প্রবেশকারী বা প্রস্থানকারী কন্টেন্টের সামনে একটি ওভারলে লেয়ারকে অ্যানিমেট করা যায়। ( If26fe )
বাগ সংশোধন
-
sharedElement( be0e9e ) কে ডিটাচিং ও রিঅ্যাটাচিং করার মাধ্যমে বাউন্ডস ট্র্যাকিং সমর্থন করে। - ট্রানজিশন সক্রিয়তা পর্যবেক্ষণের জন্য শেয়ার্ড এলিমেন্ট ম্যাপকে পর্যবেক্ষণযোগ্য করুন। ( 1fc2ec )
সংস্করণ 1.10.0-beta02
০৫ নভেম্বর, ২০২৫
androidx.compose.animation:animation-*:1.10.0-beta02 প্রকাশিত হয়েছে। সংস্করণ 1.10.0-beta02-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.10.0-beta01
২২ অক্টোবর, ২০২৫
androidx.compose.animation:animation-*:1.10.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.10.0-beta01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
এপিআই পরিবর্তন
-
SharedContentConfigফ্যাক্টরি মেথডটি, যা শেয়ার করা এলিমেন্টটি সক্রিয় করা হবে কিনা তা নির্দেশ করার জন্য একটি ল্যাম্বডা গ্রহণ করত, তা সরিয়ে ফেলা হয়েছে।lookheadScopeCoordinatesAPI-টি আপডেট করা হয়েছে, যেখানেLookaheadScopeহবে রিসিভার স্কোপ এবং সোর্স কোঅর্ডিনেটস হবে প্যারামিটার। ( Id1fc2 , b/452416806 ) -
SizeTransformসাথে সামঞ্জস্যপূর্ণ করার জন্যBoundsTransformইন্টারফেসটি আপডেট করা হয়েছে। ( Ia46f2 , b/343696350 ) - অপ্রচলিত
ScaleToBoundsAPI সরিয়ে ফেলা হয়েছে। অনুগ্রহ করে এর পরিবর্তেscaleToBoundsব্যবহার করুন। ( I17296 )
সংস্করণ 1.10.0-alpha05
০৮ অক্টোবর, ২০২৫
androidx.compose.animation:animation-*:1.10.0-alpha05 প্রকাশিত হয়েছে। সংস্করণ 1.10.0-alpha05-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
এপিআই পরিবর্তন
- শেয়ার্ড ট্রানজিশন এপিআইগুলো এখন স্থিতিশীল। আরও তথ্যের জন্য, অনুগ্রহ করে শেয়ার্ড এলিমেন্ট গাইডটি দেখুন। ( I7167e )।
সংস্করণ 1.10.0-alpha04
২৪ সেপ্টেম্বর, ২০২৫
androidx.compose.animation:animation-*:1.10.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.10.0-alpha04-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
এপিআই পরিবর্তন
-
PlaceHolderSizeসম্পর্কিত API-গুলোর নামকরণ হালনাগাদ করা হয়েছে। ( I037d8 , b/343696350 ) - শেয়ার করা এলিমেন্টগুলিতে জেসচার ভেলোসিটি অব্যাহত রাখার জন্য একটি প্রাথমিক ভেলোসিটি সমর্থন করতে নতুন শেয়ার করা এলিমেন্ট ট্রানজিশন এপিআই। ( I91be9 )
সংস্করণ 1.10.0-alpha03
১০ সেপ্টেম্বর, ২০২৫
androidx.compose.animation:animation-*:1.10.0-alpha03 প্রকাশিত হয়েছে। সংস্করণ 1.10.0-alpha03-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
এপিআই পরিবর্তন
-
Modifier.skipToLookaheadSizeএখন একটি ডিফল্টরূপে সক্রিয় ল্যাম্বডা ব্যবহার করে যা শুধুমাত্র শেয়ার্ড ট্রানজিশন সক্রিয় থাকলেই সাইজ স্কিপিং সক্ষম করে, ঠিকModifier.skipToLookaheadPositionমতোই। ( Ibe0f5 , b/432485585 )
সংস্করণ 1.10.0-alpha02
২৭ আগস্ট, ২০২৫
androidx.compose.animation:animation-*:1.10.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.10.0-alpha02-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.10.0-alpha01
১৩ আগস্ট, ২০২৫
androidx.compose.animation:animation-*:1.10.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.10.0-alpha01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
নতুন বৈশিষ্ট্য
- নতুন এপিআই-এর মাধ্যমে শেয়ার করা এলিমেন্টগুলোকে ডাইনামিকভাবে চালু ও বন্ধ করা যাবে এবং এতে আগে থেকেই কোনো শেয়ার করা এলিমেন্টের ট্রানজিশন চলছে কিনা, তাও বিবেচনা করা যাবে।
- ট্রানজিশনের সময় টার্গেট শেয়ার্ড এলিমেন্টটি ডিসপোজ করা হলে একটি বিকল্প টার্গেট বাউন্ডস সেট করার জন্য নতুন এপিআই।
- একটি
LookaheadScopeএরLayoutCoordinatesপাওয়ার জন্য নতুন API। ( I18dd4 , b/409819304 , b/395670637 ) - শেয়ার্ড ট্রানজিশনের সময় একটি লেআউটকে টার্গেট পজিশনে অ্যাঙ্কর করার জন্য
SharedTransitionScopeএ নতুন মডিফায়ারModifier.skipToLookaheadPosition। ( I88734 )
এপিআই পরিবর্তন
-
clipInOverlayDuringTransitionল্যাম্বডাটি খুব কম ব্যবহৃত হওয়ায় তা সরিয়েrenderInSharedTransitionOverlayসরল করা হয়েছে।SharedContentConfigএর জন্য নতুন ফ্যাক্টরি মেথড চালু করা হয়েছে। ( Id01b2 ) - শেয়ার্ড এলিমেন্ট, শেয়ার্ড বাউন্ডস, এবং
renderInSharedTransitionOverlayকনফিগারেশনগুলির জন্য এক সেট ডিফল্ট যোগ করা হয়েছে। এই ডিফল্টগুলি এখন পাবলিক এপিআই-এর মাধ্যমে অ্যাক্সেসযোগ্য। ( Id23cc ) -
ScaleToBoundsResizeMode-এর নাম পরিবর্তন করেscaleToBoundsরাখা হয়েছে ( I5ac50 )
বাগ সংশোধন
- ডিফল্ট minSdk API 21 থেকে API 23-এ স্থানান্তর করা হচ্ছে ( Ibdfca , b/380448311 , b/435705964 , b/435705223 )
সংস্করণ ১.৯
সংস্করণ ১.৯.৫
১৯ নভেম্বর, ২০২৫
androidx.compose.animation:animation-*:1.9.5 প্রকাশিত হয়েছে। সংস্করণ 1.9.5-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৯.৪
২২ অক্টোবর, ২০২৫
androidx.compose.animation:animation-*:1.9.4 প্রকাশিত হয়েছে। সংস্করণ 1.9.4-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৯.৩
০৮ অক্টোবর, ২০২৫
androidx.compose.animation:animation-*:1.9.3 প্রকাশিত হয়েছে। সংস্করণ 1.9.3-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৯.২
২৪ সেপ্টেম্বর, ২০২৫
androidx.compose.animation:animation-*:1.9.2 প্রকাশিত হয়েছে। সংস্করণ 1.9.2-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৯.১
১০ সেপ্টেম্বর, ২০২৫
androidx.compose.animation:animation-*:1.9.1 প্রকাশিত হয়েছে। সংস্করণ 1.9.1-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
-
sharedElementWithCallerManagedVisibilityএর জন্য অ্যানিমেশন ইনিশিয়ালাইজ করার সমস্যা সমাধান করা হয়েছে। ( fa29de )
সংস্করণ ১.৯.০
১৩ আগস্ট, ২০২৫
androidx.compose.animation:animation-*:1.9.0 প্রকাশিত হয়েছে। সংস্করণ 1.9.0-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.9.0-rc01
৩০ জুলাই, ২০২৫
androidx.compose.animation:animation-*:1.9.0-rc01 প্রকাশিত হয়েছে। সংস্করণ 1.9.0-rc01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.9.0-beta03
১৬ জুলাই, ২০২৫
androidx.compose.animation:animation-*:1.9.0-beta03 প্রকাশিত হয়েছে। সংস্করণ 1.9.0-beta03-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.9.0-beta02
২ জুলাই, ২০২৫
androidx.compose.animation:animation-*:1.9.0-beta02 প্রকাশিত হয়েছে। সংস্করণ 1.9.0-beta02-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.9.0-beta01
১৮ জুন, ২০২৫
androidx.compose.animation:animation-*:1.9.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.9.0-beta01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.9.0-alpha04
৪ জুন, ২০২৫
androidx.compose.animation:animation-*:1.9.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.9.0-alpha04-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.9.0-alpha03
২০ মে, ২০২৫
androidx.compose.animation:animation-*:1.9.0-alpha03 প্রকাশিত হয়েছে। সংস্করণ 1.9.0-alpha03-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.9.0-alpha02
৭ মে, ২০২৫
androidx.compose.animation:animation-*:1.9.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.9.0-alpha02-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
নতুন বৈশিষ্ট্য
- শেয়ার করা এলিমেন্টগুলিতে স্ক্রোলিং বা ড্র্যাগ করার জন্য সাপোর্ট অনেক উন্নত করা হয়েছে। আরও নির্দিষ্টভাবে বললে, যখন কোনো ট্রানজিশনরত শেয়ার করা এলিমেন্টকে স্ক্রোল করা হবে, তখন স্ক্রোল ডেল্টা সরাসরি সেই শেয়ার করা এলিমেন্টের উপর প্রয়োগ করা হবে, যার ফলে শেয়ার করা এলিমেন্টগুলো নতুন টার্গেটকে অনুসরণ করবে না। ( cacf7b )
সংস্করণ 1.9.0-alpha01
২৩ এপ্রিল, ২০২৫
androidx.compose.animation:animation-*:1.9.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.9.0-alpha01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
আচরণগত পরিবর্তন
- Compose-এর সাথে আসা Lint চেকগুলির জন্য এখন ন্যূনতম AGP সংস্করণ 8.8.2 প্রয়োজন। আপনি যদি AGP আপগ্রেড করতে না পারেন, তবে এর পরিবর্তে আপনার
gradle.propertiesফাইলেandroid.experimental.lint.version=8.8.2(বা এর চেয়ে নতুন কোনো সংস্করণ) ব্যবহার করে Lint-কে আলাদাভাবে আপগ্রেড করতে পারেন। IDE-এর ভিতরে Compose লিন্ট চেকগুলি চালানোর জন্য Android Studio Ladybug বা এর চেয়ে নতুন সংস্করণ প্রয়োজন।
নতুন বৈশিষ্ট্য
- শেয়ার করা এলিমেন্টগুলোর ( ea4f1f ) স্ক্রোলিং পারফরম্যান্স উন্নত করা হয়েছে।
এপিআই পরিবর্তন
- Kotlin 2.0 দিয়ে প্রকাশিত প্রজেক্টগুলো ব্যবহার করার জন্য KGP 2.0.0 বা তার নতুন সংস্করণ প্রয়োজন। ( Idb6b5 )
-
TabRowএবংScrollableTabRowঅপ্রচলিত ঘোষণা করে এগুলোর Primary এবং Secondary সংস্করণ ব্যবহার করা শুরু হয়েছে। Primary এবং Secondary ট্যাব রো অধিক কর্মদক্ষ এবং স্পেসিফিকেশনের সাথে অধিক নির্ভুল। ( I918e2 ) - রিসোর্স কোয়েরি করার জন্য
LocalResourcesকম্পোজিশন যোগ করা হয়েছে। কনফিগারেশন পরিবর্তিত হলেLocalResources.currentকল করলে তা পুনরায় কম্পোজ হবে, ফলেstringResource()এর মতো API-গুলিতে কল করলে আপডেট করা মান ফেরত আসবে ( I50c13 , b/274786917 )।
বাগ সংশোধন
- ট্রানজিশন শেষ হলে ওভারলে থেকে শেয়ার করা উপাদানগুলি বাদ দেওয়া নিশ্চিত করুন ( 35f359 )
- ট্রানজিশনে অতিরিক্ত পুনর্গঠন দূর করুন ( 988923 )
- চাইল্ড ট্রানজিশন ইন্টারাপশন হ্যান্ডলিং ঠিক করুন ( 8aed52 )
- নতুন
TransitionStateপ্রদান করা হলে ট্রানজিশন রিসেট করা নিশ্চিত করুন ( 57820a )
বাহ্যিক অবদান
- কম্পোজ
1.8.1থেকে: স্টিভেন শোয়েন কর্তৃক নতুন সময়কাল ইতিমধ্যে অতিক্রম করলেSeekableTransitionStateএর অ্যানিমেশন শেষ করুন। ( 0c832c )
সংস্করণ ১.৮
সংস্করণ ১.৮.৩
১৮ জুন, ২০২৫
androidx.compose.animation:animation-*:1.8.3 প্রকাশিত হয়েছে। সংস্করণ 1.8.3-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৮.২
২০ মে, ২০২৫
androidx.compose.animation:animation-*:1.8.2 প্রকাশিত হয়েছে। সংস্করণ 1.8.2-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৮.১
৭ মে, ২০২৫
androidx.compose.animation:animation-*:1.8.1 প্রকাশিত হয়েছে। সংস্করণ 1.8.1-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাহ্যিক অবদান
- নতুন সময়কাল ইতিমধ্যে পার হয়ে গেলে
SeekableTransitionStateএর মধ্যেই অ্যানিমেশন শেষ করুন। ধন্যবাদ স্টিভেন শোয়েন! ( fbcdf7 )
সংস্করণ ১.৮.০
২৩ এপ্রিল, ২০২৫
androidx.compose.animation:animation-*:1.8.0 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
১.৭.০ সংস্করণ থেকে গুরুত্বপূর্ণ পরিবর্তনসমূহ
- সংস্করণ ১.৮.০-এর গুরুত্বপূর্ণ পরিবর্তনগুলো এই ব্লগ পোস্টে তুলে ধরা হয়েছে।
- লুকঅ্যাহেড স্কোপের মধ্যে আকার এবং অবস্থানের পরিবর্তন অ্যানিমেট করার জন্য নতুন
Modifier.animateBoundsAPI। ( 94b939 ) - আর্ক এবং স্প্লাইন সহ কীফ্রেমের জন্য এপিআই চূড়ান্ত করা হয়েছে ( 89e119 )
-
LazyGridএবং Pager-এ Lookahead সমর্থিত। এর মধ্যে স্ক্রলিং, আইটেম কম্পোজিশন/ডিসপোজাল, এবং আইটেম অ্যানিমেশনের ক্ষেত্রে lookahead pass এবং approach pass-এর মধ্যে পার্থক্য করা অন্তর্ভুক্ত। এটি স্ক্রলিংয়ের জন্য তথ্যের উৎস (source of truth) এবং আইটেম অ্যানিমেশনের টার্গেট (target) হিসেবে lookahead pass ব্যবহার করে। - শেয়ার্ড এলিমেন্ট এপিআইগুলোর মধ্যে সামঞ্জস্য রক্ষার জন্য
sharedElementপ্যারামিটারের নামকরণ state থেকেsharedContentStateআপডেট করা হয়েছে। ( 9e7df5 ) -
AnimatedImageVectorAPI স্যুট এখন স্থিতিশীল। ( 69d7e0 )
সংস্করণ 1.8.0-rc03
৯ এপ্রিল, ২০২৫
androidx.compose.animation:animation-*:1.8.0-rc03 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-rc03-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.8.0-rc02
২৬ মার্চ, ২০২৫
androidx.compose.animation:animation-*:1.8.0-rc02 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-rc02-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.8.0-rc01
১২ মার্চ, ২০২৫
androidx.compose.animation:animation-*:1.8.0-rc01 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-rc01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
- চাইল্ড ট্রানজিশন ভুলবশত বাধাগ্রস্ত হিসেবে চিহ্নিত হওয়ার সমস্যাটি সমাধান করা হয়েছে। ( 3fa2ce )
সংস্করণ 1.8.0-beta03
২৬ ফেব্রুয়ারি, ২০২৫
androidx.compose.animation:animation-*:1.8.0-beta03 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-beta03-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.8.0-beta02
১২ ফেব্রুয়ারী, ২০২৫
androidx.compose.animation:animation-*:1.8.0-beta02 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-beta02-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.8.0-beta01
২৯ জানুয়ারী, ২০২৫
androidx.compose.animation:animation-*:1.8.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-beta01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.8.0-alpha08
১৫ জানুয়ারী, ২০২৫
androidx.compose.animation:animation-*:1.8.0-alpha08 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-alpha08-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
-
MotionFrameOfReferencePlacementরিসেট হয়ে যাওয়ার কারণেLazyGridএরanimateBoundsথেকে আসা ভুল প্লেসমেন্ট অ্যানিমেশনটি ঠিক করা হয়েছে। ( 16193b ) - একটি শীর্ষ-স্তরের লুকঅহেড রুট থেকে লুকঅহেড পাসে ইনট্রিন্সিক কোয়েরি পুনঃনির্দেশিত করে
SharedTransitionLayoutএর ইনট্রিন্সিক কোয়েরি ঠিক করা হয়েছে। ( a07d12 ) - ডকুমেন্টেশনে অনুপস্থিত
@paramট্যাগগুলো যোগ করা হয়েছে। ( e5cf67 )
সংস্করণ 1.8.0-alpha07
১১ ডিসেম্বর, ২০২৪
androidx.compose.animation:animation-*:1.8.0-alpha07 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-alpha07-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
নতুন বৈশিষ্ট্য
- আইটেম ধরে রাখা এবং স্ক্রলিং কনজিউম করার জন্য অ্যাপ্রোচ পাস থেকে লুকঅ্যাহেড পাসকে আলাদা করার মাধ্যমে পেজারে লুকঅ্যাহেড সমর্থন করে। ( b/371802474 )
বাগ সংশোধন
- একটি বিরল ক্র্যাশের সমাধান করা হয়েছে যেখানে একটি শেয়ার্ড এলিমেন্ট কম্পোজ করা হলেও কখনও মেজার বা প্লেস করা হতো না। এর জন্য, ওভারলেতে রেন্ডার করার আগে শেয়ার্ড এলিমেন্টটিকে অন্তত একবার ইন-প্লেস রেন্ডার করতে হবে। ( b/371802474 )
সংস্করণ 1.8.0-alpha06
১৩ নভেম্বর, ২০২৪
androidx.compose.animation:animation-*:1.8.0-alpha06 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-alpha06-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
এপিআই পরিবর্তন
- শেয়ার্ড এলিমেন্ট এপিআইগুলোর মধ্যে সামঞ্জস্য রক্ষার জন্য
sharedElementপ্যারামিটারের নামকরণstateথেকেsharedContentStateআপডেট করা হয়েছে। ( I5694c , b/375351468 ) -
AnimatedImageVectorএপিআই স্যুট এখন স্থিতিশীল। ( I7174b , b/261436267 )
সংস্করণ 1.8.0-alpha05
৩০ অক্টোবর, ২০২৪
androidx.compose.animation:animation-*:1.8.0-alpha05 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-alpha05-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
নতুন বৈশিষ্ট্য
-
LazyGridএ এখন Lookahead সমর্থিত। এর মধ্যে রয়েছে স্ক্রলিং, আইটেম কম্পোজিশন/ডিসপোজাল এবং আইটেম অ্যানিমেশনের ক্ষেত্রে lookahead pass ও approach pass-এর মধ্যে পার্থক্য করা, এবং স্ক্রলিংয়ের জন্য তথ্যের উৎস (source of truth) ও আইটেম অ্যানিমেশনের টার্গেট (target) হিসেবে lookahead pass-এর ব্যবহার।
বাগ সংশোধন
- ট্রানজিশন পুনরায় তৈরি হলে
AnimatedContentএর সাইজ ট্রান্সফর্মের জন্য অভ্যন্তরীণ স্টেটগুলো আপডেট করুন। এটি নিশ্চিত করে যে টার্গেট সাইজের তথ্য সর্বদা হালনাগাদ থাকে। ( b/372512085 )
সংস্করণ 1.8.0-alpha04
১৬ অক্টোবর, ২০২৪
androidx.compose.animation:animation-*:1.8.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-alpha04-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
- একটি বাগ সংশোধন করা হয়েছে, যার কারণে নির্দিষ্ট সময় ভগ্নাংশে কিছু ইজিং কার্ভ ক্র্যাশ করত।
- RTL-এর অধীনে
Modifier.animateContentSizeএর ভুল অ্যালাইনমেন্টের কারণ হওয়া একটি বাগ সংশোধন করা হয়েছে। ( Idae6b , b/372055503 )
সংস্করণ 1.8.0-alpha03
২ অক্টোবর, ২০২৪
androidx.compose.animation:animation-*:1.8.0-alpha03 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-alpha03-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
এপিআই পরিবর্তন
- কোটলিন সংস্করণ 1.9 ( I1a14c ) এ আপডেট করা হয়েছে
বাগ সংশোধন
-
AnimatedContentসাইজ অ্যানিমেশনের একটি সমস্যা সমাধান করা হয়েছে; ধারাবাহিকতা নিশ্চিত করার জন্য এখন অ্যানিমেশনটি সর্বদা বর্তমান সাইজ থেকে শুরু হয় এবং তা ট্র্যাক করে।
সংস্করণ 1.8.0-alpha02
১৮ সেপ্টেম্বর, ২০২৪
androidx.compose.animation:animation-*:1.8.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-alpha02-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.8.0-alpha01
৪ সেপ্টেম্বর, ২০২৪
androidx.compose.animation:animation-*:1.8.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.8.0-alpha01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
নতুন বৈশিষ্ট্য
- লুকঅ্যাহেড স্কোপের মধ্যে আকার এবং অবস্থানের পরিবর্তন অ্যানিমেট করার জন্য নতুন
Modifier.animateBoundsAPI। 94b9394
এপিআই পরিবর্তন
- আর্ক এবং স্প্লাইন সহ কীফ্রেমগুলিতে পরীক্ষামূলক ফ্ল্যাগগুলি সরান ( 89e1199 )
বাগ সংশোধন
- কোনো মিল খুঁজে না পেলে
placeHolderSizeলজিক এড়িয়ে যান ( 77c0160 ) - অ-এককভাবে ক্রমবর্ধমান প্লে টাইমের কারণে ক্র্যাশ প্রতিরোধ করতে
AndroidFlingSplineএ প্লে টাইম সীমিত করুন ( 9d47587 ) - নির্দিষ্ট পরিস্থিতিতে
SharedTransitionScopeআইটেম অঙ্কন না করার সমস্যা সমাধান করা হয়েছে ( b41077b6 )
বাহ্যিক অবদান
- যখন কোনো ট্রানজিশন চলছে না তখন সিকযোগ্য ট্রানজিশনের
playTimeসেট করা প্রতিরোধ করুন, লিখেছেন স্টিভেন শোয়েন। ( c2e6e7e6 )
সংস্করণ ১.৭
সংস্করণ ১.৭.৮
১২ ফেব্রুয়ারী, ২০২৫
androidx.compose.animation:animation-*:1.7.8 প্রকাশিত হয়েছে। সংস্করণ 1.7.8-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৭.৭
২৯ জানুয়ারী, ২০২৫
androidx.compose.animation:animation-*:1.7.7 প্রকাশিত হয়েছে। 1.7.6 থেকে কোনো পরিবর্তন নেই। ১১ ডিসেম্বর, ২০২৪
androidx.compose.animation:animation-*:1.7.6 প্রকাশিত হয়েছে। সংস্করণ 1.7.6-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৭.৫
৩০ অক্টোবর, ২০২৪
androidx.compose.animation:animation-*:1.7.5 প্রকাশিত হয়েছে। সংস্করণ 1.7.5-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
- RTL-এর অধীনে
Modifier.animateContentSizeএর ভুল অ্যালাইনমেন্টের কারণ হওয়া একটি বাগ সংশোধন করা হয়েছে। ( Idae6b , b/372055503 )
সংস্করণ ১.৭.৪
১৬ অক্টোবর, ২০২৪
androidx.compose.animation:animation-*:1.7.4 প্রকাশিত হয়েছে। সংস্করণ 1.7.4-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৭.৩
২ অক্টোবর, ২০২৪
androidx.compose.animation:animation-*:1.7.3 প্রকাশিত হয়েছে। সংস্করণ 1.7.3-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৭.২
১৮ সেপ্টেম্বর, ২০২৪
androidx.compose.animation:animation-*:1.7.2 প্রকাশিত হয়েছে। সংস্করণ 1.7.2-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাহ্যিক অবদান
- যখন কোনো ট্রানজিশন চলছে না, তখন সিকযোগ্য ট্রানজিশনের
playTimeসেট করা প্রতিরোধ করুন। ধন্যবাদ স্টিভেন শোয়েন! ( c2e6e7e6 )
সংস্করণ ১.৭.১
১০ সেপ্টেম্বর, ২০২৪
- অ্যান্ড্রয়েড আর্টিফ্যাক্টগুলিতে কোনো পরিবর্তন করা হয়নি।
-desktopআর্টিফ্যাক্টগুলি সরানো হয়েছে এবং-jvmStubsও-linuxx64Stubsআর্টিফ্যাক্টগুলি যোগ করা হয়েছে। এই টার্গেটগুলির কোনোটিই ব্যবহারের জন্য নয়, এগুলি Jetbrains Compose-এর কাজে সহায়তার জন্য প্লেসহোল্ডার হিসেবে রাখা হয়েছে।
সংস্করণ ১.৭.০
৪ সেপ্টেম্বর, ২০২৪
androidx.compose.animation:animation-*:1.7.0 প্রকাশিত হয়েছে।
১.৬.০ সংস্করণ থেকে গুরুত্বপূর্ণ পরিবর্তনসমূহ
সংস্করণ ১.৭.০-এর গুরুত্বপূর্ণ পরিবর্তনগুলো এই ব্লগ পোস্টে আলোচনা করা হয়েছে।
নতুন শেয়ার্ড এলিমেন্ট ট্রানজিশন এপিআই
- নতুন শেয়ার্ড এলিমেন্ট ট্রানজিশন এপিআই আপনার ব্যবহার এবং মতামতের অপেক্ষায় রয়েছে। এই নতুন পরীক্ষামূলক এপিআইগুলো প্রদত্ত মডিফায়ার ব্যবহার করে লেআউট ট্রি জুড়ে লেআউটগুলোকে শেয়ার্ড হিসেবে ট্যাগ করতে সক্ষম করে, যার ফলে এক সেট শেয়ার্ড কন্টেন্ট শেষ হয়ে অন্য সেট প্রবেশ করলে বাউন্ডগুলো মসৃণভাবে পরিবর্তিত হয়। ( Icb0b9 )
-
sharedBoundsমধ্যে কন্টেন্ট স্কেল করার জন্য নতুনscaleInSharedContentToBoundsএবংscaleOutSharedContentToBounds( I731c1 ) - পরীক্ষামূলক
SharedTransitionScopeএখন একটি ক্লাসের পরিবর্তে একটি ইন্টারফেস। ( Iaf856 ) - স্কেলিং এবং রিমেজারের মধ্যে বেছে নেওয়ার জন্য
sharedBoundsনতুনresizeModes(ScaleToBoundsএবংRemeasureToBounds)। পূর্ববর্তীscaleIn/OutSharedContentToBoundsAPI-গুলো এখন অপ্রচলিত। ( I0d41a )
বিদ্যমান এপিআই-গুলোর উন্নতি:
- নতুন
Modifier.animateContentSize, যা কাস্টম কন্টেন্ট অ্যালাইনমেন্টের জন্য একটি অতিরিক্ত প্যারামিটার গ্রহণ করে। ( I5623a , b/269803907 ) - ইনস্ট্যানসিয়েশনের সময় অজানা থাকা আকার, অবস্থান বা অন্য যেকোনো টার্গেটকে অ্যানিমেট করার জন্য নতুন পরীক্ষামূলক
DeferredTargetAnimation। ( I60745 ) -
SeekableTransitionStatesnapTo()seekTo()দিয়ে প্রতিস্থাপন করে এবং এমন একটিsnapTo()যোগ করে যা কোনো ধরনের অ্যানিমেশন ছাড়াই তাৎক্ষণিকভাবে স্টেটকে একটি গন্তব্য স্টেটে পরিবর্তন করে দেয়। - আপনি এখন
keyframesWithSplineএ একটিperiodicBiasভ্যালু (Float) পাস করতে পারেন, এর ফলে স্প্লাইনের প্রাথমিক এবং চূড়ান্ত বেগ সমান হবে। স্প্লাইন ব্যবহার করে পুনরাবৃত্তিমূলক অ্যানিমেশনের জন্য এটি উপযোগী। বায়াস নির্দেশ করে যে পর্যায়ক্রমিকতা অর্জনের জন্য প্রতিটি বেগ (প্রাথমিক এবং চূড়ান্ত) কতটা পরিবর্তিত হবে। ( Ic1e6c , b/292114811 )
নিম্নলিখিত API-গুলি স্থিতিশীল হয়েছে বা সরিয়ে ফেলা হয়েছে:
-
AnimatedVisibilityScope.transitionএখন একটি স্থিতিশীল API।Modifier.animateEnterExit(..)-কেও স্থিতিশীল করা হয়েছে। ( I6c1d1 ) -
ApproachLayoutModifierNodeএবংModifier.approachLayoutএখন স্থিতিশীল, এবং পুরোনোisMeasurementApproachInProgress()ওisPlacementApproachInProgress()এর পরিবর্তে যথাক্রমে নতুনisMeasurementApproachComplete()ওisPlacementApproachComplete()যুক্ত করা হয়েছে। - অপ্রচলিত
intermediateLayoutমডিফায়ারটি সরানো হয়েছে। ( I3e91c ) -
LookaheadScopeAPI-গুলো স্থিতিশীল করা হয়েছে। ( I21507 )
সংস্করণ 1.7.0-rc01
২১শে আগস্ট, ২০২৪
androidx.compose.animation:animation-*:1.7.0-rc01 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-rc01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.7.0-beta07
৭ আগস্ট, ২০২৪
androidx.compose.animation:animation-*:1.7.0-beta07 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-beta07-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
- নির্দিষ্ট কিছু পরিস্থিতিতে, বিশেষত নেভিগেশনের সাথে ব্যবহারের ক্ষেত্রে,
SharedTransitionScopeট্রানজিশনের সময় ওভারলে আইটেম অঙ্কন না করার সমস্যাটি সমাধান করা হয়েছে। ( Id65ab , b/347520198 )
সংস্করণ 1.7.0-beta06
২৪ জুলাই, ২০২৪
androidx.compose.animation:animation-*:1.7.0-beta06 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-beta06-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
- ট্রানজিশন ডিসপোজ করার সময়
SnapshotStateObserverথেকে অবজারভেশনগুলো যথাযথভাবে পরিষ্কার করার মাধ্যমেSeekableTransitionট্রানজিশন স্টেট লিক হওয়ার সমস্যাটি সমাধান করা হয়েছে। ( b9c7182 ) - সেইসব প্রান্তিক সমস্যাগুলো সমাধান করা হয়েছে যেখানে প্যারেন্ট ট্রানজিশন সম্পন্ন হওয়ার পর চাইল্ড ট্রানজিশনগুলো সঠিকভাবে সম্পন্ন হিসেবে চিহ্নিত হতো না। ( dc42216 )
সংস্করণ 1.7.0-beta05
১০ জুলাই, ২০২৪
androidx.compose.animation:animation-*:1.7.0-beta05 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-beta05-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
- এখন একটি
snapshotFlowমধ্যে Transition প্রপার্টিtotalDurationNanosসঠিকভাবে পড়া যায়।
সংস্করণ 1.7.0-beta04
২৬ জুন, ২০২৪
androidx.compose.animation:animation-*:1.7.0-beta04 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-beta04-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.7.0-beta03
১২ জুন, ২০২৪
androidx.compose.animation:animation-*:1.7.0-beta03 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-beta03-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.7.0-beta02
২৯ মে, ২০২৪
androidx.compose.animation:animation-*:1.7.0-beta02 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-beta02-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.7.0-beta01
১৪ মে, ২০২৪
androidx.compose.animation:animation-*:1.7.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-beta01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
এপিআই পরিবর্তন
- স্কেলিং এবং রিমেজারের মধ্যে বেছে নেওয়ার জন্য
sharedBoundsনতুনresizeModes(ScaleToBoundsএবংRemeasureToBounds)। পূর্ববর্তীscaleIn/OutSharedContentToBoundsAPI-গুলো এখন অপ্রচলিত। ( I0d41a )
বাহ্যিক অবদান
- স্টিভেন শোয়েনের পরীক্ষামূলক
SharedTransitionScopeএখন একটি ক্লাসের পরিবর্তে একটি ইন্টারফেস। ( Iaf856 , b/338415048 , b/338414702 )
সংস্করণ 1.7.0-alpha08
১ মে, ২০২৪
androidx.compose.animation:animation-*:1.7.0-alpha08 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-alpha08-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
এপিআই পরিবর্তন
-
LookaheadScopeAPI-গুলো স্থিতিশীল করা হয়েছে। ( I21507 )
বাহ্যিক অবদান
- স্টিভেন শোয়েন ( 1ca89529 ) দ্বারা
SeekableTransitionStateঅ্যানিমেট/স্ন্যাপ করার পরে অ্যানিমেশন শুরুর সময় পরিষ্কার করুন
সংস্করণ 1.7.0-alpha07
১৭ এপ্রিল, ২০২৪
androidx.compose.animation:animation-*:1.7.0-alpha07 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-alpha07-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
নতুন বৈশিষ্ট্য
- নতুন শেয়ার্ড এলিমেন্ট ট্রানজিশন এপিআই আপনার ব্যবহার এবং মতামতের অপেক্ষায় রয়েছে। এই নতুন পরীক্ষামূলক এপিআইগুলো প্রদত্ত মডিফায়ার ব্যবহার করে লেআউট ট্রি জুড়ে লেআউটগুলোকে শেয়ার্ড হিসেবে ট্যাগ করতে সক্ষম করে, যার ফলে এক সেট শেয়ার্ড কন্টেন্ট শেষ হয়ে অন্য সেট প্রবেশ করলে বাউন্ডগুলো মসৃণভাবে পরিবর্তিত হয়। ( Icb0b9 )
-
sharedBoundsমধ্যে কন্টেন্ট স্কেল করার জন্য নতুনscaleInSharedContentToBoundsএবংscaleOutSharedContentToBounds( I731c1 )
এপিআই পরিবর্তন
-
AnimatedVisibilityScope.transitionএখন একটি স্থিতিশীল API।Modifier.animateEnterExit(..)-কেও স্থিতিশীল করা হয়েছে। ( I6c1d1 ) -
ApproachLayoutModifierNodeএবংModifier.approachLayoutএখন স্থিতিশীল, এবং পুরোনোisMeasurementApproachInProgress()ওisPlacementApproachInProgress()এর পরিবর্তে যথাক্রমে নতুনisMeasurementApproachComplete()ওisPlacementApproachComplete()যুক্ত করা হয়েছে। - অপ্রচলিত
intermediateLayoutমডিফায়ারটি সরানো হয়েছে। ( I3e91c ) - আপনি এখন
keyframesWithSplineএ একটিperiodicBiasভ্যালু (Float) পাস করতে পারেন, এর ফলে স্প্লাইনের প্রাথমিক এবং চূড়ান্ত বেগ সমান হবে। স্প্লাইন ব্যবহার করে পুনরাবৃত্তিমূলক অ্যানিমেশনের জন্য এটি উপযোগী। বায়াস নির্দেশ করে যে পর্যায়ক্রমিকতা অর্জনের জন্য প্রতিটি বেগ (প্রাথমিক এবং চূড়ান্ত) কতটা পরিবর্তিত হবে। ( Ic1e6c , b/292114811 )
বাগ সংশোধন
- অতিরিক্ত-শুটিং এবং কম-শুটিং ইজিং কার্ভগুলি ঠিক করা হয়েছে যা পূর্বে 0..1 এর মধ্যে সীমাবদ্ধ থাকত ( I38747 )
সংস্করণ 1.7.0-alpha06
৩ এপ্রিল, ২০২৪
androidx.compose.animation:animation-*:1.7.0-alpha06 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-alpha06-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
নতুন বৈশিষ্ট্য
-
LazyColumnএবংLazyRowতে আইটেমের আবির্ভাব এবং অদৃশ্য হওয়ার অ্যানিমেশন সাপোর্ট যোগ করা হয়েছে। পূর্বে, প্লেসমেন্ট (পুনর্বিন্যাস) অ্যানিমেশন সাপোর্ট করার জন্যModifier.animateItemPlacement()মডিফায়ারটি যোগ করা যেত। আমরা এই মডিফায়ারটিকে অপ্রচলিত (deprecated) করে দিয়েছি এবংModifier.animateItem()নামে একটি নতুন নন-এক্সপেরিমেন্টাল মডিফায়ার চালু করেছি, যা আপনাকে তিন ধরনের অ্যানিমেশনই সাপোর্ট করার সুযোগ দেয়: আবির্ভাব (ফেড ইন), অদৃশ্য হওয়া (ফেড আউট) এবং পুনর্বিন্যাস। ( I2d7f7 , b/330152398 , b/150812265 )
বাগ সংশোধন
-
updateTransitionAPI-এর পারফরম্যান্স উন্নত করা হয়েছে।
সংস্করণ 1.7.0-alpha05
২০ মার্চ, ২০২৪
androidx.compose.animation:animation-*:1.7.0-alpha05 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-alpha05-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
এপিআই পরিবর্তন
-
SeekableTransitionStatesnapTo()seekTo()দিয়ে প্রতিস্থাপন করে এবং এমন একটিsnapTo()যোগ করে যা কোনো ধরনের অ্যানিমেশন ছাড়াই তাৎক্ষণিকভাবে স্টেটকে একটি গন্তব্য স্টেটে পরিবর্তন করে দেয়।
সংস্করণ 1.7.0-alpha04
৬ মার্চ, ২০২৪
androidx.compose.animation:animation-*:1.7.0-alpha04 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-alpha04-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
এপিআই পরিবর্তন
- পাথের দিক পরিবর্তন করার জন্য নতুন এপিআই
Path.reverse()( I36348 )
সংস্করণ 1.7.0-alpha03
২১শে ফেব্রুয়ারি, ২০২৪
androidx.compose.animation:animation-*:1.7.0-alpha03 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-alpha03-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
নতুন বৈশিষ্ট্য
- নতুন
Modifier.animateContentSize, যা কাস্টম কন্টেন্ট অ্যালাইনমেন্টের জন্য একটি অতিরিক্ত প্যারামিটার গ্রহণ করে। ( I5623a , b/269803907 ) - ইনস্ট্যানসিয়েশনের সময় অজানা থাকা আকার, অবস্থান বা অন্য যেকোনো টার্গেটকে অ্যানিমেট করার জন্য নতুন পরীক্ষামূলক
DeferredTargetAnimation। ( I60745 )
সংস্করণ 1.7.0-alpha02
৭ ফেব্রুয়ারী, ২০২৪
androidx.compose.animation:animation-*:1.7.0-alpha02 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-alpha02-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
-
KeyframesSpecজন্য সামঞ্জস্যতা সংশোধন। ( I2bdf3 , b/322214617 ) -
LazyListএ ব্যবহৃত হলেModifier.animateContentSizeসঠিকভাবে রিসেট না হওয়ার সমস্যাটি সমাধান করা হয়েছে। ( I070512 , b/322525716 ) - সীমার বাইরের টাইমস্ট্যাম্প ব্যবহার করার সময়
KeyframesSpecএIllegalStateExceptionসমাধান করা হয়েছে। ( I341b8 , b/322839811 )
সংস্করণ 1.7.0-alpha01
২৪ জানুয়ারী, ২০২৪
androidx.compose.animation:animation-*:1.7.0-alpha01 প্রকাশিত হয়েছে। সংস্করণ 1.7.0-alpha01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৬
সংস্করণ ১.৬.৮
১২ জুন, ২০২৪
androidx.compose.animation:animation-*:1.6.8 প্রকাশিত হয়েছে। সংস্করণ 1.6.8-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৬.৭
১ মে, ২০২৪
androidx.compose.animation:animation-*:1.6.7 প্রকাশিত হয়েছে। সংস্করণ 1.6.7-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৬.৬
১৭ এপ্রিল, ২০২৪
androidx.compose.animation:animation-*:1.6.6 প্রকাশিত হয়েছে। পূর্ববর্তী রিলিজের পর থেকে কোনো পরিবর্তন নেই।
সংস্করণ ১.৬.৫
৩ এপ্রিল, ২০২৪
androidx.compose.animation:animation-*:1.6.5 প্রকাশিত হয়েছে। সংস্করণ 1.6.5-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৬.৪
২০ মার্চ, ২০২৪
androidx.compose.animation:animation-*:1.6.4 প্রকাশিত হয়েছে। সংস্করণ 1.6.4-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৬.৩
৬ মার্চ, ২০২৪
androidx.compose.animation:animation-*:1.6.3 প্রকাশিত হয়েছে। সংস্করণ 1.6.3-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৬.২
২১শে ফেব্রুয়ারি, ২০২৪
androidx.compose.animation:animation-*:1.6.2 প্রকাশিত হয়েছে। সংস্করণ 1.6.2-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ ১.৬.১
৭ ফেব্রুয়ারী, ২০২৪
androidx.compose.animation:animation-*:1.6.1 প্রকাশিত হয়েছে। সংস্করণ 1.6.1-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
বাগ সংশোধন
-
KeyframesSpecজন্য সামঞ্জস্যতা সংশোধন। ( I2bdf3 , b/322214617 )
সংস্করণ ১.৬.০
২৪ জানুয়ারী, ২০২৪
androidx.compose.animation:animation-*:1.6.0 প্রকাশিত হয়েছে। সংস্করণ 1.6.0-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.6.0-rc01
১০ জানুয়ারী, ২০২৪
androidx.compose.animation:animation-*:1.6.0-rc01 প্রকাশিত হয়েছে। সংস্করণ 1.6.0-rc01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.6.0-beta03
১৩ ডিসেম্বর, ২০২৩
androidx.compose.animation:animation-*:1.6.0-beta03 প্রকাশিত হয়েছে। সংস্করণ 1.6.0-beta03-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
এপিআই পরিবর্তন
-
AnimatedContentTransitionScopeথেকেscaleInToFitContainerএবংscaleOutToFitContainerসাময়িকভাবে সরিয়ে ফেলা হয়েছে, কারণ এগুলোর জন্য lookahead প্রয়োজন। ভবিষ্যতের রিলিজগুলোতে, যখন lookahead ডিফল্টরূপে চালু থাকবে অথবা বেছে নেওয়ার সুযোগ থাকবে, তখন এগুলো উপলব্ধ হবে।
সংস্করণ 1.6.0-beta02
২৯ নভেম্বর, ২০২৩
androidx.compose.animation:animation-*:1.6.0-beta02 প্রকাশিত হয়েছে। সংস্করণ 1.6.0-beta02-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
সংস্করণ 1.6.0-beta01
১৫ নভেম্বর, ২০২৩
androidx.compose.animation:animation-*:1.6.0-beta01 প্রকাশিত হয়েছে। সংস্করণ 1.6.0-beta01-এ এই কমিটগুলো অন্তর্ভুক্ত রয়েছে।
এপিআই পরিবর্তন
- আরও সুস্পষ্ট করার জন্য
ExitTransition.Holdএর নাম পরিবর্তন করেExitTransition.KeepUntilTransitionsFinishedরাখা হয়েছে। ( I1c490 ) - আপনি এখন মনোটোনিক স্প্লাইন ব্যবহার করে যেকোনো N-মাত্রিক মান ইন্টারপোলেট করতে
keyframesWithSplineব্যবহার করতে পারেন। এটিOffset,IntOffset,DpOffsetমতো অবস্থানগত মান ইন্টারপোলেট করার জন্য বিশেষভাবে উপযোগী। পরীক্ষামূলক API হিসেবে যোগ করা হয়েছে।
বাগ সংশোধন
-
ArcLineএ Sweep Gradient-এর জন্য রেন্ডারার সমর্থন যোগ করুন। ( I4d5bb ) -
PageSize.Fixedজন্য equals এবং hashcode প্রয়োগ করুন। ( Ie3ede , b/300134276 ) - উইন্ডো ইনসেট পরিবর্তনের সাথে বাইনারি সামঞ্জস্যের সমস্যা সমাধান করা হয়েছে। ( Iee695 )
- Material3 চিপ/বাটনের জন্য মেটেরিয়াল কোর লেয়ারটি সরিয়ে ফেলুন, কারণ মাইক্রোবেঞ্চমার্ক অনুযায়ী এটি ছাড়া পারফরম্যান্স আরও ভালো। ( I55555 )
সংস্করণ 1.6.0-alpha08
১৮ অক্টোবর, ২০২৩
androidx.compose.animation:animation-*:1.6.0-alpha08 is released. Version 1.6.0-alpha08 contains these commits.
API Changes
- Deprecated
KeyframesSpecConfig#within favorKeyframesSpecConfig#usingwhich preserves the builder pattern. ( I1d769 )
Version 1.6.0-alpha07
October 4, 2023
androidx.compose.animation:animation-*:1.6.0-alpha07 is released. Version 1.6.0-alpha07 contains these commits.
API Changes
- Fixed and Scrollable Tabrows now have Primary and Secondary variants. These correctly map to the color and indicator behavior as defined in Material3.
-
PrimaryScrollableTabRowandSecondaryScrollableTabRownow expose scroll state. ( Iec8f5 , b/260572337 )
Version 1.6.0-alpha06
September 20, 2023
androidx.compose.animation:animation-*:1.6.0-alpha06 is released. Version 1.6.0-alpha06 contains these commits.
Version 1.6.0-alpha05
September 6, 2023
androidx.compose.animation:animation-*:1.6.0-alpha05 is released. Version 1.6.0-alpha05 contains these commits.
API Changes
- Added
PathEasingto enable an arbitrary path to be supplied to an easing curve. ( Idb4b9 )
Version 1.6.0-alpha04
August 23, 2023
androidx.compose.animation:animation-*:1.6.0-alpha04 is released. Version 1.6.0-alpha04 contains these commits.
API Changes
- Add
SeekableTransitionStateto allow developers to control the progress of a transition. ( I8e69d )
Version 1.6.0-alpha03
August 9, 2023
androidx.compose.animation:animation-*:1.6.0-alpha03 is released. Version 1.6.0-alpha03 contains these commits.
API Changes
- New type of enter/exit transition that scales the content based on the size of the animating container during enter & exit animation.
LookaheadScopeComposable fun and interface are now stable. ( Ifb2ce )
Version 1.6.0-alpha02
২৬ জুলাই, ২০২৩
androidx.compose.animation:animation-*:1.6.0-alpha02 is released. Version 1.6.0-alpha02 contains these commits.
API Changes
- New
ExitTransition.Holdto display outgoing content inAnimatedContentuntil both enter & exit transition are finished. ( I5984f ) - Additional annotations to specify allowed inputs to composables ( I51109 )
Version 1.6.0-alpha01
June 21, 2023
androidx.compose.animation:animation-*:1.6.0-alpha01 is released. Version 1.6.0-alpha01 contains these commits.
নতুন বৈশিষ্ট্য
- Enable
Modifier.animateContentSizeandAnimatedVisibilityto be fully integrated into the lookahead system by reporting the target size in the lookahead pass.
API Changes
- New property in
IntrinsincMeasureScopeand its implementations (egMeasureScope) to indicate whether the current measure pass is a lookahead pass. ( I7a812 )
বাগ সংশোধন
- Removed allocations from spring animations. ( Ie9431 )
- value parameter name for Enum.valueOf changed ( Ia9b89 )
- more thrown exceptions from enum valueOf ( I818fe )
Version 1.5
Version 1.5.4
১৮ অক্টোবর, ২০২৩
androidx.compose.animation:animation-*:1.5.4 is released. Version 1.5.4 contains these commits.
Version 1.5.3
October 4, 2023
androidx.compose.animation:animation-*:1.5.3 is released. This version has no changes
Version 1.5.2
২৭ সেপ্টেম্বর, ২০২৩
androidx.compose.animation:animation-*:1.5.2 is released. Version 1.5.2 contains these commits.
Version 1.5.1
September 6, 2023
androidx.compose.foundation:foundation-*:1.5.1 is released. Version 1.5.1 contains these commits.
বাগ সংশোধন
- Fixed text fields showing keyboard and being editable when
readOnlyis true. Also fixed the keyboard not showing whenreadOnlyis changed from true to false while focused. ( I34a19 , b/246909589 )
Version 1.5.1
September 6, 2023
androidx.compose.animation:animation-*:1.5.1 is released. Version 1.5.1 contains these commits.
Version 1.5.0
August 9, 2023
androidx.compose.animation:animation-*:1.5.0 is released. Version 1.5.0 contains these commits.
Version 1.5.0-rc01
২৬ জুলাই, ২০২৩
androidx.compose.animation:animation-*:1.5.0-rc01 is released. Version 1.5.0-rc01 contains these commits.
বাগ সংশোধন
Fixed an issue where calling
.valueon a primitive state type (likeMutableIntState) would report a lint warning with an invalid fix. The inspection will now recommend migrating to the correct property. ( Iba953 , b/287279257 )An optional inspection to recommend migrating
mutableStateOf()calls to their corresponding specialized types for primitives is available. Its lint ID isAutoboxingStateCreation. Previously, this inspection was enabled by default for all projects. To see this warning in Android Studio's editor and your project's lint outputs, change its severity from informational to warning (or higher) by declaringwarning "AutoboxingStateCreation"inside your module'sbuild.gradleorbuild.gradle.ktsconfiguration as shown ( I34f7e ):android { lint { warning "AutoboxingStateCreation" } ... }
Version 1.5.0-beta03
২৮ জুন, ২০২৩
androidx.compose.animation:animation-*:1.5.0-beta03 is released. Version 1.5.0-beta03 contains these commits.
Version 1.5.0-beta02
৭ জুন, ২০২৩
androidx.compose.animation:animation-*:1.5.0-beta02 is released. Version 1.5.0-beta02 contains these commits.
Version 1.5.0-beta01
২৪ মে, ২০২৩
androidx.compose.animation:animation-*:1.5.0-beta01 is released. Version 1.5.0-beta01 contains these commits.
API Changes
- Removed allocations in recomposition, color animations, and
AndroidComposeView( Ib2bfa )
বাগ সংশোধন
- Removed allocations from spring animations ( Ie9431 )
Version 1.5.0-alpha04
১০ মে, ২০২৩
androidx.compose.animation:animation-*:1.5.0-alpha04 is released. Version 1.5.0-alpha04 contains these commits.
API Changes
-
ContentKeyis now supported inAnimatedContentto allow more control for when transition should happen. ( Ic069b )
Version 1.5.0-alpha03
১৯ এপ্রিল, ২০২৩
androidx.compose.animation:animation-*:1.5.0-alpha03 is released. Version 1.5.0-alpha03 contains these commits.
নতুন বৈশিষ্ট্য
- New default behavior for
SubcomposeLayoutinLookaheadScope. It allowsSubcomposeLayoutsthat don't have conditional slots (egTabRow,Scaffold,BoxWithConstraints, etc) to work nicely with lookahead animations.
API Changes
- New default
intermediateMeasurePolicythat reuses measure policy from lookahead pass allowsSubcomposeLayoutsubtypes without conditional slots such asScaffold,TabRow, andBoxWithConstraintsto work with lookahead by default. ( Id84c8 ) - Rename infix fun with to
togetherWithfor combining enter and exit transitions. NewAnimatedContentScopeas receiver for the content lambda. ( Ic39ae )
Version 1.5.0-alpha02
৫ এপ্রিল, ২০২৩
androidx.compose.animation:animation-*:1.5.0-alpha02 is released. Version 1.5.0-alpha02 contains these commits.
নতুন বৈশিষ্ট্য
- New experimental API to support lookahead in
SubcomposeLayout. This will allowSubcomposeLayoutto function properly in aLookaheadScope. More out-of-the-box support for specific subtypes ofSubcomposeLayoutwill come soon.
API Changes
- New
SubcomposeLayoutAPI that takes an additional intermediate measure policy for handling measure/layout logic during lookahead-based animations. ( I017d3 )
Version 1.5.0-alpha01
২২ মার্চ, ২০২৩
androidx.compose.animation:animation-*:1.5.0-alpha01 is released. Version 1.5.0-alpha01 contains these commits.
API Changes
-
AnimatedContentAPIs are now stableAnimatedContentScopehas been renamed toAnimatedContentTransitionScope.scaleInandscaleOutare now stable APIs. ( Iaf54e )
Version 1.4
Version 1.4.3
৩ মে, ২০২৩
androidx.compose.animation:animation:1.4.3 , androidx.compose.animation:animation-core:1.4.3 , and androidx.compose.animation:animation-graphics:1.4.3 are released with no changes (only a version bump).
Version 1.4.2
১৯ এপ্রিল, ২০২৩
androidx.compose.animation:animation:1.4.2 , androidx.compose.animation:animation-core:1.4.2 , and androidx.compose.animation:animation-graphics:1.4.2 are released with no changes. Version 1.4.2 contains these commits.
Version 1.4.1
৫ এপ্রিল, ২০২৩
androidx.compose.animation:animation:1.4.1 , androidx.compose.animation:animation-core:1.4.1 , and androidx.compose.animation:animation-graphics:1.4.1 are released with no changes. Version 1.4.1 contains these commits.
Version 1.4.0
২২ মার্চ, ২০২৩
androidx.compose.animation:animation:1.4.0 , androidx.compose.animation:animation-core:1.4.0 , and androidx.compose.animation:animation-graphics:1.4.0 are released. Version 1.4.0 contains these commits.
Important changes since 1.3.0
- Tooling label is supported in r
ememberInfiniteTransitionand all the extension functions onInfiniteTransitionand Transition (egInfiniteTransition#animateColor) ( I56ef7 )
Version 1.4.0-rc01
৮ মার্চ, ২০২৩
androidx.compose.animation:animation:1.4.0-rc01 , androidx.compose.animation:animation-core:1.4.0-rc01 , and androidx.compose.animation:animation-graphics:1.4.0-rc01 are released with no changes. Version 1.4.0-rc01 contains these commits.
Version 1.4.0-beta02
February 22, 2023
androidx.compose.animation:animation:1.4.0-beta02 , androidx.compose.animation:animation-core:1.4.0-beta02 , and androidx.compose.animation:animation-graphics:1.4.0-beta02 are released with no changes. Version 1.4.0-beta02 contains these commits.
Version 1.4.0-beta01
৮ ফেব্রুয়ারী, ২০২৩
androidx.compose.animation:animation:1.4.0-beta01 , androidx.compose.animation:animation-core:1.4.0-beta01 , and androidx.compose.animation:animation-graphics:1.4.0-beta01 are released with no changes. Version 1.4.0-beta01 contains these commits.
Version 1.4.0-alpha05
২৫শে জানুয়ারী, ২০২৩
androidx.compose.animation:animation:1.4.0-alpha05 , androidx.compose.animation:animation-core:1.4.0-alpha05 , and androidx.compose.animation:animation-graphics:1.4.0-alpha05 are released. Version 1.4.0-alpha05 contains these commits.
পরিবর্তন
- No changes in animation libraries since the last alpha, version bump only
Version 1.4.0-alpha04
January 11, 2023
androidx.compose.animation:animation:1.4.0-alpha04 , androidx.compose.animation:animation-core:1.4.0-alpha04 , and androidx.compose.animation:animation-graphics:1.4.0-alpha04 are released. Version 1.4.0-alpha04 contains these commits.
নতুন বৈশিষ্ট্য
- Tooling label is supported in
rememberInfiniteTransitionand all the extension functions onInfiniteTransitionandTransition(egInfiniteTransition#animateColor) ( I56ef7 )
API Changes
-
InfiniteTransition#TransitionAnimationStateandInfiniteTransition#animationsAPIs are now public. ( I36682 )
Version 1.4.0-alpha03
December 7, 2022
androidx.compose.animation:animation:1.4.0-alpha03 , androidx.compose.animation:animation-core:1.4.0-alpha03 , and androidx.compose.animation:animation-graphics:1.4.0-alpha03 are released. Version 1.4.0-alpha03 contains these commits.
API Changes
- In UI tests using a Compose rule, continuations resumed during
withFrameNanoscallbacks will not be dispatched until after all frame callbacks have finished running. This matches the behavior of compose when running normally. However, tests that rely on the old behavior may fail. This should only affect code that callswithFrameNanosorwithFrameMillisdirectly, and has logic outside of callback passed to those functions that may need to be moved inside the callbacks. See the animation test changes in this CL for examples . - Added optional
onPerformTraversals: (Long) -> Unitparameter toTestMonotonicFrameClockconstructor and factory function to run code afterwithFrameNanoscallbacks but before resuming callers' coroutines. ( Idb413 , b/254115946 , b/222093277 , b/255802670 ) - New param in
AnimatedContentfor tooling label ( Iebe2d )
Version 1.4.0-alpha02
৯ নভেম্বর, ২০২২
androidx.compose.animation:animation:1.4.0-alpha02 , androidx.compose.animation:animation-core:1.4.0-alpha02 , and androidx.compose.animation:animation-graphics:1.4.0-alpha02 are released. Version 1.4.0-alpha02 contains these commits.
API Changes
- Add
ToolingStateto allow tooling to change internal states of Composable ( Ie6614 )
Version 1.4.0-alpha01
২৪ অক্টোবর, ২০২২
androidx.compose.animation:animation:1.4.0-alpha01 , androidx.compose.animation:animation-core:1.4.0-alpha01 , and androidx.compose.animation:animation-graphics:1.4.0-alpha01 are released. Version 1.4.0-alpha01 contains these commits.
বাগ সংশোধন
- Fix incorrect interruption animation in AnimatedContent ( b/238662479 )
Version 1.3
Version 1.3.3
January 11, 2023
androidx.compose.animation:animation:1.3.3 , androidx.compose.animation:animation-core:1.3.3 , and androidx.compose.animation:animation-graphics:1.3.3 are released. Version 1.3.3 contains these commits.
- No changes since the 1.3.2.
Version 1.3.2
December 7, 2022
androidx.compose.animation:animation:1.3.2 , androidx.compose.animation:animation-core:1.3.2 , and androidx.compose.animation:animation-graphics:1.3.2 are released. Version 1.3.2 contains these commits.
বাগ সংশোধন
- Updated to support androidx.compose.ui 1.3.2
Version 1.3.1
৯ নভেম্বর, ২০২২
androidx.compose.animation:animation:1.3.1 , androidx.compose.animation:animation-core:1.3.1 , and androidx.compose.animation:animation-graphics:1.3.1 are released. Version 1.3.1 contains these commits.
Version 1.3.0
২৪ অক্টোবর, ২০২২
androidx.compose.animation:animation:1.3.0 , androidx.compose.animation:animation-core:1.3.0 , and androidx.compose.animation:animation-graphics:1.3.0 are released. Version 1.3.0 contains these commits.
Important changes since 1.2.0
- New set of easing functions are made stable
Version 1.3.0-rc01
October 5, 2022
androidx.compose.animation:animation:1.3.0-rc01 , androidx.compose.animation:animation-core:1.3.0-rc01 , and androidx.compose.animation:animation-graphics:1.3.0-rc01 are released. Version 1.3.0-rc01 contains these commits.
Version 1.3.0-beta03
২১ সেপ্টেম্বর, ২০২২
androidx.compose.animation:animation:1.3.0-beta03 , androidx.compose.animation:animation-core:1.3.0-beta03 , and androidx.compose.animation:animation-graphics:1.3.0-beta03 are released. Version 1.3.0-beta03 contains these commits.
- No changes since 1.3.0-beta02.
Version 1.3.0-beta02
September 7, 2022
androidx.compose.animation:animation:1.3.0-beta02 , androidx.compose.animation:animation-core:1.3.0-beta02 , and androidx.compose.animation:animation-graphics:1.3.0-beta02 are released. Version 1.3.0-beta02 contains these commits.
- Removed Kotlin.experimental from the compiler options since it is depricated
Version 1.3.0-beta01
২৪ আগস্ট, ২০২২
androidx.compose.animation:animation:1.3.0-beta01 , androidx.compose.animation:animation-core:1.3.0-beta01 , and androidx.compose.animation:animation-graphics:1.3.0-beta01 are released. Version 1.3.0-beta01 contains these commits.
Version 1.3.0-alpha03
১০ আগস্ট, ২০২২
androidx.compose.animation:animation:1.3.0-alpha03 , androidx.compose.animation:animation-core:1.3.0-alpha03 , and androidx.compose.animation:animation-graphics:1.3.0-alpha03 are released. Version 1.3.0-alpha03 contains these commits.
API Changes
- New param in
Crossfade,animateAsStateandAnimatablefor tooling label ( Iac08a ) - Added
atFractionfunction for defining keyframes at a fraction instead of at a specific duration. ( I20c76 , b/232059455 )
Version 1.3.0-alpha02
July 27, 2022
androidx.compose.animation:animation:1.3.0-alpha02 , androidx.compose.animation:animation-core:1.3.0-alpha02 , and androidx.compose.animation:animation-graphics:1.3.0-alpha02 are released. Version 1.3.0-alpha02 contains these commits.
Version 1.3.0-alpha01
২৯ জুন, ২০২২
androidx.compose.animation:animation:1.3.0-alpha01 , androidx.compose.animation:animation-core:1.3.0-alpha01 , and androidx.compose.animation:animation-graphics:1.3.0-alpha01 are released. Version 1.3.0-alpha01 contains these commits.
API Changes
- New
LookaheadLayoutthat supports a lookahead pass before the actual measure/layout. This allows a pre-calculation of the layout when it changes, while permitting the post-lookahead measure/layout to use the pre-calculated size/position to animate the size and positions towards the target.SubcomposeLayoutsare not yet supported, but will be in an upcoming release. ( I477f5 )
সংস্করণ ১.২
Version 1.2.1
১০ আগস্ট, ২০২২
androidx.compose.animation:animation:1.2.1 , androidx.compose.animation:animation-core:1.2.1 , and androidx.compose.animation:animation-graphics:1.2.1 are released. Version 1.2.1 contains these commits.
Version 1.2.0
July 27, 2022
androidx.compose.animation:animation:1.2.0 , androidx.compose.animation:animation-core:1.2.0 , and androidx.compose.animation:animation-graphics:1.2.0 are released. Version 1.2.0 contains these commits.
Important changes since 1.1.0
- Compose animation now supports 'Animator duration scale' setting from Developer Options.
- A large selection of new experimental easing curves.
-
AnimatedImageVectornow supportsrepeatCountandrepeatMode
Version 1.2.0-rc03
২৯ জুন, ২০২২
androidx.compose.animation:animation:1.2.0-rc03 , androidx.compose.animation:animation-core:1.2.0-rc03 , and androidx.compose.animation:animation-graphics:1.2.0-rc03 are released. Version 1.2.0-rc03 contains these commits.
- No changes since 1.2.0-rc02.
Version 1.2.0-rc02
২২ জুন, ২০২২
androidx.compose.animation:animation:1.2.0-rc02 , androidx.compose.animation:animation-core:1.2.0-rc02 , and androidx.compose.animation:animation-graphics:1.2.0-rc02 are released. Version 1.2.0-rc02 contains these commits.
বাগ সংশোধন
- Removed
ExperimentalEasingApiannotation on Easing functions ( Ied441 )
Version 1.2.0-rc01
১৫ জুন, ২০২২
androidx.compose.animation:animation:1.2.0-rc01 , androidx.compose.animation:animation-core:1.2.0-rc01 , and androidx.compose.animation:animation-graphics:1.2.0-rc01 are released. Version 1.2.0-rc01 contains these commits.
API Changes
- Interfaces in compose libraries are now built using jdk8 default interface methods ( I5bcf1 )
Version 1.2.0-beta03
June 1, 2022
androidx.compose.animation:animation:1.2.0-beta03 , androidx.compose.animation:animation-core:1.2.0-beta03 , and androidx.compose.animation:animation-graphics:1.2.0-beta03 are released. Version 1.2.0-beta03 contains these commits.
API Changes
- Added Experimental Easing Curves for Animations ( I64a38 )
Version 1.2.0-beta02
May 18, 2022
androidx.compose.animation:animation:1.2.0-beta02 , androidx.compose.animation:animation-core:1.2.0-beta02 , and androidx.compose.animation:animation-graphics:1.2.0-beta02 are released. Version 1.2.0-beta02 contains these commits.
Version 1.2.0-beta01
১১ মে, ২০২২
androidx.compose.animation:animation:1.2.0-beta01 , androidx.compose.animation:animation-core:1.2.0-beta01 , and androidx.compose.animation:animation-graphics:1.2.0-beta01 are released. Version 1.2.0-beta01 contains these commits.
- This is the first beta release of 1.2! There are no changes since the last alpha.
Version 1.2.0-alpha08
April 20, 2022
androidx.compose.animation:animation:1.2.0-alpha08 , androidx.compose.animation:animation-core:1.2.0-alpha08 , and androidx.compose.animation:animation-graphics:1.2.0-alpha08 are released. Version 1.2.0-alpha08 contains these commits.
Version 1.2.0-alpha07
April 6, 2022
androidx.compose.animation:animation:1.2.0-alpha07 , androidx.compose.animation:animation-core:1.2.0-alpha07 , and androidx.compose.animation:animation-graphics:1.2.0-alpha07 are released. Version 1.2.0-alpha07 contains these commits.
API Changes
-
AnimatedImageVectornow supportsrepeatCountandrepeatMode( Ia3e75 , b/199304067 )
Version 1.2.0-alpha06
March 23, 2022
androidx.compose.animation:animation:1.2.0-alpha06 , androidx.compose.animation:animation-core:1.2.0-alpha06 , and androidx.compose.animation:animation-graphics:1.2.0-alpha06 are released. Version 1.2.0-alpha06 contains these commits.
API Changes
- Updated parsing of vector drawables to support auto mirroring to flip the content of a
VectorPainterif the current layout direction is RTL. ( I79cd9 , b/185760237 )
বাগ সংশোধন
- Updated Vector graphics APIs to use the proper composable annotation
@VectorComposableinstead of@UiComposable( I942bc )
Version 1.2.0-alpha05
March 9, 2022
androidx.compose.animation:animation:1.2.0-alpha05 , androidx.compose.animation:animation-core:1.2.0-alpha05 , and androidx.compose.animation:animation-graphics:1.2.0-alpha05 are released. Version 1.2.0-alpha05 contains these commits.
API Changes
- Hooray! Compose animation now supports 'Animator duration scale' setting from Developer Options. ( I5a4fc , b/161675988 )
Version 1.2.0-alpha04
February 23, 2022
androidx.compose.animation:animation:1.2.0-alpha04 , androidx.compose.animation:animation-core:1.2.0-alpha04 , and androidx.compose.animation:animation-graphics:1.2.0-alpha04 are released. Version 1.2.0-alpha04 contains these commits.
Version 1.2.0-alpha03
February 9, 2022
androidx.compose.animation:animation:1.2.0-alpha03 , androidx.compose.animation:animation-core:1.2.0-alpha03 , and androidx.compose.animation:animation-graphics:1.2.0-alpha03 are released. Version 1.2.0-alpha03 contains these commits.
Version 1.2.0-alpha02
January 26, 2022
androidx.compose.animation:animation:1.2.0-alpha02 , androidx.compose.animation:animation-core:1.2.0-alpha02 , and androidx.compose.animation:animation-graphics:1.2.0-alpha02 are released. Version 1.2.0-alpha02 contains these commits.
Version 1.2.0-alpha01
January 12, 2022
androidx.compose.animation:animation:1.2.0-alpha01 , androidx.compose.animation:animation-core:1.2.0-alpha01 , and androidx.compose.animation:animation-graphics:1.2.0-alpha01 are released. Version 1.2.0-alpha01 contains these commits.
API Changes
- Use
AnimatedImageVector.animatedVectorResourceinstead ofanimatedVectorResourceto load an<animated-vector>resource file.- Use
rememberAnimatedVectorResourceinstead ofAnimatedImageVector#painterForto render anAnimatedImageVector. ( I9c300 )
- Use
বাগ সংশোধন
- Add toString methods to Animatable and AnimationResult. ( Icd3a6 )
Dependency Updates
- Now depends on Kotlin
1.6.10.
সংস্করণ ১.১
Version 1.1.1
February 23, 2022
androidx.compose.animation:animation:1.1.1 , androidx.compose.animation:animation-core:1.1.1 , and androidx.compose.animation:animation-graphics:1.1.1 are released. Version 1.1.1 contains these commits.
বাগ সংশোধন
- Fix
NullPointerExceptionatandroidx.compose.ui.platform.RenderNodeLayer.updateDisplayList( aosp/1947059 , b/206677462 ) - Fix crash caused by clipboard content while reading from clipboard on Android. ( I06020 , b/197769306 )
- Fixed RTL in
LazyVerticalGrid( aosp/1931080 , b/207510535 )
Version 1.1.0
February 9, 2022
androidx.compose.animation:animation:1.1.0 , androidx.compose.animation:animation-core:1.1.0 , and androidx.compose.animation:animation-graphics:1.1.0 are released. Version 1.1.0 contains these commits.
Important changes since 1.0.0
- Stable support for the Android 12 Overscroll effect
- Improvements to touch target sizing
- Note that, with respect to Compose 1.0, Material components will expand their layout space to meet Material accessibility guidelines for touch target size . For instance, Button touch target will expand to a minimum size of 48x48dp, even if you set the Button's size to be smaller. This aligns Compose Material to the same behavior of Material Design Components, providing consistent behavior if you mix Views and Compose. This change also ensures that when you create your UI using Compose Material components, minimum requirements for touch target accessibility will be met.
- Stable support for Navigation Rail
- Graduates a number of previously experimental APIs to stable
- Support for newer versions of Kotlin
Version 1.1.0-rc03
January 26, 2022
androidx.compose.animation:animation:1.1.0-rc03 , androidx.compose.animation:animation-core:1.1.0-rc03 , and androidx.compose.animation:animation-graphics:1.1.0-rc03 are released. Version 1.1.0-rc03 contains these commits.
বাগ সংশোধন
- Updated to support Compose Material 1.1.0-rc03
Version 1.1.0-rc01
১৫ ডিসেম্বর, ২০২১
androidx.compose.animation:animation:1.1.0-rc01 and androidx.compose.animation:animation-core:1.1.0-rc01 are released. Version 1.1.0-rc01 contains these commits.
API Changes
- Use
AnimatedImageVector.animatedVectorResourceinstead ofanimatedVectorResourceto load an<animated-vector>resource file.- Use
rememberAnimatedVectorResourceinstead ofAnimatedImageVector#painterForto render anAnimatedImageVector. ( I9c300 )
- Use
Version 1.1.0-beta04
১ ডিসেম্বর, ২০২১
androidx.compose.animation:animation:1.1.0-beta04 , androidx.compose.animation:animation-core:1.1.0-beta04 , and androidx.compose.animation:animation-graphics:1.1.0-beta04 are released. Version 1.1.0-beta04 contains these commits.
নতুন বৈশিষ্ট্য
- Updated to be compatible with Kotlin
1.6.0
Version 1.1.0-beta03
১৭ নভেম্বর, ২০২১
androidx.compose.animation:animation:1.1.0-beta03 , androidx.compose.animation:animation-core:1.1.0-beta03 , and androidx.compose.animation:animation-graphics:1.1.0-beta03 are released. Version 1.1.0-beta03 contains these commits.
API Changes
- Added new modifier Modifier.onPlaced to allow placement change to be observed. Additional changes to child modifier's offset can therefore be made based on the observed placement change. ( I558fd )
New support for contentKey in Crossfade. ContentKey will be used for equality check by animation system. Therefore custom diffing on states can be achieved via specifying appropriate contentKey for different states.
ContentKey will also be used as the key for save & restore content. ( I2e055 , b/197907070 )
Version 1.1.0-beta02
November 3, 2021
androidx.compose.animation:animation:1.1.0-beta02 , androidx.compose.animation:animation-core:1.1.0-beta02 , and androidx.compose.animation:animation-graphics:1.1.0-beta02 are released. Version 1.1.0-beta02 contains these commits.
বাগ সংশোধন
- New animation APIs for supporting tooling. Specifically, they allow tooling to inspect the animations & their configurations in a Transitions. ( I4116e )
Version 1.1.0-beta01
October 27, 2021
androidx.compose.animation:animation:1.1.0-beta01 , androidx.compose.animation:animation-core:1.1.0-beta01 , and androidx.compose.animation:animation-graphics:1.1.0-beta01 are released. Version 1.1.0-beta01 contains these commits.
API Changes
- New animation APIs for supporting tooling. Specifically, they allow tooling to inspect the animations & their configurations in a Transitions. ( I4116e )
Version 1.1.0-alpha06
October 13, 2021
androidx.compose.animation:animation:1.1.0-alpha06 , androidx.compose.animation:animation-core:1.1.0-alpha06 , and androidx.compose.animation:animation-graphics:1.1.0-alpha06 are released. Version 1.1.0-alpha06 contains these commits.
Version 1.1.0-alpha05
September 29, 2021
androidx.compose.animation:animation:1.1.0-alpha05 , androidx.compose.animation:animation-core:1.1.0-alpha05 , and androidx.compose.animation:animation-graphics:1.1.0-alpha05 are released. Version 1.1.0-alpha05 contains these commits.
API Changes
EnterTransition,ExitTransition, and some of theAnimatedVisibilityAPIs have been made stable.MutableTransitionState.isIdleis also no longer experimental. ( I5072d )Breaking change : lambdas in Enter/ExitTransition factories have been moved to the last position in the param list. ( I5072d )
Version 1.1.0-alpha04
September 15, 2021
androidx.compose.animation:animation:1.1.0-alpha04 , androidx.compose.animation:animation-core:1.1.0-alpha04 , and androidx.compose.animation:animation-graphics:1.1.0-alpha04 are released. Version 1.1.0-alpha04 contains these commits.
Version 1.1.0-alpha03
September 1, 2021
androidx.compose.animation:animation:1.1.0-alpha03 , androidx.compose.animation:animation-core:1.1.0-alpha03 , and androidx.compose.animation:animation-graphics:1.1.0-alpha03 are released. Version 1.1.0-alpha03 contains these commits.
নতুন বৈশিষ্ট্য
- Updated Compose
1.1.0-alpha03to depend on Kotlin1.5.30. ( I74545 )
Version 1.1.0-alpha02
August 18, 2021
androidx.compose.animation:animation:1.1.0-alpha02 , androidx.compose.animation:animation-core:1.1.0-alpha02 , and androidx.compose.animation:animation-graphics:1.1.0-alpha02 are released. Version 1.1.0-alpha02 contains these commits.
API Changes
- StartOffset is now supported in repeatable and infiniteRepeatable, as a way to delay the start time or fast forward the animation before the animation starts. This start offset will not be repeated ( Ic679f , b/195079908 )
- New Enter/Exit transition for scale. It can be used in combination with other types of Enter/ExitTransitions. ( I372da , b/191325593 )
Version 1.1.0-alpha01
৪ আগস্ট, ২০২১
androidx.compose.animation:animation:1.1.0-alpha01 , androidx.compose.animation:animation-core:1.1.0-alpha01 , and androidx.compose.animation:animation-graphics:1.1.0-alpha01 are released. Version 1.1.0-alpha01 contains these commits.
API Changes
-
AnimatedImageVectorand the related APIs are now in the newandroidx.compose.animation:animation-graphicsmodule. ( I60873 )
বাগ সংশোধন
- Moved
InfiniteAnimationPolicyto :compose:ui ( I5eb09 , b/160602714 )
সংস্করণ ১.০
Version 1.0.5
November 3, 2021
androidx.compose.animation:animation:1.0.5 and androidx.compose.animation:animation-core:1.0.5 are released. Version 1.0.5 contains these commits.
বাগ সংশোধন
- Fixed a crash tracking derivedStateOf instances. ( aosp/1792247 )
Version 1.0.4
October 13, 2021
androidx.compose.animation:animation:1.0.4 and androidx.compose.animation:animation-core:1.0.4 are released. Version 1.0.4 contains these commits.
Dependency Updates
- Updated to depend on Kotlin
1.5.31
Version 1.0.3
September 29, 2021
androidx.compose.animation:animation:1.0.3 and androidx.compose.animation:animation-core:1.0.3 are released. Version 1.0.3 contains these commits.
Dependency Updates
- Updated to depend on Kotlin
1.5.30
সংস্করণ ১.০.২
September 1, 2021
androidx.compose.animation:animation:1.0.2 and androidx.compose.animation:animation-core:1.0.2 are released. Version 1.0.2 contains these commits.
Updated to support the Compose 1.0.2 release. Compose 1.0.2 is still compatible with Kotlin 1.5.21 .
সংস্করণ ১.০.১
৪ আগস্ট, ২০২১
androidx.compose.animation:animation:1.0.1 and androidx.compose.animation:animation-core:1.0.1 are released. Version 1.0.1 contains these commits.
Dependency Updates
- Updated to depend on Kotlin
1.5.21.
Version 1.0.0
২৮ জুলাই, ২০২১
androidx.compose.animation:animation:1.0.0 and androidx.compose.animation:animation-core:1.0.0 are released. Version 1.0.0 contains these commits.
Major features of 1.0.0
This is the first stable release of Compose. Please see the official Compose Release blog for more details!
পরিচিত সমস্যা
If you are using Android Studio Bumblebee Canary 4 or AGP
7.1.0-alpha04/7.1.0-alpha05, you may hit the following crash:java.lang.AbstractMethodError: abstract method "void androidx.lifecycle.DefaultLifecycleObserver.onCreate(androidx.lifecycle.LifecycleOwner)"To fix, temporarily increase your minSdkVersion to 24+ in your
build.gradlefile. This issue will be fixed in the next version of Android Studio Bumblebee and AGP7.1. ( b/194289155 )
Version 1.0.0-rc02
July 14, 2021
androidx.compose.animation:animation:1.0.0-rc02 and androidx.compose.animation:animation-core:1.0.0-rc02 are released. Version 1.0.0-rc02 contains these commits.
Version 1.0.0-rc01
১ জুলাই, ২০২১
androidx.compose.animation:animation:1.0.0-rc01 and androidx.compose.animation:animation-core:1.0.0-rc01 are released. Version 1.0.0-rc01 contains these commits.
বাগ সংশোধন
- Moved
InfiniteAnimationPolicytoandroidx.compose.ui:ui( I5eb09 , b/160602714 )
Version 1.0.0-beta09
June 16, 2021
androidx.compose.animation:animation:1.0.0-beta09 and androidx.compose.animation:animation-core:1.0.0-beta09 are released. Version 1.0.0-beta09 contains these commits.
API Changes
- New
AnimatedContentComposable. It manages its content change using customizableContentTransformas new target content enters and initial content leaves. Different combination of enter and exit transitions can be used to produce a customized look and feel. As a part of the content transform,AnimatedContentautomatically animates its size to match the incoming content. ( I2c3df ) - Removed
ManualFrameClock. If you need to control animations, usecomposeTestRule.mainClockinstead. ( I3c3e8 , b/189951065 )
Added Profile Rules
This release adds profile rules to the following compose modules ( I14ed6 ):
- androidx.compose.animation
- androidx.compose.animation-core
- androidx.compose.foundation
- androidx.compose.foundation-layout
- androidx.compose.material
- androidx.compose.material-ripple
- androidx.compose.runtime
- androidx.compose.ui
- androidx.compose.ui.geometry
- androidx.compose.ui.graphics
- androidx.compose.ui.text
- androidx.compose.ui.text
- androidx.compose.ui.unit
- androidx.compose.ui.util
What are profile rules?
Profile rules for a library are specified in a text file
baseline-prof.txtlocated in thesrc/mainor equivalent directory. The file specifies a rule per line, where a rule in this case is a pattern for matching to methods or classes in the library. The syntax for these rules is a superset of the human-readable ART profile format that is used when usingadb shell profman --dump-classes-and-methods .... These rules take one of two forms to target either methods or classes.A method rule will have the following pattern:
<FLAGS><CLASS_DESCRIPTOR>-><METHOD_SIGNATURE>And a class rule will have the following pattern:
<CLASS_DESCRIPTOR>Here
<FLAGS>is one or more of the charactersH,S, andPto indicate whether or not this method should be flagged as "Hot", "Startup", or "Post Startup".The
<CLASS_DESCRIPTOR>is the descriptor for the class that the targeted method belongs to. For example, the classandroidx.compose.runtime.SlotTablewould have a descriptor ofLandroidx/compose/runtime/SlotTable;.The
<METHOD_SIGNATURE>is the signature of the method, and includes the name, parameter types, and return types of the method. For example, the methodfun isPlaced(): BooleanonLayoutNodehas the signatureisPlaced()Z.These patterns can have wildcards (
**,*, and?) in order to have a single rule encompass multiple methods or classes.
What do the rules do?
A method that has the flag
Hindicates that this method is a "hot" method, and should be compiled ahead of time.A method that has the flag
Sindicates that it is a method which is called at startup, and should be compiled ahead of time to avoid the cost of compilation and interpreting the method at startup time.A method that has the flag
Pindicates that it is a method which is called after startup.A class that is present in this file indicates that it is used during startup and should be pre-allocated in the heap to avoid the cost of class loading.
এটা কীভাবে কাজ করে?
- Libraries can define these rules which will be packaged in AAR artifacts. When an app is then built which includes these artifacts, these rules are merged together and the merged rules are used to build a compact binary ART profile that is specific to the app. ART can then leverage this profile when the app is installed on devices in order to ahead-of-time compile a specific subset of the application to improve the performance of the application, especially the first run. Note that this will have no effect on debuggable applications.
Version 1.0.0-beta08
June 2, 2021
androidx.compose.animation:animation:1.0.0-beta08 and androidx.compose.animation:animation-core:1.0.0-beta08 are released. Version 1.0.0-beta08 contains these commits.
বাগ সংশোধন
- Now
detectDragGesures,detectVerticalGestures, anddetectHorizontalGestureswill consume the position change automatically, no need to call change.consumePositionChange in the onDrag callbacks ( I42fc4 , b/185096350 , b/187320697 ) -
Modifier.onGloballyPositioned()was changed to report the coordinates of this modifier in the modifier chain, not the layout coordinates after applying all the modifiers. This means that now the ordering of modifiers is affecting what coordinates would be reported. ( Ieb67d , b/177926591 )
Version 1.0.0-beta07
May 18, 2021
androidx.compose.animation:animation:1.0.0-beta07 and androidx.compose.animation:animation-core:1.0.0-beta07 are released. Version 1.0.0-beta07 contains these commits.
API Changes
- New
AnimatedVisibilityAPI that support visibility to be specified in aMutableTransitionState. This also allows the animation states to be observed external toAnimatedVisibilityviacurrentStateandisIdle.- New child transition support in Transition
- Support custom exit/enter transition animation in AnimatedVisibility using AnimationScope.transition
- New animateEnterExit modifier accessible for all children of AnimatedVisibility
- Deprecated the AnimatedVisibility APIs that take an
initiallyVisibleparameter ( I702f3 )
Version 1.0.0-beta06
May 5, 2021
androidx.compose.animation:animation:1.0.0-beta06 and androidx.compose.animation:animation-core:1.0.0-beta06 are released. Version 1.0.0-beta06 contains these commits.
Version 1.0.0-beta05
২১ এপ্রিল, ২০২১
androidx.compose.animation:animation:1.0.0-beta05 and androidx.compose.animation:animation-core:1.0.0-beta05 are released. Version 1.0.0-beta05 contains these commits.
বাগ সংশোধন
- The AndroidManifest files from ui-test-manifest and ui-tooling-data are now compatible with Android 12 ( I6f9de , b/184718994 )
Version 1.0.0-beta04
৭ এপ্রিল, ২০২১
androidx.compose.animation:animation:1.0.0-beta04 and androidx.compose.animation:animation-core:1.0.0-beta04 are released. Version 1.0.0-beta04 contains these commits.
API Changes
- Public instances of
RowScope,ColumnScope,BoxScope,BoxWithConstraintsScopewere removed. ( I4e83e , b/181869067 )
Version 1.0.0-beta03
March 24, 2021
androidx.compose.animation:animation:1.0.0-beta03 and androidx.compose.animation:animation-core:1.0.0-beta03 are released. Version 1.0.0-beta03 contains these commits.
Version 1.0.0-beta02
March 10, 2021
androidx.compose.animation:animation:1.0.0-beta02 and androidx.compose.animation:animation-core:1.0.0-beta02 are released. Version 1.0.0-beta02 contains these commits.
বাগ সংশোধন
- Enforce restrictions on public usage of experimental APIs ( I6aa29 , b/174531520 )
Version 1.0.0-beta01
February 24, 2021
androidx.compose.animation:animation:1.0.0-beta01 and androidx.compose.animation:animation-core:1.0.0-beta01 are released. Version 1.0.0-beta01 contains these commits.
This is the first release of Compose 1.0.0 Beta.
API Changes
-
InteractionStatehas been replaced with[Mutable]InteractionSource- Interfaces are responsible for emitting / collecting Interaction events.
- Instead of passing
interactionState = remember { InteractionState() }to components such asButtonandModifier.clickable(), useinteractionSource = remember { MutableInteractionSource() }. - Instead of:
Interaction.Pressed in interactionStateyou should instead use the extension functions on InteractionSource, such as InteractionSource.collectIsPressedAsState(). - For complex use cases you can use InteractionSource.interactions to observe the stream of Interactions. See the InteractionSource documentation and samples for more information.
- ( I85965 , b/152525426 , b/171913923 , b/171710801 , b/174852378 )
- smoothScrollBy and scrollBy methods' packages changed to
androidx.compose.foundation.gestures.*( I3f7c1 , b/175294473 ) - Size modifiers were renamed. Modifier.width/height/size were renamed to requiredWidth/requiredHeight/requiredSize. Modifier.preferredWidth/preferredHeight/preferredSize were renamed to width/height/size. ( I5b414 )
- Orientation has been moved to foundation package. VelocirtTracker moved from ui.gesture to ui.input.pointer. ( Iff4a8 , b/175294473 )
- AnimationClockObservable and subclasses have been removed. AnimatedFloat has been removed. ( Icde52 , b/177457083 )
- Modifier.draggable now accepts DraggableState instead of a simple lambda. you can create state via
rememberDraggableState { delta -> }to get the same behaviour as before ( Ica70f , b/175294473 ) - animate, animatedValue, AnimatedValue APIs have been removed ( If27bc , b/177457083 )
- AnimationEndReason.Interrupted is removed. CancellationException will be throws if animation is interrupted. ( I2cbbc , b/179695417 )
- TargetAnimation API has been removed. ( If47d1 , b/177457083 )
Version 1.0.0-alpha12
February 10, 2021
androidx.compose.animation:animation:1.0.0-alpha12 and androidx.compose.animation:animation-core:1.0.0-alpha12 are released. Version 1.0.0-alpha12 contains these commits.
API Changes
-
Modifier.pointerInputnow requires remember keys to indicate when the pointer input detection coroutine should restart for new dependencies. ( I849cd ) - Bounds has been renamed to DpRect ( I4b32a )
- Unified the param name for AnimationSpec to animationSpec across the animation system. Also constrain the Enter/ExitTransition to accept FiniteAnimationSpec. ( Ie47c5 , b/177457083 )
- Animatable.snapTo and Animatable.stop are now suspend functions ( If4288 )
- Similarly to how we previously removed
state { 0 }composable and now promote usage likeremember { mutableStateOf(0) }we are going to removesavedInstanceState { 0 }composable. You should userememberSaveable { mutableStateOf(0) }instead and it will save and restore automatically if the type used inside the MutableState can be stored in the Bundle. If previously you were passing a custom saver object now you need to use a new overload of rememberSaveable which hasstateSaverparameter. The usage will look like this:val holder = rememberSaveable(stateSaver = HolderSaver) { mutableStateOf(Holder(0)) }( Ib4c26 , b/177338004 ) - Updated Crossfade's method signature to be more consistent with the rest of the animation system. ( Ib05ed , b/177457083 )
- rememberSavedInstanceState() was renamed to rememberSaveable() and moved to androidx.compose.runtime.saveable package. ( I1366e , b/177338004 )
- RestorableStateHolder was renamed to SaveableStateHolder and moved to androidx.compose.runtime.saveable package. Inner method RestorableStateProvider was renamed to SaveableStateProvider. Generic type was removed so you can just pass Any as a key. Experimental annotation is not needed anymore. ( I0902e , b/174598702 )
- Updated Modifier.animateContentSize API to be consistent with the rest of the animation system. ( I0bf75 , b/177457083 )
- AnimatedValue/Float is now deprecated. Please use Animatable instead. ( I71345 , b/177457083 )
- tapGestureFilter, doubleTapGestureFilter, longPressGestureFilter and pressIndicaitonGestureFilter have been deprecated. Use Modifier.clickable or Modifier.pointerInput with detectTapGestures function instead. ( I6baf9 , b/175294473 )
- Introduced an
InfiniteAnimationPolicycoroutine context element that will be applied in infinite animations. By default no policy is installed, except when running tests withComposeTestRule. ( I50ec4 , b/151940543 ) - Destructuring and copy() methods have been removed from several classes where they were rarely used. ( I26702 , b/178659281 )
- Playtime in animation is now unfiied to nanoseconds ( If776a )
- The compose:runtime-dispatch artifact is now deprecated. MonotonicFrameClock can now be found in compose:runtime and AndroidUiDispatcher can be found in compose:ui. ( Ib5c36 )
- Added
Animation.isInfiniteandVectorizedAnimationSpec.isInfinitethat signal if an animation is infinite or not. This can be used in implementations of animations to have special handling of such animations. For example, a special "time remaining" message can be shown, or during tests the animation can be cancelled to prevent waiting for idleness indefinitely. ( Iebb05 , b/151940543 ) - Use Long instead of Uptime as animation time type ( Ie3aa7 , b/177420019 )
Version 1.0.0-alpha11
January 28, 2021
androidx.compose.animation:animation:1.0.0-alpha11 and androidx.compose.animation:animation-core:1.0.0-alpha11 are released. Version 1.0.0-alpha11 contains these commits.
API Changes
- TransitionDefinition-based Transition has been deprecated ( I0ac57 )
- A label field is added for Transition and child animations to be displayed in tools ( I619fb )
- animateAsState is now animateFooAsState, where Foo is the type of the variable being animated. eg Float, Dp, Offset, etc ( Ie7e25 )
- New InfiniteTransition that runs any number of child animations. ( I1da81 )
- Changes Material stateful parameter interfaces to have @Composable functions that return
State<T>. Adds Animatable.asState() to make it easier to convert an Animatable to a State. Also changes animateElevation to be a suspend extension on Animatable. ( If613c )
বাগ সংশোধন
- onCommit, onDispose, and onActive have been deprecated in favor of SideEffect and DisposableEffect APIs ( If760e )
- Initial State in updateTransition is now supported ( Ifd51d )
- Content description parameter has been added to the Image and Icon. It is used to provide description to the accessibility services ( I2ac4c )
- invalidate and compositionReference() are now deprecated in favor of currentRecomposeScope and rememberCompositionReference respectively. ( I583a8 )
- Duration and Uptime will be replace with Long milliseconds, and this step removes the dependency of pointer input on those classes. ( Ia33b2 , b/175142755 , b/177420019 )
- clickable, toggleable and selectable can be created outside of composition now ( I0a130 , b/172938345 , b/175294473 )
- Easing has been changed to a functional interface ( Ib14e5 )
- New
items(count: Int)factory method for scope of LazyColumn/LazyRow/LazyVerticalGrid.items(items: List)anditemsIndexed(items: List)are now extension functions so you have to manually import them when used. New extension overloads for Arrays: items(items: Array) and itemsIndexed(Array) ( I803fc , b/175562574 ) - Leverage TestCoroutineDispatcher in testing ( I532b6 )
- Removed PointerInputData and modified PointerInputChange to give it all of PointerInputData's fields. Made PointerInputEvent and PointerInputEventData internal because they aren't used in any public API. ( Ifff97 , b/175142755 )
Version 1.0.0-alpha10
January 13, 2021
androidx.compose.animation:animation:1.0.0-alpha10 and androidx.compose.animation:animation-core:1.0.0-alpha10 are released. Version 1.0.0-alpha10 contains these commits.
API Changes
- Modified Velocity to have component parts and mathematical operations. ( Ib0447 )
- Renamed
@ExperimentalTestingto@ExperimentalTestApito be consistent with similar experimental api annotations ( Ia4502 , b/171464963 ) - Renamed Position to DpOffset and removed getDistance() ( Ib2dfd )
- Removed Any.identityHashCode() public api ( I025d7 )
বাগ সংশোধন
- New coroutine-based API
Animatablethat ensures mutual exclusiveness among its animations. New DecayAnimationSpec to support multi-dimensional decay animation ( I820f2 , b/168014930 ) -
animate()is now replaced withanimateAsState(), which returns aState<T>instead ofT. This allows better performance, as the invalidation scope can be narrowed down to where the State value is read. ( Ib179e )
Version 1.0.0-alpha09
December 16, 2020
androidx.compose.animation:animation:1.0.0-alpha09 and androidx.compose.animation:animation-core:1.0.0-alpha09 are released. Version 1.0.0-alpha09 contains these commits.
API Changes
- Moved Dp.VectorConverter, Position.VectorConverter, etc to animation-core, and deprecated the old VectorConveters ( If0c4b )
- Introduced a whole new set of Transition APIs with improved ease of use, and support for dynamically added animations, and dynamically calculated animation targets. This APIs are marked experimental for easy differentiation from the TransitionDefinition-based API. ( Ia7fe3 )
বাগ সংশোধন
- Lambdas in offset modifiers now return IntOffset rather than Float. ( Ic9ee5 , b/174137212 , b/174146755 )
- Deprecate LazyColumnFor, LazyRowFor, LazyColumnForIndexed and LazyRowForIndexed. Use LazyColumn and LazyRow instead ( I5b48c )
- For suspending pointer input APIs, renamed HandlePointerInputScope to AwaitPointerEventScope and handlePointerInput() to awaitPointerEventScope(). ( Idf0a1 , b/175142755 )
- New infiniteRepeatable function for creating an InfiniteRepeatableSpec ( I668e5 )
- Removed ExperimentalPointerInput annotation ( Ia7a24 )
Version 1.0.0-alpha08
December 2, 2020
androidx.compose.animation:animation:1.0.0-alpha08 and androidx.compose.animation:animation-core:1.0.0-alpha08 are released. Version 1.0.0-alpha08 contains these commits.
API Changes
- Added lint check for composable lambda parameter naming and position, to check for consistency with Compose guidelines. Also migrated some APIs using
childrenas the name for their trailing lambda tocontent, according to the lint check and guidance. ( Iec48e ) - Previously Deprecated APIs were removed:
-
Modifier.onPositionedwas removed, useModifier.onGloballyPositioned. -
Modifier.onDrawwas removed, useModifier.onDrawBehind. -
Modifier.pluswas removed, useModifier.then. -
Color.Unsetwas removed, useColor.Unspecified. -
PxBoundsclass was removed, useRectinstead. - ( Ie9d02 , b/172562222 )
-
- Temporarily added option to let the TestAnimationClock be driven by the MonotonicFrameClock ( I1403b , b/173402197 )
বাগ সংশোধন
- Renamed Modifier.drawLayer to Modifier.graphicsLayer Also updated related classes to GraphicsLayer as per API council feedback. ( I0bd29 , b/173834241 )
- Added Modifier.scale/rotate APIs as conveniences for drawLayer.
- Renamed Modifier.drawOpacity to Modifier.alpha
- Renamed Modifier.drawShadow to Modifier.shadow ( I264ca , b/173208140 )
- Made PointerInputData's uptime and position fields non-nullable. ( Id468a )
- offsetPx modifiers were renamed to offset. They are now taking lambda parameters instead of State. ( Ic3021 , b/173594846 )
- New APIs for running animations in coroutines ( Ied662 )
- Deprecated Ambients named with
Ambientas their suffix, and replaced them with new properties prefixed with Ambient, following other Ambients and Compose API guidelines. ( I33440 ) - Time control in tests (TestAnimationClock and its usages) is now experimental ( I6ef86 , b/171378521 )
- Remove old ui-test module and its stubs ( I3a7cb )
-
RestorableStateHolder.withRestorableStatefunction was renamed toRestorableStateProvider( I66640 ) - The Alignment interface was updated and made functional. ( I46a07 , b/172311734 )
Version 1.0.0-alpha07
১১ নভেম্বর, ২০২০
androidx.compose.animation:animation:1.0.0-alpha07 and androidx.compose.animation:animation-core:1.0.0-alpha07 are released. Version 1.0.0-alpha07 contains these commits.
বাগ সংশোধন
- The foundation AmbientTextStyle, ProvideTextStyle, and AmbientContentColor have been deprecated. Instead use the new versions available in the Material library. For non-Material applications, you should instead create your own design system specific theming ambients that can be consumed in your own components. ( I74acc , b/172067770 )
- foundation.Text has been deprecated and replaced with material.Text. For a basic, unopinionated text API that does not consume values from a theme, see androidx.compose.foundation.BasicText. ( If64cb )
- MeasureResult was moved out of MeasureScope. ( Ibf96d , b/171184002 )
- Several layout related symbols were moved from androidx.compose.ui to androidx.compose.layout.ui. ( I0fa98 , b/170475424 )
Version 1.0.0-alpha06
২৮ অক্টোবর, ২০২০
androidx.compose.animation:animation:1.0.0-alpha06 and androidx.compose.animation:animation-core:1.0.0-alpha06 are released. Version 1.0.0-alpha06 contains these commits.
API Changes
- Enable transitions in ComposeTestRule; remove option to enable the blinking cursor from ComposeTestRule. ( If0de3 )
Version 1.0.0-alpha05
১৪ অক্টোবর, ২০২০
androidx.compose.animation:animation:1.0.0-alpha05 and androidx.compose.animation:animation-core:1.0.0-alpha05 are released. Version 1.0.0-alpha05 contains these commits.
API Changes
- New Animation interface and subclasses: These classes store the start and end conditions for animations, and therefore allow value and velocity to be queried via only playtime ( Ie95bd , b/163329867 )
বাগ সংশোধন
- OnPositionedModifier is renamed to OnGloballyPositionedModifier and onPositioned() is renamed to onGloballyPositioned(). ( I587e8 , b/169083903 )
Deprecates contentColor() and currentTextStyle() APIs, and replaces them with AmbientContentColor and AmbientTextStyle ambients respectively. You can access the current value by using
.currenton the ambient property, as with any other ambient. This was change was made for consistency and to avoid having multiple ways to accomplish the same thing. Additionally renames some ambient properties to better describe their purpose as follows:- ContentColorAmbient -> AmbientContentColor
- TextStyleAmbient -> AmbientTextStyle
- IndicationAmbient -> AmbientIndication
- EmphasisAmbient -> AmbientEmphasisLevels
- RippleThemeAmbient -> AmbientRippleTheme ( I37b6d )
Version 1.0.0-alpha04
October 1, 2020
androidx.compose.animation:animation:1.0.0-alpha04 and androidx.compose.animation:animation-core:1.0.0-alpha04 are released. Version 1.0.0-alpha04 contains these commits.
API Changes
- Annotated rootAnimationClockFactory, transitionsEnabled, blinkingCursorEnabled and textInputServiceFactory with @VisibleForTesting, make them internal API and hide their kdoc ( I554eb , b/168308412 )
বাগ সংশোধন
- Updated many Graphics APIs
- Updated scale and rotation transformation APIs to consume a single Offset parameter to represent the pivot coordinate instead of separate float parameters for the x/y coordinates in DrawScope and DrawTransform
- Removed Rect.expandToInclude and Rect.join methods
- Updated Radius documentation to say oval in addition to elliptical
- Added documentation to indicate the public constructor for the inline Radius class is not to be called directly but instead Radius objects should be instantiated through their function constructors
- Removed RoundRect APIs to query topRight, bottomRight, bottomCenter, etc.
- Deprecated Rect.shift in favor of Rect.translate
- Removed RoundRect.grow and Rect.shrink APIs
- Renamed RoundRect.outerRect to Rect.boundingRect
- Removed RoundRect.middleRect/tallMiddleRect/wideMiddleRect and Rect.isStadium methods
- Renamed RoundRect.longestSide to RoundRect.maxDimension
- Renamed RoundRect.shortestSide to RoundRect.minDimension
- Changed RoundRect.center to be a property instead of a function
- Updated RoundRect constructor to consume Radius properties instead of individual parameters for x/y radius values
- Removed Size APIs that assumed it was a Rectangle with origin at 0,0
- Added a destructing API to Radius
- Migrated various RoundRect extension functions to be properties instead
- ( I8f5c7 , b/168762961 )
- foundation.Box was deprecated. Please use foundation.layout.Box instead. ( Ie5950 , b/167680279 )
- Stack was renamed to Box. The previously existing Box will be deprecated in favor of the new Box in compose.foundation.layout. The behavior of the new Box is to stack children one on top of another when it has multiple children - this is different from the previous Box, which was behaving similar to a Column. ( I94893 , b/167680279 )
- Box decoration parameters have been deprecated. If you want to have decorations/padding on your box, use Modifiers instead (Modifier.background, Modifier.border, Modifier.padding) ( Ibae92 , b/167680279 )
- We prevented static imports of contents of layout scopes (eg alignWithSiblings in RowScope). The explicit scope alternative should be used instead:
with(RowScope) { Modifier.alignWithSiblings(FirstBaseline) }. ( I216be , b/166760797 )
Version 1.0.0-alpha03
September 16, 2020
androidx.compose.animation:animation:1.0.0-alpha03 and androidx.compose.animation:animation-core:1.0.0-alpha03 are released. Version 1.0.0-alpha03 contains these commits.
বাগ সংশোধন
- Usages of gravity were consistently renamed to align or alignment in layout APIs. ( I2421a , b/164077038 )
Version 1.0.0-alpha02
২ সেপ্টেম্বর, ২০২০
androidx.compose.animation:animation:1.0.0-alpha02 and androidx.compose.animation:animation-core:1.0.0-alpha02 are released. Version 1.0.0-alpha02 contains these commits.
API Changes
Added
ManualFrameClock.hasAwaitersto see if anything is awaiting a frame from that clock;runWithManualClockas a replacement forrunBlockingwhen running tests that need a ManualFrameClock;TestUiDispatcher.Mainthat gives easy access to the main UI dispatcher in your tests.উদাহরণস্বরূপ:
@Test fun myTest() = runWithManualClock { clock -> // set some compose content withContext(TestUiDispatcher.Main) { clock.advanceClock(1000L) } if (clock.hasAwaiters) { println("The clock has awaiters") } else { println("The clock has no more awaiters") } }( I0a85b , b/161247083 )
বাগ সংশোধন
onPreCommit is deprecated; onCommit now has onPreCommit's behavior.
onCommit and onActive now run in the same choreographer frame that the composition changes committed in rather than at the beginning of the next choreographer frame. ( I70403 )
Version 1.0.0-alpha01
August 26, 2020
androidx.compose.animation:animation:1.0.0-alpha01 and androidx.compose.animation:animation-core:1.0.0-alpha01 are released. Version 1.0.0-alpha01 contains these commits.
Version 0.1.0-dev
Version 0.1.0-dev17
August 19, 2020
androidx.compose.animation:animation:0.1.0-dev17 and androidx.compose.animation:animation-core:0.1.0-dev17 are released. Version 0.1.0-dev17 contains these commits.
নতুন বৈশিষ্ট্য
API Changes
- Offset has become an inline class ( Iaec70 )
- IntOffset is now an inline class ( Iac0bf )
- IntSize is now an inline class ( I2bf42 )
AnimatedVisibilty composable animates the appearance and disappearance of the child content.
EnterTransition and ExitTransition are introduced to work with AnimatedVisibilty composable to provide 3 different typs of appearance and disappearance animation: fade, slide, and expand/shrink the content. The different types of animations can be combined to achieve more bespoke look and feel. ( Idda11 )
Deprecated PxBounds in favor of Rect. Updated all usages of PxBounds with rect and added proper deprecate/replace with annotations to assist with the migration. ( I37038 , b/162627058 )
বাগ সংশোধন
-
PlacementScope.placeAbsolute()was renamed toPlacementScope.place(), and the previousPlacementScope.place()was renamed toPlacementScope.placeRelative(). As a result, thePlacementScope.place()method will not automatically mirror the position in right-to-left contexts anymore. If this is desired, usePlacementScope.placeRelative()instead. ( I873ac , b/162916675 ) - The
state { ... }composable is now deprecated in favor of explicit calls toremember { mutableStateOf(...) }for clarity. This reduces the overall API surface and number of concepts for state management, and matches theby mutableStateOf()pattern for class property delegation. ( Ia5727 )
Version 0.1.0-dev16
August 5, 2020
androidx.compose.animation:animation:0.1.0-dev16 and androidx.compose.animation:animation-core:0.1.0-dev16 are released. Version 0.1.0-dev16 contains these commits.
API Changes
- Built-in vector converters to convert built-in units are now accessible via
Foo.VectorConverter. egDp.VectorConverter,Color.VectorConverter,Float.VectorConverter, etc ( I3e273 ) - Support end listener in
Modifier.animateContentSize()such that when size change animation finishes, the listener will be notified, along with start/end size of the animation. ( I277b2 ) - New animateContentSize modifier that animates the layout size change of its child modifier ( Ieffdc )
Added
MonotonicFrameAnimationClockthat enables you to use a MonotonicFrameClock as anAnimationClockObservableto bridge the gap between the new coroutines based clocks and APIs that still use the old callback based clocks.The
MonotonicFrameClockequivalent ofManualAnimationClockis nowManualFrameClock. ( I111c7 , b/161247083 )
বাগ সংশোধন
- The APIs for right-to-left support has been updated. LayoutDirectionAmbient has been added, which can be used to read and change the layout direction. Modifier.rtl and Modifier.ltr have been removed. ( I080b3 )
- Require type T to be explicitly specified for transitionDefinition. ( I1aded )
- foundation.shape.corner package were flatten to foundation.share ( I46491 , b/161887429 )
- Modifier.plus has been deprecated, use Modifier.then instead. 'Then' has a stronger signal of ordering, while also prohibits to type
Modifier.padding().background() + anotherModifier, which breaks the chain and harder to read ( Iedd58 , b/161529964 ) - Modifier.drawBackground has been renamed to Modifier.background ( I13677 )
Version 0.1.0-dev15
২২ জুলাই, ২০২০
androidx.compose.animation:animation:0.1.0-dev15 and androidx.compose.animation:animation-core:0.1.0-dev15 are released. Version 0.1.0-dev15 contains these commits.
Dependencies Update
- To use the
0.1.0-dev15version of Compose, you will need to update your dependencies according to the new code snippets shown above in Declaring dependencies .
API Changes
- Transition API has been changed to return a TransitionState instead of passing the TransitionState to children. This makes the API more consistent with animate() APIs. ( I24e38 )
- Modifier parameter added for Crossfade ( I87cfe , b/159706180 )
- Use AnimationSpec instead of AnimationBuilder in the top level APIs to clarify the concept of static animation specification
- Improve the transition DSL by removing the lambda requirement for creating AnimationSpecs such as tween, spring. They instead take constructor params directly.
- Improve the overall ease of use of AnimationSpec opening up constructors instead of relying on builders
- Change the duration and delay for KeyFrames and Tween to Int. This eliminates unnecessary type casts and method overloading (for supporting both Long and Int). ( Ica0b4 )
- Replaced usage of IntPx with Int. Replaced IntPxPosition with IntOffset. Replaced IntPxSize with IntSize. ( Ib7b44 )
- In order to consolidate the number of classes used to represent sizing information, standardize on usage of the Size class instead of PxSize. This provides the benefits of an inline class to leverage a long to pack 2 float values to represent width and height represented as floats. ( Ic0191 )
- In order to consolidate the number of classes used to represent positioning information, standardize on usage of the Offset class instead of PxPosition. This provides the benefits of an inline class to leverage a long to pack 2 float values to represent x and y offsets represented as floats. ( I3ad98 )
- Replaced usage of Px class in various compose classes as part of the large refactoring effort to only rely on Dp and primitive types for pixel parameters ( I086f4 )
- Added animate() support for Dp, Px, Size, Position, Bounds, PxPosition, PxSize, PxBounds, IntPx, IntPxSize, IntPxPosition, IntPxBounds, and AnimationVector ( Ib7518 )
- Crossfade now accepts optional AnimationBuilder param to allow configuring the animation ( I6d6e0 )
- Replaced all nullable Color uses in API with non-nullable and use Color.Unset instead of null ( Iabaa7 )
- Removed ValueHolder class. Restructured AnimatedValue, AnimatedFloat classes to make the animation value field abstract so that subclasses can watch the value update.
- Added model classes for AnimatedValue, AnimatedFloat, etc.
- Added a new set of light-weight @Composable API for animating between values. ( I79530 )
- Breaking changes to the ambients API. See log and
Ambient<T>documentation for details ( I4c7ee , b/143769776 ) - New repeat mode: Reverse. This mode reverses the previous iteration as the animation repeats in RepeatableSpec or VectorizedRepeatableSpec. ( Ibe0f5 )
- API additions to ManualAnimationClock:
hasObservers: Booleanand constructor parameterdispatchOnSubscribe: Boolean( Iaa134 ) - Added APIs for getting min/max bounds in AnimatedFloat ( Icd9cc )
বাগ সংশোধন
-
runOnIdleComposerenamed torunOnIdle( I83607 ) - Several testing APIs were renamed to be more intuitive. All findXYZ APIs were renamed to onNodeXYZ. All doXYZ APIs were renamed to performXYZ. ( I7f164 )
- Introduced low level stateless animation APIs. These APIs ( I63bf7 )
- The Recompose composable is no longer a useful abstraction. Most recomposition should happen as a result of MutableState assignments. For anything beyond that, it is recommended that you use the
invalidatefunction to trigger a recomposition of the current scope. ( Ifc992 ) - Replaced usage of Px class in various compose classes as part of the large refactoring effort to only rely on Dp and primitive types for pixel parameters. Deleted Px class in its entirety ( I3ff33 )
- Replaced usage of Px class in various compose classes as part of the large refactoring effort to only rely on Dp and primitive types for pixel parameters ( Id3434 )
- Crossfade can now work with null as initial value ( Iad6a4 , b/155947711 )
- Replaced usage of Px class in various compose classes as part of the large refactoring effort to only rely on Dp and primitive types for pixel parameters ( I19d02 )
- Consolidated CanvasScope implementations so there is now just DrawScope and ContentDrawScope Renamed CanvasScope to DrawScope. Updated DrawScope to implement Density interface and provide LayoutDirection Deleted DrawScope subclass in ContentDrawScope Painter and PainterModifier have been updated to no longer maintain an RTL property themselves as DrawScope provides this already without manually providing it ( I1798e )
- Updated higher level compose APIs that expose a Canvas to expose CanvasScope instead. This removes the need for consumers to maintain their own Paint objects. For consumers that still require access to a Canvas they can use the drawCanvas extension method which provides a callback to issue drawing commands with the underlying Canvas. ( I80afd )
- Added verticalGravity and horizontalGravity parameters to Row and Column, respectively. ( I7dc5a )
- ui-text module is renamed as ui-text-core ( I57dec )
- Improve DrawModifier API:
- Made the receiver scope for draw() ContentDrawScope
- Removed all parameters on draw()
- DrawScope has same interface as former CanvasScope
- ContentDrawScope has drawContent() method ( Ibaced , b/152919067 )
-
runOnIdleComposeandrunOnUiThreadare now global functions instead of methods on ComposeTestRule. ( Icbe8f ) - [Mutable]State property delegate operators moved to extensions to support Kotlin 1.4 property delegate optimizations. Callers must add imports to continue using
by state { ... }orby mutableStateOf(...). ( I5312c ) - ColoredRect has been deprecated. Use
Box(Modifier.preferredSize(width, height).drawBackground(color))instead. ( I499fa , b/152753731 ) - Replaced Modifier plus operator with factory extension functions ( I225e4 )
- Deprecated Center composable. It should be replaced either with the LayoutSize.Fill + LayoutAlign.Center modifier, or with one of the Box or Stack composables with suitable modifiers applied ( Idf5e0 )
- Renamed LayoutFlexible to LayoutWeight. Renamed tight parameter to fill. ( If4738 )
- The Opacity composable function has been replaced with the drawOpacity modifier. ( I5fb62 )
- Tests using AndroidComposeTestRule now provide an animation clock at the root of the composition that allows it to be paused, resumed and advanced manually. ( Id54c5 )
- Support right-to-left direction in LayoutPadding modifier ( I9e8da )
- Density and DensityScope were merged into one interface. Instead of ambientDensity() you can now use DensityAmbient.current. Instead of withDensity(density) just with(density) ( I11cb1 )
- Added copy methods to various inline class types including:
- অফসেট
- আকার
- ব্যাসার্ধ
- Motion
- TransformOrigin
- Deprecated Size.copy companion object method favor of instance copy method ( Ife290 , b/159905651 )
- androidx.compose.ViewComposer has been moved to androidx.ui.node.UiComposer androidx.compose.Emittable has been removed. It was redundant with ComponentNode. androidx.compose.ViewAdapters has been removed. They are no longer a supported use case. Compose.composeInto has been deprecated. Use
setContentorsetViewContentinstead. Compose.disposeComposition has been deprecated. Use thedisposemethod on theCompositionreturned bysetContentinstead. androidx.compose.Compose.subcomposeInto has moved to androidx.ui.core.subcomposeInto ComponentNode#emitInsertAt has been renamed to ComponentNode#insertAt ComponentNode#emitRemoveAt has been renamed to ComponentNode#removeAt ComponentNode#emitMode has been renamed to ComponentNode#move ( Idef00 )