Skip to content

Commit fac3f7b

Browse files
chore: Remove experimental AnimatedDrawable from android.d.ts
docs: Update comments for AnimatedImage in idnex..d.ts
1 parent 786930a commit fac3f7b

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

src/android.d.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,16 +134,6 @@ declare namespace com {
134134
}
135135
}
136136

137-
namespace animated {
138-
namespace base {
139-
class AnimatedDrawable {
140-
start(): void;
141-
stop(): void;
142-
isRunning(): boolean;
143-
}
144-
}
145-
}
146-
147137
namespace core {
148138
class ImagePipeline {
149139
isInBitmapMemoryCache(uri: android.net.Uri): boolean;

src/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,17 +308,17 @@ export class FailureEventData {
308308
*/
309309
export interface AnimatedImage {
310310
/**
311-
* Starts the AnimatedDrawable image.
311+
* Starts the native Android Animatable image.
312312
*/
313313
start(): void;
314314

315315
/**
316-
* Stops the AnimatedDrawable image.
316+
* Stops the native Android Animatable image.
317317
*/
318318
stop(): void;
319319

320320
/**
321-
* Returns boolean value representing the if the AnimatedDrawable's is being animated.
321+
* Returns boolean value representing the if the native Android Animatable's is being animated.
322322
*/
323323
isRunning(): boolean;
324324
}

0 commit comments

Comments
 (0)