Skip to content

Commit

Permalink
Migrating FpsListener to Kotlin (#48360)
Browse files Browse the repository at this point in the history
Summary:
Migrating `FpsListener` to Kotlin

## Changelog:

[INTERNAL] - Migrating `FpsListener` to Kotlin

Pull Request resolved: #48360

Test Plan:
```bash
yarn test-android
```

Reviewed By: bnalls33

Differential Revision: D67599802

Pulled By: Abbondanzo

fbshipit-source-id: 769dbe26688309ffcf15565c5d51003e23c56412
  • Loading branch information
mateoguzmana authored and facebook-github-bot committed Dec 23, 2024
1 parent a5a3d37 commit 974fdf9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

package com.facebook.react.views.scroll;
package com.facebook.react.views.scroll

public interface FpsListener {

Expand All @@ -14,7 +14,7 @@ public interface FpsListener {
*
* @param tag
*/
void enable(String tag);
public fun enable(tag: String)

/**
* Clients should call this method when they want the listener to stop recording data. The
Expand All @@ -24,8 +24,8 @@ public interface FpsListener {
*
* @param tag
*/
void disable(String tag);
public fun disable(tag: String)

/** Reports whether this listener is recording data. */
boolean isEnabled();
public fun isEnabled(): Boolean
}

0 comments on commit 974fdf9

Please sign in to comment.